/* ==========================================================================
   Jamed Healthcare — site styles
   Brand: navy #0c2541 / deep navy #07182b / teal #2fb5c0 / deep teal #0f7c86
   Type: Archivo (brand face, matches the logotype) + IBM Plex Mono for labels
   ========================================================================== */

:root {
  --navy-950: #050f1c;
  --navy-900: #07182b;
  --navy-800: #0c2541;
  --navy-700: #15345a;
  --teal: #2fb5c0;
  --teal-600: #1b97a3;
  --teal-deep: #0f7c86;
  --teal-light: #6fd6dd; /* brand teal, lightened for small labels on dark backgrounds (~9-10:1) */
  --paper: #f5f4ef;
  --paper-2: #ebe9e2;
  --white: #ffffff;
  --ink: #0a1a2b;
  --ink-2: #33414f;
  --muted: #5d6974;
  --line: rgba(10, 26, 43, 0.13);
  --line-strong: rgba(10, 26, 43, 0.28);
  --line-dark: rgba(255, 255, 255, 0.12);
  --on-dark: #e9eef3;
  --on-dark-muted: #c3cfdb; /* secondary text on dark backgrounds (~11:1 on navy) */
  --on-dark-soft: #d6dfe8;  /* intros and small labels on dark (~13:1) */

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4.2vw, 48px);
  --max: clamp(1320px, 84vw, 1880px); /* grows on large monitors so pages don't float in the middle */
  --radius: 4px;
  --radius-lg: 8px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.06; letter-spacing: -0.028em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--teal); color: var(--navy-900); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--teal); color: var(--navy-900); padding: 10px 14px; font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

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

/* ---------- Type helpers ---------- */
.kicker {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.on-dark .kicker, .kicker--light { color: var(--teal-light); }

.display { font-size: clamp(2.5rem, 1.35rem + 4.1vw, 5rem); line-height: 0.98; letter-spacing: -0.04em; font-weight: 700; }
.h2 { font-size: clamp(2rem, 1.3rem + 2.5vw, 3.4rem); line-height: 1.02; letter-spacing: -0.035em; }
.h3 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); letter-spacing: -0.022em; line-height: 1.12; }
.lede { font-size: clamp(1.06rem, 0.98rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 38em; }
.on-dark .lede { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy-800);
  --fg: var(--white);
  --bd: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { --bg: var(--navy-700); --bd: var(--navy-700); }
.btn:active { transform: translateY(1px); }
.btn--teal { --bg: var(--teal); --fg: var(--navy-900); --bd: var(--teal); }
.btn--teal:hover { --bg: #52c6cf; --bd: #52c6cf; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); }
.on-dark .btn--ghost, .btn--ghost-light { --bg: transparent; --fg: var(--white); --bd: rgba(255, 255, 255, 0.55); }
.on-dark .btn--ghost:hover, .btn--ghost-light:hover { --bg: var(--white); --fg: var(--navy-900); --bd: var(--white); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 3px;
  transition: gap 0.3s var(--ease), color 0.2s;
}
.link-arrow svg { width: 15px; height: 15px; }
.link-arrow:hover { gap: 14px; color: var(--teal-deep); }
.on-dark .link-arrow:hover { color: var(--teal); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  color: var(--ink);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.4s var(--ease);
}
.site-header .container { display: flex; align-items: center; gap: 32px; }
.site-header.is-dark { color: var(--white); }
.site-header.is-scrolled { background: rgba(245, 244, 239, 0.92); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 34px; height: 34px; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 800; font-size: 25px; letter-spacing: -0.05em; }
.brand__sub { font-size: 7.6px; font-weight: 500; letter-spacing: 0.34em; margin-top: 5px; text-transform: uppercase; }
.brand .mk-a { fill: currentColor; }
.brand .mk-b { fill: var(--teal); }
.site-header.is-scrolled .brand .mk-b, .site-footer .brand .mk-b { fill: var(--teal); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 8px 14px; font-size: 15px; font-weight: 500; opacity: 0.86; transition: opacity 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 13.5px; letter-spacing: 0.02em; opacity: 0.9; }
.header-phone svg { width: 15px; height: 15px; }
.header-phone:hover { opacity: 1; color: var(--teal-deep); }
.is-dark:not(.is-scrolled) .header-phone:hover { color: var(--teal); }
.site-header .btn--ghost { --fg: currentColor; }
.site-header.is-dark:not(.is-scrolled) .btn--ghost { --bd: rgba(255, 255, 255, 0.55); }
.site-header.is-dark:not(.is-scrolled) .btn--ghost:hover { --bg: var(--white); --fg: var(--navy-900); --bd: var(--white); }
.site-header.is-dark:not(.is-scrolled) .btn--primary-swap { --bg: var(--teal); --fg: var(--navy-900); --bd: var(--teal); }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 55%, transparent); background: none; border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.3s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy-900); color: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 28px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
  overflow-y: auto;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; }
.nav-open .site-header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; padding: 12px 0; border-bottom: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: center; }
.mobile-nav nav a::after { content: "→"; font-weight: 400; color: var(--teal); font-size: 22px; }
.mobile-nav .btn { width: 100%; }
.mobile-nav__meta { font-family: var(--f-mono); font-size: 13px; color: var(--on-dark-soft); line-height: 1.8; }
.mobile-nav__meta a { color: var(--white); }

@media (max-width: 1080px) {
  .nav, .header-phone { display: none; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; margin-left: 0; }
  .header-actions { gap: 0; }
}
@media (min-width: 721px) { .nav-toggle { display: none; } .mobile-nav { display: none; } }
@media (min-width: 721px) and (max-width: 1080px) { .nav-toggle { display: inline-flex; } .mobile-nav { display: flex; } }

/* ---------- Generic section ---------- */
.section { padding-block: clamp(80px, 6vw + 40px, 150px); position: relative; }
.section--tight { padding-block: clamp(60px, 4vw + 30px, 100px); }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .kicker { margin-bottom: 20px; }
.section-head .lede { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   HERO (home) — 3D coverage map
   ========================================================================== */
.hero {
  position: relative;
  min-height: max(720px, 100svh);
  background:
    radial-gradient(60% 70% at 72% 46%, rgba(47, 181, 192, 0.16), transparent 62%),
    radial-gradient(50% 60% at 10% 100%, rgba(21, 52, 90, 0.7), transparent 70%),
    var(--navy-900);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: max(720px, 100svh);
  padding-top: var(--header-h);
}
.hero__copy { align-self: center; padding-block: 24px; max-width: 700px; position: relative; z-index: 3; }
/* desktop: the hero fills the screen; copy and map sit in the space above the proof bar */
@media (min-width: 981px) {
  .hero, .hero__inner { height: max(680px, 100svh); }
  .hero__inner { padding-bottom: 104px; }
}
.hero__status { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: min(30px, 3vh); }
.hero__status b { color: var(--white); font-weight: 500; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }
.live-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--teal); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(0.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
/* scales with width AND height so short laptop screens and tall monitors both fit */
.hero h1 { font-size: clamp(2.5rem, min(1.1rem + 3.2vw, 0.2rem + 7vh), 5rem); line-height: 0.99; letter-spacing: -0.045em; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero__lede { margin: min(30px, 3vh) 0 min(40px, 4.4vh); font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem); line-height: 1.6; color: var(--on-dark-soft); max-width: 33em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__ctas .btn--ghost-light { font-family: var(--f-sans); }
.hero__ctas .btn--ghost-light .mono { font-size: 14.5px; letter-spacing: 0.01em; }

.hero__stage { position: relative; min-height: 460px; }
/* the map bleeds to the viewport's right edge, whatever the screen width */
.hero__canvas { position: absolute; inset: 0 calc(-1 * ((100vw - min(100vw, var(--max))) / 2 + var(--gutter))) 0 -12%; }
.hero__canvas canvas { width: 100% !important; height: 100% !important; }
.hero__labels { position: absolute; inset: 0; pointer-events: none; }
.map-label {
  position: absolute; left: 0; top: 0;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(226, 235, 244, 0.9);
  white-space: nowrap;
  transform: translate3d(-9999px, 0, 0);
  transition: color 0.5s var(--ease), opacity 0.5s var(--ease);
  display: flex; align-items: center; gap: 8px;
  will-change: transform;
  text-shadow: 0 0 8px rgba(7, 24, 43, 0.95), 0 0 2px rgba(7, 24, 43, 0.9);
}
.map-label.is-hidden { opacity: 0; }
.map-label.is-hq span { background: var(--teal); color: var(--navy-900); padding: 4px 7px; border-radius: 3px; text-shadow: none; }
.map-label i { width: 14px; height: 1px; background: currentColor; opacity: 0.6; }
.map-label.is-left { flex-direction: row-reverse; }
.map-label.is-active { color: var(--white); }
.map-label.is-active i { background: var(--teal); opacity: 1; width: 26px; }
.map-label.is-hq { color: var(--teal); font-weight: 500; }
.map-label.is-hq i { background: var(--teal); opacity: 1; }

.hero__hud {
  position: absolute; right: 0; top: 24px; z-index: 3;
  width: 252px;
  padding: 18px 20px 16px;
  background: rgba(7, 24, 43, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--on-dark-soft);
}
.hero__hud-row { display: flex; justify-content: space-between; gap: 12px; text-transform: uppercase; }
.hero__hud-region { font-family: var(--f-sans); font-size: 21px; letter-spacing: -0.02em; color: var(--white); font-weight: 600; margin: 8px 0 12px; min-height: 1.3em; text-transform: none; }
.hero__hud-roles { display: flex; gap: 6px; flex-wrap: wrap; }
.hero__hud-roles span { border: 1px solid rgba(255, 255, 255, 0.28); padding: 3px 7px; border-radius: 3px; color: #d5e2ec; }
.hero__hud-bar { margin-top: 14px; height: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.hero__hud-bar i { display: block; height: 100%; width: 100%; background: var(--teal); transform-origin: left; transform: scaleX(0); }

.hero__proof {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  border-top: 1px solid var(--line-dark);
  background: linear-gradient(to top, rgba(5, 15, 28, 0.75), rgba(5, 15, 28, 0));
}
.hero__proof ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__proof li { padding: 26px 24px 28px 0; display: flex; gap: 14px; align-items: flex-start; }
.hero__proof li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero__proof svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 2px; }
.hero__proof b { display: block; font-weight: 600; font-size: 15px; color: var(--white); letter-spacing: -0.01em; }
.hero__proof span { display: block; font-size: 13.5px; color: var(--on-dark-muted); line-height: 1.45; margin-top: 3px; }

.hero__fallback { position: absolute; inset: 8% 6% 18% 10%; display: none; }
.no-webgl .hero__fallback { display: block; }
.hero__fallback path { fill: rgba(47, 181, 192, 0.08); stroke: rgba(47, 181, 192, 0.6); stroke-width: 0.012; }

/* Intro choreography */
.hero [data-in] { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.hero.is-in [data-in] { opacity: 1; transform: none; }
.hero.is-in [data-in="2"] { transition-delay: 0.12s; }
.hero.is-in [data-in="3"] { transition-delay: 0.24s; }
.hero.is-in [data-in="4"] { transition-delay: 0.36s; }
.hero.is-in [data-in="5"] { transition-delay: 0.7s; }
.hero__labels, .hero__hud { opacity: 0; transition: opacity 1.2s var(--ease) 1.4s; }
.hero.is-in .hero__labels, .hero.is-in .hero__hud { opacity: 1; }

@media (max-width: 1180px) {
  .hero__hud { width: 210px; padding: 14px 16px 12px; }
  .hero__hud-roles { display: none; }
  .hero__hud-region { margin-bottom: 0; font-size: 18px; }
  .hero__proof li { padding-right: 16px; }
  .hero__proof li + li { padding-left: 16px; }
}
@media (max-width: 980px) {
  .hero, .hero__inner { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 24px); }
  .hero__copy { padding-block: 24px 0; }
  .hero__stage { min-height: 0; height: clamp(440px, 110vw, 640px); margin: 28px calc(-1 * var(--gutter)) 0; }
  .hero__canvas { inset: 0; }
  .hero__hud { left: var(--gutter); right: auto; top: 12px; bottom: auto; width: 210px; }
  .hero__proof { position: relative; background: rgba(5, 15, 28, 0.6); }
  .hero__proof ul { grid-template-columns: 1fr 1fr; }
  .hero__proof li { padding: 20px 16px 20px 0; }
  .hero__proof li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__proof li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 560px) {
  .hero__stage { height: 540px; }
  .hero__hud { left: var(--gutter); right: auto; top: 12px; bottom: auto; width: 200px; padding: 12px 14px 10px; }
  .hero__hud-region { font-size: 16px; margin: 4px 0 0; }
  .hero__hud-roles { display: none; }
  .hero__hud-bar { margin-top: 10px; }
  /* phones show only the pill and the highlighted region; the outgoing region disappears instantly so it never crosses the next one */
  .map-label:not(.is-hq):not(.is-active) { opacity: 0; transition: none; }
  .hero__proof ul { grid-template-columns: 1fr; }
  .hero__proof li, .hero__proof li + li { padding: 16px 0; border-left: 0; }
  .hero__proof li + li { border-top: 1px solid var(--line-dark); }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 120% at 85% 0%, rgba(47, 181, 192, 0.14), transparent 60%), var(--navy-900);
  color: var(--white);
  padding: calc(var(--header-h) + clamp(56px, 7vw, 110px)) 0 clamp(56px, 6vw, 96px);
}
.page-hero__grid { position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 90% at 80% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 90% at 80% 20%, #000, transparent 75%);
}
.page-hero__mark { position: absolute; right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); bottom: -40px; width: clamp(180px, 22vw, 320px); opacity: 0.07; z-index: -1; }
.page-hero__mark .mk-a, .page-hero__mark .mk-b { fill: #fff; }
.crumbs { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-soft); display: flex; gap: 10px; margin-bottom: 28px; }
.crumbs a:hover { color: var(--white); }
.page-hero h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); line-height: 1; letter-spacing: -0.042em; max-width: 14em; }
.page-hero .lede { color: var(--on-dark-soft); margin-top: 26px; }

/* ==========================================================================
   Home — roles (nurses / HCAs)
   ========================================================================== */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.role {
  position: relative; display: grid; grid-template-rows: auto 1fr;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.role__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.role__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.role:hover .role__media img { transform: scale(1.035); }
.role__tag { position: absolute; left: 18px; top: 18px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(7, 24, 43, 0.78); color: var(--white); padding: 7px 10px; border-radius: 3px; backdrop-filter: blur(6px); }
.role__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.role__body p { color: var(--ink-2); margin: 0; }
.role__grades { display: flex; flex-wrap: wrap; gap: 8px; }
.role__grades li { font-family: var(--f-mono); font-size: 12.5px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--ink); }
.role__body .link-arrow { margin-top: auto; align-self: flex-start; }
.role--type { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.role--type .role__body p { color: var(--on-dark-muted); }
.role--type .role__grades li { color: var(--white); border-color: rgba(255, 255, 255, 0.24); }
.role__type-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(90% 90% at 70% 30%, rgba(47, 181, 192, 0.3), transparent 60%), var(--navy-900); display: grid; place-items: center; }
@media (max-width: 860px) { .roles { grid-template-columns: 1fr; } }

/* ==========================================================================
   Settings list (editorial rows)
   ========================================================================== */
.settings { border-top: 1px solid var(--line-strong); }
.setting {
  display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) 40px;
  gap: 24px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--line);
  transition: padding 0.4s var(--ease), background-color 0.4s var(--ease);
  position: relative;
}
.setting__num { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.setting__title { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.setting__desc { color: var(--ink-2); margin: 0; font-size: 16px; }
.setting__arrow { width: 22px; height: 22px; color: var(--teal-deep); justify-self: end; opacity: 0; transform: translateX(-8px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.setting::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--teal-deep); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.setting:hover::before { transform: scaleX(1); }
.setting:hover .setting__arrow { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .setting { grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 22px 0; }
  .setting__desc { grid-column: 2; }
  .setting__arrow { display: none; }
}

/* ==========================================================================
   Vetting / compliance file
   ========================================================================== */
.vetting { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.vetting__copy .h2 { margin: 20px 0 24px; }
.vetting__points { margin-top: 36px; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.vetting__points li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.vetting__points .n { font-family: var(--f-mono); font-size: 12px; color: var(--teal-light); padding-top: 3px; }
.vetting__points b { display: block; color: var(--white); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.vetting__points span { color: var(--on-dark-muted); font-size: 15.5px; }

.file {
  position: relative;
  background: #fbfaf6; color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
  padding: clamp(22px, 3vw, 36px);
  transform: perspective(1600px) rotateY(-7deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease);
}
.file:hover { transform: perspective(1600px) rotateY(-2deg) rotateX(1deg); }
.file::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; background: #dcd9cf; border-radius: var(--radius-lg); transform: translateZ(-30px); }
.file__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.file__head .mono { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.file__who { display: flex; gap: 14px; align-items: center; margin-top: 10px; }
.file__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-weight: 700; color: var(--navy-700); font-size: 15px; }
.file__who b { display: block; font-size: 18px; letter-spacing: -0.02em; }
.file__who span { font-size: 14px; color: var(--muted); }
.file__stamp { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-deep); border: 1.5px solid var(--teal-deep); padding: 8px 10px; border-radius: 3px; transform: rotate(-4deg); white-space: nowrap; }
.file__rows { margin-top: 6px; }
.file__row { display: grid; grid-template-columns: 26px 1fr auto; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.file__row:last-child { border-bottom: 0; }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--teal-deep); color: var(--white); display: grid; place-items: center; transform: scale(0.4); opacity: 0; transition: transform 0.6s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.3s; }
.tick svg { width: 12px; height: 12px; }
.file.is-visible .tick { transform: scale(1); opacity: 1; }
.file.is-visible .file__row:nth-child(2) .tick { transition-delay: 0.25s; }
.file.is-visible .file__row:nth-child(3) .tick { transition-delay: 0.5s; }
.file.is-visible .file__row:nth-child(4) .tick { transition-delay: 0.75s; }
.file__row b { font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; display: block; }
.file__row small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.file__row .mono { font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; text-align: right; }
.file__foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 920px) {
  .vetting { grid-template-columns: 1fr; }
  .file { transform: none; }
  .file:hover { transform: none; }
  .file::before { display: none; }
}

/* ==========================================================================
   Process steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: s; border-top: 1px solid var(--line-strong); }
.step { padding: 32px 32px 8px 0; position: relative; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step__n { font-family: var(--f-mono); font-size: 12.5px; color: var(--teal-deep); letter-spacing: 0.1em; display: flex; align-items: center; gap: 10px; margin-bottom: 44px; }
.step__n::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step h3 { font-size: clamp(1.3rem, 1rem + 0.8vw, 1.65rem); letter-spacing: -0.025em; margin-bottom: 14px; }
.step p { color: var(--ink-2); font-size: 16px; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--teal-deep); transition: width 1.2s var(--ease); }
.step + .step::before { left: -1px; }
.steps.is-visible .step::before { width: 48px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 8px; border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .step__n { margin-bottom: 20px; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 3.5vw, 52px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.quote--lead { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); grid-column: 1 / -1; }
.quote--lead blockquote { max-width: 34em; }
.quote blockquote { margin: 0; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); line-height: 1.45; letter-spacing: -0.015em; font-weight: 500; }
.quote--lead blockquote { font-size: clamp(1.35rem, 1.05rem + 0.9vw, 1.9rem); line-height: 1.32; letter-spacing: -0.025em; }
.quote__mark { width: 34px; height: 34px; color: var(--teal-deep); margin-bottom: 20px; }
.quote--lead .quote__mark { color: var(--teal); }
.quote figcaption { display: flex; align-items: center; gap: 14px; font-size: 14.5px; }
.quote figcaption b { display: block; font-weight: 600; }
.quote figcaption span { color: var(--muted); }
.quote--lead figcaption span { color: var(--on-dark-muted); }
.quote__line { width: 32px; height: 1px; background: currentColor; opacity: 0.4; }
.placeholder-note { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #b26b00; background: #fff4e0; border: 1px dashed #e0a24a; padding: 4px 8px; border-radius: 3px; align-self: flex-start; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: var(--white); }
.cta__media { position: absolute; inset: 0 0 0 46%; z-index: -1; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(7, 24, 43, 0.75) 30%, rgba(7, 24, 43, 0.15) 100%); }
.cta__inner { padding-block: clamp(80px, 9vw, 150px); max-width: 640px; }
.cta h2 { margin: 18px 0 22px; }
.cta p { color: var(--on-dark-soft); font-size: 18px; max-width: 30em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.cta__phone { display: flex; flex-direction: column; justify-content: center; padding-left: 20px; border-left: 1px solid var(--line-dark); }
.cta__phone small { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-soft); }
.cta__phone a { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.cta__phone a:hover { color: var(--teal); }
@media (max-width: 860px) {
  .cta__media { inset: auto 0 0 0; height: 46%; }
  .cta__media::after { background: linear-gradient(180deg, var(--navy-900) 0%, rgba(7, 24, 43, 0.4) 60%, rgba(7, 24, 43, 0.2) 100%); }
  .cta__inner { padding-bottom: 340px; }
}

.join-strip { background: #0a5f68; color: var(--white); } /* a deeper brand teal so white text reads at ~7.4:1 */
.join-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; flex-wrap: wrap; }
.join-strip p { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.join-strip p span { font-weight: 400; } /* full white keeps ~5:1 on the teal; hierarchy comes from weight */
.join-strip .btn { --bg: var(--white); --fg: var(--navy-900); --bd: var(--white); }
.join-strip .btn:hover { --bg: var(--navy-900); --fg: var(--white); --bd: var(--navy-900); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: clamp(64px, 7vw, 100px) 0 32px; font-size: 15px; }
.site-footer .brand { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-grid h4 { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); font-weight: 500; margin-bottom: 18px; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid a:hover { color: var(--white); }
.footer-about p { margin: 22px 0 0; max-width: 26em; line-height: 1.6; }
.footer-contact address { font-style: normal; line-height: 1.7; }
.footer-contact .big { display: block; color: var(--white); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.footer-contact .big:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; font-size: 13px; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Split feature (image + text) — used on inner pages
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--paper-2); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__caption { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4); }
.split__copy .h2 { margin: 20px 0 24px; }
.split__copy p { color: var(--ink-2); }
.split__copy .btn, .split__copy .link-arrow { margin-top: 16px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } .split__media { aspect-ratio: 4 / 3.2; } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.fact { padding: 28px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact b { display: block; font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); letter-spacing: -0.045em; font-weight: 700; line-height: 1; }
.fact span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { padding-left: 0; border-left: 0; } .fact:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--line); } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.value { padding: 36px 36px 0 0; }
.value + .value { padding-left: 36px; border-left: 1px solid var(--line-dark); }
.value .mono { font-size: 12px; color: var(--teal-light); letter-spacing: 0.1em; }
.value h3 { font-size: 1.55rem; letter-spacing: -0.025em; color: var(--white); margin: 26px 0 14px; }
.value p { color: var(--on-dark-muted); font-size: 16px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } .value, .value + .value { padding: 28px 0 8px; border-left: 0; } .value + .value { border-top: 1px solid var(--line-dark); } }

/* Service detail blocks */
.service { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px); padding-block: clamp(48px, 5vw, 80px); border-top: 1px solid var(--line-strong); }
.service:first-child { border-top: 0; padding-top: 0; }
.service__head .mono { font-size: 12px; color: var(--teal-deep); letter-spacing: 0.12em; }
.service__head h2 { margin-top: 18px; }
.service__body > p { font-size: 18px; color: var(--ink-2); }
.checklist { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.checklist li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.checklist svg { width: 18px; height: 18px; color: var(--teal-deep); flex: none; margin-top: 3px; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } .checklist { grid-template-columns: 1fr; } }

.booking-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.btype { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.btype .mono { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.btype h3 { font-size: 1.45rem; letter-spacing: -0.025em; }
.btype p { color: var(--ink-2); font-size: 16px; margin: 0; }
.btype--urgent { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.btype--urgent .mono { color: var(--teal-light); }
.btype--urgent p { color: var(--on-dark-muted); }
@media (max-width: 860px) { .booking-types { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); font-weight: 600; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 28px; line-height: 0.8; color: var(--teal-deep); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); max-width: 46em; padding-bottom: 12px; }

/* ==========================================================================
   Blog
   ========================================================================== */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.post-card { display: flex; flex-direction: column; gap: 18px; }
.post-card__media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__meta { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 14px; }
.post-card__meta b { color: var(--teal-deep); font-weight: 500; }
.post-card h3 { font-size: 1.45rem; letter-spacing: -0.025em; line-height: 1.15; }
.post-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post-card p { color: var(--ink-2); font-size: 16px; margin: 0; }
.post-card--feature { grid-column: span 3; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-bottom: clamp(40px, 4vw, 64px); margin-bottom: clamp(16px, 2vw, 28px); border-bottom: 1px solid var(--line-strong); }
.post-card--feature h3 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); letter-spacing: -0.035em; line-height: 1.05; }
.post-card--feature > div { display: flex; flex-direction: column; gap: 18px; }
.art-tile { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(80% 80% at 70% 30%, rgba(47, 181, 192, 0.35), transparent 60%), var(--navy-800); color: var(--white); }
.art-tile svg { width: 42%; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } .post-card--feature { grid-column: span 2; grid-template-columns: 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } .post-card--feature { grid-column: auto; } }

.prose { max-width: 720px; margin-inline: auto; font-size: 18.5px; line-height: 1.72; color: var(--ink-2); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: 1.8rem; letter-spacing: -0.03em; color: var(--ink); margin-top: 2em; }
.prose h3 { font-size: 1.3rem; color: var(--ink); margin-top: 1.6em; }
.prose p { margin: 0; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li + li { margin-top: 0.5em; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.75em; width: 10px; height: 1.5px; background: var(--teal-deep); }
.prose a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 2px solid var(--teal-deep); font-size: 1.25em; color: var(--ink); letter-spacing: -0.015em; }
.post-meta { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-soft); display: flex; gap: 18px; margin-top: 28px; flex-wrap: wrap; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-cards { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.contact-card { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 152px 1fr; gap: 16px; }
.contact-card .mono { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
.contact-card a.big, .contact-card .big { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; display: block; }
.contact-card a.big:hover { color: var(--teal-deep); }
.contact-card address { font-style: normal; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; }
.contact-card p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.contact-route { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.route { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius-lg); background: var(--navy-800); color: var(--white); transition: background-color 0.3s var(--ease); }
.route:hover { background: var(--navy-700); }
.route .mono { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-light); }
.route b { font-size: 20px; letter-spacing: -0.02em; font-weight: 600; }
.route span { color: var(--on-dark-muted); font-size: 15px; }
.route--light { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.route--light:hover { background: var(--paper-2); }
.route--light .mono { color: var(--teal-deep); }
.route--light span { color: var(--muted); }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-route { grid-template-columns: 1fr; } .contact-card { grid-template-columns: 1fr; gap: 6px; } }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-layout { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.form-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.form-aside .h3 { margin-bottom: 16px; }
.form-aside p { color: var(--ink-2); }
.form-aside__list { margin-top: 28px; border-top: 1px solid var(--line-strong); }
.form-aside__list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.form-aside__list .mono { color: var(--teal-deep); font-size: 12px; padding-top: 3px; }
.form-aside__call { margin-top: 28px; padding: 22px; border-radius: var(--radius-lg); background: var(--navy-800); color: var(--white); }
.form-aside__call small { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-light); display: block; margin-bottom: 6px; }
.form-aside__call a { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.form-aside__call p { color: var(--on-dark-muted); font-size: 14px; margin: 6px 0 0; }
@media (max-width: 920px) { .form-layout { grid-template-columns: 1fr; } .form-aside { position: static; } }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 52px); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form fieldset + fieldset { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.form legend { display: flex; align-items: baseline; gap: 14px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 24px; padding: 0; }
.form legend .mono { font-size: 12px; color: var(--teal-deep); font-weight: 500; letter-spacing: 0.08em; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.field label .opt, .field .label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 16px; color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%230a1a2b' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(10, 26, 43, 0.45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--teal-deep); box-shadow: 0 0 0 3px rgba(15, 124, 134, 0.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c2412d; }
.field__error { font-size: 13.5px; color: #c2412d; display: none; }
.field.has-error .field__error { display: block; }
.field__hint { font-size: 13.5px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 15px; cursor: pointer; transition: all 0.2s var(--ease); background: var(--paper); user-select: none; }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.chip--urgent input:checked + span { background: var(--teal-deep); border-color: var(--teal-deep); }

.dropzone { position: relative; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 30px; text-align: center; background: var(--paper); transition: border-color 0.2s, background-color 0.2s; cursor: pointer; }
.dropzone:hover, .dropzone.is-over { border-color: var(--teal-deep); background: rgba(47, 181, 192, 0.06); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone svg { width: 28px; height: 28px; color: var(--teal-deep); margin: 0 auto 12px; }
.dropzone b { display: block; font-weight: 600; }
.dropzone span { font-size: 14px; color: var(--muted); }
.dropzone.has-file { border-style: solid; border-color: var(--teal-deep); background: rgba(47, 181, 192, 0.06); }
.field.has-error .dropzone { border-color: #c2412d; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; flex: none; border: 1.5px solid var(--line-strong); border-radius: 3px; background: var(--paper); margin: 1px 0 0; display: grid; place-items: center; cursor: pointer; }
.consent input:checked { background: var(--navy-800); border-color: var(--navy-800); }
.consent input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form__submit { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.form__submit p { margin: 0; font-size: 14px; color: var(--muted); max-width: 26em; }
.form__status { margin-top: 20px; padding: 16px 18px; border-radius: var(--radius); font-size: 15px; display: none; }
.form__status.is-error { display: block; background: #fdeeea; color: #8a2a1b; border: 1px solid #f1c5bb; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.btn[aria-busy="true"] svg { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { display: none; text-align: left; }
.form-success .tick-lg { width: 56px; height: 56px; border-radius: 50%; background: var(--teal-deep); color: #fff; display: grid; place-items: center; margin-bottom: 24px; }
.form-success .tick-lg svg { width: 24px; height: 24px; }
.form-success h2 { font-size: 2rem; letter-spacing: -0.03em; margin-bottom: 14px; }
.form-success p { color: var(--ink-2); }
.form.is-sent form { display: none; }
.form.is-sent .form-success { display: block; }

@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero [data-in] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .live-dot::after { animation: none; }
  .tick { transform: none; opacity: 1; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Pages built in the CMS (block sections)
   ========================================================================== */
.cms-sec.bg-light + .cms-sec.bg-light,
.cms-sec.bg-white + .cms-sec.bg-white,
.cms-sec.bg-tint + .cms-sec.bg-tint { padding-top: 0; }
.cms-body--article > .cms-sec:first-child { padding-top: clamp(56px, 5vw, 96px); }
.cms-body--article > .cms-sec.bg-light + .cms-sec.bg-light { padding-top: 0; margin-top: calc(-1 * clamp(40px, 3vw, 70px)); }
.cms-text { max-width: 780px; }
.cms-text--article { max-width: 720px; margin-inline: auto; }
.cms-text > .h2 { margin-bottom: 26px; }
.cms-h { font-size: 1.8rem; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 0.65em; }
.cms-rich { color: var(--ink-2); font-size: 18px; line-height: 1.7; }
.cms-text--article .cms-rich { font-size: 18.5px; line-height: 1.72; }
.cms-rich > * + * { margin-top: 1.1em; }
.cms-rich p { margin: 0; }
.cms-rich h2 { font-size: 1.6rem; letter-spacing: -0.03em; color: var(--ink); margin-top: 1.7em; }
.cms-rich h3 { font-size: 1.25rem; letter-spacing: -0.02em; color: var(--ink); margin-top: 1.5em; }
.cms-rich strong { color: var(--ink); font-weight: 600; }
.cms-rich a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.cms-rich ul li { position: relative; padding-left: 26px; }
.cms-rich ul li + li, .cms-rich ol li + li { margin-top: 0.45em; }
.cms-rich ul li::before { content: ""; position: absolute; left: 4px; top: 0.78em; width: 10px; height: 1.5px; background: var(--teal-deep); }
.cms-rich ol { list-style: decimal; padding-left: 1.4em; }
.cms-rich ol li::marker { color: var(--teal-deep); font-weight: 600; }
.cms-rich blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 2px solid var(--teal-deep); font-size: 1.22em; color: var(--ink); letter-spacing: -0.015em; }
.on-dark .cms-rich { color: var(--on-dark-muted); }
.on-dark .cms-rich h2, .on-dark .cms-rich h3, .on-dark .cms-rich strong, .on-dark .cms-rich blockquote { color: var(--white); }
.on-dark .cms-rich a { color: var(--teal-light); }
.on-dark .cms-rich ul li::before, .on-dark .cms-rich blockquote { border-color: var(--teal-light); background-color: transparent; }
.on-dark .cms-rich ul li::before { background: var(--teal-light); }
/* Cookie banner (only when Google Tag Manager is switched on in the CMS) */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 150; width: min(440px, calc(100vw - 32px)); padding: 20px 22px; border-radius: var(--radius-lg); background: var(--navy-900); color: var(--on-dark-soft); border: 1px solid rgba(111, 214, 221, 0.22); box-shadow: 0 24px 60px rgba(5, 15, 28, 0.45); font-size: 14.5px; line-height: 1.55; }
.cookie p { margin: 0; }
.cookie b { display: block; color: var(--white); font-size: 16px; margin-bottom: 4px; }
.cookie a { color: var(--teal-light); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.footer-link { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.footer-link:hover { color: var(--white); }

/* Links added in the CMS to an intro or card text */
.text-link { color: var(--teal-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text-link:hover { text-decoration-thickness: 2px; }
.on-dark .text-link, .hero .text-link { color: var(--teal-light); }
.split__copy .cms-rich { font-size: 17px; }
.split__copy .cms-rich p { color: inherit; }
.lede.cms-rich { font-size: clamp(1.06rem, 0.98rem + 0.35vw, 1.25rem); line-height: 1.55; }
.form-aside .cms-rich { font-size: 16px; }
.faq .cms-rich { font-size: 16.5px; max-width: 46em; padding-bottom: 22px; }
.cms-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.split__copy .cms-actions { margin-top: 14px; }
.cms-feature { margin-top: clamp(32px, 4vw, 56px); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); }
.cms-feature img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.cms-feature + .cms-body--article > .cms-sec:first-child { padding-top: clamp(40px, 4vw, 72px); }
.btype--link { transition: border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.btype--link:hover { border-color: var(--teal-deep); }
.btype--link .link-arrow { margin-top: auto; padding-top: 8px; }
.preview-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 500; display: flex; gap: 10px; align-items: center; max-width: calc(100vw - 32px);
  background: #f2b33d; color: #1d1a10; padding: 10px 18px; border-radius: 99px; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
