/* ==========================================================================
   First Beat Clinic — site stylesheet
   Built from the approved design handoff. Tokens map 1:1 to the design spec.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fonts — self-hosted (no third-party request, GDPR-clean in the EU)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: Montserrat; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/montserrat-latin-300-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: Montserrat; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/montserrat-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: Montserrat; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/montserrat-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: Montserrat; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/montserrat-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Latin Extended — Maltese ġ ħ ż ċ */
@font-face {
  font-family: Montserrat; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/montserrat-latin-ext-300-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Montserrat; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/montserrat-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Montserrat; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/montserrat-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Montserrat; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/montserrat-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Karla; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/karla-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: Karla; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/karla-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: Karla; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/karla-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: Karla; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/karla-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Karla; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/karla-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Karla; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/karla-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy: #101E63;
  --deep-navy: #0A1442;
  --cyan: #00A9CE;
  --cyan-hover: #00C8EE;
  --mid-blue: #7CB4D6;
  --pale-blue: #DCEAF3;
  --pale-blue-tint: #F1F7FB;
  --panel-tint: #F4F8FB;

  /* Lines */
  --border: #E7EDF3;
  --border-blue: #C7DBEA;
  --border-soft: #D9E2EC;
  --footer-rule: #223070;

  /* Text */
  --text: #2B3245;
  --text-lead: #33405C;
  --text-body: #4C5566;
  --muted: #5C6579;
  --footer-muted: #7F92C4;
  --footer-body: #C9D4EA;
  --footer-heading: #9FB4E0;

  /* Type */
  --font-display: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: Karla, "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Motion */
  --ease: cubic-bezier(.22, .7, .2, 1);

  /* Layout */
  --container: 1180px;
  --container-narrow: 860px;
  --gutter: 24px;

  /* Elevation */
  --shadow-card: 0 10px 30px rgba(16, 30, 99, .08);
  --shadow-card-sm: 0 8px 24px rgba(16, 30, 99, .07);
  --shadow-media: 0 24px 60px rgba(16, 30, 99, .16);
  --shadow-hero: 0 30px 70px rgba(16, 30, 99, .18);
}

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

/* Any author `display` outranks the UA rule for [hidden], which silently breaks
   every panel and button this site shows and hides via the hidden attribute. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

html, body { margin: 0; padding: 0; }

body {
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, iframe, video { max-width: 100%; }
img { border: 0; }

a { color: var(--navy); text-decoration: none; }

button { font-family: inherit; }
input, select, textarea, button { font-family: var(--font-body); }

h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: pretty; }

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

.u-shell { width: 100%; max-width: 100%; overflow-x: clip; }

.u-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: #fff;
  color: var(--navy);
  padding: 14px 22px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  box-shadow: var(--shadow-card);
}
.u-skip:focus { left: 0; }

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

/* --------------------------------------------------------------------------
   3. Keyframes
   -------------------------------------------------------------------------- */
@keyframes fbHeroDrift { from { background-position: 48% 50%; } to { background-position: 52% 50%; } }
@keyframes fbRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fbImgIn { from { opacity: 0; transform: translateY(34px) scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes fbFloat { from { transform: translateY(-8px); } to { transform: translateY(8px); } }
@keyframes fbMenuIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes fbMenuItem { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes fbMegaIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes fbMegaCard { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fbMegaItem { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fbSpin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes fbPageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.wrap--narrow { max-width: var(--container-narrow); }

.page { animation: fbPageIn 520ms var(--ease) both; }

.band { position: relative; }
.band--panel { background: var(--panel-tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band--panel-top { background: var(--panel-tint); border-top: 1px solid var(--border); }
.band--navy { background: var(--navy); overflow: hidden; }
.band--cyan { background: var(--cyan); }
.band--midblue { background: var(--mid-blue); overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.pad { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }
.pad-lg { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }

/* Decorative pattern overlays */
.pattern {
  position: absolute;
  inset: 0;
  background: url('../img/pattern.png') center / cover no-repeat;
  pointer-events: none;
}
.pattern--mega { opacity: .07; }
.pattern--navy { opacity: .16; }
.pattern--menu { opacity: .14; }
.pattern--footer { opacity: .2; }

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   5. Typography helpers
   -------------------------------------------------------------------------- */
.h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.1;
  color: var(--navy);
  margin: 0;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  color: var(--navy);
  margin: 0;
}
.h2--sm {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  color: var(--navy);
  margin: 0;
}

.lead {
  font-size: 19px;
  line-height: 1.8;
  color: var(--text-lead);
  margin: 0;
  max-width: 74ch;
  text-wrap: pretty;
}
.body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  margin: 0;
  text-wrap: pretty;
}
.eyebrow {
  display: inline-block;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-lead);
  margin: 0;
}
.meta {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   6. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: 999px;
  padding: 16px 32px;
  border: 0;
  cursor: pointer;
  text-align: center;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--cyan); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 169, 206, .32); }

.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255, 255, 255, .7);
  color: var(--navy);
  border: 1px solid #B9CEDE;
  padding: 16px 30px;
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--navy); transform: translateY(-2px); }

.btn--sm { padding: 15px 30px; }

.link-underline {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 4px;
  transition: color 160ms ease, border-color 160ms ease;
}
.link-underline:hover { color: var(--cyan); }
.link-underline--sm { font-size: 15px; }
.link-underline--ondark { color: var(--deep-navy); border-bottom-color: var(--deep-navy); }
.link-underline--ondark:hover { color: var(--navy); }

.inline-link { color: var(--navy); border-bottom: 1px solid var(--cyan); transition: color 140ms ease; }
.inline-link:hover { color: var(--cyan); }

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
}
.header.is-stuck {
  box-shadow: 0 8px 30px rgba(16, 30, 99, .10);
  border-bottom-color: transparent;
  background: rgba(255, 255, 255, .88);
}

.header__bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: padding 260ms var(--ease);
}
.header.is-stuck .header__bar { padding: 9px var(--gutter); }

.header__logo { display: flex; align-items: center; flex: 0 0 auto; }
.header__logo img {
  height: 46px;
  width: auto;
  display: block;
  transition: height 260ms var(--ease);
}
.header.is-stuck .header__logo img { height: 34px; }

/* Desktop nav */
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 140ms ease;
}
.nav__link:hover { background: var(--pale-blue-tint); }
.nav__link.is-active {
  background: #EAF6FA;
  box-shadow: inset 0 -2px 0 var(--cyan);
  font-weight: 600;
}
.nav__link--services { display: inline-flex; align-items: center; gap: 7px; }
.nav__caret {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--cyan);
  border-bottom: 1.5px solid var(--cyan);
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 200ms ease;
}
.nav__item--mega[aria-expanded="true"] .nav__caret { transform: rotate(225deg) translate(-1px, -1px); }

.nav__phone {
  font-size: 15px;
  color: var(--muted);
  padding: 8px 14px;
  border-left: 1px solid var(--border);
  margin-left: 6px;
  transition: color 140ms ease;
}
.nav__phone:hover { color: var(--navy); }

.nav__cta {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  background: var(--cyan);
  padding: 11px 22px;
  border-radius: 999px;
  margin-left: 6px;
  transition: background 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}
.nav__cta:hover { background: var(--navy); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(16, 30, 99, .22); }

/* Mega menu */
.mega {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 26px 60px rgba(16, 30, 99, .14);
  overflow: hidden;
  animation: fbMegaIn 300ms var(--ease) both;
}
.mega[hidden] { display: none; }
.mega__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px var(--gutter) 36px;
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(230px, 1fr);
  gap: 36px;
  align-items: start;
}
.mega__label {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.mega__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 2px 14px;
  margin-top: 16px;
}
.mega__item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--navy);
  border-bottom: 1px solid #F1F5F9;
  transition: background 160ms ease, color 160ms ease, padding-left 200ms var(--ease);
  animation: fbMegaItem 380ms var(--ease) both;
}
.mega__item:hover { background: var(--pale-blue-tint); color: var(--cyan); padding-left: 16px; }
.mega__num { font-size: 11px; letter-spacing: .08em; color: var(--navy); width: 20px; flex: 0 0 auto; }
.mega__name { font-size: 15.5px; line-height: 1.3; }
.mega__all {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--navy);
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 3px;
}
.mega__card {
  min-width: 0;
  background: var(--navy);
  border-radius: 12px;
  padding: 26px 24px;
  animation: fbMegaCard 420ms var(--ease) 120ms both;
}
.mega__card-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.25;
  color: #fff;
}
.mega__card-body { display: block; font-size: 15px; line-height: 1.6; color: var(--footer-body); margin-top: 10px; }
.mega__card-cta {
  display: inline-block;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}
.mega__card-cta:hover { background: var(--cyan); color: #fff; }

/* Mobile header cluster */
.header__mobile { display: none; align-items: center; gap: 10px; }
.header__mobile-cta {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--cyan);
  padding: 12px 20px;
  border-radius: 999px;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: background 140ms ease;
}
.header__mobile-cta:hover { background: var(--navy); }
.burger {
  width: 46px; height: 46px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); transition: transform 200ms var(--ease), opacity 160ms ease; }

@media (max-width: 900px) {
  .nav { display: none; }
  .header__mobile { display: flex; }
  .mega { display: none !important; }
}

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--navy);
  overflow-y: auto;
  animation: fbMenuIn 380ms var(--ease) both;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__inner { position: relative; min-height: 100%; display: flex; flex-direction: column; }
.mobile-menu__orb {
  position: absolute; top: -140px; right: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 169, 206, .45) 0%, rgba(0, 169, 206, 0) 70%);
  animation: fbFloat 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.mobile-menu__top {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
}
.mobile-menu__top img { height: 34px; width: auto; display: block; }
.mobile-menu__close {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.mobile-menu__nav { position: relative; padding: 12px 22px 0; display: grid; gap: 2px; }
.mobile-menu__link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px;
  padding: 10px 4px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 30px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  animation: fbMenuItem 460ms var(--ease) both;
}
.mobile-menu__link span:last-child { font-size: 20px; color: var(--cyan-hover); }
.mobile-menu__section { position: relative; padding: 26px 22px 0; }
.mobile-menu__section-label {
  display: block;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: #8FA3D4;
}
.mobile-menu__services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0 18px;
  margin-top: 10px;
}
.mobile-menu__service {
  font-size: 15px; line-height: 1.3;
  color: #DCE6FA;
  min-height: 46px;
  display: flex; align-items: center;
  padding: 6px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  animation: fbMenuItem 400ms var(--ease) both;
}
.mobile-menu__foot {
  position: relative;
  margin-top: auto;
  padding: 30px 22px calc(30px + env(safe-area-inset-bottom));
  display: grid;
  gap: 14px;
}
.mobile-menu__cta {
  display: flex; align-items: center; justify-content: center;
  min-height: 56px;
  font-size: 17px; font-weight: 600;
  color: var(--navy);
  background: #fff;
  border-radius: 999px;
  animation: fbMenuItem 420ms var(--ease) 520ms both;
}
.mobile-menu__contact {
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: center;
  animation: fbMenuItem 420ms var(--ease) 580ms both;
}
.mobile-menu__contact a { font-size: 16px; color: #fff; }

body.is-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   8. Hero bands
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--pale-blue) url('../img/hero-background.png') 50% 50% / cover no-repeat;
  animation: fbHeroDrift 26s ease-in-out infinite alternate;
  border-bottom: 1px solid var(--border);
}
.hero__inner { position: relative; }

/* Home hero */
.hero-home__veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .76) 42%, rgba(255, 255, 255, .18) 68%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.hero-home__orb-a {
  top: -120px; right: -90px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0, 169, 206, .20) 0%, rgba(0, 169, 206, 0) 70%);
  animation: fbFloat 11s ease-in-out infinite alternate;
}
.hero-home__orb-b {
  bottom: -150px; left: -110px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(16, 30, 99, .14) 0%, rgba(16, 30, 99, 0) 70%);
  animation: fbFloat 14s ease-in-out 1.5s infinite alternate-reverse;
}
.hero-home__grid {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 116px) var(--gutter) clamp(64px, 8vw, 108px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero-home__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.04;
  letter-spacing: -.015em;
  color: var(--navy);
  margin: 0;
  max-width: 14ch;
}
.hero-home__title > span { display: inline-block; }
.hero-home__word { animation: fbRise 800ms var(--ease) both; }
.hero-home__title .hero-home__rule {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 6px;
  background: var(--cyan);
  transform-origin: left;
  animation: fbFade 600ms ease 1000ms both;
}
.hero-home__kicker {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(19px, 2.2vw, 26px);
  color: var(--navy);
  margin: 26px 0 0;
  max-width: 26ch;
  line-height: 1.35;
  animation: fbRise 800ms var(--ease) 620ms both;
}
.hero-home__sub {
  font-size: 18px; line-height: 1.7; color: var(--text-lead);
  margin: 18px 0 0; max-width: 46ch;
  animation: fbRise 800ms var(--ease) 720ms both;
}
.hero-home__actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px;
  animation: fbRise 800ms var(--ease) 820ms both;
}
.hero-home__media { position: relative; min-width: 0; animation: fbImgIn 1000ms var(--ease) 380ms both; }
.hero-home__media img {
  width: 100%; height: auto; display: block;
  border-radius: 14px;
  box-shadow: var(--shadow-hero);
}
.hero-home__badge {
  position: absolute; left: -14px; bottom: -18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 18px 40px rgba(16, 30, 99, .12);
  animation: fbRise 800ms var(--ease) 1000ms both;
}
.hero-home__badge span {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.4;
}

/* Inner page hero */
.hero-page__inner { max-width: var(--container); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--gutter); }
.hero-page__inner--tall { padding: clamp(56px, 7vw, 96px) var(--gutter); }
.hero-page__inner--narrow { max-width: var(--container-narrow); }
.hero-page__lead { font-size: 18px; line-height: 1.7; color: var(--text-body); margin: 20px 0 0; max-width: 56ch; }
.hero-page__date { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-lead); margin: 20px 0 0; }
.hero-page__back { display: inline-block; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-lead); margin-bottom: 20px; transition: color 140ms ease; }
.hero-page__back:hover { color: var(--cyan); }

/* --------------------------------------------------------------------------
   9. Home sections
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split__media img {
  width: 100%; height: auto; display: block;
  border-radius: 8px;
  transition: transform 700ms var(--ease);
}
.split__media:hover img { transform: scale(1.03); }

.offer__spin {
  position: absolute;
  top: 50%; left: 50%;
  width: 190%;
  padding-bottom: 190%;
  background: url('../img/pattern.png') center / cover no-repeat;
  transform: translate(-50%, -50%);
  animation: fbSpin 150s linear infinite;
  pointer-events: none;
  opacity: .95;
}
.offer__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(124, 180, 214, .55) 0%, rgba(124, 180, 214, .2) 45%, rgba(124, 180, 214, .6) 100%);
  pointer-events: none;
}
.offer__inner { position: relative; max-width: var(--container); margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--gutter); }
.offer__title { color: var(--deep-navy); }
.offer__intro { font-size: 17px; line-height: 1.8; color: var(--deep-navy); margin: 24px 0 0; max-width: 72ch; text-wrap: pretty; }
.offer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 12px;
  margin-top: 44px;
}
.offer__card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 22px;
  min-height: 76px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.offer__card:hover { border-color: var(--cyan); box-shadow: var(--shadow-card-sm); transform: translateY(-2px); }
.offer__card-name { font-family: var(--font-display); font-weight: 400; font-size: 17px; line-height: 1.35; color: var(--navy); }
.offer__card-arrow { flex: 0 0 auto; font-size: 18px; color: var(--navy); line-height: 1; transition: transform 200ms var(--ease); }
.offer__card:hover .offer__card-arrow { transform: translateX(4px); }

.section-head {
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: flex-end; justify-content: space-between;
}

/* Post cards */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.post-grid--all { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 0; }
.post-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 26px;
  min-height: 210px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.post-card:hover { border-color: var(--cyan); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.post-card--tall { min-height: 220px; }
.post-card__date { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-card__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
  color: var(--navy);
  margin-top: 14px;
  text-wrap: pretty;
}
.post-card__more { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); transition: color 160ms ease; }
.post-card:hover .post-card__more { color: var(--cyan); }

/* Testimonials */
.tstm__head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }
.tstm__intro { font-size: 17px; line-height: 1.8; color: var(--text-body); margin: 16px 0 0; }
.tstm__nav { display: flex; gap: 10px; flex: 0 0 auto; }
.tstm__btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.tstm__btn:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-1px); }
.tstm__viewport { overflow: hidden; margin-top: 40px; }
.tstm__track { display: flex; transition: transform 620ms var(--ease); }
.tstm__page {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  padding: 4px;
}
.tstm__card {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: clamp(26px, 3vw, 38px);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 24px;
}
.tstm__stars { display: block; font-size: 15px; letter-spacing: .22em; color: var(--cyan); }
.tstm__quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--navy);
  margin: 18px 0 0;
  text-wrap: pretty;
}
.tstm__name { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tstm__dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.tstm__dot {
  width: 9px; height: 9px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 0;
  background: var(--border-soft);
  transition: width 300ms var(--ease), background 200ms ease;
}
.tstm__dot.is-active { width: 28px; background: var(--cyan); }

/* --------------------------------------------------------------------------
   10. Services
   -------------------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.service-card {
  display: flex; flex-direction: column; justify-content: space-between;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 26px;
  min-height: 220px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.service-card:hover { border-color: var(--cyan); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.service-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--cyan);
  margin-bottom: 14px;
}
.service-card__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.25;
  color: var(--navy);
}
.service-card__blurb { display: block; font-size: 15px; line-height: 1.65; color: var(--muted); margin-top: 12px; }
.service-card__cta { display: block; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-top: 24px; transition: color 160ms ease; }
.service-card:hover .service-card__cta { color: var(--cyan); }

/* Service detail */
.offers-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.offers-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff;
  border: 1px solid #E0EAF2;
  border-left: 3px solid var(--cyan);
  border-radius: 8px;
  padding: 20px 22px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.offers-list li:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-sm); }
.offers-list span { font-size: 17px; line-height: 1.6; color: var(--text); }

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-media);
  background: var(--navy);
}
.video-frame iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  transform: translate(-50%, -50%) scale(1.42);
  transform-origin: center;
  border: 0;
  display: block;
  pointer-events: none;
}

.blocks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.block { border-top: 2px solid var(--cyan); padding-top: 20px; }
.block h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.3; color: var(--navy); margin: 0; }
.block p { font-size: 16px; line-height: 1.75; color: var(--text-body); margin: 12px 0 0; text-wrap: pretty; }

.goal { font-size: 18px; line-height: 1.75; color: var(--navy); margin: 34px 0 0; max-width: 70ch; text-wrap: pretty; }

.two-up {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.dot-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.dot-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.65; color: var(--text-body); }
.dot-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  margin-top: 8px;
}
.note { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 28px 0 0; }
.note--terms { margin: 6px 0 0; }

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.item-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  padding: 26px 24px;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms var(--ease);
}
.item-card:hover { background: rgba(255, 255, 255, .11); border-color: rgba(0, 200, 238, .5); transform: translateY(-2px); }
.item-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 19px; line-height: 1.3; color: #fff; margin: 0; }
.item-card p { font-size: 16px; line-height: 1.7; color: #D6E1F5; margin: 12px 0 0; text-wrap: pretty; }
.item-card .who { font-size: 14px; line-height: 1.6; color: var(--footer-heading); margin: 14px 0 0; }

.on-navy-title { color: #fff; }
.on-navy-intro { font-size: 17px; line-height: 1.8; color: #D6E1F5; margin: 16px 0 0; max-width: 70ch; }

.closing-title { color: var(--deep-navy); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; max-width: 22ch; }
.closing-body { font-size: 17px; line-height: 1.8; color: var(--deep-navy); margin: 18px 0 0; max-width: 74ch; text-wrap: pretty; }
.closing-note { font-size: 17px; line-height: 1.8; color: var(--deep-navy); margin: 12px 0 0; max-width: 74ch; }

.chips-title { font-family: var(--font-display); font-weight: 400; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  font-size: 15px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #E0E8F0;
  border-radius: 999px;
  padding: 11px 20px;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.chip:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-1px); }

/* --------------------------------------------------------------------------
   11. About
   -------------------------------------------------------------------------- */
.about-banner img {
  width: 100%; height: auto; display: block;
  border-radius: 8px;
  transition: transform 700ms var(--ease);
}
.about-banner:hover img { transform: scale(1.02); }
.about-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.about-split img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  background: var(--pale-blue-tint);
  min-height: 120px; /* keeps the column from collapsing while the portrait loads */
}
.about-role { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin: 16px 0 0; }
.about-spec { font-size: 17px; color: var(--muted); margin: 6px 0 0; }
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 4vw, 56px);
}
.values h2 { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.25; color: var(--navy); margin: 0; }
.values p { font-size: 16px; line-height: 1.8; color: var(--text-body); margin: 16px 0 0; text-wrap: pretty; }
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.gallery figure { margin: 0; overflow: hidden; border-radius: 8px; }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform 700ms var(--ease);
}
.gallery figure:hover img { transform: scale(1.04); }

/* --------------------------------------------------------------------------
   12. Article / legal
   -------------------------------------------------------------------------- */
.article { max-width: var(--container-narrow); margin: 0 auto; padding: clamp(44px, 5vw, 72px) var(--gutter) clamp(56px, 7vw, 88px); }
.article__section { margin-top: clamp(36px, 4vw, 52px); }
.article__section--legal { margin-top: clamp(34px, 4vw, 48px); }
.article__h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.25;
  color: var(--navy);
  margin: 0;
  text-wrap: pretty;
}
.article__h2--legal { font-size: clamp(21px, 2.4vw, 27px); }
.article p { font-size: 17px; line-height: 1.8; color: var(--text-body); margin: 16px 0 0; text-wrap: pretty; }
.article__lead { font-size: 19px; line-height: 1.8; color: var(--text-lead); margin: 0; text-wrap: pretty; }

.rule-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.rule-list li {
  display: flex; gap: 14px; align-items: flex-start;
  border-left: 3px solid var(--cyan);
  padding: 4px 0 4px 16px;
}
.rule-list span { font-size: 17px; line-height: 1.7; color: var(--text); }
.rule-list strong { color: var(--navy); }

.legal-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.legal-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.7; color: var(--text-body); }
.legal-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  margin-top: 10px;
}

.article__foot {
  margin-top: clamp(44px, 5vw, 64px);
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
}
.contact-panel {
  margin-top: clamp(40px, 5vw, 60px);
  padding: 28px 26px;
  background: var(--pale-blue-tint);
  border-radius: 10px;
}
.contact-panel p { font-size: 16px; line-height: 1.75; color: var(--text-lead); margin: 0; }

/* --------------------------------------------------------------------------
   13. Contact / booking
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.contact-form-frame { width: 100%; min-height: 760px; border: none; border-radius: 8px; display: block; }
.contact-details { min-width: 0; display: grid; gap: 32px; }
.contact-details p { font-size: 17px; line-height: 1.7; color: var(--text-body); margin: 10px 0 0; }
.contact-details a { color: var(--navy); border-bottom: 1px solid var(--cyan); }
.contact-details a:hover { color: var(--cyan); }
.map-frame { width: 100%; height: 300px; border: 1px solid var(--border); border-radius: 8px; display: block; }

.booking-frame {
  width: 100%;
  min-height: 860px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: block;
  background: #fff;
  overflow: hidden;
}
.booking-fallback { font-size: 16px; line-height: 1.7; color: var(--text-body); margin: 28px 0 0; }
.booking-fallback a { color: var(--navy); border-bottom: 1px solid var(--cyan); }

/* --------------------------------------------------------------------------
   14. Global CTA + footer
   -------------------------------------------------------------------------- */
.cta-band { background: var(--pale-blue); border-top: 1px solid var(--border-blue); }
.cta-band__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) var(--gutter);
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
}
.cta-band__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.18;
  color: var(--navy);
  margin: 0;
}
.cta-band__body { font-size: 17px; line-height: 1.7; color: var(--text-lead); margin: 14px 0 0; max-width: 48ch; }

.footer { background: var(--navy); position: relative; overflow: hidden; }
.footer__grid {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(56px, 6vw, 80px) var(--gutter) clamp(32px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(32px, 4vw, 56px);
}
.footer__logo { height: 34px; width: auto; display: block; }
.footer__address { font-size: 16px; line-height: 1.8; color: var(--footer-body); margin: 24px 0 0; }
.footer__contact { font-size: 16px; line-height: 1.8; margin: 12px 0 0; }
.footer__contact + .footer__contact { margin: 4px 0 0; }
.footer__contact a { color: #fff; transition: color 160ms ease; }
.footer__contact a:hover { color: var(--cyan-hover); }
.footer__heading {
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--footer-muted);
  margin: 0 0 18px;
  font-weight: 600;
  font-family: var(--font-body);
}
.footer__links { display: grid; gap: 12px; }
.footer__links a {
  font-size: 16px;
  color: #fff;
  display: inline-block;
  transition: color 160ms ease, transform 160ms ease;
}
.footer__links a:hover { color: var(--cyan-hover); transform: translateX(4px); }
.footer__bottom { position: relative; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) 40px; }
.footer__bottom-inner {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  border-top: 1px solid var(--footer-rule);
  padding-top: 24px;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer__legal p { font-size: 14px; color: var(--footer-muted); margin: 0; }
.footer__legal a { font-size: 14px; color: var(--footer-muted); transition: color 160ms ease; }
.footer__legal a:hover { color: #fff; }
.footer__legal-btn {
  font-family: inherit;
  font-size: 14px;
  color: var(--footer-muted);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 160ms ease;
}
.footer__legal-btn:hover { color: #fff; }
.footer__built {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--footer-muted);
  transition: color 160ms ease;
}
.footer__built:hover { color: #fff; }
.footer__built-logo {
  height: 24px;
  width: auto;
  display: block;
  opacity: .92;
  transition: opacity 160ms ease, transform 200ms var(--ease);
}
.footer__built:hover .footer__built-logo { opacity: 1; transform: translateY(-1px); }

/* --------------------------------------------------------------------------
   15. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal-prep { opacity: 0; will-change: opacity, transform; }
.reveal-in { opacity: 1 !important; transform: none !important; }

/* --------------------------------------------------------------------------
   16. Responsive tweaks
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .tstm__page { grid-template-columns: minmax(0, 1fr); }
  .mega__inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .hero-home__badge { left: 0; bottom: -14px; padding: 14px 18px; }
  .cta-band__inner { align-items: flex-start; }
  .article__foot { gap: 20px; }
  .footer__bottom-inner { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .hero-home__actions .btn { width: 100%; }
  .tstm__head { align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   17. Cookie consent banner
   -------------------------------------------------------------------------- */
.consent {
  position: fixed;
  z-index: 200;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 var(--gutter) max(var(--gutter), env(safe-area-inset-bottom));
  animation: consent-in 320ms var(--ease) both;
}
@keyframes consent-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.consent__inner {
  max-width: var(--container);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-media);
  padding: clamp(20px, 3vw, 28px);
}
.consent__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 8px;
}
.consent__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
  max-width: 88ch;
}
.consent__policy-link { color: var(--navy); text-decoration: underline; }
.consent__policy-link:hover { color: var(--cyan); }

.consent__options {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 18px;
  padding-top: 18px;
}
.consent__row-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 6px 0 0 28px;
  max-width: 80ch;
}
.consent__toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.consent__toggle input { width: 18px; height: 18px; accent-color: var(--cyan); flex: none; }
.consent__toggle input:disabled { cursor: not-allowed; }
.consent__toggle-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.consent__always {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 6px;
}

.consent__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.consent__link {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 8px 4px;
  text-decoration: underline;
  cursor: pointer;
  transition: color 160ms ease;
}
.consent__link:hover { color: var(--navy); }

@media (max-width: 560px) {
  .consent__inner { max-height: 76vh; overflow-y: auto; }
  /* Accept and Reject must stay equally easy to reach — same width, same row. */
  .consent__actions .btn { flex: 1 1 calc(50% - 6px); justify-content: center; }
  .consent__link { flex: 1 1 100%; text-align: center; }
}

/* --------------------------------------------------------------------------
   18. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-prep { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   19. Print
   -------------------------------------------------------------------------- */
@media print {
  .header, .footer, .cta-band, .mobile-menu, .tstm__nav, .tstm__dots, .consent { display: none !important; }
  body { font-size: 12pt; }
  .article { max-width: none; }
}
