/* ==========================================================================
   daltonhertel.com — styles.css
   Plain CSS, no build step. Organized as:
   1. Design tokens   2. Reset/base   3. Type   4. Buttons   5. Layout
   6. Nav   7. Hero   8. Strip   9. Case study  10. Method
   11. Services      12. About    13. Final CTA 14. Footer  15. Motion
   ========================================================================== */

/* ---------- 1. DESIGN TOKENS -------------------------------------------- */
:root {
  /* Palette — warm neutrals carry the warmth; green is an accent, not the air. */
  --paper:       #FAF8F3;  /* warm off-white base — never pure white */
  --paper-tint:  #F4F0E7;  /* alternating section wash */
  --paper-edge:  #E8E2D5;  /* hairline borders */
  --ink:         #1F1D1A;  /* warm near-black */
  --green:       #2F5D50;  /* deep muted forest — primary */
  --green-soft:  #34655A;  /* hover / secondary green */
  --green-deep:  #24473D;  /* pressed states, dark panel */
  --sage:        #7E9B8A;  /* light moss — small highlights, borders */
  --sage-light:  #C3D6C9;  /* sage that still reads at 4.9:1 on the green panels */
  --clay:        #C77B5A;  /* warm terracotta — sparing accent */
  --muted:       #6B665F;  /* secondary text */

  /* Type */
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
  --fs-h2:      clamp(1.9rem, 1.35rem + 2.2vw, 2.9rem);
  --fs-h3:      clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);
  --fs-lead:    clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.9375rem;
  --fs-eyebrow: 0.8125rem;

  /* Spacing + shape */
  --wrap:       1120px;
  --gutter:     clamp(1.25rem, 5vw, 2.5rem);
  --section-y:  clamp(4.5rem, 9vw, 8rem);
  --radius:     14px;
  --radius-lg:  22px;

  --shadow-sm: 0 1px 2px rgba(31, 29, 26, .05), 0 6px 18px rgba(31, 29, 26, .05);
  --shadow-md: 0 2px 4px rgba(31, 29, 26, .06), 0 14px 40px rgba(31, 29, 26, .09);

  --ease: cubic-bezier(.22, .68, .32, 1);
}

/* ---------- 2. RESET / BASE --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Anchor targets clear the sticky nav. */
:target, section[id] { scroll-margin-top: 5.5rem; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay); }

/* Real, visible focus states everywhere. */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 100; background: var(--green); color: var(--paper);
  padding: .7rem 1.1rem; border-radius: 0 0 10px 10px; text-decoration: none;
  font-weight: 500;
}
.skip-link:focus-visible { transform: translate(-50%, 0); color: var(--paper); }

/* ---------- 3. TYPE ------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-variation-settings: "opsz" 60;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.eyebrow::before {
  content: "";
  width: 2rem; height: 1px;
  background: var(--sage);
  flex: none;
}

.section__title {
  font-size: var(--fs-h2);
  max-width: 20ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
/* For subpage h1s that carry a full sentence rather than a phrase. */
.section__title--wide { max-width: 26ch; }

/* "Read the rest on its own page" links, at the end of a trimmed home section. */
.readmore { margin-top: 1.25rem; font-size: var(--fs-small); font-weight: 500; }
.readmore a { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.readmore a::after { content: "  \2192"; }

/* Breadcrumb back to home, sitting above the eyebrow on subpages. */
.subpage__back { margin-bottom: 1.5rem; font-size: var(--fs-small); }
.subpage__back a { text-decoration: none; color: var(--muted); }
.subpage__back a::before { content: "\2190  "; }
.subpage__back a:hover { color: var(--clay); }

.lede { font-size: var(--fs-lead); color: var(--ink); }

em { font-style: italic; }

/* ---------- 4. BUTTONS --------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 500 var(--fs-small)/1 var(--sans);
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease),
              box-shadow .22s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--green); --btn-fg: var(--paper); --btn-bd: var(--green); box-shadow: var(--shadow-sm); }
.btn--primary:hover { --btn-bg: var(--green-soft); --btn-bd: var(--green-soft); color: var(--paper); box-shadow: var(--shadow-md); }

.btn--outline { --btn-fg: var(--green); --btn-bd: var(--sage); }
.btn--outline:hover { --btn-bg: rgba(47, 93, 80, .06); --btn-bd: var(--green); color: var(--green); }

.btn--ghost { --btn-fg: var(--ink); --btn-bd: var(--paper-edge); }
.btn--ghost:hover { --btn-bd: var(--clay); color: var(--clay); }

.btn--invert { --btn-bg: var(--paper); --btn-fg: var(--green-deep); --btn-bd: var(--paper); box-shadow: var(--shadow-sm); }
.btn--invert:hover { --btn-bg: #FFFDF8; color: var(--green-deep); box-shadow: var(--shadow-md); }

.btn--sm { padding: .6rem 1.15rem; font-size: .875rem; }

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

.section { padding-block: var(--section-y); }
.section--tint { background: var(--paper-tint); border-block: 1px solid var(--paper-edge); }

.section__cta { margin-top: clamp(2.25rem, 4vw, 3.25rem); display: flex; justify-content: center; }
.section__cta--left { justify-content: flex-start; margin-top: 2rem; }

/* ---------- 6. NAV ------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, .82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--paper-edge); box-shadow: 0 6px 24px rgba(31, 29, 26, .04); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.nav__brand {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.nav__brand:hover { color: var(--green); }

.nav__links { display: none; gap: 1.6rem; margin-inline: auto; }
.nav__links a {
  position: relative;
  color: var(--muted);
  font-size: var(--fs-small);
  text-decoration: none;
  padding-block: .35rem;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--ink); }

.nav__actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }

.nav__toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 2.6rem; height: 2.6rem; padding: 0 .55rem;
  background: none; border: 1px solid var(--paper-edge); border-radius: 10px;
  cursor: pointer;
}
.nav__toggle-bar {
  display: block; height: 1.5px; width: 100%; background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* Mobile menu panel — breakpoint is 900px so the five links never crowd the button. */
@media (max-width: 899px) {
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    left: 0; right: 0; top: 100%;
    margin: 0;
    background: var(--paper);
    border-block: 1px solid var(--paper-edge);
    padding: .5rem var(--gutter) 1rem;
  }
  .nav__links.is-open a { padding-block: .8rem; font-size: 1rem; border-bottom: 1px solid var(--paper-edge); }
  .nav__links.is-open a:last-child { border-bottom: 0; }
}

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
}

/* ---------- 7. HERO ------------------------------------------------------ */
.hero { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem); }

.hero__inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

.hero__title {
  font-size: var(--fs-display);
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.038em;
  max-width: 14ch;
}

.hero__sub {
  margin-top: 1.5rem;
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 46ch;
}

.hero__cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__micro {
  margin-top: 1.25rem;
  font-size: var(--fs-small);
  color: var(--muted);
  max-width: 42ch;
}

/* Portrait frame — offset sage block behind for a little warmth/depth. */
.portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-tint);
  border: 1px solid var(--paper-edge);
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-md);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.hero__portrait { position: relative; max-width: 420px; width: 100%; justify-self: center; }
/* A full outline frame offset down-and-right — reads as intentional depth. */
.hero__portrait::before {
  content: "";
  position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--sage);
  border-radius: var(--radius-lg);
}

/* Fallback shown only if the image file is missing (set by script.js). */
.portrait__fallback {
  display: none;
  position: absolute; inset: 0;
  align-items: center; justify-content: center;
  text-align: center;
  font-size: var(--fs-small);
  color: var(--muted);
  padding: 1rem;
  background: repeating-linear-gradient(45deg, var(--paper-tint), var(--paper-tint) 10px, var(--paper) 10px, var(--paper) 20px);
}
.portrait.is-missing img { display: none; }
.portrait.is-missing .portrait__fallback { display: flex; }

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.15fr .85fr; }
  .hero__portrait { justify-self: end; }
}

/* ---------- 8. AFFILIATION STRIP ---------------------------------------- */
.strip { border-block: 1px solid var(--paper-edge); background: var(--paper); }
.strip__inner {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: .75rem clamp(1.25rem, 3vw, 2.5rem);
  padding-block: 1.5rem;
}
.strip__label {
  font-size: var(--fs-eyebrow);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.strip__list { display: flex; flex-wrap: wrap; gap: .5rem clamp(1.25rem, 3vw, 2.25rem); }
.strip__list li {
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: #4A453E;
  font-variation-settings: "opsz" 24;
}
.strip__list li span { font-family: var(--sans); font-size: .8125rem; font-weight: 400; color: var(--muted); }

/* ---------- 9. CASE STUDY ------------------------------------------------ */
.cases { display: grid; gap: 2rem; }

.case {
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.case:hover { box-shadow: var(--shadow-md); }

.case__lede { max-width: 62ch; }
.case__lede .lede { margin-bottom: 1rem; font-family: var(--display); font-weight: 500; font-variation-settings: "opsz" 40; line-height: 1.35; }
.case__lede p + p { color: var(--muted); }
/* The .lede's own margin-bottom only separates the first pair. Any body
   paragraph after that needs its own gap or they run together. */
.case__lede p + p + p { margin-top: 1rem; }

.case__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
@media (min-width: 760px) { .case__grid { grid-template-columns: 1fr 1fr; } }

.case__h {
  font-size: var(--fs-h3);
  margin-bottom: .75rem;
}

/* Findings inside a case study: observation, the principle it maps to, the reasoning. */
.findings { display: grid; gap: 1.4rem; }
.findings > li { padding-left: 1rem; border-left: 2px solid var(--paper-edge); transition: border-color .25s var(--ease); }
.findings > li:hover { border-left-color: var(--sage); }
.findings :is(h3, h4) { font-size: 1.0625rem; font-variation-settings: "opsz" 24; }
.finding__principle {
  margin: .3rem 0 .5rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
}
.findings p:last-child { font-size: var(--fs-small); color: var(--muted); }

.case__takeaway {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--paper-edge);
  max-width: 62ch;
}
.case__takeaway p { color: var(--muted); }

/* [FILL] PLACEHOLDER STYLING — deliberately loud so it can't ship by accident.
   Delete the .fill wrapper along with its contents when you write the real copy. */
.fill {
  display: block;
  position: relative;
  background: rgba(199, 123, 90, .07);
  border: 1.5px dashed var(--clay);
  border-radius: var(--radius);
  padding: 1.5rem 1.1rem 1.1rem;
  color: #8A4F33;
  font-size: var(--fs-small);
}
.fill__tag {
  position: absolute; top: -.7rem; left: 1rem;
  background: var(--clay); color: #fff;
  font: 600 .6875rem/1 var(--sans);
  letter-spacing: .12em;
  padding: .3rem .5rem;
  border-radius: 5px;
}
.fill--inline {
  display: inline;
  background: rgba(199, 123, 90, .12);
  padding: .15rem .4rem;
  border-radius: 6px;
  border: 1.5px dashed var(--clay);
  color: #8A4F33;
}
.fill--inline .fill__tag { position: static; display: inline-block; margin-right: .35rem; vertical-align: 1px; }

/* ---------- 10. METHOD --------------------------------------------------- */
.method { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
@media (min-width: 900px) { .method { grid-template-columns: 1.25fr .75fr; } }

.method__body { max-width: 62ch; }
.method__body p + p { margin-top: 1.1rem; }
.method__body p { color: var(--muted); }
.method__body p:first-child { color: var(--ink); }

.library {
  background: var(--green);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
}
.library__num {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1;
  font-variation-settings: "opsz" 96;
}
.library__label {
  font-size: var(--fs-eyebrow);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-top: .5rem;
}
.library__body { margin-top: 1.1rem; font-size: var(--fs-small); color: rgba(250, 248, 243, .84); }

.method__sub {
  font-size: var(--fs-h3);
  margin-top: clamp(3rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.levers { display: grid; gap: 1rem; }
@media (min-width: 620px) { .levers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .levers { grid-template-columns: repeat(3, 1fr); } }

.lever {
  background: var(--paper-tint);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.lever:hover { transform: translateY(-3px); border-color: var(--sage); background: var(--paper); }
.lever h4 { font-size: 1.0625rem; margin-bottom: .4rem; font-variation-settings: "opsz" 24; }
.lever p { font-size: var(--fs-small); color: var(--muted); }
.wink { color: var(--clay); }

.method__point {
  margin-top: clamp(2.5rem, 4vw, 3.25rem);
  max-width: 62ch;
  font-size: var(--fs-lead);
  border-left: 2px solid var(--sage);
  padding-left: 1.25rem;
}

/* ---------- 10b. FREE SKILL + EMAIL GATE --------------------------------- */
.skill { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
@media (min-width: 900px) { .skill { grid-template-columns: 1.1fr .9fr; } }

.skill__copy { max-width: 60ch; }
.skill__copy .lede { margin-bottom: 1.1rem; }
.skill__copy > p:not(.lede) { color: var(--muted); }

.skill__list { display: grid; gap: .85rem; margin-top: 1.75rem; }
.skill__list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: var(--fs-small);
  color: var(--muted);
}
.skill__list li strong { color: var(--ink); font-weight: 500; }
/* Inline check mark — no icon font, no extra request. */
.skill__list li::before {
  content: "";
  position: absolute; left: 0; top: .45em;
  width: .7rem; height: .38rem;
  border-left: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transform: rotate(-45deg);
}

/* The gate card */
.gate {
  position: relative;
  background: var(--green);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.gate__title { font-size: var(--fs-h3); font-variation-settings: "opsz" 48; }
.gate__sub { margin-top: .5rem; font-size: var(--fs-small); color: rgba(250, 248, 243, .82); }

.gate__fields { margin-top: 1.5rem; display: grid; gap: 1rem; }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field__label {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage-light);
}
.field__input {
  width: 100%;
  font: 400 1rem/1.4 var(--sans);
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: .85rem 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field__input::placeholder { color: #9A948B; }
.field__input:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(199, 123, 90, .35); }
.field__input:focus-visible { outline: none; }
.field__input[aria-invalid="true"] { border-color: #F0B49A; box-shadow: 0 0 0 3px rgba(240, 180, 154, .3); }

.field__help { font-size: .8125rem; color: rgba(250, 248, 243, .7); }
.field__error { font-size: .8125rem; color: #F5C9B4; font-weight: 500; }

.gate__submit { width: 100%; margin-top: .25rem; }
/* Any primary button on the green card inverts to cream, or it disappears into the panel. */
.gate .btn--primary { --btn-bg: var(--paper); --btn-fg: var(--green-deep); --btn-bd: var(--paper); }
.gate .btn--primary:hover { --btn-bg: #FFFDF8; color: var(--green-deep); }
.gate__submit[disabled] { opacity: .6; cursor: progress; transform: none; }

.gate__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.gate__success { text-align: left; }
.gate__check { color: var(--sage-light); margin-bottom: .5rem; }
.gate__success .btn { margin-top: 1.25rem; width: 100%; }
.gate__install {
  margin-top: 1.1rem;
  font-size: .8125rem;
  line-height: 1.6;
  color: rgba(250, 248, 243, .75);
}
.gate__install strong { color: var(--paper); font-weight: 500; }
.gate__install code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .95em;
  background: rgba(250, 248, 243, .12);
  padding: .1em .35em;
  border-radius: 4px;
}

.gate__status:not(:empty) {
  margin-top: .9rem;
  font-size: .8125rem;
  color: #F5C9B4;
}

.gate :focus-visible { outline-color: var(--paper); }

/* ---------- 11. SERVICES ------------------------------------------------- */
.tiers { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.tier {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sage); }

.tier--featured {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  position: relative;
}
@media (min-width: 900px) { .tier--featured { transform: translateY(-12px); } .tier--featured:hover { transform: translateY(-16px); } }

.tier__badge {
  align-self: flex-start;
  background: var(--green);
  color: var(--paper);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 6px;
  margin-bottom: .9rem;
}

.tier__name { font-size: var(--fs-h3); font-variation-settings: "opsz" 32; }
.tier__price {
  font-family: var(--display);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.1;
  margin-top: .5rem;
  color: var(--green);
  font-variation-settings: "opsz" 96;
}
.tier__per { font-size: 1rem; color: var(--muted); font-family: var(--sans); font-weight: 400; }
/* Tiers that quote on scope instead of a number. Words need less size than a
   figure does to hold the same weight in the row. */
.tier__price--words { font-size: 1.6rem; }
.tier__body { margin-top: 1rem; font-size: var(--fs-small); color: var(--muted); }
.tier__fine { display: block; margin-top: .5rem; font-size: .8125rem; }
/* Tiers share one CTA below the grid, so nothing needs pinning to the card bottom. */

.tiers__cta {
  margin-top: clamp(2.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
}
.tiers__note {
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-small);
}

/* ---------- 12. ABOUT ---------------------------------------------------- */
.about { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .about { grid-template-columns: 1.35fr .65fr; } }

.about__body { max-width: 64ch; }
.about__body > p { color: var(--muted); }
.about__body > p + p { margin-top: 1.1rem; }
.about__body > p:first-child { color: var(--ink); font-size: var(--fs-lead); }

.creds { display: grid; gap: 1.25rem; margin-block: 1.75rem; }
.creds li {
  padding-left: 1.25rem;
  border-left: 2px solid var(--paper-edge);
  transition: border-color .25s var(--ease);
}
.creds li:hover { border-left-color: var(--clay); }
.creds :is(h2, h3) { font-size: 1.0625rem; margin-bottom: .35rem; font-variation-settings: "opsz" 24; }
.creds :is(h2, h3) span { font-family: var(--sans); font-size: .8125rem; font-weight: 400; color: var(--muted); }
.creds p { font-size: var(--fs-small); color: var(--muted); }

.about__portrait { max-width: 320px; width: 100%; }
/* Tighter, taller crop of the same headshot so it doesn't read as a duplicate of the hero. */
.portrait--small { border-radius: var(--radius); box-shadow: var(--shadow-sm); aspect-ratio: 4 / 5; }
.portrait--small img { object-position: 58% 18%; transform: scale(1.08); }
.about__caption { margin-top: .85rem; font-size: .8125rem; color: var(--muted); }

/* ---------- 13. FINAL CTA ------------------------------------------------ */
.final {
  background: var(--green-deep);
  color: var(--paper);
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.final__inner { text-align: center; max-width: 46rem; }
.final__title { font-size: var(--fs-h2); max-width: 22ch; margin-inline: auto; font-variation-settings: "opsz" 96; }
.final__sub {
  margin-top: 1.25rem;
  margin-inline: auto;
  max-width: 52ch;
  color: rgba(250, 248, 243, .8);
  font-size: var(--fs-lead);
}
.final .btn { margin-top: 2.25rem; }
.final :focus-visible { outline-color: var(--paper); }

/* ---------- 14. FOOTER --------------------------------------------------- */
.footer { background: var(--paper); border-top: 1px solid var(--paper-edge); padding-block: 3rem 2rem; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}
.footer__name { font-family: var(--display); font-size: 1.125rem; font-weight: 600; }
.footer__tag { font-size: var(--fs-small); color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__links a { color: var(--muted); font-size: var(--fs-small); text-decoration: none; }
.footer__links a:hover { color: var(--green); text-decoration: underline; }
.footer__fine { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--paper-edge); }
.footer__fine p { font-size: .8125rem; color: var(--muted); }

/* ---------- 15. MOTION --------------------------------------------------- */
/* Scroll-reveal: only applied when JS is on, so no-JS visitors see everything. */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .tier:hover, .lever:hover { transform: none; }
}

/* Print: keep it readable, drop the chrome. */
@media print {
  .nav, .skip-link, .btn { display: none; }
  body { background: #fff; }
}
