@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --night: #04110e; --deep: #062820; --brand: #033c31; --leaf: #0f5a4a; --mint: #8fd1bb;
  --ivory: #faf1e5; --paper: #f6f1e8; --ink: #0d1a16; --muted: #55625d; --soft-ink: rgba(250, 241, 229, .72);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 64px); --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; letter-spacing: -.005em; }
a { color: inherit; text-decoration: none; }
img { display: block; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* navigation */
.nav { position: fixed; z-index: 20; top: 14px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 28px), 1120px); height: 60px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 16px; border-radius: 18px;
  color: var(--ivory); transition: background .35s ease, box-shadow .35s ease, color .35s ease; }
.nav.solid { background: rgba(4, 17, 14, .9); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 10px 30px rgba(0, 0, 0, .18), inset 0 0 0 1px rgba(250, 241, 229, .07); }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 400 26px/1 var(--serif); letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(250, 241, 229, .14); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 9px 14px; border-radius: 12px; font-size: 14.5px; font-weight: 500; color: var(--soft-ink); transition: color .2s ease, background .2s ease; }
.nav-links a:hover { color: var(--ivory); background: rgba(250, 241, 229, .07); }
.nav-links .pill { margin-left: 4px; background: var(--ivory); color: var(--night); font-weight: 600; }
.nav-links .pill:hover { background: #fff; color: var(--night); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: var(--ivory);
  background: radial-gradient(120% 90% at 50% 0%, #0a3a30 0%, var(--deep) 38%, var(--night) 78%); }
#field { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow { position: absolute; left: 50%; top: 34%; width: min(1100px, 120vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(143, 209, 187, .16), rgba(143, 209, 187, 0)); filter: blur(10px); }
.hero { align-items: flex-start; }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(150px, 21vh, 210px) var(--gutter) 34vh; text-align: center; }
.hero-inner::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 52%; width: min(1100px, 130%); height: 78%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(4, 17, 14, .62), rgba(4, 17, 14, 0)); pointer-events: none; }
.hero h1 { margin: 0 auto; max-width: 17ch; font: 400 clamp(50px, 7.4vw, 112px)/.98 var(--serif); letter-spacing: -.028em; text-wrap: balance;
  background: linear-gradient(180deg, #fffaf2 0%, #f3e6d3 70%, #d9c9b2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin: 30px auto 0; max-width: 40ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--soft-ink); text-wrap: pretty; }
.hero-cta { margin-top: 40px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: linear-gradient(180deg, rgba(4, 17, 14, 0), var(--night) 92%); pointer-events: none; z-index: 1; }

.btn { height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 26px; border-radius: 999px; font-size: 15.5px; font-weight: 600; letter-spacing: -.005em; transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease; }
.btn:active { transform: scale(.98); }
.btn-light { background: var(--ivory); color: var(--night); box-shadow: 0 8px 30px rgba(143, 209, 187, .18), inset 0 -1px 0 rgba(0, 0, 0, .06); }
.btn-light:hover { background: #fff; box-shadow: 0 10px 40px rgba(143, 209, 187, .3); }
.btn-ghost { color: var(--ivory); background: rgba(250, 241, 229, .06); box-shadow: inset 0 0 0 1px rgba(250, 241, 229, .18); }
.btn-ghost:hover { background: rgba(250, 241, 229, .12); }

/* statement */
.statement { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 14vw, 180px) var(--gutter) clamp(72px, 9vw, 120px); }
.statement p { margin: 0 auto; max-width: 24ch; text-align: center; font: 400 clamp(34px, 4.6vw, 64px)/1.12 var(--serif); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }

/* sections */
.section-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section-head h2 { margin: 0; max-width: 18ch; font: 400 clamp(38px, 5vw, 68px)/1.04 var(--serif); letter-spacing: -.022em; text-wrap: balance; }
.section-head p { margin: 20px 0 0; max-width: 46ch; color: var(--muted); font-size: 18px; }

.approach { padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 12vw, 150px); }
.cards { max-width: var(--max); margin: 56px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; padding: 34px 34px 36px; border-radius: 26px; background: #fffdf9; box-shadow: 0 1px 0 rgba(13, 26, 22, .04), 0 18px 50px -24px rgba(13, 26, 22, .18); overflow: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, -20%), rgba(15, 90, 74, .07), transparent 45%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(13, 26, 22, .04), 0 28px 60px -26px rgba(13, 26, 22, .28); }
.card:hover::after { opacity: 1; }
.glyph { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(160deg, var(--leaf), var(--brand)); margin-bottom: 26px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 20px -8px rgba(3, 60, 49, .6); }
.glyph svg { width: 26px; height: 26px; fill: none; stroke: var(--ivory); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 10px; font-size: 21px; font-weight: 600; letter-spacing: -.018em; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 16.5px; }

/* engagement */
.engagement { background: var(--night); color: var(--ivory); padding: clamp(90px, 12vw, 150px) 0; position: relative; overflow: hidden; }
.engagement::before { content: ""; position: absolute; right: -10%; top: -30%; width: 70vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(143, 209, 187, .1), transparent); pointer-events: none; }
.engagement .section-head h2 { color: var(--ivory); }
.steps { list-style: none; max-width: var(--max); margin: 64px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; position: relative; }
.steps li { position: relative; padding: 30px 26px 32px; border-radius: 24px; background: linear-gradient(180deg, rgba(250, 241, 229, .06), rgba(250, 241, 229, .025)); box-shadow: inset 0 0 0 1px rgba(250, 241, 229, .07); display: flex; flex-direction: column; gap: 26px; }
.num { font: 400 46px/1 var(--serif); color: var(--mint); letter-spacing: -.02em; }
.steps h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.steps p { margin: 0; color: var(--soft-ink); font-size: 15.5px; }

/* call to action */
.cta { padding: clamp(80px, 11vw, 140px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.cta-card { position: relative; overflow: hidden; border-radius: 34px; padding: clamp(64px, 9vw, 120px) var(--gutter); text-align: center; color: var(--ivory);
  background: radial-gradient(90% 120% at 50% 110%, #0f5a4a 0%, var(--brand) 40%, var(--night) 100%); box-shadow: 0 40px 90px -40px rgba(3, 60, 49, .7); }
#ctaField { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .65; }
.cta-card > :not(canvas) { position: relative; }
.cta h2 { margin: 0 auto; max-width: 16ch; font: 400 clamp(40px, 5.6vw, 76px)/1.02 var(--serif); letter-spacing: -.024em; text-wrap: balance; }
.cta p { margin: 18px 0 34px; color: var(--soft-ink); font-size: 17px; }

/* footer */
.footer { background: var(--night); color: var(--ivory); padding: 80px var(--gutter) 28px; overflow: hidden; }
.foot-top { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand p { margin: 16px 0 0; color: var(--soft-ink); max-width: 30ch; font-size: 15.5px; }
.foot-cols { display: flex; gap: clamp(40px, 7vw, 96px); flex-wrap: wrap; }
.foot-cols h4 { margin: 4px 0 14px; font-size: 13px; font-weight: 600; color: rgba(250, 241, 229, .45); letter-spacing: .02em; }
.foot-cols a { display: block; margin: 0 0 10px; color: var(--soft-ink); font-size: 15px; transition: color .2s ease; }
.foot-cols a:hover { color: var(--ivory); }
.wordmark { max-width: var(--max); margin: 64px auto 0; text-align: center; font: 400 clamp(110px, 27vw, 380px)/.8 var(--serif); letter-spacing: -.045em; user-select: none;
  background: linear-gradient(180deg, rgba(250, 241, 229, .16) 0%, rgba(250, 241, 229, .02) 88%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-bottom { max-width: var(--max); margin: 28px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(250, 241, 229, .5); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .card, .btn { transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { top: 10px; height: 56px; width: calc(100% - 20px); padding: 0 8px 0 12px; }
  .nav-links a:not(.pill) { display: none; }
  .hero-inner { padding: 118px 22px 30vh; }
  .hero h1 { max-width: 11ch; }
  .lede { margin-top: 22px; }
  .hero-cta .btn { width: 100%; }
  .cards, .steps { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .card { padding: 28px 24px 30px; border-radius: 22px; }
  .cta { padding-left: 14px; padding-right: 14px; }
  .cta-card { border-radius: 28px; padding: 64px 22px; }
  .foot-cols { gap: 36px 48px; }
  .foot-bottom { flex-direction: column; gap: 6px; }
}

/* legal pages */
.legal { background: var(--paper); padding: 150px var(--gutter) 110px; }
.legal article { max-width: 680px; margin: 0 auto; }
.legal h1 { margin: 0; font: 400 clamp(48px, 7vw, 84px)/1 var(--serif); letter-spacing: -.025em; }
.legal .updated { margin: 14px 0 44px; color: var(--muted); font-size: 15px; }
.legal h2 { margin: 40px 0 10px; font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.legal p { margin: 0 0 16px; color: #2c3934; font-size: 17px; line-height: 1.7; }
.legal a { color: var(--leaf); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(15, 90, 74, .35); }
.legal + .footer { margin-top: 0; }

/* The gradient fill only paints inside the line box, so give descenders (g, y) room below the last line. */
.hero h1 { padding-bottom: .2em; margin-bottom: -.2em; }
