/* ==========================================================
   Foresight Consultancy — single page site
   Brand colours and fonts are taken from the existing site.
   Change a value here and the whole page follows.
   ========================================================== */
:root {
  --ink:         #3D3935;  /* brand charcoal */
  --ink-deep:    #2A2623;  /* deeper charcoal: text on orange, footer */
  --ink-soft:    #57514C;  /* illustration silhouettes */
  --orange:      #F57F25;  /* brand orange */
  --orange-hi:   #FF9A4D;  /* button hover */
  --orange-text: #A84B0C;  /* orange for small text on light backgrounds (passes contrast) */
  --orange-lt:   #F9A766;  /* orange for smaller text on charcoal */
  --cream:       #FEF1E4;  /* brand peach */
  --sand:        #E5D7D1;  /* brand sand */
  --white:       #FFFFFF;
  --text:        #3D3935;
  --muted:       #6E645D;
  --line:        #E5D7D1;
  --error:       #B3261E;
  --logo-orange: #E3823D;  /* exact colours of the Foresight logo */
  --logo-ink:    #3C3934;

  --f-display: "Jost", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(88px, 11vw, 160px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* lets the spotlight on the service tiles glide instead of jump */
@property --mx { syntax: "<percentage>"; inherits: false; initial-value: 70%; }
@property --my { syntax: "<percentage>"; inherits: false; initial-value: 25%; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-text); }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em { font-style: normal; }

:focus-visible { outline: 3px solid var(--orange-text); outline-offset: 3px; border-radius: 4px; }
.why :focus-visible, .contact :focus-visible, .site-footer :focus-visible, .ticker-band :focus-visible, body.nav-open .top :focus-visible { outline-color: var(--orange); }
.testimonials :focus-visible { outline-color: var(--ink-deep); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--ink-deep); padding: 10px 16px; border-radius: 6px;
  font-weight: 500; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 500 1rem/1 var(--f-display); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), translate .3s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-orange { background: var(--orange); color: var(--ink-deep); }
.btn-orange:hover { background: var(--orange-hi); }
.btn-outline { border-color: currentColor; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.magnetic { transition: translate .35s var(--ease), background-color .25s, color .25s, border-color .25s, transform .2s; }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--ink); padding-top: env(safe-area-inset-top, 0px);
  transition: transform .45s var(--ease), background-color .35s, box-shadow .35s;
}
.top::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--orange); transform-origin: left; transform: scaleX(var(--prog, 0));
}
.top.scrolled { background: rgba(254, 241, 228, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(61, 57, 53, .08); }
.top.hide { transform: translateY(-100%); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.logo { display: block; height: auto; overflow: visible; }
.logo .lg-mark { fill: var(--logo-orange); }
.logo .lg-word, .logo .lg-sub { fill: currentColor; }
.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; color: inherit; text-decoration: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.logo-head { width: 170px; }
.top .brand { color: var(--logo-ink); }
/* while the big hero logo is on screen, the header keeps its own logo out of the way */
.top.at-hero .brand { opacity: 0; transform: translateY(-8px); pointer-events: none; }
body.nav-open .top .brand { opacity: 1; transform: none; pointer-events: auto; color: var(--cream); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { color: inherit; text-decoration: none; font: 400 1rem var(--f-display); position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
  background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { min-height: 44px; padding: 0 22px; }

.menu-btn { display: none; width: 46px; height: 46px; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; }
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block; width: 24px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .3s var(--ease), background-color .2s;
}
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -7px; }
.menu-bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: var(--ink); color: var(--cream);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav a:not(.btn) { font: 400 2.1rem/1.1 var(--f-display); }
  .nav-cta { font-size: 1.2rem; min-height: 56px; padding: 0 32px; }
  .nav.open { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  body.nav-open .top { color: var(--cream); background: transparent; box-shadow: none; backdrop-filter: none; }
}

/* ---------- Hero ---------- */
.hero { background: var(--cream); padding: 150px 0 var(--grow, 0px); overflow: hidden; }
/* without JavaScript the logo simply sits above the promises */
.hero-head {
  position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto;
  grid-template-areas: "logo logo" "title art" "title side"; align-items: end; gap: 28px clamp(32px, 5vw, 80px);
}
.hero-logo { grid-area: logo; margin: 0 0 12px; color: var(--logo-ink); line-height: 0; }
.logo-hero { width: min(100%, 860px); }
/* with JavaScript the logo takes the stage first, then hands it over to the promises */
.js .hero-head { grid-template-rows: 1fr auto; grid-template-areas: "title art" "title side"; }
.js .hero-logo { position: absolute; top: 0; bottom: 0; left: var(--gutter); right: var(--gutter); display: flex; align-items: center; margin: 0; pointer-events: none; }
.hero-title { grid-area: title; margin: 0; font-family: var(--f-display); color: var(--ink); font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -0.035em; font-weight: 300; }
.ht-line { display: block; overflow: hidden; padding: .02em 0 .1em; }
.ht-line > span { display: inline-block; }
.w-light { font-weight: 300; }
.w-bold { font-weight: 700; }
.hero-side { grid-area: side; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; max-width: 30rem; padding-bottom: .5rem; }
.hero-lede { font-size: clamp(1.05rem, 1.3vw, 1.18rem); color: var(--muted); margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* orange line work fills the space beside the promises, echoing the sweep of the logo */
.hero-art { grid-area: art; position: relative; align-self: stretch; min-height: 150px; }
.hero-art svg { position: absolute; left: -22%; right: -4%; top: -24px; bottom: 0; width: 126%; height: calc(100% + 24px); overflow: visible; }
.lw { fill: none; stroke: url(#lw-fade); stroke-width: 1.6; stroke-linecap: round; opacity: var(--o, 1); }
.lw-main { stroke-width: 2.2; }
.lw-dots { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 0 10; opacity: .45; animation: lw-drift 3.2s linear infinite; }
@keyframes lw-drift { to { stroke-dashoffset: -20; } }
.lw-end { fill: var(--orange); }
.lw-ring { fill: none; stroke: var(--orange); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: ping 3.2s var(--ease) infinite; }
.lw-traveller { fill: var(--ink); }
/* the lines draw themselves in once the promises have arrived */
.js .hero-art .lw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .hero-art .lw-dots, .js .hero-art .lw-end, .js .hero-art .lw-ring, .js .hero-art .lw-traveller { opacity: 0; }
.js .is-swapped .hero-art .lw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease) calc(.55s + var(--i) * .1s); }
.js .is-swapped .hero-art .lw-dots { opacity: .45; transition: opacity 1.2s ease 1.6s; }
.js .is-swapped .hero-art .lw-end, .js .is-swapped .hero-art .lw-ring, .js .is-swapped .hero-art .lw-traveller { opacity: 1; transition: opacity .8s ease 2s; }
/* tablets held upright: the line work sits beside the promises, the intro runs underneath */
@media (max-width: 860px) {
  .hero-head { grid-template-columns: auto 1fr; grid-template-rows: auto; grid-template-areas: "logo logo" "title art" "side side"; }
  .js .hero-head { grid-template-rows: auto; grid-template-areas: "title art" "side side"; }
  .hero-title { font-size: clamp(2.6rem, 7.6vw, 4.4rem); }
  .hero-art svg { left: -10%; width: 114%; }
  .hero-side { max-width: 36rem; }
}
/* phones: everything stacks */
@media (max-width: 599px) {
  .hero-head { grid-template-columns: 1fr; grid-template-areas: "logo" "title" "side"; }
  .js .hero-head { grid-template-areas: "title" "side"; }
  .hero-art { display: none; }
  .hero-side { max-width: none; }
}

.map-box {
  position: relative; margin-top: clamp(40px, 6vw, 72px);
  background: var(--ink); border-radius: 28px; overflow: hidden;
  transform-origin: 50% 0; will-change: transform;
}
.route-map { display: block; width: 100%; height: auto; }
.map-caption {
  position: absolute; left: clamp(18px, 3vw, 36px); bottom: clamp(14px, 2.4vw, 28px); margin: 0;
  max-width: 24rem; color: rgba(254, 241, 228, .75); font-size: .92rem; line-height: 1.45;
}
.grid-dot { fill: rgba(254, 241, 228, .10); }
.land { fill: rgba(254, 241, 228, .06); stroke: rgba(254, 241, 228, .30); stroke-width: 1.2; stroke-linejoin: round; }
.route { fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-linecap: round; opacity: .85; }
.traveller { fill: var(--cream); }
.place-dot { fill: var(--orange); }
.place-ring { fill: none; stroke: var(--orange); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ping 3.2s var(--ease) infinite; animation-delay: var(--d, 0s); }
.city-dot { fill: var(--cream); }
.place-label { fill: rgba(254, 241, 228, .78); font: 400 12.5px var(--f-body); }
.city-label { fill: var(--cream); font: 500 14px var(--f-display); }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 70%, 100% { transform: scale(2.4); opacity: 0; } }

/* hero sequence: the logo's strokes sweep in and the name is revealed; it holds,
   then fades away while the four promises rise in its place, then the intro and buttons */
.logo-hero .lg-m1, .logo-hero .lg-m2, .logo-hero .lg-m3, .logo-hero .lg-sub { transform-box: fill-box; transform-origin: 50% 50%; }
.js .logo-hero .lg-m1 { opacity: 0; transform: translate(-14px, 22px) rotate(-18deg) scale(.6); }
.js .logo-hero .lg-m2 { opacity: 0; transform: translate(-26px, 10px) rotate(12deg) scale(.7); }
.js .logo-hero .lg-m3 { opacity: 0; transform: translate(10px, 26px) rotate(-10deg) scale(.7); }
.js .logo-hero .lg-word { clip-path: inset(0 100% 0 0); }
.js .logo-hero .lg-sub { opacity: 0; transform: translateY(10px); }
.js .is-loaded .logo-hero .lg-m1, .js .is-loaded .logo-hero .lg-m2, .js .is-loaded .logo-hero .lg-m3 { opacity: 1; transform: none; transition: opacity .5s ease, transform 1.1s var(--ease); }
.js .is-loaded .logo-hero .lg-m2 { transition-delay: .12s; }
.js .is-loaded .logo-hero .lg-m3 { transition-delay: .24s; }
.js .is-loaded .logo-hero .lg-word { clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease) .35s; }
.js .is-loaded .logo-hero .lg-sub { opacity: 1; transform: none; transition: opacity .8s ease .95s, transform .9s var(--ease) .95s; }
.js .is-swapped .logo-hero { opacity: 0; filter: blur(6px); transform: translateY(-14px) scale(.98); transition: opacity .9s ease, filter .9s ease, transform 1s var(--ease); }
.js .ht-line > span { transform: translateY(108%); }
.js .hero-side { opacity: 0; transform: translateY(14px); }
.js .is-swapped .ht-line > span { transform: none; transition: transform 1s var(--ease) .35s; }
.js .is-swapped .ht-line:nth-child(2) > span { transition-delay: .47s; }
.js .is-swapped .ht-line:nth-child(3) > span { transition-delay: .59s; }
.js .is-swapped .ht-line:nth-child(4) > span { transition-delay: .71s; }
.js .is-swapped .hero-side { opacity: 1; transform: none; transition: opacity 1s ease 1s, transform 1.1s var(--ease) 1s; }

@media (max-width: 900px) {
  .hero { padding-top: 120px; }
  .map-box { border-radius: 18px; }
  .map-caption { position: static; padding: 0 18px 18px; }
}
@media (max-width: 640px) { .place-label { display: none; } .city-label { font-size: 22px; } }

/* ---------- Ticker ---------- */
.ticker-band { background: var(--ink-deep); color: var(--cream); padding: 22px 0; overflow: hidden; }
.ticker { display: flex; width: max-content; will-change: transform; }
.ticker-group { display: flex; align-items: center; flex: none; }
.ticker-group span { font: 300 clamp(1.6rem, 3.4vw, 2.9rem)/1.2 var(--f-display); letter-spacing: -0.01em; white-space: nowrap; }
.ticker-group i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); margin: 0 .9em; flex: none; font-size: clamp(1.6rem, 3.4vw, 2.9rem); }

/* ---------- Reveal (only for items that start below the fold) ---------- */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Services ---------- */
.services { padding: var(--section) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .95; letter-spacing: -0.035em; font-weight: 700; }
.section-head p { font-size: 1.15rem; color: var(--muted); max-width: 30rem; justify-self: end; }
.service {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line);
}
.service-flip .service-media { order: 2; }
.service-media {
  --mx: 70%; --my: 25%;
  aspect-ratio: 1 / 1; border-radius: 24px; overflow: hidden;
  display: grid; place-items: center; padding: 24%;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(245, 127, 37, .55), rgba(245, 127, 37, 0) 58%), var(--ink);
  transition: --mx .6s var(--ease), --my .6s var(--ease);
}
.service-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 1s var(--ease); }
.service:hover .service-media img { transform: scale(1.05) translateY(-2%); }
/* Medivac tile: an air ambulance trailing a heartbeat line, in the brand colours */
.service-media.has-art { padding: 0; }
.medivac-art { width: 100%; height: 100%; display: block; }
.mv-cloud { fill: var(--cream); opacity: .09; animation: mv-drift 18s linear infinite; }
.mv-cloud.c2 { opacity: .06; animation-duration: 24s; animation-delay: -9s; }
.mv-cloud.c3 { opacity: .12; animation-duration: 14s; animation-delay: -4s; }
@keyframes mv-drift { from { transform: translateX(0); } to { transform: translateX(-560px); } }
.mv-trail { fill: none; stroke: rgba(245, 127, 37, .28); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.mv-pulse {
  fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: .22 1; stroke-dashoffset: -.7; filter: drop-shadow(0 0 5px rgba(245, 127, 37, .7));
  animation: mv-pulse 2.6s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes mv-pulse { from { stroke-dashoffset: .22; } to { stroke-dashoffset: -1; } }
.mv-plane { transform-box: fill-box; transform-origin: 50% 50%; animation: mv-bob 3.6s ease-in-out infinite; }
@keyframes mv-bob { 50% { transform: translateY(-7px) rotate(-1.5deg); } }
.mv-body { fill: var(--cream); }
.mv-wing-far { fill: var(--sand); opacity: .75; }
.mv-stripe { stroke: var(--orange); stroke-width: 3; stroke-linecap: round; }
.mv-windows { fill: var(--ink); }
.mv-cross { fill: var(--orange); transform-box: fill-box; transform-origin: 50% 50%; animation: mv-beat 2.6s ease-out infinite; }
/* the cross on the tail glows as each pulse reaches the plane */
@keyframes mv-beat {
  0%, 74% { transform: scale(1); filter: none; }
  82% { transform: scale(1.35); filter: drop-shadow(0 0 6px rgba(245, 127, 37, .95)); }
  100% { transform: scale(1); filter: none; }
}
/* TeleHealth tile: a video consult on a tablet, with the patient's phone sending a signal */
.telehealth-art { width: 100%; height: 100%; display: block; }
.th-tablet { transform-box: fill-box; transform-origin: 50% 50%; animation: mv-bob 4.2s ease-in-out infinite; }
.th-phone { transform-box: fill-box; transform-origin: 50% 50%; animation: mv-bob 3.4s ease-in-out -1.6s infinite; }
.th-frame { fill: var(--cream); }
.th-screen { fill: var(--ink-deep); }
.th-cam { fill: var(--ink); }
.th-head { fill: var(--sand); }
.th-shoulders { fill: var(--cream); }
.th-steth { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; }
.th-steth-end { fill: var(--orange); }
.th-live { fill: var(--orange); }
.th-live-ring { fill: none; stroke: var(--orange); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 2.2s var(--ease) infinite; }
.th-bubble rect { fill: var(--cream); }
.th-dot { fill: var(--ink); transform-box: fill-box; transform-origin: center; animation: th-type 1.4s ease-in-out infinite; }
.th-dot.d2 { animation-delay: .18s; }
.th-dot.d3 { animation-delay: .36s; }
@keyframes th-type { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.th-trail { fill: none; stroke: rgba(245, 127, 37, .28); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.th-pulse {
  fill: none; stroke: var(--orange); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: .25 1; stroke-dashoffset: -.55; filter: drop-shadow(0 0 4px rgba(245, 127, 37, .7));
  animation: mv-pulse 2.2s cubic-bezier(.45, 0, .55, 1) infinite;
}
.th-wave { fill: none; stroke: var(--orange); stroke-width: 3.5; stroke-linecap: round; animation: th-signal 1.8s ease-in-out infinite; }
.th-wave.w2 { animation-delay: .22s; }
.th-wave.w3 { animation-delay: .44s; }
@keyframes th-signal { 0%, 100% { opacity: .2; } 40% { opacity: 1; } }
.th-patient-head { fill: var(--orange); }
.th-patient { fill: var(--sand); }
.service-body h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 24px; }
.service-body p { max-width: 60ch; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .service { grid-template-columns: 1fr; }
  .service-flip .service-media { order: 0; }
  .service-media { max-width: 420px; aspect-ratio: 4 / 3; padding: 14% 30%; }
  .service-media.has-art { padding: 0; }
}

/* ---------- How we help: accordion ---------- */
.help { background: var(--cream); padding: var(--section) 0; }
.help-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.help-head { position: sticky; top: 120px; }
.help-head h2 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); line-height: 1; font-weight: 500; letter-spacing: -0.035em; margin-bottom: 22px; }
.help-head p { color: var(--muted); font-size: 1.1rem; max-width: 26rem; margin-bottom: 32px; }
.acc-item { border-top: 1px solid rgba(61, 57, 53, .14); }
.acc-item:last-child { border-bottom: 1px solid rgba(61, 57, 53, .14); }
.acc-item h3 { margin: 0; }
.acc-btn {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 26px 0;
  background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink);
  font: 400 clamp(1.3rem, 2.2vw, 1.8rem)/1.2 var(--f-display); letter-spacing: -0.015em;
}
.acc-btn::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex: none;
  transform: scale(0); margin-right: -26px; transition: transform .35s var(--ease), margin .35s var(--ease);
}
.acc-item.open .acc-btn::before { transform: scale(1); margin-right: 0; }
.acc-icon {
  margin-left: auto; flex: none; position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(61, 57, 53, .25); transition: transform .4s var(--ease), background-color .3s, border-color .3s;
}
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.8px; background: currentColor; translate: -50% -50%; }
.acc-icon::after { rotate: 90deg; }
.acc-btn:hover .acc-icon { border-color: var(--ink); }
.acc-item.open .acc-icon { transform: rotate(45deg); background: var(--orange); border-color: var(--orange); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { color: var(--muted); max-width: 52ch; padding: 0 60px 28px 26px; margin: 0; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-item.open .acc-panel p { opacity: 1; transform: none; transition-delay: .1s; }
@media (max-width: 860px) {
  .help-grid { grid-template-columns: 1fr; }
  .help-head { position: static; }
  .acc-panel p { padding-right: 0; }
}

/* ---------- Why: words light up ---------- */
.why { background: var(--ink); color: var(--cream); padding: var(--section) 0; }
.statement {
  color: var(--cream); font-size: clamp(2rem, 4.8vw, 4.4rem); line-height: 1.1; font-weight: 400; letter-spacing: -0.03em; max-width: 22ch;
}
.statement em { color: var(--orange); }
.statement .w { color: rgba(254, 241, 228, .2); transition: color .35s; }
.statement em .w { color: rgba(245, 127, 37, .28); }
.statement .w.lit { color: var(--cream); }
.statement em .w.lit { color: var(--orange); }
.why-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: clamp(56px, 7vw, 96px); padding-top: 40px; border-top: 1px solid rgba(254, 241, 228, .15); }
.facts { display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 5vw, 72px); margin: 0; }
.facts div { margin: 0; max-width: 13rem; }
.facts dt { font: 700 clamp(2.4rem, 4vw, 3.4rem)/1 var(--f-display); color: var(--cream); letter-spacing: -0.04em; margin-bottom: 10px; }
.facts dd { margin: 0; font-size: .95rem; color: rgba(254, 241, 228, .72); line-height: 1.45; }

/* ---------- About ---------- */
.about { padding: var(--section) 0; }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.journey-card { position: sticky; top: 110px; margin: 0; background: var(--ink); border-radius: 28px; overflow: hidden; }
.journey-art { display: block; width: 100%; height: auto; }
.journey-card figcaption { padding: 4px 28px 28px; color: rgba(254, 241, 228, .85); font-size: .98rem; }
.journey-card figcaption span { color: var(--orange-lt); }
.stars circle { fill: var(--cream); opacity: .55; animation: twinkle 4s ease-in-out infinite; }
.stars circle:nth-child(2n) { animation-delay: -1.3s; }
.stars circle:nth-child(3n) { animation-delay: -2.6s; }
@keyframes twinkle { 50% { opacity: .15; } }
.sun { fill: var(--orange); }
.city rect { fill: var(--ink-soft); }
.hospital rect { fill: var(--cream); }
.hospital path { stroke: var(--orange); stroke-width: 2.6; stroke-linecap: round; fill: none; }
.hospital { transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease); }
.hospital.on { transform: scale(1.18); }
.hospital.on rect { filter: drop-shadow(0 0 6px rgba(245, 127, 37, .9)); }
.island path:first-child { fill: var(--ink-soft); }
.palm-trunk { fill: none; stroke: var(--ink-soft); stroke-width: 3; stroke-linecap: round; }
.palm-leaf { fill: none; stroke: var(--ink-soft); stroke-width: 3; stroke-linecap: round; }
.flight-path { fill: none; stroke: rgba(254, 241, 228, .75); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 7; }
#flightMask { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js #flightMask { stroke-dashoffset: 1; }
.plane path { fill: var(--cream); }
.sea { fill: var(--ink-deep); }
.waves path { fill: none; stroke: rgba(245, 127, 37, .35); stroke-width: 1.5; animation: drift 7s linear infinite; }
.waves path:nth-child(2) { animation-duration: 9s; animation-direction: reverse; stroke: rgba(254, 241, 228, .14); }
.waves path:nth-child(3) { animation-duration: 11s; }
@keyframes drift { to { transform: translateX(40px); } }

.about-text h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 26px; }
.about-text p { max-width: 62ch; }
.sweep {
  color: inherit; padding: 0 .1em;
  background: linear-gradient(transparent 56%, rgba(245, 127, 37, .45) 56%, rgba(245, 127, 37, .45) 92%, transparent 92%) no-repeat 0 0 / 100% 100%;
}
.js .sweep { background-size: 0% 100%; transition: background-size 1.2s var(--ease) .2s; }
.js .sweep.in-view { background-size: 100% 100%; }

.person { display: flex; align-items: center; gap: 18px; margin: 40px 0 0; }
.person img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--cream); box-shadow: 0 0 0 3px var(--cream), 0 0 0 4.5px var(--orange); }
.person-name { font: 500 1.15rem/1.2 var(--f-display); color: var(--ink); margin: 0; }
.person-role { color: var(--muted); margin: 0; font-size: .95rem; }

.clients { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.clients h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 24px; }
.clients-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.clients h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.clients p { color: var(--muted); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .journey-card { position: relative; top: 0; max-width: 520px; }
}
@media (max-width: 560px) { .clients-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials: a sliding banner ---------- */
.testimonials { background: var(--orange); color: var(--ink-deep); padding: var(--section) 0 calc(var(--section) + 40px); overflow: hidden; }
.testimonials-head { margin-bottom: clamp(36px, 5vw, 56px); }
.testimonials h2 { color: var(--ink-deep); font-size: clamp(2.3rem, 4.6vw, 4.2rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.slider-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(42, 38, 35, .45);
  background: none; color: var(--ink-deep); cursor: pointer; display: grid; place-items: center;
  transition: background-color .25s, color .25s, border-color .25s;
}
.slider-btn:hover { background: var(--ink-deep); color: var(--orange); border-color: var(--ink-deep); }
.slider-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.carousel { --slide-w: min(780px, 84vw); --slide-gap: clamp(14px, 2.4vw, 32px); --slide-time: 7s; }
/* without JavaScript the quotes sit in a row that scrolls sideways */
.carousel-stage {
  display: flex; gap: var(--slide-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.carousel-stage::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 var(--slide-w); scroll-snap-align: center; margin: 0;
  background: var(--cream); border-radius: 28px; padding: clamp(28px, 4.6vw, 64px);
  display: flex; flex-direction: column; gap: 28px;
}
.slide blockquote { margin: 0; }
.slide blockquote p { font: 400 clamp(1.3rem, 2.3vw, 2rem)/1.32 var(--f-display); color: var(--ink); letter-spacing: -0.015em; margin: 0; text-wrap: pretty; }
.slide blockquote p::before { content: "\201C"; display: block; font: 700 clamp(4rem, 7vw, 6rem)/.62 var(--f-display); color: var(--orange); margin-bottom: 14px; }
.slide figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; color: var(--ink); font: 500 1.05rem/1.2 var(--f-display); }
.slide figcaption::before { content: ""; width: 28px; height: 2px; background: var(--orange); }

/* with JavaScript: the quotes stack in one spot and slide past each other, neighbours peeking in at the sides */
.js .carousel-stage { display: grid; overflow: visible; padding: 0; touch-action: pan-y; cursor: grab; }
.js .slide {
  grid-area: 1 / 1; justify-self: center; width: var(--slide-w);
  transform: translateX(calc(var(--pos, 0) * (100% + var(--slide-gap)) + var(--drag, 0px))) scale(.9);
  opacity: 0; transition: transform .8s var(--ease), opacity .6s var(--ease);
}
.js .slide.is-near { opacity: .5; cursor: pointer; }
.js .slide.is-active { opacity: 1; transform: translateX(var(--drag, 0px)) scale(1); }
.js .slide.no-anim, .carousel.is-dragging .slide { transition: none; }
.carousel.is-dragging .carousel-stage { cursor: grabbing; user-select: none; -webkit-user-select: none; }

.carousel-controls { display: none; }
.js .carousel-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: clamp(28px, 4vw, 44px); }
.carousel-dots { display: flex; align-items: center; gap: 0; margin-left: -17px; }
.carousel-dot { display: grid; place-items: center; height: 44px; min-width: 44px; padding: 0; background: none; border: 0; cursor: pointer; }
.carousel-dot.is-active { padding: 0 6px; }
.carousel-dot-track {
  position: relative; display: block; width: 10px; height: 10px; border-radius: 999px; overflow: hidden;
  background: rgba(42, 38, 35, .3); transition: width .45s var(--ease), background-color .3s;
}
.carousel-dot:hover .carousel-dot-track { background: rgba(42, 38, 35, .55); }
.carousel-dot.is-active .carousel-dot-track { width: 56px; background: rgba(42, 38, 35, .22); }
.carousel-dot-fill { position: absolute; inset: 0; background: var(--ink-deep); transform-origin: left; transform: scaleX(0); }
/* the active dot fills up as the timer runs; when it is full the banner moves on */
.carousel-dot.is-active .carousel-dot-fill { animation: dot-fill var(--slide-time) linear forwards; }
.carousel.is-paused .carousel-dot-fill { animation-play-state: paused; }
@keyframes dot-fill { to { transform: scaleX(1); } }
.carousel-buttons { display: flex; gap: 10px; }
.carousel-note { margin-top: 18px; margin-bottom: 0; font-size: .9rem; color: var(--ink-deep); }
@media (max-width: 520px) { .slider-btn { width: 46px; height: 46px; } .carousel-dot.is-active .carousel-dot-track { width: 40px; } }

/* ---------- Contact ---------- */
.contact { position: relative; background: var(--ink); color: var(--cream); padding: calc(var(--section) - 20px) 0 var(--section); }
.wave-top { position: absolute; left: 0; top: -79px; width: 100%; height: 80px; display: block; }
.wave-top path { fill: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 112px); align-items: start; }
.contact-h { color: var(--cream); font-size: clamp(3.4rem, 8.4vw, 7.6rem); line-height: .95; font-weight: 500; letter-spacing: -0.045em; margin-bottom: 24px; }
.contact-h .orange { color: var(--orange); }
.contact-h .word { display: inline-block; white-space: nowrap; }
.contact-h .ch { display: inline-block; }
.contact-h.play .ch { animation: hop .8s var(--ease) both; animation-delay: calc(var(--i) * 55ms); }
@keyframes hop { 0% { transform: translateY(0); } 30% { transform: translateY(-.2em) rotate(-3deg); } 60% { transform: translateY(0); } 78% { transform: translateY(-.05em); } 100% { transform: translateY(0); } }
.contact-sub { color: rgba(254, 241, 228, .8); font-size: 1.12rem; max-width: 30rem; margin-bottom: 40px; }
.contact-details { list-style: none; margin: 0 0 32px; padding: 0; }
.contact-details li { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 12px 16px; padding: 16px 0; border-top: 1px solid rgba(254, 241, 228, .15); }
.contact-details li:last-child { border-bottom: 1px solid rgba(254, 241, 228, .15); }
.cd-label { color: rgba(254, 241, 228, .6); font-size: .95rem; }
.contact-details a { color: var(--cream); text-decoration: none; font-weight: 500; word-break: break-word; }
.contact-details a:hover { color: var(--orange-lt); }
.copy {
  font: 500 .85rem/1 var(--f-display); color: var(--cream); background: none; cursor: pointer;
  border: 1.5px solid rgba(254, 241, 228, .3); border-radius: 999px; padding: 8px 16px; min-width: 76px; min-height: 44px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.copy:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.copy.done { background: var(--orange); color: var(--ink-deep); border-color: var(--orange); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(254, 241, 228, .3);
  display: grid; place-items: center; color: var(--cream);
}
.socials a:hover { background: var(--orange); color: var(--ink-deep); border-color: var(--orange); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

.contact-form { background: var(--cream); color: var(--ink); border-radius: 24px; padding: clamp(24px, 4vw, 48px); }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font: 500 .98rem var(--f-display); color: var(--ink); margin-bottom: 8px; }
.field label span { color: var(--orange-text); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--sand); border-radius: 12px;
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D3935' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245, 127, 37, .25); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field-error { color: var(--error); font-size: .9rem; margin: 6px 0 0; }
.field-error:empty { display: none; }
.btn-submit { width: 100%; margin-top: 8px; }
.btn-submit[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: 16px 0 0; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { color: #2E6B3A; }
.form-status.is-error { color: var(--error); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
/* on phones, and where the details share the row with the form, labels sit above so the email address fits on one line */
@media (max-width: 520px), (min-width: 861px) and (max-width: 1200px) {
  .contact-details li { grid-template-columns: 1fr auto; }
  .cd-label { grid-column: 1 / -1; margin-bottom: -6px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: rgba(254, 241, 228, .75); padding: 56px 0; }
.footer-grid { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: center; }
.site-footer .brand { color: var(--cream); }
.logo-foot { width: 190px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 28px; }
.site-footer nav a { color: inherit; text-decoration: none; font-family: var(--f-display); }
.site-footer nav a:hover { color: var(--orange-lt); }
.legal { grid-column: 1 / -1; font-size: .88rem; margin: 16px 0 0; padding-top: 24px; border-top: 1px solid rgba(254, 241, 228, .12); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } .site-footer nav { justify-content: flex-start; } }

/* images not yet in place: hide the broken-image icon */
img.is-missing { visibility: hidden; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { padding-bottom: 64px; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .ht-line > span, .js .hero-side { transform: none !important; opacity: 1 !important; }
  .js .logo-hero .lg-m1, .js .logo-hero .lg-m2, .js .logo-hero .lg-m3, .js .logo-hero .lg-sub { opacity: 1 !important; transform: none !important; }
  .js .logo-hero .lg-word { clip-path: none !important; }
  .js .hero-art .lw { stroke-dashoffset: 0 !important; }
  .js .hero-art .lw-dots, .js .hero-art .lw-end, .js .hero-art .lw-ring { opacity: 1 !important; }
  .hero-art .lw-traveller { display: none; }
  .js #flightMask { stroke-dashoffset: 0 !important; }
  .js .sweep { background-size: 100% 100% !important; }
  .rv { opacity: 1 !important; transform: none !important; }
  .carousel-dot.is-active .carousel-dot-fill { transform: scaleX(1); }
}
