/* ==========================================================================
   Cavalier Security Services — Design System
   "Deployment Board" — navy authority, sash red, brass micro-accents.
   Palette, type and geometry derived from the company shield + guard uniform.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fonts — self-hosted, no third-party requests
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/plex-sans-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/plex-sans-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/plex-sans-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour — named from the subject's own world */
  --ink:        #060E1F;   /* Night Post   */
  --ink-2:      #0B1730;   /* Post Shadow  */
  --ink-3:      #12224A;   /* Muster Blue  */
  --navy:       #0E2A5C;   /* Regiment     */
  --steel:      #1F65BD;   /* Signal Blue  */
  --steel-soft: #5A93DC;
  --sash:       #D8232A;   /* Sash Red     */
  --sash-deep:  #A8161C;
  --brass:      #C9A227;   /* Insignia     */
  --paper:      #F4F6FA;   /* Muster Paper */
  --white:      #FFFFFF;
  --slate:      #56617A;
  --slate-2:    #7C8598;

  --line:        rgba(6, 14, 31, .11);
  --line-strong: rgba(6, 14, 31, .18);
  --line-dark:   rgba(255, 255, 255, .13);
  --line-dark-2: rgba(255, 255, 255, .26);

  /* Type */
  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body:    "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-hero: clamp(1.95rem, 5vw, 4.6rem);
  --fs-h1:   clamp(2rem, 4.4vw, 3.4rem);
  --fs-h2:   clamp(1.7rem, 3.1vw, 2.55rem);
  --fs-h3:   clamp(1.2rem, 1.9vw, 1.55rem);
  --fs-h4:   clamp(1.02rem, 1.4vw, 1.2rem);
  --fs-body: clamp(0.97rem, 0.42vw + 0.86rem, 1.0625rem);
  --fs-lead: clamp(1.05rem, 0.7vw + 0.9rem, 1.24rem);
  --fs-sm:   0.875rem;
  --fs-xs:   0.78rem;
  --fs-reg:  0.7rem;    /* mono register codes */

  /* Space */
  --sec:     clamp(4.25rem, 7.4vw, 7.5rem);
  --sec-sm:  clamp(3rem, 5vw, 4.75rem);
  --gap:     clamp(1.15rem, 2vw, 2rem);
  --pad:     clamp(1.15rem, 4vw, 2.5rem);
  --maxw:    1280px;
  --maxw-narrow: 860px;

  /* Geometry — the signature "shield notch" */
  --notch:   26px;
  --radius:  4px;
  --radius-lg: 6px;

  /* Motion */
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, .05, .36, 1);
  --dur:       .55s;
  --dur-fast:  .28s;

  --shadow-sm: 0 1px 2px rgba(6, 14, 31, .06), 0 4px 14px rgba(6, 14, 31, .06);
  --shadow:    0 2px 6px rgba(6, 14, 31, .07), 0 18px 44px rgba(6, 14, 31, .11);
  --shadow-lg: 0 30px 80px rgba(6, 14, 31, .22);

  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.68;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "kern" 1;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  color: var(--ink);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -.018em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); line-height: 1.24; }
p  { text-wrap: pretty; }

strong, b { font-weight: 600; color: var(--ink); }

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

:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
  border-radius: 2px;
}
.dark :focus-visible, .section--ink :focus-visible { outline-color: var(--steel-soft); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem;
  font: 600 var(--fs-sm)/1 var(--f-body); border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.container--wide   { max-width: 1560px; }
.container--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--sec); position: relative; }
.section--sm     { padding-block: var(--sec-sm); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink   { background: var(--ink); color: rgba(255,255,255,.72); }
.section--navy  { background: linear-gradient(165deg, var(--ink-2), var(--ink) 62%); color: rgba(255,255,255,.72); }

.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4,
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--ink strong, .section--navy strong { color: #fff; }

.grid { display: grid; gap: var(--gap); }
.stack > * + * { margin-top: 1rem; }

/* Vertical rhythm inside text columns. Scoped to .copy so component
   internals (cards, cells, figures) keep their own spacing. */
.copy > * + * { margin-top: 1.1rem; }
.copy > .reg + h2, .copy > .reg + h3 { margin-top: 1rem; }
.copy > h2 + p, .copy > h3 + p { margin-top: 1.15rem; }
.copy > p + ul, .copy > ul + p { margin-top: 1.4rem; }

/* Ambient grid — echoes the data-grid backdrop in the company's own key art */
.section--ink::before, .section--navy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(90, 147, 220, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(90, 147, 220, .07) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(120% 90% at 78% 8%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 78% 8%, #000 0%, transparent 72%);
}
.section--ink > *, .section--navy > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   4. Signature geometry
   -------------------------------------------------------------------------- */
.notch {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.notch--tl {
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch));
}
.shield-clip { clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }

/* Sash rule — a short red keyline used to open sections */
.rule {
  display: block; width: 54px; height: 3px; background: var(--sash);
  position: relative;
}
.rule::after {
  content: ""; position: absolute; left: 60px; top: 1px; width: 26px; height: 1px;
  background: var(--brass);
}

/* --------------------------------------------------------------------------
   5. Register / eyebrow  (mono codes that encode real content)
   -------------------------------------------------------------------------- */
.reg {
  font-family: var(--f-mono);
  font-size: var(--fs-reg);
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex; align-items: center; gap: .6rem;
}
.reg::before {
  content: ""; width: 7px; height: 7px; background: var(--sash);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 50% 100%, 0 58%);
  flex: none;
}
.section--ink .reg, .section--navy .reg { color: var(--steel-soft); }
.reg--brass { color: var(--brass); }
.reg--plain::before { display: none; }

/* Section head */
.head { max-width: 720px; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .reg { justify-content: center; }
.head .reg { margin-bottom: 1.1rem; }
.head h2 + p, .head h1 + p { margin-top: 1.1rem; font-size: var(--fs-lead); }
.head--wide { max-width: 880px; }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--sash);
  --btn-fg: #fff;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.02rem 1.7rem;
  font-family: var(--f-display);
  font-size: .8rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid transparent;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .42s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform var(--dur-fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { color: #fff; border-color: var(--ink); }

.btn--onDark {
  --btn-bg: transparent; --btn-fg: #fff;
  border-color: var(--line-dark-2);
}
.btn--onDark::before { background: #fff; }
.btn--onDark:hover { color: var(--ink); border-color: #fff; }

.btn--steel { --btn-bg: var(--steel); }
.btn--sm { padding: .78rem 1.25rem; font-size: .72rem; }
.btn--block { width: 100%; }

/* Text link with animated sash underline */
.tlink {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  padding-bottom: 3px; position: relative;
}
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--sash); transform: scaleX(.34); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.tlink:hover::after { transform: scaleX(1); }
.tlink svg { width: 15px; height: 15px; transition: transform var(--dur-fast) var(--ease); }
.tlink:hover svg { transform: translateX(4px); }
.section--ink .tlink, .section--navy .tlink { color: #fff; }

/* --------------------------------------------------------------------------
   7. Top bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.66);
  font-family: var(--f-mono);
  font-size: var(--fs-reg);
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-dark);
}
.topbar__in {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 40px; padding-block: .45rem;
}
.topbar__creds { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar__creds span { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__creds svg { width: 13px; height: 13px; color: var(--brass); flex: none; }
.topbar__contact { display: flex; align-items: center; gap: 1.4rem; }
.topbar__contact a { display: inline-flex; align-items: center; gap: .5rem; transition: color var(--dur-fast) var(--ease); }
.topbar__contact a:hover { color: #fff; }
.topbar__contact svg { width: 13px; height: 13px; color: var(--steel-soft); flex: none; }
@media (max-width: 1180px) { .topbar__contact a:last-child { display: none; } }
@media (max-width: 1000px) { .topbar__creds span:nth-child(2) { display: none; } }
@media (max-width: 880px)  { .topbar__creds { display: none; } }
@media (max-width: 760px)  { .topbar { display: none; } }

/* --------------------------------------------------------------------------
   8. Header / navigation
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 8px 30px rgba(6,14,31,.09); background: rgba(255,255,255,.96); }

.header__in {
  display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.4rem);
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .45rem; flex: none; margin-right: auto; }
.brand img { width: 60px; height: auto; }
.brand__txt { display: grid; }
.brand__name {
  font-family: var(--f-display); font-weight: 800; font-size: 1.02rem; color: var(--sash);
  letter-spacing: -.01em; line-height: 1.05;
}
.brand__sub {
  font-family: var(--f-mono); font-size: .58rem; letter-spacing: .16em; color: var(--sash);
  text-transform: uppercase; margin-top: 3px; font-weight: 500;
}
@media (max-width: 420px) { .brand__name { font-size: .92rem; } .brand img { width: 50px; } }

/* Desktop nav */
.nav { display: flex; align-items: center; gap: .1rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .34rem;
  padding: .7rem .78rem;
  font-family: var(--f-display); font-weight: 600; font-size: .84rem;
  letter-spacing: .015em; color: var(--ink);
  border-radius: var(--radius);
  transition: color var(--dur-fast) var(--ease);
}
.nav__link svg { width: 11px; height: 11px; opacity: .5; transition: transform var(--dur-fast) var(--ease); }
.nav__item:hover > .nav__link svg { transform: rotate(180deg); }
.nav__link::after {
  content: ""; position: absolute; left: .78rem; right: .78rem; bottom: .34rem;
  height: 2px; background: var(--sash);
  transform: scaleX(0); transform-origin: left;
  transition: transform .34s var(--ease-out);
}
.nav__item:hover > .nav__link::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); }

.nav__sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 246px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: .5rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .26s var(--ease), transform .26s var(--ease-out), visibility .26s;
}
.nav__item:hover > .nav__sub,
.nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  display: flex; align-items: center; gap: .55rem;
  padding: .62rem .8rem; font-size: var(--fs-sm); font-weight: 500; color: var(--slate);
  border-radius: 3px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease);
}
.nav__sub a::before {
  content: ""; width: 5px; height: 5px; flex: none; background: var(--steel);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 50% 100%, 0 58%);
  opacity: 0; transition: opacity var(--dur-fast) var(--ease);
}
.nav__sub a:hover { background: var(--paper); color: var(--ink); padding-left: 1rem; }
.nav__sub a:hover::before { opacity: 1; }

.header__cta { display: flex; align-items: center; gap: .6rem; flex: none; }

/* Hamburger */
.burger {
  display: none; width: 46px; height: 46px; flex: none;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  position: relative;
}
.burger span {
  position: absolute; left: 50%; width: 20px; height: 2px; background: var(--ink);
  transform: translateX(-50%);
  transition: transform .34s var(--ease-out), opacity .2s var(--ease), top .34s var(--ease-out);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: translateX(-50%) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: translateX(-50%) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 95;
  background: var(--ink); color: #fff;
  padding: calc(var(--header-h) + 1.5rem) var(--pad) 2rem;
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path .62s var(--ease-out);
  visibility: hidden;
}
.drawer.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.drawer__close {
  position: absolute; top: 15px; right: var(--pad); z-index: 2;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--line-dark-2); color: #fff;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.drawer__close svg { width: 20px; height: 20px; }
.drawer__close:hover { background: var(--sash); border-color: var(--sash); transform: rotate(90deg); }
.drawer__list > li {
  border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(14px);
}
.drawer.is-open .drawer__list > li {
  animation: drawerIn .5s var(--ease-out) forwards;
  animation-delay: calc(.16s + var(--i, 0) * .05s);
}
@keyframes drawerIn { to { opacity: 1; transform: none; } }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 0;
  font-family: var(--f-display); font-weight: 700; font-size: 1.28rem; color: #fff;
}
.drawer__toggle svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.drawer__toggle[aria-expanded="true"] svg { transform: rotate(45deg); color: var(--sash); }
.drawer__sub { display: grid; overflow: hidden; max-height: 0; transition: max-height .42s var(--ease-out); }
.drawer__sub.is-open { max-height: 340px; }
.drawer__sub a {
  padding: .62rem 0 .62rem 1.2rem; font-size: var(--fs-sm); color: rgba(255,255,255,.66);
  border-left: 1px solid var(--line-dark); margin-left: 2px;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.drawer__sub a:hover { color: #fff; border-color: var(--sash); }
.drawer__sub li:last-child a { padding-bottom: 1.1rem; }
.drawer__foot { margin-top: 2rem; display: grid; gap: .9rem; }
.drawer__foot .mono {
  font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .1em;
  color: rgba(255,255,255,.55); text-transform: uppercase;
}

@media (max-width: 1120px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: block; }
}

/* Scroll progress */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 99;
  background: linear-gradient(90deg, var(--sash), var(--brass));
  width: 0; transition: width .1s linear;
}

/* --------------------------------------------------------------------------
   9. Hero — the signature "deployment board"
   -------------------------------------------------------------------------- */
.hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.15s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  transform: scale(1.09);
}
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.13); } }

.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(96deg, var(--ink) 6%, rgba(6,14,31,.94) 34%, rgba(6,14,31,.6) 62%, rgba(6,14,31,.72) 100%),
    linear-gradient(to top, var(--ink) 2%, transparent 44%);
}
/* Sash diagonal — lifted from the ceremonial sash and the shield chevron */
.hero__sash {
  position: absolute; z-index: 1; top: -12%; right: 6%; width: 42%; height: 124%;
  background: linear-gradient(180deg, rgba(216,35,42,.9), rgba(168,22,28,.34));
  transform: skewX(-13deg) translateX(30%);
  opacity: .12;
  mix-blend-mode: screen;
}
.hero__sash::after {
  content: ""; position: absolute; left: -34px; top: 0; width: 3px; height: 100%;
  background: var(--sash); opacity: .9;
}

.hero__in { position: relative; z-index: 2; }
.hero__grid {
  display: grid; align-items: end;
  min-height: clamp(560px, 82svh, 820px);
  padding-block: clamp(4rem, 9vw, 7rem) 0;
}
.hero__copy { max-width: min(740px, 100%); }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--f-mono); font-size: var(--fs-reg); font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7);
  border: 1px solid var(--line-dark-2); padding: .48rem .85rem;
  margin-bottom: 1.6rem;
}
.hero__eyebrow b { color: var(--brass); font-weight: 500; }
.hero__eyebrow::before {
  content: ""; width: 7px; height: 7px; background: #34D07A; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(52,208,122,.7); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(52,208,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,208,122,0); }
}

.hero__title {
  font-family: var(--f-display);
  font-size: var(--fs-hero);
  font-weight: 800; line-height: .96; letter-spacing: -.032em;
  color: #fff; text-transform: uppercase;
}
.hero__title em { font-style: normal; color: var(--sash); }
.hero__title .ln { display: block; overflow: hidden; padding-right: .08em; }
.hero__title .ln > span { display: block; transform: translateY(105%); }
.hero__lead {
  margin-top: 1.5rem; font-size: var(--fs-lead); color: rgba(255,255,255,.76);
  max-width: 46ch;
}
.hero__actions { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: .8rem; }

/* Muster ticker — real posts, real vernacular */
.hero__board {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero__cell {
  padding: 1.15rem 1.25rem 1.3rem 1.15rem;
  border-right: 1px solid var(--line-dark);
}
.hero__cell:last-child { border-right: 0; }
.hero__cell dt {
  font-family: var(--f-mono); font-size: var(--fs-reg); letter-spacing: .16em;
  text-transform: uppercase; color: var(--steel-soft); margin-bottom: .45rem;
}
.hero__cell dd {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  color: #fff; line-height: 1; letter-spacing: -.02em;
}
.hero__cell dd small {
  font-size: .5em; color: var(--brass); margin-left: .18em; letter-spacing: 0;
}
.hero__cell p { font-size: var(--fs-xs); color: rgba(255,255,255,.55); margin-top: .4rem; }

/* Slider controls */
.hero__nav {
  position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: flex-end; gap: .6rem;
}
.hero__dot {
  width: 3px; height: 26px; background: rgba(255,255,255,.26); position: relative; overflow: hidden;
  transition: height .3s var(--ease);
}
.hero__dot.is-active { height: 40px; }
.hero__dot::after {
  content: ""; position: absolute; inset: 0; background: var(--sash);
  transform: scaleY(0); transform-origin: top;
}
.hero__dot.is-active::after { animation: dotFill 9s linear forwards; }
@keyframes dotFill { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (max-width: 900px) {
  .hero__board { grid-template-columns: repeat(2, 1fr); }
  .hero__cell:nth-child(2) { border-right: 0; }
  .hero__cell:nth-child(1), .hero__cell:nth-child(2) { border-bottom: 1px solid var(--line-dark); }
  .hero__sash { width: 70%; opacity: .1; }
}
@media (max-width: 560px) {
  .hero__eyebrow { font-size: .62rem; letter-spacing: .13em; padding: .42rem .7rem; gap: .55rem; }
  .hero__board { grid-template-columns: 1fr 1fr; }
  .hero__cell { padding-right: .9rem; }
  .hero__nav { flex-direction: row; top: auto; bottom: auto; right: var(--pad);
               transform: none; margin-top: 0; }
  .hero__nav { position: static; justify-content: flex-end; padding: 0 var(--pad) 1.1rem; }
  .hero__dot { width: 26px; height: 3px; }
  .hero__dot.is-active { height: 3px; width: 40px; }
  .hero__dot::after { transform: scaleX(0); transform-origin: left; }
  .hero__dot.is-active::after { animation: dotFillX 9s linear forwards; }
}
@keyframes dotFillX { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --------------------------------------------------------------------------
   10. Inner page hero
   -------------------------------------------------------------------------- */
.phero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate;
  padding-block: clamp(3.6rem, 8vw, 6.5rem);
}
.phero__bg { position: absolute; inset: 0; z-index: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.phero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, var(--ink) 8%, rgba(6,14,31,.86) 46%, rgba(6,14,31,.58));
}
.phero__in { position: relative; z-index: 2; }
.phero h1 {
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: -.028em;
  font-weight: 800; color: #fff; margin-top: 1rem;
}
.phero p { margin-top: 1.05rem; max-width: 60ch; color: rgba(255,255,255,.74); font-size: var(--fs-lead); }
.crumbs {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: var(--fs-reg); letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
}
.crumbs a { transition: color var(--dur-fast) var(--ease); }
.crumbs a:hover { color: #fff; }
.crumbs li[aria-current] { color: var(--brass); }
.crumbs li + li::before { content: "/"; margin-right: .6rem; color: rgba(255,255,255,.3); }
.crumbs ol, .crumbs { list-style: none; }

/* --------------------------------------------------------------------------
   11. Marquee (credentials + clients)
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%);
}
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  display: inline-flex; align-items: center; gap: .8rem;
  padding-inline: clamp(1.4rem, 3vw, 2.6rem);
  font-family: var(--f-display); font-weight: 700; font-size: clamp(.9rem, 1.3vw, 1.1rem);
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
.marquee__item svg { width: 17px; height: 17px; color: var(--sash); flex: none; }
.section--ink .marquee__item, .section--navy .marquee__item { color: rgba(255,255,255,.82); }
.marquee--slow .marquee__track { animation-duration: 46s; }
.marquee--logos .marquee__item { padding-inline: clamp(1.6rem, 4vw, 3.4rem); }
/* Client marks show in their own colours. Several are JPEGs with a white
   ground, so they sit on a light plate to read evenly on the dark section. */
.marquee--logos img {
  height: clamp(34px, 4vw, 52px); width: auto; object-fit: contain;
  transition: transform var(--dur-fast) var(--ease);
}
.section--ink .marquee--logos .marquee__item,
.section--navy .marquee--logos .marquee__item {
  background: #fff; padding: .85rem clamp(1.1rem, 2vw, 1.6rem);
  margin-inline: clamp(.5rem, 1.2vw, 1rem);
  border-radius: var(--radius);
}
.marquee--logos .marquee__item:hover img { transform: scale(1.04); }

.credbar { border-block: 1px solid var(--line); background: var(--white); padding-block: 1.15rem; }

/* --------------------------------------------------------------------------
   12. About split
   -------------------------------------------------------------------------- */
.split {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 940px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left  { grid-template-columns: 1.14fr .86fr; }
  .split--wide-right { grid-template-columns: .86fr 1.14fr; }
  .split--flip > :first-child { order: 2; }
}

.figstack { position: relative; }
.figstack__main {
  position: relative; overflow: hidden;
  --notch: clamp(28px, 5vw, 56px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
  background: var(--ink-3);
}
.figstack__main img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.figstack__badge {
  position: absolute; right: clamp(-8px, 1vw, 18px); top: clamp(-14px, -1vw, 0px);
  background: var(--sash); color: #fff; padding: 1rem 1.15rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 0);
  box-shadow: var(--shadow);
  text-align: center;
}
.figstack__badge b {
  display: block; font-family: var(--f-display); font-weight: 800; font-size: 2.2rem;
  line-height: .92; color: #fff; letter-spacing: -.03em;
}
.figstack__badge span {
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .17em;
  text-transform: uppercase; color: rgba(255,255,255,.86);
}
.figstack__inset {
  position: absolute; left: clamp(-10px, -1vw, 0px); bottom: clamp(-22px, -2vw, -10px);
  width: clamp(150px, 26%, 240px); border: 6px solid var(--paper);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.figstack__inset img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
@media (max-width: 620px) { .figstack__inset { display: none; } }

/* Cutout figure (transparent-background guards) */
.cutout { position: relative; display: grid; place-items: end center; }
.cutout__plate {
  position: absolute; inset: auto 0 0 0; height: 74%;
  background: linear-gradient(160deg, var(--ink-3), var(--ink));
  --notch: clamp(30px, 6vw, 64px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.cutout__plate::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(90,147,220,.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(90,147,220,.09) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cutout img { position: relative; z-index: 1; width: 100%; max-width: 520px; }

/* Feature list with shield ticks */
.ticks { display: grid; gap: .85rem; }
.ticks li { display: flex; gap: .85rem; align-items: flex-start; }
.ticks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: .28rem;
  background: var(--steel);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 50% 100%, 0 58%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4.5 4.5L19 7'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center 32%;
}
.ticks--sash li::before { background-color: var(--sash); }
.section--ink .ticks li, .section--navy .ticks li { color: rgba(255,255,255,.74); }

/* --------------------------------------------------------------------------
   13. Counters
   -------------------------------------------------------------------------- */
.stats { display: grid; gap: 1px; background: var(--line); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--white); padding: clamp(1.4rem, 3vw, 2.2rem); }
.stat__num {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1; letter-spacing: -.035em; color: var(--ink);
  overflow-wrap: anywhere;
}
.stat__num small { font-size: .46em; color: var(--sash); margin-left: .1em; letter-spacing: 0; }
.stat__label {
  margin-top: .6rem; font-family: var(--f-mono); font-size: var(--fs-reg);
  letter-spacing: .15em; text-transform: uppercase; color: var(--slate-2);
  overflow-wrap: anywhere;
}
.section--ink .stats, .section--navy .stats { background: var(--line-dark); }
.section--ink .stat, .section--navy .stat { background: var(--ink); }
.section--navy .stat { background: transparent; backdrop-filter: blur(2px); }
.section--ink .stat__num, .section--navy .stat__num { color: #fff; }
.section--ink .stat__label, .section--navy .stat__label { color: rgba(255,255,255,.55); }

/* --------------------------------------------------------------------------
   14. Service cards
   -------------------------------------------------------------------------- */
.cards { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
/* Fixed counts avoid an orphan on the final row */
.cards--4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px)  { .cards--4 { grid-template-columns: 1fr; } }
@media (min-width: 1040px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }

.scard {
  position: relative; display: block; overflow: hidden; background: var(--ink);
  --notch: 30px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
  isolation: isolate;
}
.scard__img { position: absolute; inset: 0; z-index: 0; }
.scard__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out), filter .5s var(--ease);
  filter: saturate(.82) brightness(.72);
}
.scard::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(6,14,31,.96) 6%, rgba(6,14,31,.62) 42%, rgba(6,14,31,.18) 100%);
  transition: opacity .5s var(--ease);
}
.scard__body {
  position: relative; z-index: 2;
  min-height: clamp(300px, 34vw, 380px);
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: rgba(255,255,255,.72);
}
.scard__code {
  position: absolute; top: clamp(1.2rem, 2.2vw, 1.7rem); left: clamp(1.3rem, 2.4vw, 1.9rem);
  font-family: var(--f-mono); font-size: var(--fs-reg); letter-spacing: .17em;
  color: var(--brass);
}
.scard h3 { color: #fff; margin-bottom: .55rem; }
.scard p { font-size: var(--fs-sm); }
.scard__more {
  margin-top: 1.1rem; display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-display); font-weight: 700; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; color: #fff;
  opacity: 0; transform: translateY(8px);
  transition: opacity .38s var(--ease), transform .38s var(--ease-out);
}
.scard__more svg { width: 14px; height: 14px; }
.scard:hover .scard__img img { transform: scale(1.07); filter: saturate(1) brightness(.8); }
.scard:hover .scard__more { opacity: 1; transform: none; }
.scard::before {
  content: ""; position: absolute; z-index: 2; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--sash); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.scard:hover::before { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   15. USP / icon cards
   -------------------------------------------------------------------------- */
.ucard {
  position: relative; background: var(--white); border: 1px solid var(--line);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  --notch: 22px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
  transition: transform .42s var(--ease-out), box-shadow .42s var(--ease), border-color .3s var(--ease);
  height: 100%;
}
.ucard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.ucard__ico {
  width: 52px; height: 58px; display: grid; place-items: center; margin-bottom: 1.15rem;
  background: linear-gradient(160deg, var(--steel), var(--navy));
  clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%);
  transition: background .4s var(--ease);
}
.ucard__ico svg { width: 24px; height: 24px; color: #fff; margin-bottom: 6px; }
.ucard:hover .ucard__ico { background: linear-gradient(160deg, var(--sash), var(--sash-deep)); }
.ucard h4 { margin-bottom: .55rem; }
.ucard p { font-size: var(--fs-sm); }
.ucard__code {
  position: absolute; top: 1.1rem; right: 1.2rem;
  font-family: var(--f-mono); font-size: var(--fs-reg); letter-spacing: .14em; color: var(--slate-2);
}
.section--ink .ucard, .section--navy .ucard {
  background: rgba(255,255,255,.035); border-color: var(--line-dark);
}
.section--ink .ucard:hover, .section--navy .ucard:hover {
  background: rgba(255,255,255,.07); border-color: var(--line-dark-2); box-shadow: none;
}
.section--ink .ucard p, .section--navy .ucard p { color: rgba(255,255,255,.66); }
.section--ink .ucard__code, .section--navy .ucard__code { color: rgba(255,255,255,.4); }

/* --------------------------------------------------------------------------
   16. Numbered reason rows
   -------------------------------------------------------------------------- */
.reasons { border-top: 1px solid var(--line-dark); }
.reason {
  display: grid; gap: .4rem 1.6rem; align-items: start;
  grid-template-columns: auto 1fr;
  padding-block: clamp(1.3rem, 2.4vw, 1.9rem);
  border-bottom: 1px solid var(--line-dark);
  transition: background .4s var(--ease), padding-left .4s var(--ease-out);
}
.reason:hover { background: rgba(255,255,255,.035); padding-left: .9rem; }
.reason__n {
  font-family: var(--f-mono); font-size: var(--fs-reg); letter-spacing: .16em;
  color: var(--steel-soft); padding-top: .5rem; min-width: 3ch;
}
.reason h4 { color: #fff; }
.reason p { grid-column: 2; font-size: var(--fs-sm); color: rgba(255,255,255,.62); max-width: 62ch; }
@media (max-width: 620px) {
  .reason { grid-template-columns: 1fr; }
  .reason p { grid-column: 1; }
}

/* --------------------------------------------------------------------------
   17. Industries grid
   -------------------------------------------------------------------------- */
.inds { display: grid; gap: 1px; background: var(--line); grid-template-columns: repeat(auto-fit, minmax(min(100%, 216px), 1fr)); }
.ind {
  background: var(--white); padding: clamp(1.35rem, 2.4vw, 1.85rem);
  display: flex; flex-direction: column; gap: .9rem; min-height: 158px;
  position: relative; overflow: hidden;
  transition: background .38s var(--ease);
}
.ind::after {
  content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%;
  background: var(--sash); transform: scaleY(0); transform-origin: top;
  transition: transform .42s var(--ease-out);
}
.ind:hover { background: var(--paper); }
.ind:hover::after { transform: scaleY(1); }
.ind svg {
  width: 27px; height: 27px; color: var(--steel);
  transition: transform .42s var(--ease-out), color .3s var(--ease);
}
.ind:hover svg { transform: translateY(-3px) scale(1.06); color: var(--sash); }
.ind h4 { font-size: .98rem; line-height: 1.3; margin-top: auto; }

/* --------------------------------------------------------------------------
   18. Rail carousel (scroll-snap)
   -------------------------------------------------------------------------- */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(240px, 30vw, 340px);
  gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: .5rem;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: .5rem; margin-top: 1.6rem; }
.rail-btn {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--ink);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.rail-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail-btn[disabled] { opacity: .32; pointer-events: none; }
.rail-btn svg { width: 17px; height: 17px; }
.section--ink .rail-btn, .section--navy .rail-btn { border-color: var(--line-dark-2); color: #fff; }
.section--ink .rail-btn:hover, .section--navy .rail-btn:hover { background: #fff; color: var(--ink); }

.tcard { background: var(--white); border: 1px solid var(--line); overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.tcard__img { overflow: hidden; }
.tcard__img img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.tcard:hover .tcard__img img { transform: scale(1.06); }
.tcard__body { padding: 1.3rem 1.35rem 1.5rem; }
.tcard__body .reg { margin-bottom: .7rem; }
.tcard h4 { margin-bottom: .45rem; }
.tcard p { font-size: var(--fs-sm); }
.section--ink .tcard, .section--navy .tcard { background: rgba(255,255,255,.04); border-color: var(--line-dark); }
.section--ink .tcard p, .section--navy .tcard p { color: rgba(255,255,255,.66); }

/* --------------------------------------------------------------------------
   19. Gallery + lightbox
   -------------------------------------------------------------------------- */
.gal { display: grid; gap: clamp(.5rem, 1vw, .85rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.gal--home { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.gitem {
  position: relative; overflow: hidden; display: block; background: var(--ink-3);
  --notch: 20px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
  transition: clip-path .4s var(--ease);
}
.gitem img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .85s var(--ease-out), filter .45s var(--ease);
}
.gitem::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,14,31,.8), transparent 58%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.gitem__zoom {
  position: absolute; z-index: 2; right: 12px; top: 12px;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--sash); color: #fff;
  opacity: 0; transform: scale(.7) rotate(-25deg);
  transition: opacity .38s var(--ease), transform .42s var(--ease-out);
}
.gitem__zoom svg { width: 17px; height: 17px; }
.gitem:hover img { transform: scale(1.08); }
.gitem:hover::after { opacity: 1; }
.gitem:hover .gitem__zoom { opacity: 1; transform: none; }
.gitem--tall img { aspect-ratio: 3 / 4; }
.gitem--wide { grid-column: span 2; }
@media (max-width: 620px) { .gitem--wide { grid-column: span 1; } }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter {
  padding: .6rem 1.1rem; border: 1px solid var(--line-strong);
  font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .12em;
  text-transform: uppercase; color: var(--slate);
  transition: all var(--dur-fast) var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.lbox {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center;
  background: rgba(6,14,31,.96);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .34s var(--ease), visibility .34s;
  padding: clamp(1rem, 4vw, 3rem);
}
.lbox.is-open { opacity: 1; visibility: visible; }
.lbox__fig { max-width: min(1100px, 92vw); max-height: 84svh; transform: scale(.94); transition: transform .42s var(--ease-out); }
.lbox.is-open .lbox__fig { transform: none; }
.lbox img { max-height: 76svh; width: auto; margin-inline: auto; box-shadow: var(--shadow-lg); }
.lbox figcaption {
  margin-top: 1rem; text-align: center; color: rgba(255,255,255,.66);
  font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .13em; text-transform: uppercase;
}
.lbox__btn {
  position: absolute; width: 50px; height: 50px; display: grid; place-items: center;
  color: #fff; border: 1px solid var(--line-dark-2);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.lbox__btn:hover { background: #fff; color: var(--ink); }
.lbox__btn svg { width: 19px; height: 19px; }
.lbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lbox__prev { left: clamp(.6rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lbox__next { right: clamp(.6rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
@media (max-width: 620px) {
  .lbox__prev { left: 50%; top: auto; bottom: 1rem; transform: translateX(-124%); }
  .lbox__next { right: 50%; top: auto; bottom: 1rem; transform: translateX(124%); }
}

/* --------------------------------------------------------------------------
   20. Testimonials
   -------------------------------------------------------------------------- */
.quotes { position: relative; }
.quote {
  display: none;
  padding-top: clamp(1rem, 3vw, 2rem);
}
.quote.is-active { display: block; animation: quoteIn .6s var(--ease-out); }
@keyframes quoteIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.quote__mark { color: var(--sash); width: 44px; height: 44px; margin-bottom: 1.4rem; }
.quote blockquote {
  font-family: var(--f-display); font-weight: 500; letter-spacing: -.015em;
  font-size: clamp(1.15rem, 2.1vw, 1.72rem); line-height: 1.42; color: #fff;
}
.quote__who { margin-top: 1.8rem; display: flex; align-items: center; gap: 1rem; }
.quote__who img {
  width: 52px; height: 52px; object-fit: cover; border-radius: 50%;
  border: 2px solid var(--line-dark-2); flex: none;
}
.quote__who b { display: block; color: #fff; font-family: var(--f-display); font-size: .98rem; }
.quote__who span {
  font-family: var(--f-mono); font-size: var(--fs-reg); letter-spacing: .13em;
  text-transform: uppercase; color: var(--steel-soft);
}
.quotes__nav { display: flex; align-items: center; gap: .8rem; margin-top: 2.4rem; }
.qdots { display: flex; gap: .45rem; margin-left: auto; }
.qdot { width: 9px; height: 9px; border: 1px solid var(--line-dark-2); transition: all var(--dur-fast) var(--ease); }
.qdot.is-active { background: var(--sash); border-color: var(--sash); transform: rotate(45deg); }

/* --------------------------------------------------------------------------
   21. Service detail (register sidebar + pane)
   -------------------------------------------------------------------------- */
.svc { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 1000px) { .svc { grid-template-columns: 316px 1fr; } }

.register { position: sticky; top: calc(var(--header-h) + 24px); }
.register__hd {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-bottom: .9rem; border-bottom: 2px solid var(--ink);
  margin-bottom: .25rem;
}
.register__hd h2 { font-size: 1.06rem; text-transform: uppercase; letter-spacing: .02em; }
.register__hd span { font-family: var(--f-mono); font-size: var(--fs-reg); letter-spacing: .14em; color: var(--slate-2); }
.register__list { max-height: min(58svh, 560px); overflow-y: auto; scrollbar-width: thin; }
.register__list::-webkit-scrollbar { width: 4px; }
.register__list::-webkit-scrollbar-thumb { background: var(--line-strong); }
.rbtn {
  width: 100%; text-align: left; display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: .85rem;
  padding: .82rem .55rem; border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm); font-weight: 500; color: var(--slate);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease);
}
.rbtn i {
  font-family: var(--f-mono); font-style: normal; font-size: var(--fs-reg);
  letter-spacing: .1em; color: var(--slate-2);
}
.rbtn svg { width: 14px; height: 14px; opacity: 0; transform: translateX(-4px); transition: all var(--dur-fast) var(--ease); }
.rbtn:hover { background: var(--white); color: var(--ink); padding-left: .9rem; }
.rbtn:hover svg { opacity: .5; transform: none; }
.rbtn.is-active { background: var(--ink); color: #fff; padding-left: .9rem; }
.rbtn.is-active i { color: var(--brass); }
.rbtn.is-active svg { opacity: 1; transform: none; color: var(--sash); }

.pane { min-width: 0; }
.pane__media {
  overflow: hidden; background: var(--ink-3);
  --notch: clamp(28px, 4vw, 52px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.pane__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pane.is-swapping { opacity: 0; transform: translateY(10px); }
.pane { transition: opacity .34s var(--ease), transform .34s var(--ease-out); }
.pane h2 { margin-bottom: 1.1rem; }
.pane > p { margin-bottom: 1.1rem; }

.keyfeat {
  margin-top: clamp(1.8rem, 3vw, 2.6rem); background: var(--white);
  border: 1px solid var(--line); border-left: 3px solid var(--sash);
  padding: clamp(1.4rem, 2.6vw, 2rem);
}
.keyfeat h3 {
  font-size: .84rem; font-family: var(--f-mono); font-weight: 500;
  letter-spacing: .17em; text-transform: uppercase; color: var(--ink); margin-bottom: 1.15rem;
}
.keyfeat .ticks li { font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   22. Prose / long-form content
   -------------------------------------------------------------------------- */
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: clamp(2.2rem, 4vw, 3.2rem); }
.prose h3 { margin-top: 2rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { display: grid; gap: .8rem; }
.prose ul li { display: flex; gap: .8rem; }
.prose ul li::before {
  content: ""; flex: none; width: 7px; height: 7px; margin-top: .62rem;
  background: var(--sash);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 50% 100%, 0 58%);
}
.prose ol { counter-reset: p; display: grid; gap: 1rem; }
.prose ol > li { counter-increment: p; display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.prose ol > li::before {
  content: counter(p, decimal-leading-zero);
  font-family: var(--f-mono); font-size: var(--fs-reg); letter-spacing: .12em;
  color: var(--steel); padding-top: .38rem;
}

/* Numbered syllabus modules */
.mods { display: grid; gap: 1px; background: var(--line); }
.mod { background: var(--white); }
.mod__hd {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.1rem;
  padding: clamp(1.15rem, 2.2vw, 1.6rem) clamp(1.1rem, 2.2vw, 1.7rem);
  text-align: left;
}
.mod__n {
  font-family: var(--f-mono); font-size: var(--fs-reg); letter-spacing: .15em; color: var(--steel);
}
.mod__hd h3 { font-size: clamp(1.02rem, 1.5vw, 1.22rem); }
.mod__ico {
  width: 34px; height: 34px; display: grid; place-items: center; flex: none;
  border: 1px solid var(--line-strong); color: var(--ink);
  transition: all .34s var(--ease);
}
.mod__ico svg { width: 15px; height: 15px; transition: transform .34s var(--ease); }
.mod__hd[aria-expanded="true"] .mod__ico { background: var(--sash); border-color: var(--sash); color: #fff; }
.mod__hd[aria-expanded="true"] .mod__ico svg { transform: rotate(45deg); }
.mod__hd:hover .mod__ico { border-color: var(--ink); }
.mod__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s var(--ease-out); }
.mod__body.is-open { grid-template-rows: 1fr; }
.mod__body > div { overflow: hidden; }
.mod__inner { padding: 0 clamp(1.1rem, 2.2vw, 1.7rem) clamp(1.4rem, 2.4vw, 1.9rem) clamp(3.4rem, 5vw, 4.4rem); }
.mod__inner dl { display: grid; gap: .85rem; }
.mod__inner dt {
  font-family: var(--f-display); font-weight: 700; font-size: .96rem; color: var(--ink);
}
.mod__inner dd { font-size: var(--fs-sm); margin-bottom: .35rem; }
.mod__inner .ticks li { font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   23. Certificates
   -------------------------------------------------------------------------- */
.certs { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cert {
  background: var(--white); border: 1px solid var(--line); padding: 1rem;
  display: grid; gap: 1rem; transition: transform .42s var(--ease-out), box-shadow .42s var(--ease);
}
.cert:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cert__img { overflow: hidden; background: var(--paper); display: grid; place-items: center; position: relative; }
.cert__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; transition: transform .6s var(--ease-out); }
.cert:hover .cert__img img { transform: scale(1.03); }
.cert__ft { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 .4rem .4rem; }
.cert__ft h4 { font-size: .96rem; }
.cert__ft span {
  font-family: var(--f-mono); font-size: var(--fs-reg); letter-spacing: .13em;
  text-transform: uppercase; color: var(--slate-2);
}

/* --------------------------------------------------------------------------
   24. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, 1fr); }
.form .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } .form .full { grid-column: 1; } }

.field { display: grid; gap: .5rem; }
.field > label {
  font-family: var(--f-mono); font-size: var(--fs-reg); letter-spacing: .15em;
  text-transform: uppercase; color: var(--slate-2);
}
.field > label .req { color: var(--sash); }
.input, .select, .textarea {
  width: 100%; padding: .92rem 1rem;
  background: var(--white); border: 1px solid var(--line-strong);
  border-radius: var(--radius); color: var(--ink); font-size: var(--fs-body);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--slate-2); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(31,101,189,.14);
}
.textarea { min-height: 148px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356617A' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 16px;
  padding-right: 2.6rem;
}
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--sash); }
.err { font-size: var(--fs-xs); color: var(--sash); display: none; }
.field.has-error .err { display: block; }

.radios { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio span {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .72rem 1.1rem; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: var(--fs-sm); background: var(--white);
  transition: all var(--dur-fast) var(--ease);
}
.radio span::before {
  content: ""; width: 14px; height: 14px; border: 1px solid var(--line-strong); border-radius: 50%;
  transition: all var(--dur-fast) var(--ease);
}
.radio input:checked + span { border-color: var(--ink); color: var(--ink); }
.radio input:checked + span::before { border-color: var(--sash); background: var(--sash); box-shadow: inset 0 0 0 3px #fff; }
.radio input:focus-visible + span { outline: 2px solid var(--steel); outline-offset: 2px; }

.formnote { font-size: var(--fs-xs); color: var(--slate-2); }

/* Spam trap. Positioned away rather than display:none, which bots detect. */
.hp {
  position: absolute !important; left: -9999px !important; top: auto !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
}
.hp input, .hp label {
  width: 1px !important; height: 1px !important; padding: 0 !important;
  border: 0 !important; font-size: 1px !important;
}
.alert {
  display: none; align-items: flex-start; gap: .8rem;
  padding: 1rem 1.15rem; border-left: 3px solid var(--steel);
  background: rgba(31,101,189,.07); font-size: var(--fs-sm); color: var(--ink);
}
.alert.is-shown { display: flex; animation: quoteIn .4s var(--ease-out); }
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--steel); }
.alert--ok { border-color: #16A34A; background: rgba(22,163,74,.08); }
.alert--ok svg { color: #16A34A; }
.alert--bad { border-color: var(--sash); background: rgba(216,35,42,.07); }
.alert--bad svg { color: var(--sash); }
.alert--wait { border-color: var(--brass); background: rgba(201,162,39,.09); }
.alert--wait svg { color: var(--brass); }
.alert__body { display: grid; gap: .8rem; min-width: 0; }
.alert__dump {
  width: 100%; min-height: 132px; resize: vertical;
  font-family: var(--f-mono); font-size: var(--fs-xs); line-height: 1.6;
  padding: .8rem .9rem; border: 1px solid var(--line-strong);
  border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.alert__acts { display: flex; flex-wrap: wrap; gap: .55rem; }

/* Contact cards */
.ccards { display: grid; gap: 1px; background: var(--line); }
.ccard {
  background: var(--white); padding: clamp(1.35rem, 2.4vw, 1.8rem);
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
}
.ccard__ico {
  width: 42px; height: 47px; display: grid; place-items: center; flex: none;
  background: linear-gradient(160deg, var(--steel), var(--navy));
  clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%);
}
.ccard__ico svg { width: 19px; height: 19px; color: #fff; margin-bottom: 5px; }
.ccard h3 {
  font-size: .8rem; font-family: var(--f-mono); font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--slate-2); margin-bottom: .45rem;
}
.ccard a, .ccard p { color: var(--ink); font-weight: 500; }
.ccard a { transition: color var(--dur-fast) var(--ease); display: block; }
.ccard a:hover { color: var(--sash); }
.ccard p { font-size: var(--fs-sm); font-weight: 400; color: var(--slate); }

.mapwrap {
  border: 1px solid var(--line); background: var(--white); padding: 8px;
  --notch: 30px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.mapwrap iframe { width: 100%; height: clamp(300px, 42vw, 460px); border: 0; display: block; filter: grayscale(.28) contrast(1.04); }

/* --------------------------------------------------------------------------
   25. CTA band
   -------------------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(100deg, var(--ink) 20%, var(--navy));
  color: #fff;
}
.cta__bg { position: absolute; inset: 0; z-index: -1; opacity: .2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__in {
  display: grid; gap: clamp(1.6rem, 3vw, 3rem); align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 900px) { .cta__in { grid-template-columns: 1.3fr auto; } }
.cta h2 { color: #fff; }
.cta p { margin-top: .9rem; color: rgba(255,255,255,.76); max-width: 56ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* --------------------------------------------------------------------------
   26. Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255,255,255,.62); position: relative; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(90,147,220,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(90,147,220,.06) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(90% 120% at 12% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(90% 120% at 12% 0%, #000, transparent 70%);
}
.footer__in { position: relative; z-index: 1; padding-block: clamp(3rem, 6vw, 4.75rem) 0; }
.footer__top {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center;
  padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 860px) { .footer__top { grid-template-columns: 1fr auto; } }
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__brand img { width: clamp(76px, 8vw, 96px); }

.footer__call { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__call a {
  display: grid; gap: .3rem;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.05rem, 1.7vw, 1.34rem); color: #fff;
  transition: color var(--dur-fast) var(--ease);
}
.footer__call a:hover { color: var(--brass); }
.footer__call small {
  font-family: var(--f-mono); font-size: var(--fs-reg); letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 400;
}

.footer__cols {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.footer__col h4 {
  color: #fff; font-size: .8rem; font-family: var(--f-mono); font-weight: 500;
  letter-spacing: .17em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.footer__col h4 span { color: var(--sash); }
.footer__col ul { display: grid; gap: .72rem; }
.footer__col a { font-size: var(--fs-sm); transition: color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease); display: inline-block; }
.footer__col a:hover { color: #fff; padding-left: 6px; }
.footer__col p { font-size: var(--fs-sm); }
.footer__addr { font-style: normal; font-size: var(--fs-sm); line-height: 1.75; }
.footer__col .footer__social {
  display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem;
}
.footer__col .footer__social a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: rgba(255,255,255,.72);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.footer__col .footer__social svg { width: 18px; height: 18px; }
.footer__col .footer__social a:hover {
  background: var(--sash); border-color: var(--sash); color: #fff; transform: translateY(-2px);
}
.footer__bar {
  border-top: 1px solid var(--line-dark); padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; align-items: center; justify-content: center;
  text-align: center;
  font-size: var(--fs-xs); color: rgba(255,255,255,.5);
}
.footer__bar a { color: rgba(255,255,255,.72); transition: color var(--dur-fast) var(--ease); }
.footer__bar a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   27. Floating actions
   -------------------------------------------------------------------------- */
.float { position: fixed; right: clamp(.9rem, 2vw, 1.5rem); bottom: clamp(.9rem, 2vw, 1.5rem); z-index: 80; display: grid; gap: .6rem; }
.fbtn {
  width: 50px; height: 50px; display: grid; place-items: center;
  background: var(--ink); color: #fff; box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.fbtn:hover { transform: translateY(-3px); }
.fbtn svg { width: 21px; height: 21px; }
.fbtn--wa { background: #25D366; }
.fbtn--top { opacity: 0; visibility: hidden; transform: translateY(10px); }
.fbtn--top.is-shown { opacity: 1; visibility: visible; transform: none; }
.fbtn--top:hover { background: var(--sash); }

/* --------------------------------------------------------------------------
   28. Reveal system
   -------------------------------------------------------------------------- */
/* Gated on .js-reveal: if JS never runs, content stays visible. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .74s var(--ease-out), transform .74s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js-reveal [data-reveal="left"]  { transform: translateX(-30px); }
.js-reveal [data-reveal="right"] { transform: translateX(30px); }
.js-reveal [data-reveal="scale"] { transform: scale(.955); }
.js-reveal [data-reveal="clip"]  { opacity: 1; clip-path: inset(0 100% 0 0); transform: none; transition: clip-path 1s var(--ease-out); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; clip-path: none; }

.hero.is-ready .hero__title .ln > span {
  animation: lineUp .95s var(--ease-out) forwards;
  animation-delay: calc(.24s + var(--i, 0) * .1s);
}
@keyframes lineUp { to { transform: none; } }
.hero__eyebrow, .hero__lead, .hero__actions, .hero__board {
  opacity: 0; transform: translateY(18px);
}
.hero.is-ready .hero__eyebrow { animation: heroIn .8s var(--ease-out) .08s forwards; }
.hero.is-ready .hero__lead    { animation: heroIn .8s var(--ease-out) .56s forwards; }
.hero.is-ready .hero__actions { animation: heroIn .8s var(--ease-out) .68s forwards; }
.hero.is-ready .hero__board   { animation: heroIn .9s var(--ease-out) .8s forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   29. Utilities
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
.lead { font-size: var(--fs-lead); }
.small { font-size: var(--fs-sm); }
.mono {
  font-family: var(--f-mono); font-size: var(--fs-reg); letter-spacing: .15em; text-transform: uppercase;
}
.muted { color: var(--slate-2); }
.divider { height: 1px; background: var(--line); border: 0; }
.section--ink .divider, .section--navy .divider { background: var(--line-dark); }
.clientlist { display: grid; gap: 1px; background: var(--line-dark); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.clientlist li {
  padding: 1.05rem 1.2rem; font-size: var(--fs-sm); color: rgba(255,255,255,.74);
  display: flex; gap: .75rem; align-items: baseline;
  transition: background var(--dur-fast) var(--ease);
}
.clientlist li:hover { background: rgba(255,255,255,.045); }
.clientlist li::before {
  content: ""; flex: none; width: 6px; height: 6px; background: var(--brass);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 50% 100%, 0 58%);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   30. Accessibility: reduced motion + print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero__title .ln > span { transform: none !important; }
  .hero__eyebrow, .hero__lead, .hero__actions, .hero__board { opacity: 1 !important; transform: none !important; }
  .hero__slide.is-active img { animation: none !important; transform: scale(1.02) !important; }
  .marquee__track { animation: none !important; }
}

@media print {
  .header, .topbar, .float, .drawer, .progress, .hero__nav, .rail-nav, .lbox { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.2rem; }
  .section--ink, .section--navy, .footer, .cta { background: #fff !important; color: #000 !important; }
  .section--ink h2, .section--navy h2, .cta h2 { color: #000 !important; }
  a { text-decoration: underline; }
}
