/* ═══════════════════════════════════════════════════════════════════════════
   URBAN NAVIS - shared stylesheet
   Independent marine surveying, auditing & consultancy
   Design system: cream + deep navy · silver-grey technical layer · red accent
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  /* surfaces */
  --cream:      #F6F1E7;
  --cream-2:    #EFE8DA;
  --card:       #FBF8F1;
  --navy:       #0F2138;
  --navy-deep:  #0A1726;
  --ink-900:    #060D16;
  --ink-950:    #04090F;

  /* text */
  --ink:        #1B2433;
  --ink-2:      #3A4453;
  --muted:      #6E665A;
  --on-dark:    rgba(255,255,255,.86);
  --on-dark-2:  rgba(255,255,255,.58);
  --on-dark-3:  rgba(255,255,255,.34);

  /* technical / instrument layer */
  --steel:      #8D9AA9;
  --steel-ink:  #78828F;
  --hair:       rgba(255,255,255,.12);
  --hair-2:     rgba(255,255,255,.07);
  --hair-ink:   rgba(20,30,50,.14);
  --hair-ink-2: rgba(20,30,50,.07);

  /* accent - red is the Urban Navis brand mark colour */
  --accent:         #E1251B; /* brand red - marks and fills */
  --accent-on-dark: #F04A40; /* same hue, lifted to 5.3:1 for small labels */
  --accent-deep:    #AF160E; /* on cream */
  --accent-display: #E1251B; /* italic emphasis in headlines */
  --accent-photo:   #E1251B; /* accents that sit on photography */
  --accent-rgb:     225,37,27;
  --accent-photo-rgb: 225,37,27;
  --btn-hover-bg: #FFFFFF;
  --btn-hover-fg: #1B2433;
  --sel-fg:       #FFFFFF;

  /* type */
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono:  'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* surfaces, addressed by role so a whole theme can be swapped at the root */
  --s-deep:   #04090F;   /* page ground, footer, ribbon, CTA band */
  --s-dark:   #060D16;   /* the "dark" content sections */
  --s-navy:   #0A1726;   /* image wells behind photography */
  --s-light:  #F6F1E7;   /* the "light" content sections */
  --s-light2: #EFE8DA;
  --s-card:   #FBF8F1;
  --t-hi:     #FFFFFF;   /* strongest text on a themed surface */

  /* text that sits ON PHOTOGRAPHY - stays light in every theme */
  --on-photo:   rgba(255,255,255,.88);
  --on-photo-2: rgba(255,255,255,.62);
  --on-photo-3: rgba(255,255,255,.40);
  --hero-scrim:  .94;    /* opacity of the darkest stop of the hero gradient */
  --hero-scrim-2:.38;

  /* navigation sits over the hero photograph until it solidifies */
  --nav-bg:       linear-gradient(to bottom, rgba(4,9,15,.88), rgba(4,9,15,0));
  --nav-bg-solid: rgba(4,9,15,.92);
  --nav-fg:       rgba(255,255,255,.58);
  --nav-fg-hi:    #FFFFFF;
  --nav-rule:     rgba(255,255,255,.20);
  --nav-ring:     rgba(255,255,255,.22);
  --logo-filter:  brightness(0) invert(1);

  /* form fields */
  --field-bg:    rgba(255,255,255,.035);
  --field-bg-on: rgba(255,255,255,.06);
  --field-ph:    rgba(255,255,255,.28);

  /* opening sequence */
  --intro-bg:      #04090F;
  --intro-grid:    141,154,169;
  --intro-line:    196,208,222;
  --intro-text:    157,169,182;
  --intro-wake:    160,186,214;
  --intro-skip:    rgba(255,255,255,.32);
  --intro-skip-hi: rgba(255,255,255,.80);

  --grid-line: 141,154,169;

  /* motion */
  --ease:      cubic-bezier(.22,.61,.36,1);
  --ease-out:  cubic-bezier(.16,1,.3,1);

  /* metrics */
  --gutter: 48px;
  --maxw:   1280px;
  --nav-h:  74px;
}

body.theme-gold {
  --accent:         #C9A84C;
  --accent-on-dark: #C9A84C;
  --accent-deep:    #94741F;
  --accent-display: #C9A84C;
  --accent-photo:   #C9A84C;
  --accent-rgb:     201,168,76;
  --accent-photo-rgb: 201,168,76;
}

/* ─── HIGH CONTRAST ──────────────────────────────────────────────────────
   A paper-white reading mode. Every themed surface flips; photography keeps
   its light-on-dark treatment but gains a heavier scrim, so type over an
   image gains contrast here rather than losing it. Set on <html> so the
   inline head script can apply it before first paint. */
html.hc {
  --s-deep:   #FFFFFF;
  --s-dark:   #FFFFFF;
  --s-navy:   #E4DFD4;
  --s-light:  #FFFFFF;
  --s-light2: #F2EEE4;
  --s-card:   #F2EEE4;
  --t-hi:     #05090F;

  --ink:   #05090F;
  --ink-2: #161D27;
  --muted: #2E3844;

  --on-dark:   #10161F;
  --on-dark-2: #2E3844;
  --on-dark-3: #4A5563;

  --on-photo:   rgba(255,255,255,.97);
  --on-photo-2: rgba(255,255,255,.84);
  --on-photo-3: rgba(255,255,255,.70);
  --hero-scrim:   .97;
  --hero-scrim-2: .64;

  --hair:       rgba(10,20,35,.32);
  --hair-2:     rgba(10,20,35,.17);
  --hair-ink:   rgba(10,20,35,.36);
  --hair-ink-2: rgba(10,20,35,.19);

  --accent:         #C41208;
  --accent-on-dark: #A10E06;
  --accent-deep:    #A10E06;
  --accent-display: #A10E06;
  --accent-photo:   #FF6A5E;
  --accent-rgb:     196,18,8;
  --accent-photo-rgb: 255,106,94;

  --nav-bg:       #FFFFFF;
  --nav-bg-solid: #FFFFFF;
  --nav-fg:       #2E3844;
  --nav-fg-hi:    #05090F;
  --nav-rule:     rgba(10,20,35,.32);
  --nav-ring:     rgba(10,20,35,.45);
  --logo-filter:  none;

  --field-bg:    #FFFFFF;
  --field-bg-on: #FFFFFF;
  --field-ph:    #57616F;

  --btn-hover-bg: #05090F;
  --btn-hover-fg: #FFFFFF;
  --sel-fg:       #05090F;

  --intro-bg:      #F4F1EA;
  --intro-grid:    74,86,102;
  --intro-line:    24,36,54;
  --intro-text:    42,52,66;
  --intro-wake:    64,96,138;
  --intro-skip:    rgba(10,20,35,.58);
  --intro-skip-hi: rgba(10,20,35,.95);

  --grid-line: 20,30,50;
  --steel:     #4A5563;
  --steel-ink: #39424E;
}

/* gold accent, re-darkened so it still carries white button text on paper */
html.hc body.theme-gold {
  --accent:         #8A6A10;
  --accent-on-dark: #7A5C0C;
  --accent-deep:    #7A5C0C;
  --accent-display: #7A5C0C;
  --accent-photo:   #E7C86A;
  --accent-rgb:     138,106,16;
  --accent-photo-rgb: 231,200,106;
}

/* the navigation bar is opaque from the first pixel in this mode */
html.hc .nav::after { opacity: 1; }
html.hc .hero-actions .btn--line { border-color: rgba(255,255,255,.5); }

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  background: var(--s-deep);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(var(--accent-rgb), .28); color: var(--sel-fg); }

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

.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 500;
  background: var(--accent); color: #fff; padding: 10px 18px;
  font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.skip-link:focus { top: 16px; }

/* ─── LAYOUT PRIMITIVES ──────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.sec  { position: relative; padding-block: 132px; overflow: hidden; }
.sec-tight { padding-block: 92px; }

.dark  { background: var(--s-dark); color: var(--on-dark); }
.dark-2{ background: var(--s-navy); color: var(--on-dark); }
.light { background: var(--s-light); color: var(--ink); }
.light-2{ background: var(--s-light2); color: var(--ink); }

/* hairline chart grid - the subliminal chart-table layer */
.grid-bg::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(var(--grid-line),.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--grid-line),.06) 1px, transparent 1px);
  background-size: 92px 92px;
  -webkit-mask-image: radial-gradient(128% 86% at 50% 0%, #000 6%, transparent 74%);
          mask-image: radial-gradient(128% 86% at 50% 0%, #000 6%, transparent 74%);
}
.light.grid-bg::before {
  background-image:
    linear-gradient(rgba(var(--grid-line),.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--grid-line),.055) 1px, transparent 1px);
}
.sec > .wrap { position: relative; z-index: 1; }

/* ─── TYPE ───────────────────────────────────────────────────────────────── */
.serif { font-family: var(--serif); font-weight: 400; }

h1, h2, h3, h4 { font-weight: 400; line-height: 1.06; letter-spacing: -.012em; }
em { font-style: italic; color: var(--accent-display); }
.light em, .light-2 em { color: var(--accent-deep); }

.kicker {
  font: 500 11px/1.65 var(--mono);
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--accent-on-dark);
  display: inline-flex; align-items: flex-start; gap: 14px;
}
.kicker::before {
  content: ''; width: 26px; height: 1px; background: currentColor; opacity: .85;
  flex: none; margin-top: .82em;
}
.light .kicker, .light-2 .kicker { color: var(--accent-deep); }

/* small technical readout */
.data {
  font: 400 11px/1.5 var(--mono);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-dark-3);
}
.light .data, .light-2 .data { color: var(--steel-ink); }
.data--b { font-weight: 500; color: var(--on-dark-2); }

.sec-head { max-width: 780px; margin-bottom: 64px; }
.sec-head h1, .sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 62px);
  margin: 22px 0 0;
}
.sec-head p {
  font-size: clamp(16px, 1.35vw, 18px); font-weight: 300; line-height: 1.72;
  color: var(--on-dark-2); margin-top: 24px; max-width: 640px;
}
.light .sec-head p, .light-2 .sec-head p { color: var(--muted); }

/* section index marker - 03 / 07 */
.sec-index {
  position: absolute; top: 44px; right: var(--gutter); z-index: 1;
  font: 400 11px/1 var(--mono); letter-spacing: .22em;
  color: var(--on-dark-3);
}
.light .sec-index, .light-2 .sec-index { color: rgba(20,30,50,.28); }
.sec-index b { font-weight: 500; color: var(--accent-on-dark); }
.light .sec-index b, .light-2 .sec-index b { color: var(--accent-deep); }

/* huge statement type - the second, technical register */
.statement {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(42px, 9vw, 132px); line-height: .92;
  letter-spacing: -.035em; text-transform: uppercase;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 11.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  padding: 17px 30px; position: relative;
  transition: color .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  flex: none; transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.btn:hover i { transform: scale(1.45); }

.btn--fill { background: var(--accent); color: #fff; }
.btn--fill i { background: rgba(255,255,255,.85); }
.btn--fill:hover { background: var(--btn-hover-bg); color: var(--btn-hover-fg); }
.btn--fill:hover i { background: var(--accent); }

.btn--line { border: 1px solid var(--hair); color: var(--on-dark); }
.btn--line:hover { border-color: var(--nav-ring); background: rgba(var(--grid-line),.10); }
.light .btn--line, .light-2 .btn--line { border-color: var(--hair-ink); color: var(--ink); }
.light .btn--line:hover, .light-2 .btn--line:hover { border-color: var(--ink); background: rgba(20,30,50,.03); }

/* text link with a drawn rule */
.link {
  display: inline-flex; align-items: center; gap: 11px;
  font: 500 11.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  padding-bottom: 9px; position: relative; color: inherit;
}
.link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; opacity: .28;
  transform-origin: left; transform: scaleX(1);
  transition: opacity .3s var(--ease), background-color .3s var(--ease);
}
.link:hover::after { opacity: 1; background: var(--accent); }
.link .arw { transition: transform .3s var(--ease); }
.link:hover .arw { transform: translateX(5px); }

/* ─── NAV ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 30px;
  padding-inline: var(--gutter);
  background: var(--nav-bg);
  transition: background-color .4s var(--ease), transform .45s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
}
.nav::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--hair-2); opacity: 0; transition: opacity .4s var(--ease);
}
.nav.is-solid {
  background: var(--nav-bg-solid);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
          backdrop-filter: saturate(140%) blur(14px);
}
.nav.is-solid::after { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }

.nav-logo { flex: none; display: block; }
.nav-logo img {
  height: 30px; width: auto;
  transition: height .3s var(--ease);
  /* The wordmark PNG carries its metallic look in the ALPHA channel over a
     single dark grey; on a dark ground only a full white knock-out stays
     legible. Any brightness lift turns the red dot salmon, so white it is -
     the red dot lives on through the interface instead. */
  filter: var(--logo-filter);
}

.nav-links { display: flex; gap: 34px; margin-left: auto; }
.nav-links a {
  font: 500 11.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  color: var(--nav-fg); position: relative; padding-block: 6px;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--nav-fg-hi); }
.nav-links a:hover::after, .nav-links a.is-here::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.is-here { color: var(--nav-fg-hi); }

.nav-tools { display: flex; align-items: center; gap: 18px; flex: none; }
.lang { display: flex; align-items: center; gap: 4px; }
.lang button {
  font: 500 11px/1 var(--mono); letter-spacing: .06em;
  color: var(--nav-fg); padding: 4px 2px; transition: color .25s;
}
.lang button:hover { color: var(--nav-fg-hi); }
.lang button.is-on { color: var(--accent-on-dark); }
.lang span { color: var(--nav-rule); font-size: 10px; }

.accents { display: flex; gap: 7px; }
.accents button {
  width: 11px; height: 11px; border-radius: 50%;
  box-shadow: 0 0 0 1px var(--nav-ring);
  transition: box-shadow .25s, transform .25s;
}
.accents button:hover { transform: scale(1.15); }
.accents button.is-on { box-shadow: 0 0 0 1px var(--nav-fg-hi), 0 0 0 4px rgba(var(--grid-line),.22); }
.sw-red { background: #E1251B; } .sw-gold { background: #C9A84C; }

/* half-filled disc - the conventional contrast glyph, drawn in CSS */
.contrast {
  width: 16px; height: 16px; border-radius: 50%; flex: none; padding: 0;
  border: 1px solid var(--nav-ring);
  background: linear-gradient(to right, var(--nav-fg-hi) 0 50%, transparent 50% 100%);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.contrast:hover { transform: scale(1.14); border-color: var(--nav-fg-hi); }
html.hc .contrast { background: linear-gradient(to right, transparent 0 50%, var(--nav-fg-hi) 50% 100%); }

.nav-cta { flex: none; padding: 13px 22px; font-size: 11px; }

/* burger */
.burger { display: none; width: 34px; height: 26px; margin-left: auto; position: relative; flex: none; }
.burger span {
  position: absolute; left: 4px; right: 4px; height: 1.5px; background: var(--nav-fg-hi);
  transition: transform .35s var(--ease), opacity .25s;
}
.burger span:nth-child(1) { top: 7px; }
.burger span:nth-child(2) { top: 13px; }
.burger span:nth-child(3) { top: 19px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile sheet */
.sheet {
  position: fixed; inset: 0; z-index: 85; background: var(--s-deep);
  padding: calc(var(--nav-h) + 32px) 26px 40px;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none; transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
  overflow-y: auto; overscroll-behavior: contain;
}
.sheet.is-open { opacity: 1; pointer-events: auto; transform: none; }
.sheet-link {
  font-family: var(--serif); font-size: clamp(30px, 8vw, 42px); color: var(--t-hi);
  padding: 16px 0; border-bottom: 1px solid var(--hair-2);
  display: flex; align-items: baseline; gap: 16px;
}
.sheet-link .n { font: 400 11px/1 var(--mono); color: var(--accent-on-dark); letter-spacing: .16em; }
.sheet-foot { margin-top: auto; padding-top: 34px; display: flex; flex-direction: column; gap: 24px; }
.sheet-foot .nav-tools { justify-content: space-between; }
.sheet-foot .lang button { font-size: 14px; }
.sheet-foot .accents button { width: 14px; height: 14px; }

/* ─── INTRO (art-directed opening) ───────────────────────────────────────── */
.intro { display: none; }
.un-intro .intro {
  display: block; position: fixed; inset: 0; z-index: 200;
  background: var(--intro-bg);
  transition: opacity .62s var(--ease-out);
}
.un-intro .intro.is-out { opacity: 0; pointer-events: none; }
.intro canvas { width: 100%; height: 100%; }
.intro-skip {
  position: absolute; right: 28px; bottom: 26px;
  font: 400 10.5px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase;
  color: var(--intro-skip); padding: 10px 4px;
  transition: color .3s;
}
.intro-skip:hover { color: var(--intro-skip-hi); }

/* the real wordmark, surfacing only at the end of the sequence */
.intro-logo {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: min(300px, 52vw); pointer-events: none;
  filter: var(--logo-filter);
  opacity: 0; transform: translate(-50%, -50%) scale(.985);
  animation: introLogo var(--intro-dur, 2900ms) var(--ease-out) forwards;
}
@keyframes introLogo {
  0%, 68%  { opacity: 0;   transform: translate(-50%, -50%) scale(.985); }
  84%      { opacity: .82; transform: translate(-50%, -50%) scale(1); }
  93%      { opacity: .82; transform: translate(-50%, -50%) scale(1); }
  100%     { opacity: 0;   transform: translate(-50%, -50%) scale(1.012); }
}

/* hero content is only pre-hidden while the intro is actually running */
.un-intro .h-r { opacity: 0; transform: translateY(26px); }
.h-r { transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.un-ready .h-r { opacity: 1; transform: none; }
.un-ready .h-r:nth-child(1) { transition-delay: .04s; }
.un-ready .h-r:nth-child(2) { transition-delay: .13s; }
.un-ready .h-r:nth-child(3) { transition-delay: .24s; }
.un-ready .h-r:nth-child(4) { transition-delay: .34s; }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; background: var(--s-deep);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%;
  will-change: transform;
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(4,9,15,var(--hero-scrim)) 0%, rgba(4,9,15,var(--hero-scrim-2)) 46%, rgba(4,9,15,.62) 100%),
    linear-gradient(to right, rgba(4,9,15,.72) 0%, rgba(4,9,15,0) 58%);
}
.hero-inner { position: relative; z-index: 2; padding-bottom: 64px; padding-top: calc(var(--nav-h) + 40px); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 8.2vw, 118px);
  line-height: .97; letter-spacing: -.022em;
  color: #fff; margin: 26px 0 30px; max-width: 14ch;
}
.hero h1 em { color: var(--accent-photo); }
.hero-lead {
  font-size: clamp(16px, 1.55vw, 20px); font-weight: 300; line-height: 1.68;
  color: var(--on-photo); max-width: 620px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
/* the ghost button and the instrument strip both sit on the photograph */
.hero-actions .btn--line { color: var(--on-photo); border-color: rgba(255,255,255,.28); }
.hero-actions .btn--line:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
.hero-strip.data { color: var(--on-photo-3); }

/* hero instrument strip */
.hero-strip {
  position: relative; z-index: 2;
  border-top: 1px solid var(--hair-2);
  display: flex; align-items: center; gap: 28px;
  padding: 16px 0 20px; flex-wrap: wrap;
}
.hero-strip .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-photo); flex: none;
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .5);
  animation: ping 3.4s var(--ease-out) infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(var(--accent-photo-rgb), .45); }
  70%  { box-shadow: 0 0 0 12px rgba(var(--accent-photo-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-photo-rgb), 0); }
}
.hero-strip .sp { margin-left: auto; }

/* ─── CLIENT RIBBON ──────────────────────────────────────────────────────── */
.ribbon { background: var(--s-deep); border-block: 1px solid var(--hair-2); }
.ribbon-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px 40px; padding-block: 26px; flex-wrap: wrap;
}
.ribbon-list { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.ribbon-list li { list-style: none; }
.ribbon-list span {
  font: 400 11.5px/1 var(--mono); letter-spacing: .15em; text-transform: uppercase;
  color: var(--on-dark-2);
}

/* ─── SERVICES SHOWCASE ──────────────────────────────────────────────────── */
.svc-layout { display: grid; grid-template-columns: 1.02fr .98fr; gap: 76px; align-items: start; }

.svc-list { border-top: 1px solid var(--hair); }
.svc-item {
  display: flex; align-items: baseline; gap: 22px;
  padding: 26px 4px 26px 0; width: 100%; text-align: left;
  border-bottom: 1px solid var(--hair);
  position: relative; transition: padding-left .45s var(--ease);
}
.svc-item::before {
  content: ''; position: absolute; left: 0; top: 50%; margin-top: -3px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  opacity: 0; transform: scale(.4); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.svc-item::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.svc-item .n {
  font: 400 11.5px/1 var(--mono); letter-spacing: .18em;
  color: var(--on-dark-3); flex: none; width: 26px;
  transition: color .35s var(--ease);
}
.svc-item .t {
  font-family: var(--serif); font-size: clamp(24px, 2.5vw, 37px); line-height: 1.08;
  color: var(--on-dark-2); transition: color .35s var(--ease);
}
.svc-item .arw {
  margin-left: auto; font: 400 13px/1 var(--mono);
  color: var(--accent); opacity: 0; transform: translateX(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.svc-item.is-on { padding-left: 22px; }
.svc-item.is-on::before { opacity: 1; transform: scale(1); }
.svc-item.is-on::after { transform: scaleX(1); }
.svc-item.is-on .n { color: var(--accent-on-dark); }
.svc-item.is-on .t { color: var(--t-hi); }
.svc-item.is-on .arw { opacity: 1; transform: none; }

.svc-panel { position: sticky; top: calc(var(--nav-h) + 34px); }
.svc-plate {
  position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--s-navy);
}
.svc-plate img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.045);
  transition: opacity .75s var(--ease-out), transform 1.4s var(--ease-out);
}
.svc-plate img.is-on { opacity: 1; transform: none; }
.svc-plate::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(4,9,15,.72), rgba(4,9,15,0) 52%);
}

/* inspection crop marks */
.marks { position: absolute; inset: 15px; pointer-events: none; z-index: 2; }
.marks::before, .marks::after,
.marks i::before, .marks i::after {
  content: ''; position: absolute; width: 18px; height: 18px;
  border: 1px solid rgba(255,255,255,.42);
}
.marks::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.marks::after  { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.marks i::before { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.marks i::after  { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.plate-read {
  position: absolute; left: 46px; right: 46px; bottom: 19px; z-index: 3;
  display: flex; justify-content: space-between; gap: 16px;
  font: 400 10.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.62);
}

.svc-copy { padding-top: 28px; }
.svc-copy .swap { display: none; }
.svc-copy .swap.is-on { display: block; animation: fadeUp .55s var(--ease-out) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
.svc-copy p {
  font-size: 16px; font-weight: 300; line-height: 1.68; color: var(--on-dark-2);
  max-width: 46ch; margin-bottom: 18px;
}
.svc-copy .tags {
  font: 400 10.5px/1.7 var(--mono); letter-spacing: .17em; text-transform: uppercase;
  color: var(--on-dark-3); margin-bottom: 24px;
}

/* the mobile half of a service row - hidden while the showcase panel is live */
.svc-m { display: none; }

/* ─── SMS FEATURE ────────────────────────────────────────────────────────── */
.sms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.sms-grid h2 { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 58px); margin: 22px 0 26px; }
.sms-lead { font-size: 17px; font-weight: 300; line-height: 1.78; color: var(--muted); margin-bottom: 20px; }
.scope { list-style: none; border-top: 1px solid var(--hair-ink); margin-top: 6px; }
.scope li {
  display: flex; gap: 20px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--hair-ink-2);
  font-size: 15px; font-weight: 300; line-height: 1.55; color: var(--ink-2);
}
.scope li b {
  font: 400 10.5px/1.6 var(--mono); letter-spacing: .16em;
  color: var(--accent-deep); flex: none; width: 26px;
}
.sms-band { position: relative; overflow: hidden; margin-top: 36px; aspect-ratio: 21/9; }
.sms-band img { width: 100%; height: 100%; object-fit: cover; }
.sms-band figcaption {
  position: absolute; left: 26px; bottom: 20px; z-index: 2;
  font: 400 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.sms-band::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,9,15,.78), rgba(4,9,15,0) 62%);
}

/* ─── ABOUT ──────────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 76px; align-items: start; }
.about-grid h2 { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 56px); margin: 22px 0 28px; }
.about-copy p {
  font-size: 17px; font-weight: 300; line-height: 1.82; color: var(--on-dark-2);
  margin-bottom: 20px; max-width: 56ch;
}
.about-copy p strong { font-weight: 500; color: var(--t-hi); }

/* ─── TWO DOMAINS (at sea / ashore) ──────────────────────────────────────
   Equal-weight statement of the two directions the practice works in. */
.diptych { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dip { position: relative; overflow: hidden; aspect-ratio: 4/5; display: block; }
.dip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.dip:hover img { transform: scale(1.045); }
.dip::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,9,15,.95) 0%, rgba(4,9,15,.62) 34%, rgba(4,9,15,.10) 72%);
}
.dip-cap { position: absolute; left: 34px; right: 34px; bottom: 32px; z-index: 2; }
.dip-cap .statement { font-size: clamp(30px, 3.9vw, 56px); color: #fff; margin-bottom: 16px; }
.dip-cap em { color: var(--accent-photo); }
.dip-cap p { font-size: 14.5px; font-weight: 300; line-height: 1.66; color: var(--on-photo-2); max-width: 38ch; }
.dip-cap .tags {
  display: block; margin-top: 16px;
  font: 400 10px/1.7 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-photo-3);
}
.dip-cap .go {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding-bottom: 8px;
  font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-photo);
  border-bottom: 1px solid rgba(var(--accent-photo-rgb), .45);
  transition: border-color .3s var(--ease);
}
.dip:hover .go { border-bottom-color: var(--accent-photo); }

/* credentials ledger */
.ledger { border-top: 1px solid var(--hair); }
.ledger div {
  display: grid; grid-template-columns: 168px 1fr; gap: 20px;
  padding: 13px 0; border-bottom: 1px solid var(--hair-2); align-items: baseline;
}
.ledger dt {
  font: 500 10.5px/1.6 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-dark-3);
}
.ledger dd { font-size: 14.5px; font-weight: 300; line-height: 1.55; color: var(--on-dark); }

.person { display: flex; gap: 22px; align-items: flex-end; margin-bottom: 38px; }
.person-photo { width: 132px; flex: none; position: relative; overflow: hidden; }
.person-photo img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(.2) contrast(1.03); }
.person-meta strong { display: block; font-family: var(--serif); font-size: 23px; color: var(--t-hi); line-height: 1.15; }
.person-meta span {
  display: block; margin-top: 7px;
  font: 400 10.5px/1.6 var(--mono); letter-spacing: .17em; text-transform: uppercase;
  color: var(--accent-on-dark);
}

/* ─── WHY ────────────────────────────────────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair-ink); border-block: 1px solid var(--hair-ink); }
.pillar { background: var(--s-light); padding: 36px 30px 40px; transition: background-color .4s var(--ease); }
.pillar:hover { background: var(--s-card); }
.pillar .n { font: 500 10.5px/1 var(--mono); letter-spacing: .2em; color: var(--accent-deep); }
.pillar h3 { font-family: var(--serif); font-size: 25px; color: var(--navy); margin: 20px 0 14px; line-height: 1.14; }
.pillar p { font-size: 14.5px; font-weight: 300; line-height: 1.7; color: var(--muted); }

/* ─── CONTACT ────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: start; }
.contact-grid h2 { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 56px); margin: 22px 0 24px; }
.contact-lead { font-size: 17px; font-weight: 300; line-height: 1.76; color: var(--on-dark-2); margin-bottom: 36px; max-width: 46ch; }
.c-rows { border-top: 1px solid var(--hair); margin-bottom: 32px; }
.c-row {
  display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--hair-2);
}
.c-row .lbl { font: 500 10.5px/1.6 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-3); }
.c-row .val { font-size: 15.5px; color: var(--on-dark); }
.c-row a:hover { color: var(--accent-on-dark); }

.form { display: flex; flex-direction: column; gap: 18px; }
.form .r2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label {
  display: block; margin-bottom: 9px;
  font: 500 10.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  color: var(--on-dark-3);
}
.form input, .form textarea {
  width: 100%; background: var(--field-bg); border: 1px solid var(--hair);
  color: var(--t-hi); font-family: var(--sans); font-size: 15px; padding: 14px 16px;
  outline: none; transition: border-color .25s, background-color .25s;
}
.form input:focus, .form textarea:focus { border-color: var(--accent); background: var(--field-bg-on); }
.form input::placeholder, .form textarea::placeholder { color: var(--field-ph); }
.form textarea { resize: vertical; min-height: 132px; }
.form button { align-self: flex-start; }
.form-done { border: 1px solid rgba(var(--accent-rgb), .55); background: rgba(var(--accent-rgb), .08); padding: 30px; }
.form-done h4 { font-family: var(--serif); font-size: 24px; color: var(--t-hi); margin-bottom: 8px; }
.form-done p { font-size: 14.5px; font-weight: 300; color: var(--on-dark-2); }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.foot { background: var(--s-deep); color: var(--on-dark-2); padding-top: 96px; position: relative; overflow: hidden; }
.foot-statement {
  font-family: var(--serif); font-size: clamp(38px, 6.6vw, 92px); line-height: 1.02;
  letter-spacing: -.02em; color: var(--t-hi); padding-bottom: 72px;
}
.foot-statement em { color: var(--accent); }
.foot-cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px;
  padding-block: 54px; border-top: 1px solid var(--hair-2);
}
.foot-cols h4 {
  font: 500 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  color: var(--on-dark-3); margin-bottom: 20px;
}
.foot-cols ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-cols a, .foot-cols li { font-size: 14.5px; font-weight: 300; color: var(--on-dark-2); transition: color .25s; }
.foot-cols a:hover { color: var(--t-hi); }
.foot-brand img { height: 27px; filter: var(--logo-filter); margin-bottom: 20px; }
.foot-brand p { font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--on-dark-3); max-width: 30ch; }
.foot-bar {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-block: 24px 30px; border-top: 1px solid var(--hair-2);
  font: 400 10.5px/1.7 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-3);
}
.foot-bar a:hover { color: var(--on-dark); }

/* ─── SERVICE SUB-PAGES ──────────────────────────────────────────────────── */
.sub-hero { position: relative; min-height: 74svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--s-deep); }
.sub-hero-media { position: absolute; inset: 0; }
.sub-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.sub-hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(4,9,15,var(--hero-scrim)) 4%, rgba(4,9,15,var(--hero-scrim-2)) 52%, rgba(4,9,15,.6) 100%),
    linear-gradient(to right, rgba(4,9,15,.78), rgba(4,9,15,0) 62%);
}
.sub-hero-in { position: relative; z-index: 2; padding-top: calc(var(--nav-h) + 72px); padding-bottom: 60px; }
.sub-hero h1 {
  font-family: var(--serif); font-size: clamp(38px, 6.4vw, 88px);
  color: #fff; margin: 22px 0 26px; max-width: 16ch; line-height: .98;   /* on photography */
}
.sub-hero p { font-size: clamp(16px, 1.5vw, 19px); font-weight: 300; line-height: 1.68; color: var(--on-photo); max-width: 620px; }

.crumbs { display: flex; align-items: center; gap: 10px; font: 400 10.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--on-photo-3); }
.crumbs a:hover { color: var(--accent-on-dark); }

.sub-grid { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.sub-block + .sub-block { margin-top: 72px; }
.sub-block h2 {
  font: 500 11px/1.5 var(--mono); letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-on-dark); padding-top: 4px;
}
.sub-block .body > p { font-size: 17px; font-weight: 300; line-height: 1.8; color: var(--on-dark-2); max-width: 62ch; margin-bottom: 18px; }
.sub-list { list-style: none; border-top: 1px solid var(--hair); }
.sub-list li {
  display: grid; grid-template-columns: 30px 1fr; gap: 18px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--hair-2);
  font-size: 15.5px; font-weight: 300; line-height: 1.6; color: var(--on-dark);
}
.sub-list li b { font: 400 10.5px/1.7 var(--mono); letter-spacing: .14em; color: var(--on-dark-3); }

.when { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hair-2); border: 1px solid var(--hair-2); }
.when div { background: var(--s-dark); padding: 26px 26px 30px; }
.when .n { font: 500 10.5px/1 var(--mono); letter-spacing: .2em; color: var(--accent-on-dark); }
.when p { font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--on-dark); margin-top: 14px; }

/* the sub-page block layout, used on a light section (legal pages) */
.light .sub-block h2 { color: var(--accent-deep); }
.light .sub-block .body > p { color: var(--muted); }
.light .sub-list { border-top-color: var(--hair-ink); }
.light .sub-list li { color: var(--ink-2); border-bottom-color: var(--hair-ink-2); }
.light .sub-list li b { color: var(--accent-deep); }

.next-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair-ink); border-top: 1px solid var(--hair-ink); }
.next-svc a { background: var(--s-light); padding: 30px 26px 34px; transition: background-color .35s var(--ease); }
.next-svc a:hover { background: var(--s-card); }
.next-svc .n { font: 500 10.5px/1 var(--mono); letter-spacing: .2em; color: var(--accent-deep); }
.next-svc h3 { font-family: var(--serif); font-size: 24px; color: var(--navy); margin: 16px 0 12px; line-height: 1.16; }
.next-svc p { font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--muted); }

.cta-band { background: var(--s-deep); border-top: 1px solid var(--hair-2); }
.cta-band-in { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; padding-block: 72px; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(30px, 3.8vw, 52px); color: var(--t-hi); max-width: 18ch; }
.cta-band .acts { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── REVEAL SYSTEM ──────────────────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .85s var(--ease-out), transform .95s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-mask { clip-path: inset(0 0 100% 0); transition: clip-path 1.05s var(--ease-out); }
.rv-mask.in { clip-path: inset(0 0 -12% 0); }
.rv-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.15s var(--ease-out); }
.rv-img.in { clip-path: inset(0 0 0 0); }
.rv-img img { transform: scale(1.07); transition: transform 1.5s var(--ease-out); }
.rv-img.in img { transform: none; }
.rv-line { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out); }
.rv-line.in { transform: scaleX(1); }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  :root { --gutter: 34px; }
  .nav-links { display: none; }
  .nav-tools { display: none; }
  .nav > .nav-cta { display: none; }
  /* the contrast switch stays on the bar - it is an accessibility control,
     so it must not disappear into a menu the reader has to find first */
  .nav > .contrast { margin-left: auto; }
  .burger { display: block; margin-left: 14px; }
  .svc-layout { gap: 48px; }
  .about-grid, .contact-grid, .sms-grid { gap: 52px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1000px) {
  .sec { padding-block: 88px; }
  .sec-tight { padding-block: 68px; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-panel { display: none; }
  .svc-list { border-top: 0; }
  .svc-item { flex-wrap: wrap; align-items: center; padding: 30px 0 34px; }
  .svc-item:first-child { padding-top: 0; }
  .svc-item::before, .svc-item .arw { display: none; }
  .svc-item.is-on { padding-left: 0; }
  .svc-item.is-on::after { transform: scaleX(0); }
  .svc-item .n, .svc-item.is-on .n { color: var(--accent-on-dark); }
  .svc-item .t, .svc-item.is-on .t { color: var(--t-hi); font-size: clamp(26px, 6.4vw, 36px); }
  .svc-m { display: block; width: 100%; margin-top: 20px; }
  .svc-m .fig { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--s-navy); }
  .svc-m .fig picture { display: block; height: 100%; }
  .svc-m .fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .svc-m .fig::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(4,9,15,.6), rgba(4,9,15,0) 58%);
  }
  .svc-m .d {
    display: block; font-size: 15px; font-weight: 300; line-height: 1.64;
    color: var(--on-dark-2); margin-top: 18px;
  }
  .svc-m .tags {
    display: block; margin-top: 13px;
    font: 400 10px/1.7 var(--mono); letter-spacing: .16em; text-transform: uppercase;
    color: var(--on-dark-3);
  }
  .svc-m .go {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding-bottom: 8px;
    font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
    color: var(--accent-on-dark); border-bottom: 1px solid rgba(var(--accent-rgb), .5);
  }
  .about-grid, .contact-grid, .sms-grid, .sub-grid { grid-template-columns: 1fr; }
  .sub-grid { gap: 18px; }
  .sub-block h2 { padding-top: 0; }
  .sub-block + .sub-block { margin-top: 56px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .next-svc { grid-template-columns: 1fr; }
  .ledger div { grid-template-columns: 140px 1fr; gap: 14px; }
}
@media (max-width: 720px) {
  :root { --gutter: 22px; --nav-h: 64px; }
  .sec { padding-block: 68px; }
  .sec-index { top: 26px; }
  .hero { min-height: 92svh; }
  .hero h1 { max-width: 11ch; margin: 20px 0 24px; }
  .hero-inner { padding-bottom: 44px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-strip { gap: 8px 16px; padding-block: 14px 16px; font-size: 10px; }
  .hero-strip .sp { margin-left: 0; }
  .kicker { letter-spacing: .2em; font-size: 10px; }
  .sec-head { margin-bottom: 40px; }
  .diptych { grid-template-columns: 1fr; }
  .dip { aspect-ratio: auto; min-height: 480px; }
  .dip-cap { left: 22px; right: 22px; bottom: 26px; }
  .pillars { grid-template-columns: 1fr; }
  .when { grid-template-columns: 1fr; }
  .form .r2 { grid-template-columns: 1fr; }
  .ledger div { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .person { flex-direction: column; align-items: flex-start; gap: 16px; }
  .person-photo { width: 108px; }
  .foot { padding-top: 64px; }
  .foot-statement { padding-bottom: 48px; }
  .foot-cols { grid-template-columns: 1fr; gap: 34px; padding-block: 40px; }
  .foot-bar { flex-direction: column; gap: 10px; }
  .cta-band-in { padding-block: 52px; }
  .intro-skip { right: 20px; bottom: 20px; }
}
@media (max-width: 480px) {
  .hero-strip [data-course] { display: none; }   /* course - kept on the wider strip */
}
@media (max-width: 420px) {
  .nav-logo img { height: 24px; }
}

/* ─── REDUCED MOTION ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .rv, .rv-mask, .rv-img, .rv-line { opacity: 1; transform: none; clip-path: none; }
  .rv-img img { transform: none; }
}

/* ─── PRINT ──────────────────────────────────────────────────────────────── */
@media print {
  .nav, .sheet, .intro, .hero-media, .svc-panel, .form { display: none !important; }
  body { background: #fff; color: #000; }
  .sec { padding-block: 24px; }
}
