/* ============================================================
   MAYNARD CPA V2 — "Modern Legal" design system
   Ink #0b1724 / Navy #162e48 / Slate #597389 / Ivory #f7f5e8
   Cormorant Garamond (display) + Hanken Grotesk (text/UI)
   ============================================================ */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-italic-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/HankenGrotesk-var.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b1724;
  --navy: #162e48;
  --slate: #597389;
  --slate-soft: #7e90a4;
  --mist: #adbed1;
  --ivory: #f7f5e8;
  --ivory-warm: #faf8f0;
  --paper: #fdfcf7;
  --gold: #eab308;
  --red: #e4392f;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Hanken Grotesk', 'Segoe UI', Arial, sans-serif;

  --rule: rgba(22, 46, 72, 0.14);
  --rule-strong: rgba(22, 46, 72, 0.32);
  --rule-light: rgba(247, 245, 232, 0.16);
  --rule-light-strong: rgba(247, 245, 232, 0.4);

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --sec: clamp(3.4rem, 6.5vw, 5.5rem);
  --sec-sm: clamp(2.4rem, 4.5vw, 3.5rem);
  --wide: 1360px;
  --mid: 1160px;
  --text: 760px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1.04rem;
  font-weight: 400;
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--navy); color: var(--ivory); }

/* ---------- type ---------- */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 550;
  line-height: 1.06;
  letter-spacing: -0.005em;
  color: var(--navy);
}
em { font-style: italic; }
.display { font-size: clamp(3rem, 7.6vw, 6.4rem); }
.h-xl { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.h-lg { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.12; }
.h-md { font-size: clamp(1.45rem, 2.3vw, 1.9rem); line-height: 1.2; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.6; color: #41556b; font-weight: 380; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate);
}
.kicker::before { content: ''; width: 2rem; height: 1px; background: currentColor; opacity: 0.6; }
.kicker--bare::before { display: none; }
/* hero kickers are centered and get a trailing rule, so restore the leading
   rule too, otherwise the line only appears on one side */
.hero .kicker--bare::before { display: block; }
.on-ink .kicker { color: var(--mist); }

/* ---------- layout ---------- */
.wrap { max-width: var(--mid); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: var(--wide); }
.wrap--text { max-width: var(--text); }
.sec { padding-block: var(--sec); }
.sec--sm { padding-block: var(--sec-sm); }
.sec-head { max-width: 52rem; margin-bottom: clamp(1.8rem, 3.4vw, 2.8rem); }
.sec-head .kicker { margin-bottom: 0.9rem; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .kicker::after { content: ''; width: 2rem; height: 1px; background: currentColor; opacity: 0.6; }

.on-ink, .on-ink h1, .on-ink h2, .on-ink h3 { color: var(--ivory); }
.on-ink p, .on-ink .lede { color: #c3d0dd; }
.chapter-ink { background: linear-gradient(178deg, var(--ink) 0%, #10233a 100%); }
.chapter-ivory { background: var(--ivory); }

.hairline-top { border-top: 1px solid var(--rule); }
.on-ink .hairline-top { border-top-color: var(--rule-light); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.7rem;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1;
  border-radius: 2px;
  transition: transform 0.28s var(--ease), background-color 0.24s, color 0.24s, border-color 0.24s, box-shadow 0.28s;
}
.btn svg { width: 0.9em; height: 0.9em; transition: transform 0.28s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ink { background: var(--navy); color: var(--ivory); }
.btn--ink:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11, 23, 36, 0.24); }
.btn--ivory { background: var(--ivory); color: var(--navy); }
.btn--ivory:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); }
.btn--ghost { border: 1px solid var(--rule-strong); color: var(--navy); background: transparent; }
.btn--ghost:hover { border-color: var(--navy); background: rgba(22, 46, 72, 0.05); transform: translateY(-2px); }
.on-ink .btn--ghost, .btn--ghost-light { border: 1px solid var(--rule-light-strong); color: var(--ivory); background: transparent; }
.on-ink .btn--ghost:hover, .btn--ghost-light:hover { border-color: var(--ivory); background: rgba(247, 245, 232, 0.08); transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #c92d24; transform: translateY(-2px); }
.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.82rem; }

/* ---------- top utility bar ---------- */
.topbar { background: var(--ink); color: #b9c7d6; font-size: 0.78rem; position: relative; z-index: 60; }
.topbar__in {
  max-width: var(--wide);
  margin-inline: auto;
  padding: 0.42rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.topbar a { transition: color 0.2s; }
.topbar a:hover { color: var(--ivory); }
.topbar__spacer { margin-left: auto; }
.topbar .habla { letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--mist); }
.lang-switch { display: inline-flex; border: 1px solid var(--rule-light-strong); border-radius: 2px; overflow: hidden; }
.lang-switch a {
  padding: 0.18rem 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.lang-switch a.on { background: var(--ivory); color: var(--ink); }
.topbar__links { display: flex; gap: 1.1rem; }
.topbar a { white-space: nowrap; }
@media (max-width: 860px) {
  .topbar__links, .topbar .habla { display: none; }
}
@media (max-width: 620px) {
  .topbar__in { gap: 0.9rem; padding-block: 0.4rem; }
  .topbar__mail { display: none; }
}

/* ---------- header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 55;
  background: rgba(253, 252, 247, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.hdr__in {
  max-width: var(--wide);
  margin-inline: auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 74px;
}
.hdr__logo { flex-shrink: 0; margin-right: 1.2rem; }
.hdr__logo img { width: clamp(168px, 15vw, 216px); height: auto; }
.hdr__nav { display: flex; align-items: center; }
.hdr__item { position: relative; }
.hdr__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 1.62rem 1.15rem;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s;
  white-space: nowrap;
}
.hdr__link .chev { width: 9px; height: 9px; transition: transform 0.3s var(--ease); }
.hdr__item:hover .hdr__link, .hdr__item.open .hdr__link, .hdr__link[aria-current="page"] { color: var(--slate); }
.hdr__item.open .chev { transform: rotate(180deg); }
.hdr__right { margin-left: auto; display: flex; align-items: center; gap: 0.6rem; }

.drop {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 270px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 26px 60px rgba(11, 23, 36, 0.16);
  padding: 0.55rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0s linear 0.24s;
}
.hdr__item.open .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition-delay: 0s; }
.drop a {
  display: block;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: 9px;
  transition: background-color 0.18s, color 0.18s, padding-left 0.24s var(--ease);
}
.drop a:hover { background: var(--ivory); padding-left: 1.15rem; }
.drop a span { display: block; font-size: 0.76rem; font-weight: 400; color: #64788d; line-height: 1.45; }
.drop--mega {
  min-width: 640px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.1rem;
  padding: 0.9rem;
}
.hdr__item.open .drop--mega { display: grid; }
.drop__col { min-width: 0; }
.drop__col + .drop__col { border-left: 1px solid var(--rule); padding-left: 1.1rem; }
.drop__hd {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-soft);
  padding: 0.3rem 0.9rem 0.45rem;
}
.drop__col .drop__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.3rem; }
.drop__col .drop__grid2 a { padding-block: 0.42rem; font-size: 0.85rem; }

@media (max-width: 1330px) {
  .hdr__link { padding-inline: 0.85rem; font-size: 0.97rem; }
}

.burger { display: none; width: 46px; height: 46px; position: relative; flex-shrink: 0; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.32s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
body.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mnav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--ink);
  padding: 8.5rem var(--gutter) 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s var(--ease), visibility 0s linear 0.32s;
}
body.nav-open .mnav { opacity: 1; visibility: visible; transition-delay: 0s; }
.mnav__grp { border-bottom: 1px solid var(--rule-light); }
.mnav__tgl, .mnav > nav > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.05rem 0.2rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 550;
  color: var(--ivory);
  text-align: left;
}
.mnav__tgl .chev { width: 13px; height: 13px; color: var(--mist); transition: transform 0.3s; }
.mnav__grp.open .mnav__tgl .chev { transform: rotate(180deg); }
.mnav__panel { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.mnav__grp.open .mnav__panel { max-height: 560px; }
.mnav__panel a { display: block; padding: 0.5rem 0.2rem 0.5rem 1rem; font-size: 0.98rem; color: var(--mist); }
.mnav__panel a:last-child { padding-bottom: 1.1rem; }
.mnav__cta { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0.8rem; }
.mnav__meta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; font-size: 0.85rem; color: var(--slate-soft); align-items: center; }

@media (max-width: 1200px) {
  .hdr__nav, .hdr__right .btn--ghost { display: none; }
  .burger { display: block; }
  .mnav { display: block; }
}
@media (max-width: 560px) { .hdr__right .btn--ink { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--ink);
  padding: 6rem var(--gutter) 5.5rem;
}
.hero--short { min-height: min(62vh, 620px); padding-block: 5rem 4rem; }
.hero__media, .hero__media img, .hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 23, 36, 0.72) 0%, rgba(11, 23, 36, 0.46) 45%, rgba(11, 23, 36, 0.84) 100%);
}
.hero__in { position: relative; z-index: 2; max-width: 62rem; }
.hero .kicker { color: var(--mist); justify-content: center; margin-bottom: 1.4rem; }
.hero .kicker::after { content: ''; width: 2rem; height: 1px; background: currentColor; opacity: 0.6; }
.hero h1 { color: var(--ivory); }
.hero h1 em { font-weight: 500; }
.hero .lede { color: #c9d5e1; max-width: 40rem; margin: 1.3rem auto 0; }
.hero__cta { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.hero__trust {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  border-top: 1px solid var(--rule-light);
  background: rgba(11, 23, 36, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero__trust-in {
  max-width: var(--mid);
  margin-inline: auto;
  padding: 0.85rem var(--gutter);
  display: flex;
  justify-content: center;
  gap: clamp(1.4rem, 5vw, 3.5rem);
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}
.hero__trust-in span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__trust-in svg { width: 13px; height: 13px; color: var(--gold); }
@media (max-width: 700px) {
  .hero__trust { display: none; }
}

/* word reveal */
.wsplit .w { display: inline-block; opacity: 0; transform: translateY(0.5em); animation: wIn 0.85s var(--ease) forwards; }
@keyframes wIn { to { opacity: 1; transform: none; } }
.hero .kicker, .hero .lede, .hero__cta, .hero__trust { opacity: 0; animation: fadeUp 0.9s var(--ease) forwards; }
.hero .kicker { animation-delay: 0.05s; }
.hero .lede { animation-delay: 0.5s; }
.hero__cta { animation-delay: 0.62s; }
.hero__trust { animation-delay: 0.85s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- reveal system ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv1 { transition-delay: 0.07s; } .rv2 { transition-delay: 0.14s; } .rv3 { transition-delay: 0.21s; } .rv4 { transition-delay: 0.28s; }
.rule-draw { position: relative; }
.rule-draw::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--rule-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease) 0.15s;
}
.on-ink .rule-draw::after { background: var(--rule-light-strong); }
.rv.in .rule-draw::after, .rule-draw.in::after { transform: scaleX(1); }


/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 4vw, 3.6rem); }
.pillar { border-top: 2px solid var(--navy); padding-top: 1.4rem; text-align: center; }
.pillar i { font-family: var(--serif); font-style: italic; font-size: 0.98rem; color: var(--slate-soft); display: block; margin-bottom: 0.45rem; }
.pillar h3, .pillar .pillar__h { font-size: clamp(1.95rem, 3.1vw, 2.5rem); font-weight: 700; margin-bottom: 0.75rem; }
.pillar p { font-size: 0.97rem; color: #41556b; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ---------- manifesto (hire us when…) ---------- */
.mani { display: flex; flex-direction: column; }
.mani__row {
  display: grid;
  grid-template-columns: 84px 1fr 1.35fr;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-top: 1px solid var(--rule-light);
}
.mani__row:last-child { border-bottom: 1px solid var(--rule-light); }
.mani__num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--slate-soft); line-height: 1; padding-top: 0.35rem; }
.mani__row h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--ivory); }
.mani__row p { font-size: 0.99rem; }
@media (max-width: 860px) {
  .mani__row { grid-template-columns: 48px 1fr; }
  .mani__row p { grid-column: 2; }
}

/* ---------- statement band ---------- */
.stmt {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  text-align: center;
  padding: clamp(4.5rem, 9vw, 7.5rem) var(--gutter);
}
.stmt__media, .stmt__media video, .stmt__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stmt__media::after { content: ''; position: absolute; inset: 0; background: rgba(11, 23, 36, 0.78); }
.stmt__in { position: relative; z-index: 2; max-width: 56rem; margin-inline: auto; }
.stmt h2 { color: var(--ivory); font-size: clamp(2.1rem, 4.6vw, 3.8rem); }
.stmt h2 em { color: var(--mist); }
.stmt .btn { margin-top: 2rem; }
.stmt p { color: #c3d0dd; margin-top: 1rem; font-size: 1.05rem; }

/* ---------- index list (industries) ---------- */
.ilist { border-top: 1px solid var(--rule); }
.ilist__row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
  padding: clamp(1.05rem, 2vw, 1.5rem) 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: padding-left 0.32s var(--ease);
}
.ilist__row:hover { padding-left: 0.9rem; }
.ilist__num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--slate-soft); }
.ilist__row h3 { font-size: clamp(1.45rem, 2.6vw, 2.15rem); transition: color 0.24s; }
.ilist__row:hover h3 { color: var(--slate); }
.ilist__row p { grid-column: 2; max-width: 46rem; font-size: 0.93rem; color: #4c617736; color: #4c6177; padding-bottom: 0.2rem; }
.ilist__go {
  grid-row: 1;
  grid-column: 3;
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background-color 0.24s, color 0.24s, border-color 0.24s, transform 0.32s var(--ease);
}
.ilist__go svg { width: 15px; height: 15px; }
.ilist__row:hover .ilist__go { background: var(--navy); color: var(--ivory); border-color: var(--navy); transform: rotate(-45deg); }
.ilist__preview {
  position: fixed;
  z-index: 30;
  width: 300px;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.28s var(--ease), transform 0.34s var(--ease);
  box-shadow: 0 30px 70px rgba(11, 23, 36, 0.35);
}
.ilist__preview.show { opacity: 1; transform: none; }
.ilist__preview img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity 0.25s; }
.ilist__preview img.cur { opacity: 1; }
@media (max-width: 900px) {
  .ilist__preview { display: none; }
  .ilist__row { grid-template-columns: 44px 1fr auto; }
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
.stat { background: var(--paper); padding: 1.05rem 1.2rem; text-align: center; display: flex; align-items: baseline; justify-content: center; gap: 0.7rem; }
.chapter-ivory .stat { background: var(--ivory); }
.stat b {
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1;
  color: var(--navy);
  font-variant-numeric: lining-nums;
  font-feature-settings: 'lnum' 1;
}
.stat b span { font-size: inherit; font-weight: inherit; letter-spacing: 0; text-transform: none; color: inherit; }
.stat > span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }

/* ---------- team ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.9rem, 1.8vw, 1.4rem); }
.tgrid--strip { display: flex; gap: clamp(0.9rem, 1.8vw, 1.3rem); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.4rem; scrollbar-width: none; }
.tgrid--strip::-webkit-scrollbar { display: none; }
.tgrid--strip .tcard { flex: 0 0 218px; scroll-snap-align: start; }
@media (max-width: 700px) { .tgrid--strip .tcard { flex-basis: 64vw; } }

/* swipe hint for horizontal strips (mobile) */
.swipe-hint {
  position: absolute;
  right: 0.7rem;
  top: 34%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(11, 23, 36, 0.85);
  color: var(--ivory);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  pointer-events: none;
  box-shadow: 0 8px 22px rgba(11, 23, 36, 0.3);
  opacity: 0;
  animation: hintIn 0.5s ease 0.7s forwards;
  transition: opacity 0.4s;
}
.swipe-hint svg { width: 12px; height: 12px; animation: hintNudge 1.4s ease-in-out infinite; }
.swipe-hint.gone { opacity: 0 !important; }
@keyframes hintIn { to { opacity: 1; } }
@keyframes hintNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.tcard {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  /* buttons vertically center their content: force top alignment so every
     portrait starts on the same line regardless of how long the job title is */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}
.tcard__ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: var(--navy); }
.tcard__ph img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.tcard:hover .tcard__ph img { transform: scale(1.04); }
.tcard__ph::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22, 46, 72, 0.16), rgba(11, 23, 36, 0) 40%);
  pointer-events: none;
}
.tcard b { display: block; margin-top: 0.75rem; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--navy); line-height: 1.15; }
.on-ink .tcard b { color: var(--ivory); }
.tcard span { display: block; font-size: 0.8rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-top: 0.2rem; }
.tcard .bio-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.45rem; font-size: 0.84rem; font-weight: 650; color: var(--slate); border-bottom: 1px solid var(--rule-strong); padding-bottom: 1px; }
.tcard:hover .bio-link { color: var(--navy); border-color: var(--navy); }
@media (max-width: 1000px) { .tgrid { grid-template-columns: repeat(2, 1fr); } }

/* slide-over bio */
.panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  transition: visibility 0s linear 0.45s;
}
.panel.open { visibility: visible; transition-delay: 0s; }
.panel__bg { position: absolute; inset: 0; background: rgba(11, 23, 36, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.4s; }
.panel.open .panel__bg { opacity: 1; }
.panel__card {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(560px, 94vw);
  background: var(--paper);
  transform: translateX(102%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
  padding: 2.6rem 2.4rem 3rem;
}
.panel.open .panel__card { transform: none; }
.panel__close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 42px; height: 42px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.22s, transform 0.3s var(--ease);
}
.panel__close:hover { background: var(--ivory); transform: rotate(90deg); }
.panel__close svg { width: 15px; height: 15px; }
.panel__card img { width: 132px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; margin-bottom: 1.2rem; }
.panel__card h3 { font-size: 2rem; }
.panel__role { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); margin: 0.3rem 0 1.2rem; }
.panel__card p { font-size: 0.98rem; color: #33475c; margin-bottom: 1rem; }
.panel__card .btn { margin-top: 0.6rem; }

/* ---------- ledger (do / don't) ---------- */
.ledger { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); }
.ledger__col { padding: clamp(1.8rem, 3.6vw, 3rem); }
.ledger__col--do { background: var(--ivory); }
.ledger__col--dont { background: var(--ink); }
.ledger__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--rule-strong);
  color: var(--navy);
  margin-bottom: 1.4rem;
}
.ledger__col--dont .ledger__tag { border-color: var(--rule-light-strong); color: var(--mist); }
.ledger__title { text-decoration: underline; text-underline-offset: 0.16em; text-decoration-thickness: 1.5px; }
.ledger__item { padding: 1.05rem 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 34px 1fr; gap: 0.85rem; align-items: start; }
.ledger__col--dont .ledger__item { border-top-color: var(--rule-light); }
.ledger__n {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 0.15rem;
}
.ledger__col--dont .ledger__n { border-color: var(--rule-light-strong); color: var(--ivory); }
.ledger__item b { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.ledger__col--dont .ledger__item b { color: var(--ivory); }
.ledger__item p { font-size: 0.94rem; color: #41556b; }
.ledger__col--dont .ledger__item p { color: #b6c4d2; }
@media (max-width: 860px) { .ledger { grid-template-columns: 1fr; } }

/* ---------- service blocks (industry pages) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  border: 1px solid var(--rule-light-strong);
  color: var(--ivory);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.chip svg { width: 12px; height: 12px; color: var(--gold); }

.sblocks { display: flex; flex-direction: column; }
.sblock {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: clamp(1rem, 3vw, 2.2rem);
  padding: clamp(1.5rem, 3vw, 2.2rem) 0;
  border-top: 1px solid var(--rule);
}
.sblock:last-child { border-bottom: 1px solid var(--rule); }
.sblock i { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--slate-soft); padding-top: 0.25rem; }
.sblock h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 0.55rem; }
.sblock p { max-width: 52rem; color: #33475c; }
@media (max-width: 640px) { .sblock { grid-template-columns: 44px 1fr; } }

/* ---------- quote ---------- */
.quote { max-width: 54rem; margin-inline: auto; text-align: center; }
.quote__stars { display: flex; justify-content: center; gap: 0.3rem; margin-bottom: 1.3rem; }
.quote__stars svg { width: 17px; height: 17px; color: var(--gold); }
.quote blockquote { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.32; color: var(--navy); }
.on-ink .quote blockquote { color: var(--ivory); }
.quote figcaption { margin-top: 1.3rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }

/* ---------- reviews row ---------- */
.revs { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 0.4rem; }
.revs::-webkit-scrollbar { display: none; }
.rev {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.rev__stars { display: flex; gap: 0.2rem; margin-bottom: 0.75rem; }
.rev__stars svg { width: 13px; height: 13px; color: var(--gold); }
.rev p { font-size: 0.9rem; color: #33475c; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rev b { margin-top: auto; padding-top: 0.9rem; font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.rev span { font-size: 0.75rem; color: #7a8b9b; }
.revs-nav { display: flex; gap: 0.5rem; }
.revs-nav button {
  width: 42px; height: 42px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: background-color 0.22s, color 0.22s;
}
.revs-nav button:hover { background: var(--navy); color: var(--ivory); }
.revs-nav svg { width: 14px; height: 14px; }

/* ---------- locals ---------- */
.locals { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.4rem, 4vw, 3rem); align-items: center; }
.locals img { width: clamp(96px, 10vw, 130px); }
.locals h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 0.4rem; }
.locals p { font-size: 0.95rem; color: #41556b; max-width: 38rem; }
@media (max-width: 780px) { .locals { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__ph { position: relative; border-radius: 3px; overflow: hidden; }
.split__ph img { width: 100%; height: 100%; object-fit: cover; }
.split--text-first .split__ph { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--text-first .split__ph { order: 0; } }

/* ---------- service line pages ---------- */
.svc-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.svc-grid .prose p { margin-bottom: 1.15rem; color: #33475c; }
.svc-grid .prose h2 { font-size: 1.6rem; margin: 1.6rem 0 0.7rem; }
.svc-grid .prose ul { margin: 0 0 1.15rem; }
.svc-grid .prose li { padding: 0.3rem 0 0.3rem 1.5rem; position: relative; color: #33475c; }
.svc-grid .prose li::before { content: ''; position: absolute; left: 0.15rem; top: 0.95em; width: 5px; height: 5px; background: var(--slate); transform: rotate(45deg); }
.aside {
  position: sticky;
  top: 106px;
  border: 1px solid var(--rule);
  border-top: 2px solid var(--navy);
  background: var(--paper);
  padding: 1.8rem;
}
.aside h3 { font-size: 1.3rem; margin-bottom: 0.9rem; }
.aside ul { margin-bottom: 1.2rem; }
.aside li { display: flex; gap: 0.7rem; align-items: baseline; padding: 0.55rem 0; border-bottom: 1px solid var(--rule); font-weight: 600; font-size: 0.94rem; }
.aside li:last-child { border-bottom: 0; }
.aside li i { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--slate-soft); font-size: 0.85rem; }
.aside .btn { width: 100%; }
.aside .btn + .btn { margin-top: 0.6rem; }
@media (max-width: 880px) { .svc-grid { grid-template-columns: 1fr; } .aside { position: static; } }

/* words band */
.words { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--rule-light); }
.word { text-align: center; padding: clamp(1.6rem, 3vw, 2.4rem) 1rem; }
.word + .word { border-left: 1px solid var(--rule-light); }
.word b { display: block; font-family: var(--serif); font-weight: 550; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--ivory); letter-spacing: 0.04em; }
.word span { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mist); }
@media (max-width: 720px) { .words { grid-template-columns: 1fr; } .word + .word { border-left: 0; border-top: 1px solid var(--rule-light); } }

/* ---------- video / blog cards ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.vcard { background: var(--paper); border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); display: flex; flex-direction: column; }
.vcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 23, 36, 0.12); }
.vcard__fr { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; cursor: pointer; }
.vcard__fr img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.vcard:hover .vcard__fr img { transform: scale(1.04); }
.vcard__fr iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.vcard__play::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 23, 36, 0.05), rgba(11, 23, 36, 0.42)); transition: background-color 0.3s; }
.vcard__play span { position: relative; width: 54px; height: 54px; border-radius: 50%; background: rgba(247, 245, 232, 0.94); display: flex; align-items: center; justify-content: center; transition: transform 0.32s var(--ease); }
.vcard__play svg { width: 17px; height: 17px; margin-left: 2px; color: var(--navy); }
.vcard:hover .vcard__play span { transform: scale(1.08); }
.vcard__meta { padding: 1.05rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.vcard__meta h3 { font-size: 1.22rem; }
.vcard__meta p { font-size: 0.87rem; color: #4c6177; }
.vcard__meta .dur { margin-top: auto; padding-top: 0.6rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-soft); }
@media (max-width: 960px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .vgrid { grid-template-columns: 1fr; } }

.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.1rem, 2.4vw, 1.8rem); }
.pcard { background: var(--paper); border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 23, 36, 0.12); }
.pcard__ph { aspect-ratio: 5 / 3; overflow: hidden; }
.pcard__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pcard:hover .pcard__ph img { transform: scale(1.04); }
.pcard__body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.pcard__kick { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.5rem; }
.pcard__body h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.pcard__body p { font-size: 0.92rem; color: #4c6177; margin-bottom: 1rem; }
.pcard__more { margin-top: auto; font-size: 0.86rem; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 0.45rem; }
.pcard__more svg { width: 0.85em; height: 0.85em; transition: transform 0.3s var(--ease); }
.pcard:hover .pcard__more svg { transform: translateX(4px); }
@media (max-width: 780px) { .pgrid { grid-template-columns: 1fr; } }

/* article */
.article { max-width: var(--text); margin-inline: auto; }
.article > p { margin-bottom: 1.2rem; color: #2e4257; font-size: 1.02rem; }
.article h2 { font-size: 1.65rem; margin: 2rem 0 0.8rem; }
.article ul { margin: 0 0 1.2rem; }
.article li { padding: 0.3rem 0 0.3rem 1.5rem; position: relative; color: #2e4257; }
.article li::before { content: ''; position: absolute; left: 0.15rem; top: 0.95em; width: 5px; height: 5px; background: var(--slate); transform: rotate(45deg); }
.article a { text-decoration: underline; text-underline-offset: 3px; }
.article .tip { border-left: 2px solid var(--navy); background: var(--ivory); padding: 1.15rem 1.4rem; margin: 1.5rem 0; font-size: 0.95rem; }
.article .tip b { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.3rem; }
.article .disclaimer { font-size: 0.85rem; color: #64788d; font-style: italic; }

/* ---------- jobs ---------- */
.jrow { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; padding: 1.35rem 0; border-bottom: 1px solid var(--rule); }
.jrow:first-child { border-top: 1px solid var(--rule); }
.jrow h3 { font-size: 1.4rem; }
.jrow p { font-size: 0.9rem; color: #4c6177; margin-top: 0.2rem; }
@media (max-width: 640px) { .jrow { flex-direction: column; align-items: flex-start; } }
.job-facts { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.5rem; }
.job-facts span { padding: 0.4rem 0.95rem; border: 1px solid var(--rule); border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: #41556b; background: var(--paper); }

/* ---------- contact ---------- */
.cgrid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.crow { display: flex; gap: 1.05rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); align-items: flex-start; }
.crow:first-child { border-top: 1px solid var(--rule); }
.crow__ic { width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--rule); background: var(--ivory); display: flex; align-items: center; justify-content: center; color: var(--navy); border-radius: 2px; }
.crow__ic svg { width: 17px; height: 17px; }
.crow b { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-soft); margin-bottom: 0.15rem; }
.crow a, .crow .val { font-weight: 650; color: var(--navy); font-size: 0.99rem; }
.crow a:hover { color: var(--slate); }
.socials { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--navy); transition: background-color 0.24s, color 0.24s, transform 0.3s var(--ease); }
.socials a:hover { background: var(--navy); color: var(--ivory); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

.form-card { border: 1px solid var(--rule); border-top: 2px solid var(--navy); background: var(--paper); padding: clamp(1.6rem, 3vw, 2.3rem); }
.form-card h2 { font-size: 1.55rem; margin-bottom: 0.4rem; }
.form-card > p { font-size: 0.92rem; color: #4c6177; margin-bottom: 1.4rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #4c6177; }
.field input, .field textarea {
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 0.75rem 0.9rem;
  font-size: 0.96rem;
  border-radius: 2px;
  transition: border-color 0.22s, box-shadow 0.22s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(89, 115, 137, 0.14); }
.field textarea { min-height: 120px; resize: vertical; }
.form-card .btn { margin-top: 1.2rem; width: 100%; }
/* ---------- GoHighLevel embedded form ---------- */
.ghl-form { position: relative; }
.ghl-form iframe {
  width: 100%;
  min-height: 616px;
  border: none;
  border-radius: 4px;
  display: block;
  background: var(--paper);
}
.form-ok { display: none; text-align: center; padding: 2.2rem 1rem; }
.form-ok.on { display: block; }
.form-ok .tick { width: 54px; height: 54px; margin: 0 auto 1rem; border: 1px solid var(--rule); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--navy); background: var(--ivory); }
.form-ok .tick svg { width: 22px; height: 22px; }
@media (max-width: 880px) { .cgrid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }

.map-embed { line-height: 0; border-top: 1px solid var(--rule); }
.map-embed iframe { width: 100%; height: clamp(340px, 40vw, 480px); border: 0; display: block; }
.map-strip { display: block; position: relative; }
.map-strip img { width: 100%; height: clamp(300px, 38vw, 460px); object-fit: cover; }
.map-strip__tag {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 0.85rem 1.5rem;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--navy);
  box-shadow: 0 16px 40px rgba(11, 23, 36, 0.2);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.map-strip__tag svg { width: 15px; height: 15px; color: var(--slate); }

/* ---------- lightbox ---------- */
.vlb { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(11, 23, 36, 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.3s var(--ease); }
.vlb.on { opacity: 1; }
.vlb__box { position: relative; width: min(1040px, 100%); transform: translateY(12px) scale(0.99); transition: transform 0.35s var(--ease); }
.vlb.on .vlb__box { transform: none; }
.vlb__fr { aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55); position: relative; }
.vlb__fr iframe, .vlb__fr video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vlb__title { margin-top: 0.8rem; text-align: center; color: var(--mist); font-size: 0.9rem; font-weight: 650; }
.vlb__x { position: absolute; top: -2.9rem; right: 0; width: 42px; height: 42px; border-radius: 50%; background: rgba(247, 245, 232, 0.1); border: 1px solid var(--rule-light-strong); color: var(--ivory); display: flex; align-items: center; justify-content: center; transition: background-color 0.24s, transform 0.28s var(--ease); }
.vlb__x:hover { background: rgba(247, 245, 232, 0.22); transform: rotate(90deg); }
.vlb__x svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .vlb__x { top: auto; bottom: calc(100% + 0.6rem); } }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #b6c4d2; }
.ftr__top { padding: clamp(2.8rem, 5.5vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.ftr__grid { display: grid; grid-template-columns: 1.45fr 0.9fr 1fr 1.15fr; gap: clamp(1.8rem, 4vw, 3.4rem); }
.ftr__brand img { width: 190px; margin-bottom: 1.1rem; }
.ftr__brand p { font-size: 0.9rem; max-width: 20rem; }
.ftr__brand .socials { margin-top: 1.2rem; }
.ftr__brand .socials a { border-color: var(--rule-light); color: var(--ivory); }
.ftr__brand .socials a:hover { background: var(--ivory); color: var(--ink); }
.ftr h3 { font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mist); margin-bottom: 1rem; }
.ftr ul { display: flex; flex-direction: column; gap: 0.5rem; }
.ftr a { font-size: 0.9rem; transition: color 0.2s; }
.ftr a:hover { color: var(--ivory); }
.ftr address { font-style: normal; font-size: 0.9rem; line-height: 1.75; }
.ftr__sub { margin-top: 1.2rem; display: flex; gap: 0.5rem; }
.ftr__sub input { flex: 1; min-width: 0; background: rgba(247, 245, 232, 0.06); border: 1px solid var(--rule-light); padding: 0.65rem 1rem; font-size: 0.88rem; color: var(--ivory); border-radius: 2px; }
.ftr__sub input::placeholder { color: #6d8095; }
.ftr__sub input:focus { outline: none; border-color: var(--mist); }
.ftr__sub .btn { padding: 0.65rem 1.1rem; font-size: 0.82rem; }
.ftr .sub-ok { display: none; font-size: 0.88rem; color: var(--ivory); padding: 0.4rem 0; }
.ftr__bot { border-top: 1px solid var(--rule-light); padding: 1.25rem 0; }
.ftr__bot .wrap--wide { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; align-items: center; justify-content: space-between; font-size: 0.8rem; color: #7a8b9b; }
.ftr__bot nav { display: flex; gap: 1.2rem; }
.ftr__bot .habla { letter-spacing: 0.14em; text-transform: uppercase; font-weight: 650; color: var(--mist); }
.ftr__bot .habla-group { display: inline-flex; align-items: center; gap: 0.9rem; }
@media (max-width: 1000px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }

/* ---------- misc ---------- */
.center { text-align: center; }
.mt1 { margin-top: 1rem; } .mt2 { margin-top: 1.8rem; } .mt3 { margin-top: 2.6rem; }
.next-links { display: flex; justify-content: space-between; gap: 1rem; border-block: 1px solid var(--rule); padding: 1.2rem 0; }
.next-links a { display: flex; flex-direction: column; gap: 0.15rem; font-weight: 650; color: var(--navy); font-size: 1.02rem; }
.next-links a small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-soft); }
.next-links a:hover { color: var(--slate); }
.next-links a:last-child { text-align: right; }
.more-link { white-space: nowrap; font-size: 0.86rem; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 0.45rem; }
.more-link svg { width: 0.85em; height: 0.85em; flex-shrink: 0; }

.skip-link { position: fixed; top: -120px; left: 1rem; z-index: 200; background: var(--navy); color: var(--ivory); padding: 0.7rem 1.2rem; border-radius: 3px; transition: top 0.2s; }
.skip-link:focus { top: 1rem; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }

.err { min-height: 62vh; display: flex; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; transition-duration: 0.001s !important; }
  .rv, .wsplit .w, .hero .kicker, .hero .lede, .hero__cta, .hero__trust { opacity: 1; transform: none; animation: none; }
  .rule-draw::after { transform: scaleX(1); }
}
