/* ==========================================================================
   HostConnect — styles.css (production)
   1. CSS variables  2. Reset/base  3. Typography  4. Layout utilities
   5. Header/navigation  6. Buttons/forms  7. Page sections
   8. Cards/components  9. Footer  10. Responsive media queries
   ========================================================================== */

/* 1. CSS VARIABLES
   ========================================================================== */
:root {
  /* Brand colours */
  --deep: #0F2E36;
  --ink: #22302F;
  --lake: #1B5563;
  --clay: #2C7A96;
  --clay-soft: #BBD6E0;
  --paper: #FAF4EA;
  --sand: #F0E6D6;
  --sand-deep: #E7D9C4;
  --line: #E0D3BF;
  --slate: #5E6B66;
  --white: #FFFFFF;
  --green: #123F3A;

  /* Fonts */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;

  /* Spacing scale */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.2rem;
  --space-6: 3.5rem;
  --space-7: 6.5rem;   /* section padding */

  /* Radii */
  --radius-card: 24px;
  --radius-input: 12px;
  --radius-pill: 999px;
  --radius-arch: 200px 200px 24px 24px;

  /* Shadows (the only two) */
  --shadow-hover: 0 30px 60px -34px rgba(15, 46, 54, .35);
  --shadow-nav: 0 1px 0 rgba(15, 46, 54, .08), 0 10px 30px -18px rgba(15, 46, 54, .18);

  /* Photo overlays */
  --overlay-hero: linear-gradient(180deg, rgba(15,46,54,.62) 0%, rgba(15,46,54,.32) 36%, rgba(15,46,54,.92) 100%);
  --overlay-cta: linear-gradient(180deg, rgba(15,46,54,.58), rgba(15,46,54,.76));

  /* Breakpoints (reference: 1000px nav, 860px stack, 540px small) */
  --bp-nav: 1000px;
  --bp-stack: 860px;
  --bp-small: 540px;
  --max-width: 1200px;
}

/* 2. RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--clay); }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* 3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--deep);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.4rem; }

p { margin: 0; }

em { color: var(--clay); font-weight: 400; }

.on-dark h1 em, .on-dark h2 em, .on-dark em { color: var(--clay-soft); }
.hero em, .cta-band em { color: var(--clay-soft); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .73rem;
  font-weight: 600;
  color: var(--clay);
  margin: 0 0 1.2rem;
  display: flex;
  align-items: baseline;
  gap: .55rem;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
  align-self: center;
}
.eyebrow--soft { color: var(--clay-soft); }

.sub { color: var(--slate); font-size: 1.05rem; max-width: 60ch; margin-top: 1.1rem; }

.translate {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--lake);
  font-size: 1.02rem;
  margin-top: .55rem;
}

.numeral {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--clay);
  margin: 0 0 .4rem;
}

.big-statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.3;
  max-width: 26ch;
  margin: 0 auto;
  text-align: center;
  color: var(--deep);
  letter-spacing: -0.01em;
}

.price-line {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--deep);
  font-style: italic;
  margin: 0 0 1.3rem;
}
.price-line b { font-style: normal; font-weight: 600; }

/* 4. LAYOUT UTILITIES
   ========================================================================== */
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }

.section { padding: var(--space-7) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--deep); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.split {
  display: grid;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.split--5-7 { grid-template-columns: 5fr 7fr; }
.split--7-5 { grid-template-columns: 7fr 5fr; }
.split--4-8 { grid-template-columns: 4fr 8fr; }
.split--start { align-items: start; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; margin-top: 54px; }
.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 34px 30px; margin-top: 52px; }

.dot-list { list-style: none; display: grid; gap: .65rem; margin: 0; padding: 0; }
.dot-list li { position: relative; padding-left: 1.7rem; font-size: .98rem; }
.dot-list li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--clay);
}
.on-dark .dot-list li::before { background: var(--clay-soft); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.no-js .reveal { opacity: 1; transform: none; }
.reveal.in { opacity: 1; transform: none; }

/* 5. HEADER / NAVIGATION
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .3s ease, box-shadow .3s ease;
  background: transparent;
}
.nav.solid { background: var(--paper); box-shadow: var(--shadow-nav); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
}
.nav-logo img { height: 34px; display: block; }
.nav-logo .logo-dark { display: none; }
.nav.solid .logo-light, .nav.open .logo-light { display: none; }
.nav.solid .logo-dark, .nav.open .logo-dark { display: block; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) {
  font-weight: 500; font-size: .95rem;
  color: var(--white); text-decoration: none;
  padding: .5rem 0;
}
.nav.solid .nav-links a:not(.btn), .nav.open .nav-links a:not(.btn) { color: var(--ink); }
.nav-links .btn--primary { color: var(--white); }

.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 7px; width: 44px; height: 44px;
  background: transparent; border: none; cursor: pointer; padding: 0;
}
.nav-burger span {
  display: block; width: 26px; height: 2px;
  background: var(--white);
  transition: transform .3s ease;
}
.nav.solid .nav-burger span, .nav.open .nav-burger span { background: var(--ink); }
.nav.open .nav-burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav.open .nav-burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.nav-panel { display: none; }
.nav.open { background: var(--paper); }
.nav.open .nav-panel {
  display: flex; flex-direction: column;
  background: var(--paper); box-shadow: var(--shadow-nav);
  padding: .6rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
}
.nav-panel a {
  font-family: var(--font-display); font-weight: 500; font-size: 1.4rem;
  color: var(--deep); text-decoration: none;
  padding: .9rem 0; border-top: 1px solid var(--line);
}
.nav-panel a:first-child { border-top: none; }
.nav-panel .btn {
  margin-top: 1.6rem; width: 100%; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: .98rem; padding: 1rem 1.4rem;
}
.nav-panel .btn:hover { transform: none; }

/* 6. BUTTONS / FORMS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: .85rem 1.5rem; min-height: 44px;
  border-radius: var(--radius-pill);
  border: none; cursor: pointer; text-decoration: none;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--clay); color: var(--white); }
.btn--ink { background: var(--deep); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.55); }
.btn--outline { background: transparent; color: var(--deep); border: 1px solid var(--deep); }

.btn .chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.18); font-size: .85rem;
}

.arrow-chip {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; min-width: 34px;
  border-radius: 50%; border: 1px solid var(--line);
  color: var(--clay); text-decoration: none;
  transition: background .25s ease, color .25s ease;
}
.arrow-chip:hover { background: var(--clay); color: var(--white); }

label {
  display: block;
  font-size: .73rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--deep);
  margin-bottom: .45rem;
}
label .opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--slate); }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  padding: .85rem 1rem;
  outline: none;
}
input:focus, textarea:focus { border-color: var(--clay); }
input::placeholder, textarea::placeholder { color: #9aa5a0; }
textarea { resize: vertical; min-height: 130px; }

.form-card {
  background: var(--sand);
  border-radius: var(--radius-card);
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
.form-card form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-family: var(--font-display); font-style: italic; color: var(--slate); font-size: .88rem; margin-top: .2rem; }

/* 7. PAGE SECTIONS
   ========================================================================== */
/* Photo hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden; color: var(--white);
}
.hero--short { min-height: 88vh; }
.hero-bg {
  position: absolute; inset: 0;
  background-color: var(--deep);
  background-size: cover; background-position: center;
}
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 130px; padding-bottom: 70px; }
.hero h1 { color: var(--white); max-width: 17ch; }
.hero .lede { color: rgba(255,255,255,.92); font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 52ch; margin-top: 1.6rem; line-height: 1.55; }
.hero .crumbs { text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: rgba(255,255,255,.7); margin-bottom: 1.2rem; }
.hero .crumbs a { color: rgba(255,255,255,.7); text-decoration: none; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.1rem; align-items: center; }
.hero .cta-note { color: rgba(255,255,255,.72); font-size: .85rem; font-family: var(--font-display); font-style: italic; }

/* Fork cards inside home hero */
.fork-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 2.8rem; max-width: 760px; }
.fork-card {
  display: block; text-decoration: none; color: var(--white);
  background: rgba(250,244,234,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.6rem;
  transition: transform .25s ease, background .25s ease;
}
.fork-card:hover { transform: translateY(-3px); background: rgba(250,244,234,.18); border-color: var(--clay-soft); }
.fork-card .k { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--clay-soft); font-weight: 600; }
.fork-card h3 { color: var(--white); font-size: 1.4rem; margin: .5rem 0 .35rem; }
.fork-card p { color: rgba(255,255,255,.82); font-size: .94rem; line-height: 1.5; margin: 0 0 .9rem; }
.fork-card .go { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .92rem; color: var(--clay-soft); }
.fork-card .go .arrow-chip { border-color: rgba(255,255,255,.5); color: var(--clay-soft); }

/* Marquee channel ticker */
.marquee { background: var(--sand); overflow: hidden; padding: 1.1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; gap: 3rem; align-items: center; width: max-content; animation: marquee 35s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--lake); white-space: nowrap; }
.marquee-track .sep { color: var(--clay); }
.marquee--logos { background: var(--paper); padding: 1.2rem 0; }
.marquee--logos .marquee-track { gap: 0; }
.marquee--logos img { height: 48px; width: auto; }
.marquee--logos .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); margin: 0 2.2rem; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Arch-masked photo + caption pill */
.arch-figure { position: relative; }
.arch-figure img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-arch); }
.pill-caption {
  position: absolute; left: -14px; bottom: 14px;
  background: var(--sand-deep);
  border-radius: var(--radius-pill);
  padding: .55rem 1.1rem;
  font-family: var(--font-display); font-style: italic; font-size: .98rem; color: var(--deep);
  border: 6px solid var(--paper);
}
.section--sand .pill-caption { border-color: var(--sand); }

/* Collage: main + overlapping square */
.collage { position: relative; padding-bottom: 34px; }
.collage .main { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-card); }
.collage .over {
  position: absolute; right: -14px; bottom: 0;
  width: 45%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--radius-card);
  border: 6px solid var(--paper);
}
.section--sand .collage .over { border-color: var(--sand); }

/* Stats row */
.stats-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; text-align: center; }
.stats-row .stat { flex: 1 1 180px; }
.stats-row .num { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--deep); line-height: 1; }
.stats-row .lbl { color: var(--slate); font-size: .95rem; margin-top: .5rem; }

/* Steps (three cards with icon) */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 50px; }
.step-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 2rem; }
.section--sand .step-card { background: var(--paper); }
.step-card .icon {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--clay); margin-bottom: 1.1rem;
}
.step-card .rule { width: 40px; height: 2px; background: var(--clay); opacity: .6; margin: .8rem 0 1rem; }

/* Feature item (thin rule + heading + copy) */
.feature .rule { width: 40px; height: 2px; background: var(--clay); opacity: .6; margin-bottom: 1rem; }
.feature h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.feature p { color: var(--slate); font-size: .97rem; }

/* Dark money section */
.money-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 50px; }
.money-card { border-radius: var(--radius-card); padding: 2.2rem; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); }
.money-card.hot { border-color: var(--clay); background: rgba(44,122,150,.18); }
.money-card .k { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); font-weight: 600; }
.money-card.hot .k { color: var(--clay-soft); }
.money-card .big { font-family: var(--font-display); font-weight: 500; font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; margin: .5rem 0; color: var(--white); }
.money-card.hot .big { font-style: italic; color: var(--clay-soft); }
.money-card p { font-size: 1rem; color: rgba(255,255,255,.82); }

.ledger { margin-top: 46px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-card); padding: 2rem; overflow-x: auto; }
.ledger h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 1rem; }
.ledger .row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .96rem; }
.ledger .row span:first-child { color: rgba(255,255,255,.78); }
.ledger .row span:last-child { font-variant-numeric: tabular-nums; font-family: var(--font-display); white-space: nowrap; }
.ledger .row--total { border-top: 1px solid rgba(255,255,255,.25); border-bottom: none; margin-top: .4rem; padding-top: .8rem; font-weight: 600; font-size: .98rem; }
.ledger .row--total span:last-child { color: var(--clay-soft); }
.ledger .row--kicker { border-bottom: none; }
.ledger .row--kicker span:last-child { font-style: italic; color: var(--clay-soft); }

.fineprint { color: rgba(255,255,255,.5); font-size: .84rem; margin-top: 32px; font-style: italic; max-width: 72ch; font-family: var(--font-display); }

/* FAQ accordions (native details/summary) */
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: var(--deep);
  padding: 1.3rem 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--clay); font-size: 1.5rem; font-weight: 400; transition: transform .3s ease; flex: none; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .a { color: var(--slate); font-size: 1rem; padding: 0 2.5rem 1.4rem 0; }

/* Final CTA photo band */
.cta-band {
  position: relative; min-height: 66vh;
  display: flex; align-items: center; text-align: center;
  color: var(--white); overflow: hidden;
}
.cta-band .hero-bg { background-image: var(--overlay-cta), var(--cta-img); }
.cta-band .inner { position: relative; z-index: 2; width: 100%; padding: var(--space-7) 0; }
.cta-band h2 { color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.5rem); max-width: 20ch; margin: 0 auto; }
.cta-band .lede { color: rgba(255,255,255,.9); font-size: 1.18rem; margin: 1.3rem auto 2rem; max-width: 50ch; }
.cta-band .cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-band .contact-line { color: rgba(255,255,255,.6); font-size: .88rem; margin-top: 1.4rem; font-family: var(--font-display); font-style: italic; }

/* Big statement interlude */
.statement-block { padding: 90px 0; }

/* 8. CARDS / COMPONENTS
   ========================================================================== */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card .card-img { aspect-ratio: 4/3; background-color: var(--green); background-size: cover; background-position: center; }
.card .card-body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.card .k { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--clay); }
.card h3 { font-size: 1.9rem; margin: .5rem 0 .6rem; }
.card .lede { color: var(--slate); font-size: 1rem; margin-bottom: 1.3rem; }
.card .spacer { flex: 1; }
.card .subdeal { margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px dashed var(--line); }
.card .subdeal p { font-size: .92rem; color: var(--slate); margin-bottom: .8rem; }

/* Photo card (image top, chip, copy) */
.photo-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.photo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.photo-card .img { position: relative; aspect-ratio: 16/10; background-size: cover; background-position: center; background-color: var(--green); }
.photo-card .chip { position: absolute; left: 14px; bottom: 14px; background: var(--paper); border-radius: var(--radius-pill); padding: .4rem .9rem; font-family: var(--font-display); font-style: italic; font-size: .9rem; color: var(--deep); }
.photo-card .body { padding: 1.8rem; }
.photo-card h3 { font-size: 1.45rem; margin-bottom: .45rem; line-height: 1.1; }
.photo-card p { color: var(--slate); font-size: .97rem; }

/* Sand tile (problem cards) */
.tile { background: var(--sand); border-radius: var(--radius-card); padding: 1.8rem 2rem; }
.section--sand .tile { background: var(--paper); border: 1px solid var(--line); }
.tile h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.tile p { color: var(--slate); font-size: .98rem; }

/* Founder bio */
.bio { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.bio h3 { font-size: 1.5rem; }
.bio .role { font-size: .73rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin: .4rem 0 .8rem; font-weight: 600; }
.bio p { color: var(--slate); font-size: 1rem; }

/* Portrait pair (about) */
.person { display: grid; grid-template-columns: minmax(180px, 240px) 1fr; gap: 1.6rem; align-items: start; }
.person .photo { border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 3/4; background: var(--green); }
.person .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; transition: transform 6s ease; }
.person:hover .photo img { transform: scale(1.07); }

/* Contact index rows */
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-top: 1px solid var(--line); padding: 1.4rem 0; }
.contact-row .k { font-size: .73rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-weight: 600; margin-bottom: .3rem; }
.contact-row .big { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--deep); text-decoration: none; }
.contact-row p { color: var(--slate); font-size: .92rem; margin-top: .3rem; }

/* Layer stack (PM page) */
.layer { border-radius: var(--radius-card); padding: 1.6rem 1.9rem; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.07); }
.layer--hot { border-color: var(--clay); background: linear-gradient(100deg, rgba(44,122,150,.28), rgba(44,122,150,.14)); padding: 1.8rem 1.9rem; }
.layer--dim { background: rgba(255,255,255,.04); }
.layer .k { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--clay-soft); margin-bottom: .5rem; }
.layer--dim .k { color: rgba(255,255,255,.6); }
.layer h3 { color: var(--white); font-size: 1.3rem; margin-bottom: .4rem; }
.layer--hot h3 { font-size: 1.5rem; }
.layer--dim h3 { font-size: 1.1rem; color: rgba(255,255,255,.85); }
.layer p { font-size: .96rem; line-height: 1.5; color: rgba(255,255,255,.82); }
.layer--dim p { color: rgba(255,255,255,.6); }
.layer .tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.layer .tags span { font-size: .78rem; background: rgba(255,255,255,.16); color: var(--white); padding: .32rem .8rem; border-radius: var(--radius-pill); }
.layer-arrow { text-align: center; color: var(--clay-soft); font-size: 1.1rem; line-height: 1; }

/* Flow card (retention chain) */
.flow-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 2rem; }
.flow-step { padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-input); background: var(--sand); }
.flow-step.final { border-color: var(--clay); background: var(--sand-deep); }
.flow-step b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--deep); font-weight: 500; }
.flow-step span { font-size: .88rem; color: var(--slate); }
.flow-arrow { text-align: center; color: var(--clay); font-size: 1.2rem; padding: .35rem 0; }

/* Mentoring panel */
.panel { background: var(--sand-deep); border-radius: 26px; padding: clamp(2rem, 5vw, 3.4rem); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.panel .k { text-transform: uppercase; letter-spacing: .2em; font-size: .73rem; font-weight: 600; color: var(--clay); }
.panel h2 { margin-top: .7rem; }
.panel .lede { color: var(--slate); font-size: 1.06rem; margin-top: 1rem; }
.panel .aside { text-align: center; }
.panel .aside img { width: 100%; max-width: 340px; margin: 0 auto 1.6rem; aspect-ratio: 4/5; object-fit: cover; border-radius: 170px 170px 24px 24px; border: 6px solid var(--paper); }
.panel .aside .line { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--lake); margin-bottom: 1.2rem; }

/* Testimonial */
.testimonial { margin: 0; text-align: center; }
.testimonial .stars { color: var(--clay); letter-spacing: .28em; font-size: 1.05rem; }
.testimonial blockquote { margin: 1.2rem 0 1.6rem; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.45; color: var(--deep); }
.testimonial .who { display: flex; align-items: center; justify-content: center; gap: .9rem; }
.testimonial .who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial .who .n { font-weight: 600; color: var(--deep); text-align: left; }
.testimonial .who .r { color: var(--slate); font-size: .9rem; text-align: left; }

/* Fork card title (avoids h-level skip in hero) */
.fork-title { color: var(--white); font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; margin: .5rem 0 .35rem; line-height: 1.1; }

/* Stamp badge */
.stamp { width: 118px; height: 118px; animation: stamp-spin 20s linear infinite; }
@keyframes stamp-spin { to { transform: rotate(360deg); } }

/* 9. FOOTER
   ========================================================================== */
.footer { background: var(--deep); color: rgba(255,255,255,.78); overflow: hidden; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: var(--space-6) 0 2.5rem; }
.footer h4 { color: var(--white); font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 1rem; }
.footer .brand { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; color: var(--white); }
.footer-logo { display: block; width: 200px; height: auto; }
.footer .brand .dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--clay); margin-left: .3rem; }
.footer-email { display: inline-block; color: var(--clay-soft) !important; font-size: .95rem; margin-top: .8rem; text-decoration: none; transition: color .25s ease; }
.footer-email:hover { color: var(--white) !important; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.82);
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}
.footer-social a:hover { border-color: var(--clay-soft); color: var(--clay-soft); transform: translateY(-2px); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .95rem; }
.footer a:hover { color: var(--white); }
.footer-bar { border-top: 1px solid rgba(255,255,255,.15); padding: 1.4rem 0; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer .ghost {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(4rem, 14vw, 12rem);
  line-height: .9; color: rgba(255,255,255,.05);
  white-space: nowrap; user-select: none;
  padding-bottom: .5rem;
}

/* Thanks / 404 pages */
.simple-page { min-height: 100vh; display: flex; flex-direction: column; }
.simple-hero { flex: 1; display: flex; align-items: center; padding: 150px 0 90px; }

/* 10. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav.open {
    position: fixed; inset: 0;
    display: flex; flex-direction: column;
    overflow-y: auto;
  }
  .nav.open .nav-panel { flex: 1 1 auto; }
}

@media (max-width: 860px) {
  .split--5-7, .split--7-5, .split--4-8 { grid-template-columns: 1fr; }
  .grid-2, .money-cards, .panel { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .section { padding: 4.5rem 0; }
  .hero { min-height: 92vh; }
}

@media (max-width: 640px) {
  .hero { align-items: flex-start; min-height: 100vh; }
  .hero-content { padding-top: 108px !important; padding-bottom: 56px !important; }
}

@media (max-width: 540px) {
  .wrap { padding: 0 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .person .photo { max-width: 280px; }
  .collage .over { right: 0; }
  .fork-grid { grid-template-columns: 1fr; }
}
