/* Securial Group: securialgroup.com
   Brand: navy #1F3864 and slate #5D7890 on white. One family: Plus Jakarta Sans (self-hosted, SIL OFL).
   Everything is readable without JavaScript; motion only runs under prefers-reduced-motion: no-preference. */

/* Static weights cut from the variable font, so every browser (Safari included) renders the same weights */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-800-latin.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1F3864;
  --navy-dark: #172B4E;
  --slate: #5D7890;
  --deep: #14264A;
  --night: #0E1B33;
  --mist: #F1F4F8;
  --mist-2: #E4EAF1;
  --paper: #FFFFFF;
  --ink: #13213A;
  --body: #3D4D62;
  --line: #D6DEE7;
  --field: #8396A8; /* 3:1 against white, for non-text contrast */
  --on-dark: #F2F5F8;
  --on-dark-2: #B9C7D5;
  --line-dark: rgba(255, 255, 255, 0.18);
  --ok: #1E6B45;
  --err: #B3261E;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --section-y: clamp(64px, 8vw, 120px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  color-scheme: light;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
figure { margin: 0; }

h1 {
  font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 800;
}
h2 {
  font-size: clamp(1.875rem, 1.3rem + 2vw, 2.875rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 800;
}
h3 {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--paper);
  border-radius: var(--radius);
  font-weight: 600;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .partner :focus-visible, .join :focus-visible, .site-footer :focus-visible {
  outline-color: var(--on-dark);
}

.text-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(31, 56, 100, 0.35);
  transition: text-decoration-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .text-link:hover { text-decoration-color: var(--navy); }
}

/* Real bullet points */
.bullets { padding-left: 1.2em; list-style: disc; }
.bullets li { padding-left: 4px; margin-top: 8px; color: var(--ink); }
.bullets li::marker { color: var(--slate); font-size: 1.1em; }
.bullets-light li { color: var(--on-dark); }
.bullets-light li::marker { color: var(--on-dark-2); }

/* Tick lists */
.ticks li { display: flex; gap: 12px; margin-top: 12px; color: var(--ink); }
.ic-check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 0.2em;
  fill: none;
  stroke: var(--slate);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }
.btn-navy { background: var(--navy); color: var(--paper); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-light { background: var(--paper); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.6); color: var(--paper); }
@media (hover: hover) and (pointer: fine) {
  .btn-navy:hover { background: var(--navy-dark); }
  .btn-ghost:hover { background: var(--mist); }
  .btn-light:hover { background: var(--mist-2); }
  .btn-ghost-light:hover { border-color: var(--paper); background: rgba(255, 255, 255, 0.1); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
}
.brand-mark { width: 35px; height: 30px; }
.brand-word { width: 128px; height: 19px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  position: relative;
  color: var(--ink);
  font-size: 0.96875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 200ms ease;
}
.nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
}
.nav-phone {
  color: var(--navy);
  font-size: 0.96875rem;
  font-weight: 700;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--slate); }
  .nav-phone:hover { text-decoration: underline; }
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--navy);
  font: inherit;
  font-size: 0.96875rem;
  font-weight: 700;
  cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms var(--ease-out), opacity 150ms ease;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-phone { display: none; }
}
@media (max-width: 960px) {
  .js .menu-btn { display: inline-flex; }
  .js .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100svh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 200ms ease, transform 250ms var(--ease-out), visibility 0s linear 250ms;
  }
  .js .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 200ms ease, transform 250ms var(--ease-out), visibility 0s;
  }
  .js .nav-links { flex-direction: column; gap: 0; }
  .js .nav-links a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.1875rem;
  }
  .js .nav-links a[aria-current="page"]::after { display: none; }
  .js .nav-phone { display: block; padding: 18px 0; font-size: 1.1875rem; }
  .js .site-nav .btn { margin-top: 4px; }
  /* Without JavaScript the links simply wrap under the logo */
  html:not(.js) .site-header { position: static; height: auto; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  html:not(.js) .site-nav { flex-wrap: wrap; gap: 12px 20px; }
  html:not(.js) .nav-links { flex-wrap: wrap; gap: 8px 18px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: max(560px, min(calc(100vh - var(--header-h)), 860px));
  min-height: max(560px, min(calc(100svh - var(--header-h)), 860px));
  padding-top: 72px;
  background: var(--night);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-poster, .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.playing { opacity: 1; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 27, 51, 0.9) 0%, rgba(20, 38, 74, 0.6) 45%, rgba(20, 38, 74, 0.12) 100%),
    linear-gradient(0deg, rgba(14, 27, 51, 0.92) 0%, rgba(14, 27, 51, 0) 45%);
}
.hero-body { padding-bottom: clamp(36px, 5vw, 64px); }
.hero-title {
  max-width: 13ch;
  color: var(--paper);
  font-size: clamp(2.6rem, 1.3rem + 5vw, 5.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero-title .line { padding-bottom: 0.06em; }
.hero-lede {
  max-width: 36rem;
  margin-top: clamp(18px, 2.2vw, 28px);
  color: #DCE4EC;
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 26px;
  background: linear-gradient(var(--line-dark), var(--line-dark)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.hero-creds { display: flex; flex-wrap: wrap; gap: 10px 32px; color: var(--on-dark-2); font-size: 0.9375rem; font-weight: 500; }
.hero-creds li { display: flex; align-items: center; gap: 10px; }
.hero-creds li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--on-dark-2);
  box-shadow: 0 0 0 3px rgba(185, 199, 213, 0.22);
}
.video-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(14, 27, 51, 0.4);
  color: var(--on-dark-2);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.video-toggle[hidden] { display: none; }
.video-toggle:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .video-toggle:hover { color: var(--on-dark); border-color: rgba(255, 255, 255, 0.45); }
}
.vt-icon { position: relative; width: 8px; height: 10px; }
.vt-icon::before, .vt-icon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 2.5px;
  height: 10px;
  background: currentColor;
}
.vt-icon::before { left: 0; }
.vt-icon::after { right: 0; }
.video-toggle[aria-pressed="true"] .vt-icon::before {
  width: 0; height: 0;
  background: none;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
}
.video-toggle[aria-pressed="true"] .vt-icon::after { display: none; }

@media (max-width: 899px) {
  .hero-shade {
    background: linear-gradient(0deg, rgba(14, 27, 51, 0.96) 0%, rgba(14, 27, 51, 0.74) 50%, rgba(14, 27, 51, 0.4) 100%);
  }
  .hero-poster, .hero-video { object-position: 66% 55%; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-creds { flex-direction: column; gap: 8px; }
}
@media (max-width: 440px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Hidden until the intro plays (only with .motion, removed by the safety timer if scripts fail) */
.motion .hero-title, .motion .hero-lede, .motion .hero-actions, .motion .hero-foot { visibility: hidden; }

/* ---------- Section heads ---------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 16px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.section-head p { max-width: 36rem; font-size: 1.125rem; }
@media (max-width: 899px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ---------- Mission ---------- */
.mission { padding: var(--section-y) 0; }
.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  grid-template-areas: "copy figure" "who figure";
  column-gap: clamp(40px, 6vw, 96px);
  row-gap: 36px;
  align-items: start;
}
.mission-copy { grid-area: copy; }
.mission-figure { grid-area: figure; align-self: center; }
.who { grid-area: who; }
.mission-copy h2 { color: var(--slate); font-size: 1.125rem; letter-spacing: 0; font-weight: 700; }
.statement {
  margin-top: 14px;
  color: var(--navy);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.375rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.02em;
}
.mission-copy p + p { margin-top: 18px; }
.mission-copy .statement + p { margin-top: 28px; }
.mission-copy p:not(.statement) { max-width: 40rem; font-size: 1.125rem; }
.mission-figure { overflow: hidden; border-radius: var(--radius); background: var(--night); }
.mission-figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.who h3 { font-size: 1.125rem; color: var(--navy); }
.who .bullets { margin-top: 6px; columns: 2; column-gap: 40px; }
.who .bullets li { break-inside: avoid; margin-top: 0; padding-top: 8px; }
@media (max-width: 899px) {
  .mission-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy copy" "figure who"; column-gap: 32px; }
  .mission-figure { align-self: start; }
  .who .bullets { columns: 1; }
}
@media (max-width: 600px) {
  .mission-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "figure" "who"; row-gap: 28px; }
}

.why-title { margin-top: clamp(56px, 7vw, 96px); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(28px, 3.5vw, 56px);
  margin-top: clamp(24px, 3vw, 40px);
}
.why-item {
  display: flex;
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.why-item .ic-check { width: 24px; height: 24px; margin-top: 1px; stroke: var(--navy); }
.why-item p { margin-top: 6px; }
@media (max-width: 899px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ---------- Credentials ---------- */
.credentials { padding: clamp(32px, 4vw, 48px) 0; background: var(--mist); border-block: 1px solid var(--line); }
.badges {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.badge { display: flex; align-items: center; gap: 14px; }
.badge-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--navy);
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px var(--slate);
}
.badge-mark svg {
  width: 30px; height: 30px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.badge-text { display: flex; flex-direction: column; line-height: 1.35; }
.badge-text strong { color: var(--ink); font-size: 0.9375rem; font-weight: 700; }
.badge-text span { margin-top: 2px; font-size: 0.84375rem; }
@media (max-width: 1100px) {
  .badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .badges { grid-template-columns: 1fr; }
}

/* ---------- Services ---------- */
.services { padding: var(--section-y) 0; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}
.svc-card { display: flex; }
.svc-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  transition: border-color 200ms ease, box-shadow 250ms ease;
}
.svc-img { display: block; overflow: hidden; background: var(--mist-2); }
.svc-img img {
  width: 100%; height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.svc-body p { margin-top: 10px; }
.svc-more {
  margin-top: auto;
  padding-top: 18px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.96875rem;
  text-decoration: underline;
  text-decoration-color: rgba(31, 56, 100, 0.35);
  text-underline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .svc-link:hover { border-color: #B5C3D1; box-shadow: 0 10px 30px -18px rgba(19, 33, 58, 0.45); }
  .svc-link:hover .svc-img img { transform: scale(1.03); }
  .svc-link:hover .svc-more { text-decoration-color: var(--navy); }
}
@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* ---------- Subcontracting band ---------- */
.partner {
  position: relative;
  padding: clamp(80px, 11vw, 160px) 0;
  color: var(--on-dark);
  background: var(--deep);
  isolation: isolate;
  overflow: hidden;
}
.partner-media { position: absolute; inset: 0; z-index: -1; }
.partner-media img { width: 100%; height: 100%; object-fit: cover; }
.partner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 38, 74, 0.94) 0%, rgba(20, 38, 74, 0.8) 55%, rgba(20, 38, 74, 0.55) 100%);
}
.partner h2 { max-width: 16ch; color: var(--paper); }
.partner p { max-width: 38rem; margin-top: 20px; color: #DCE4EC; font-size: 1.1875rem; }

/* ---------- Booking ---------- */
.booking { padding: var(--section-y) 0; background: var(--mist); }
.booking-rail {
  position: relative;
  height: 2px;
  margin-bottom: -2px;
  background: var(--line);
}
.booking-rail-fill {
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform-origin: 0 50%;
}
.motion .booking-rail-fill { transform: scaleX(0); }
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
}
.step { position: relative; padding-top: 30px; }
.step-num {
  position: absolute;
  top: -17px; left: 0;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--mist);
}
.step h3 { margin-top: 8px; }
.step p { margin-top: 8px; font-size: 1rem; }
@media (max-width: 899px) {
  .booking-rail { display: none; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 28px 56px; border-left: 2px solid var(--line); margin-left: 16px; }
  .step:last-child { border-left-color: transparent; padding-bottom: 0; }
  .step-num { top: -4px; left: -18px; }
  .step h3 { margin-top: 0; }
}

/* ---------- Gallery ---------- */
.gallery { padding: var(--section-y) 0; }
.g-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}
.g-item { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--mist); }
.g-item img { width: 100%; height: 100%; object-fit: cover; }
.g-empty {
  display: grid;
  place-items: center;
  border: 1.5px dashed #B5C3D1;
}
.g-empty svg, .c-empty svg {
  width: 36px; height: 36px;
  fill: none;
  stroke: #9AAABB;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 899px) {
  .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Clients ---------- */
.clients { padding: 0 0 var(--section-y); }
.c-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}
.c-item {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.c-item img { max-height: 100%; width: auto; object-fit: contain; }
.c-empty { border: 1.5px dashed #B5C3D1; background: var(--mist); }
@media (max-width: 899px) {
  .c-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .c-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Team ---------- */
.team-teaser { padding: var(--section-y) 0; background: var(--mist); }
.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 40px clamp(40px, 6vw, 96px);
  align-items: center;
}
.team-grid > div > p { margin-top: 18px; max-width: 32rem; font-size: 1.125rem; }
.team-grid .text-link { display: inline-block; margin-top: 20px; }
.people { display: grid; gap: 20px; }
.person {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.person > img, .avatar {
  flex-shrink: 0;
  width: clamp(88px, 10vw, 120px);
  height: clamp(88px, 10vw, 120px);
  border-radius: 50%;
  object-fit: cover;
}
.avatar {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--paper);
  font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.person h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
.person .role { margin-top: 2px; color: var(--slate); font-weight: 700; }
.person-contact { margin-top: 12px; }
.person-contact li + li { margin-top: 4px; }
.person-contact a { color: var(--navy); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
  .person-contact a:hover { text-decoration: underline; }
}
@media (max-width: 899px) {
  .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .person { flex-direction: column; align-items: flex-start; }
}

/* ---------- News ---------- */
.news { padding: var(--section-y) 0; }
.news .section-head p { justify-self: end; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}
.news-card a { display: block; color: inherit; text-decoration: none; }
.news-img { display: block; overflow: hidden; border-radius: var(--radius); background: var(--mist-2); }
.news-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 500ms var(--ease-out); }
.news-card time { display: block; margin-top: 18px; color: var(--slate); font-size: 0.9375rem; font-weight: 600; }
.news-card h2, .news-card h3 { margin-top: 6px; font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
.news-card p { margin-top: 10px; }
.news-card .svc-more { display: inline-block; padding-top: 14px; }
@media (hover: hover) and (pointer: fine) {
  .news-card a:hover .news-img img { transform: scale(1.03); }
  .news-card a:hover .svc-more { text-decoration-color: var(--navy); }
}
@media (max-width: 1000px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .news .section-head p { justify-self: start; }
}

/* ---------- Join band ---------- */
.join { padding: clamp(56px, 7vw, 96px) 0; background: var(--navy); color: var(--on-dark-2); }
.join-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 32px clamp(40px, 6vw, 96px);
  align-items: center;
}
.join h2 { color: var(--paper); }
.join p { margin: 16px 0 28px; max-width: 34rem; color: #DCE4EC; font-size: 1.125rem; }
@media (max-width: 899px) {
  .join-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact { padding: var(--section-y) 0; background: var(--mist); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-copy > p { margin-top: 18px; max-width: 28rem; font-size: 1.125rem; }
.contact-list { margin: 32px 0 0; }
.contact-list div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--body); font-size: 0.9375rem; padding-top: 1px; }
.contact-list dd { margin: 0; color: var(--ink); font-weight: 500; }
.contact-list a { color: var(--navy); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
  .contact-list a:hover { text-decoration: underline; }
}
.follow { margin-top: 32px; color: var(--ink); font-weight: 700; }
.socials { display: flex; gap: 10px; margin-top: 12px; }
.social {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
a.social:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) {
  a.social:hover { background: var(--navy); color: var(--paper); border-color: var(--navy); }
}
.socials-dark .social { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }
@media (hover: hover) and (pointer: fine) {
  .socials-dark a.social:hover { background: var(--paper); color: var(--navy); }
}
@media (max-width: 899px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Forms ---------- */
.form-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: 0.9375rem; font-weight: 600; }
.field label:has(.lbl) { display: grid; gap: 8px; }
.opt { color: var(--body); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--field);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field input, .field select { height: 50px; }
.field textarea { resize: vertical; min-height: 120px; }
.form-card .field textarea { min-height: 140px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231F3864' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31, 56, 100, 0.18);
}
.field [aria-invalid="true"] { border-color: var(--err); }
.field-error { color: var(--err); font-size: 0.875rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.form-note { font-size: 0.9375rem; }
.form-note a { color: var(--navy); }
.form-status { grid-column: 1 / -1; min-height: 1.5em; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { padding: 14px 16px; border-radius: var(--radius); background: #E7F3EC; color: var(--ok); }
.form-status.err { padding: 14px 16px; border-radius: var(--radius); background: #FBEAE9; color: var(--err); }
button[disabled] { opacity: 0.65; cursor: progress; }
@media (max-width: 560px) {
  .form-card { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { padding: clamp(48px, 6vw, 80px) 0 32px; background: var(--deep); color: var(--on-dark-2); font-size: 0.9375rem; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr));
  gap: 40px clamp(24px, 4vw, 56px);
}
.footer-brand p { margin-top: 18px; max-width: 24rem; }
.footer-brand .socials { margin-top: 22px; }
.footer-col h2 { color: var(--paper); font-size: 1rem; letter-spacing: 0; font-weight: 700; }
.footer-col ul { margin-top: 14px; }
.footer-col li + li { margin-top: 8px; }
.footer-col a { color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover { text-decoration: underline; }
  .credit:hover { color: var(--paper); text-decoration: underline; }
}
.footer-base {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}
.legal { max-width: 52rem; font-size: 0.8125rem; line-height: 1.6; }
.credit { flex-shrink: 0; color: var(--on-dark-2); font-size: 0.8125rem; text-decoration: none; }
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-base { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 88px); }
.page-hero-plain { padding-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 40px clamp(40px, 6vw, 88px);
  align-items: center;
}
.page-hero h1 { max-width: 20ch; margin-top: 18px; }
.page-hero p { max-width: 40rem; margin-top: 18px; font-size: 1.125rem; }
.page-hero-img { overflow: hidden; border-radius: var(--radius); background: var(--mist-2); }
.page-hero-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 899px) {
  .page-hero-grid { grid-template-columns: 1fr; }
}

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 0.875rem; }
.crumbs li { display: flex; align-items: center; color: var(--body); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: #9AAABB; }
.crumbs a { color: var(--navy); font-weight: 600; text-decoration: none; }
.crumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
@media (hover: hover) and (pointer: fine) {
  .crumbs a:hover { text-decoration: underline; }
}

.svc-detail { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.svc-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 40px clamp(40px, 6vw, 96px);
}
.svc-detail .ticks { margin-top: 12px; }
.svc-detail .ticks li { margin-top: 14px; font-size: 1.0625rem; }
.svc-detail-grid > div:only-child .ticks { columns: 2; column-gap: 48px; }
.svc-detail-grid > div:only-child .ticks li { break-inside: avoid; }
.svc-detail-grid > div:only-child { grid-column: 1 / -1; }
.svc-suited { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--mist); align-self: start; }
.svc-suited h2 { font-size: 1.375rem; letter-spacing: -0.01em; }
.svc-suited .bullets { margin-top: 10px; }
@media (max-width: 899px) {
  .svc-detail-grid { grid-template-columns: 1fr; }
  .svc-detail-grid > div:only-child .ticks { columns: 1; }
}

.svc-copy { padding: 0 0 var(--section-y); }
.svc-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 56px) clamp(40px, 6vw, 96px);
}
.svc-copy-item { padding-top: 24px; border-top: 2px solid var(--navy); }
.svc-copy-item h2 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); letter-spacing: -0.015em; }
.svc-copy-item p { margin-top: 14px; max-width: 36rem; }
@media (max-width: 899px) {
  .svc-copy-grid { grid-template-columns: 1fr; }
}

.booking-compact .section-head { margin-bottom: clamp(32px, 4vw, 48px); }

.faq { padding: var(--section-y) 0; }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 32px clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: block;
  padding: 20px 44px 20px 0;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 14px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 200ms var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 44px 22px 0; max-width: 46rem; }
@media (max-width: 899px) {
  .faq-grid { grid-template-columns: 1fr; }
}

.other-svc { padding: 0 0 var(--section-y); }
.other-svc h2 { font-size: 1.5rem; letter-spacing: -0.01em; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 200ms ease, background-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .pill-list a:hover { border-color: var(--navy); background: var(--mist); }
}

/* ---------- Team page ---------- */
.board { padding: var(--section-y) 0; }
.board h2 { margin-bottom: clamp(24px, 3vw, 36px); }
.people-board { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.board-bio { max-width: 44rem; margin-top: 28px; font-size: 1.125rem; }
.board-bio p + p { margin-top: 14px; }

/* ---------- Article ---------- */
.article { padding: clamp(32px, 5vw, 64px) 0 var(--section-y); }
.article-wrap { max-width: calc(48rem + 2 * var(--gutter)); }
.article time { display: block; margin-top: 28px; color: var(--slate); font-weight: 700; }
.article h1 { margin-top: 8px; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }
.article-lede { margin-top: 18px; color: var(--ink); font-size: 1.25rem; line-height: 1.55; }
.article-img { margin: 32px 0 8px; overflow: hidden; border-radius: var(--radius); background: var(--mist-2); }
.article-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article-wrap > p:not(.article-lede) { margin-top: 20px; font-size: 1.125rem; }
.article-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }

/* ---------- Apply ---------- */
.apply-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 32px clamp(40px, 6vw, 88px);
  align-items: end;
}
.apply-need { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--mist); }
.apply-need h2 { font-size: 1.25rem; letter-spacing: -0.01em; }
.apply-need .bullets { margin-top: 8px; }
@media (max-width: 899px) {
  .apply-head { grid-template-columns: 1fr; }
}

.apply { padding: clamp(40px, 5vw, 72px) 0 var(--section-y); background: var(--mist); }
.apply-form { max-width: 920px; margin: 0 auto; display: grid; gap: 20px; }
.apply-form fieldset {
  min-width: 0;
  margin: 0;
  padding: clamp(22px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.apply-form legend {
  float: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.apply-form legend + * { clear: both; }
.leg-num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0;
}
.grid-2, .grid-3 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.apply-form .repeater + .field { margin-top: 20px; }
.hint { margin: 18px 0 14px; font-size: 0.9375rem; }
.apply-form fieldset > .hint:first-of-type { margin-top: 0; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
}
.check ~ .check { border-top: 1px solid var(--line); }
.check input {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin: 1px 0 0;
  accent-color: var(--navy);
  cursor: pointer;
}
.check a { color: var(--navy); font-weight: 700; }
.reveal-fields { padding: 4px 0 16px; }
.js .reveal-fields:not(.shown) { display: none; }
#rtw-fields { margin-top: 12px; padding: 0 16px; border-radius: var(--radius); background: var(--mist); }
#sia-fields { padding: 16px; border-radius: var(--radius); background: var(--mist); margin-bottom: 8px; }

.repeater { display: grid; gap: 14px; }
.rep-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.repeater[data-repeater="address"] .rep-row .field-wide { grid-column: 1 / -1; }
.rep-remove {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--err);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.rep-add { justify-self: start; }
.rep-add[hidden] { display: none; }
.js .repeater template { display: none; }
.apply-form > .form-foot { margin-top: 8px; }
.apply-form .form-status { margin: 0; }
@media (max-width: 760px) {
  .grid-2, .grid-3, .rep-row { grid-template-columns: 1fr; }
}

/* ---------- Document pages (privacy, 404, thank you) ---------- */
.doc { padding: clamp(48px, 7vw, 104px) 0 var(--section-y); }
.doc .wrap { max-width: calc(46rem + 2 * var(--gutter)); }
.doc h1 { font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem); line-height: 1.05; }
.doc h2 { margin-top: 48px; font-size: 1.5rem; letter-spacing: -0.012em; }
.doc p, .doc ul { margin-top: 14px; }
.doc ul { padding-left: 1.2em; list-style: disc; }
.doc li { margin-top: 6px; }
.doc li::marker { color: var(--slate); }
.doc a:not(.btn) { color: var(--navy); font-weight: 600; }
.doc .updated { margin-top: 12px; font-size: 0.9375rem; }
.doc .btn { margin-top: 28px; }

/* ---------- Motion (only with .motion) ---------- */
.motion .reveal-img { clip-path: inset(0 0 100% 0); }

@media print {
  .site-header, .hero-media, .video-toggle, .form-card, .partner-media, .menu-btn { display: none; }
  .hero, .partner, .join, .site-footer { background: none; color: #000; }
  .hero-title, .partner h2, .join h2 { color: #000; }
}

/* ---------- Team profile ---------- */
.team-hero { padding-bottom: clamp(28px, 3vw, 44px); }
.profiles { padding: 0 0 var(--section-y); }
.profile {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.profile + .profile { margin-top: var(--section-y); }
.profile-figure {
  max-width: 440px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: 0 1px 2px rgba(14, 27, 51, 0.08), 0 32px 64px -32px rgba(14, 27, 51, 0.5);
}
.profile-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.profile-body h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }
.profile-role { margin-top: 6px; color: var(--slate); font-size: 1.125rem; font-weight: 700; }
.profile-bio { max-width: 36rem; margin-top: 24px; font-size: 1.125rem; }
.profile-bio p + p { margin-top: 14px; }
.profile-contact { margin-top: 28px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 899px) {
  .profile { grid-template-columns: 1fr; }
  .profile-figure { max-width: 420px; }
}
@media (max-width: 440px) {
  .profile-actions .btn { flex: 1 1 100%; }
}

/* ---------- News index: lead story across the full width ---------- */
.news-featured .news-card:first-child { grid-column: 1 / -1; margin-bottom: clamp(8px, 2vw, 24px); }
.news-featured .news-card:first-child a {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: 1fr repeat(4, auto) 1fr;
  column-gap: clamp(24px, 4vw, 56px);
}
.news-featured .news-card:first-child .news-img { grid-column: 1; grid-row: 1 / -1; }
.news-featured .news-card:first-child a > :not(.news-img) { grid-column: 2; justify-self: start; }
.news-featured .news-card:first-child time { grid-row: 2; margin-top: 0; }
.news-featured .news-card:first-child h2 { grid-row: 3; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); line-height: 1.2; }
.news-featured .news-card:first-child p { grid-row: 4; font-size: 1.125rem; }
.news-featured .news-card:first-child .svc-more { grid-row: 5; }
@media (max-width: 760px) {
  .news-featured .news-card:first-child a { display: block; }
  .news-featured .news-card:first-child time { margin-top: 18px; }
}

/* Alex's Web Design credit: a quiet text link in the footer's own type */
.awd-credit {
  color: inherit;
  font-size: 0.8125rem;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 4px;
  transition: text-decoration-color 160ms ease, color 160ms ease;
}
.awd-credit:hover { color: #fff; text-decoration-color: currentColor; }
.awd-credit:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }

/* Home page: the latest three published articles (later ones stay hidden until their date, see _worker.js) */
.news:not(.news-index) .news-card:nth-child(n+4) { display: none; }
