/* ==========================================================================
   Life Coach Belfast
   Palette is drawn from the brand mark: Lagan navy, Belfast sky blue and the
   rising-sun orange. Fraunces carries the headings (soft, human, not clinical);
   Schibsted Grotesk carries everything that has to be read quickly.
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
  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+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin-ext.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
  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: 'Schibsted Grotesk';
  src: url('../fonts/schibsted-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  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+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('../fonts/schibsted-latin-ext.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  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;
}

:root {
  --ink: #0B2236;
  --ink-80: rgba(11, 34, 54, .8);
  --deep: #123D5C;
  --mid: #2E8FCB;
  --sky: #7CC4EC;
  --mist: #DCEEF9;
  --ember: #E4661C;
  --ember-bright: #F0722B;
  --ember-soft: #FFB27A;
  --paper: #F7FBFE;
  --sand: #FDF3EA;
  --slate: #4D6577;
  --line: rgba(11, 34, 54, .12);
  --line-light: rgba(255, 255, 255, .18);

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 4vw, 64px);
  --wide: 1640px;
  --band: clamp(72px, 9vw, 150px);
  --radius: 22px;
  --nav-h: 82px;

  --shadow-sm: 0 2px 10px rgba(11, 34, 54, .06);
  --shadow: 0 18px 44px -22px rgba(11, 34, 54, .34);
  --shadow-lg: 0 46px 90px -44px rgba(11, 34, 54, .5);
}

/* --------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(16.5px, .45vw + 15px, 18.5px);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--ember-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------- typography */
/* Fraunces sits on an optical-size axis. Large settings get the low-contrast,
   slightly "wonky" cut that gives the headings their warmth; small settings
   tighten up so captions stay crisp. */
.h-hero, .h1, .h2, .h3 {
  font-family: var(--display);
  line-height: 1.02;
  letter-spacing: -.018em;
  font-variation-settings: 'SOFT' 24, 'WONK' 1, 'opsz' 120;
}
.h-hero {
  font-size: clamp(2.9rem, 6.4vw, 6.4rem);
  font-weight: 600;
}
.h1 { font-size: clamp(2.4rem, 4.9vw, 4.7rem); font-weight: 600; }
.h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.06;
  font-variation-settings: 'SOFT' 20, 'WONK' 1, 'opsz' 72;
}
.h3 {
  font-size: clamp(1.32rem, 1.5vw, 1.72rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.01em;
  font-variation-settings: 'SOFT' 14, 'WONK' 0, 'opsz' 28;
}
.lede {
  font-size: clamp(1.1rem, 1.25vw, 1.4rem);
  line-height: 1.55;
  color: var(--slate);
  font-weight: 400;
}
.on-dark .lede, .band-dark .lede { color: rgba(255, 255, 255, .8); }
em.warm { font-style: normal; color: var(--ember); }

/* One or two words only. Never a sentence. */
.tag {
  font-family: var(--body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------- layout */
.wrap {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.band { padding-block: var(--band); position: relative; }
.band-paper { background: var(--paper); }
.band-sand  { background: var(--sand); }
.band-mist  { background: linear-gradient(180deg, #EEF7FD 0%, #F7FBFE 100%); }
.band-dark  { background: var(--ink); color: #fff; }
.band-dark .h2, .band-dark .h3 { color: #fff; }

/* A heading sits on its own full-width row. Anything that goes with it
   (a link, a count, a pill) sits underneath, never in a column beside it,
   so the heading is free to use the whole width before it wraps. */
.head { display: grid; gap: 22px; margin-bottom: clamp(38px, 4.4vw, 66px); }
.head > .h2, .head > .h1 { max-width: none; }
.head .lede { max-width: 120ch; }
.head-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px;
}

/* -------------------------------------------------------------- buttons */
.btn {
  --bg: var(--ember-bright);
  --fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; letter-spacing: -.005em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s, color .3s;
  box-shadow: 0 12px 28px -14px rgba(228, 102, 28, .9);
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.btn:hover, .btn:focus-visible { transform: translateY(-3px); }
.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); }
.btn .arr { transition: transform .45s cubic-bezier(.16,1,.3,1); }
.btn:hover .arr { transform: translateX(5px); }

.btn-ghost {
  --bg: transparent; --fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(11, 34, 54, .22);
}
.btn-ghost::after { background: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: #fff; }
.on-dark .btn-ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.on-dark .btn-ghost::after { background: #fff; }
.on-dark .btn-ghost:hover, .on-dark .btn-ghost:focus-visible { color: var(--ink); }

.btn-sm { padding: 12px 22px; font-size: .93rem; }

/* A quiet text link that draws its own underline on hover. */
.link {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; color: var(--ink);
  background-image: linear-gradient(var(--ember-bright), var(--ember-bright));
  background-size: 0% 2px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .4s cubic-bezier(.16,1,.3,1);
  padding-bottom: 3px;
}
.link:hover, .link:focus-visible { background-size: 100% 2px; }
.on-dark .link, .band-dark .link { color: #fff; }

/* ============================================================ NAVIGATION */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 251, 254, .86);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  opacity: 0;
  transition: opacity .45s;
}
.nav.is-stuck::before { opacity: 1; }
.nav.is-stuck { box-shadow: 0 1px 0 var(--line), 0 10px 40px -30px rgba(11,34,54,.6); }
/* Before the page scrolls the bar floats over the hero, so it carries its own
   soft scrim to keep the logo and links legible against the video. */
.nav:not(.is-stuck)::after {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(11,34,54,.5), rgba(11,34,54,0));
  pointer-events: none;
}
.nav:not(.is-stuck) .nav-link,
.nav:not(.is-stuck) .nav-toggle { color: #fff; }
.nav:not(.is-stuck) .burger span { background: #fff; }

.nav-inner {
  max-width: var(--wide); margin-inline: auto;
  padding: 0 var(--gutter);
  height: var(--nav-h);
  display: flex; align-items: center; gap: clamp(16px, 2vw, 40px);
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 50px; width: auto; transition: height .4s; }
.nav.is-stuck .brand img { height: 44px; }
.brand .logo-dark { display: none; }
.nav:not(.is-stuck) .brand .logo-dark { display: block; }
.nav:not(.is-stuck) .brand .logo-colour { display: none; }

.nav-menu { display: flex; align-items: center; gap: clamp(4px, .9vw, 14px); margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 13px; border-radius: 10px;
  font-size: clamp(.9rem, .9vw, .98rem); font-weight: 500; color: var(--ink);
  background: none; border: 0; cursor: pointer;
  white-space: nowrap;
  transition: color .25s, background .25s;
}
.nav-link:hover { color: var(--ember); }
.nav-link .chev { width: 9px; height: 9px; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.nav-item.open .nav-link .chev { transform: rotate(180deg); }
.nav-item.open > .nav-link { color: var(--ember); }

.drop {
  position: absolute; top: calc(100% + 10px); left: 50%;
  translate: -50% 0;
  min-width: 300px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0; visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .32s, transform .32s cubic-bezier(.16,1,.3,1), visibility .32s;
}
.nav-item.open > .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop::before {
  content: ''; position: absolute; top: -7px; left: 50%; translate: -50% 0;
  width: 14px; height: 14px; background: #fff; rotate: 45deg;
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  border-radius: 3px 0 0 0;
}
/* The gap between the trigger and the panel would otherwise drop the hover. */
.drop::after { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.drop a {
  position: relative; display: block;
  padding: 11px 16px; border-radius: 11px;
  font-size: .95rem; font-weight: 500; color: var(--ink);
  transition: background .25s, color .25s, padding-left .3s;
}
.drop a small {
  display: block; font-size: .8rem; font-weight: 400; color: var(--slate);
  line-height: 1.4; margin-top: 1px;
}
.drop a:hover, .drop a:focus-visible { background: var(--mist); color: var(--deep); padding-left: 21px; }
.drop a:hover small { color: var(--deep); }

.nav-cta { margin-left: clamp(8px, 1vw, 18px); flex: 0 0 auto; }

/* Scroll progress: the brand's blue-to-orange route, reduced to a hairline. */
.progress {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--sky), var(--mid) 45%, var(--ember-bright));
}

.nav-toggle { display: none; }
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 24px; height: 18px; }
.burger span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .25s; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------- mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 85;
  background: var(--paper);
  padding: calc(var(--nav-h) + 18px) var(--gutter) 40px;
  overflow-y: auto;
  display: none;
  clip-path: inset(0 0 100% 0);
}
.drawer.is-open { display: block; }
.drawer-group + .drawer-group { border-top: 1px solid var(--line); }
.drawer-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 19px 2px; background: none; border: 0; cursor: pointer;
  font-family: var(--display); font-size: 1.45rem; font-weight: 600; color: var(--ink);
  font-variation-settings: 'SOFT' 14, 'WONK' 0, 'opsz' 28;
  text-align: left;
}
.drawer-head .plus { position: relative; width: 17px; height: 17px; flex: 0 0 auto; }
.drawer-head .plus::before, .drawer-head .plus::after {
  content: ''; position: absolute; inset: 50% 0 auto 0; height: 2px; background: var(--ember-bright);
  translate: 0 -50%; transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.drawer-head .plus::after { transform: rotate(90deg); }
.drawer-group.open .plus::after { transform: rotate(0deg); }
.drawer-panel { overflow: hidden; height: 0; }
.drawer-panel ul { padding-bottom: 14px; }
.drawer-panel a { display: block; padding: 11px 0 11px 18px; border-left: 2px solid var(--mist); color: var(--slate); font-weight: 500; }
.drawer-panel a:hover { color: var(--ember); border-color: var(--ember-bright); }
.drawer-foot { margin-top: 30px; display: grid; gap: 14px; }

/* ================================================================== HERO */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: grid; align-items: end;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: clamp(30px, 4vw, 60px);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 62% 50%;
}
.hero-media video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero-media video.is-playing { opacity: 1; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,34,54,.62) 0%, rgba(11,34,54,.12) 34%, rgba(11,34,54,.5) 66%, rgba(11,34,54,.94) 100%),
    linear-gradient(94deg, rgba(11,34,54,.72) 0%, rgba(11,34,54,.18) 52%, rgba(11,34,54,0) 78%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }

.hero-copy { display: grid; gap: clamp(22px, 2.4vw, 34px); }
.hero h1 { color: #fff; max-width: none; }
.hero .hero-sub { font-size: clamp(1.08rem, 1.15vw, 1.34rem); color: rgba(255,255,255,.88); max-width: 108ch; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Masked line reveal. The mask is padded outward and pulled back with matching
   negative margins so descenders in "g", "y" and "p" are never clipped. */
.rv { display: block; overflow: hidden; padding: .2em .16em .3em; margin: -.2em -.16em -.3em; }
.rv > span { display: block; will-change: transform; }

.hero-foot {
  margin-top: clamp(34px, 5vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(20px, 3vw, 48px);
}
.hero-foot li {
  display: flex; align-items: center; gap: 10px;
  font-size: .95rem; color: rgba(255,255,255,.85); font-weight: 500;
}
.hero-foot li svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--sky); }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: clamp(30px, 4vw, 60px); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
}
.scroll-cue .rail { width: 1px; height: 62px; background: rgba(255,255,255,.28); position: relative; overflow: hidden; }
.scroll-cue .rail i { position: absolute; inset: 0 auto auto 0; width: 1px; height: 24px; background: var(--ember-bright); animation: cue 2.4s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(300%); } }

/* ========================================================= SERVICE CARDS */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(18px, 1.6vw, 26px);
}
.svc {
  position: relative; display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  min-height: clamp(360px, 32vw, 460px);
  isolation: isolate;
  box-shadow: var(--shadow);
}
.svc-img { position: absolute; inset: 0; z-index: 0; }
.svc-img img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 1s cubic-bezier(.16,1,.3,1), filter 1s;
  filter: saturate(.92);
}
.svc::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,34,54,.1) 0%, rgba(11,34,54,.52) 46%, rgba(11,34,54,.93) 100%);
  transition: opacity .6s;
}
.svc:hover .svc-img img, .svc:focus-visible .svc-img img { transform: scale(1.14); filter: saturate(1.05); }
.svc-body {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 12px;
  padding: clamp(24px, 2vw, 34px);
  color: #fff;
}
.svc-body .h3 { color: #fff; }
.svc-body p { color: rgba(255,255,255,.82); font-size: .98rem; line-height: 1.55; }
.svc-go {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 6px; font-weight: 600; font-size: .94rem; color: var(--ember-soft);
}
.svc-go svg { transition: transform .45s cubic-bezier(.16,1,.3,1); }
.svc:hover .svc-go svg { transform: translateX(6px); }
/* A thin rule that fills across on hover, echoing the route motif. */
.svc-rule { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 3; background: rgba(255,255,255,.14); }
.svc-rule i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sky), var(--ember-bright)); transition: width .7s cubic-bezier(.16,1,.3,1); }
.svc:hover .svc-rule i, .svc:focus-visible .svc-rule i { width: 100%; }
.svc-num {
  position: absolute; top: clamp(20px, 1.8vw, 30px); right: clamp(20px, 1.8vw, 30px); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.14); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3);
  transition: background .4s, transform .5s cubic-bezier(.16,1,.3,1);
}
.svc-num svg { width: 15px; height: 15px; color: #fff; }
.svc:hover .svc-num { background: var(--ember-bright); transform: rotate(-45deg); border-color: var(--ember-bright); }

/* ==================================================== "WHAT PEOPLE SAY" */
.arrive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(18px, 1.8vw, 30px);
}
.arrive-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(28px, 2.6vw, 42px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid; gap: 14px; align-content: start;
  overflow: hidden;
}
.arrive-card::before {
  content: ''; position: absolute; inset: auto 0 0 0; height: 5px;
  background: linear-gradient(90deg, var(--sky), var(--ember-bright));
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.arrive-card.in::before { transform: scaleX(1); }
.arrive-card p.arrive-q {
  font-family: var(--display); font-size: clamp(1.35rem, 1.9vw, 1.95rem);
  font-weight: 500; line-height: 1.24; color: var(--ink);
  font-variation-settings: 'SOFT' 22, 'WONK' 1, 'opsz' 40;
}
.arrive-card p:not(.arrive-q) { color: var(--slate); font-size: .99rem; }
.arrive-mark {
  font-family: var(--display); font-size: 3.4rem; line-height: .6; color: var(--sky);
  font-weight: 700;
}

/* ====================================================== THE ROUTE / STEPS */
.route { position: relative; }
.route-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route-svg .track { fill: none; stroke: rgba(11,34,54,.1); stroke-width: 3; stroke-linecap: round; }
.route-svg .draw { fill: none; stroke: url(#routeGrad); stroke-width: 3.5; stroke-linecap: round; }
.steps { position: relative; z-index: 2; display: grid; gap: clamp(26px, 3vw, 46px); }
.step {
  display: grid;
  grid-template-columns: clamp(64px, 6vw, 96px) minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 40px);
  align-items: start;
}
.step-dot {
  width: clamp(56px, 5vw, 74px); height: clamp(56px, 5vw, 74px);
  border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--mist);
  font-family: var(--display); font-size: 1.28rem; font-weight: 700; color: var(--mid);
  box-shadow: var(--shadow-sm);
  transition: background .5s, color .5s, border-color .5s, transform .6s cubic-bezier(.16,1,.3,1);
}
.step.on .step-dot { background: var(--ember-bright); border-color: var(--ember-bright); color: #fff; transform: scale(1.07); }
.step-body { display: grid; gap: 10px; padding-top: clamp(4px, .8vw, 12px); }
.step-body p { color: var(--slate); max-width: 110ch; }
.step-meta { font-size: .86rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ember); }

/* ============================================================ CBT LOOP */
.loop-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 80px);
  align-items: center;
}
.loop-art { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 620px; margin-inline: auto; }
.loop-art svg { width: 100%; height: 100%; overflow: visible; }
.loop-ring { fill: none; stroke: rgba(124, 196, 236, .55); stroke-width: 2.5; stroke-linecap: round; }
.loop-ring-live { fill: none; stroke: var(--ember-bright); stroke-width: 4; stroke-linecap: round; }
.loop-node circle { fill: #fff; stroke: var(--mid); stroke-width: 2.5; }
.loop-node text {
  font-family: var(--body); font-size: 17px; font-weight: 700; fill: var(--ink);
  text-anchor: middle; dominant-baseline: middle;
}
.loop-node .sub { font-size: 12.5px; font-weight: 500; fill: var(--slate); }
.loop-centre {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  pointer-events: none;
}
.loop-centre span {
  font-family: var(--display); font-weight: 600; color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.3rem); max-width: 42%;
  font-variation-settings: 'SOFT' 14, 'WONK' 0, 'opsz' 24;
  line-height: 1.25;
}
.loop-copy { display: grid; gap: 22px; align-content: center; }
.loop-copy p { color: var(--slate); max-width: 110ch; }
.band-dark .loop-copy p { color: rgba(255,255,255,.78); }
.band-dark .loop-node circle { fill: var(--deep); stroke: var(--sky); }
.band-dark .loop-node text { fill: #fff; }
.band-dark .loop-node .sub { fill: var(--sky); }
.band-dark .loop-centre span { color: #fff; }
.band-dark .loop-ring { stroke: rgba(124,196,236,.35); }
.loop-list { display: grid; gap: 12px; }
.loop-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 1rem; color: rgba(255,255,255,.85); }
.loop-list svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; color: var(--ember-soft); }

/* =============================================================== ABOUT */
.about {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 4.5vw, 86px);
  align-items: center;
}
.about-figure { position: relative; }
/* The portrait sits inside a designed frame: an offset brand-blue outline
   behind it and a stat plate breaking the bottom corner. */
.about-figure::before {
  content: ''; position: absolute; inset: 26px -26px -26px 26px;
  border: 2px solid var(--sky); border-radius: var(--radius); z-index: 0;
}
.about-figure .about-main {
  position: relative; z-index: 1;
  width: 100%; border-radius: var(--radius);
  aspect-ratio: 4 / 5; object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-plate {
  position: absolute; z-index: 2; left: -8px; bottom: -22px;
  background: var(--ink); color: #fff;
  border-radius: 18px; padding: 20px 26px;
  box-shadow: var(--shadow-lg);
  display: grid; gap: 3px;
  max-width: 72%;
}
.about-plate b { font-family: var(--display); font-size: 1.6rem; font-weight: 600; line-height: 1; }
.about-plate span { font-size: .84rem; color: var(--sky); font-weight: 600; letter-spacing: .04em; }
.about-copy { display: grid; gap: 22px; }
.about-copy p { color: var(--slate); max-width: 115ch; }
.about-sig { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.creds { display: flex; flex-wrap: wrap; gap: 10px; }
.cred {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .87rem; font-weight: 600; color: var(--deep);
}
.cred svg { width: 15px; height: 15px; color: var(--ember); }

/* ============================================================== NUMBERS */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(20px, 2.4vw, 40px);
}
.stat { display: grid; gap: 8px; padding-top: 26px; border-top: 2px solid rgba(255,255,255,.16); }
.stat b {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.8rem, 4.6vw, 4.4rem); line-height: .95; color: #fff;
  font-variation-settings: 'SOFT' 20, 'WONK' 1, 'opsz' 90;
}
.stat b .unit { color: var(--ember-soft); }
.stat p { color: rgba(255,255,255,.76); font-size: .97rem; line-height: 1.5; }
.stat cite { display: block; font-style: normal; font-size: .78rem; color: rgba(255,255,255,.45); margin-top: 4px; }

/* ============================================================== GALLERY */
.film { position: relative; }
.film-track {
  display: flex; gap: clamp(16px, 1.6vw, 26px);
  will-change: transform;
}
.film-slide {
  position: relative; flex: 0 0 auto;
  width: clamp(280px, 38vw, 560px);
  border-radius: var(--radius); overflow: hidden;
  background: var(--deep);
  box-shadow: var(--shadow);
}
.film-slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.film-cap {
  position: absolute; inset: auto 0 0 0;
  padding: clamp(20px, 2vw, 32px);
  background: linear-gradient(180deg, rgba(11,34,54,0), rgba(11,34,54,.9));
  color: #fff; display: grid; gap: 5px;
}
.film-cap b { font-family: var(--display); font-size: clamp(1.1rem, 1.3vw, 1.4rem); font-weight: 600; }
.film-cap span { font-size: .88rem; color: rgba(255,255,255,.75); }
.film-bar { margin-top: clamp(24px, 2.6vw, 40px); display: flex; align-items: center; gap: 20px; }
.film-bar .rail { position: relative; flex: 1; height: 3px; background: rgba(11,34,54,.12); border-radius: 3px; overflow: hidden; }
.film-bar .rail i { position: absolute; inset: 0 auto 0 0; width: 22%; background: linear-gradient(90deg, var(--sky), var(--ember-bright)); border-radius: 3px; }
.film-bar .count { font-size: .86rem; font-weight: 700; letter-spacing: .08em; color: var(--slate); font-variant-numeric: tabular-nums; }

/* ========================================================= TESTIMONIALS */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(18px, 1.8vw, 28px); }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 2.6vw, 40px);
  display: grid; gap: 18px; align-content: start;
  box-shadow: var(--shadow-sm);
  transition: transform .6s cubic-bezier(.16,1,.3,1), box-shadow .6s;
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.quote .stars { display: flex; gap: 3px; color: var(--ember-bright); }
.quote .stars svg { width: 17px; height: 17px; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.1rem, 1.35vw, 1.3rem); line-height: 1.42; font-weight: 500; font-variation-settings: 'SOFT' 18, 'WONK' 0, 'opsz' 32; }
.quote footer { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--slate); }
.quote footer .who { width: 38px; height: 38px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font-weight: 700; color: var(--deep); font-size: .9rem; }
.quote footer b { color: var(--ink); display: block; font-weight: 600; }

/* ================================================================== FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: clamp(22px, 2.2vw, 32px) 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.14rem, 1.45vw, 1.5rem); line-height: 1.3;
  font-variation-settings: 'SOFT' 14, 'WONK' 0, 'opsz' 30;
  color: var(--ink);
  transition: color .3s;
}
.faq-q:hover { color: var(--ember); }
.faq-q .plus { position: relative; width: 20px; height: 20px; flex: 0 0 auto; margin-top: 6px; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ''; position: absolute; inset: 50% 0 auto 0; height: 2.5px; background: var(--ember-bright);
  translate: 0 -50%; transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.faq-q .plus::after { transform: rotate(90deg); }
.faq-item.open .faq-q .plus::after { transform: rotate(0deg); }
.faq-a { overflow: hidden; height: 0; }
.faq-a > div { padding-bottom: clamp(22px, 2.2vw, 32px); color: var(--slate); max-width: 118ch; }

/* =============================================================== CONTACT */
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(32px, 4vw, 76px); align-items: start;
}
.contact-copy { display: grid; gap: 24px; align-content: start; }
.contact-copy p { color: rgba(255,255,255,.8); max-width: 110ch; }
.contact-points { display: grid; gap: 16px; margin-top: 6px; }
.contact-points li { display: flex; gap: 14px; align-items: flex-start; }
.contact-points svg { width: 21px; height: 21px; color: var(--sky); flex: 0 0 auto; margin-top: 3px; }
.contact-points b { display: block; font-weight: 600; color: #fff; }
.contact-points span { color: rgba(255,255,255,.7); font-size: .95rem; }

.form {
  background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: clamp(26px, 2.6vw, 42px);
  display: grid; gap: 18px;
  box-shadow: var(--shadow-lg);
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--deep); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem;
  padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid rgba(11,34,54,.16); background: var(--paper); color: var(--ink);
  transition: border-color .3s, box-shadow .3s, background .3s;
  width: 100%;
}
.field textarea { min-height: 116px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--mid); background: #fff;
  box-shadow: 0 0 0 4px rgba(46,143,203,.14);
}
.form .note { font-size: .84rem; color: var(--slate); line-height: 1.5; }
.form .btn { justify-content: center; width: 100%; }
.form-msg { padding: 14px 16px; border-radius: 12px; font-size: .93rem; font-weight: 500; }
.form-msg.ok { background: #E6F5EC; color: #17603A; }
.form-msg.bad { background: #FDECEC; color: #96231F; }

/* ================================================================ FOOTER */
.foot { background: var(--ink); color: #fff; padding-top: clamp(56px, 6vw, 92px); }
.foot-top {
  display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 56px);
  padding-bottom: clamp(40px, 4.4vw, 68px);
}
.foot-brand { display: grid; gap: 20px; align-content: start; }
.foot-brand img { width: clamp(180px, 15vw, 230px); height: auto; }
.foot-brand p { color: rgba(255,255,255,.65); font-size: .95rem; }
.foot-col h4 { font-family: var(--body); font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--sky); font-weight: 700; margin-bottom: 16px; }
.foot-col li + li { margin-top: 10px; }
.foot-col a { color: rgba(255,255,255,.72); font-size: .95rem; transition: color .25s, padding-left .3s; display: inline-block; }
.foot-col a:hover { color: #fff; padding-left: 5px; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-block: 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px;
  font-size: .87rem; color: rgba(255,255,255,.55);
}
.foot-bottom a { color: rgba(255,255,255,.72); }
.foot-bottom a:hover { color: var(--ember-soft); }
.samson { display: inline-flex; align-items: center; gap: 8px; }
.samson a { font-weight: 600; color: #fff; }
.samson a:hover { color: var(--ember-soft); }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2); color: #fff;
  transition: background .3s, border-color .3s, transform .4s cubic-bezier(.16,1,.3,1);
}
.socials a:hover { background: var(--ember-bright); border-color: var(--ember-bright); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

/* =========================================================== CTA BANNER */
.cta-band { position: relative; overflow: hidden; background: var(--deep); color: #fff; }
.cta-band .bg { position: absolute; inset: 0; z-index: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(92deg, rgba(11,34,54,.94) 0%, rgba(11,34,54,.78) 46%, rgba(11,34,54,.42) 100%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-inner { display: grid; gap: 26px; }
.cta-inner .h1 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.82); max-width: 110ch; font-size: clamp(1.05rem, 1.1vw, 1.25rem); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ====================================================== MOTION DEFAULTS */
/* Elements only start hidden once JS has confirmed it will animate them, so
   a failed script or a blocked file can never leave the page blank. */
.js-ready [data-anim] { opacity: 0; }
.js-ready [data-anim="up"]    { transform: translateY(34px); }
.js-ready [data-anim="fade"]  { transform: none; }
.js-ready [data-anim="left"]  { transform: translateX(-30px); }
.js-ready [data-anim="right"] { transform: translateX(30px); }
.js-ready [data-anim="zoom"]  { transform: scale(.94); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 10px; font-weight: 600; }
  .loop-stage { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 54px; }
  .about-figure { max-width: 520px; }
  .about-figure::before { inset: 18px -18px -18px 18px; }
}
@media (max-width: 720px) {
  :root { --nav-h: 70px; }
  .brand img { height: 40px; }
  .nav.is-stuck .brand img { height: 38px; }
  .hero { min-height: 92svh; }
  .scroll-cue { display: none; }
  .form .row { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 34px; }
  .step { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; }
  .step-dot { width: 52px; height: 52px; font-size: 1.05rem; }
  .about-plate { position: relative; left: 0; bottom: 0; margin-top: 18px; max-width: none; }
  .about-figure::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js-ready [data-anim] { opacity: 1 !important; transform: none !important; }
  .hero-media video { display: none; }
}

/* ================================================== late additions ===== */

/* The route needs a positioning context that wraps only the step list. */
.route-holder { position: relative; }

/* Split lines keep their own block so the mask can hold them. */
.rv-line { will-change: transform; }

/* The documentary inset breaks out of the Belfast plate, which stops the
   section reading as one big stock photograph. */
.about-inset {
  position: absolute; z-index: 3;
  right: clamp(-26px, -1.6vw, -10px); top: clamp(26px, 4vw, 58px);
  width: clamp(120px, 15vw, 190px);
  aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-lg);
}

/* Filmstrip viewport. Pinned and dragged by GSAP on desktop; a native
   swipe row under 860px, where pinning fights the browser chrome. */
.film-viewport { overflow: hidden; padding-inline: var(--gutter); }
.film-viewport.is-scrollable {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.film-viewport.is-scrollable::-webkit-scrollbar { display: none; }
.film-viewport.is-scrollable .film-slide { scroll-snap-align: center; }
.film-hint { color: var(--slate); opacity: .6; white-space: nowrap; }

.foot-crisis { margin-top: 18px; font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.5; }
.foot-crisis a { color: var(--ember-soft); font-weight: 600; }
.foot-legal { display: inline-flex; gap: 22px; flex-wrap: wrap; }

.contact-points li > span { display: grid; gap: 1px; }
.contact-points b a { color: inherit; }
.contact-points b a:hover { color: var(--ember-soft); }
.quote footer > span:last-child { display: grid; }

/* No-JS safety net. Without this, a visitor who scrolled before the script
   parsed would keep the reveal state forever. */
.no-js [data-anim] { opacity: 1 !important; transform: none !important; }

@media (max-width: 860px) {
  .film-viewport { padding-inline: 0; }
  .film-track { padding-inline: var(--gutter); }
}
@media (max-width: 720px) {
  .about-inset { width: 108px; right: 10px; top: 14px; border-width: 4px; }
  .film-hint { display: none; }
}

/* Icon sizing. Every inline icon carries width/height="20" from PHP; these
   rules trim the ones that need to sit smaller or fill their own chip. */
.nav-link .chev svg { width: 11px; height: 11px; }
.btn svg, .link svg, .svc-go svg { width: 18px; height: 18px; flex: 0 0 auto; }
.svc-num svg { width: 16px; height: 16px; }
.socials svg { width: 18px; height: 18px; }
.quote .stars svg { width: 17px; height: 17px; }

/* ======================================================================
   Contour texture
   Concentric rings read as a contour map: the hills behind Belfast, and
   the same route idea that runs through the brand. Pure CSS, no request.
   ====================================================================== */
.has-map { position: relative; isolation: isolate; }
.has-map::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    repeating-radial-gradient(circle at 8% 12%,  transparent 0 54px, rgba(46,143,203,.055) 54px 56px),
    repeating-radial-gradient(circle at 96% 78%, transparent 0 66px, rgba(46,143,203,.05)  66px 68px),
    repeating-radial-gradient(circle at 62% 4%,  transparent 0 92px, rgba(228,102,28,.035)  92px 94px);
  mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 78%);
}
.band-dark.has-map::before {
  background:
    repeating-radial-gradient(circle at 6% 88%,  transparent 0 58px, rgba(124,196,236,.085) 58px 60px),
    repeating-radial-gradient(circle at 92% 14%, transparent 0 74px, rgba(240,114,43,.07)   74px 76px);
}
.has-map > .wrap { position: relative; z-index: 1; }

/* A photograph behind a band, held well back so the type stays the subject. */
.has-photo { position: relative; isolation: isolate; overflow: hidden; }
.band-bg { position: absolute; inset: 0; z-index: 0; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,34,54,.97) 0%, rgba(11,34,54,.9) 52%, rgba(11,34,54,.97) 100%);
}
.has-photo > .wrap { position: relative; z-index: 1; }

/* ---------------------------------------------- opening quote cards */
.arrive-card { padding-top: clamp(96px, 9vw, 130px); overflow: hidden; }
.arrive-shot {
  position: absolute; inset: 0 0 auto 0; height: clamp(150px, 14vw, 200px);
  display: block; z-index: 0;
}
.arrive-shot img { width: 100%; height: 100%; object-fit: cover; }
.arrive-shot::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,61,92,.34) 0%, rgba(253,243,234,.55) 62%, #fff 100%);
}
.arrive-card > *:not(.arrive-shot) { position: relative; z-index: 1; }
.arrive-mark { margin-top: -18px; }

/* ------------------------------------------- steps beside a sticky panel */
.route-holder {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 78px);
  align-items: start;
}
.route-steps { position: relative; }
.step-body p { max-width: 104ch; }

.route-media { position: sticky; top: calc(var(--nav-h) + 40px); }
.route-media-inner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--deep);
  box-shadow: var(--shadow-lg);
}
.route-shot { position: absolute; inset: 0; margin: 0; opacity: 0; }
.route-shot:first-child { opacity: 1; }
.route-shot img { width: 100%; height: 100%; object-fit: cover; }
.route-shot figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: clamp(20px, 2vw, 30px);
  background: linear-gradient(180deg, rgba(11,34,54,0), rgba(11,34,54,.92));
  color: #fff; font-family: var(--display); font-weight: 600;
  font-size: clamp(1.1rem, 1.3vw, 1.45rem);
  font-variation-settings: 'SOFT' 16, 'WONK' 0, 'opsz' 30;
}
/* Without JS every frame would stack; the last one would simply win. Showing
   only the first keeps the panel correct in that case. */
.js-ready .route-shot { opacity: 0; }
.js-ready .route-shot.is-on { opacity: 1; }

/* ------------------------------------------------------ testimonials */
.quotes { align-items: stretch; }
.quote { background: rgba(255,255,255,.94); backdrop-filter: blur(3px); }
.quote blockquote { flex: 1; }
.quote { grid-template-rows: auto 1fr auto; }

/* ------------------------------------------------------- the CBT band */
.loop-stage { gap: clamp(30px, 4vw, 70px); }
.loop-art { max-width: 560px; }

@media (max-width: 1100px) {
  .route-holder { grid-template-columns: 1fr; }
  .route-media { position: relative; top: 0; max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 620px) {
  .arrive-card { padding-top: clamp(84px, 24vw, 116px); }
}

/* The line is a road, so it wants weight. */
.route-svg .track { stroke-width: 5; stroke: rgba(11,34,54,.09); }
.route-svg .draw  { stroke-width: 5; }

/* Show faces rather than shoulders in the quote-card crops. */
.arrive-shot img { object-position: 50% 26%; }

.loop-caption {
  margin-top: clamp(14px, 1.6vw, 26px);
  text-align: center;
  font-size: .95rem; line-height: 1.5;
  color: rgba(255,255,255,.62);
}

/* The question text takes the row; only the plus sign is held to its own size,
   so a question never wraps while there is width sitting free beside it. */
.faq-q > span:first-child { flex: 1 1 auto; min-width: 0; }

/* An inline-block link cannot break, so it jumps to the next line whole. The
   crisis line needs its number to wrap like ordinary text. */
.foot-crisis a { display: inline; }

/* The clip is 16:9 and the mobile hero is tall, so hold the crop on the
   walker and the sun rather than the middle of the frame. */
@media (max-width: 700px) {
  .hero-media video { object-position: 64% 46%; }
}

/* Touch filmstrip: nearly the full screen per slide, with a sliver of the next
   one showing so it is obvious the row keeps going. */
@media (max-width: 860px) {
  .film-slide { width: clamp(280px, 84vw, 560px); }
}

/* ======================================================================
   CBT loop, rebuilt
   Every part of this diagram is positioned by SVG geometry alone. Nothing
   is transformed, so the nodes cannot drift off the ring.
   ====================================================================== */
.loop-exit { fill: none; stroke: var(--ember-bright); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
/* Reduced motion never runs the timeline, so the lit state comes from CSS. */
@media (prefers-reduced-motion: reduce) {
  .loop-exit { opacity: 1; }
  }

/* ======================================================================
   Filmstrip stage
   The pinned element is now a full viewport tall, so the slides sit centred
   below the fixed header instead of starting underneath it with a band of
   empty page beneath them.
   ====================================================================== */
@media (min-width: 861px) {
  .film-stage {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--nav-h);
    padding-bottom: clamp(18px, 3vh, 44px);
  }
  .film-stage .film-bar { margin-top: clamp(22px, 2.4vw, 36px); }
  /* Now that the stage is a full viewport tall, size the slides by height so
     they fill it. Width follows the 4:3 crop. */
  .film-stage .film-slide { width: auto; height: clamp(360px, 60svh, 640px); }
  .film-stage .film-slide img { width: auto; height: 100%; aspect-ratio: 4 / 3; }
}

/* The label sits in the middle of the triangle. Dead centre is geometrically
   correct but the clear band is wider a little higher up, between the bottom of
   Thought and the tops of Feeling and Behaviour, so it rides there instead and
   stops brushing the lower circles on a narrow screen. */
.loop-centre { padding-bottom: 11%; }
.loop-centre span { max-width: 46%; }
