/* =========================================================
   Adrian Williams Mentoring — warm editorial
   Palette: cream paper · forest green · terracotta
   Type: Fraunces (display) + Hanken Grotesk (body)
   ========================================================= */

:root {
  --paper:      #FBF7EF;
  --paper-2:    #F4ECDD;
  --paper-3:    #EFE4D2;
  --ink:        #241E18;
  --ink-soft:   #5C5347;
  --forest:     #2E6A4E;
  --forest-deep:#1E4A37;
  --terra:      #C4623A;
  --terra-deep: #A64E2C;
  --gold:       #D9A441;
  --line:       rgba(36, 30, 24, 0.12);
  --line-soft:  rgba(36, 30, 24, 0.07);

  --shadow-sm: 0 1px 2px rgba(36,30,24,.05), 0 4px 14px rgba(36,30,24,.06);
  --shadow-md: 0 6px 22px rgba(36,30,24,.10), 0 2px 6px rgba(36,30,24,.06);
  --shadow-lg: 0 24px 60px rgba(30,74,55,.16), 0 6px 18px rgba(36,30,24,.08);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 28px;
  --maxw: 1120px;

  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* subtle paper grain */
  background-image:
    radial-gradient(1200px 700px at 85% -10%, rgba(217,164,65,.10), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(46,106,78,.08), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
  background-attachment: fixed, fixed, fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
em { font-style: italic; }

.wrap { width: min(var(--maxw), 92%); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--terra); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  padding: .72rem 1.25rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); background: var(--terra-deep); box-shadow: var(--shadow-md); }
.btn:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; }
.btn--lg { padding: .95rem 1.7rem; font-size: 1.02rem; }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.btn--ghost {
  --bg: transparent; --fg: var(--forest-deep);
  border-color: rgba(30,74,55,.28); box-shadow: none;
}
.btn--ghost:hover { background: rgba(46,106,78,.08); border-color: var(--forest); }

/* ---------- eyebrow / titles ---------- */
.eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--terra-deep);
  margin: 0 0 1rem;
}
.eyebrow--center { text-align: center; }
.section__title { font-size: clamp(1.7rem, 3.6vw, 2.7rem); color: var(--ink); }
.section__lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 60ch; margin: 1rem 0 0; }
.center { text-align: center; margin-inline: auto; }
.center.section__lead { margin-inline: auto; }

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section__head { max-width: 62ch; margin-bottom: 2.8rem; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: .85rem 0; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(145deg, var(--forest), var(--forest-deep));
  color: var(--paper); font-family: var(--serif); font-weight: 600;
  display: grid; place-items: center; font-size: 1.35rem;
  box-shadow: var(--shadow-sm);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.brand__sub { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }

.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--ink); }
.nav__links a:not(.btn) { position: relative; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--terra); transition: width .2s ease;
}
.nav__links a:not(.btn):hover::after { width: 100%; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; border-radius: 2px; }
.nav__mobile { display: none; flex-direction: column; gap: .25rem; padding: .5rem 4% 1.4rem; border-bottom: 1px solid var(--line-soft); }
.nav__mobile a { padding: .7rem .2rem; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.nav__mobile a.btn { margin-top: .7rem; border: 1px solid transparent; justify-content: center; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__blob { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .5; z-index: 0; }
.hero__blob--1 { width: 420px; height: 420px; right: -120px; top: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(217,164,65,.5), rgba(217,164,65,0) 65%); }
.hero__blob--2 { width: 380px; height: 380px; left: -140px; bottom: -160px;
  background: radial-gradient(circle at 60% 40%, rgba(46,106,78,.4), rgba(46,106,78,0) 65%); }
.hero__copy { position: relative; z-index: 2; }
.hero__title { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 500; }
.hero__title em { color: var(--forest-deep); }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-soft); margin: 1.5rem 0 0; max-width: 46ch; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin: 2rem 0 0; }

.trust-strip {
  list-style: none; display: flex; flex-wrap: wrap; gap: .5rem .5rem;
  padding: 0; margin: 2.2rem 0 0;
}
.trust-strip li {
  font-size: .84rem; font-weight: 600; color: var(--forest-deep);
  background: rgba(46,106,78,.09); border: 1px solid rgba(46,106,78,.16);
  padding: .4rem .8rem; border-radius: 999px;
}

/* portrait placeholder */
.hero__portrait { position: relative; z-index: 2; margin: 0; text-align: center; }
.portrait {
  position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(135deg, rgba(36,30,24,.03) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--paper-2), var(--paper-3));
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: grid; place-items: center; overflow: hidden;
}
.portrait::before {
  content: ""; position: absolute; inset: 14px; border: 1.5px dashed rgba(36,30,24,.16); border-radius: calc(var(--r-lg) - 12px);
}
.portrait--tall { aspect-ratio: 3/4; }
.portrait__mono { font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 7vw, 4.5rem); color: rgba(30,74,55,.35); line-height: 1; }
.portrait__note { position: absolute; bottom: 1.4rem; font-size: .8rem; letter-spacing: .04em; color: var(--ink-soft); text-align: center; }
.hero__portrait figcaption { margin-top: 1rem; font-size: .9rem; color: var(--ink-soft); font-weight: 500; }

/* =========================================================
   TRANSITION
   ========================================================= */
.transition { background: linear-gradient(180deg, transparent, rgba(244,236,221,.6)); }
.transition .section__title { max-width: 20ch; }
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  margin-top: 3rem;
}
.stat {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm);
}
.stat__num { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--forest-deep); margin-bottom: .5rem; }
.stat__label { font-size: .98rem; color: var(--ink-soft); }

/* =========================================================
   HELP / CARDS
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 2rem 1.9rem 1.9rem;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--forest), var(--gold)); opacity: 0; transition: opacity .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(46,106,78,.3); }
.card:hover::before { opacity: 1; }
.card__num { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--terra); letter-spacing: .05em; }
.card h3 { font-size: 1.35rem; margin: .5rem 0 .6rem; color: var(--ink); }
.card p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: linear-gradient(180deg, rgba(244,236,221,.6), transparent); }
.about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__portrait { margin: 0; }
.about__copy p { color: var(--ink-soft); margin: 1.1rem 0 0; }
.about__copy .section__title { margin-top: .3rem; }
.creds { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: .7rem; }
.creds li { padding-left: 1.8rem; position: relative; color: var(--ink); }
.creds li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%;
  background: var(--forest); box-shadow: 0 0 0 4px rgba(46,106,78,.14);
}
.creds strong { font-weight: 600; }

/* =========================================================
   QUOTES
   ========================================================= */
.quotes { text-align: center; }
.quotes__note { font-size: .85rem; color: var(--ink-soft); font-style: italic; margin: -.4rem 0 2.4rem; }
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; text-align: left; }
.quote {
  margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.9rem; box-shadow: var(--shadow-sm); position: relative;
}
.quote::before {
  content: "\201C"; font-family: var(--serif); font-size: 3.4rem; line-height: .8; color: var(--gold);
  position: absolute; top: .8rem; right: 1.1rem; opacity: .55;
}
.quote blockquote { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.14rem; font-style: italic; color: var(--ink); line-height: 1.45; }
.quote figcaption { font-size: .9rem; font-weight: 600; color: var(--forest-deep); }

/* =========================================================
   PARENTS / FAQ
   ========================================================= */
.parents__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.parents__intro { position: sticky; top: 100px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: .8rem;
  background: var(--paper); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: rgba(46,106,78,.32); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 600; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--serif); font-size: 1.5rem; color: var(--terra); line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 1.3rem 1.3rem; color: var(--ink-soft); }
.faq details strong { color: var(--ink); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: linear-gradient(180deg, transparent, rgba(46,106,78,.06)); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.contact__list li { display: grid; gap: .15rem; }
.contact__label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-deep); font-weight: 600; }
.contact__list a { color: var(--forest-deep); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.contact__list a:hover { text-decoration: underline; }
.contact__list em { font-style: normal; font-weight: 400; font-size: .85rem; color: var(--ink-soft); }

.contact__form {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.1rem; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(46,106,78,.16);
}
.field textarea { resize: vertical; }
.form__hint { font-size: .85rem; color: var(--ink-soft); margin: .9rem 0 0; }
.contact__form .btn { width: 100%; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--forest-deep); color: rgba(251,247,239,.85); padding: 3.2rem 0 2rem; margin-top: 2rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.footer__brand { display: flex; gap: .9rem; max-width: 34ch; }
.footer__brand .brand__mark { background: rgba(251,247,239,.12); }
.footer__brand strong { color: var(--paper); font-family: var(--serif); font-size: 1.15rem; }
.footer__brand p { margin: .35rem 0 0; font-size: .92rem; color: rgba(251,247,239,.7); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer__links a { color: rgba(251,247,239,.82); text-decoration: none; font-size: .95rem; }
.footer__links a:hover { color: var(--paper); text-decoration: underline; }
.footer__legal {
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(251,247,239,.15);
  display: flex; flex-wrap: wrap; gap: .4rem 2rem; justify-content: space-between;
  font-size: .82rem; color: rgba(251,247,239,.6);
}
.footer__legal p { margin: 0; }

/* =========================================================
   MOTION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d, 0) * 120ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__mobile { display: none; }
  .nav__mobile.open { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__portrait { max-width: 340px; margin-inline: auto; order: -1; }
  .about__grid, .parents__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 320px; margin-inline: auto; }
  .parents__intro { position: static; }
  .stat-row, .cards, .quotes__grid { grid-template-columns: 1fr; }
}
@media (min-width: 560px) and (max-width: 900px) {
  .cards, .quotes__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .field--row { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
}
