@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Solway:wght@400;700;800&display=swap");

:root {
  --ink: #0a0a0a;
  --paper: #faf8f5;
  --white: #ffffff;
  --muted: #756d68;
  --line: rgba(10, 10, 10, 0.14);
  --rose: #c98f8b;
  --rose-soft: #ead3d0;
  --gold: #dbbd9a;
  --gold-soft: #efe2cf;
  --radius-lg: 40px;
  --radius-md: 28px;
  --shadow: 0 24px 70px rgba(42, 31, 25, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
.hero,
.features,
.closing,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.header-actions,
.language-switch {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 28px;
}

.language-switch {
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.language-switch a {
  color: inherit;
  text-decoration: none;
}

.language-switch a[aria-current="page"] {
  color: var(--ink);
}

.brand img,
.footer-brand img {
  display: block;
  width: 57px;
  height: auto;
}

.header-link,
.text-link,
footer a {
  text-decoration: none;
}

.header-link {
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.hero {
  min-height: calc(100vh - 104px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(40px, 7vw, 104px);
  padding-block: 72px 96px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Solway", Georgia, serif;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3.5rem, 7vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  max-width: 820px;
}

.hero-text {
  max-width: 570px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.primary-pill {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.text-link {
  font-size: 14px;
  font-weight: 600;
}

.text-link span {
  margin-left: 6px;
}

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

.mascot-card {
  width: min(100%, 480px);
  aspect-ratio: 0.78;
  position: relative;
  z-index: 2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 48px 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.mascot {
  width: 100%;
  max-width: 390px;
  height: auto;
}

.hero-wordmark {
  width: 86px;
  height: auto;
  margin-top: -24px;
}

.shape {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.shape-rose {
  width: 180px;
  height: 180px;
  top: 2%;
  right: -4%;
  background: var(--rose-soft);
}

.shape-gold {
  width: 245px;
  height: 245px;
  bottom: 1%;
  left: -8%;
  background: var(--gold);
}

.manifesto {
  padding: clamp(90px, 13vw, 180px) 24px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.manifesto p {
  margin: 0 auto;
  font-family: "Solway", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.features {
  padding-block: clamp(96px, 12vw, 160px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 64px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

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

.feature-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius-md);
}

.feature-card-rose {
  background: var(--rose-soft);
}

.feature-card-gold {
  background: var(--gold-soft);
}

.feature-card-ink {
  background: var(--ink);
  color: var(--white);
}

.feature-number {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.feature-card h3 {
  max-width: 300px;
  margin: auto 0 20px;
  font-family: "Solway", Georgia, serif;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.feature-card-ink p {
  color: rgba(255, 255, 255, 0.68);
}

.closing {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(28px, 6vw, 90px);
  margin-bottom: 96px;
  padding: clamp(38px, 6vw, 76px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--rose);
}

.closing > img {
  width: min(100%, 340px);
  transform: rotate(-5deg);
}

.closing .eyebrow {
  color: rgba(10, 10, 10, 0.62);
}

.closing h2 {
  max-width: 760px;
}

footer {
  min-height: 156px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

footer a:hover,
footer a:focus-visible,
.header-link:hover,
.header-link:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--rose);
}

footer p {
  margin: 0;
  text-align: right;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

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

  .mascot-card {
    max-width: 430px;
  }

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

  .feature-card {
    min-height: 330px;
  }

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

  .closing > img {
    width: 230px;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .features,
  .closing,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 84px;
  }

  .header-actions {
    gap: 16px;
  }

  .header-link {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 56px 80px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .mascot-card {
    width: min(88%, 360px);
    padding: 30px 36px 44px;
    border-radius: 32px;
  }

  .shape-rose {
    width: 130px;
    height: 130px;
  }

  .shape-gold {
    width: 180px;
    height: 180px;
  }

  .closing {
    margin-bottom: 64px;
    border-radius: 28px;
  }

  footer {
    grid-template-columns: 1fr;
    padding-block: 42px;
  }

  footer nav {
    justify-content: flex-start;
  }

  footer p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .mascot-card {
    animation: settle 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  @keyframes settle {
    from {
      opacity: 0;
      transform: translateY(18px) rotate(4deg);
    }
    to {
      opacity: 1;
      transform: translateY(0) rotate(2deg);
    }
  }
}
