@font-face { font-family: 'Figtree'; src: url('assets/fonts/Figtree-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('assets/fonts/Figtree-LightItalic.ttf') format('truetype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('assets/fonts/Figtree-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('assets/fonts/Figtree-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('assets/fonts/Figtree-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --gn-hunter: #575E4E;
  --gn-russet: #776331;
  --gn-seafoam: #CCEED3;
  --gn-canary: #F0EA9E;
  --gn-sable: #242424;
  --gn-aubergine: #3D2236;
  --gn-surface-3: #F4F4EF;
  --gn-founder: #F7F7F5;
  --gn-border-grey: #E2E0DA;
  --gn-muted: #585450;
  --gn-font-sans: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --gutter: 24px;
  --edge: clamp(16px, 2.1vw, 40px);
  --section: clamp(72px, 7.8vw, 150px);
  --h2: clamp(32px, 2.95vw, 56px);
  --body: clamp(17px, 1.05vw, 20px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--gn-sable); font: 400 var(--body)/1.2 var(--gn-font-sans); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 400; font-size: var(--h2); line-height: 1.1; letter-spacing: -0.005em; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gn-aubergine); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: #fff; color: var(--gn-aubergine); font-weight: 600; border-radius: 6px; }
.skip:focus { top: 16px; }

.wrap { width: min(1532px, 100% - 2 * max(var(--gutter), 10vw)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section[id] { scroll-margin-top: calc(32px - var(--section)); } /* anchors land just above the content, not above the section padding */

.eyebrow { color: var(--gn-russet); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 60px; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 120px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font: 600 13px/1 var(--gn-font-sans); text-decoration: none; cursor: pointer; }
.pill-register { background: var(--gn-hunter); color: var(--gn-seafoam); }
.pill-directory { background: var(--gn-russet); color: var(--gn-canary); }
.pill-outline { background: transparent; color: var(--gn-hunter); border-color: var(--gn-hunter); }
.pill:hover { filter: brightness(1.12); }
.pill-outline:hover { background: var(--gn-hunter); color: #fff; filter: none; }

/* Header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; display: flex; align-items: flex-start; justify-content: space-between; padding: 20px var(--edge); color: #fff; }
.site-header :focus-visible { outline-color: #fff; }
.brand { display: block; position: relative; z-index: 2; }
.logo-inline { width: clamp(180px, 15.3vw, 294px); }
.logo-stacked { display: none; width: 90px; }
.menu-btn { display: none; }
.site-nav ul { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.site-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-nav .nav-pill { min-width: 120px; justify-content: center; border: 1.5px solid #fff; border-radius: 999px; }
.site-nav .nav-pill:hover { background: #fff; color: var(--gn-sable); text-decoration: none; }
.menu-foot { display: none; }

/* Hero */
.hero { position: relative; height: clamp(560px, 54.2vw, 1040px); overflow: hidden; background: #1b140d; color: #fff; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%); }
.hero-title { position: absolute; z-index: 1; right: 3.9vw; bottom: 6.3vw; max-width: 6.2em; font-size: clamp(44px, 3.96vw, 76px); font-weight: 300; line-height: 0.76; text-transform: uppercase; letter-spacing: -0.005em; }
.hero-title em { font-style: italic; }

/* Intro */
.intro { padding-bottom: 0; }
.lede { max-width: 45em; margin-top: 24px; }

/* Two-column: text left, photo right; photo slots between heading and copy on phone */
.split-text { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr repeat(4, auto) 1fr; column-gap: 4vw; }
.split-text > * { grid-column: 1; max-width: 27em; }
.split-text h2 { max-width: 10.8em; }
.split-text > :nth-child(1) { grid-row: 2; }
.split-text > :nth-child(2) { grid-row: 3; }
.split-text > :nth-child(4) { grid-row: 4; }
.split-text > :nth-child(5) { grid-row: 5; }
.split-text h2 { margin-bottom: 36px; }
.split-text p + p:not(.pills) { margin-top: 1.2em; }
.split-text .split-media { grid-column: 2; grid-row: 1 / -1; max-width: none; }
.split-media img { width: 100%; border-radius: 16px; aspect-ratio: 756 / 1060; object-fit: cover; }

/* Centred sections: block centred, running text ragged-left as in the mock */
.centred { display: flex; flex-direction: column; align-items: center; }
.centred > .eyebrow, .centred > h2, .centred > .pills { text-align: center; justify-content: center; }
.quote { max-width: 18em; text-align: left !important; margin-bottom: 36px; }
.narrow { max-width: 30em; }
.wide { max-width: 45em; margin-top: 36px; }

/* Full-bleed band */
.band img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Services accordion */
.accordion { width: 100%; margin-top: 60px; display: grid; gap: 8px; }
.accordion details { background: var(--gn-surface-3); border-radius: 10px; }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 0 30px 0 20px; color: var(--gn-aubergine); font-size: 20px; font-weight: 600; cursor: pointer; list-style: none; border-radius: 10px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ''; flex: none; width: 11px; height: 11px; margin-top: -6px; border: solid var(--gn-aubergine); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.accordion details p { padding: 0 60px 22px 20px; line-height: 1.4; }
.accordion details a { display: block; width: fit-content; margin-top: 8px; color: var(--gn-aubergine); font-weight: 600; text-underline-offset: 3px; }

/* Founder */
.founder { background: var(--gn-founder); padding-block: calc(var(--section) * 1.66); }
.founder-grid { display: grid; grid-template-columns: 29.3% 1fr; column-gap: 11%; align-items: start; }
.founder-grid img { width: 100%; aspect-ratio: 448 / 580; object-fit: cover; border-radius: 16px; }
.founder-grid > div { max-width: 27.5em; padding-top: 4vw; }
.founder-grid h2 { margin-bottom: 36px; }
.founder-grid p + p { margin-top: 1.2em; }

/* Register */
.register > p:not(.eyebrow) { text-align: center; }
.register h2 { margin-bottom: 30px; }
.register .pills { margin-top: 30px; }

/* Footer */
.site-footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: 60px var(--edge) 16px; }
.tagline { font-size: clamp(40px, 2.8vw, 54px); font-weight: 300; line-height: 0.76; text-transform: uppercase; }
.tagline em { font-style: italic; }
.legal { max-width: 680px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; }
.legal-links a { text-decoration: none; }
.legal-links a:hover { text-decoration: underline; }
.disclaimer { margin-top: 18px; font-size: 11px; line-height: 1.15; }

/* Phone */
@media (max-width: 640px) {
  :root { --gutter: 16px; --section: 72px; --h2: 26px; --body: 15px; }
  .logo-inline { display: none; }
  .logo-stacked { display: block; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 2; width: 44px; height: 44px; margin: 4px -8px 0 0; padding: 0; background: none; border: 0; color: #fff; cursor: pointer; }
  .menu-btn .icon-close, .open .menu-btn .icon-open { display: none; }
  .open .menu-btn .icon-close { display: block; }
  .site-nav { display: none; }
  .open .site-nav { display: flex; flex-direction: column; justify-content: space-between; position: fixed; inset: 0; padding: 150px 16px 20px; background: var(--gn-hunter); overflow-y: auto; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0; margin: 0; }
  .site-nav a, .site-nav .nav-pill { min-height: 48px; min-width: 0; padding: 0; border: 0; border-radius: 0; color: var(--gn-seafoam); font-size: 32px; font-weight: 400; }
  .site-nav .nav-pill:hover { background: none; color: var(--gn-seafoam); text-decoration: underline; }
  .menu-foot { display: flex; justify-content: space-between; align-items: flex-end; }
  .menu-foot .tagline { font-size: 32px; }
  .menu-copy { font-size: 11px; }
  body.menu-open { overflow: hidden; }
  /* Sticky compact bar once the hero scrolls away (class set by the inline script). */
  .site-header { position: fixed; transition: background .2s, padding .2s, transform .25s; }
  .site-header.hidden:not(.open) { transform: translateY(-100%); }
  .site-header.scrolled { align-items: center; padding-block: 10px; background: var(--gn-hunter); }
  .site-header.scrolled .logo-stacked { display: none; }
  .site-header.scrolled .logo-inline { display: block; width: 140px; }
  .site-header.scrolled .menu-btn { margin-top: 0; }
  .section[id] { scroll-margin-top: calc(96px - var(--section)); } /* 64px bar + 32px */

  .hero { height: 100svh; min-height: 560px; }
  .hero img { object-position: 50% 20%; }
  .hero-title { left: 16px; right: 16px; bottom: 40px; font-size: 46px; line-height: 0.85; }

  .pills { margin-top: 32px; }
  .pill { min-width: 110px; }
  .lede { margin-top: 20px; }

  .split-text { display: block; }
  .wrap { width: calc(100% - 32px); }
  .split-text > *, .split-text h2 { max-width: none; }
  .split-text h2 { margin-bottom: 20px; }
  .split-media { margin-bottom: 40px; }
  .split-media img { aspect-ratio: 358 / 440; }

  .quote { margin-bottom: 20px; }
  .quote br { display: none; }
  .wide { margin-top: 20px; }
  .accordion { margin-top: 40px; }
  .accordion summary { font-size: 16px; padding: 0 20px; min-height: 64px; }
  .accordion details p { padding: 0 20px 20px; }

  .band { width: calc(100% - 32px); margin-inline: auto; }
  .band img { aspect-ratio: 358 / 440; border-radius: 16px; }

  .founder { padding-block: 72px; }
  .founder-grid { display: block; }
  .founder-grid img { margin-bottom: 32px; aspect-ratio: 358 / 440; }
  .founder-grid > div { padding-top: 0; }
  .founder-grid h2 { margin-bottom: 20px; }

  .register h2 { margin-bottom: 20px; }

  .site-footer { flex-direction: column; align-items: stretch; padding: 40px 16px 20px; }
  .tagline { font-size: 40px; }
  .legal-links { justify-content: space-between; font-size: 12px; }
  .legal-links span { margin-right: auto; }
  .disclaimer { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .accordion summary::after { transition: none; }
}

