/* Lantern v2 — Direction C, polished
   Modern editorial · Anthropic-leaning · Lantern warmth
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

:root {
  --bg:        #F4EFE7;
  --paper:     #FBF8F2;
  --ink:       #1B1A18;
  --ink-soft:  #5A564E;
  --ink-quiet: #8C887E;
  --line:      #DCD5C8;
  --line-soft: #EAE3D5;
  --coral:     #DF9C4D;       /* matches the logo sky */
  --coral-deep:#C8843A;
  --sage:      #95A87B;
  --deep:      #465939;
  --deep-darker:#283D1F;
  --sun:       #ECC05D;
  --sun-pale:  #FBECCB;

  --font-sans:  "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono:  "DM Mono", ui-monospace, monospace;
}

*,*::before,*::after{ box-sizing: border-box; }
html, body{ margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }

body{
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; }

h1, h2, h3, h4{ margin: 0; font-weight: 400; letter-spacing: -0.02em; }
p{ margin: 0; }

/* utilities */
.eyebrow{
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-quiet);
  display: inline-block;
}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 14px; font-weight: 500; padding: 12px 22px; border-radius: 6px;
  background: var(--deep);
  color: #FBF8F2;
  border: 1px solid var(--deep); cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:hover, .btn:focus-visible{ background: var(--coral-deep); border-color: var(--coral-deep); color: #fff; outline: none; }
.btn:active{ transform: translateY(1px); }
.btn--ghost{ background: transparent; color: var(--deep); border-color: var(--deep); }
.btn--ghost:hover, .btn--ghost:focus-visible{ background: var(--deep); border-color: var(--deep); color: var(--bg); }
.btn--coral{ background: var(--coral); border-color: var(--coral); color: #fff; }
.btn--coral:hover{ background: var(--coral-deep); border-color: var(--coral-deep); }

/* skip link */
.skip{
  position: absolute; left: 8px; top: 8px; padding: 8px 14px;
  background: var(--ink); color: var(--bg); border-radius: 8px;
  transform: translateY(-200%); transition: transform .2s ease;
  font-size: 13px; z-index: 100;
}
.skip:focus{ transform: translateY(0); }

/* ---- Nav ---- */
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 22px 56px;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,239,231,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-serif); font-size: 22px; color: var(--ink); }
.nav__brand img, .nav__brand svg{ width: 28px; height: auto; }
.nav__links{ display:flex; gap:32px; font-size: 14px; color: var(--ink-soft); }
.nav__links a{ transition: color .15s; }
.nav__links a:hover, .nav__links a[aria-current="page"]{ color: var(--ink); }
.nav__cta{
  font-size: 13px; padding: 8px 14px; border-radius: 9999px;
  border: 1px solid var(--ink); color: var(--ink);
  transition: all .2s ease;
}
.nav__cta:hover{ background: var(--ink); color: var(--bg); }

/* ---- Hero (document-style, full-width) ---- */
.hero{
  padding: 80px 64px 96px;
  position: relative;
  max-width: 1180px; margin: 0 auto;
}
.hero__inner{ max-width: 100%; }
.hero__title{
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(56px, 7.5vw, 96px); line-height: 0.98;
  letter-spacing: -0.03em; color: var(--ink); text-wrap: balance;
}
.hero__title em{ font-style: italic; color: var(--coral-deep); }
.hero__sub{
  margin-top: 28px; font-size: 20px; line-height: 1.55;
  color: var(--ink-soft); max-width: 64ch;
}
.hero__cta{ margin-top: 40px; display:flex; gap: 12px; flex-wrap: wrap; }

/* ---- Hero mark — placed lantern in a circular vignette w/ orbiting caption ---- */
.hero__mark{
  display:flex; flex-direction:column; align-items:center; gap: 28px;
  position: relative;
}
.hero__stage{
  position: relative;
  width: 380px; height: 380px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(251,236,203,0.55) 0%, rgba(236,192,93,0.18) 28%, transparent 62%),
    var(--paper);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 30px 60px -30px rgba(40,61,31,0.18);
  overflow: hidden;
}
/* concentric rings inside the stage */
.hero__stage::before, .hero__stage::after{
  content:''; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  border-radius: 50%; border: 1px dashed rgba(70,89,57,0.18); pointer-events: none;
}
.hero__stage::before{ width: 88%; height: 88%; }
.hero__stage::after{ width: 64%; height: 64%; border-style: solid; border-color: rgba(70,89,57,0.10); }

.hero__mark .lantern{
  width: 168px; height: auto; position: relative; z-index: 2;
  filter: drop-shadow(0 18px 24px rgba(40,61,31,0.18));
}

/* orbital caption: meta strip beneath the stage with hairlines + a dot */
.hero__caption{
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-quiet);
}
.hero__caption::before, .hero__caption::after{
  content:''; width: 28px; height: 1px; background: var(--line);
}
.hero__caption .dot{
  width: 6px; height: 6px; border-radius: 50%; background: var(--coral);
  display: inline-block;
}

/* Lantern motion — sun rises and hills settle on first paint */
.lantern .l-sun-arch{ transform-origin: 22px 35px; animation: l-rise 1.4s cubic-bezier(.2,.7,.3,1) .15s both; }
.lantern .l-sun-disc{ transform-origin: 22px 35px; animation: l-disc 1.4s cubic-bezier(.2,.7,.3,1) .25s both; }
.lantern .l-hill-back{ animation: l-hill 1.0s cubic-bezier(.2,.7,.3,1) .35s both; }
.lantern .l-hill-front{ animation: l-hill 1.0s cubic-bezier(.2,.7,.3,1) .45s both; }
@keyframes l-rise {
  from { transform: translateY(18px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes l-disc {
  from { transform: translateY(22px) scale(.6); opacity: 0; }
  to   { transform: translateY(0)     scale(1);  opacity: 1; }
}
@keyframes l-hill {
  from { transform: translateY(14px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@media (prefers-reduced-motion: reduce){
  .lantern .l-sun-arch, .lantern .l-sun-disc,
  .lantern .l-hill-back, .lantern .l-hill-front{ animation: none; }
}

/* ---- Section ---- */
.section{
  padding: 72px 64px;
  max-width: 1180px; margin: 0 auto;
}

/* tonal card variant — wraps a section in rounded warm-tan paper */
.section--card{
  background: #EDE5D4;
  border: 1px solid #DDD3BD;
  border-radius: 28px;
  padding: 80px 64px;
  margin: 24px auto;
}
.section__head{
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px;
  margin-bottom: 56px; align-items: end;
}
.section__head h2{
  font-family: var(--font-serif); font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.0; letter-spacing: -0.028em; color: var(--ink); text-wrap: balance;
}
.section__head h2 em{ font-style: italic; color: var(--coral-deep); }
.section__head p{ font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 520px; }
.section__head p.section__lede{ font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; letter-spacing: -0.015em; color: var(--ink); max-width: 64ch; }

/* founders heading — smaller than other section heads */
.section__head h2.founders-h{
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.05;
}

/* prose two-column */
.prose-2{
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 1100px;
}
.prose-2 p{ font-size: 18px; line-height: 1.65; color: var(--ink); margin-bottom: 18px; }
.prose-2 p strong{ font-weight: 500; }
.prose-2 p em{ font-family: var(--font-serif); font-style: italic; }

/* prose + badge split */
.prose-split{
  display: grid; grid-template-columns: 1fr; gap: 48px;
  align-items: center;
}
@media (min-width: 860px){
  .prose-split{ grid-template-columns: minmax(0, 1fr) 280px; gap: 80px; }
}
.prose-split__aside{
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  align-self: center;
}
.lv-badge{ width: 220px; height: 220px; display: block; }
.lv-badge--hover{ cursor: pointer; transition: transform 0.3s cubic-bezier(.4,0,.2,1); }
.lv-badge--hover:hover{ transform: rotate(-2deg) scale(1.03); }
@media (min-width: 860px){
  .lv-badge{ width: 240px; height: 240px; }
}

/* prose single-column */
.prose-1{ max-width: 60ch; margin: 0; }
.prose-1 p{
  font-size: 19px; line-height: 1.7; color: var(--ink);
  margin: 0 0 22px;
}
.prose-1 p:last-child{ margin-bottom: 0; }
.prose-1 p strong{ font-weight: 500; }
.prose-1 p em{ font-family: var(--font-serif); font-style: italic; }
.prose-1 p.prose-1__kicker{
  font-family: var(--font-serif); font-style: italic;
  font-size: 26px; line-height: 1.35; font-weight: 500;
  color: var(--ink); margin-top: 32px;
}

/* full-width section head (heading spans, eyebrow above, lede below) */
.section__head--full{
  display: block; grid-template-columns: none; margin-bottom: 32px;
}
.section__head--full h2{
  max-width: none; margin-top: 14px;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.0; letter-spacing: -0.028em;
}
.section__lede{
  margin-top: 18px; max-width: 64ch;
  font-family: var(--font-serif); font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.35; letter-spacing: -0.015em; color: var(--ink);
}
.section__lede em{ font-style: italic; color: var(--coral-deep); }

/* arch principle cards */
.arches{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; padding: 0; margin: 0; }
.arch-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9999px 9999px 24px 24px;
  padding: 56px 32px 36px;
  text-align: center;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.arch-card:hover{
  transform: translateY(-4px);
  border-color: var(--coral);
  box-shadow: 0 12px 40px -12px rgba(40,61,31,0.12);
}
.arch-card__num{
  font-family: var(--font-serif); font-size: 56px; line-height: 1;
  color: var(--coral-deep); margin-bottom: 24px; letter-spacing: -0.02em;
}
.arch-card h3{
  font-family: var(--font-serif); font-size: 30px; line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: 14px; color: var(--ink);
}
.arch-card p{ font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

/* founders — bordered cards, no avatars */
.fc-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 32px;
}
.fc{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 36px 32px;
}
.fc h3{
  font-family: var(--font-serif); font-size: 32px; line-height: 1;
  letter-spacing: -0.022em; margin-top: 8px;
}
.fc .eyebrow{ display: block; }
.fc p{ font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }
.li-link{
  display: inline-flex; align-items: center; vertical-align: -2px;
  margin-right: 8px; color: var(--ink-quiet);
  transition: color 120ms ease, transform 120ms ease;
}
.li-link:hover{ color: #0A66C2; transform: translateY(-1px); }
.li-link svg{ display: block; }
.fc__creds{
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-quiet);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* features 2x2 */
.feats-2{
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 24px; overflow: hidden;
}
.feat-row{
  display: grid; grid-template-columns: 80px 1fr;
  gap: 24px; padding: 40px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.feat-row__icon{
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--coral); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
}
.feat-row__icon svg{ width: 24px; height: 24px; }
.feat-row h3{
  font-family: var(--font-serif); font-size: 26px; line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.feat-row p{ font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

/* timeline */
.tl{ list-style: none; padding: 0; margin: 0; position: relative; }
.tl::before{
  content:''; position: absolute; left: 11px; top: 32px; bottom: 32px;
  width: 2px; background: var(--line);
}
.tl__item{
  display: grid; grid-template-columns: 24px 1fr; gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.tl__item:last-child{ border-bottom: none; }
.tl__dot{
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--coral); border: 2px solid var(--coral-deep);
  position: relative; z-index: 1;
}
.tl__num{
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-quiet);
  letter-spacing: 0.12em; margin-bottom: 8px;
}
.tl h3{
  font-family: var(--font-serif); font-size: 36px; line-height: 1.03;
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.tl p{ font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 720px; }

/* FAQ — native <details> for crawlability + accessibility */
.faq{ max-width: 920px; margin: 0 auto; }
.faq details{
  border-bottom: 1px solid var(--line);
}
.faq details:first-of-type{ border-top: 1px solid var(--line); }
.faq summary{
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 32px 0; cursor: pointer;
  font-family: var(--font-serif); font-size: 32px; color: var(--ink);
  letter-spacing: -0.02em; line-height: 1.15;
  transition: color .2s;
}
.faq summary::-webkit-details-marker{ display: none; }
.faq summary:hover{ color: var(--coral-deep); }
.faq summary::after{
  content: '↓'; font-family: var(--font-sans); font-size: 16px; color: var(--ink-quiet);
  margin-left: 24px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all .25s ease;
}
.faq details[open] summary{ color: var(--coral-deep); }
.faq details[open] summary::after{
  background: var(--coral); color: #fff; border-color: var(--coral);
  transform: rotate(180deg);
}
.faq__body{ padding: 0 0 32px; max-width: 760px; }
.faq__body p{ font-size: 17px; line-height: 1.65; color: var(--ink-soft); }
.faq__body em{ font-family: var(--font-serif); font-style: italic; color: var(--ink); }
.faq__item{ padding: 32px 0; border-bottom: 1px solid var(--line); }
.faq__item:first-child{ border-top: 1px solid var(--line); }
.faq__q{
  padding: 0 0 12px;
  font-family: var(--font-serif); font-size: 32px; color: var(--ink);
  letter-spacing: -0.02em; line-height: 1.15;
}

/* reach band */
.reach{
  padding: 100px 64px; background: var(--deep-darker); color: var(--bg);
}
.reach__inner{ max-width: 1052px; margin: 0 auto; }
.reach .eyebrow{ color: var(--coral); }
.reach h2{
  font-family: var(--font-serif); font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.02; letter-spacing: -0.025em; color: var(--bg);
  max-width: 760px; margin: 16px 0 56px; text-wrap: balance;
}
.reach__grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid rgba(244,239,231,0.18);
}
.reach__cell{
  padding: 36px 24px 0;
  border-right: 1px solid rgba(244,239,231,0.18);
}
.reach__cell:last-child{ border-right: none; }
.reach__big{
  font-family: var(--font-serif); font-size: clamp(56px, 7vw, 88px);
  line-height: 1; letter-spacing: -0.03em; color: var(--coral);
  margin-bottom: 16px;
}
.reach__lbl{
  font-family: var(--font-mono); font-size: 11px; color: rgba(244,239,231,0.7);
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* closer */
.closer{
  padding: 120px 56px; text-align: center;
  max-width: 1280px; margin: 0 auto;
}
.closer h2{
  font-family: var(--font-serif); font-size: clamp(56px, 7.5vw, 96px);
  line-height: 0.98; letter-spacing: -0.03em; max-width: 880px;
  margin: 16px auto 28px;
}
.closer h2 em{ font-style: italic; color: var(--coral-deep); }
.closer p{ font-size: 18px; color: var(--ink-soft); max-width: 520px; margin: 0 auto 32px; }
.closer__row{ display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* footer */
.foot{
  padding: 56px; border-top: 1px solid var(--line);
  display:grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-quiet);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.foot__brand{ display:flex; align-items:center; gap: 10px; justify-self: center; font-family: var(--font-serif); font-size: 18px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.foot__brand img{ width: 22px; }
.foot__right{ justify-self: end; }

/* v2 two-column split — stacks on mobile */
.v2-split{
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}

/* responsive */
@media (max-width: 920px){
  .nav{ padding: 18px 24px; }
  .nav__links{ display: none; }
  .hero{ padding: 56px 24px 40px; }
  .hero__inner{ grid-template-columns: 1fr; gap: 32px; }
  .hero__stage{ width: 280px; height: 280px; }
  .hero__mark .lantern{ width: 132px; }
  .section{ padding: 72px 24px; }
  .section__head{ grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; align-items: start; }
  .prose-2{ grid-template-columns: 1fr; gap: 0; }
  .arches{ grid-template-columns: 1fr; gap: 16px; }
  .feats-2{ grid-template-columns: 1fr; }
  .fc-grid{ grid-template-columns: 1fr; gap: 40px; }
  .v2-split{ grid-template-columns: 1fr; gap: 32px; }
  .reach{ padding: 72px 24px; }
  .reach__grid{ grid-template-columns: 1fr; }
  .reach__cell{ border-right: none; border-bottom: 1px solid rgba(244,239,231,0.18); padding-bottom: 32px; }
  .reach__cell:last-child{ border-bottom: none; }
  .closer{ padding: 80px 24px; }
  .foot{ grid-template-columns: 1fr; gap: 16px; text-align: center; padding: 40px 24px; }
  .foot__right, .foot__brand{ justify-self: center; }
}
