/* S and G Risk Managers — site styles */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette (from the S and G Elementor kit) */
  --navy: #0F101D;
  --navy-deep: #0A0B15;
  --navy-lift: #171A2E;
  --ink: #093A80;
  --ink-bright: #2F6FD0;
  --green: #13C465;
  --green-deep: #0A680A;
  --paper: #F8F3EC;
  --paper-2: #EFE8DC;
  --white: #FFFFFF;
  --text: #4A4848;
  --heading: #0F101D;

  /* Lines */
  --rule: rgba(9, 58, 128, 0.18);
  --rule-strong: rgba(9, 58, 128, 0.42);
  --rule-night: rgba(248, 243, 236, 0.16);
  --rule-night-strong: rgba(248, 243, 236, 0.34);
  --muted-night: rgba(248, 243, 236, 0.74);
  --faint-night: rgba(248, 243, 236, 0.52);

  /* Type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.6rem, 1.25rem + 4.4vw, 5.25rem);
  --fs-h1: clamp(2.35rem, 1.3rem + 3.3vw, 4.25rem);
  --fs-h2: clamp(1.95rem, 1.25rem + 2.2vw, 3.25rem);
  --fs-h3: clamp(1.3rem, 1.1rem + 0.6vw, 1.625rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-note: 0.75rem;

  /* Layout */
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --gap: clamp(16px, 2.2vw, 32px);
  --section: clamp(80px, 10vw, 144px);
  --header-h: 76px;
  --radius: 2px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  scrollbar-color: var(--ink) var(--paper-2);
  scrollbar-width: thin;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--green); color: var(--navy); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 2px solid var(--paper-2); }

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--heading);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.04; }
h2 { font-size: var(--fs-h2); line-height: 1.08; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; font-weight: 650; }
h4 { font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.01em; font-weight: 650; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--ink);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: color 0.2s, text-decoration-color 0.2s;
}
a:not(.btn):hover { color: var(--green-deep); text-decoration-color: currentColor; }

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

.tnum, table, .particulars dd, .phone-big { font-variant-numeric: tabular-nums lining-nums; }

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

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--green); color: var(--navy); padding: 10px 16px; font-weight: 600;
  text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }

/* Chart note: the small-caps annotation voice of the chart */
.cn {
  font-size: var(--fs-note);
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.lead { font-size: var(--fs-lead); line-height: 1.6; }

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--green); --fg: var(--navy); --bd: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 22px 0 24px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd); border-radius: var(--radius);
  font: 600 0.9375rem/1 var(--font); letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.btn .icon { transition: transform 0.35s var(--ease-out); }
.btn:hover, a.btn:hover { --bg: var(--green-deep); --fg: var(--white); --bd: var(--green-deep); color: var(--fg); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --bg: transparent; --fg: var(--paper); --bd: var(--rule-night-strong); }
.btn--ghost:hover { --bg: rgba(248, 243, 236, 0.08); --fg: var(--white); --bd: var(--paper); }
.btn--ink { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); }
.btn--ink:hover { --bg: var(--navy); --bd: var(--navy); }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--rule-strong); }
.btn--line:hover { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 16px 0 18px; font-size: 0.875rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; text-decoration: none; color: var(--ink);
}
.link-arrow .icon { transition: transform 0.35s var(--ease-out); }
.link-arrow:hover { color: var(--green-deep); }
.link-arrow:hover .icon { transform: translateX(4px); }
.night .link-arrow { color: var(--paper); }
.night .link-arrow:hover { color: var(--green); }

/* ---------- Graduated scale (the chart margin) ---------- */

.scale {
  --tick: var(--rule-strong);
  height: 11px;
  border-top: 1px solid var(--tick);
  background:
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 12px) top left / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 120px) top left / 100% 11px no-repeat;
}
.night .scale { --tick: var(--rule-night-strong); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--paper);
  transition: background-color 0.35s var(--ease-out), border-color 0.35s, transform 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header__bar {
  display: flex; align-items: center; gap: 24px;
  height: var(--header-h);
  max-width: calc(var(--wrap) + 40px);
  margin-inline: auto;
  padding-inline: calc(var(--gutter) + 8px);
}
.site-header__bar { margin-top: clamp(12px, 2vw, 24px); }
.site-header.is-solid { background: rgba(15, 16, 29, 0.97); border-bottom-color: var(--rule-night); }
.site-header.is-solid .site-header__bar { margin-top: 0; }

.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 168px; height: auto; }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav a {
  position: relative; display: block; padding: 10px 12px;
  color: var(--muted-night); text-decoration: none;
  font-size: 0.875rem; font-weight: 550; letter-spacing: 0.005em;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--green); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--paper); text-decoration: none; font-weight: 600; font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}
.header-phone:hover { color: var(--green); }

.menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; color: var(--paper); cursor: pointer;
}
.menu-btn .icon { width: 26px; height: 26px; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 60;
  background: var(--navy); color: var(--paper);
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) 32px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0s linear 0.3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease-out); }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); border-bottom: 1px solid var(--rule-night); }
.mobile-nav ul { list-style: none; margin: 16px 0 32px; padding: 0; }
.mobile-nav li { border-bottom: 1px solid var(--rule-night); }
.mobile-nav li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; color: var(--paper); text-decoration: none;
  font-size: 1.5rem; font-weight: 650; letter-spacing: -0.02em;
}
.mobile-nav li a[aria-current="page"] { color: var(--green); }
.mobile-nav__foot { margin-top: auto; display: grid; gap: 12px; }
.mobile-nav__foot .btn { width: 100%; }

@media (max-width: 1180px) {
  .nav a { padding-inline: 9px; }
  .nav a::after { left: 9px; right: 9px; }
  .header-phone span { display: none; }
}
@media (max-width: 1040px) {
  .nav, .header-actions .btn, .header-phone { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .brand img { width: 148px; }
}

/* ---------- Chart frame (hero border with graduated edges) ---------- */

.frame {
  position: absolute; inset: clamp(10px, 2vw, 24px); z-index: 1;
  border: 1px solid var(--rule-night-strong);
  pointer-events: none;
}
.frame__edge { position: absolute; --t: rgba(248, 243, 236, 0.42); }
.frame__edge--top, .frame__edge--bottom {
  left: 0; right: 0; height: 10px;
  background:
    repeating-linear-gradient(90deg, var(--t) 0 1px, transparent 1px 12px) 0 0 / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--t) 0 1px, transparent 1px 120px) 0 0 / 100% 10px no-repeat;
}
.frame__edge--top { top: 0; }
.frame__edge--bottom { bottom: 0; transform: scaleY(-1); }
.frame__edge--left, .frame__edge--right {
  top: 0; bottom: 0; width: 10px;
  background:
    repeating-linear-gradient(180deg, var(--t) 0 1px, transparent 1px 12px) 0 0 / 5px 100% no-repeat,
    repeating-linear-gradient(180deg, var(--t) 0 1px, transparent 1px 120px) 0 0 / 10px 100% no-repeat;
}
.frame__edge--left { left: 0; }
.frame__edge--right { right: 0; transform: scaleX(-1); }
.frame__lab {
  position: absolute; color: var(--faint-night);
  font-size: 0.625rem; letter-spacing: 0.14em; font-weight: 600; font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.frame__lab--t { top: 14px; transform: translateX(-50%); }
.frame__lab--b { bottom: 14px; transform: translateX(-50%); }
.frame__lab--l { left: 16px; transform: rotate(-90deg) translateX(-50%); transform-origin: left top; }
.frame__lab--r { right: 16px; transform: rotate(90deg) translateX(50%); transform-origin: right top; }

@media (max-width: 760px) {
  .frame__lab, .frame__edge--left, .frame__edge--right { display: none; }
}

/* Frame draws in on load */
@media (prefers-reduced-motion: no-preference) {
  .js .frame { animation: frame-in 1.6s var(--ease-out) 0.15s both; }
  .js .frame__edge--top, .js .frame__edge--bottom { animation: tick-x 1.6s var(--ease-out) 0.3s both; }
  .js .frame__edge--left, .js .frame__edge--right { animation: tick-y 1.6s var(--ease-out) 0.3s both; }
}
@keyframes frame-in { from { clip-path: inset(0 100% 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes tick-x { from { background-size: 0% 5px, 0% 10px; } }
@keyframes tick-y { from { background-size: 5px 0%, 10px 0%; } }

/* ---------- Home hero ---------- */

.hero {
  position: relative; isolation: isolate;
  min-height: max(680px, 100svh);
  background: var(--navy) url("../video/hero-poster.jpg") center / cover no-repeat;
  color: var(--paper);
  overflow: hidden;
}
.hero__video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero__wash {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 16, 29, 0.94) 0%, rgba(15, 16, 29, 0.82) 34%, rgba(15, 16, 29, 0.38) 70%, rgba(15, 16, 29, 0.22) 100%),
    linear-gradient(0deg, rgba(15, 16, 29, 0.92) 0%, rgba(15, 16, 29, 0) 42%),
    linear-gradient(180deg, rgba(15, 16, 29, 0.7) 0%, rgba(15, 16, 29, 0) 22%);
}
.hero__inner {
  position: relative; z-index: 2;
  min-height: inherit;
  display: grid; grid-template-rows: 1fr auto;
  padding-top: calc(var(--header-h) + clamp(56px, 9vh, 112px));
  padding-bottom: clamp(36px, 5vw, 60px);
}
.hero__copy { align-self: end; max-width: 780px; padding-bottom: clamp(40px, 6vh, 72px); }
.hero h1 {
  font-size: var(--fs-display); line-height: 1.0; letter-spacing: -0.04em;
  color: var(--white); max-width: 13ch;
}
.hero h1 .accent { color: var(--green); }
.hero__sub {
  margin-top: clamp(20px, 2.5vw, 28px);
  max-width: 60ch; color: var(--muted-night); font-size: var(--fs-lead); line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.5vw, 40px); }
.hero__actions .btn--ghost .film-time { color: var(--faint-night); font-weight: 500; font-variant-numeric: tabular-nums; }

.hero__base {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 40px;
  padding-top: 20px; border-top: 1px solid var(--rule-night);
}
.creds { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.creds__badges { display: flex; gap: 8px; }
.creds__badges img { width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.creds__text { color: var(--muted-night); }
.creds__text b { color: var(--paper); font-weight: 600; }

.hero__tools { display: flex; align-items: center; gap: 12px; }
.motion-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 12px;
  background: transparent; color: var(--faint-night);
  border: 1px solid var(--rule-night); border-radius: var(--radius);
  font: 600 0.6875rem/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
}
.motion-toggle:hover { color: var(--paper); border-color: var(--rule-night-strong); }

.titleblock {
  border: 1px solid var(--rule-night-strong);
  background: rgba(15, 16, 29, 0.82);
  min-width: 300px;
}
.titleblock__head {
  padding: 10px 14px; border-bottom: 1px solid var(--rule-night-strong);
  color: var(--paper);
}
.titleblock dl { display: grid; grid-template-columns: auto 1fr; margin: 0; }
.titleblock dt, .titleblock dd { margin: 0; padding: 7px 14px; border-bottom: 1px solid var(--rule-night); font-size: 0.8125rem; }
.titleblock dt { color: var(--faint-night); border-right: 1px solid var(--rule-night); }
.titleblock dd { color: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.titleblock dl > :nth-last-child(-n + 2) { border-bottom: 0; }

@media (max-width: 860px) {
  .hero__base { grid-template-columns: 1fr; }
  .titleblock { min-width: 0; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2.35rem, 10.5vw, 3rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__wash {
    background:
      linear-gradient(0deg, rgba(15, 16, 29, 0.96) 0%, rgba(15, 16, 29, 0.78) 55%, rgba(15, 16, 29, 0.55) 100%);
  }
}

/* ---------- Inner page hero ---------- */

.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: var(--paper);
  padding-top: calc(var(--header-h) + clamp(72px, 10vw, 128px));
  padding-bottom: clamp(48px, 6vw, 80px);
}
.page-hero__img {
  position: absolute; z-index: -2; top: 0; right: 0; bottom: 0; width: 58%;
  object-fit: cover; height: 100%; opacity: 0.55;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 42%, rgba(15, 16, 29, 0.55) 75%, rgba(15, 16, 29, 0.35) 100%);
}
.page-hero h1 { color: var(--white); max-width: 16ch; }
.page-hero__intro { margin-top: 24px; max-width: 58ch; color: var(--muted-night); font-size: var(--fs-lead); }
.page-hero__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px;
  margin-top: clamp(48px, 7vw, 88px); padding-top: 16px; border-top: 1px solid var(--rule-night);
  color: var(--faint-night);
}
.page-hero__base .crumbs a { color: var(--muted-night); text-decoration: none; }
.page-hero__base .crumbs a:hover { color: var(--green); }
@media (max-width: 760px) {
  .page-hero__img { width: 100%; opacity: 0.22; }
  .page-hero::before { background: linear-gradient(180deg, rgba(15, 16, 29, 0.7), var(--navy)); }
}

/* ---------- Sections ---------- */

.section { position: relative; padding-block: var(--section); }
.paper + .paper { border-top: 1px solid var(--rule-strong); padding-top: clamp(56px, 6vw, 88px); }
.paper:has(+ .paper) { padding-bottom: clamp(56px, 6vw, 88px); }

/* Night variants of paper components */
.night .trio { border-top-color: var(--rule-night-strong); }
.night .trio > div + div { border-left-color: var(--rule-night); }
.night .svc__head .cn { color: var(--faint-night); }
.night .svc__docs a { border-bottom-color: var(--rule-night); }
.night .btn--ink { --bg: var(--green); --fg: var(--navy); --bd: var(--green); }
.night .btn--ink:hover { --bg: var(--green-deep); --fg: var(--white); --bd: var(--green-deep); }
.night .field label { color: var(--paper); }
.night .field label .opt { color: var(--faint-night); }
.night .form__note { color: var(--muted-night); }
.night .form__status { color: var(--paper); }
.night .field input, .night .field select, .night .field textarea { border-color: transparent; }
.night .field.has-error .field__err { color: #FF8A80; }
@media (max-width: 860px) { .night .trio > div, .night .trio > div + div { border-bottom-color: var(--rule-night); } }
/* Graduated edge scales frame every section block */
.section::before, .section::after {
  content: ""; position: absolute; top: 24px; bottom: 24px; width: 10px; pointer-events: none;
  --t: var(--rule-strong);
  background:
    repeating-linear-gradient(180deg, var(--t) 0 1px, transparent 1px 12px) 0 0 / 5px 100% no-repeat,
    repeating-linear-gradient(180deg, var(--t) 0 1px, transparent 1px 120px) 0 0 / 10px 100% no-repeat;
  border-left: 1px solid var(--t);
}
.section::before { left: max(8px, calc((100% - var(--wrap)) / 2 + 8px)); }
.section::after { right: max(8px, calc((100% - var(--wrap)) / 2 + 8px)); transform: scaleX(-1); }
.night.section::before, .night.section::after { --t: var(--rule-night-strong); }
@media (max-width: 760px) { .section::before, .section::after { display: none; } }
.section--tight { padding-block: clamp(64px, 7vw, 104px); }
.paper { background: var(--paper); }
.paper-2 { background: var(--paper-2); }
.white { background: var(--white); }
.night { background: var(--navy); color: var(--muted-night); }
.night h1, .night h2, .night h3, .night h4 { color: var(--white); }
.night a:not(.btn):not(.link-arrow) { color: var(--paper); }
.night a:not(.btn):not(.link-arrow):hover { color: var(--green); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }

.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .scale { margin-bottom: clamp(24px, 3vw, 36px); }
.sec-head__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.sec-head h2 { grid-column: 1 / span 7; }
.sec-head__aside { grid-column: 8 / -1; max-width: 46ch; }
.sec-head__note { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; color: var(--ink); }
.night .sec-head__note { color: var(--faint-night); }
@media (max-width: 900px) {
  .sec-head h2, .sec-head__aside { grid-column: 1 / -1; }
}

/* Particulars (definition table) */
.particulars { margin: 0; border-top: 1px solid var(--rule-strong); }
.particulars > div {
  display: grid; grid-template-columns: minmax(140px, 38%) 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.particulars dt { color: var(--ink); align-self: center; }
.particulars dd { margin: 0; color: var(--heading); font-weight: 600; }
.particulars dd small { display: block; font-weight: 400; color: var(--text); font-size: var(--fs-small); }

/* Intro statement */
.statement { grid-column: 1 / span 6; }
.statement h2 { margin-bottom: 28px; }
.statement .lead { color: var(--text); max-width: 56ch; }
.statement .link-arrow { margin-top: 28px; }
.statement-side { grid-column: 8 / -1; }
@media (max-width: 960px) { .statement, .statement-side { grid-column: 1 / -1; } }

/* ---------- Service classes ---------- */

.feature {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--rule-strong);
}
.feature__media { grid-column: 1 / span 7; position: relative; align-self: start; }
.feature__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature__body { grid-column: 9 / -1; align-self: center; }
.feature__body h3 { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); letter-spacing: -0.03em; margin-bottom: 18px; }
.media-note {
  position: absolute; left: 0; bottom: 0;
  background: var(--navy); color: var(--paper);
  padding: 9px 14px;
}

.covers { list-style: none; margin: 24px 0 28px; padding: 0; border-top: 1px solid var(--rule); }
.covers li {
  display: flex; gap: 14px; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid var(--rule);
  color: var(--heading); font-size: var(--fs-small); font-weight: 550;
}
.covers li::before {
  content: ""; flex: none; width: 7px; height: 7px; transform: translateY(-1px) rotate(45deg);
  border: 1px solid var(--ink);
}
.night .covers { border-color: var(--rule-night); }
.night .covers li { color: var(--paper); border-color: var(--rule-night); }
.night .covers li::before { border-color: var(--green); }

.class-row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap);
  padding-block: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--rule-strong);
}
.class-row__title { grid-column: 1 / span 4; }
.class-row__title h3 { font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem); letter-spacing: -0.03em; }
.class-row__title .cn { color: var(--ink); display: block; margin-top: 14px; }
.class-row__body { grid-column: 5 / span 4; }
.class-row__body .covers { margin-bottom: 20px; }
.class-row__media { grid-column: 10 / -1; }
.class-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 960px) {
  .feature__media, .feature__body { grid-column: 1 / -1; }
  .class-row__title { grid-column: 1 / -1; }
  .class-row__body { grid-column: 1 / span 7; }
  .class-row__media { grid-column: 8 / -1; }
}
@media (max-width: 640px) {
  .class-row__body, .class-row__media { grid-column: 1 / -1; }
  .class-row__media { order: -1; }
}

/* ---------- Route chart ---------- */

.routes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.routes__copy { grid-column: 1 / span 5; }
.routes__copy h2 { margin-bottom: 24px; }
.routes__copy > p { max-width: 46ch; }
.routes__chart { grid-column: 6 / -1; position: relative; }

.dest-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 36px 0 0; padding: 0; list-style: none;
  border-top: 1px solid var(--rule-night); border-left: 1px solid var(--rule-night);
}
.dest-list button {
  width: 100%; display: grid; gap: 4px; text-align: left;
  padding: 12px 14px; min-height: 64px;
  background: transparent; color: var(--paper);
  border: 0; border-right: 1px solid var(--rule-night); border-bottom: 1px solid var(--rule-night);
  font: 600 0.9375rem/1.2 var(--font); cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.dest-list button .cn { color: var(--faint-night); font-size: 0.6875rem; letter-spacing: 0.1em; transition: color 0.25s; }
.dest-list button:hover { background: rgba(248, 243, 236, 0.05); }
.dest-list button[aria-pressed="true"] { background: rgba(19, 196, 101, 0.12); color: var(--green); }
.dest-list button[aria-pressed="true"] .cn { color: rgba(19, 196, 101, 0.85); }

.chart-svg { width: 100%; height: auto; overflow: visible; }
.chart-svg .land { fill: rgba(248, 243, 236, 0.045); stroke: rgba(248, 243, 236, 0.3); stroke-width: 0.8; stroke-linejoin: round; }
.chart-svg .grat { stroke: rgba(248, 243, 236, 0.1); stroke-width: 1; }
.chart-svg .grat-lab { fill: rgba(248, 243, 236, 0.45); font: 600 10px var(--font); letter-spacing: 0.1em; }
.chart-svg .course { fill: none; stroke: rgba(248, 243, 236, 0.32); stroke-width: 1.25; stroke-dasharray: 5 5; transition: stroke 0.3s; }
.chart-svg .course.is-active { stroke: var(--green); stroke-width: 2; stroke-dasharray: none; }
.chart-svg .dest { fill: var(--navy); stroke: rgba(248, 243, 236, 0.7); stroke-width: 1.25; transition: fill 0.3s, stroke 0.3s; }
.chart-svg .dest.is-active { fill: var(--green); stroke: var(--green); }
.chart-svg .dest-lab { fill: rgba(248, 243, 236, 0.7); font: 600 11px var(--font); letter-spacing: 0.08em; text-transform: uppercase; transition: fill 0.3s; }
.chart-svg .dest-lab.is-active { fill: var(--green); }
.chart-svg .origin-ring { fill: none; stroke: var(--green); stroke-width: 1.5; }
.chart-svg .origin { fill: var(--green); }
.chart-svg .origin-lab { fill: var(--white); font: 700 12px var(--font); letter-spacing: 0.06em; }
.chart-svg .sea-lab { fill: rgba(248, 243, 236, 0.3); font: 500 italic 11px var(--font); letter-spacing: 0.32em; text-transform: uppercase; }
.chart-svg .hit { fill: transparent; cursor: pointer; }
.chart-svg .land--home { fill: rgba(248, 243, 236, 0.1); }
.chart-svg .land--dest { transition: fill 0.35s, stroke 0.35s; }
.chart-svg .land--dest.is-active { fill: rgba(19, 196, 101, 0.16); stroke: rgba(19, 196, 101, 0.7); }
@media (max-width: 600px) {
  .chart-svg .dest-lab, .chart-svg .sea-lab { display: none; }
  .chart-svg .dest-lab.is-active { display: block; font-size: 24px; }
  .chart-svg .grat-lab { font-size: 20px; letter-spacing: 0; }
  .chart-svg .origin-lab { font-size: 22px; }
}

.chart-readout {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rule-night);
  color: var(--faint-night);
}
.chart-readout strong { color: var(--green); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .js .routes:not(.is-drawn) .course { stroke-dashoffset: 600; stroke-dasharray: 600; }
  .js .routes.is-drawn .course { transition: stroke-dashoffset 1.6s var(--ease-out), stroke 0.3s; }
}

@media (max-width: 960px) {
  .routes__copy, .routes__chart { grid-column: 1 / -1; }
  .routes__chart { max-width: 640px; margin-top: 16px; }
}
@media (max-width: 520px) {
  .dest-list button { padding: 10px; font-size: 0.875rem; }
  .dest-list button .cn { font-size: 0.6875rem; letter-spacing: 0.02em; }
}

/* ---------- Process (course with waypoints) ---------- */

.course { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); position: relative; margin: 0; padding: 0; list-style: none; }
.course::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--ink);
  transform-origin: left; transform: scaleX(var(--progress, 1));
  transition: transform 1.8s var(--ease-out);
}
.js .course:not(.is-drawn) { --progress: 0; }
.course li { position: relative; padding-top: 44px; padding-right: 12px; }
.course li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 13px; height: 13px; transform: translate(1px, 1px) rotate(45deg);
  background: var(--paper-2); border: 1px solid var(--ink);
}
.course li:last-child::before { background: var(--green); border-color: var(--green-deep); }
.course__n { display: block; font-size: clamp(2.5rem, 2rem + 1.6vw, 3.5rem); font-weight: 300; line-height: 1; color: var(--ink); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.course h3 { margin-bottom: 10px; }
.course p { max-width: 34ch; }
@media (max-width: 760px) {
  .course { grid-template-columns: 1fr; gap: 0; }
  .course::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform: scaleY(var(--progress, 1)); transform-origin: top; }
  .course li { padding: 0 0 36px 44px; }
  .course li::before { top: 4px; }
  .course__n { font-size: 2.25rem; margin-bottom: 10px; }
}

/* ---------- Why (reasons list) ---------- */

.why { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.why__aside { grid-column: 1 / span 5; }
.why__aside-inner { position: sticky; top: calc(var(--header-h) + 32px); }
.why__aside h2 { margin-bottom: 24px; }
.why__aside img { margin-top: 36px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.why__list { grid-column: 7 / -1; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule-strong); }
.why__list li { padding: 28px 0; border-bottom: 1px solid var(--rule); }

.why__list h3 { margin-bottom: 10px; }
.night .why__list { border-top-color: var(--rule-night-strong); }
.night .why__list li { border-bottom-color: var(--rule-night); }
@media (max-width: 960px) {
  .why__aside, .why__list { grid-column: 1 / -1; }
  .why__aside-inner { position: static; }
}


/* ---------- Insurer panel ---------- */

.panel-list {
  columns: 3 260px; column-gap: var(--gap);
  margin: 0; padding: 0; list-style: none;
  border-top: 1px solid var(--rule-strong);
}
.panel-list li {
  break-inside: avoid; display: grid; grid-template-columns: 36px 1fr; gap: 8px;
  padding: 13px 0; border-bottom: 1px solid var(--rule);
  color: var(--heading); font-weight: 600; font-size: var(--fs-small); line-height: 1.4;
}
.panel-list li span:first-child { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.panel-list li small { display: block; color: var(--text); font-weight: 400; font-size: 0.8125rem; }

.partners { margin: clamp(40px, 5vw, 64px) 0 0; }
.partners figcaption { display: flex; justify-content: space-between; gap: 16px; color: var(--ink); padding-bottom: 14px; border-bottom: 1px solid var(--rule); margin-bottom: 20px; }
.partners img {
  width: 100%; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; opacity: 0.78;
  transition: filter 0.6s var(--ease-out), opacity 0.6s;
}
.partners:hover img { filter: none; opacity: 1; }

/* ---------- Contact band ---------- */

.contact-band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.contact-band__copy { grid-column: 1 / span 5; }
.contact-band__copy h2 { margin-bottom: 20px; }
.contact-band__copy .btn { margin-top: 32px; }
.contact-band__lines { grid-column: 7 / -1; }
.phone-big {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--rule-night);
  color: var(--white); text-decoration: none;
  font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 600; letter-spacing: -0.02em;
}
.phone-big:first-child { border-top: 1px solid var(--rule-night-strong); }
.phone-big .cn { color: var(--faint-night); letter-spacing: 0.12em; font-size: 0.6875rem; }
a.phone-big:hover { color: var(--green); }
.contact-band__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.contact-band__meta .cn { display: block; color: var(--faint-night); margin-bottom: 6px; }
.contact-band__meta p, .contact-band__meta a { color: var(--paper); }
@media (max-width: 960px) {
  .contact-band__copy, .contact-band__lines { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .contact-band__meta { grid-template-columns: 1fr; } }

.forms-row { margin-top: clamp(56px, 7vw, 88px); }
.forms-row__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.forms-row__head h3 { font-size: 1.125rem; }
.doc-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule-night); border-left: 1px solid var(--rule-night); }
.doc-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  height: 100%; padding: 16px 16px;
  border-right: 1px solid var(--rule-night); border-bottom: 1px solid var(--rule-night);
  color: var(--paper); text-decoration: none; font-weight: 600; font-size: var(--fs-small);
  transition: background-color 0.25s, color 0.25s;
}
.doc-links a:hover { background: rgba(19, 196, 101, 0.1); color: var(--green); }
.doc-links .cn { color: var(--faint-night); font-size: 0.6875rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: var(--faint-night); padding-top: clamp(64px, 7vw, 96px); font-size: var(--fs-small); }
.site-footer a { color: var(--muted-night); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--gap); padding-bottom: 56px; }
.footer-grid h2 { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper); margin-bottom: 18px; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-brand img { width: 180px; margin-bottom: 22px; }
.footer-brand p { max-width: 34ch; }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-block: 22px; border-top: 1px solid var(--rule-night);
  font-size: 0.8125rem;
}
.social { display: flex; gap: 8px; margin-top: 22px; }
.social a {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 1px solid var(--rule-night); border-radius: var(--radius); color: var(--paper);
}
.social a:hover { border-color: var(--green); color: var(--green); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Film dialog ---------- */

.film {
  width: min(1200px, 100vw - 32px); max-width: none; max-height: none;
  padding: 0; border: 1px solid var(--rule-night-strong); border-radius: 0;
  background: var(--navy); color: var(--paper);
}
.film::backdrop { background: rgba(10, 11, 21, 0.9); }
.film__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--rule-night); }
.film__close {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
  background: none; border: 1px solid var(--rule-night); border-radius: var(--radius);
  color: var(--paper); cursor: pointer; font: 600 0.75rem/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase;
}
.film__close:hover { border-color: var(--green); color: var(--green); }
.film video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
@media (prefers-reduced-motion: no-preference) {
  .film[open] { animation: film-in 0.5s var(--ease-out); }
}
@keyframes film-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Long-form / document layout (About disclosure, Services) ---------- */

.doc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.doc__toc { grid-column: 1 / span 3; }
.doc__toc-inner { position: sticky; top: calc(var(--header-h) + 32px); }
.doc__toc .cn { color: var(--ink); display: block; padding-bottom: 12px; border-bottom: 1px solid var(--rule-strong); }
.doc__toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.doc__toc li { counter-increment: toc; border-bottom: 1px solid var(--rule); }
.doc__toc a {
  display: grid; grid-template-columns: 30px 1fr; padding: 10px 0;
  color: var(--text); text-decoration: none; font-size: 0.875rem; font-weight: 550;
}
.doc__toc a::before { content: counter(toc, decimal-leading-zero); color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 500; }
.doc__toc a:hover, .doc__toc a.is-current { color: var(--heading); }
.doc__toc a.is-current::before { color: var(--green-deep); }
.doc__body { grid-column: 5 / -1; max-width: 760px; }
.doc__sec { padding-bottom: clamp(36px, 4vw, 52px); margin-bottom: clamp(36px, 4vw, 52px); border-bottom: 1px solid var(--rule-strong); }
.doc__sec:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.doc__sec h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 18px; }
.doc__sec h3 { font-size: 1.125rem; margin: 28px 0 10px; }
.doc__sec ul.plain { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.doc__sec ul.plain li { padding: 11px 0; border-bottom: 1px solid var(--rule); color: var(--heading); font-weight: 550; font-size: var(--fs-small); }
.doc__sec ul.plain li small { display: block; color: var(--text); font-weight: 400; font-size: 0.875rem; margin-top: 2px; }
@media (max-width: 960px) {
  .doc__toc { display: none; }
  .doc__body { grid-column: 1 / -1; }
}

/* Focus / Mission / Vision */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule-strong); }
.trio > div { padding: 28px 28px 8px 0; }
.trio > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.trio h3 { margin-bottom: 12px; }
@media (max-width: 860px) {
  .trio { grid-template-columns: 1fr; }
  .trio > div, .trio > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}

/* Sub navigation (Services) */
.subnav {
  position: sticky; top: var(--header-h); z-index: 20;
  background: var(--paper); border-bottom: 1px solid var(--rule-strong);
}
.subnav ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.subnav a {
  display: block; padding: 18px 20px 16px; white-space: nowrap;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.875rem;
  border-bottom: 2px solid transparent;
}
.subnav li:first-child a { padding-left: 0; }
.subnav a:hover { color: var(--heading); }
.subnav a.is-current { color: var(--heading); border-bottom-color: var(--green); }

.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.svc__head { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.svc__head h2 { grid-column: 1 / span 7; }
.svc__head .cn { grid-column: 9 / -1; color: var(--ink); text-align: right; }
.svc__media { grid-column: 1 / -1; position: relative; margin-bottom: clamp(32px, 4vw, 56px); }
.svc__media img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.svc__text { grid-column: 1 / span 7; }
.svc__text p { max-width: 64ch; }
.svc__side { grid-column: 9 / -1; }
.svc__side h3 { font-size: 1rem; letter-spacing: 0; margin-bottom: 0; padding-bottom: 12px; }
.svc__side .covers { margin-top: 0; }
.svc__side .btn { width: 100%; }
.svc__docs { margin-top: 28px; }
.svc__docs a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; font-size: var(--fs-small); }
@media (max-width: 960px) {
  .svc__head h2, .svc__head .cn { grid-column: 1 / -1; text-align: left; }
  .svc__text, .svc__side { grid-column: 1 / -1; }
  .svc__media img { aspect-ratio: 16 / 9; }
}

/* Reasons (Why Us page) */
.lead-reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-night-strong); }
.lead-reasons > div { padding: 32px 32px 8px 0; }
.lead-reasons > div + div { padding-left: 32px; border-left: 1px solid var(--rule-night); }
.lead-reasons h3 { margin-bottom: 12px; }
@media (max-width: 860px) {
  .lead-reasons { grid-template-columns: 1fr; }
  .lead-reasons > div, .lead-reasons > div + div { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--rule-night); }
}

.reasons { margin: 0; border-top: 1px solid var(--rule-strong); }
.reasons > div { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding: 32px 0; border-bottom: 1px solid var(--rule); }
.reasons dt { grid-column: 1 / span 4; color: var(--heading); font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; }
.reasons dd { grid-column: 6 / -1; margin: 0; max-width: 62ch; }
@media (max-width: 760px) { .reasons dt, .reasons dd { grid-column: 1 / -1; } }

/* ---------- FAQ ---------- */

.toolbar {
  display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between;
  padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--rule-strong);
}
.search { position: relative; flex: 1 1 320px; max-width: 480px; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink); }
.search input {
  width: 100%; height: 52px; padding: 0 16px 0 44px;
  background: var(--white); border: 1px solid var(--rule-strong); border-radius: var(--radius);
  font: 500 1rem var(--font); color: var(--heading);
}
.search input::placeholder { color: #77736d; }
.search input:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--ink); }
.toolbar__count { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--rule-strong); border-radius: var(--radius); text-decoration: none; font-size: 0.8125rem; font-weight: 600; color: var(--ink); }
.chips a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.faq-group { margin-top: clamp(40px, 5vw, 64px); }
.faq-group > h2 { font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem); padding-bottom: 16px; border-bottom: 1px solid var(--rule-strong); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.faq-group > h2 .cn { color: var(--ink); font-size: 0.6875rem; }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary {
  display: grid; grid-template-columns: 1fr 28px; gap: 20px; align-items: start;
  padding: 20px 0; cursor: pointer; list-style: none;
  color: var(--heading); font-weight: 600; font-size: 1.0625rem; line-height: 1.45;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { position: relative; width: 28px; height: 28px; border: 1px solid var(--rule-strong); border-radius: var(--radius); }
.qa summary .pm::before, .qa summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 0.3s var(--ease-out); }
.qa summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] summary { color: var(--green-deep); }
.qa[open] summary .pm { background: var(--green); border-color: var(--green); }
.qa[open] summary .pm::before, .qa[open] summary .pm::after { background: var(--navy); }
.qa[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa summary:hover { color: var(--ink); }
.qa__a { padding: 0 48px 24px 0; max-width: 70ch; }
.faq-empty { padding: 40px 0; color: var(--heading); font-weight: 600; }

/* ---------- Downloads ---------- */

.dl-group { margin-top: clamp(40px, 5vw, 64px); }
.dl-group > h2 { font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem); padding-bottom: 16px; border-bottom: 1px solid var(--rule-strong); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.dl-group > h2 .cn { color: var(--ink); font-size: 0.6875rem; }
.dl-table { width: 100%; border-collapse: collapse; }
.dl-table th { text-align: left; font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.dl-table td { padding: 14px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.dl-table td:first-child { color: var(--ink); width: 56px; font-variant-numeric: tabular-nums; }
.dl-table td:nth-child(2) { color: var(--heading); font-weight: 600; }
.dl-table td:nth-child(3) { color: var(--text); font-size: 0.875rem; }
.dl-table td:last-child { text-align: right; width: 1%; white-space: nowrap; }
@media (max-width: 640px) {
  .dl-table thead { display: none; }
  .dl-table td:nth-child(3) { display: none; }
  .dl-table td:first-child { width: 36px; }
  .dl-table .btn span { display: none; }
  .dl-table .btn { padding: 0 12px; }
}

/* ---------- Forms ---------- */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.8125rem; font-weight: 600; color: var(--heading); letter-spacing: 0.01em; }
.field label .opt { color: #77736d; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  background: var(--white); color: var(--heading);
  border: 1px solid var(--rule-strong); border-radius: var(--radius);
  font: 500 1rem/1.4 var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23093A80' stroke-width='1.6'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(19, 196, 101, 0.35); }
.field input::placeholder, .field textarea::placeholder { color: #6b665f; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #B3261E; }
.field__err { display: none; color: #B3261E; font-size: 0.8125rem; font-weight: 600; }
.field.has-error .field__err { display: block; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding-top: 8px; }
.form__note { font-size: 0.8125rem; color: var(--text); max-width: 46ch; }
.form__status { grid-column: 1 / -1; display: none; padding: 14px 16px; border: 1px solid var(--green-deep); background: rgba(19, 196, 101, 0.1); color: var(--heading); font-weight: 600; font-size: var(--fs-small); }
.form__status.is-shown { display: block; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.contact-grid__form { grid-column: 1 / span 7; }
.contact-grid__form h2 { margin-bottom: 14px; }
.contact-grid__form > p { margin-bottom: 32px; max-width: 58ch; }
.contact-grid__side { grid-column: 9 / -1; }
.station { border: 1px solid var(--rule-strong); background: var(--white); }
.station__head { padding: 14px 18px; border-bottom: 1px solid var(--rule-strong); display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
.station dl { margin: 0; }
.station dl > div { padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.station dl > div:last-child { border-bottom: 0; }
.station dt { color: var(--ink); margin-bottom: 4px; }
.station dd { margin: 0; color: var(--heading); font-weight: 600; font-variant-numeric: tabular-nums; }
.station dd a { color: var(--heading); }
.station dd a:hover { color: var(--green-deep); }
.station dd small { display: block; color: var(--text); font-weight: 400; font-size: 0.875rem; }
.station + .btn { margin-top: 16px; width: 100%; }
@media (max-width: 960px) { .contact-grid__form, .contact-grid__side { grid-column: 1 / -1; } }

.quote-block { margin: 0; padding: 28px 0 0; border-top: 1px solid var(--rule-night-strong); color: var(--paper); font-size: var(--fs-lead); max-width: 52ch; }

/* ---------- Reveal (content visible by default; motion only enhances) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Station card inside navy bands */
.night .station { background: transparent; border-color: var(--rule-night-strong); }
.night .station__head { color: var(--faint-night); border-bottom-color: var(--rule-night-strong); }
.night .station dl > div { border-bottom-color: var(--rule-night); }
.night .station dt { color: var(--faint-night); }
.night .station dd, .night .station dd a { color: var(--paper); }
.night .station dd a:hover { color: var(--green); }

/* WordPress admin bar offset */
.admin-bar .site-header, .admin-bar .mobile-nav { top: 32px; }
.admin-bar .subnav { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
  .admin-bar .site-header, .admin-bar .mobile-nav { top: 46px; }
  .admin-bar .subnav { top: calc(var(--header-h) + 46px); }
}

/* ---------- Contact Form 7 ---------- */
.wpcf7 { max-width: none; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 .field .wpcf7-not-valid { border-color: #B3261E; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; color: #B3261E; font-size: 0.8125rem; font-weight: 600; }
.night .wpcf7-not-valid-tip { color: #FF8A80; }
.night .wpcf7 .field .wpcf7-not-valid { border-color: #FF8A80; }
.wpcf7 input.btn { appearance: none; -webkit-appearance: none; }
.wpcf7-form.submitting .wpcf7-submit { opacity: 0.6; cursor: progress; }
.wpcf7-spinner { margin: 0 0 0 12px; vertical-align: middle; }
.wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0; padding: 14px 16px;
  border: 1px solid #B3261E; border-radius: var(--radius);
  background: rgba(179, 38, 30, 0.06);
  color: var(--heading); font-size: var(--fs-small); font-weight: 600;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--green-deep); background: rgba(19, 196, 101, 0.12); }
.night .wpcf7 form .wpcf7-response-output { color: var(--paper); background: rgba(255, 138, 128, 0.08); border-color: #FF8A80; }
.night .wpcf7 form.sent .wpcf7-response-output { background: rgba(19, 196, 101, 0.14); border-color: var(--green); }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
