/* =========================================================================
   Founder Lore Studio — styles
   Concept: "the record" — what loads when someone searches your name.
   Palette recalibrated away from AI-default cream+terracotta toward a sober,
   archival greige with a single oxidized-copper accent (patina).
   ========================================================================= */

:root {
  /* --- palette: the warm-light INVERSE of Founder Portraits (which is warm-dark
         #0A0908 bg / #EDE8E1 ink / amber). Same family, values flipped. --- */
  --paper:      #F4F0EA;   /* FP.bright — now the surface */
  --paper-2:    #E9E3D9;   /* recessed panel (slightly deeper warm) */
  --ink:        #0A0908;   /* FP.bg — now the ink */
  --slate:      #635C52;   /* warm secondary text (AA on paper) */
  --line:       rgba(10,9,8,0.12);  /* ink hairline (inverse of FP's light lines) */
  --patina:     #8C5A1A;   /* accent = FP amber, deepened to stay legible on light */
  --patina-ink: #6F4512;   /* accent, hover/darker */
  --amber-bright:#CE8B3F;  /* FP's bright amber — for accents sitting on dark blocks */

  /* --- type: Founder Portraits' exact system —
         Archivo Black (uppercase display) · EB Garamond (serif prose) · Archivo (labels) --- */
  --display: "Archivo Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body:    "EB Garamond", Georgia, "Times New Roman", serif;   /* prose */
  --mono:    "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;  /* labels (FP uses no monospace) */

  /* --- scale / rhythm --- */
  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --radius: 3px;
}

/* --------------------------- reset-ish --------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: hidden;      /* guard against any incidental horizontal scroll */
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------- a11y --------------------------- */
.skip-link {
  position: absolute; left: 0; top: 0;
  transform: translateY(-120%);
  background: var(--ink); color: var(--paper);
  padding: .6rem 1rem; z-index: 100;
  font: 500 .9rem/1 var(--mono);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--patina);
  outline-offset: 3px;
  border-radius: 1px;
}

/* --------------------------- shared type --------------------------- */
.eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  font-size: .6875rem;       /* FP label ~11px */
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--patina);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.6rem; height: 1px;
  background: var(--patina);
  vertical-align: middle;
  margin-right: .7rem;
  transform: translateY(-1px);
}

.h2 {
  font-family: var(--display);
  font-weight: 400;                          /* Archivo Black is a single 400 face */
  font-size: clamp(1.6rem, 5vw, 2.3rem);     /* FP section heading */
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.lead {
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);  /* FP serif lead */
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.1rem;
  text-wrap: pretty;
}
.lead--wide { max-width: 44ch; }
.section__body p { color: var(--slate); font-size: 1.18rem; line-height: 1.6; margin-bottom: 1.05rem; text-wrap: pretty; }
.section__body p.lead { color: var(--ink); }
.section__body p:last-child { margin-bottom: 0; }
.note {
  font-size: .98rem;
  color: var(--slate);
  border-left: 2px solid var(--line);
  padding-left: 1rem;
}
em { font-style: italic; }

/* --------------------------- nav --------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex; align-items: center; gap: 1.1rem;
  min-height: 4.25rem;
}
.wordmark {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; margin-right: auto;
}
.wordmark__mark {
  font-family: var(--mono); font-weight: 500;
  font-size: .78rem; letter-spacing: .12em;
  color: var(--paper); background: var(--ink);
  padding: .32rem .42rem; border-radius: 2px;
}
.wordmark__name {
  font-family: var(--display); font-weight: 400;
  font-size: 1rem; letter-spacing: -0.01em; text-transform: uppercase;
}
.nav__list {
  display: flex; align-items: center; gap: 1.05rem;
}
.nav__list a {
  text-decoration: none;
  font-family: var(--mono);
  font-size: .66rem; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
  color: var(--slate);
  padding: .4rem 0;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav__list a:hover { color: var(--ink); border-bottom-color: var(--patina); }
.nav__toggle { display: none; }

/* --------------------------- buttons --------------------------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-block;
  background: var(--bg); color: var(--fg);
  font-family: var(--mono); font-weight: 500;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  padding: .875rem 1.375rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--patina); border-color: var(--patina); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: .58rem 1rem; font-size: .8rem; }
.btn--invert {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
}
.btn--invert:hover { background: var(--patina); border-color: var(--patina); color: #fff; }

.link-quiet {
  font-family: var(--mono);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate); text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .18s ease, border-color .18s ease;
}
.link-quiet:hover { color: var(--ink); border-bottom-color: var(--patina); }

/* inline link inside serif prose (e.g. "Founder Portraits") */
.fp-link {
  color: var(--patina); text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--patina) 45%, transparent);
  text-underline-offset: 3px;
  transition: text-decoration-color .18s ease;
}
.fp-link:hover { text-decoration-color: var(--patina); }
.host__cta { margin-top: 1.5rem; }

/* --------------------------- hero --------------------------- */
.hero { padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: var(--section-y); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4.4rem);     /* FP hero display */
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  overflow-wrap: break-word;
}
.hero__title em { color: var(--patina); font-style: normal; }  /* Archivo Black has no italic */
.hero__lede {
  font-family: var(--body);
  font-style: italic;                        /* FP hero subhead: italic EB Garamond */
  font-size: clamp(1.25rem, 3.4vw, 1.85rem);
  line-height: 1.35;
  color: var(--slate);
  max-width: 24em;
  margin-bottom: 2rem;
  text-wrap: pretty;
}
.hero__actions {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}

/* ---- SIGNATURE: the portrait-record ---- */
.record {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 1px 0 #fff inset, 0 18px 40px -28px rgba(25,27,24,.5);
}
.record__head {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--slate);
  padding-bottom: .75rem; margin-bottom: .85rem;
  border-bottom: 1px solid var(--line);
}
.record__frame {
  /* the portrait / mat-board frame — the lore motif, used once */
  background: var(--paper);
  border: 1px solid var(--line);
  padding: .9rem .9rem 1.1rem;
}
.record__portrait {
  aspect-ratio: 4 / 5;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg,
      transparent 0 11px,
      rgba(140,90,26,.06) 11px 12px),
    var(--paper-2);
  border: 1px solid var(--line);
  color: var(--slate);
}
.record__portrait-note {
  font-family: var(--mono); font-size: .72rem;
  letter-spacing: .08em; color: var(--slate);
}
.record__plate {
  margin-top: .9rem;
  text-align: center;
  font-family: var(--mono); font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink);
  padding-top: .7rem;
  border-top: 2px solid var(--patina);   /* engraved "nameplate" rule */
}
.record__fields {
  margin-top: 1rem;
  display: grid; gap: .05rem;
  font-family: var(--mono); font-size: .8rem;
}
.record__fields > div {
  display: grid; grid-template-columns: 5.5rem 1fr;
  gap: .5rem; padding: .5rem 0;
  border-top: 1px dotted var(--line);
}
.record__fields dt { color: var(--slate); letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; align-self: center; }
.record__fields dd { color: var(--ink); }
.record__fields dd.is-legible { color: var(--patina); }

/* --------------------------- the method / AI stack --------------------------- */
.stack { display: grid; gap: .5rem; margin: 1.75rem 0; }
.stack__layer {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .85rem 1.1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper);
}
.stack__tag {
  flex: none; width: 3.4rem;
  font-family: var(--mono); font-weight: 500;
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--patina);
}
.stack__what { font-size: 1.05rem; line-height: 1.4; }
.stack__layer--human {
  background: var(--ink); border-color: var(--ink); color: var(--paper);
}
.stack__layer--human .stack__tag { color: var(--amber-bright); }

/* --------------------------- generic section --------------------------- */
.section { padding-block: var(--section-y); }
.section--panel {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}
.section__grid {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: start;
}
.section__aside .eyebrow { position: sticky; top: 6rem; }
.section__body { max-width: 60ch; }
.section__head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section__head .eyebrow::before { }

/* --------------------------- offer cards --------------------------- */
.offer__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--patina);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex; flex-direction: column;
}
.card__head { margin-bottom: 1.1rem; }
.card__name {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.3rem, 4vw, 1.7rem); line-height: 1.05;
  letter-spacing: -0.01em; text-transform: uppercase;
  margin-bottom: .6rem;
}
.card__price { display: flex; align-items: baseline; gap: .4rem; }
.card__amount { font-family: var(--display); font-size: 2.2rem; font-weight: 400; letter-spacing: -0.02em; }
.card__amount--words { font-size: 1.5rem; letter-spacing: -0.01em; text-transform: uppercase; line-height: 1.05; }
.card__unit { font-family: var(--mono); font-weight: 500; font-size: .72rem; color: var(--slate); letter-spacing: .12em; text-transform: uppercase; }
.card__desc { color: var(--ink); font-size: 1.15rem; margin-bottom: 1.25rem; text-wrap: pretty; }
.card__list { display: grid; gap: .7rem; margin-bottom: 1.5rem; }
.card__list li {
  position: relative; padding-left: 1.5rem;
  color: var(--slate); font-size: .98rem; line-height: 1.5;
}
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .55rem; height: .55rem;
  border: 1px solid var(--patina);
  transform: rotate(45deg);
}
.card__meta {
  margin-top: auto;
  font-family: var(--mono); font-size: .76rem;
  letter-spacing: .06em; color: var(--slate);
  padding-top: 1rem; border-top: 1px solid var(--line);
}
.offer__foot {
  margin-top: 2rem; text-align: center;
  font-size: 1.05rem; color: var(--slate);
}
.offer__foot strong { color: var(--ink); }

/* --------------------------- steps --------------------------- */
.steps {
  display: grid; gap: 0;
  counter-reset: none;
  border-top: 1px solid var(--line);
}
.step {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.step__num {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; font-style: normal;
  letter-spacing: -0.02em;
  color: var(--patina);
  line-height: 1;
}
.step__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.2rem, 4vw, 1.5rem); line-height: 1.05;
  letter-spacing: -0.01em; text-transform: uppercase;
  margin-bottom: .6rem;
}
.step__body p { color: var(--slate); max-width: 52ch; }

/* --------------------------- promise ladder --------------------------- */
.ladder {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}
.ladder__col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--paper);
}
.ladder__col--yes { border-top: 3px solid var(--patina); }
.ladder__col--no { background: var(--paper-2); }
.ladder__label {
  font-family: var(--mono); font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 1.25rem;
}
.ladder__col--yes .ladder__label { color: var(--patina); }
.ladder__list { display: grid; gap: .9rem; }
.ladder__col--yes .ladder__list li {
  position: relative; padding-left: 1.6rem; line-height: 1.45;
}
.ladder__col--yes .ladder__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--patina); font-weight: 700;
}
.ladder__col--no .ladder__list li {
  position: relative; padding-left: 1.6rem;
  color: var(--slate); line-height: 1.45;
}
.ladder__col--no .ladder__list li::before {
  content: "—"; position: absolute; left: 0; top: 0; color: var(--slate);
}
.ladder__note {
  margin-top: 1.25rem; padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: .92rem; color: var(--slate);
}

.pledge {
  border: none;
  border-left: 3px solid var(--patina);
  padding: .5rem 0 .5rem 1.75rem;
  margin: 0 0 2rem;
  max-width: 60ch;
}
.pledge p {
  font-family: var(--body);                  /* FP statements are italic EB Garamond, not display */
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.4; font-weight: 400;
  font-style: italic;
  text-wrap: pretty;
}
.pledge__own {
  display: block; margin-top: .6rem;
  font-family: var(--mono); font-style: normal;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--patina);
}
.guarantee {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem;
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 1rem; line-height: 1.5;
}
.guarantee__tag {
  font-family: var(--mono); font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: var(--amber-bright);  /* bright amber pops on the dark block */
  padding: .3rem .55rem; border-radius: 2px;
  flex: none;
}

/* --------------------------- host --------------------------- */
.host__figure { margin: 1.5rem 0 0; }
.host__portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 0%;      /* top-anchored: keeps the face, crops the watermarked bottom edge */
  border: 1px solid var(--line);
  background: var(--paper-2);
  filter: grayscale(1) contrast(1.02);   /* editorial b&w, matches the sober register */
  transition: filter .4s ease;
}
.host__figure:hover .host__portrait { filter: grayscale(0); }
.host__caption {
  margin-top: .7rem;
  font-family: var(--mono); font-weight: 500;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate);
}
.creds { display: grid; gap: .85rem; margin: 1.5rem 0; }
.creds li {
  position: relative; padding-left: 1.6rem;
  color: var(--slate); line-height: 1.5;
}
.creds li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: .7rem; height: 1px; background: var(--patina);
}
.creds em { color: var(--ink); font-style: italic; }

/* --------------------------- proof / cohort --------------------------- */
.cohort__slots {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.cohort__slot {
  aspect-ratio: 4 / 5;
  display: grid; place-items: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--slate);
}
.cohort__slot span {
  font-family: var(--mono); font-size: .74rem;
  letter-spacing: .08em; color: var(--slate);
}
.cohort__note { max-width: 60ch; color: var(--slate); }

/* --------------------------- close / CTA --------------------------- */
.close {
  background: var(--ink); color: var(--paper);
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.close__inner { text-align: center; max-width: 46rem; }
.close__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.close__prices {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1rem;
  font-family: var(--mono); font-size: .95rem;
  color: color-mix(in srgb, var(--paper) 78%, transparent);
  margin-bottom: .6rem;
}
.close__prices strong { color: var(--paper); font-weight: 600; }
.close__link {
  color: var(--amber-bright); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--amber-bright) 55%, transparent);
}
.close__link:hover { text-decoration-color: var(--amber-bright); }
.close__note {
  font-size: .9rem;
  color: color-mix(in srgb, var(--paper) 65%, transparent);
  margin-bottom: 2rem;
}

/* --------------------------- footer --------------------------- */
.foot {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-block: 2.5rem;
}
.foot__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1rem 2rem;
}
.foot__name { font-family: var(--display); font-size: 1.15rem; margin-right: auto; }
.foot__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.foot__links a {
  font-family: var(--mono); font-size: .84rem;
  color: var(--slate); text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: color .18s ease, border-color .18s ease;
}
.foot__links a:hover { color: var(--ink); border-bottom-color: var(--patina); }
.foot__fine {
  width: 100%;
  font-family: var(--mono); font-size: .74rem;
  letter-spacing: .06em; color: var(--slate);
  padding-top: 1rem; margin-top: .5rem;
  border-top: 1px solid var(--line);
}

/* --------------------------- reveal motion --------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------- responsive --------------------------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .record { max-width: min(26rem, 100%); justify-self: start; }
  .section__grid { grid-template-columns: minmax(0, 1fr); }
  .section__aside .eyebrow { position: static; }
  .offer__grid { grid-template-columns: minmax(0, 1fr); }
  .ladder { grid-template-columns: minmax(0, 1fr); }

  .nav { position: relative; }
  .nav__toggle {
    display: inline-flex; align-items: center;
    background: transparent; border: 1px solid var(--line);
    border-radius: 2px; padding: .5rem .8rem;
    font-family: var(--mono); font-size: .8rem; color: var(--ink);
    cursor: pointer;
  }
  .nav__list {
    position: absolute; right: 0; top: calc(100% + .6rem);
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .5rem .9rem;
    min-width: 12rem;
    box-shadow: 0 18px 40px -24px rgba(25,27,24,.5);
    display: none;
  }
  .nav__list.is-open { display: flex; }
  .nav__list li { width: 100%; }
  .nav__list a { display: block; width: 100%; padding: .7rem 0; }
}

@media (max-width: 620px) {
  .head-inner > .btn--sm { display: none; }  /* CTA still in hero/mid/footer */
  .step { grid-template-columns: 1fr; gap: .4rem; }
  .step__num { font-size: 1.6rem; }
  .cohort__slots { grid-template-columns: 1fr; max-width: 16rem; }
  .guarantee { flex-direction: column; gap: .75rem; }
}
