/* ==========================================================
   Wonderly by Avki — pre-launch site
   Palette pulled from brand sheet:
   cream #F7EFE0, gold #B8894A, deep gold #8B6332,
   sage #8A9670, ink #3D2E1F
   ========================================================== */

:root {
  --cream: #F7EFE0;
  --cream-warm: #FBF4E4;
  --cream-deep: #EFE3CB;
  --paper: #FDF8EC;
  --gold: #B8894A;
  --gold-deep: #8B6332;
  --gold-soft: #D4A968;
  --sage: #8A9670;
  --sage-deep: #6C7856;
  --ink: #3D2E1F;
  --ink-soft: #6B5842;
  --ink-mute: #9C8770;
  --ink-heading: #241609;
  --heart: #C6844B;
  --line: rgba(184, 137, 74, 0.22);
  --line-strong: rgba(184, 137, 74, 0.45);
  --shadow-soft: 0 20px 60px -30px rgba(61, 46, 31, 0.25);
  --shadow-card: 0 30px 80px -40px rgba(139, 99, 50, 0.35);
  --serif: 'Cormorant Garamond', 'Playfair Display', 'Iowan Old Style', Georgia, serif;
  --sans: 'Nunito', 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'Nunito', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

/* ============ Typography ============ */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink-heading);
  letter-spacing: -0.01em;
  line-height: 1.08;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; margin-bottom: 1.4rem; }
h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); font-weight: 500; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before, .eyebrow.center::after {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.no-line::before, .eyebrow.no-line::after { display: none; }

.lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 40em;
}

.serif-italic {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-deep);
}

/* ============ Layout helpers ============ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ============ Nav ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 0.9rem 0;
  background: rgba(247, 239, 224, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }

.announce-bar {
  background: var(--gold);
  padding: 0.55rem 0;
  text-align: center;
}
.announce-bar-inner {
  display: flex;
  justify-content: center;
}
.announce-bar span {
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.announce-bar a {
  color: var(--paper);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.announce-bar a:hover { color: var(--ink); }
@media (max-width: 560px) {
  .announce-bar span { font-size: 0.76rem; }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.nav-logo img { height: 44px; width: auto; filter: drop-shadow(0 1px 3px rgba(61, 46, 31, 0.28)); }
.nav-logo .name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
}
.nav-logo .sub {
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color 0.2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--gold-deep); }

/* Hamburger — hidden on desktop, shown on smaller screens (see 960px media query) */
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  flex: none;
  order: -1;
  margin-right: 0.4rem;
  transition: background 0.2s, border-color 0.2s;
}
.nav-hamburger:hover { background: var(--cream-deep); border-color: var(--gold); }
.nav-hamburger svg { width: 20px; height: 20px; transition: transform 0.25s ease; }
.nav-hamburger[aria-expanded="true"] svg { transform: rotate(90deg); }

/* Mobile dropdown menu — hidden entirely on desktop; shown (collapsed) below 960px */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.nav-mobile-menu.open {
  max-height: 32rem;
  opacity: 1;
  padding: 0.9rem clamp(1.25rem, 4vw, 3rem) 1.3rem;
}
.nav-mobile-menu a {
  padding: 0.7rem 0.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav-mobile-menu a:last-of-type { border-bottom: none; }
.nav-mobile-menu a.btn {
  border-bottom: none;
  text-align: center;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--paper);
  box-shadow: 0 12px 30px -12px rgba(184, 137, 74, 0.55);
}
.btn-primary:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(184, 137, 74, 0.7);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover {
  background: var(--cream-deep);
  border-color: var(--gold);
}
.btn svg { width: 16px; height: 16px; }

/* ============ Hero ============ */
.hero {
  padding: 11rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: start;
}
.hero-text .eyebrow { margin-bottom: 1.5rem; }
.hero h1 {
  margin-bottom: 1.5rem;
}
.hero h1 .accent {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 500;
}
.hero h1 .underline-swash {
  position: relative;
  display: inline-block;
}
.hero h1 .underline-swash::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'><path d='M2 6 Q 75 -2 150 6 T 298 6' fill='none' stroke='%23B8894A' stroke-width='2' stroke-linecap='round' opacity='0.55'/></svg>") no-repeat;
  background-size: 100% 100%;
}

.hero .lead { margin-bottom: 2.2rem; }

.hero-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  max-width: 460px;
  box-shadow: var(--shadow-soft);
}
.hero-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  outline: none;
}
.hero-form input::placeholder { color: var(--ink-mute); }
.hero-form .btn { padding: 0.75rem 1.3rem; }

.hero-microcopy {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  color: var(--ink-mute);
  font-size: 0.85rem;
}
.hero-microcopy span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-microcopy svg { width: 14px; height: 14px; color: var(--sage); }

.hero-beginning-note {
  margin-top: 1.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-deep);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
  max-width: 480px;
  margin: 0.4rem 0 0 auto;
}
.hero-logo-big {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-big img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 30px 60px rgba(184, 137, 74, 0.25));
  animation: gentle-float 8s ease-in-out infinite;
}
@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Floating story cards, stacked below the logo */
.hero-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.hero-cards .float-card { width: 100%; }
.float-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
}
.float-card .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
}
.float-card strong { color: var(--ink); font-weight: 700; }
.float-card small {
  display: block;
  color: var(--ink-mute);
  font-size: 0.72rem;
  margin-top: 2px;
}
.float-card.a { animation: float-a 7s ease-in-out infinite; }
.float-card.b { animation: float-b 9s ease-in-out infinite; }
.float-card.c { animation: float-a 8s ease-in-out infinite 1s; }
@keyframes float-a { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float-b { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

.hero-bg-ornament {
  position: absolute;
  pointer-events: none;
  opacity: 0.45;
}
.hero-bg-ornament.tl { top: 6rem; left: -4rem; width: 180px; transform: rotate(-15deg); }
.hero-bg-ornament.br { bottom: 2rem; right: -3rem; width: 200px; transform: rotate(160deg); }

/* ============ Pillars strip ============ */
.pillars {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream-warm);
}
.pillars-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
}
.pillar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: var(--gold-deep);
}
.pillar svg { width: 28px; height: 28px; color: var(--gold); flex: none; }
.pillar span {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.pillar-divider {
  width: 1px;
  height: 32px;
  background: var(--line-strong);
  justify-self: end;
  align-self: center;
}

/* ============ Section: What Wonderly is ============ */
.about {
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text h2 { margin: 1.2rem 0 1.8rem; }
.about-text p + p { margin-top: 1rem; }
.about-text p { color: var(--ink-soft); }
.about-name-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.4rem !important;
  padding: 0.9rem 1.1rem;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.9rem;
  color: var(--ink-soft) !important;
}
.about-name-note svg { color: var(--sage); margin-top: 3px; }
.about-name-note a { color: var(--gold-deep); font-weight: 700; }
.about-name-note a:hover { text-decoration: underline; }

.storycard {
  position: relative;
  background: var(--paper);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.storycard::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  pointer-events: none;
}
.storycard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px dashed var(--line-strong);
  margin-bottom: 1.4rem;
}
.storycard-header .tag {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 700;
}
.storycard-title {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.storycard-sub { color: var(--ink-mute); font-size: 0.9rem; margin-bottom: 1.4rem; }
.storycard-body { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.7; }
.storycard-body em { color: var(--gold-deep); font-style: italic; font-weight: 600; }
.storycard-player {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: var(--cream-warm);
  border-radius: 999px;
}
.storycard-player .play {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.storycard-player .play svg { width: 16px; height: 16px; }
.storycard-player .wave {
  flex: 1;
  height: 24px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.storycard-player .wave span {
  flex: 1;
  background: var(--gold-soft);
  border-radius: 2px;
  animation: wave 1.4s ease-in-out infinite;
}
.storycard-player .wave span:nth-child(1) { height: 40%; animation-delay: 0s; }
.storycard-player .wave span:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.storycard-player .wave span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.storycard-player .wave span:nth-child(4) { height: 60%; animation-delay: 0.3s; }
.storycard-player .wave span:nth-child(5) { height: 85%; animation-delay: 0.4s; }
.storycard-player .wave span:nth-child(6) { height: 40%; animation-delay: 0.5s; }
.storycard-player .wave span:nth-child(7) { height: 65%; animation-delay: 0.6s; }
.storycard-player .wave span:nth-child(8) { height: 80%; animation-delay: 0.7s; }
.storycard-player .wave span:nth-child(9) { height: 50%; animation-delay: 0.8s; }
.storycard-player .wave span:nth-child(10) { height: 75%; animation-delay: 0.9s; }
.storycard-player .wave span:nth-child(11) { height: 55%; animation-delay: 1.0s; }
.storycard-player .wave span:nth-child(12) { height: 90%; animation-delay: 1.1s; }
.storycard-player .time { font-size: 0.8rem; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.5); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============ How it works ============ */
.how {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  position: relative;
}
.how-header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.how-header h2 { margin-bottom: 1.6rem; }
.how-header .lead { margin: 1rem auto 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.step-num {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.step-num small {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 700;
}
.step h3 { margin-bottom: 0.7rem; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }
.step-icon {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  width: 36px; height: 36px;
  color: var(--gold);
  opacity: 0.55;
}

/* ============ Personalization ============ */
.personalize { background: var(--ink); color: var(--cream); }
.personalize h2, .personalize h3 { color: var(--cream); }
.personalize .eyebrow { color: var(--gold-soft); }
.personalize .eyebrow::before { background: var(--gold-soft); }
.personalize .lead { color: rgba(247, 239, 224, 0.75); }

.p-header { text-align: center; max-width: 780px; margin: 0 auto 3rem; }
.p-header h2 { margin-bottom: 1.6rem; }
.p-header .lead { margin: 1rem auto 0; }

.p-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.p-card {
  background: rgba(247, 239, 224, 0.04);
  border: 1px solid rgba(247, 239, 224, 0.09);
  border-radius: 20px;
  padding: 1.8rem 1.6rem;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.p-card:hover {
  background: rgba(247, 239, 224, 0.07);
  border-color: rgba(212, 169, 104, 0.4);
  transform: translateY(-4px);
}
.p-card svg {
  width: 32px; height: 32px;
  color: var(--gold-soft);
  margin-bottom: 1rem;
}
.p-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.p-card p { color: rgba(247, 239, 224, 0.65); font-size: 0.92rem; line-height: 1.55; }

/* ============ Rooted / Development ============ */
.rooted { background: var(--cream); }
.rooted-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.rooted-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 500px;
  margin: 0 auto;
}
.rooted-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--cream-warm) 0%, var(--cream-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px var(--line);
}
.rooted-circle img {
  width: 68%;
}

/* Watermark logo — soft, blurred background mark instead of a hard badge */
.rooted-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--cream-warm) 0%, var(--cream-deep) 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.rooted-watermark img {
  width: 82%;
  height: auto;
  opacity: 0.35;
  filter: blur(1px) saturate(1.15);
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
}
.rooted-list { list-style: none; margin-top: 1.6rem; }
.rooted-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.rooted-list li:last-child { border-bottom: none; }
.rooted-list .check {
  width: 26px; height: 26px;
  background: var(--sage);
  border-radius: 50%;
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 2px;
}
.rooted-list .check svg { width: 14px; height: 14px; }
.rooted-list h4 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.rooted-list p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; margin: 0; }

/* ============ Multicultural strip ============ */
.heritage {
  background: var(--sage-deep);
  color: var(--cream);
  border-radius: 32px;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  margin: 0 auto;
  max-width: 1180px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.heritage::before {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 169, 104, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.heritage h2 { color: var(--cream); margin-bottom: 1.6rem; }
.heritage .eyebrow { color: var(--gold-soft); }
.heritage .eyebrow::before { background: var(--gold-soft); }
.heritage p { color: rgba(247, 239, 224, 0.78); max-width: 32em; }
.heritage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.chip {
  background: rgba(247, 239, 224, 0.1);
  border: 1px solid rgba(247, 239, 224, 0.18);
  color: var(--cream);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}
.heritage-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.heritage-tile {
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(247, 239, 224, 0.16), rgba(184, 137, 74, 0.24));
  border: 1px solid rgba(247, 239, 224, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1rem;
  color: var(--cream);
  overflow: hidden;
}
.heritage-tile-place {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.heritage-tile-story {
  font-family: var(--serif);
  font-style: italic;
  color: var(--cream);
  font-size: 0.95rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.heritage-tile:nth-child(2) { background: linear-gradient(160deg, rgba(212, 169, 104, 0.3), rgba(138, 150, 112, 0.2)); }
.heritage-tile:nth-child(4) { background: linear-gradient(160deg, rgba(138, 150, 112, 0.28), rgba(184, 137, 74, 0.18)); }
.heritage-tile:nth-child(5) { background: linear-gradient(160deg, rgba(212, 169, 104, 0.24), rgba(184, 137, 74, 0.3)); }
.heritage-tile:nth-child(6) { background: linear-gradient(160deg, rgba(247, 239, 224, 0.2), rgba(138, 150, 112, 0.26)); }

@media (max-width: 700px) {
  .heritage-visual { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Belonging / Third-culture children ============ */
.belonging {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}
.belonging-header {
  max-width: 800px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.belonging-header .eyebrow { justify-content: center; }
.belonging-header h2 { margin: 1rem 0 1.6rem; }
.belonging-header .lead { margin: 0 auto; }

.belonging-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.belonging-text p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.belonging-text p:last-child { margin-bottom: 0; }
.belonging-text strong { color: var(--ink); }

.belonging-visual { display: grid; gap: 1.4rem; position: sticky; top: 100px; }
.belonging-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-card);
}
.belonging-flag { font-size: 2.2rem; line-height: 1; margin-bottom: 0.8rem; }
.belonging-card h4 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.belonging-card p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; margin: 0; }

.belonging-quote {
  background: var(--sage-deep);
  color: var(--cream);
  border-radius: 24px;
  padding: 1.8rem 1.7rem;
  position: relative;
  overflow: hidden;
}
.belonging-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--cream);
  margin-bottom: 0.9rem;
}
.belonging-quote span {
  font-size: 0.82rem;
  color: rgba(247, 239, 224, 0.72);
  font-weight: 600;
}

@media (max-width: 960px) {
  .belonging-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .belonging-visual { position: static; }
}

/* ============ Device teaser ============ */
.device {
  background: var(--cream-warm);
  overflow: hidden;
  position: relative;
}
.device-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.device-text h2 { margin: 1rem 0 1.8rem; }
.device-text .lead { margin-bottom: 2rem; }

.device-features {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}
.device-feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.device-feature svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

.device-visual-dual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.device-shot {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
}
.device-shot .device-photo {
  width: 100%;
  height: 230px;
  max-width: 230px;
  object-fit: contain;
  object-position: bottom;
  border-radius: 14px;
  filter: drop-shadow(0 26px 46px rgba(139, 99, 50, 0.32));
  animation: gentle-float 8s ease-in-out infinite;
}
.device-shot:nth-child(3) .device-photo { border-radius: 18px; }
.device-shot-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-align: center;
}

/* Wide concept/infographic image — spans the full visual width instead of sharing a narrow column */
.device-shot-wide {
  flex: 1 1 100%;
  width: 100%;
}
.device-shot-wide .device-photo {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  animation: none;
  filter: drop-shadow(0 20px 40px rgba(139, 99, 50, 0.28));
}

@media (max-width: 640px) {
  .device-visual-dual { flex-direction: column; gap: 2.2rem; }
  .device-shot { min-width: 0; }
  .device-shot .device-photo { max-width: 220px; height: 220px; object-position: bottom; }
}

.device-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
}
.device-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ============ Final CTA ============ */
.cta {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: var(--cream);
  position: relative;
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--paper);
  border-radius: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  position: relative;
}
.cta-inner::before, .cta-inner::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M20 50 Q 40 30 50 50 T 80 50' fill='none' stroke='%238A9670' stroke-width='2' stroke-linecap='round'/><circle cx='50' cy='50' r='3' fill='%23B8894A'/></svg>") no-repeat center/contain;
  opacity: 0.35;
}
.cta-inner::before { top: -20px; left: -20px; transform: rotate(-30deg); }
.cta-inner::after { bottom: -20px; right: -20px; transform: rotate(150deg); }

.cta h2 { margin-bottom: 1.4rem; }
.cta .lead { margin: 0 auto 2.2rem; }

.cta-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.4rem;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 999px;
  max-width: 480px;
  margin: 0 auto;
}
.cta-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 0.98rem;
  outline: none;
  color: var(--ink);
}
.cta-form input::placeholder { color: var(--ink-mute); }
.cta-form .btn { padding: 0.85rem 1.4rem; }

.cta-perks {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.cta-perk {
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cta-perk svg { width: 16px; height: 16px; color: var(--gold); }

/* ============ Success state ============ */
.form-success {
  display: none;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.4rem;
  background: rgba(138, 150, 112, 0.12);
  border: 1px solid var(--sage);
  border-radius: 16px;
  color: var(--sage-deep);
  font-weight: 600;
  animation: slide-up 0.5s ease;
}
.form-success.visible { display: flex; }
.form-success svg { width: 22px; height: 22px; color: var(--sage-deep); flex: none; }
@keyframes slide-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-error {
  display: none;
  margin-top: 0.8rem;
  padding: 0.75rem 1.1rem;
  background: rgba(198, 90, 62, 0.1);
  border: 1px solid rgba(198, 90, 62, 0.35);
  border-radius: 14px;
  color: #9C4A32;
  font-size: 0.88rem;
  font-weight: 600;
  max-width: 460px;
}
.cta-form + .form-error { margin-left: auto; margin-right: auto; }
.form-error.visible { display: block; animation: slide-up 0.4s ease; }

/* ============ Footer ============ */
.footer {
  padding: 4rem 0 2.5rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer-logo img { height: 52px; }
.footer-logo .name {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold-deep);
}
.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 26em;
  margin-bottom: 1.2rem;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--gold); color: var(--paper); border-color: var(--gold); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-col ul { list-style: none; display: grid; gap: 0.7rem; }
.footer-col a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-deep); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-mute);
  font-size: 0.82rem;
}
.footer-bottom .heart { color: var(--heart); }
.footer-bottom a { color: var(--ink-mute); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold-deep); }

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ Simple content pages (About, Careers, Contact, Press, Legal) ============ */
.page-hero {
  padding: clamp(10rem, 14vw, 12rem) 0 clamp(3rem, 6vw, 4rem);
  background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 100%);
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; margin-bottom: 1.2rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead { margin: 0 auto; }
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--gold-deep); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

.content-page { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.content-narrow { max-width: 760px; margin: 0 auto; }

.prose h2 { margin: 2.4rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8rem 0 0.8rem; font-size: 1.3rem; }
.prose p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.prose ul, .prose ol { color: var(--ink-soft); margin: 0 0 1.1rem 1.3rem; display: grid; gap: 0.5rem; }
.prose a { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); }
.prose strong { color: var(--ink); }
.prose .updated { font-size: 0.85rem; color: var(--ink-mute); margin-bottom: 2rem; display: block; }

/* Founders */
.founder-list { display: grid; gap: 1.4rem; margin: 2rem 0 2.5rem; }
.founder-card {
  display: flex;
  gap: 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
}
.founder-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-soft), var(--gold-deep));
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 10px 24px -8px rgba(139, 99, 50, 0.45);
}
.founder-body h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.founder-role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.7rem;
}
.founder-body p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.65; margin: 0; }

@media (max-width: 640px) {
  .founder-card { flex-direction: column; }
}

/* Team / values / role cards reused across About & Careers */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin: 2rem 0 1rem;
}
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.8rem 1.5rem;
}
.info-card svg { width: 30px; height: 30px; color: var(--gold); margin-bottom: 0.9rem; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.info-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* Careers role list */
.role-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.role-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.6rem;
  flex-wrap: wrap;
}
.role-card h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.role-card .role-meta { color: var(--ink-mute); font-size: 0.85rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }
.role-card .btn { flex: none; }
.empty-roles {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--cream-warm);
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  color: var(--ink-soft);
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: flex-start;
}
.contact-info { display: grid; gap: 1.4rem; }
.contact-info-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.contact-info-item svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }
.contact-info-item h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.contact-info-item p, .contact-info-item a { color: var(--ink-soft); font-size: 0.92rem; }
.contact-info-item a { color: var(--gold-deep); font-weight: 600; }

.contact-form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; gap: 0.5rem; margin-bottom: 1.2rem; }
.form-row label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.form-row input, .form-row select, .form-row textarea {
  border: 1px solid var(--line-strong);
  background: var(--cream-warm);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-family: var(--sans);
  font-size: 0.96rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--gold); }
.form-row textarea { resize: vertical; min-height: 130px; font-family: var(--sans); }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Press page */
.press-kit-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 22px;
  padding: 1.8rem 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.press-kit-box h3 { color: var(--cream); margin-bottom: 0.3rem; }
.press-kit-box p { color: rgba(247,239,224,0.7); margin: 0; font-size: 0.92rem; }
.press-mentions { display: grid; gap: 1rem; margin-top: 1.5rem; }
.press-mention {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
}
.press-mention .outlet { font-weight: 700; color: var(--gold-deep); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.3rem; }
.press-mention p { margin: 0; color: var(--ink-soft); }

@media (max-width: 780px) {
  .info-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-two { grid-template-columns: 1fr; }
  .role-card { flex-direction: column; align-items: flex-start; }
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero-inner, .about-grid, .rooted-grid, .device-inner, .heritage { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .steps, .p-grid { grid-template-columns: 1fr 1fr; }
  .pillars-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .pillar-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-menu { display: flex; }
  .nav-inner > .btn-primary { display: none; }
  .heritage { border-radius: 24px; }
}
@media (max-width: 420px) {
  .nav-logo .sub { display: none; }
  .nav-logo img { height: 42px; }
  .nav-logo .name { font-size: 1.1rem; }
}
@media (max-width: 560px) {
  .steps, .p-grid, .footer-grid { grid-template-columns: 1fr; }
  .pillars-inner { grid-template-columns: 1fr 1fr; }
  .cta-form, .hero-form { flex-direction: column; border-radius: 20px; }
  .cta-form input, .hero-form input { text-align: center; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
  .hero { padding-top: 9rem; }
}
