/* ==========================================================================
   SMR FINANCIALS LTD — site stylesheet
   Brand: black #000000 · ink teal #14504A · paper #F4F4F4 · silver #CCCCCC
   Type:  Libre Franklin (display/UI) · Georgia (editorial body)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --ink:        #000000;
  --teal:       #14504A;
  --teal-mid:   #1B6A61;
  --teal-lite:  #E7EFED;
  --paper:      #F4F4F4;
  --white:      #FFFFFF;
  --silver:     #CCCCCC;

  /* Derived neutrals */
  --ink-90:     #141414;
  --ink-70:     #333333;
  --grey:       #666666;
  --grey-lite:  #8C8C8C;
  --hair:       #E1E1E1;
  --hair-dark:  #2A2A2A;

  /* Type */
  --sans: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", "Iowan Old Style", serif;

  --t-display: clamp(2.375rem, 4.9vw, 4.25rem);
  --t-h1:      clamp(2rem, 4.2vw, 3.5rem);
  --t-h2:      clamp(1.625rem, 3vw, 2.5rem);
  --t-h3:      clamp(1.25rem, 2vw, 1.6rem);
  --t-h4:      1.0625rem;
  --t-body:    1.0625rem;
  --t-lede:    clamp(1.125rem, 1.6vw, 1.375rem);
  --t-small:   0.875rem;
  --t-micro:   0.6875rem;

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --sec-y:  clamp(4rem, 9vw, 8.5rem);
  --max:    1320px;
  --max-text: 68ch;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur: .5s;

  --header-h: 102px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-90);
  font-family: var(--serif);
  font-size: var(--t-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sans);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.015em; line-height: 1.18; }
h4 { font-size: var(--t-h4); letter-spacing: .02em; line-height: 1.35; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

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

ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
li::marker { color: var(--teal); }

strong, b { font-weight: 700; color: var(--ink); }
small { font-size: var(--t-small); }
hr { border: 0; border-top: 1px solid var(--hair); margin: 0; }

::selection { background: var(--teal); color: #fff; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .9rem 1.4rem;
  font-family: var(--sans); font-size: var(--t-small); font-weight: 600;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 920px; }

.section { padding-block: var(--sec-y); position: relative; }
.section--tight { padding-block: clamp(2.75rem, 5.5vw, 5rem); }
.section--flush-top { padding-top: 0; }

.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: rgba(255,255,255,.78); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink a { color: #fff; }
.section--ink hr { border-top-color: var(--hair-dark); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.75rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--sidebar { grid-template-columns: minmax(0,1fr) 340px; align-items: start; }
.grid--split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--sidebar, .grid--split { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.stack > * + * { margin-top: 1.15em; }
.center { text-align: center; }
.measure { max-width: var(--max-text); }
.measure-tight { max-width: 54ch; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* --------------------------------------------------------------------------
   4. SIGNATURE BRAND ELEMENTS
   -------------------------------------------------------------------------- */

/* Eyebrow: letterspaced micro-label with a teal tick — mirrors the letterhead */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--sans);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 1.5rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  background: var(--teal);
  flex: 0 0 auto;
}
.eyebrow--plain::before { display: none; }
.section--ink .eyebrow { color: rgba(255,255,255,.62); }
.center .eyebrow { justify-content: center; }

/* Section index number, e.g. 01 */
.sec-no {
  font-family: var(--sans);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--silver);
  font-variant-numeric: tabular-nums;
}

/* Lede paragraph */
.lede {
  font-size: var(--t-lede);
  line-height: 1.5;
  color: var(--ink-70);
}
.section--ink .lede { color: rgba(255,255,255,.8); }

/* Section head: title left, supporting text right */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--hair);
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}
.section--ink .sec-head { border-bottom-color: var(--hair-dark); }
.sec-head h2 { margin-bottom: 0; }
.sec-head > div:last-child { padding-bottom: .35rem; }
@media (max-width: 860px) {
  .sec-head { grid-template-columns: 1fr; align-items: start; }
}

/* Teal underline that draws in on hover */
.link-draw {
  font-family: var(--sans);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding-bottom: .3rem;
  position: relative;
}
.link-draw::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.link-draw:hover::after, .link-draw:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.link-draw .arw { transition: transform .35s var(--ease-out); }
.link-draw:hover .arw { transform: translateX(4px); }
.section--ink .link-draw { color: #fff; }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 1.85rem;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
  line-height: 1;
  border-radius: 0;
}
/* teal wipe */
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--teal);
  transform: translateY(101%);
  transition: transform .42s var(--ease-out);
  z-index: -1;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: #fff; border-color: var(--teal); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }
.btn--teal { --btn-bg: var(--teal); --btn-fg: #fff; --btn-bd: var(--teal); }
.btn--teal::before { background: var(--ink); }
.btn--teal:hover { border-color: var(--ink); }
.btn--sm { padding: .78rem 1.25rem; font-size: var(--t-micro); }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row--center { justify-content: center; }

/* --------------------------------------------------------------------------
   6. HEADER / NAV
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hair);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 1px 24px rgba(0,0,0,.07); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
/* The lockup carries the brand's specified clear space inside the artwork —
   roughly a quarter of the tile width top and bottom — so the rendered height
   must exceed the visual size of the mark. 76px puts the tile at ~52px. */
.brand img { height: 76px; width: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, 1.6vw, 1.6rem);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-list > li { margin: 0; position: relative; }

.nav-link {
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: .55rem .1rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  position: relative;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s var(--ease-out);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.has-drop:hover > .nav-link::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--teal); }

.nav-actions { display: flex; align-items: center; gap: .75rem; flex: 0 0 auto; }

/* Dropdown */
.drop {
  position: absolute;
  top: 100%;
  left: -1.25rem;
  min-width: 306px;
  background: #fff;
  border: 1px solid var(--hair);
  box-shadow: 0 20px 50px rgba(0,0,0,.1);
  padding: .5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.has-drop:hover .drop,
.has-drop:focus-within .drop {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.drop li { margin: 0; }
.drop a {
  display: block;
  padding: .7rem .9rem;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background .2s, border-color .2s, padding-left .2s;
}
.drop a span {
  display: block;
  font-size: .75rem;
  font-weight: 400;
  color: var(--grey);
  margin-top: .12rem;
  font-family: var(--serif);
  letter-spacing: 0;
  text-transform: none;
}
.drop a:hover { background: var(--paper); border-left-color: var(--teal); padding-left: 1.05rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--hair);
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block; width: 20px; height: 1.5px; background: var(--ink);
  position: relative; transition: background .2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1260px) {
  /* An ancestor with backdrop-filter becomes the containing block for its
     position:fixed descendants. That collapsed the menu panel to the height of
     the header, so it painted no background and could not scroll. Drop the
     blur below the desktop breakpoint — the panel is opaque here anyway. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
  }

  .nav-toggle { display: grid; }
  .nav-actions .btn { display: none; }

  .nav-list {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 90;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.25rem var(--gutter) 4rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform .42s var(--ease-out);
    border-top: 1px solid var(--hair);
  }
  .nav-list.is-open { transform: translateX(0); }
  .nav-list > li { border-bottom: 1px solid var(--hair); }
  .nav-link { padding: 1.15rem 0; font-size: 1rem; width: 100%; justify-content: space-between; }
  .nav-link::after { display: none; }
  .drop {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 .9rem .9rem;
    display: none; min-width: 0;
  }
  .has-drop.is-open .drop { display: block; }
  .nav-mobile-cta { display: block !important; margin-top: 1.75rem; }
  .nav-mobile-cta .btn { display: flex; width: 100%; }
}
.nav-mobile-cta { display: none; border-bottom: 0 !important; }

/* Scale the header back on small screens so the logo does not dominate. */
@media (max-width: 640px) {
  :root { --header-h: 84px; }
  .brand img { height: 56px; }
}

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 7.5rem) clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
  background: var(--white);
}
/* faint ledger grid */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--hair) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hair) 1px, transparent 1px);
  background-size: clamp(60px, 8vw, 110px) clamp(60px, 8vw, 110px);
  opacity: .5;
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 10%, transparent 72%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-title {
  font-size: var(--t-display);
  line-height: 1.02;
  letter-spacing: -0.032em;
  margin-bottom: 1.5rem;
  max-width: 15ch;
}
.hero-title .accent { color: var(--teal); }
.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-lede { font-size: var(--t-lede); line-height: 1.5; color: var(--ink-70); max-width: 46ch; margin-bottom: 2.25rem; }

/* Trust strip */
.trust {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--hair);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey);
}
.trust-item svg { flex: 0 0 auto; color: var(--teal); }

/* Hero figure card — "ledger" panel */
.ledger {
  background: var(--ink);
  color: #fff;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
}
.ledger::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 5px; background: var(--teal);
}
.ledger-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--hair-dark);
  margin-bottom: .25rem;
}
.ledger-head h3 { font-size: .9375rem; letter-spacing: .12em; text-transform: uppercase; margin: 0; color: #fff; }
.ledger-head span {
  font-family: var(--sans); font-size: var(--t-micro); letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}
.ledger-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--hair-dark);
}
.ledger-row:last-of-type { border-bottom: 0; }
.ledger-row dt {
  font-family: var(--sans); font-size: .8125rem; font-weight: 500;
  color: rgba(255,255,255,.62); margin: 0;
}
.ledger-row dd {
  font-family: var(--sans); font-size: 1.5rem; font-weight: 700;
  color: #fff; margin: 0; font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.ledger-row dd .unit { font-size: .8125rem; font-weight: 500; color: rgba(255,255,255,.5); letter-spacing: .04em; }
.ledger-foot {
  margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--hair-dark);
  font-family: var(--serif); font-size: .8125rem; line-height: 1.5; color: rgba(255,255,255,.5);
}

/* --------------------------------------------------------------------------
   8. CARDS & TILES
   -------------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--hair);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card::before {
  content: "";
  position: absolute; top: -1px; left: -1px; right: -1px;
  height: 3px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.card:hover { border-color: var(--silver); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.06); }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--ink-70); font-size: .9688rem; }
.card .link-draw { margin-top: auto; padding-top: 1.5rem; align-self: flex-start; }

.card-num {
  font-family: var(--sans); font-size: var(--t-micro); font-weight: 700;
  letter-spacing: .2em; color: var(--silver); display: block; margin-bottom: 1.5rem;
  font-variant-numeric: tabular-nums;
}

.card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--teal-lite);
  color: var(--teal);
  margin-bottom: 1.35rem;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.card:hover .card-icon { background: var(--teal); color: #fff; }

/* Service list — hairline grid, no gaps */
.hairgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
}
.hairgrid > * {
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  margin: 0;
}
@media (max-width: 980px) { .hairgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .hairgrid { grid-template-columns: 1fr; } }

.hg-cell {
  padding: clamp(1.75rem, 3vw, 2.6rem);
  background: #fff;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 260px;
  transition: background .4s var(--ease);
}
.hg-cell::after {
  content: "";
  position: absolute; left: 0; bottom: 0; width: 100%; height: 3px;
  background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.hg-cell:hover { background: var(--paper); }
.hg-cell:hover::after { transform: scaleX(1); }
.hg-cell h3 { font-size: 1.25rem; margin-bottom: .55rem; }
.hg-cell p { font-size: .9375rem; color: var(--ink-70); margin-bottom: 1.25rem; }
.hg-cell .hg-more {
  margin-top: auto;
  font-family: var(--sans); font-size: var(--t-micro); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
  display: inline-flex; align-items: center; gap: .45rem;
}
.hg-cell:hover .hg-more .arw { transform: translateX(4px); }
.hg-more .arw { transition: transform .3s var(--ease-out); }

/* --------------------------------------------------------------------------
   9. STEPS / PROCESS
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  border-top: 1px solid var(--hair);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--hair); }
.section--ink .step { border-color: var(--hair-dark); }
.step-no {
  font-family: var(--sans); font-weight: 700; font-size: 2.5rem; line-height: 1;
  color: var(--paper);
  letter-spacing: -.04em;
  -webkit-text-stroke: 1px var(--silver);
  font-variant-numeric: tabular-nums;
}
.section--ink .step-no { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.3); }
.step h3 { margin-bottom: 0; }
.step p { margin: 0; color: var(--ink-70); }
.section--ink .step p { color: rgba(255,255,255,.68); }
@media (max-width: 860px) {
  .step { grid-template-columns: 56px minmax(0,1fr); }
  .step-no { font-size: 1.6rem; padding-top: .2rem; }
  .step > p { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   10. FIGURES BAND
   -------------------------------------------------------------------------- */
.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hair-dark);
  border-bottom: 1px solid var(--hair-dark);
}
.figures > div {
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.75rem);
  border-right: 1px solid var(--hair-dark);
}
.figures > div:last-child { border-right: 0; }
.fig-num {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1; letter-spacing: -.04em; color: #fff;
  font-variant-numeric: tabular-nums;
  display: block; margin-bottom: .7rem;
}
.fig-num .sup { font-size: .45em; vertical-align: super; color: var(--teal); margin-left: .1em; }
.fig-lab {
  font-family: var(--sans); font-size: var(--t-micro); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55);
}
@media (max-width: 860px) {
  .figures { grid-template-columns: repeat(2, 1fr); }
  .figures > div:nth-child(2n) { border-right: 0; }
  .figures > div:nth-child(-n+2) { border-bottom: 1px solid var(--hair-dark); }
}

/* --------------------------------------------------------------------------
   11. PRICING
   -------------------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--hair); background: #fff; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; } }

.plan {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-right: 1px solid var(--hair);
  display: flex; flex-direction: column;
  position: relative;
  transition: background .35s var(--ease);
}
.plan:last-child { border-right: 0; }
@media (max-width: 980px) {
  .plan { border-right: 0; border-bottom: 1px solid var(--hair); }
  .plan:last-child { border-bottom: 0; }
}
.plan--featured { background: var(--ink); color: rgba(255,255,255,.8); }
.plan--featured h3, .plan--featured .plan-price { color: #fff; }
.plan--featured .plan-feat li { color: rgba(255,255,255,.8); }
.plan--featured .plan-feat li::before { color: var(--teal); }
.plan--featured .plan-meta { color: rgba(255,255,255,.5); border-color: var(--hair-dark); }

.plan-flag {
  position: absolute; top: 0; right: 0;
  background: var(--teal); color: #fff;
  font-family: var(--sans); font-size: var(--t-micro); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: .5rem .85rem;
}
.plan h3 { font-size: 1.125rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .35rem; }
.plan-for { font-family: var(--serif); font-size: .9375rem; color: var(--grey); margin-bottom: 1.75rem; }
.plan--featured .plan-for { color: rgba(255,255,255,.6); }
.plan-price {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(2.5rem, 4vw, 3.25rem); line-height: 1;
  letter-spacing: -.04em; color: var(--ink);
  font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: .3rem;
}
.plan-price .from {
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--grey); align-self: flex-start; padding-top: .5rem;
}
.plan-price .per { font-size: .9375rem; font-weight: 500; color: var(--grey); letter-spacing: 0; }
.plan--featured .plan-price .per, .plan--featured .plan-price .from { color: rgba(255,255,255,.55); }
.plan-meta {
  font-family: var(--sans); font-size: var(--t-micro); letter-spacing: .1em;
  text-transform: uppercase; color: var(--grey);
  padding: 1rem 0 1.5rem; margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--hair);
}
.plan-feat { list-style: none; padding: 0; margin: 0 0 2rem; }
.plan-feat li {
  position: relative; padding-left: 1.65rem; margin-bottom: .7rem;
  font-size: .9375rem; color: var(--ink-70);
}
.plan-feat li::before {
  content: "";
  position: absolute; left: 0; top: .62em;
  width: 9px; height: 9px;
  background: var(--teal);
}
.plan-feat li.is-off { color: var(--grey-lite); }
.plan-feat li.is-off::before { background: var(--silver); }
.plan .btn { margin-top: auto; }

/* Justification line at the foot of each plan */
.plan-roi {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hair);
  font-family: var(--serif);
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--grey);
}
.plan-roi strong { color: var(--ink); font-family: var(--sans); font-size: .75rem; letter-spacing: .06em; }
.plan--featured .plan-roi { border-top-color: var(--hair-dark); color: rgba(255,255,255,.6); }
.plan--featured .plan-roi strong { color: #fff; }

/* Four-tier variant: the fourth tier acts as a price anchor */
.plans--4 { grid-template-columns: repeat(4, 1fr); }
.plans--4 .plan {
  padding: clamp(1.5rem, 2.1vw, 2rem);
  border-right: 1px solid var(--hair);
  border-bottom: 0;
}
.plans--4 .plan:nth-child(4n) { border-right: 0; }
.plans--4 .plan-price { font-size: clamp(1.875rem, 2.8vw, 2.5rem); }
.plans--4 .plan-feat { flex: 1 1 auto; margin-bottom: 1.25rem; }
.plans--4 .plan-feat li { font-size: .875rem; margin-bottom: .55rem; }
.plans--4 .plan .btn { margin-top: 0; }

@media (max-width: 1180px) {
  .plans--4 { grid-template-columns: repeat(2, 1fr); }
  .plans--4 .plan { border-right: 1px solid var(--hair); border-bottom: 0; }
  .plans--4 .plan:nth-child(2n) { border-right: 0; }
  .plans--4 .plan:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
}
@media (max-width: 820px) {
  .plans--4 { grid-template-columns: 1fr; }
  .plans--4 .plan { border-right: 0; border-bottom: 1px solid var(--hair); }
  .plans--4 .plan:last-child { border-bottom: 0; }
}

/* Prepay / offer band */
.offer-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--teal);
  color: #fff;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.35rem, 3vw, 2.25rem);
}
.offer-band p { margin: 0; }
.offer-band .offer-lab {
  font-family: var(--sans); font-size: var(--t-micro); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.72);
  margin-bottom: .4rem;
}
.offer-band .offer-main {
  font-family: var(--sans); font-size: clamp(1.0625rem, 1.8vw, 1.375rem);
  font-weight: 700; letter-spacing: -.015em; color: #fff;
}
.offer-band .offer-sub { font-size: .875rem; color: rgba(255,255,255,.8); max-width: 46ch; margin-top: .35rem; }

/* Add-ons table */
.tbl { width: 100%; border-collapse: collapse; font-family: var(--sans); }
.tbl th, .tbl td { text-align: left; padding: 1.05rem 1rem; border-bottom: 1px solid var(--hair); font-size: .9375rem; }
.tbl th {
  font-size: var(--t-micro); font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--grey); border-bottom-color: var(--ink);
}
.tbl td:last-child, .tbl th:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tbody tr:hover { background: var(--paper); }
.tbl td strong { display: block; }
.tbl td span { font-family: var(--serif); font-size: .875rem; color: var(--grey); }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --------------------------------------------------------------------------
   12. ACCORDION (FAQ)
   -------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--hair); }
.acc details { border-bottom: 1px solid var(--hair); }
.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 3rem 1.5rem 0;
  position: relative;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  letter-spacing: -.01em;
  transition: color .25s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--teal); }
.acc summary::after {
  content: "";
  position: absolute; right: .5rem; top: 50%;
  width: 13px; height: 1.5px; background: var(--ink);
  transform: translateY(-50%);
  transition: background .25s;
}
.acc summary::before {
  content: "";
  position: absolute; right: 1.06rem; top: 50%;
  width: 1.5px; height: 13px; background: var(--ink);
  transform: translateY(-50%) scaleY(1);
  transition: transform .3s var(--ease), background .25s;
}
.acc details[open] summary::before { transform: translateY(-50%) scaleY(0); }
.acc details[open] summary { color: var(--teal); }
.acc details[open] summary::after, .acc details[open] summary::before { background: var(--teal); }
.acc-body { padding: 0 3rem 1.75rem 0; color: var(--ink-70); }
.acc-body > *:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   13. QUOTE / TESTIMONIAL
   -------------------------------------------------------------------------- */
.quote-block {
  border-left: 3px solid var(--teal);
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
}
.quote-block blockquote {
  margin: 0 0 1.35rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.42;
  font-style: italic;
  color: var(--ink);
}
.section--ink .quote-block blockquote { color: #fff; }
.quote-cite {
  font-family: var(--sans); font-size: var(--t-micro); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--grey); font-style: normal;
}
.section--ink .quote-cite { color: rgba(255,255,255,.55); }

/* Editor placeholder marker — visible so nothing fake goes live by accident */
.needs-content {
  border: 1px dashed #C08A00;
  background: #FFF8E6;
  padding: 1.15rem 1.35rem;
  font-family: var(--sans);
  font-size: .8125rem;
  line-height: 1.55;
  color: #6B4B00;
}
.needs-content strong { color: #6B4B00; letter-spacing: .08em; text-transform: uppercase; font-size: var(--t-micro); display: block; margin-bottom: .3rem; }

/* --------------------------------------------------------------------------
   14. FORMS
   -------------------------------------------------------------------------- */
.field { margin-bottom: 1.35rem; }
.field label, .lbl {
  display: block;
  font-family: var(--sans);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .55rem;
}
.field .hint {
  font-family: var(--serif); font-size: .8125rem; color: var(--grey);
  text-transform: none; letter-spacing: 0; font-weight: 400; margin-top: .3rem;
}
.input, .select, .textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--silver);
  border-radius: 0;
  padding: .95rem 1rem;
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none;
  appearance: none;
}
.textarea { min-height: 150px; resize: vertical; font-family: var(--serif); line-height: 1.6; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='1.6' fill='none' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20,80,74,.13);
}
.input::placeholder, .textarea::placeholder { color: var(--grey-lite); }

.input-money { position: relative; }
.input-money::before {
  content: "£";
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 600; color: var(--grey); pointer-events: none;
}
.input-money .input { padding-left: 2.1rem; font-variant-numeric: tabular-nums; }

.input-pct { position: relative; }
.input-pct::after {
  content: "%";
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 600; color: var(--grey); pointer-events: none;
}
.input-pct .input { padding-right: 2.4rem; font-variant-numeric: tabular-nums; }

/* Choice chips (radio / checkbox as tiles) */
.choices { display: grid; gap: .65rem; }
.choices--2 { grid-template-columns: repeat(2, 1fr); }
.choices--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 620px) { .choices--2, .choices--3 { grid-template-columns: 1fr; } }

.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice span {
  display: block;
  border: 1px solid var(--silver);
  padding: 1rem 1.15rem;
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .25s, background .25s, box-shadow .25s;
  min-height: 100%;
}
.choice span em {
  display: block; font-style: normal; font-family: var(--serif);
  font-size: .8125rem; color: var(--grey); margin-top: .25rem; line-height: 1.45;
}
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span {
  border-color: var(--teal);
  background: var(--teal-lite);
  box-shadow: inset 0 0 0 1px var(--teal);
}
.choice input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }

.form-note {
  font-size: .8125rem; color: var(--grey); font-family: var(--sans);
  line-height: 1.55;
}
.check-inline { display: flex; gap: .7rem; align-items: flex-start; font-size: .875rem; color: var(--ink-70); }
.check-inline input { margin-top: .28rem; accent-color: var(--teal); width: 17px; height: 17px; flex: 0 0 auto; }

/* Multi-step */
.stepper {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 2.5rem; flex-wrap: wrap;
}
.stepper-item {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-size: var(--t-micro); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--grey-lite);
}
.stepper-item b {
  width: 26px; height: 26px; display: grid; place-items: center;
  border: 1px solid var(--silver); color: var(--grey-lite);
  font-size: .6875rem; transition: all .3s var(--ease);
}
.stepper-item.is-active { color: var(--ink); }
.stepper-item.is-active b { border-color: var(--teal); background: var(--teal); color: #fff; }
.stepper-item.is-done b { border-color: var(--teal); color: var(--teal); }
.stepper-sep { width: 22px; height: 1px; background: var(--silver); }
@media (max-width: 720px) { .stepper-item span { display: none; } }

.fs-panel { display: none; }
.fs-panel.is-active { display: block; animation: fadeUp .45s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.form-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--hair); }

/* --------------------------------------------------------------------------
   15. CALCULATORS
   -------------------------------------------------------------------------- */
.calc-tabs {
  display: flex; gap: 0; flex-wrap: wrap;
  border-bottom: 1px solid var(--hair);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.calc-tab {
  font-family: var(--sans); font-size: .8125rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 1.05rem 1.4rem;
  background: none; border: 0; border-bottom: 2px solid transparent;
  color: var(--grey); cursor: pointer; margin-bottom: -1px;
  transition: color .25s, border-color .25s;
  white-space: nowrap;
}
.calc-tab:hover { color: var(--ink); }
.calc-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--teal); }
@media (max-width: 620px) { .calc-tab { padding: .9rem .85rem; font-size: var(--t-micro); } }

.calc-panel[hidden] { display: none; }
.calc-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .calc-layout { grid-template-columns: 1fr; } }

.calc-out {
  background: var(--ink);
  color: #fff;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: sticky; top: calc(var(--header-h) + 24px);
}
@media (max-width: 900px) { .calc-out { position: static; } }
.calc-out::after { content: ""; display: block; height: 4px; background: var(--teal); margin: 1.75rem -2.25rem -2.25rem; }

.calc-headline {
  padding-bottom: 1.5rem; margin-bottom: .5rem;
  border-bottom: 1px solid var(--hair-dark);
}
.calc-headline .lbl { color: rgba(255,255,255,.55); margin-bottom: .5rem; }
.calc-big {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1;
  letter-spacing: -.04em; color: #fff;
  font-variant-numeric: tabular-nums;
}
.calc-sub { font-family: var(--sans); font-size: .8125rem; color: rgba(255,255,255,.5); margin-top: .6rem; }

.calc-lines { margin: 0; }
.calc-line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .85rem 0; border-bottom: 1px solid var(--hair-dark);
  font-family: var(--sans); font-size: .9375rem;
}
.calc-line:last-child { border-bottom: 0; }
.calc-line dt { color: rgba(255,255,255,.62); margin: 0; }
.calc-line dd { margin: 0; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.calc-line.is-total { border-top: 1px solid var(--hair-dark); margin-top: .5rem; padding-top: 1.1rem; }
.calc-line.is-total dt { color: #fff; font-weight: 600; }
.calc-line.is-total dd { color: var(--white); font-size: 1.125rem; }
.calc-line.is-deduct dd { color: #FF9C8A; }
.calc-line.is-sub { padding-left: 1rem; font-size: .875rem; }
.calc-line.is-sub dt { color: rgba(255,255,255,.45); }
.calc-line.is-sub dd { color: rgba(255,255,255,.7); font-weight: 500; }

/* Split bar visualising the breakdown */
.calc-bar { display: flex; height: 8px; margin: 1.5rem 0 1rem; background: var(--hair-dark); overflow: hidden; }
.calc-bar span { display: block; height: 100%; transition: width .5s var(--ease-out); }
.calc-bar .b-keep { background: var(--teal); }
.calc-bar .b-tax  { background: #7A7A7A; }
.calc-bar .b-ni   { background: #4A4A4A; }
.calc-bar .b-other{ background: #2E2E2E; }
.calc-key { display: flex; flex-wrap: wrap; gap: 1rem; font-family: var(--sans); font-size: var(--t-micro); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.calc-key i { display: inline-block; width: 9px; height: 9px; margin-right: .4rem; vertical-align: baseline; }

.disclaimer {
  margin-top: 1.5rem;
  font-family: var(--sans);
  font-size: .75rem;
  line-height: 1.6;
  color: var(--grey);
  padding: 1rem 1.15rem;
  background: var(--paper);
  border-left: 2px solid var(--silver);
}
.section--ink .disclaimer { background: #0D0D0D; color: rgba(255,255,255,.5); border-left-color: var(--hair-dark); }

/* --------------------------------------------------------------------------
   16. ARTICLES / INSIGHTS
   -------------------------------------------------------------------------- */
.post-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  border-top: 2px solid var(--ink);
  padding-top: 1.35rem;
  transition: border-color .35s var(--ease);
}
.post-card:hover { border-top-color: var(--teal); }
.post-meta {
  font-family: var(--sans); font-size: var(--t-micro); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--grey);
  display: flex; gap: .75rem; align-items: center; margin-bottom: 1rem;
}
.post-meta .dot { width: 3px; height: 3px; background: var(--silver); border-radius: 50%; }
.post-card h3 { font-size: 1.3125rem; margin-bottom: .6rem; transition: color .3s; }
.post-card:hover h3 { color: var(--teal); }
.post-card p { font-size: .9375rem; color: var(--ink-70); margin-bottom: 1.25rem; }
.post-card .link-draw { margin-top: auto; align-self: flex-start; }

.article { max-width: var(--max-text); }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.75rem; }
.article h3 { font-size: 1.25rem; margin-top: 2rem; }
.article > p:first-of-type { font-size: var(--t-lede); line-height: 1.55; color: var(--ink-70); }
.article ul, .article ol { margin-bottom: 1.5em; }
.article table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-family: var(--sans); font-size: .9375rem; }
.article th, .article td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--hair); }
.article th { font-size: var(--t-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); border-bottom-color: var(--ink); }
.article td:last-child, .article th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.article .callout {
  background: var(--paper); border-left: 3px solid var(--teal);
  padding: 1.35rem 1.6rem; margin: 2rem 0; font-size: .9688rem;
}
.article .callout p:last-child { margin-bottom: 0; }
.article .callout strong { font-family: var(--sans); font-size: var(--t-micro); letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: .45rem; color: var(--teal); }

.toc {
  border: 1px solid var(--hair);
  padding: 1.5rem;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.toc h4 { font-size: var(--t-micro); letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin-bottom: 1rem; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { margin-bottom: .6rem; counter-increment: toc; }
.toc a { font-family: var(--sans); font-size: .875rem; color: var(--ink); text-decoration: none; display: block; }
.toc a::before { content: counter(toc, decimal-leading-zero) " "; color: var(--silver); font-weight: 600; font-size: .75rem; }
.toc a:hover { color: var(--teal); }
@media (max-width: 980px) { .toc { position: static; } }

/* --------------------------------------------------------------------------
   17. PAGE HEADER (interior pages)
   -------------------------------------------------------------------------- */
.page-head {
  padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--hair);
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute; right: -6%; top: -40%;
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  background: var(--paper);
  transform: rotate(12deg);
  pointer-events: none;
}
.page-head > * { position: relative; }
.page-head--ink { background: var(--ink); border-bottom: 0; }
.page-head--ink::before { background: #101010; }
.page-head--ink h1 { color: #fff; }
.page-head--ink .lede { color: rgba(255,255,255,.75); }
.page-head--ink .crumbs, .page-head--ink .crumbs a { color: rgba(255,255,255,.55); }

.crumbs {
  font-family: var(--sans); font-size: var(--t-micro); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--grey);
  margin-bottom: 1.75rem; display: flex; flex-wrap: wrap; gap: .55rem; align-items: center;
}
.crumbs a { color: var(--grey); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }
.crumbs .sep { color: var(--silver); }

/* --------------------------------------------------------------------------
   18. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding-block: clamp(3.25rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--teal);
}
.cta-band::after {
  content: "";
  position: absolute; right: -10%; bottom: -60%;
  width: 50vw; height: 50vw; max-width: 560px; max-height: 560px;
  border: 1px solid rgba(255,255,255,.07);
  transform: rotate(18deg);
  pointer-events: none;
}
.cta-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }
.cta-band h2 { font-size: clamp(1.75rem, 3.6vw, 2.9rem); margin-bottom: .75rem; }

/* --------------------------------------------------------------------------
   19. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: #0A0A0A; color: rgba(255,255,255,.6); padding-block: clamp(3rem, 6vw, 5rem) 2rem; font-size: .9375rem; }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--hair-dark);
}
@media (max-width: 980px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-brand img { height: 78px; margin-bottom: 1.5rem; }
.foot-brand p { font-size: .9375rem; line-height: 1.65; color: rgba(255,255,255,.55); max-width: 34ch; }

.foot-col h4 {
  font-size: var(--t-micro); letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 1.35rem; font-weight: 600;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: .7rem; }
.foot-col a {
  font-family: var(--sans); font-size: .875rem; color: rgba(255,255,255,.72);
  text-decoration: none; transition: color .25s;
}
.foot-col a:hover { color: #fff; }
.foot-col address { font-style: normal; font-family: var(--sans); font-size: .875rem; line-height: 1.75; color: rgba(255,255,255,.72); }

.foot-legal {
  padding-top: 2rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: center; justify-content: space-between;
  font-family: var(--sans); font-size: .75rem; line-height: 1.7;
  color: rgba(255,255,255,.42);
}
.foot-legal a { color: rgba(255,255,255,.55); text-decoration: none; }
.foot-legal a:hover { color: #fff; }
.foot-legal-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

.social { display: flex; gap: .6rem; margin-top: 1.75rem; }
.social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--hair-dark); color: rgba(255,255,255,.7);
  transition: background .25s, border-color .25s, color .25s;
}
.social a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* --------------------------------------------------------------------------
   20. UTILITIES / MOTION
   -------------------------------------------------------------------------- */
/* Scroll reveals only hide content when JavaScript is confirmed running —
   the `js` class is set by an inline script in <head>. Without it, everything
   is simply visible, so a blocked or failed script never hides the page. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }

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

/* Print */
@media print {
  .site-header, .site-footer, .cta-band, .btn, .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; }
  a { text-decoration: underline; color: #000; }
}
