/* ==========================================================================
   Blue Sage Tax & Accounting — site.css
   One stylesheet. No framework. No preprocessor.
   Token order: color, type, space, motion.
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */

:root {
  /* Colour. Six values doing real work, plus two derived tints. */
  --ink:          #141B33;   /* body text — a true indigo, not grey-black   */
  --salvia:       #2C3C96;   /* primary — deep salvia blue                  */
  --salvia-deep:  #1B2450;   /* dark sections                               */
  --salvia-tint:  #9AA6EE;   /* links on dark ground                        */
  --brass:        #8F6410;   /* the one warm signal — text & state, 4.8:1   */
  --brass-mark:   #BE8A24;   /* same hue, brighter — decorative marks only  */
  --paper:        #F4F5F3;   /* page ground — cool, faint green             */
  --sheet:        #FFFFFF;   /* raised surfaces                             */
  --rule:         #D7DBD6;   /* hairlines                                   */
  --muted:        #454B5C;   /* secondary text — darkened for legibility    */

  /* Type */
  --face: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.90rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.10rem);
  --step-1:  clamp(1.25rem, 1.16rem + 0.44vw, 1.50rem);
  --step-2:  clamp(1.56rem, 1.38rem + 0.90vw, 2.12rem);
  --step-3:  clamp(1.95rem, 1.61rem + 1.70vw, 3.00rem);
  --step-4:  clamp(2.44rem, 1.79rem + 3.24vw, 4.25rem);

  /* Space — 8pt grid */
  --s1: 8px;   --s2: 16px;  --s3: 24px;  --s4: 32px;
  --s5: 48px;  --s6: 64px;  --s7: 96px;  --s8: 128px;

  /* Geometry — sharp. Radii stay small and mean something. */
  --r-control: 3px;
  --r-surface: 4px;

  /* Motion */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --shell: 1240px;
  --rail: 172px;
}

/* --- 2. Reset ------------------------------------------------------------ */

*, *::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;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--face);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.6;
  font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

/* --- 3. Typography ------------------------------------------------------- */

h1, h2, h3, .display {
  color: var(--salvia);
  font-stretch: 118%;            /* Archivo width axis — display register */
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-stretch: 108%; line-height: 1.2; letter-spacing: -0.012em; }

h4 {
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

p { text-wrap: pretty; }

.lede {
  font-size: var(--step-1);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.008em;
  max-width: 34ch;
}

.prose { max-width: 68ch; }
.prose p + p { margin-top: var(--s3); }

.small { font-size: var(--step--1); color: var(--muted); line-height: 1.5; }

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

/* --- 4. Focus & skip link ------------------------------------------------ */

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

.skip {
  position: absolute;
  left: var(--s2);
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--sheet);
  padding: 12px 18px;
  border-radius: var(--r-control);
  font-weight: 600;
  text-decoration: none;
  transition: top 180ms var(--ease-out);
}
.skip:focus { top: var(--s2); }

/* --- 5. Shell & rail ----------------------------------------------------- */

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

/* The signature device: a ruled margin column, like the marginal reference
   on a working paper. Carries section markers on the homepage and the
   in-page nav on template pages. Collapses below 1024px. */
.railed { display: block; }

@media (min-width: 1024px) {
  .railed {
    display: grid;
    grid-template-columns: var(--rail) minmax(0, 1fr);
    column-gap: var(--s6);
  }
  .rail { border-right: 1px solid var(--rule); padding-right: var(--s3); }
  .rail-sticky { position: sticky; top: 108px; align-self: start; }
}

.rail-label {
  font-size: var(--step--1);
  font-weight: 600;
  font-stretch: 100%;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.rail-label b { display: block; color: var(--ink); font-weight: 600; }

@media (max-width: 1023px) {
  .rail { margin-bottom: var(--s3); }
  .rail-label { border-left: 2px solid var(--brass); padding-left: var(--s2); }
}

/* --- 6. Section rhythm --------------------------------------------------- */

.band { padding-block: var(--s7); border-top: 1px solid var(--rule); }
.band--tight { padding-block: var(--s6); }
.band--first { border-top: 0; }

.band--dark {
  background: var(--salvia-deep);
  color: #E7EAF6;
  border-top: 0;
}
.band--dark h1, .band--dark h2, .band--dark h3, .band--dark b { color: var(--sheet); }
.band--dark a { color: var(--salvia-tint); }
.band--dark .small { color: #A9B2CE; }

.head { max-width: 46ch; margin-bottom: var(--s5); }
.head p { margin-top: var(--s2); color: var(--muted); font-size: var(--step-1); line-height: 1.45; }
.band--dark .head p { color: #B9C1DC; }

/* --- 7. Header ----------------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.masthead[data-scrolled="true"] {
  border-bottom-color: var(--rule);
  background: color-mix(in srgb, var(--paper) 96%, transparent);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: var(--s4);
  min-height: 72px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  text-decoration: none;
  color: var(--ink);
  font-stretch: 118%;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.wordmark i {
  width: 9px; height: 9px;
  background: var(--brass-mark);
  transform: rotate(45deg);
  display: block;
  align-self: center;
}
.wordmark span { color: var(--salvia); }

.nav { display: flex; gap: var(--s4); margin-left: auto; }
.nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 500;
  padding-block: 4px;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
}
@media (hover: hover) and (pointer: fine) {
  .nav a { transition: color 160ms ease; }
  .nav a::after { transition: transform 160ms var(--ease-out); }
  .nav a:hover::after { transform: scaleX(1); }
}
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.masthead__actions { display: flex; align-items: center; gap: var(--s3); }
.tel {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

/* --- 8. Buttons ---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-control);
  font: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms var(--ease-out),
              background-color 160ms ease,
              border-color 160ms ease,
              color 160ms ease;
}
.btn:active { transform: scale(0.98); }

.btn--primary { background: var(--salvia); color: var(--sheet); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--light { background: var(--sheet); color: var(--salvia-deep); }
.btn--onDark { background: transparent; color: var(--sheet); border-color: rgba(255,255,255,.34); }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: #22307E; }
  .btn--ghost:hover { border-color: var(--ink); }
  .btn--light:hover { background: #EEF0FA; }
  .btn--onDark:hover { border-color: var(--sheet); }
}

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* --- 9. Hero ------------------------------------------------------------- */

.hero { padding-block: clamp(var(--s6), 8vw, 120px) var(--s7); }

.hero__grid {
  display: grid;
  gap: var(--s6);
  align-items: end;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr); gap: var(--s7); }
}

.hero p.lede { margin-top: var(--s3); color: var(--muted); max-width: 46ch; font-size: var(--step-1); }
.hero .btn-row { margin-top: var(--s5); }
.hero__note { margin-top: var(--s3); }

/* Portrait sits in a hairline frame with a brass corner mark —
   the frame reads as a mounted plate, not a rounded card. */
.plate { position: relative; border: 1px solid var(--rule); background: var(--sheet); padding: 10px; }
.plate::after {
  content: "";
  position: absolute; top: -1px; right: -1px;
  width: 26px; height: 26px;
  border-top: 2px solid var(--brass-mark);
  border-right: 2px solid var(--brass-mark);
}
.plate img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #E4E7E3; }
.plate figcaption { margin-top: 10px; font-size: var(--step--1); color: var(--muted); line-height: 1.45; }
.plate figcaption b { color: var(--ink); font-weight: 600; display: block; }

/* --- 10. Facts strip ----------------------------------------------------- */

.facts { display: grid; gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, 1fr); } }

.facts > div { background: var(--paper); padding: var(--s4) var(--s3); }
.facts b { display: block; font-stretch: 112%; font-size: var(--step-1); font-weight: 700; letter-spacing: -0.015em; }
.facts span { display: block; margin-top: 6px; font-size: var(--step--1); color: var(--muted); }

/* --- 11. Service rows ---------------------------------------------------- */
/* Ruled rows, not a card grid. Services are an index; an index has rules. */

.rows { border-top: 1px solid var(--rule); }

.row {
  display: grid;
  gap: var(--s2) var(--s4);
  padding-block: var(--s4);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  position: relative;
}
@media (min-width: 860px) {
  .row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) auto; align-items: baseline; }
}

.row h3 { transition: color 160ms ease; }
.row p { color: var(--muted); font-size: var(--step--1); line-height: 1.55; }

.row__go {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--salvia);
  white-space: nowrap;
}
.row::before {
  content: "";
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--brass-mark);
  transform: scaleX(0);
  transform-origin: left;
}
@media (hover: hover) and (pointer: fine) {
  .row::before { transition: transform 220ms var(--ease-out); }
  .row:hover::before { transform: scaleX(1); }
  .row:hover h3 { color: var(--salvia); }
}

/* --- 12. Industry index -------------------------------------------------- */

.index-list { columns: 2; column-gap: var(--s5); }
@media (min-width: 760px) { .index-list { columns: 3; } }
@media (min-width: 1100px) { .index-list { columns: 4; } }

.index-list li { break-inside: avoid; margin-bottom: 10px; }
.index-list a {
  display: block;
  font-size: var(--step--1);
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
  border-left: 1.5px solid var(--rule);
  padding-left: 12px;
}
@media (hover: hover) and (pointer: fine) {
  .index-list a { transition: border-color 160ms ease, color 160ms ease; }
  .index-list a:hover { border-left-color: var(--brass); color: var(--salvia); }
}

/* --- 13. Steps ----------------------------------------------------------- */
/* Numbered because this genuinely is a sequence. */

.steps { display: grid; gap: var(--s5); counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }

.step { counter-increment: step; padding-top: var(--s3); border-top: 2px solid var(--brass-mark); }
.step::before {
  content: counter(step);
  display: block;
  font-stretch: 118%;
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--brass);
  line-height: 1;
  margin-bottom: var(--s2);
}
.step p { margin-top: 10px; color: var(--muted); font-size: var(--step--1); line-height: 1.6; }

/* --- 14. Pricing --------------------------------------------------------- */

.tiers { display: grid; gap: var(--s3); }
@media (min-width: 880px) { .tiers { grid-template-columns: repeat(3, 1fr); } }

.tier {
  display: flex;
  flex-direction: column;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--r-surface);
  padding: var(--s4);
}
.tier--featured { border-color: var(--salvia); border-width: 1.5px; }

.tier__flag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brass);
  margin-bottom: var(--s2);
}
.tier h3 { margin-bottom: 6px; }
.tier__for { font-size: var(--step--1); color: var(--muted); min-height: 3em; }

.tier__price {
  margin-block: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--rule);
  font-stretch: 112%;
  font-weight: 700;
  font-size: var(--step-2);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.tier__price small { display: block; font-size: var(--step--1); font-weight: 500; font-stretch: 100%; color: var(--muted); letter-spacing: 0; margin-top: 6px; }

/* Unfilled values are visibly unfilled — not fake numbers. */
.tbd {
  font-size: var(--step-1);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--brass);
  border-bottom: 2px dotted var(--brass);
  padding-bottom: 2px;
}

.ticks { margin-block: 0 var(--s4); flex: 1; }
.ticks li {
  position: relative;
  padding-left: 24px;
  font-size: var(--step--1);
  line-height: 1.5;
  margin-bottom: 10px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 8px;
  width: 9px; height: 5px;
  border-left: 1.5px solid var(--salvia);
  border-bottom: 1.5px solid var(--salvia);
  transform: rotate(-45deg);
}

/* --- 15. Quote ----------------------------------------------------------- */

.quote { border-left: 2px solid var(--brass-mark); padding-left: var(--s4); max-width: 58ch; }
.quote p { font-size: var(--step-1); line-height: 1.5; letter-spacing: -0.008em; }
.quote footer { margin-top: var(--s3); font-size: var(--step--1); color: var(--muted); }
.quote footer b { color: var(--ink); font-weight: 600; }

/* --- 16. FAQ ------------------------------------------------------------- */

.faq { border-top: 1px solid var(--rule); max-width: 74ch; }
.faq details { border-bottom: 1px solid var(--rule); }

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s3);
  padding-block: var(--s3);
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: var(--step-0);
  letter-spacing: -0.005em;
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary i {
  flex: none;
  position: relative;
  width: 13px; height: 13px;
  margin-top: 7px;
}
.faq summary i::before,
.faq summary i::after {
  content: "";
  position: absolute; inset: 0; margin: auto;
  background: var(--salvia);
}
.faq summary i::before { width: 13px; height: 1.5px; }
.faq summary i::after  { width: 1.5px; height: 13px; transition: transform 220ms var(--ease-out); }
.faq details[open] summary i::after { transform: scaleY(0); }

.faq__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 220ms var(--ease-out); }
.faq details[open] .faq__body { grid-template-rows: 1fr; }
.faq__body > div { overflow: hidden; }
.faq__body p { padding-bottom: var(--s3); color: var(--muted); max-width: 64ch; }

/* --- 17. In-page nav (template pages) ------------------------------------ */

.pagenav li + li { margin-top: 10px; }
.pagenav a {
  display: block;
  font-size: var(--step--1);
  line-height: 1.35;
  text-decoration: none;
  color: var(--muted);
  border-left: 2px solid transparent;
  margin-left: -2px;
  padding-left: 12px;
}
.pagenav a:hover { color: var(--ink); }
/* Scroll-driven, seen constantly — changes state instantly, no transition. */
.pagenav a[aria-current="true"] { color: var(--ink); font-weight: 600; border-left-color: var(--brass); }

@media (max-width: 1023px) { .pagenav { display: none; } }

/* --- 18. Template page parts --------------------------------------------- */

.crumbs { font-size: var(--step--1); color: var(--muted); margin-bottom: var(--s3); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--salvia); text-decoration: underline; }
.crumbs span { padding-inline: 8px; color: var(--rule); }

.page-hero { padding-block: var(--s6) var(--s5); }
.page-hero h1 { max-width: 20ch; }

/* The direct-answer block. 40–60 words, self-contained, first thing after
   the H1 — this is what answer engines lift. */
.answer {
  margin-top: var(--s4);
  padding: var(--s4);
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--salvia);
  border-radius: var(--r-surface);
  max-width: 64ch;
  font-size: var(--step-0);
  line-height: 1.6;
}

.section { padding-block: var(--s6); border-top: 1px solid var(--rule); }
.section > h2 { font-size: var(--step-2); margin-bottom: var(--s3); }
.section > h2 + p { max-width: 66ch; color: var(--muted); }

.checklist { margin-top: var(--s3); max-width: 66ch; }
.checklist li {
  padding: 14px 0 14px 26px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  font-size: var(--step-0);
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 22px;
  width: 10px; height: 1.5px;
  background: var(--brass);
}

/* Figures table — where the specific numbers live. */
.figures { width: 100%; border-collapse: collapse; margin-top: var(--s3); font-size: var(--step--1); }
.figures caption { text-align: left; color: var(--muted); font-size: var(--step--1); padding-bottom: var(--s2); }
.figures th, .figures td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.figures thead th { font-weight: 600; color: var(--muted); border-bottom-color: var(--ink); }
.figures td:first-child { font-weight: 600; width: 34%; }

.related { display: grid; gap: var(--s2); margin-top: var(--s3); }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a {
  display: block;
  padding: var(--s3);
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--r-surface);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: var(--step--1);
  line-height: 1.4;
}
.related a span { display: block; font-weight: 400; color: var(--muted); margin-top: 6px; }
@media (hover: hover) and (pointer: fine) {
  .related a { transition: border-color 160ms ease; }
  .related a:hover { border-color: var(--salvia); }
}

/* --- 19. CTA band -------------------------------------------------------- */

.cta__grid { display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 860px) { .cta__grid { grid-template-columns: minmax(0, 1.4fr) auto; gap: var(--s6); } }
.cta__grid h2 { max-width: 22ch; }
.cta__grid p { margin-top: var(--s2); color: #B9C1DC; max-width: 52ch; }

/* --- 20. Footer ---------------------------------------------------------- */

.foot { background: var(--ink); color: #C3C9D6; padding-block: var(--s6) var(--s4); }
.foot a { color: #C3C9D6; text-decoration: none; }
.foot a:hover { color: var(--sheet); text-decoration: underline; }
.foot h4 { color: var(--sheet); margin-bottom: var(--s2); font-size: var(--step--1); }

.foot__grid { display: grid; gap: var(--s5); }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.foot__grid li { margin-bottom: 9px; font-size: var(--step--1); }
.foot address { font-style: normal; font-size: var(--step--1); line-height: 1.7; }
.foot .wordmark { color: var(--sheet); }
.foot .wordmark span { color: var(--salvia-tint); }

.foot__base {
  margin-top: var(--s6);
  padding-top: var(--s3);
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  justify-content: space-between;
  font-size: 0.8rem;
  color: #8B93A5;
}

/* --- 21. Mobile nav ------------------------------------------------------ */

.burger { display: none; }

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: var(--s2) var(--s3) var(--s4);
    margin-left: 0;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out), visibility 200ms;
  }
  .nav[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a { padding-block: 14px; border-bottom: 1px solid var(--rule); font-size: var(--step-0); }
  .nav a::after { display: none; }

  .burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    width: 42px; height: 42px;
    padding: 0 10px;
    background: none;
    border: 1px solid var(--rule);
    border-radius: var(--r-control);
    cursor: pointer;
  }
  .burger b { display: block; height: 1.5px; background: var(--ink); transition: transform 200ms var(--ease-out), opacity 160ms ease; }
  .burger[aria-expanded="true"] b:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger[aria-expanded="true"] b:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] b:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .masthead__actions .tel { display: none; }
  .masthead__actions { order: 3; }
}

/* --- 22. The one orchestrated moment ------------------------------------- */
/* Fires once, on load, in the hero only. Nothing else in the page moves
   without the visitor asking it to. */

@keyframes settle {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.enter > * {
  animation: settle 520ms var(--ease-out) both;
}
.enter > *:nth-child(1) { animation-delay: 40ms; }
.enter > *:nth-child(2) { animation-delay: 100ms; }
.enter > *:nth-child(3) { animation-delay: 160ms; }
.enter > *:nth-child(4) { animation-delay: 220ms; }

@media (prefers-reduced-motion: reduce) {
  .enter > * { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- 23. Utilities ------------------------------------------------------- */

.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.stack-2 { margin-top: var(--s2); }
.stack-4 { margin-top: var(--s4); }
.stack-5 { margin-top: var(--s5); }

@media print {
  .masthead, .nav, .burger, .band--dark { display: none; }
  body { background: #fff; }
}

/* --- 24. Additions for the full site ------------------------------------- */

.stack-3 { margin-top: var(--s3); }
.section--first { border-top: 0; }
.band--first { border-top: 0; }

/* Pricing */
.tier__sub { font-size: var(--step--1); color: var(--muted); margin-top: 2px; }
.tier__for { margin-top: var(--s2); }

.rets { display: grid; gap: var(--s2); }
@media (min-width: 700px)  { .rets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rets { grid-template-columns: repeat(4, 1fr); } }

.ret {
  display: flex; flex-direction: column;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--r-surface);
  padding: var(--s3);
}
.ret__price {
  margin: var(--s2) 0 var(--s2);
  font-stretch: 112%; font-weight: 700;
  font-size: var(--step-2); letter-spacing: -.02em; line-height: 1.05;
  color: var(--salvia);
}
.ret__price span {
  display: block; font-size: var(--step--1); font-weight: 500;
  font-stretch: 100%; letter-spacing: 0; color: var(--muted); margin-bottom: 2px;
}
.ret__blurb { font-size: var(--step--1); color: var(--muted); flex: 1; margin-bottom: var(--s3); }

/* Forms */
.form { max-width: 40rem; }
.field { margin-bottom: var(--s3); }
.field-row { display: grid; gap: var(--s3); }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label { display: block; font-size: var(--step--1); font-weight: 600; margin-bottom: 7px; }
.field .opt { font-weight: 400; color: var(--muted); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--r-control);
  transition: border-color 160ms ease;
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--salvia); }

.consent {
  margin-block: var(--s4);
  padding: var(--s3);
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brass);
  border-radius: var(--r-surface);
}
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--step--1); line-height: 1.55; }
.check + .check { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--rule); }
.check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--salvia); }

/* Honeypot — hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Legal pages */
.legal { max-width: 70ch; }
.legal .section:first-child { border-top: 0; padding-top: 0; }
.legal h2 { font-size: var(--step-1); }

/* Footer additions */
.foot__hours { color: #8B93A5; }
.foot__legal a { text-decoration: none; }
.foot__disclaimer {
  margin-top: var(--s3);
  color: #7A8296;
  max-width: 78ch;
  font-size: 0.8rem;
  line-height: 1.6;
}
