:root {
  --ink: #111018;
  --muted: #5d6270;
  --purple: #7c4dff;
  --purple-soft: #eee7ff;
  --yellow: #ffd45a;
  --pink: #ff7aa8;
  --mint: #99ead0;
  --paper: #fffdf8;
  --card: #ffffff;
  --shadow: 0 22px 60px rgba(28, 20, 60, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(255, 212, 90, .35), transparent 26rem),
    radial-gradient(circle at left 20%, rgba(255, 122, 168, .15), transparent 22rem),
    var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  width: min(1120px, calc(100% - 40px));
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.logo span,
h1 span,
h2 span {
  color: var(--purple);
}

nav {
  display: flex;
  gap: 28px;
  font-weight: 750;
  font-size: .95rem;
}

nav a {
  position: relative;
}

nav a:hover {
  color: var(--purple);
}

.top-button,
.button {
  border-radius: 18px;
  padding: 14px 22px;
  font-weight: 850;
  box-shadow: var(--shadow);
}

.top-button,
.primary {
  background: var(--purple);
  color: white;
}

.secondary {
  background: white;
  border: 1px solid rgba(17, 16, 24, .09);
}

.hero {
  width: min(1120px, calc(100% - 40px));
  margin: 70px auto 55px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .85rem;
}

h1 {
  margin: 20px 0;
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  line-height: .92;
  letter-spacing: -0.08em;
  max-width: 670px;
}

.intro {
  max-width: 510px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.8;
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-art {
  position: relative;
  min-height: 450px;
  display: grid;
  place-items: center;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: -1;
}

.hero-art::before {
  width: 150px;
  height: 150px;
  background: rgba(255, 122, 168, .35);
  left: 0;
  top: 30px;
}

.hero-art::after {
  width: 240px;
  height: 240px;
  background: rgba(124, 77, 255, .18);
  right: 30px;
  bottom: 10px;
}

.portrait-card {
  width: min(390px, 100%);
  min-height: 420px;
  padding: 34px;
  border: 8px solid white;
  border-radius: 38% 62% 44% 56% / 43% 36% 64% 57%;
  background: linear-gradient(145deg, #d9c9ff, #f7efff);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: rotate(-3deg);
}

.face {
  font-size: 9rem;
  filter: drop-shadow(0 16px 12px rgba(0,0,0,.08));
}

.portrait-card p {
  background: white;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  transform: rotate(-5deg);
}

.split {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .85fr 1.4fr;
  gap: 54px;
  align-items: start;
}

.section-label {
  margin: 0 0 22px;
  font-weight: 950;
}

.about h2,
.contact h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.about p {
  color: var(--muted);
  line-height: 1.75;
}

.text-link,
.work-heading a,
.card a {
  color: var(--purple);
  font-weight: 900;
}

.work-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: white;
  border: 1px solid rgba(17, 16, 24, .08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-6px) rotate(-1deg);
}

.card-image {
  height: 150px;
  display: grid;
  place-items: center;
  font-size: 4rem;
  font-weight: 950;
}

.card.mint .card-image { background: rgba(153, 234, 208, .65); }
.card.yellow .card-image { background: rgba(255, 212, 90, .55); }
.card.pink .card-image { background: rgba(255, 122, 168, .38); }

.card h3,
.card p,
.card a {
  display: block;
  margin-left: 22px;
  margin-right: 22px;
}

.card h3 {
  margin-top: 22px;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
}

.card a {
  margin-top: 20px;
  margin-bottom: 24px;
}

.contact {
  width: min(1120px, calc(100% - 40px));
  margin: 70px auto 28px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr .9fr .8fr;
  gap: 38px;
  align-items: center;
  background: #f4efff;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.plane {
  margin: 0;
  font-size: 3.3rem;
  color: var(--purple);
}

.contact p,
.contact li {
  color: var(--muted);
  line-height: 1.7;
}

.contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact li + li {
  margin-top: 14px;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 0 20px 34px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  nav,
  .top-button {
    display: none;
  }

  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: 45px;
    gap: 28px;
  }

  .hero-art {
    min-height: 330px;
  }

  .portrait-card {
    min-height: 310px;
  }

  .face {
    font-size: 6rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 28px;
  }
}
