/* Wyanoke Strategies — Option A: River */
:root {
  --ink: #081A2C;
  --deep: #0C2740;
  --blue: #00529B;
  --river: #2F86D6;
  --mist: #EAF1F7;
  --paper: #F7F9FC;
  --white: #FFFFFF;
  --line: #D6E1EB;
  --gold: #FBB040;
  --text: #16283A;
  --muted: #56687A;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --label: "Montserrat", "Inter", sans-serif;
  --radius: 14px;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 .5em; font-variation-settings: "opsz" 144; }
p { margin: 0 0 1.1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.eyebrow { font: 700 12px/1.2 var(--label); letter-spacing: .22em; text-transform: uppercase; color: #9CC7EE; margin-bottom: 22px; }
.eyebrow.dark { color: var(--blue); }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 12px; transform: translateY(-2px); }
.center .eyebrow::before { display: none; }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: 600 15px/1 var(--label); letter-spacing: .02em; text-decoration: none; border: 1.5px solid transparent; transition: transform .2s, background .2s, color .2s, border-color .2s; cursor: pointer; }
.btn .arrow { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(4px); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: var(--gold); color: var(--ink); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--white); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--deep); }
.btn:disabled { opacity: .6; cursor: default; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--blue); padding-bottom: 6px; border-bottom: 2px solid var(--gold); }
.text-link .arrow { width: 16px; height: 16px; transition: transform .2s; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 26, 44, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand img { height: 44px; width: auto; }
.site-nav { display: flex; gap: 6px; }
.site-nav a { color: rgba(255,255,255,.82); text-decoration: none; font: 600 14px/1 var(--label); letter-spacing: .06em; padding: 12px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-nav a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.site-nav a[href="/contact/"] { border: 1.5px solid rgba(255,255,255,.35); margin-left: 8px; }
.site-nav a[href="/contact/"]:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.site-nav a[href="/contact/"][aria-current] { box-shadow: none; border-color: var(--gold); border-radius: 999px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s, opacity .25s; }

/* Hero */
.hero { position: relative; background: radial-gradient(120% 90% at 20% 10%, #0F3252 0%, var(--ink) 60%); color: #fff; overflow: hidden; min-height: min(88vh, 820px); display: flex; align-items: center; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.contours { opacity: .07; }
.hero-inner { position: relative; padding: 110px 0 170px; }
.hero h1 { font-size: clamp(44px, 6.6vw, 92px); font-weight: 500; margin-bottom: 28px; max-width: 12ch; }
.hero h1 .line { display: block; }
.hero h1 .line:last-child { color: #BFE0FF; font-style: italic; font-weight: 400; }
.lede { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; color: rgba(255,255,255,.82); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.sun { filter: drop-shadow(0 0 30px rgba(251,176,64,.6)); }
.divider { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 80px; }

/* River flow animation */
.flow { animation: flow 14s linear infinite; }
.flow-fast { animation-duration: 7s; }
@keyframes flow { to { stroke-dashoffset: -600; } }

/* Home tiles */
.tile { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.tile h2 { font-size: clamp(34px, 4.4vw, 56px); }
.big { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.6; color: var(--muted); margin-bottom: 36px; }
.tile-partner { background: var(--paper); }
.tile-partner .big { max-width: 700px; margin-inline: auto; }

.tile-path { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.path-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.path-head .eyebrow::before { display: none; }
.pillars-wrap { position: relative; margin-bottom: 64px; }
.path-line { position: absolute; left: 0; right: 0; top: -12px; width: 100%; height: 80px; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.pillar { text-align: center; padding: 0 12px; }
.pillar:nth-child(1) { margin-top: 0; }
.node { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 17px/1 var(--label); letter-spacing: .04em; box-shadow: 0 0 0 8px var(--white), 0 10px 30px rgba(0,82,155,.35); margin-bottom: 26px; }
.pillar h3 { font-size: 30px; margin-bottom: 12px; }
.pillar p { color: var(--muted); max-width: 32ch; margin-inline: auto; }

.tile-cta { background: linear-gradient(135deg, var(--blue) 0%, #013E78 100%); color: #fff; overflow: hidden; }
.cta-art { position: absolute; right: 0; top: 0; height: 100%; width: 60%; }
.cta-inner { position: relative; max-width: 720px; }
.tile-cta .big { color: rgba(255,255,255,.85); }

/* Interior page head */
.pagehead { position: relative; background: radial-gradient(120% 120% at 10% 0%, #0F3252 0%, var(--ink) 65%); color: #fff; overflow: hidden; }
.pagehead-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.pagehead-inner { position: relative; padding: 96px 0 150px; }
.pagehead h1 { font-size: clamp(44px, 6vw, 80px); font-weight: 500; margin-bottom: 18px; }
.pagehead .lede { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 26px); color: #BFE0FF; }
.section { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 130px); }

/* About */
.about-grid { display: grid; grid-template-columns: 360px 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.about-card { position: sticky; top: 110px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(8,26,44,.08); margin-top: -120px; }
.portrait { position: relative; aspect-ratio: 4 / 4.2; background: radial-gradient(90% 80% at 70% 20%, #1F6FC0, var(--ink)); display: grid; place-items: center; }
.portrait img { width: 46%; opacity: .95; margin-bottom: 24px; }
.portrait-note { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font: 600 11px/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.about-card-body { padding: 28px 28px 30px; }
.name { font: 600 26px/1.1 var(--serif); margin: 0 0 4px; }
.role { color: var(--blue); font: 600 13px/1.3 var(--label); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; }
.facts { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.facts li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: baseline; font-size: 15px; line-height: 1.45; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.facts b { font: 600 19px/1 var(--serif); color: var(--blue); }
.edu { font-size: 13.5px; color: var(--muted); margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.prose { font-size: 18px; line-height: 1.8; max-width: 680px; }
.prose .lead { font: 500 clamp(22px, 2.4vw, 28px)/1.45 var(--serif); color: var(--ink); margin-bottom: 1.2em; }
.prose p:not(.lead) { color: #2E4152; }

/* How we help */
.steps-wrap { position: relative; }
.steps-line { position: absolute; left: 0; top: 30px; bottom: 30px; width: 60px; height: calc(100% - 60px); }
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 72px; }
.step { display: grid; grid-template-columns: 60px 1fr; gap: 36px; align-items: start; }
.step .node { margin: 0; }
.step h2 { font-size: clamp(30px, 3.4vw, 42px); margin-top: 6px; }
.step p { color: #2E4152; font-size: 18px; line-height: 1.75; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-side h2 { font-size: clamp(30px, 3.2vw, 40px); }
.contact-side p { color: var(--muted); font-size: 18px; }
.direct { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; }
.direct .sep { color: var(--line); margin: 0 6px; }
.placeholder { background: #FFF4DE; color: #8A5A00; border: 1px dashed #E6B25A; padding: 1px 6px; border-radius: 4px; font-size: 14px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: 0 20px 50px rgba(8,26,44,.08); margin-top: -140px; position: relative; }
.contact-form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field span { font: 600 12px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.field em { font-style: normal; color: var(--muted); letter-spacing: .04em; text-transform: none; font-family: var(--sans); font-weight: 400; }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--text); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0,82,155,.12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: 15px; }
.form-status.ok { color: #1D7A45; }
.form-status.err { color: #B3261E; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 56px 0 90px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: center; }
.footer-inner .brand img { height: 40px; }
.footer-nav { display: flex; gap: 26px; justify-content: flex-end; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.85); text-decoration: none; font: 600 13px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--gold); }
.fine { grid-column: 1 / -1; font-size: 13.5px; margin: 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }

/* 404 */
.nf { padding: 120px 0; text-align: center; }
.nf h1 { font-size: clamp(44px, 6vw, 72px); }
.nf p { color: var(--muted); }

/* Draft pill */
.draft-pill { position: fixed; left: 16px; bottom: 16px; z-index: 60; background: rgba(8,26,44,.94); color: rgba(255,255,255,.8); font: 500 13px/1.3 var(--sans); padding: 10px 16px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.12); }
.draft-pill strong { color: #fff; font-weight: 600; }
.draft-pill a { color: var(--gold); text-decoration: none; margin-left: 8px; font-weight: 600; }
.draft-pill a:hover { text-decoration: underline; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .flow { animation: none; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-card { position: static; max-width: 520px; margin-top: -110px; }
  .form-card { margin-top: 0; }
  .contact-side { order: -1; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 78px; background: var(--ink); flex-direction: column; gap: 0; padding: 8px 20px 20px; border-top: 1px solid rgba(255,255,255,.08); display: none; }
  .site-header.open .site-nav { display: flex; }
  .site-nav a { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 16px; }
  .site-nav a[aria-current] { box-shadow: none; color: var(--gold); }
  .site-nav a[href="/contact/"] { margin: 14px 0 0; text-align: center; border-radius: 999px; }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .pillars { grid-template-columns: 1fr; gap: 48px; }
  .path-line { display: none; }
  .hero-inner { padding: 80px 0 150px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 68px; }
  .site-nav { top: 68px; }
  .brand img { height: 36px; }
  .field-row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 16px; }
  .steps-line { display: none; }
  .steps { gap: 56px; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .draft-pill { left: 10px; right: 10px; bottom: 10px; text-align: center; font-size: 12px; }
  .hide-sm { display: none; }
  .hero-art { opacity: .6; }
  .cta-art { width: 100%; opacity: .6; }
}
