/* Hodges Maven Consulting: Direction B (modern, data-driven, glass) */

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

:root {
  --slate: #3A505D;
  --slate-950: #0C1418;
  --slate-900: #131E25;
  --slate-800: #1C2A33;
  --slate-700: #2B3D48;
  --ink: #17222A;
  --text: #33434C;
  --muted: #56676F;
  --line: #DCE2E5;
  --grey: #EFF2F4;
  --white: #FFFFFF;
  --sky: #8FC3E0;
  --sky-ink: #0F1D25;
  --on-dark-2: #C9D6DD;

  --glass-bg: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-shadow: 0 12px 40px rgba(5, 12, 16, 0.35);
  --glass-dark: rgba(19, 30, 37, 0.86);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 16px;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--slate); text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* Letter-spaced small caps echo the wordmark */
.eyebrow, .label {
  font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--slate); box-shadow: 0 0 0 4px rgba(58,80,93,.15); }
.eyebrow--light { color: var(--white); }
.eyebrow--light::before { background: var(--sky); box-shadow: 0 0 0 4px rgba(143,195,224,.2); }
.label { display: block; margin-bottom: 6px; font-size: .6875rem; color: var(--on-dark-2); }

.h2 { font-size: clamp(1.75rem, 4.2vw, 3rem); font-weight: 600; max-width: 20ch; }
.h2--light { color: var(--white); }
.h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 600; }
.section-head { margin-bottom: 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font: 600 .9375rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .875rem; border-radius: 10px; }
.btn--sky { background: var(--sky); color: var(--sky-ink); }
.btn--sky:hover { background: #A9D2EA; color: var(--sky-ink); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { color: var(--white); background: rgba(255,255,255,.08); border-color: var(--white); }
.btn--slate { background: var(--slate); color: var(--white); }
.btn--slate:hover { background: var(--slate-800); color: var(--white); }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
.glass--dark { background: var(--glass-dark); border-color: rgba(255,255,255,.16); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(28, 42, 51, .96); }
  .glass--dark { background: var(--slate-900); }
}

/* ---------- Background: grid lines + drifting shapes ---------- */
.grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shapes span { position: absolute; border-radius: 50%; will-change: transform; animation: drift 40s ease-in-out infinite alternate; }
.shapes span:nth-child(1) { width: 58vmax; height: 58vmax; right: -16vmax; top: -24vmax; background: radial-gradient(closest-side, rgba(74,110,132,.55), rgba(74,110,132,0)); }
.shapes span:nth-child(2) { width: 40vmax; height: 40vmax; left: -12vmax; bottom: -16vmax; background: radial-gradient(closest-side, rgba(143,195,224,.12), rgba(143,195,224,0)); animation-duration: 48s; animation-delay: -16s; }
.shapes span:nth-child(3) { width: 46vmax; height: 46vmax; left: 35%; top: 30%; background: radial-gradient(closest-side, rgba(58,80,93,.6), rgba(58,80,93,0)); animation-duration: 56s; animation-delay: -28s; }
.shapes.is-paused span { animation-play-state: paused; }
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-6vmax, 5vmax, 0) scale(1.1); }
  100% { transform: translate3d(5vmax, -3vmax, 0) scale(.94); }
}

/* ---------- Nav: floating glass pill ---------- */
.nav { position: fixed; top: 10px; left: 0; right: 0; z-index: 50; padding: 0 10px; }
.nav__inner {
  max-width: 1180px; margin: 0 auto; height: 60px; padding: 0 8px 0 18px;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 16px; position: relative;
  transition: background-color .35s var(--ease);
}
.nav.is-solid .nav__inner, .menu-open .nav__inner { background: var(--glass-dark); border-color: rgba(255,255,255,.16); }
.nav__brand img { width: 108px; height: auto; }
@media (min-width: 720px) { .nav__brand img { width: 128px; } }
.nav__toggle { width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; color: var(--white); cursor: pointer; }
.nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease);
}
.nav__toggle-bars { position: relative; }
.nav__toggle-bars::before, .nav__toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav__toggle-bars::before { top: -7px; }
.nav__toggle-bars::after { top: 7px; }
.menu-open .nav__toggle-bars { background: transparent; }
.menu-open .nav__toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-open .nav__toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
.nav__menu { display: none; }
.nav__menu a:not(.btn) { color: var(--white); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.nav__menu a:not(.btn):hover { color: var(--sky); }
.menu-open .nav__menu {
  display: flex; flex-direction: column;
  position: absolute; top: 68px; left: 0; right: 0; padding: 8px 18px 18px;
  border-radius: 16px; background: var(--glass-dark); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.menu-open .nav__menu a:not(.btn) { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.menu-open .nav__menu .btn { margin-top: 14px; }
@media (min-width: 900px) {
  .nav { top: 16px; }
  .nav__toggle { display: none; }
  .nav__menu, .menu-open .nav__menu {
    display: flex; flex-direction: row; align-items: center; gap: 28px;
    position: static; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .menu-open .nav__menu a:not(.btn) { padding: 0; border: 0; }
  .menu-open .nav__menu .btn { margin-top: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 112px 0 64px;
  background: radial-gradient(120% 90% at 80% 0%, #2A3E4A 0%, var(--slate-900) 45%, var(--slate-950) 100%);
  color: var(--white);
}
.hero__inner { position: relative; display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .hero__inner { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 600; letter-spacing: -0.035em; max-width: 14ch; margin-bottom: 22px; }
.hero__lead { color: var(--white); max-width: 58ch; font-size: clamp(.9375rem, 1.4vw, 1.0625rem); line-height: 1.7; margin-bottom: 24px; }
.draft-pill { display: inline-block; margin-bottom: 22px; padding: 6px 12px; border: 1px dashed rgba(255,255,255,.45); border-radius: 999px; font-size: .75rem; color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { padding: 7px 14px; border-radius: 999px; font-size: .8125rem; font-weight: 500; color: var(--white); box-shadow: none; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.anim [data-hero-in] { opacity: 0; }

/* System panel: the six units as one network */
.system { position: relative; border-radius: 24px; padding: 18px; overflow: hidden; }
.system__head { display: flex; align-items: center; gap: 10px; padding: 4px 4px 16px; }
.system__title { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--white); }
.system__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 0 rgba(143,195,224,.6); animation: pulse 2.6s ease-out infinite; margin-right: 8px; vertical-align: middle; }
.system__head .system__dot { margin-right: 0; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(143,195,224,.55); } 100% { box-shadow: 0 0 0 10px rgba(143,195,224,0); } }
.system__lines {
  position: absolute; left: 18px; right: 18px; top: 58px; bottom: 18px; width: calc(100% - 36px); height: calc(100% - 76px);
  fill: none; stroke: rgba(143,195,224,.35); stroke-width: 1; stroke-dasharray: 3 5;
  animation: flow 6s linear infinite; pointer-events: none;
}
@keyframes flow { to { stroke-dashoffset: -80; } }
.system__grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .system__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.tile {
  display: flex; flex-direction: column; gap: 14px; height: 100%; min-height: 112px; padding: 16px;
  border-radius: 16px; text-decoration: none; color: var(--white);
  background: rgba(19, 30, 37, .55); border: 1px solid rgba(255,255,255,.14);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.tile:hover { color: var(--white); background: rgba(19,30,37,.75); border-color: rgba(143,195,224,.6); transform: translateY(-2px); }
.tile svg { width: 26px; height: 26px; fill: none; stroke: var(--sky); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile span { font-size: .875rem; font-weight: 600; line-height: 1.3; }

/* ---------- Units ---------- */
.units { background: var(--grey); padding: 88px 0; }
@media (min-width: 900px) { .units { padding: 120px 0; } }
.units__layout { display: grid; gap: 24px; }
@media (min-width: 1000px) { .units__layout { grid-template-columns: 260px 1fr; gap: 56px; align-items: start; } }
.units__index { display: none; }
@media (min-width: 1000px) {
  .units__index { display: flex; flex-direction: column; position: sticky; top: 110px; border-left: 2px solid var(--line); }
  .units__index a {
    display: flex; gap: 12px; padding: 10px 0 10px 18px; margin-left: -2px; border-left: 2px solid transparent;
    color: var(--muted); text-decoration: none; font-weight: 500; font-size: .9375rem; line-height: 1.35;
    transition: color .25s, border-color .25s;
  }
  .units__index a span { font-size: .75rem; font-weight: 600; letter-spacing: .1em; padding-top: 2px; }
  .units__index a:hover { color: var(--ink); }
  .units__index a[aria-current] { color: var(--ink); border-left-color: var(--slate); }
}
.units__list { display: grid; gap: 20px; }
.ucard {
  display: grid; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 16px 40px rgba(19,30,37,.06);
}
@media (min-width: 720px) { .ucard { grid-template-columns: 1fr 1.15fr; } }
.ucard__visual {
  position: relative; isolation: isolate; overflow: hidden; padding: 22px; min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background: linear-gradient(150deg, var(--slate-800), var(--slate-950));
}
.ucard__visual::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.ucard__glow {
  position: absolute; z-index: -1; width: 260px; height: 260px; right: -80px; top: -90px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(74,110,132,.75), rgba(74,110,132,0));
  animation: drift 30s ease-in-out infinite alternate;
}
.ucard__top { display: flex; align-items: center; justify-content: space-between; }
.ucard__num { color: var(--white); font-size: .8125rem; font-weight: 600; letter-spacing: .2em; }
.ucard__icon { width: 30px; height: 30px; fill: none; stroke: var(--sky); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 12px; border-radius: 10px; font-size: .8125rem; font-weight: 500; color: var(--white); box-shadow: none; }
.ucard__body { padding: 26px 24px 28px; display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 720px) { .ucard__body { padding: 34px 32px; justify-content: center; } }
.ucard__body .h3 { margin-bottom: 12px; }
.ucard__body p { color: var(--text); }
.ucard__body .btn { margin-top: 8px; }
.ucard__note { font-size: .875rem; color: var(--muted) !important; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
@media (min-width: 900px) { .section { padding: 120px 0; } }
.section--grey { background: var(--grey); }
.placeholder-note { color: var(--muted); font-size: .875rem; margin: 12px 0 0; }

/* Process */
.process { position: relative; }
.process__track { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.process__fill { position: absolute; inset: 0; background: var(--slate); transform-origin: top; }
.process__steps { display: grid; gap: 32px; }
.process__steps li { position: relative; padding-left: 40px; }
.process__dot { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid var(--slate); }
.process__n { font-size: .75rem; font-weight: 600; letter-spacing: .2em; color: var(--muted); }
.process__steps h3 { font-size: 1.25rem; font-weight: 600; margin: 6px 0; }
.process__steps p { margin: 0; max-width: 34ch; }
@media (max-width: 899px) {
  .process__fill { transform: scaleY(1) !important; } /* vertical track: shown full on phones */
}
@media (min-width: 900px) {
  .process__track { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; }
  .process__fill { transform-origin: left; }
  .process__steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .process__steps li { padding: 40px 0 0; }
}

/* About */
.about { display: grid; gap: 32px; margin-bottom: 40px; }
@media (min-width: 900px) { .about { grid-template-columns: 1.3fr 1fr; gap: 64px; } }
.mission { margin: 0; }
.mission p { font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.4; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.mission footer { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.placeholder-box { border: 1px dashed #9AA9B1; border-radius: 16px; padding: 20px 22px; background: var(--white); }
.placeholder-box strong { color: var(--ink); }
.placeholder-box p { margin: 6px 0 0; color: var(--muted); }
.pillars { display: grid; gap: 16px; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars li { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.pillars__n { font-size: .75rem; font-weight: 600; letter-spacing: .2em; color: var(--muted); }
.pillars h3 { font-size: 1.125rem; font-weight: 600; margin: 8px 0 6px; }
.pillars p { margin: 0; }

/* ---------- Enquiry ---------- */
.enquiry {
  display: grid; border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(19,30,37,.08); background: var(--white);
}
@media (min-width: 960px) { .enquiry { grid-template-columns: .85fr 1.15fr; } }
.enquiry__side {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white);
  background: linear-gradient(160deg, var(--slate-800), var(--slate-950)); padding: 32px 24px;
}
@media (min-width: 720px) { .enquiry__side { padding: 44px 40px; } }
.enquiry__side-inner { position: relative; }
.enquiry__side .h2 { margin-bottom: 14px; }
.shapes--small span:nth-child(1) { width: 380px; height: 380px; right: -140px; top: -160px; }
.shapes--small span:nth-child(2) { width: 300px; height: 300px; left: -120px; bottom: -140px; }
.wa-card { display: flex; gap: 14px; align-items: center; margin-top: 28px; padding: 16px 18px; border-radius: 16px; color: var(--white); text-decoration: none; }
.wa-card:hover { color: var(--white); border-color: rgba(143,195,224,.6); }
.wa-card svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--sky); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wa-card strong { display: block; }
.wa-card span span { font-size: .875rem; }
.form { display: grid; gap: 18px; padding: 28px 24px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; padding: 40px; } }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: .875rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--font); color: var(--ink);
  background: var(--grey); border: 1px solid #A9B6BD; border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--slate); box-shadow: 0 0 0 3px rgba(58,80,93,.2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--slate); flex: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { margin: 0; font-size: .9375rem; color: var(--ink); background: var(--grey); padding: 10px 14px; border-radius: 10px; }

/* ---------- Footer ---------- */
.footer { position: relative; isolation: isolate; overflow: hidden; background: var(--slate-950); color: var(--white); padding: 80px 0 120px; }
.footer .grid-lines { -webkit-mask-image: linear-gradient(#000, transparent 70%); mask-image: linear-gradient(#000, transparent 70%); }
.footer__inner { position: relative; }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .footer__grid { grid-template-columns: 1fr 2fr; gap: 56px; } }
.footer__grid img { width: 136px; height: auto; margin-bottom: 16px; }
.footer__tag { color: var(--on-dark-2); font-size: .875rem; }
.contact-cards { display: grid; gap: 14px; }
@media (min-width: 720px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { border-radius: 16px; padding: 20px; }
.contact-card p { margin: 0; color: var(--white); }
.contact-card a { color: var(--white); }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .8125rem; color: var(--on-dark-2); }
.legal p { margin: 0 0 8px; }
.legal strong { color: var(--white); }

/* ---------- Floating buttons + chat ---------- */
.fab, .chat__bubble {
  position: fixed; z-index: 60; width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center; color: var(--white); cursor: pointer; padding: 0;
}
.fab svg, .chat__bubble svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fab--wa { right: 16px; bottom: 84px; background: var(--glass-dark); }
.fab--wa:hover { color: var(--white); border-color: rgba(143,195,224,.6); }
.chat__bubble { right: 16px; bottom: 16px; }
.chat__bubble[aria-expanded="true"] { background: var(--slate); }
@media (min-width: 720px) { .fab--wa { right: 24px; bottom: 96px; } .chat__bubble { right: 24px; bottom: 24px; } }
.chat__panel {
  position: fixed; z-index: 61; right: 16px; left: 16px; bottom: 84px;
  max-height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column; border-radius: 22px; color: var(--white); overflow: hidden;
}
.chat__panel[hidden] { display: none; }
@media (min-width: 520px) { .chat__panel { left: auto; width: 370px; right: 24px; bottom: 96px; } }
.chat__head { display: flex; justify-content: space-between; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
.chat__title { margin: 0; font-weight: 600; color: var(--white); }
.chat__sub { margin: 2px 0 0; font-size: .8125rem; color: var(--on-dark-2); }
.chat__close { width: 40px; height: 40px; margin: -6px -6px 0 0; border: 0; background: none; color: var(--white); cursor: pointer; display: grid; place-items: center; border-radius: 12px; }
.chat__close:hover { background: rgba(255,255,255,.1); }
.chat__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.chat__log { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; min-height: 90px; }
.chat__msg { margin: 0; padding: 10px 14px; border-radius: 14px; font-size: .9375rem; line-height: 1.45; max-width: 88%; }
.chat__msg--bot { background: rgba(255,255,255,.1); color: var(--white); border-bottom-left-radius: 4px; }
.chat__msg--user { align-self: flex-end; background: var(--sky); color: var(--sky-ink); border-bottom-right-radius: 4px; }
.chat__opts { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px 18px; border-top: 1px solid rgba(255,255,255,.14); }
.chat__opts button, .chat__enquire { min-height: 40px; padding: 8px 14px; border-radius: 12px; font: 500 .875rem/1.2 var(--font); cursor: pointer; text-decoration: none; }
.chat__opts button { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.4); }
.chat__opts button:hover { background: rgba(255,255,255,.1); }
.chat__enquire { display: inline-flex; align-items: center; background: var(--sky); color: var(--sky-ink); border: 1px solid var(--sky); }
.chat__enquire:hover { color: var(--sky-ink); background: #A9D2EA; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anim [data-hero-in] { opacity: 1; }
}
