/* ==========================================================================
   AKINOLA OLUSOLA INTEGRATED SERVICES LIMITED
   Design system + site styles
   --------------------------------------------------------------------------
   BRAND COLOURS LIVE IN ONE PLACE — the :root block below.
   To re-skin the entire site to the exact colours of the company logo,
   change only the four --brand-* values. Nothing else needs editing.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* ---- BRAND — sampled directly from the company letterhead ----
     The AK house monogram uses exactly two colours: a vermilion red and a
     pure navy blue. Everything on this site is derived from them. ---- */
  --brand-navy-deep: #00004F;   /* deepest surface — footer                 */
  --brand-deep:      #000080;   /* THE logo blue — headers, dark sections    */
  --brand-mid:       #2B2BA6;   /* lifted navy — gradients, hovers           */
  --brand-accent:    #F54029;   /* THE logo red — CTAs, rules, numerals      */
  --brand-accent-soft: #FF8B72;  /* lighter red, for dark backgrounds        */
  --brand-blush:     #FEF0F1;   /* the pale tint from inside the logo mark   */

  /* ---- Derived neutrals ---- */
  --ink-950: var(--brand-navy-deep);
  --ink-900: var(--brand-deep);
  --ink-800: #0B0B6B;
  --ink-700: var(--brand-mid);
  --ink-text: #23283D;          /* body copy — navy-tinted, not pure navy    */
  --steel-600: #4A5063;
  --steel-500: #6A7184;
  --steel-400: #939AAC;
  --steel-300: #B7BDCB;
  --line: #E3E5EF;
  --line-strong: #CBD0E0;
  --paper: #FFFFFF;
  --paper-alt: #F6F7FB;
  --paper-alt-2: #ECEEF6;

  --accent: var(--brand-accent);
  --accent-strong: #D62F1A;
  --accent-soft: var(--brand-accent-soft);

  /* ---- Type ---- */
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-display: clamp(2.9rem, 7.2vw, 6.1rem);
  --fs-h1: clamp(2.4rem, 5.2vw, 4.3rem);
  --fs-h2: clamp(2rem, 3.9vw, 3.35rem);
  --fs-h3: clamp(1.4rem, 2.1vw, 1.85rem);
  --fs-h4: clamp(1.15rem, 1.5vw, 1.3rem);
  --fs-body: clamp(1rem, 1.05vw, 1.075rem);
  --fs-small: 0.875rem;
  --fs-mono: 0.72rem;

  /* ---- Space & shape ---- */
  --container: 1240px;
  --container-wide: 1480px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 3px;
  --radius-lg: 5px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 79, .06), 0 2px 8px rgba(0, 0, 79, .05);
  --shadow-md: 0 4px 12px rgba(0, 0, 79, .07), 0 14px 40px rgba(0, 0, 79, .10);
  --shadow-lg: 0 10px 30px rgba(0, 0, 79, .10), 0 30px 80px rgba(0, 0, 79, .18);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --header-h: 84px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  /* reveal animations translate elements off-canvas before they enter;
     clip (not hidden) stops that creating a horizontal scrollbar without
     turning <html> into a scroll container */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.68;
  color: var(--ink-text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.005em;
  margin: 0 0 .5em;
  color: var(--ink-900);
  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); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; line-height: 1.35; }

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

ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: .35em; }

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

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

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

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--paper-alt); }
.section--dark { background: var(--ink-900); color: #C9CEEA; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.stack > * + * { margin-top: 1.15rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #fff; padding: .75rem 1.25rem;
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .12em; text-transform: uppercase;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   4. TYPE HELPERS
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.15rem;
}
.eyebrow::before {
  content: ""; width: 30px; height: 1px; background: currentColor; opacity: .85;
}
.eyebrow--center { justify-content: center; }
.section--dark .eyebrow { color: var(--accent-soft); }

.lead {
  font-size: clamp(1.075rem, 1.5vw, 1.28rem);
  line-height: 1.62;
  color: var(--steel-600);
}
.section--dark .lead { color: #AEB5DD; }

.muted { color: var(--steel-500); }
.section--dark .muted { color: #959CC8; }

.display { font-size: var(--fs-display); font-weight: 700; line-height: .95; letter-spacing: -.015em; }

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.rule {
  width: 56px; height: 3px; background: var(--accent);
  border: 0; margin: 0 0 1.6rem;
}
.rule--center { margin-inline: auto; }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-bottom: 0; }

/* Blueprint grid texture -------------------------------------------------- */
.bp-grid { position: relative; }
.bp-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(0, 0, 128, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 128, .05) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 100%);
}
.section--dark.bp-grid::before {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
}
.bp-grid > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; gap: .7rem;
  padding: 1rem 1.85rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 600; font-size: .93rem;
  letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s ease, color .3s ease, border-color .3s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,.14) inset;
}
.btn svg { width: 15px; height: 15px; flex: none; transition: transform .45s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--accent); }
.btn--primary:hover { --btn-bg: var(--accent-strong); }

.btn--dark { --btn-bg: var(--ink-900); }
.btn--dark:hover { --btn-bg: var(--ink-700); }

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

.btn--ghost-light {
  --btn-bg: transparent; --btn-fg: #fff;
  border-color: rgba(255,255,255,.34);
  backdrop-filter: blur(3px);
}
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--ink-900); border-color: #fff; }

.btn--sm { padding: .68rem 1.25rem; font-size: .8rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

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

.link-arrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: .92rem;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-900);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .5s var(--ease), color .3s ease;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.link-arrow:hover { background-size: 100% 2px; color: var(--accent); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { color: #fff; }

/* --------------------------------------------------------------------------
   6. HEADER + NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background-color .45s var(--ease), height .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.site-header--solid,
.site-header.is-stuck {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(0, 0, 79, .08);
}
.site-header.is-stuck { height: 68px; }

/* Logo lockup ------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: .8rem; flex: none; }
.logo__mark { height: 46px; width: auto; flex: none; transition: height .45s var(--ease); }
.is-stuck .logo__mark { height: 38px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.16rem; letter-spacing: .015em; text-transform: uppercase;
  color: var(--ink-900); white-space: nowrap;
}
.logo__sub {
  font-family: var(--font-mono); font-size: .55rem; font-weight: 500;
  letter-spacing: .245em; text-transform: uppercase;
  color: var(--steel-500); margin-top: 4px; white-space: nowrap;
}

/* Light logo on transparent-over-hero headers */
.site-header:not(.is-stuck):not(.site-header--solid) .logo__name { color: #fff; }
.site-header:not(.is-stuck):not(.site-header--solid) .logo__sub { color: rgba(255,255,255,.72); }
.site-header:not(.is-stuck):not(.site-header--solid) .nav__link { color: rgba(255,255,255,.9); }
.site-header:not(.is-stuck):not(.site-header--solid) .nav__link:hover,
.site-header:not(.is-stuck):not(.site-header--solid) .nav__link[aria-current="page"] { color: #fff; }
.site-header:not(.is-stuck):not(.site-header--solid) .nav-toggle span { background: #fff; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav__link {
  position: relative;
  font-weight: 500; font-size: .935rem;
  letter-spacing: .02em;
  color: var(--steel-600);
  padding: .35rem 0;
  transition: color .3s ease;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__link:hover { color: var(--ink-900); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--ink-900); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  display: none; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  color: var(--steel-600);
}
@media (min-width: 1160px) { .header-phone { display: inline-flex; } }
.site-header:not(.is-stuck):not(.site-header--solid) .header-phone { color: rgba(255,255,255,.82); }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px;
  padding: 0;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--ink-900);
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s ease, background-color .3s ease;
}
.nav-toggle span:nth-child(1) { width: 26px; }
.nav-toggle span:nth-child(2) { width: 19px; }
.nav-toggle span:nth-child(3) { width: 26px; }
.nav-toggle[aria-expanded="true"] span { background: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { width: 26px; transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { width: 26px; transform: translateY(-8px) rotate(-45deg); }

/* Mobile drawer ----------------------------------------------------------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 190;
  background: var(--ink-900);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  clip-path: circle(0% at calc(100% - 44px) 42px);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.mobile-nav.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.mobile-nav__list li { margin: 0; overflow: hidden; }
.mobile-nav__list a {
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 8.5vw, 3rem); line-height: 1.18;
  text-transform: uppercase; color: #fff;
  padding: .18em 0;
  transform: translateY(110%);
  transition: transform .7s var(--ease), color .3s ease;
}
.mobile-nav.is-open .mobile-nav__list a { transform: translateY(0); }
.mobile-nav__list li:nth-child(1) a { transition-delay: .12s; }
.mobile-nav__list li:nth-child(2) a { transition-delay: .18s; }
.mobile-nav__list li:nth-child(3) a { transition-delay: .24s; }
.mobile-nav__list li:nth-child(4) a { transition-delay: .30s; }
.mobile-nav__list li:nth-child(5) a { transition-delay: .36s; }
.mobile-nav__list li:nth-child(6) a { transition-delay: .42s; }
.mobile-nav__list a:hover, .mobile-nav__list a[aria-current="page"] { color: var(--accent-soft); }
.mobile-nav__list .idx {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em;
  color: var(--accent); flex: none;
}
.mobile-nav__foot {
  margin-top: 2.5rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.13);
  color: #A2A9D4; font-size: .92rem;
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s ease .5s, transform .6s var(--ease) .5s;
}
.mobile-nav.is-open .mobile-nav__foot { opacity: 1; transform: translateY(0); }
.mobile-nav__foot a { color: #fff; }

@media (max-width: 1023px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
}

/* --------------------------------------------------------------------------
   7. PAGE TRANSITION CURTAIN
   -------------------------------------------------------------------------- */
.curtain {
  position: fixed; inset: 0; z-index: 900;
  display: grid; grid-template-columns: repeat(5, 1fr);
  pointer-events: none;
}
.curtain__panel {
  background: var(--ink-900);
  transform: scaleY(0); transform-origin: bottom;
  will-change: transform;
}
.curtain__badge {
  position: fixed; inset: 0; z-index: 901;
  display: grid; place-items: center;
  pointer-events: none; opacity: 0;
  transition: opacity .3s ease;
}
.curtain__badge img { height: 74px; width: auto; }

/* JS present: cover the screen immediately, then reveal on load */
html.js .curtain__panel { transform: scaleY(1); transform-origin: top; }
html.js.is-loaded .curtain__panel {
  transform: scaleY(0); transform-origin: top;
  transition: transform .72s var(--ease);
}
html.js.is-loaded .curtain__panel:nth-child(1) { transition-delay: .00s; }
html.js.is-loaded .curtain__panel:nth-child(2) { transition-delay: .06s; }
html.js.is-loaded .curtain__panel:nth-child(3) { transition-delay: .12s; }
html.js.is-loaded .curtain__panel:nth-child(4) { transition-delay: .18s; }
html.js.is-loaded .curtain__panel:nth-child(5) { transition-delay: .24s; }

/* Leaving the page: sweep back up from the bottom */
html.js.is-leaving .curtain__panel {
  transform: scaleY(1); transform-origin: bottom;
  transition: transform .58s var(--ease-in-out);
}
html.js.is-leaving .curtain__panel:nth-child(1) { transition-delay: .00s; }
html.js.is-leaving .curtain__panel:nth-child(2) { transition-delay: .05s; }
html.js.is-leaving .curtain__panel:nth-child(3) { transition-delay: .10s; }
html.js.is-leaving .curtain__panel:nth-child(4) { transition-delay: .15s; }
html.js.is-leaving .curtain__panel:nth-child(5) { transition-delay: .20s; }
html.js.is-leaving .curtain__badge { opacity: 1; transition-delay: .34s; }
html.js.is-leaving body { pointer-events: none; }

/* Content lift-in on arrival */
html.js .page-body { opacity: 0; transform: translateY(18px); }
html.js.is-loaded .page-body {
  opacity: 1; transform: none;
  transition: opacity .7s ease .28s, transform .9s var(--ease) .28s;
}

/* The curtain above is the page transition. Native cross-document view
   transitions are intentionally NOT enabled — running both at once double-
   animates the document and reads as a stutter. */

/* --------------------------------------------------------------------------
   8. SCROLL REVEALS
   -------------------------------------------------------------------------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s var(--ease), transform .95s var(--ease);
}
html.js [data-reveal="left"]  { transform: translateX(-34px); }
html.js [data-reveal="right"] { transform: translateX(34px); }
html.js [data-reveal="zoom"]  { transform: scale(.965); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  html.js [data-reveal="left"],
  html.js [data-reveal="right"] { transform: translateY(24px); }
}

.reveal-lines > * { display: block; }

/* --------------------------------------------------------------------------
   9. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(94vh, 900px);
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  background: var(--ink-950);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.6%, -1.6%, 0); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,45,.70) 0%, rgba(0,0,45,.26) 36%, rgba(0,0,45,.66) 74%, rgba(0,0,45,.92) 100%),
    linear-gradient(100deg, rgba(0,0,102,.84) 0%, rgba(0,0,102,.30) 54%, rgba(0,0,102,.04) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 72%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 72%, transparent);
}

.hero__inner { position: relative; width: 100%; }
.hero__eyebrow { color: var(--accent-soft); }
.hero h1 {
  color: #fff;
  font-size: var(--fs-display);
  line-height: .94;
  letter-spacing: -.018em;
  text-transform: uppercase;
  max-width: 24ch;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  -webkit-text-stroke: 0;
}
.hero__lead {
  max-width: 56ch;
  color: rgba(233, 240, 246, .88);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  margin-bottom: 2.4rem;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.9rem;
  margin-top: 3.4rem; padding-top: 1.7rem;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero__meta div { min-width: 118px; }
.hero__meta .k {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.65rem, 2.9vw, 2.35rem); line-height: 1;
  color: #fff;
}
.hero__meta .v {
  display: block; margin-top: .5rem;
  font-family: var(--font-mono); font-size: .63rem;
  letter-spacing: .17em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(3rem, 6vw, 5.5rem);
  display: none; flex-direction: column; align-items: center; gap: .9rem;
  font-family: var(--font-mono); font-size: .6rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  writing-mode: vertical-rl;
}
@media (min-width: 1100px) { .hero__scroll { display: flex; } }
.hero__scroll::after {
  content: ""; width: 1px; height: 62px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: .35; transform: scaleY(.7); } 50% { opacity: 1; transform: scaleY(1); } }

/* Inner-page hero --------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 7vw, 6.5rem));
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  background: var(--ink-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(0,0,86,.94) 0%, rgba(0,0,86,.64) 48%, rgba(0,0,86,.34) 100%);
}
.page-hero h1 { color: #fff; text-transform: uppercase; max-width: 20ch; margin-bottom: 1.1rem; }
.page-hero .lead { color: rgba(226, 235, 243, .86); max-width: 62ch; }

.breadcrumb {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.6rem;
}
.breadcrumb a { color: rgba(255,255,255,.8); transition: color .3s ease; }
.breadcrumb a:hover { color: var(--accent-soft); }
.breadcrumb span[aria-hidden] { color: var(--accent); }

/* --------------------------------------------------------------------------
   10. STATS
   -------------------------------------------------------------------------- */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.stat {
  padding: clamp(1.9rem, 3.4vw, 3rem) clamp(1rem, 2vw, 2rem);
  border-left: 1px solid var(--line);
  position: relative;
}
.stat:first-child { border-left: 0; }
.stat::after {
  content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: 0;
  background: var(--accent); transition: height .8s var(--ease);
}
.stat:hover::after { height: 100%; }
.stat__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4rem); line-height: .92;
  color: var(--ink-900); letter-spacing: -.02em;
}
.stat__num sup { font-size: .42em; color: var(--accent); top: -1.05em; margin-left: .06em; }
.stat__label {
  margin-top: .85rem;
  font-family: var(--font-mono); font-size: .64rem;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--steel-500);
}
.section--dark .stat { border-color: rgba(255,255,255,.13); }
.section--dark .stat__num { color: #fff; }
.section--dark .stat__label { color: #959CC8; }

/* --------------------------------------------------------------------------
   11. CARDS
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex; flex-direction: column;   /* lets .card__foot pin to the bottom */
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 2.6vw, 2.4rem);
  overflow: hidden;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s ease;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__idx {
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .2em; color: var(--accent);
  margin-bottom: 1.35rem; display: block;
}
.card__icon {
  width: 46px; height: 46px; margin-bottom: 1.4rem;
  color: var(--ink-700);
  transition: color .4s ease, transform .55s var(--ease);
}
.card:hover .card__icon { color: var(--accent); transform: translateY(-3px); }
.card h3 { font-size: 1.28rem; margin-bottom: .7rem; letter-spacing: 0; }
.card p { color: var(--steel-600); font-size: .975rem; margin-bottom: 0; }
.card__foot { margin-top: auto; padding-top: 1.5rem; }

.card--dark {
  background: var(--ink-800); border-color: rgba(255,255,255,.12); color: #B9BFE4;
}
.card--dark h3 { color: #fff; }
.card--dark p { color: #A8AFDA; }

/* Feature list ------------------------------------------------------------ */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li {
  position: relative; padding-left: 1.9rem; margin-bottom: .72rem;
  font-size: .975rem; color: var(--steel-600);
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 10px; height: 10px;
  border: 2px solid var(--accent);
  border-radius: 1px;
  transform: rotate(45deg);
}
.section--dark .ticks li { color: #AEB5DD; }

/* --------------------------------------------------------------------------
   12. SPLIT / MEDIA SECTIONS
   -------------------------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.split--wide-text { grid-template-columns: 1.05fr .95fr; }
.split__media { position: relative; }

.frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.frame:hover img { transform: scale(1.045); }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--square { aspect-ratio: 1; }

.frame__tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--ink-900); color: #fff;
  padding: .85rem 1.35rem;
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .16em; text-transform: uppercase;
}
.frame__tag b { color: var(--accent); font-weight: 500; }

/* Offset image pair ------------------------------------------------------- */
.media-duo { position: relative; padding-bottom: 4rem; padding-right: 3rem; }
.media-duo__main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-duo__main img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.media-duo__sub {
  position: absolute; right: 0; bottom: 0; width: 56%;
  border: 8px solid var(--paper);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.media-duo__sub img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.section--alt .media-duo__sub { border-color: var(--paper-alt); }
.media-duo__badge {
  position: absolute; left: -1.75rem; top: 2.5rem;
  background: var(--accent); color: #fff;
  padding: 1.15rem 1.35rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.media-duo__badge .n {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 2.1rem; line-height: 1;
}
.media-duo__badge .t {
  display: block; margin-top: .3rem;
  font-family: var(--font-mono); font-size: .55rem;
  letter-spacing: .16em; text-transform: uppercase; opacity: .9;
}

/* --------------------------------------------------------------------------
   13. SERVICE ROWS (services page)
   -------------------------------------------------------------------------- */
.svc-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.25rem, 4.5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.svc-row:first-of-type { border-top: 0; padding-top: 0; }
.svc-row:nth-child(even) .svc-row__media { order: -1; }
.svc-row__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1;
  color: var(--line-strong);
  letter-spacing: -.03em;
  margin-bottom: .35rem;
}
.svc-row h2 { font-size: clamp(1.7rem, 2.7vw, 2.3rem); margin-bottom: .9rem; }
.svc-row .chips { margin-top: 1.6rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-block;
  padding: .42rem .8rem;
  background: var(--paper-alt-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-mono); font-size: .63rem;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--steel-600);
}
.section--dark .chip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.13); color: #B7C7D5; }

/* --------------------------------------------------------------------------
   14. PROJECT GALLERY
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}
.filter-btn {
  padding: .62rem 1.15rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--font-mono); font-size: .66rem;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--steel-600);
  cursor: pointer;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.filter-btn:hover { border-color: var(--ink-900); color: var(--ink-900); }
.filter-btn.is-active { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.8vw, 1.5rem); }
/* the site record runs to a hundred-odd photographs — go four across on wide
   screens so the page stays a reasonable length */
@media (min-width: 1240px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gal-item {
  position: relative; display: block;
  border-radius: var(--radius); overflow: hidden;
  background: var(--ink-900);
  cursor: zoom-in;
  transition: opacity .45s ease, transform .45s var(--ease);
}
.gal-item img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 1.1s var(--ease), opacity .5s ease;
}
.gal-item--tall img { aspect-ratio: 3 / 4; }
.gal-item:hover img { transform: scale(1.07); opacity: .78; }
.gal-item__cap {
  position: absolute; inset: auto 0 0 0;
  padding: 2.5rem 1.25rem 1.15rem;
  background: linear-gradient(transparent, rgba(0,0,45,.92));
  color: #fff;
  transform: translateY(8px); opacity: 0;
  transition: transform .5s var(--ease), opacity .4s ease;
}
.gal-item:hover .gal-item__cap { transform: none; opacity: 1; }
.gal-item__cap .t { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; line-height: 1.15; }
.gal-item__cap .s { display: block; margin-top: .3rem; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; color: var(--accent-soft); }
.gal-item.is-hidden { display: none; }

/* Lightbox ---------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 800;
  display: grid; place-items: center;
  background: rgba(0,0,40,.95);
  backdrop-filter: blur(6px);
  padding: clamp(1.5rem, 5vw, 4rem);
  opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%; max-height: 78vh; object-fit: contain;
  border-radius: var(--radius);
  transform: scale(.96); transition: transform .5s var(--ease);
  box-shadow: var(--shadow-lg);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__cap {
  margin-top: 1.25rem; text-align: center;
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .15em; text-transform: uppercase; color: #AEB5DD;
}
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff; width: 48px; height: 48px;
  display: grid; place-items: center; cursor: pointer;
  border-radius: 2px;
  transition: background-color .3s ease, border-color .3s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); border-color: var(--accent); }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__nav--prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   15. PROCESS / TIMELINE
   -------------------------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process__step {
  padding: clamp(1.75rem, 2.8vw, 2.5rem) clamp(1.25rem, 2vw, 2rem);
  border-left: 1px solid rgba(255,255,255,.13);
  position: relative;
}
.process__step:first-child { border-left: 0; padding-left: 0; }
.process__step .n {
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .2em; color: var(--accent);
  display: block; margin-bottom: 1.5rem;
}
.process__step h3 { font-size: 1.28rem; color: #fff; margin-bottom: .6rem; }
.process__step p { color: #A2A9D4; font-size: .95rem; margin: 0; }

.timeline { position: relative; padding-left: 2.6rem; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: .6rem; bottom: .6rem;
  width: 1px; background: var(--line-strong);
}
.timeline__item { position: relative; padding-bottom: 2.4rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -2.6rem; top: .45rem;
  width: 15px; height: 15px; background: var(--paper);
  border: 3px solid var(--accent); border-radius: 50%;
}
.timeline__yr {
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .18em; color: var(--accent);
  display: block; margin-bottom: .45rem;
}
.timeline__item h3 { font-size: 1.24rem; margin-bottom: .45rem; }
.timeline__item p { color: var(--steel-600); font-size: .975rem; margin: 0; }

/* --------------------------------------------------------------------------
   16. CLIENT ROSTER + MARQUEE
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden; position: relative;
  border-block: 1px solid var(--line);
  padding-block: 1.9rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 44s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--steel-400);
  white-space: nowrap;
  transition: color .3s ease;
}
.marquee__item:hover { color: var(--ink-900); }
.section--dark .marquee { border-color: rgba(255,255,255,.12); }
.section--dark .marquee__item { color: rgba(255,255,255,.42); }
.section--dark .marquee__item:hover { color: #fff; }

.roster { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.roster__cell {
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color .4s ease;
  min-height: 128px;
  display: flex; flex-direction: column; justify-content: center;
}
.roster__cell:hover { background: var(--paper-alt); }
.roster__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.16rem; text-transform: uppercase; line-height: 1.16;
  color: var(--ink-900);
}
.roster__meta {
  margin-top: .5rem;
  font-family: var(--font-mono); font-size: .58rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel-400);
}

/* Data table -------------------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%; border-collapse: collapse; min-width: 720px;
  font-size: .95rem;
}
table.data th {
  text-align: left; padding: 1rem 1.15rem;
  background: var(--ink-900); color: #fff;
  font-family: var(--font-mono); font-size: .62rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap;
}
table.data td {
  padding: 1.05rem 1.15rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--steel-600);
}
table.data tr:hover td { background: var(--paper-alt); }
table.data td:first-child { color: var(--ink-900); font-weight: 600; }
table.data .num { font-family: var(--font-mono); font-size: .78rem; color: var(--accent); white-space: nowrap; }

/* --------------------------------------------------------------------------
   17. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink-900);
  padding-block: clamp(4rem, 7.5vw, 7rem);
  color: #fff;
}
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(0,0,79,.97), rgba(0,0,79,.74));
}
.cta-band h2 { color: #fff; text-transform: uppercase; max-width: 18ch; }
.cta-band__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 4vw, 4rem); align-items: end; }

/* --------------------------------------------------------------------------
   18. FORMS
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel-500);
}
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .95rem 1.05rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 1rem;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.field textarea { min-height: 158px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 64, 41, .15);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #C0392B; }
.field .err { font-size: .78rem; color: #C0392B; display: none; }
.field.has-error .err { display: block; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #C0392B; }

.form-note {
  margin-top: 1.15rem;
  font-size: .84rem; color: var(--steel-500);
}
.form-status {
  margin-top: 1.15rem; padding: 1rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: var(--paper-alt);
  font-size: .93rem;
  display: none;
}
.form-status.is-visible { display: block; }

/* Contact cards ----------------------------------------------------------- */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex; gap: 1.15rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.contact-list li:first-child { padding-top: 0; }
.contact-list svg { width: 21px; height: 21px; flex: none; color: var(--accent); margin-top: .3rem; }
.contact-list .k {
  display: block;
  font-family: var(--font-mono); font-size: .6rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel-400); margin-bottom: .35rem;
}
.contact-list .v { display: block; font-weight: 600; color: var(--ink-900); font-size: 1.02rem; }
.contact-list a.v + a.v { margin-top: .2rem; }
.contact-list a.v:hover { color: var(--accent); }

.map-embed {
  width: 100%; aspect-ratio: 16 / 9; border: 0;
  filter: grayscale(1) contrast(1.05);
  transition: filter .6s ease;
}
.map-embed:hover { filter: grayscale(0); }

/* Accordion --------------------------------------------------------------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.2rem; text-transform: uppercase; color: var(--ink-900);
  transition: color .3s ease;
}
.acc__btn:hover { color: var(--accent); }
.acc__btn .ico { position: relative; width: 16px; height: 16px; flex: none; }
.acc__btn .ico::before, .acc__btn .ico::after {
  content: ""; position: absolute; background: var(--accent);
  transition: transform .45s var(--ease);
}
.acc__btn .ico::before { left: 0; top: 7px; width: 16px; height: 2px; }
.acc__btn .ico::after { left: 7px; top: 0; width: 2px; height: 16px; }
.acc__btn[aria-expanded="true"] .ico::after { transform: scaleY(0); }
.acc__panel { overflow: hidden; height: 0; transition: height .5s var(--ease); }
.acc__panel-inner { padding-bottom: 1.6rem; color: var(--steel-600); max-width: 68ch; }

/* --------------------------------------------------------------------------
   19. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink-950); color: #97A0C4; padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.site-footer a { transition: color .3s ease; }
.site-footer a:hover { color: var(--accent-soft); }

.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: 3.5rem; }
.footer-brand .logo__name { color: #fff; }
.footer-brand .logo__sub { color: rgba(255,255,255,.5); }
.footer-brand p { margin-top: 1.5rem; max-width: 38ch; font-size: .95rem; color: #97A0C4; }
.footer-brand .footer-strap {
  margin-top: 1.4rem; margin-bottom: .5rem; max-width: 34ch;
  font-family: var(--font-mono); font-size: .63rem; line-height: 1.75;
  letter-spacing: .13em; text-transform: uppercase; color: var(--accent-soft);
}

.footer-col h4 {
  color: #fff; font-family: var(--font-mono); font-size: .62rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.35rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .7rem; font-size: .95rem; overflow-wrap: anywhere; }
.site-footer a, .contact-list .v { overflow-wrap: anywhere; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  padding-block: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.42);
}

/* --- floating actions: WhatsApp + back to top ----------------------------- */
.float-actions {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 150;
  display: flex; flex-direction: column-reverse; align-items: flex-end; gap: .7rem;
}

.wa-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  height: 54px; padding: 0 1.1rem;
  background: #25D366; color: #fff;
  border-radius: 27px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  font-weight: 600; font-size: .93rem; white-space: nowrap;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s ease;
}
.wa-btn svg { width: 26px; height: 26px; flex: none; }
.wa-btn:hover { background: #1EBE5A; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .28); }
.wa-btn__label { display: none; }
@media (min-width: 900px) { .wa-btn__label { display: inline; } }
@media (max-width: 899px) { .wa-btn { width: 54px; padding: 0; justify-content: center; } }

.to-top {
  position: static;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--ink-900); color: #fff;
  border: 0; border-radius: 2px; cursor: pointer;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .4s ease, transform .5s var(--ease), background-color .3s ease;
  box-shadow: var(--shadow-md);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .wa-btn { transition: none; } }
.to-top:hover { background: var(--accent); }
.to-top svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   20. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .roster { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process__step { border-left: 1px solid rgba(255,255,255,.13); }
  .process__step:first-child { padding-left: clamp(1.25rem, 2vw, 2rem); }
  .process__step:nth-child(odd) { border-left: 0; padding-left: 0; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--wide-text, .svc-row, .cta-band__inner { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-row__media { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section--dark .stat:nth-child(n+3) { border-top-color: rgba(255,255,255,.13); }
  .media-duo { padding-right: 0; padding-bottom: 3rem; }
  .media-duo__badge { left: -.75rem; }
  .cta-band__inner { align-items: start; }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.25rem; }
  .roster { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__meta { gap: 1.4rem 2rem; }
  .hero__meta div { min-width: 40%; }
  .logo__name { font-size: 1rem; }
  .logo__sub { font-size: .5rem; letter-spacing: .2em; }
  .curtain { grid-template-columns: repeat(3, 1fr); }
  .media-duo__sub { width: 62%; }
  .timeline { padding-left: 2.1rem; }
  .timeline__item::before { left: -2.1rem; }
}

/* --------------------------------------------------------------------------
   21. PRINT + MOTION PREFERENCES
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js .page-body { opacity: 1; transform: none; }
  html.js .curtain { display: none; }
}

@media print {
  .site-header, .mobile-nav, .curtain, .float-actions, .hero__scroll, .lightbox { display: none !important; }
  body { color: #000; }
  .section { padding-block: 1.5rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
