/* ==========================================================================
   Great Blue — static marketing page
   No external requests: system font stacks only.
   ========================================================================== */

:root {
  --navy-900: #041326;
  --navy-800: #07213b;
  --navy-700: #0a3355;
  --sea: #12456b;
  --sea-light: #2c7fb0;
  --sky: #bfe0f5;
  --ink: #0b2a45;
  --white: #ffffff;
  --red: #d8452e;

  --sans: "Avenir Next", Avenir, "Helvetica Neue", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --vh: 100vh;
  --scene-ratio: 1376 / 768;
  --gutter: clamp(24px, 7vw, 96px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@supports (height: 100svh) {
  :root { --vh: 100svh; }
}

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

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

html.is-locked { overflow: hidden; }

/* Lenis (sections.js) does the smooth scrolling once it is running. */
html.lenis { scroll-behavior: auto; }
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img { display: block; }

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: .85rem;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 clamp(16px, 3vw, 36px);
  color: var(--ink);                 /* over bright clouds */
  pointer-events: none;              /* keep the top-centre cloud clickable */
  transition: color .5s ease;
}
.site-header.is-deep { color: var(--white); }
/* Under the water the page scrolls beneath the header, so it gets a dark
   backing there that fades out downward. Above the water there is none, so
   the clouds behind the header stay clear and clickable. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -26px 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 19, 38, .9) 0%, rgba(4, 19, 38, .74) 55%, rgba(4, 19, 38, 0) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}
.site-header.is-deep::before { opacity: 1; }
.site-header > * { pointer-events: auto; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo__mark { width: 36px; height: 36px; flex: none; }
.logo__text {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1;                    /* so the capitals, not the line box, centre on the mark */
  letter-spacing: .24em;
  text-transform: uppercase;
  transform: translateY(.045em);     /* optical: capitals sit slightly high in their box */
}

.header-link {
  padding: 8px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .3s ease;
}
.site-header.is-deep .header-link { background: rgba(255, 255, 255, .06); }
.header-link:hover { background: rgba(255, 255, 255, .4); }
.site-header.is-deep .header-link:hover { background: rgba(255, 255, 255, .16); }
.site-header :focus-visible { outline-color: currentColor; }

/* --------------------------------------------------------------------------
   Hero: pinned stage
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 1;
  height: 230vh;
  background: var(--navy-700);
}

.stage {
  position: sticky;
  top: 0;
  height: var(--vh);
  overflow: hidden;
  background: var(--sea);
}

/* The scene keeps the photo's exact ratio, covers the viewport and is
   anchored to the top so the clouds are never cropped. */
.scene {
  --sw: max(100vw, calc(var(--vh) * var(--scene-ratio)));
  position: absolute;
  top: 0;
  left: calc(50% - var(--sw) / 2);
  width: var(--sw);
  aspect-ratio: var(--scene-ratio);
  transform-origin: 0 0;             /* JS composes origin + zoom itself */
  will-change: transform;
}

.scene__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-user-select: none;
  user-select: none;
}

/* Generated sea over the lower part of the photo. It moves with the scene.
   top must match TOP in water.js. Hidden until the first frame is ready. */
.scene__sea {
  position: absolute;
  left: 0;
  top: 62%;
  width: 100%;
  height: 38%;
  opacity: 0;
  transition: opacity .9s var(--ease);
  pointer-events: none;
}
.scene__sea.is-ready { opacity: 1; }

.stage__scrim {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  height: 46%;
  background: linear-gradient(180deg, rgba(4, 19, 38, 0), rgba(4, 19, 38, .5));
  pointer-events: none;
}

/* ---- Cloud hotspots ---- */
.hotspot {
  position: absolute;
  left: calc((var(--cx) - var(--w) / 2) * 1%);
  top: calc((var(--cy) - var(--h) / 2) * 1%);
  width: calc(var(--w) * 1%);
  height: calc(var(--h) * 1%);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--white);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hotspot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .8), rgba(255, 255, 255, .3) 55%, rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.hotspot:hover::before,
.hotspot:focus-visible::before { opacity: 1; }

.hotspot:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -5px;
  box-shadow: inset 0 0 0 7px rgba(11, 42, 69, .55);
}

.hotspot__label {
  position: absolute;
  left: var(--lx, 50%);
  top: var(--ly, 50%);
  transform: translate(calc(-50% + var(--plx, 0px)), calc(-50% + var(--ply, 0px)));
  transition: opacity .3s ease;
}

.hotspot__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 14px;
  border: 0;
  border-radius: 999px;
  /* frosted white: takes on the cloud behind it, edge feathers out */
  background: rgba(255, 255, 255, .46);
  -webkit-backdrop-filter: blur(12px) brightness(1.08);
  backdrop-filter: blur(12px) brightness(1.08);
  box-shadow:
    0 0 26px 8px rgba(255, 255, 255, .42),
    inset 0 0 14px rgba(255, 255, 255, .45);
  color: var(--ink);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .4s var(--ease), background-color .4s ease, box-shadow .4s ease;
}
.hotspot:hover .hotspot__pill,
.hotspot:focus-visible .hotspot__pill {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, .92);
  box-shadow:
    0 0 30px 10px rgba(255, 255, 255, .6),
    0 10px 26px rgba(11, 42, 69, .18),
    inset 0 0 14px rgba(255, 255, 255, .6);
}

.hotspot__dot {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ec1f2;
  box-shadow: 0 0 0 2px rgba(11, 42, 69, .7);
}
.hotspot__dot::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(11, 42, 69, .55);
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0%   { transform: scale(1); opacity: .9; }
  70%  { transform: scale(3.2); opacity: 0; }
  100% { transform: scale(3.2); opacity: 0; }
}

.stage.labels-off .hotspot { visibility: hidden; }
.stage.labels-dim .hotspot { pointer-events: none; }
.stage.is-zooming .hotspot { pointer-events: none; }
.stage.is-zooming .hotspot__label,
.stage.is-zooming .hotspot::before { opacity: 0; }

/* Drifting clouds (clouds.js): the top of the photo, redrawn. height must
   match COVER in clouds.js. Hidden until the first frame is ready. */
.scene__clouds {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 56%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}
.scene__clouds.is-ready { opacity: 1; }

/* Lighthouse lamp and beams (lamp.js). Spans the photo's width, centred
   vertically on the lantern; lamp.js sets the height from the lamp position. */
.scene__lamp {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}
.scene__lamp.is-ready { opacity: 1; }
/* The lamp's switch: an invisible button over the top of the tower (dome,
   lantern and the two galleries). Position is in % of the photo. */
.lamp-switch {
  position: absolute;
  left: 47.4%;
  top: 14.5%;
  width: 6%;
  height: 20%;
  padding: 0;
  border: 0;
  border-radius: 40% 40% 12% 12%;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lamp-switch[hidden] { display: none; }
.lamp-switch:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
.stage.is-zooming .lamp-switch,
.stage.labels-off .lamp-switch { pointer-events: none; }

/* ---- The dive (dive.js). Once it is running, the original water is hidden
        but keeps moving, because the canvas reads the waterline from it. ---- */
.dive {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.has-dive .dive { display: block; }
.has-dive .water { visibility: hidden; }

/* ---- Rising water ---- */
.water {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 135%;
  transform: translate3d(0, 115vh, 0);
  will-change: transform;
  pointer-events: none;
}

.water__body {
  position: absolute;
  inset: 0;
  /* reaches --navy-700 exactly where the stage bottom sits at full dive */
  background: linear-gradient(180deg, var(--sea) 0%, #0e3c61 30%, var(--navy-700) 85%);
}
.water__body::before {                /* refraction band under the surface */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(170, 220, 250, .32), rgba(170, 220, 250, 0));
}

.water__waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: clamp(48px, 9vh, 84px);
  overflow: hidden;
}

.wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 100%;
}
.wave--back  { fill: rgba(150, 210, 245, .42); animation: wave-left 19s linear infinite; }
.wave--mid   { fill: rgba(36, 110, 160, .8);   animation: wave-right 13s linear infinite; }
.wave--front { animation: wave-left 9s linear infinite; }
.wave__fill  { fill: var(--sea); }
.wave__foam  {
  fill: none;
  stroke: rgba(235, 248, 255, .75);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

@keyframes wave-left  { from { transform: translate3d(0, 0, 0); }    to { transform: translate3d(-50%, 0, 0); } }
@keyframes wave-right { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

/* ---- Hero copy ---- */
.hero__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(56px, 11vh, 120px);
  z-index: 3;
  padding: 0 16px;
  text-align: center;
  pointer-events: none;
  will-change: transform, opacity;
}

.wordmark {
  font-size: clamp(1.7rem, 8.4vw, 7.25rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: .3em;
  text-indent: .3em;                  /* balance the trailing tracking */
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 6px rgba(4, 19, 38, .35), 0 4px 36px rgba(4, 19, 38, .55);
}
/* The glint: a second, glowing copy of the title laid exactly over it and
   shown only through a slanted band that slides across from left to right, so
   the letters catch the light one after another. lamp.js adds .is-glinting
   whenever the lighthouse beam passes over the viewer. */
.wordmark { position: relative; }
.wordmark::after {
  content: attr(data-text);
  content: attr(data-text) / "";     /* not read out a second time */
  position: absolute;
  inset: -1em -.5em;                 /* room for the glow, which the band would otherwise crop */
  padding: 1em .5em;
  color: #ffffff;
  -webkit-text-stroke: .014em #ffffff;   /* the lit letters are a touch heavier, as well as glowing */
  text-shadow: 0 0 .04em #ffffff, 0 0 .1em #ffffff, 0 0 .2em #ffffff, 0 0 .4em rgba(255, 255, 255, .95), 0 0 .8em rgba(170, 216, 255, .95), 0 0 1.4em rgba(150, 205, 255, .7);
  opacity: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(105deg, rgba(0, 0, 0, 0) 43%, #000 50%, rgba(0, 0, 0, 0) 57%) 78% 0 / 300% 100% no-repeat;
  mask: linear-gradient(105deg, rgba(0, 0, 0, 0) 43%, #000 50%, rgba(0, 0, 0, 0) 57%) 78% 0 / 300% 100% no-repeat;
}
.wordmark.is-glinting::after { animation: wordmark-glint 1.8s cubic-bezier(.4, 0, .4, 1) both; }
@keyframes wordmark-glint {
  0% { opacity: 0; -webkit-mask-position: 78% 0; mask-position: 78% 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; -webkit-mask-position: 22% 0; mask-position: 22% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wordmark.is-glinting::after { animation: none; }
}

/* On landscape screens the two words part around the lighthouse: GREAT ends
   left of the platform and BLUE starts right of the keeper's house. The gap and
   the small sideways shift are fractions of the photo's on-screen width (--sw, the
   same value .scene uses), so they follow the lighthouse at any window size.
   Change these if the photo changes. */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  .wordmark {
    --sw: max(100vw, calc(var(--vh) * var(--scene-ratio)));
    position: relative;
    /* lighthouse sits a little right of centre; GREAT is wider than BLUE */
    left: calc(var(--sw) * .0135 - .49em);
    word-spacing: calc(var(--sw) * .174 - .85em);
  }
}

.hero__tagline {
  margin-top: clamp(14px, 2.4vh, 26px);
  font-size: clamp(.78rem, 1.3vw, 1rem);
  font-weight: 700;
  letter-spacing: .34em;
  text-indent: .34em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(4, 19, 38, .7), 0 2px 18px rgba(4, 19, 38, .8);
}

.hero__cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: clamp(20px, 4vh, 44px);
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  opacity: 1;
  text-shadow: 0 1px 3px rgba(4, 19, 38, .75), 0 2px 16px rgba(4, 19, 38, .85);
}
.hero__cue-line {
  order: 2;
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0));
  transform-origin: top;
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(.35); opacity: .5; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* --------------------------------------------------------------------------
   Underwater ambience (fixed)
   -------------------------------------------------------------------------- */
.ambience {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.ambience__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rays { position: absolute; inset: 0; }
.has-depths .rays { display: none; }   /* depths.js draws the light instead */

.ray {
  position: absolute;
  top: -22vh;
  width: 15vw;
  min-width: 90px;
  height: 135vh;
  background: linear-gradient(180deg, rgba(160, 215, 255, .2), rgba(160, 215, 255, .05) 55%, rgba(160, 215, 255, 0) 85%);
  filter: blur(22px);
  transform-origin: 50% 0;
  animation: sway 11s ease-in-out infinite alternate;
}
.ray--1 { left: 6%;  --r0: 10deg; --r1: 16deg; }
.ray--2 { left: 30%; --r0: 14deg; --r1: 8deg;  width: 9vw;  animation-duration: 14s; opacity: .8; }
.ray--3 { left: 56%; --r0: 9deg;  --r1: 17deg; width: 20vw; animation-duration: 17s; opacity: .7; }
.ray--4 { left: 82%; --r0: 15deg; --r1: 10deg; width: 11vw; animation-duration: 12.5s; }

@keyframes sway {
  from { transform: rotate(var(--r0)); }
  to   { transform: rotate(var(--r1)); }
}

/* ---- Depth gauge ---- */
.gauge {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 4;
  width: 72px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  color: rgba(255, 255, 255, .62);
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .08em;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.gauge--left  { left: 0; }
.gauge--right { right: 0; }

.gauge::before {                      /* the line */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, .28);
}
.gauge::after {                       /* current-depth marker */
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--red);
}
.gauge--left::before,  .gauge--left::after  { left: 18px; }
.gauge--right::before, .gauge--right::after { right: 18px; }

.gauge__track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 28px);
  background-repeat: no-repeat;
  background-size: 5px 100%;
  background-position: 18px 0;
  will-change: transform;
}
.gauge--right .gauge__track { background-position: calc(100% - 18px) 0; }

.gauge__tick {
  position: absolute;
  line-height: 1;
  transform: translateY(-50%);
}
.gauge__tick::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 11px;
  height: 1px;
  background: rgba(255, 255, 255, .7);
}
.gauge--left .gauge__tick          { left: 18px; padding-left: 17px; }
.gauge--left .gauge__tick::before  { left: 0; }
.gauge--right .gauge__tick         { right: 18px; padding-right: 17px; }
.gauge--right .gauge__tick::before { right: 0; }

.readout {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(4, 19, 38, .55);
  color: rgba(255, 255, 255, .8);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .16em;
  white-space: pre;
  opacity: 0;
  pointer-events: none;
}
.readout__mark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* --------------------------------------------------------------------------
   Underwater content
   -------------------------------------------------------------------------- */
.deep {
  position: relative;
  display: flow-root;                /* keeps the intro's negative margin from pulling the whole block up */
  background: linear-gradient(180deg, var(--navy-700) 0%, #072746 40%, var(--navy-900) 100%);
}
/* The water gets darker the further down the page goes. One shade laid over
   the water and its light for the whole underwater stretch, so there is no
   line where one section's darkness ends and the next begins. */
.deep::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;                        /* above the fixed ambience; the sections come later, so they sit on top */
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(1, 7, 16, 0) 0%,
    rgba(1, 7, 16, .2) 12%,
    rgba(1, 7, 16, .4) 26%,
    rgba(1, 7, 16, .58) 40%,
    rgba(1, 7, 16, .74) 54%,
    rgba(1, 6, 14, .87) 70%,
    rgba(1, 6, 14, .96) 86%,
    #01060e 96%);
}
/* Fish (fish.js). Above the water and its shade, behind every section: it
   comes before the sections in the page, so at the same level they sit on
   top of it. fish.js sets its top and height. */
.deep > .fish {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 100%;
  height: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.6s ease;
}
.deep > .fish.is-ready { opacity: 1; }
.deep > * {
  position: relative;
  z-index: 3;                        /* above the fixed ambience */
}

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

.section { padding: clamp(96px, 18vh, 200px) 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  color: var(--sky);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--red);
}

.display {
  max-width: 14em;
  font-size: clamp(2.1rem, 6.4vw, 4.75rem);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -.01em;
}

.title {
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 300;
  line-height: 1.15;
}

.lede {
  max-width: 36em;
  margin-top: 34px;
  color: rgba(226, 240, 250, .82);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  font-weight: 300;
  line-height: 1.7;
}

.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* The first underwater view sits over the end of the dive rather than after
     it: one window tall and pulled up by one window, so it is centred on screen
     at the moment the stage is fully submerged, with the lighthouse still
     showing faintly through the water above it. */
  min-height: var(--vh);
  margin-top: calc(-1 * var(--vh));
}
.intro .lede { margin-left: auto; }
/* The "who we are" text: two columns of ordinary reading-size text, so four
   paragraphs still fit in one window under the heading. */
.intro__body {
  margin-top: clamp(24px, 4vh, 44px);
  columns: 2;
  column-gap: clamp(28px, 4vw, 60px);
  color: rgba(236, 245, 252, .92);
  font-size: clamp(.95rem, 1.15vw, 1.06rem);
  font-weight: 400;
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(4, 19, 38, .55);
}
.intro__body p { break-inside: avoid; }
.intro__body p + p { margin-top: 1.1em; }
.intro__body a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(191, 224, 245, .6);
  text-underline-offset: 4px;
}
.intro__body a:hover { color: var(--sky); }
@media (max-width: 860px) {
  .intro__body { columns: 1; }
}

/* ---- Cards ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(36px, 6vh, 64px);
}

/* Row labels ("Our services", "Our products"). By default a small heading above the row. */
.cards { position: relative; }
.cards__label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--sky);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cards__label--second { margin-top: clamp(8px, 1.6vh, 18px); }
.cards__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(191, 224, 245, .35), rgba(191, 224, 245, 0));
}
/* With room at the side each stands in the margin instead, reading upward
   beside its row, with a bracket line running the height of that row. */
@media (min-width: 1100px) {
  .cards { grid-auto-rows: 1fr; }
  .cards__label {
    position: absolute;
    right: calc(100% + 16px);
    top: 0;
    height: calc(50% - clamp(14px, 2vw, 24px) / 2);
    margin: 0;
    padding-right: 16px;
    border-right: 1px solid rgba(191, 224, 245, .3);
    justify-content: center;
    writing-mode: vertical-rl;
  }
  .cards__label--second { top: auto; bottom: 0; }
  .cards__label span { transform: rotate(180deg); }   /* so it reads upward (the reveal animation owns the li's own transform) */
  .cards__label::after { content: none; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  min-height: 230px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  text-align: left;
  cursor: pointer;
  transition: transform .45s var(--ease), border-color .35s ease, background-color .35s ease;
}
.card:hover,
.card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(191, 224, 245, .55);
  background-color: rgba(255, 255, 255, .04);
}

.card__num {
  color: var(--sky);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .2em;
  opacity: .75;
}
.card__name {
  margin-top: 26px;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 300;
  line-height: 1.2;
}
.card__tagline {
  margin-top: 10px;
  color: rgba(226, 240, 250, .74);
  font-size: .98rem;
  font-weight: 300;
}
.card__more {
  margin-top: auto;
  padding-top: 28px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.card__more span {
  display: inline-block;
  margin-left: 6px;
  color: var(--red);
  transition: transform .35s var(--ease);
}
.card:hover .card__more span,
.card:focus-visible .card__more span { transform: translateX(6px); }

/* ---- Reviews ---- */
.reviews {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--vh);
  padding: clamp(84px, 11vh, 120px) 0 clamp(56px, 8vh, 96px);
}
/* Bands of coloured light behind the section. They are strongest around the
   middle of it and fade away slowly above and below, so the glow sits within
   the section and is gone well before either edge. */
.reviews__backdrop {
  position: absolute;
  inset: -22vh 0 -10vh;              /* taller than the section: it reaches a little into the ones either side */
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.6s ease;
  /* a long, even fade in and out, with no flat-to-fade corner to catch the eye */
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.03) 8%, rgba(0, 0, 0, 0.1) 16%, rgba(0, 0, 0, 0.22) 24%, rgba(0, 0, 0, 0.4) 32%, rgba(0, 0, 0, 0.62) 40%, rgba(0, 0, 0, 0.85) 48%, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 1) 62%, rgba(0, 0, 0, 0.8) 70%, rgba(0, 0, 0, 0.55) 78%, rgba(0, 0, 0, 0.28) 86%, rgba(0, 0, 0, 0.1) 93%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.03) 8%, rgba(0, 0, 0, 0.1) 16%, rgba(0, 0, 0, 0.22) 24%, rgba(0, 0, 0, 0.4) 32%, rgba(0, 0, 0, 0.62) 40%, rgba(0, 0, 0, 0.85) 48%, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 1) 62%, rgba(0, 0, 0, 0.8) 70%, rgba(0, 0, 0, 0.55) 78%, rgba(0, 0, 0, 0.28) 86%, rgba(0, 0, 0, 0.1) 93%, rgba(0, 0, 0, 0) 100%);
}
.reviews__backdrop.is-on { opacity: .5; }
.aurora-canvas { display: block; width: 100%; height: 100%; }
.reviews__inner { position: relative; }
.reviews__lede {
  margin-top: 14px;
  color: rgba(226, 240, 250, .82);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 300;
}
.reviews__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(32px, 5vh, 56px);
  list-style: none;
}
.review {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(8, 34, 60, .62), rgba(3, 14, 28, .7));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.review__stars { display: block; line-height: 0; }
.review__stars svg { width: 92px; height: auto; fill: #f2c66d; }
.review__quote {
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 400;
  line-height: 1.65;
}
.review__by {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding-top: 26px;
}
.review__name {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.review__company {
  color: var(--sky);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
@media (max-width: 860px) {
  .reviews__list { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn--light {
  margin-top: 40px;
  background: var(--white);
  color: var(--ink);
  letter-spacing: .08em;
  text-transform: none;
  font-size: 1rem;
}
.btn--light:hover { background: var(--sky); }
.btn--navy {
  background: var(--ink);
  color: var(--white);
}
.btn--navy:hover { background: var(--red); }
.btn--navy:focus-visible { outline-color: var(--ink); }

/* ---- Contact ---- */
.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--vh);
  padding: clamp(84px, 11vh, 120px) 0 clamp(40px, 6vh, 72px);   /* tighter than other sections so it fits one window */
  outline: none;
}
/* Contour-line terrain behind everything in the section. It fades out toward
   the top so it rises out of the water above rather than starting on a line. */
.contact__backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.4s ease;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 26%, #000 55%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 26%, #000 55%);
}
.contact__backdrop.is-on { opacity: .6; }
.topography-canvas { display: block; width: 100%; height: 100%; }

.contact__inner { position: relative; }
/* The heading sits over moving contour lines, so it gets the same treatment as
   the hero tagline: heavier letters and a dark edge that lifts them off the
   lines behind. */
.contact__head .eyebrow {
  color: var(--white);
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(4, 19, 38, .8), 0 2px 16px rgba(4, 19, 38, .9);
}
.contact__head .display {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 500;
  text-shadow: 0 2px 6px rgba(4, 19, 38, .75), 0 4px 34px rgba(4, 19, 38, .9);
}
.contact__head .lede {
  margin-top: 18px;
  color: var(--white);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(4, 19, 38, .85), 0 2px 18px rgba(4, 19, 38, .95);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
}

.contact__book {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vh, 52px);
}
.contact__action {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 26px);
}
.contact__logo {
  flex: none;
  width: clamp(64px, 6.5vw, 88px);
  height: auto;
  filter: drop-shadow(0 14px 34px rgba(4, 19, 38, .55));
}

.book-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 380px;
  padding: clamp(20px, 2.6vw, 30px) 22px;
  border: 1px solid rgba(191, 224, 245, .5);
  border-radius: 18px;
  background: linear-gradient(160deg, #6fbae5, #3874b8);
  box-shadow: 0 18px 50px rgba(4, 19, 38, .45);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), filter .3s ease;
}
.book-btn:hover,
.book-btn:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(4, 19, 38, .55);
  filter: brightness(1.06);
}
.book-btn__title {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.2;
}
.book-btn__note {
  font-size: .9rem;
  opacity: .9;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(6, 30, 54, .7), rgba(2, 10, 22, .82));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(2, 10, 22, .5);
}
.contact__form-title {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.2;
  text-align: center;
}

.field {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  color: var(--white);
  font: inherit;
  transition: border-color .25s ease, background-color .25s ease;
}
.field::placeholder { color: rgba(226, 240, 250, .55); }
.field:hover { border-color: rgba(191, 224, 245, .4); }
.field:focus {
  outline: none;
  border-color: var(--sky);
  background: rgba(255, 255, 255, .09);
}
.field.is-missing { border-color: #f0907f; }
.field--area {
  min-height: 112px;
  resize: vertical;
}

.contact__send {
  width: 100%;
  margin-top: 6px;
  border-radius: 12px;
}
.contact__status {
  min-height: 1.4em;
  font-size: .85rem;
  text-align: center;
  color: var(--sky);
}
.contact__status.is-error { color: #f6a899; }

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

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
}

.site-footer {
  padding: 34px 0 44px;
  background: #01060e;               /* carries on from the dark at the bottom of the contact section */
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(226, 240, 250, .6);
  font-size: .78rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
}
.site-footer__brand {
  color: var(--white);
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }

/* ---- Reveal on scroll (only when JS is running) ---- */
[data-drift] { will-change: transform; }

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Fog + product panel ("inside the cloud")
   -------------------------------------------------------------------------- */
.fog {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #ffffff 40%, #e9f3fb 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--fog-dur, 450ms) ease var(--fog-delay, 0ms);
}
.fog.is-on {
  opacity: 1;
  pointer-events: auto;
}
.fog.is-instant { transition: none; }

.panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: linear-gradient(180deg, #d5e9f8 0%, #eef6fc 42%, #ffffff 100%);
  color: var(--ink);
  opacity: 0;
  transition: opacity .45s ease;
}
.panel[hidden] { display: none; }
.panel.is-open { opacity: 1; }
.panel :focus-visible { outline-color: var(--ink); }

.panel__mist {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.mist {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, 0));
  animation: mist 26s ease-in-out infinite alternate;
}
.mist--1 { left: -18vw; top: -22vh; width: 70vw; height: 70vw; --mx: 7vw;  --my: 4vh; }
.mist--2 { right: -22vw; top: 8vh;  width: 62vw; height: 62vw; --mx: -9vw; --my: 6vh;  animation-duration: 33s; }
.mist--3 { left: 12vw; bottom: -34vh; width: 80vw; height: 80vw; --mx: 6vw;  --my: -5vh; animation-duration: 38s; }
.mist--4 {
  right: 4vw; top: -30vh; width: 46vw; height: 46vw; --mx: -5vw; --my: 7vh; animation-duration: 29s;
  background: radial-gradient(closest-side, rgba(191, 224, 245, .8), rgba(191, 224, 245, 0));
}
@keyframes mist {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(var(--mx), var(--my), 0) scale(1.12); }
}

.panel__bar,
.panel__content,
.panel__nav {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(22px, 6vw, 56px);
  padding-right: clamp(22px, 6vw, 56px);
}

.panel__bar { padding-top: clamp(18px, 3vh, 30px); }

.panel__close {
  padding: 10px 18px;
  border: 1px solid rgba(11, 42, 69, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .3s ease, border-color .3s ease;
}
.panel__close:hover {
  background: var(--white);
  border-color: var(--ink);
}

.panel__content {
  margin-top: auto;
  margin-bottom: auto;
  padding-top: clamp(28px, 6vh, 64px);
  padding-bottom: clamp(28px, 6vh, 64px);
  transform: translate3d(0, 18px, 0);
  transition: opacity .22s ease, transform .6s var(--ease);
}
.panel.is-open .panel__content { transform: none; }
.panel__content.is-swapping { opacity: 0; }

.panel__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(11, 42, 69, .7);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.panel__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--red);
}

.panel__title {
  margin-top: 22px;
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 200;
  line-height: 1.04;
  letter-spacing: -.01em;
  outline: none;
}

/* The line at the top of a panel is the page's own name with the thin red
   rule in front of it. (It used to be a separate "Product 01 / 04" label.) */
#panel-eyebrow { display: none; }
.panel__title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.panel__title::before {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--red);
}

.panel__tagline {
  margin-top: 18px;
  color: var(--sea);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.35;
}

.panel__body {
  max-width: 40em;
  margin-top: 22px;
  font-size: 1.04rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(11, 42, 69, .86);
}

.panel__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
  max-width: 44em;
  margin: 30px 0 38px;
}
.panel__features li {
  position: relative;
  padding-left: 22px;
  font-size: .98rem;
  line-height: 1.5;
}
.panel__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 10px;
  height: 1px;
  background: var(--red);
}

.panel__nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: clamp(20px, 4vh, 36px);
  border-top: 1px solid rgba(11, 42, 69, .14);
}
.panel__step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 48%;
  padding: 6px 4px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.panel__step--next { text-align: right; align-items: flex-end; }
.panel__step-dir {
  color: rgba(11, 42, 69, .6);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.panel__step-name {
  font-size: 1rem;
  font-weight: 500;
  transition: color .3s ease;
}
.panel__step:hover .panel__step-name { color: var(--red); }

/* ---- Long-form panel content (products with kicker / note / chips / sections) ---- */
.panel__content [hidden] { display: none; }
.panel__extra h3,
.panel__extra h4,
.panel__extra h5,
.panel__extra ol,
.panel__extra figure,
.panel__extra blockquote { margin: 0; }
.panel__extra ol { padding: 0; list-style: none; }

/* long panels start at the top and keep "Back to the sky" within reach */
.panel.has-sections { scroll-padding-top: 84px; }
.panel.has-sections .panel__content { margin-top: 0; }
.panel.has-sections .panel__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  padding-bottom: 10px;
  pointer-events: none;
}
/* soft sky-coloured fade so scrolling text dissolves before it reaches the back button */
.panel.has-sections .panel__bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: calc(100% + 26px);
  transform: translateX(-50%);
  background: linear-gradient(180deg, #d8eaf8 0%, rgba(218, 235, 248, .94) 55%, rgba(222, 237, 249, 0) 100%);
  pointer-events: none;
}
.panel.has-sections .panel__close {
  position: relative;
  pointer-events: auto;
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.panel.has-sections .panel__close:hover { background: var(--white); }

.panel__kicker {
  margin-top: 20px;
  color: rgba(11, 42, 69, .7);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .22em;
  line-height: 1.6;
  text-transform: uppercase;
}

.panel__note {
  max-width: 40em;
  margin-top: 26px;
  color: rgba(11, 42, 69, .64);
  font-size: .9rem;
  line-height: 1.65;
}

.panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.panel__chips li {
  padding: 7px 14px;
  border: 1px solid rgba(11, 42, 69, .18);
  border-radius: 999px;
  color: rgba(11, 42, 69, .78);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.panel__extra { margin-top: clamp(48px, 9vh, 88px); }

.panel__section {
  padding-top: clamp(44px, 8vh, 80px);
  border-top: 1px solid rgba(11, 42, 69, .12);
}
.panel__section + .panel__section { margin-top: clamp(44px, 8vh, 80px); }

.panel__heading {
  max-width: 22em;
  margin-top: 20px;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 200;
  line-height: 1.14;
  letter-spacing: -.005em;
}
.panel__section > .panel__heading:first-child { margin-top: 0; }

/* shared title / text pair */
.panel__pairs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 44px;
  margin-top: 40px;
}
.panel__pair-title {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
}
.panel__pair-text {
  margin-top: 8px;
  color: rgba(11, 42, 69, .8);
  font-size: .96rem;
  line-height: 1.65;
}

/* Platform: numbered rows */
.panel__steps { margin-top: 40px; }
.panel__step-item {
  display: grid;
  grid-template-columns: minmax(0, 10.5rem) minmax(0, 1fr);
  gap: 8px 32px;
  padding: 24px 0;
  border-top: 1px solid rgba(11, 42, 69, .1);
}
.panel__step-item:last-child { padding-bottom: 0; }
.panel__step-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-top: .28em;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.panel__step-num { color: var(--red); }
.panel__step-label { color: rgba(11, 42, 69, .7); }

/* Closer look: titled groups */
.panel__group { margin-top: clamp(40px, 7vh, 64px); }
.panel__group-title {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(11, 42, 69, .1);
  color: var(--sea);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 300;
  line-height: 1.3;
}
.panel__group .panel__pairs { margin-top: 26px; }

/* Pricing */
.panel__pricing {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px 48px;
  align-items: start;
  margin-top: 40px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(11, 42, 69, .12);
  border-radius: 6px;
  background: rgba(255, 255, 255, .5);
}
.panel__price-label,
.panel__attribution {
  color: rgba(11, 42, 69, .7);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.panel__price-figure {
  margin-top: 10px;
  font-size: clamp(3.6rem, 9vw, 5.6rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -.02em;
}
.panel__price-caption {
  margin-top: 12px;
  color: rgba(11, 42, 69, .7);
  font-size: .92rem;
  line-height: 1.5;
}
.panel__features--stack {
  grid-template-columns: 1fr;
  max-width: none;
  margin: 0 0 28px;
}
.panel__pairs--notes { margin-top: 32px; }
.panel__pairs--notes .panel__pair-title { font-size: .95rem; }
.panel__pairs--notes .panel__pair-text { font-size: .9rem; }

/* Story */
.panel__quote {
  max-width: 26em;
  margin-top: 26px;
  font-size: clamp(1.45rem, 3.2vw, 2.25rem);
  font-weight: 200;
  line-height: 1.28;
  letter-spacing: -.005em;
}
.panel__attribution {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  line-height: 1.5;
}
.panel__avatar {
  flex: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(11, 42, 69, .14);
  border-radius: 50%;
  object-fit: cover;
}

.panel__callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: 44px;
  padding: clamp(20px, 3.4vw, 30px);
  border: 1px solid rgba(11, 42, 69, .12);
  border-radius: 6px;
  background: rgba(255, 255, 255, .5);
}
.panel__callout-copy { max-width: 34em; }
.panel__link {
  flex: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--red);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.panel__link::after { content: "\2192"; margin-left: 10px; }
.panel__link:hover { color: var(--red); }

/* FAQ */
.panel__faq {
  margin-top: 36px;
  border-top: 1px solid rgba(11, 42, 69, .12);
}
.panel__faq-item { border-bottom: 1px solid rgba(11, 42, 69, .12); }
.panel__faq-q {
  position: relative;
  display: block;
  padding: 20px 44px 20px 0;
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}
.panel__faq-q::-webkit-details-marker { display: none; }
.panel__faq-q::before,
.panel__faq-q::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 13px;
  height: 1px;
  background: var(--ink);
}
.panel__faq-q::after { transform: rotate(90deg); }
.panel__faq-item[open] > .panel__faq-q::after { transform: none; background: var(--red); }
.panel__faq-item[open] > .panel__faq-q::before { background: var(--red); }
.panel__faq-q:hover { color: var(--sea); }
.panel__faq-q:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.panel__faq-a {
  max-width: 44em;
  padding: 0 44px 24px 0;
  color: rgba(11, 42, 69, .86);
  font-size: 1rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Product-page layout (layout: 'page' in main.js, used by Blue Board and CRM Configuration).
   The same content as any other panel, arranged like the standalone Blue Board
   page: a wide column, a split hero with the video beside the headline,
   centred section headings, a row of cards, picture-and-text rows that swap
   sides, a dark price card and a banner. Everything here only rearranges and
   restyles; the markup is unchanged.
   -------------------------------------------------------------------------- */
.panel--page { --bb: #2b6cb8; --bb-light: #47ade8; }
.panel--page .panel__bar,
.panel--page .panel__content,
.panel--page .panel__nav { max-width: 1180px; }

/* Hero */
.panel--page .panel__title {
  margin-top: 0;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0;
}
.panel--page .panel__kicker { color: var(--bb); font-weight: 600; }
.panel--page .panel__tagline {
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.02em;
}
.panel--page .panel__content > .panel__body { font-size: 1.1rem; }
.panel--page #panel-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
}
.panel--page .panel__features li { padding-left: 26px; }
.panel--page .panel__features li::before {
  content: "\2713";
  top: .12em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--bb);
  color: var(--white);
  font-size: .62rem;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
.panel--page #panel-cta { margin-top: 30px; }
.panel--page .panel__note,
.panel--page .panel__chips {
  max-width: none;
  justify-content: center;
  text-align: center;
}
.panel--page .panel__note { margin-top: clamp(48px, 8vh, 80px); }
.panel--page .panel__chips li {
  border-color: rgba(43, 108, 184, .22);
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
  font-family: inherit;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* Section headings: centred */
.panel--page .panel__section > .panel__eyebrow {
  justify-content: center;
  color: var(--bb);
  font-weight: 600;
}
.panel--page .panel__section > .panel__eyebrow::before { content: none; }
.panel--page .panel__heading {
  max-width: 17em;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  text-align: center;
}
.panel--page .panel__section > .panel__body {
  max-width: 38em;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Platform: a row of cards */
.panel--page .panel__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.panel--page .panel__step-item,
.panel--page .panel__section--items .panel__pair {
  display: block;
  padding: 22px;
  border: 1px solid rgba(11, 42, 69, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 10px 30px rgba(11, 42, 69, .05);
}
.panel--page .panel__step-item:last-child { padding-bottom: 22px; }
.panel--page .panel__step-meta {
  display: block;
  padding-top: 0;
  font-family: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.panel--page .panel__step-num {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 11px;
  background: rgba(43, 108, 184, .12);
  color: var(--bb);
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 600;
  line-height: 38px;
  text-align: center;
}
.panel--page .panel__step-label {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
}
.panel--page .panel__step-main { margin-top: 6px; }
.panel--page .panel__step-main .panel__pair-title { font-size: .88rem; }
.panel--page .panel__step-main .panel__pair-text { font-size: .88rem; }

/* Closer look: bullet lists; picture beside them on wide screens (below) */
.panel--page .panel__group { margin-top: clamp(56px, 10vh, 104px); }
.panel--page .panel__group-title {
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
}
.panel--page .panel__group .panel__pairs {
  grid-template-columns: 1fr;
  gap: 18px;
}
.panel--page .panel__group .panel__pair {
  position: relative;
  padding-left: 20px;
}
.panel--page .panel__group .panel__pair::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bb);
}
.panel--page .panel__group .panel__pair-title { font-size: .98rem; }
.panel--page .panel__group .panel__pair-text { margin-top: 3px; font-size: .94rem; }

/* Pricing: a dark card */
.panel--page .panel__pricing {
  display: block;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 8%, rgba(71, 173, 232, .45), rgba(71, 173, 232, 0) 42%),
    linear-gradient(160deg, #0d3558, #07213b);
  box-shadow: 0 30px 70px rgba(7, 33, 59, .3);
  color: var(--white);
}
.panel--page .panel__price-label { color: var(--bb-light); font-weight: 600; }
.panel--page .panel__price-figure { font-size: clamp(3rem, 6vw, 4.2rem); font-weight: 700; }
.panel--page .panel__price-caption { margin-bottom: 20px; color: rgba(255, 255, 255, .86); }
.panel--page .panel__pricing .panel__features li { color: rgba(255, 255, 255, .94); }
.panel--page .panel__pricing .panel__features li::before {
  background: transparent;
  color: var(--bb-light);
  font-size: .9rem;
}
.panel--page .panel__pricing .btn {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}
.panel--page .panel__pricing .btn:hover { background: var(--bb-light); border-color: var(--bb-light); color: var(--ink); }
.panel--page .panel__pairs--notes { grid-template-columns: 1fr; gap: 22px; }

/* Story: centred, with a banner under it */
.panel--page .panel__story { text-align: center; }
.panel--page .panel__quote {
  max-width: 24em;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -.01em;
}
.panel--page .panel__story .panel__body { margin-left: auto; margin-right: auto; }
.panel--page .panel__attribution { justify-content: center; }
.panel--page .panel__callout {
  margin-top: 56px;
  padding: clamp(22px, 3.4vw, 34px);
  border: 0;
  border-radius: 20px;
  background: linear-gradient(100deg, var(--bb), var(--bb-light));
  box-shadow: 0 24px 56px rgba(43, 108, 184, .28);
}
.panel--page .panel__callout .panel__pair-title { color: var(--white); font-size: 1.3rem; font-weight: 700; }
.panel--page .panel__callout .panel__pair-text { color: rgba(255, 255, 255, .92); }
.panel--page .panel__link {
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  letter-spacing: .04em;
  text-transform: none;
  font-size: .9rem;
}
.panel--page .panel__link::after { content: none; }
.panel--page .panel__link:hover { color: var(--bb); }

/* Path: a few numbered stops joined by a line, one short line of text each */
.panel__extra .panel__path {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 52px auto 0;
  padding: 0;
  list-style: none;
}
.panel__path-stop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
/* the line to the next stop, drawn from the centre of this number to the next */
.panel__path-stop:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(50% + 28px);
  right: calc(-50% + 16px);
  top: 19px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(43, 108, 184, .55), rgba(71, 173, 232, .55));
}
.panel__path-num {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--bb, #2b6cb8);
  color: var(--white);
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 600;
  line-height: 40px;
  box-shadow: 0 8px 20px rgba(43, 108, 184, .28);
}
.panel__path-label {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
}
.panel__path-text {
  max-width: 13em;
  color: rgba(11, 42, 69, .76);
  font-size: .9rem;
  line-height: 1.45;
}
.panel__section--path .panel__callout { margin-top: 60px; }
@media (max-width: 700px) {
  .panel__extra .panel__path { grid-auto-flow: row; gap: 26px; }
  .panel__path-stop:not(:last-child)::after {
    left: calc(50% - 1px);
    right: auto;
    top: auto;
    bottom: -20px;
    width: 2px;
    height: 14px;
  }
}

/* FAQ and the closing call: a narrower centred column */
.panel--page .panel__faq {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.panel--page .panel__section--cta { text-align: center; }

@media (min-width: 980px) {
  /* Hero: text on the left, video on the right */
  .panel--page .panel__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    column-gap: clamp(36px, 5vw, 72px);
    align-items: start;
  }
  .panel--page .panel__content > * { grid-column: 1; }
  .panel--page #panel-eyebrow { grid-row: 1; }
  .panel--page #panel-title { grid-row: 2; }
  .panel--page #panel-kicker { grid-row: 3; }
  .panel--page #panel-tagline { grid-row: 4; }
  .panel--page #panel-body { grid-row: 5; }
  .panel--page #panel-cta { grid-row: 6; justify-self: start; }
  .panel--page #panel-features { grid-row: 7; }
  .panel--page #panel-media {
    grid-column: 2;
    grid-row: 1 / 8;
    align-self: center;
    margin-top: 0;
  }
  .panel--page #panel-note { grid-row: 8; grid-column: 1 / -1; }
  .panel--page #panel-chips { grid-row: 9; grid-column: 1 / -1; }
  .panel--page #panel-extra { grid-row: 10; grid-column: 1 / -1; }

  /* Closer look: picture on one side, text on the other, swapping each time */
  .panel--page .panel__group {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: clamp(40px, 5vw, 72px);
    align-items: center;
  }
  .panel--page .panel__group .panel__shots { grid-column: 1; grid-row: 1 / 3; margin-top: 0; }
  .panel--page .panel__group-title { grid-column: 2; grid-row: 1; align-self: end; }
  .panel--page .panel__group .panel__pairs { grid-column: 2; grid-row: 2; align-self: start; margin-top: 24px; }
  .panel--page .panel__group:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .panel--page .panel__group:nth-of-type(even) .panel__shots { grid-column: 2; }
  .panel--page .panel__group:nth-of-type(even) .panel__group-title,
  .panel--page .panel__group:nth-of-type(even) .panel__pairs { grid-column: 1; }

  /* Under the hood: two wide cards, then three */
  .panel--page .panel__section--items .panel__pairs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
  }
  .panel--page .panel__section--items .panel__pair { grid-column: span 2; }
  .panel--page .panel__section--items .panel__pair:nth-child(-n+2) { grid-column: span 3; }
  /* ...or, with variant: 'thirds', equal cards three to a row */
  .panel--page .panel__section--thirds .panel__pair:nth-child(-n+2) { grid-column: span 2; }

  /* Pricing: card on the left, notes on the right */
  .panel--page .panel__section--pricing {
    display: grid;
    grid-template-columns: minmax(0, 480px) minmax(0, 380px);
    justify-content: center;
    column-gap: clamp(36px, 5vw, 64px);
    align-items: center;
  }
  .panel--page .panel__section--pricing > .panel__eyebrow,
  .panel--page .panel__section--pricing > .panel__heading,
  .panel--page .panel__section--pricing > .panel__body { grid-column: 1 / -1; }
  .panel--page .panel__section--pricing > .panel__body { justify-self: center; }
  .panel--page .panel__pairs--notes { margin-top: 40px; }
}

/* Product media: hero video + screenshots share one frame */
.panel__frame {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(11, 42, 69, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 24px 60px rgba(11, 42, 69, .14);
}
.panel__media { margin-top: clamp(36px, 6vh, 56px); }
.panel__video {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.panel__shots {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}
.panel__group .panel__shots + .panel__pairs { margin-top: 34px; }

/* Under the hood: small decorative mock-ups, all in a same-height frame */
.panel__mock {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  height: 184px;
  margin-bottom: 20px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(11, 42, 69, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .5);
  color: var(--ink);
  font-size: .78rem;
  line-height: 1.3;
}
.panel__mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid rgba(11, 42, 69, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
}
.panel__mock-row.is-highlight {
  border-color: rgba(110, 193, 242, .9);
  background: rgba(110, 193, 242, .16);
}
.panel__mock-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.panel__mock-tag {
  flex: none;
  padding: 3px 7px;
  border: 1px solid rgba(11, 42, 69, .16);
  border-radius: 999px;
  color: rgba(11, 42, 69, .66);
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.panel__mock-tag.is-on {
  border-color: rgba(18, 69, 107, .4);
  color: var(--sea);
}
.panel__mock-tag.is-alert {
  border-color: rgba(216, 69, 46, .5);
  color: var(--red);
}
.panel__mock-switch {
  position: relative;
  flex: none;
  width: 30px;
  height: 17px;
  border-radius: 999px;
  background: rgba(11, 42, 69, .18);
}
.panel__mock-switch::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--white);
}
.panel__mock-switch.is-on { background: #6ec1f2; }
.panel__mock-switch.is-on::after { left: 15px; }

.panel__mock--versus {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.panel__mock-box {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 18px 12px;
  border: 1px solid rgba(11, 42, 69, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
  text-align: center;
}
.panel__mock-box:first-child { border-color: rgba(110, 193, 242, .9); }
.panel__mock-box-title { font-weight: 600; }
.panel__mock-box-text {
  color: rgba(11, 42, 69, .62);
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.panel__mock-sign {
  flex: none;
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 300;
}

.panel__mock--code {
  gap: 0;
  padding: 16px 18px;
  border-color: var(--ink);
  background: var(--ink);
  color: rgba(213, 233, 248, .78);
  font-family: var(--mono);
  font-size: .66rem;
  line-height: 1.7;
}
.panel__mock-line {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.panel__mock-line.is-head { color: var(--white); }

/* Feature rows (section type 'showcase', used by CRM Configuration): the picture-and-text rows of the
   product-page layout, built on .panel__group / .panel__group-title / .panel__shots / .panel__frame.
   Each row is a small blue label, a bold navy heading, the text and a tick list. Rows with a demo put
   the animated mock-up on the other side; rows without one put the tick list there, in a soft panel.
   Odd rows (.panel__feature--flip) swap sides. Stacked, the copy wrapper dissolves so the order is
   label, heading, demo, text, points. */
.panel__section--showcase > .panel__group:first-child { margin-top: 0; }
.panel__feature { scroll-margin-top: 96px; }
.panel--page .panel__group.panel__feature {
  display: flex;
  flex-direction: column;
}
.panel__feature-copy { display: contents; }
.panel__feature-label {
  order: 1;
  color: var(--bb);
  font-weight: 600;
}
.panel__feature-label::before { content: none; }
.panel__feature .panel__group-title {
  order: 2;
  margin-top: 14px;
}
.panel__feature-media { order: 3; }
.panel--page .panel__group.panel__feature .panel__shots { margin-top: 26px; }
.panel__feature .panel__body { order: 4; }
.panel__feature .panel__body + .panel__body { margin-top: 14px; }
.panel__feature .panel__features {
  order: 5;
  gap: 10px;
  margin: 26px 0 0;
}
.panel__feature-points {
  order: 5;
  margin-top: 30px;
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid rgba(11, 42, 69, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}
.panel__feature-points .panel__features { margin: 0; }
/* animated mock-up (guide-demo.js / portal-demo.js) in the same frame as the screenshots */
.panel__feature-demo {
  overflow: hidden;
  background: #fff;
}
@media (min-width: 980px) {
  /* no demo: copy on one side, tick list in its panel on the other */
  .panel--page .panel__group.panel__feature--text {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
  }
  .panel--page .panel__group.panel__feature--text.panel__feature--flip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  }
  .panel__feature--text .panel__feature-copy {
    display: block;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
  .panel__feature--text .panel__feature-points {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
  }
  .panel__feature--text.panel__feature--flip .panel__feature-copy { grid-column: 2; }
  .panel__feature--text.panel__feature--flip .panel__feature-points { grid-column: 1; }
}
@media (min-width: 1100px) {
  /* demo: the mock-up gets about 64% of the row so its text stays legible; stacked below this width */
  .panel--page .panel__group.panel__feature--demo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
    grid-template-rows: auto;
    column-gap: clamp(32px, 4vw, 56px);
    align-items: center;
  }
  .panel--page .panel__group.panel__feature--demo.panel__feature--flip {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  }
  .panel__feature--demo .panel__feature-copy {
    display: block;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
  .panel--page .panel__group.panel__feature--demo .panel__feature-media {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    margin-top: 0;
  }
  .panel__feature--demo.panel__feature--flip .panel__feature-copy { grid-column: 2; }
  .panel--page .panel__group.panel__feature--demo.panel__feature--flip .panel__feature-media { grid-column: 1; }
}

/* Product-page layout without hero media (CRM Configuration): one column, headline held to a measure */
.panel--page.panel--no-media .panel__tagline { max-width: 14em; }
@media (min-width: 980px) {
  .panel--page.panel--no-media .panel__content { grid-template-columns: minmax(0, 1fr); }
}

/* Primary CTA moved below the sections (ctaPosition: 'bottom') */
.panel__features[hidden] + .btn { margin-top: 34px; }
.panel__cta--bottom { margin-top: 40px; }
/* in the product-page layout: centred under the last section */
.panel--page #panel-cta.panel__cta--bottom {
  display: flex;
  width: fit-content;
  margin: clamp(48px, 8vh, 80px) auto 0;
}
@media (min-width: 980px) {
  .panel--page #panel-cta.panel__cta--bottom {
    grid-column: 1 / -1;
    grid-row: 11;
    justify-self: center;
  }
}

/* Closing CTA */
.panel__section--cta .panel__body { margin-top: 16px; }
.panel__closing-btn { margin-top: 30px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card__name { margin-top: 18px; }
  .panel__features { grid-template-columns: 1fr; }
  .panel__pairs,
  .panel__pricing,
  .panel__step-item { grid-template-columns: 1fr; }
  .panel__pairs { gap: 24px; }
  .panel__step-item { padding: 20px 0; }
  .panel__step-meta { padding-top: 0; }
  .panel__callout { flex-direction: column; align-items: flex-start; }
  .panel__faq-q { padding-right: 36px; }
  .panel__frame { border-radius: 12px; box-shadow: 0 14px 34px rgba(11, 42, 69, .12); }
  .panel__shots { gap: 16px; }
  .panel__mock { padding: 12px; }
  .panel__mock-row { padding: 5px 8px; }
  .panel__mock--versus { gap: 8px; }
  .panel__mock-box { padding: 16px 8px; }
  .panel__faq-a { padding-right: 0; }
  .intro .lede { margin-left: 0; }
}

@media (max-width: 700px) {
  .gauge { width: 26px; }
  .gauge--right { display: none; }
  .gauge--left::before, .gauge--left::after { left: 8px; }
  .gauge--left::after { width: 10px; }
  .gauge--left .gauge__track { background-position: 8px 0; }
  .gauge--left .gauge__tick { left: 8px; padding-left: 0; font-size: 0; }
  .gauge--left .gauge__tick::before { width: 9px; }
  .readout { left: 10px; bottom: 10px; font-size: .6rem; }
  .hotspot__pill { font-size: .68rem; padding: 7px 13px 7px 10px; }
}

@media (max-width: 420px) {
  .logo__text { letter-spacing: .2em; }
  .header-link { padding: 7px 14px; }
  .hero__tagline { letter-spacing: .24em; text-indent: .24em; }
}

/* --------------------------------------------------------------------------
   Reduced motion: no zoom / parallax / particles; panel just fades
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .wave,
  .ray,
  .mist,
  .hotspot__dot::after,
  .hero__cue-line { animation: none; }

  .ambience__canvas { display: none; }

  .js .reveal,
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hotspot__pill,
  .card,
  .card__more span,
  .panel__content { transition: none; }
  .panel__content { transform: none; }
  .hotspot:hover .hotspot__pill,
  .hotspot:focus-visible .hotspot__pill,
  .card:hover,
  .card:focus-visible { transform: none; }
}

/* --------------------------------------------------------------------------
   "Back to the sky" sits in the left margin, clear of the text column.
   - wide screens: the full pill, fixed in the gutter beside the column
   - medium screens: a round arrow button in the page padding
   - under 760px there is no margin to use, so the sticky bar above stays
   -------------------------------------------------------------------------- */
@media (min-width: 760px) {
  #panel .panel__bar {
    position: static;
    padding-bottom: 0;
    pointer-events: none;
  }
  #panel .panel__bar::before { content: none; }
  #panel .panel__close {
    position: fixed;
    top: clamp(14px, 2.4vh, 26px);
    left: 8px;
    z-index: 5;
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;            /* label stays for screen readers, arrow only on screen */
    letter-spacing: 0;
    pointer-events: auto;
    background: rgba(255, 255, 255, .84);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  #panel .panel__close span { font-size: 1rem; line-height: 1; }
  #panel .panel__close:hover { background: var(--white); }
}

/* the full pill once the gutter beside the column is wide enough for it:
   920px column from 1360px, the 1180px page layout from 1620px */
@media (min-width: 1360px) {
  #panel:not(.panel--page) .panel__close {
    display: inline-block;
    left: clamp(16px, 2vw, 32px);
    width: auto;
    height: auto;
    padding: 10px 18px;
    font-size: .74rem;
    letter-spacing: .14em;
  }
  #panel:not(.panel--page) .panel__close span { font-size: inherit; }
}
@media (min-width: 1620px) {
  #panel.panel--page .panel__close {
    display: inline-block;
    left: clamp(16px, 2vw, 32px);
    width: auto;
    height: auto;
    padding: 10px 18px;
    font-size: .74rem;
    letter-spacing: .14em;
  }
  #panel.panel--page .panel__close span { font-size: inherit; }
}

/* --------------------------------------------------------------------------
   Phones: the hero title sits over the rocks and the keeper's house, where
   thin white letters get lost, so it is heavier there, with a darker shadow
   and a deeper shade behind the bottom of the scene.
   -------------------------------------------------------------------------- */
@media (max-width: 700px) {
  .wordmark {
    font-weight: 500;
    text-shadow: 0 2px 6px rgba(4, 19, 38, .85), 0 0 22px rgba(4, 19, 38, .8), 0 0 48px rgba(4, 19, 38, .6);
  }
  .stage__scrim {
    height: 60%;
    background: linear-gradient(180deg, rgba(4, 19, 38, 0) 0%, rgba(4, 19, 38, .5) 45%, rgba(4, 19, 38, .78) 100%);
  }
}

/* --------------------------------------------------------------------------
   Phone menu (menu.js). Hidden on wider screens, where the clouds are in view
   and the header keeps its Contact button.
   -------------------------------------------------------------------------- */
.menu-btn,
.site-menu { display: none; }

@media (max-width: 700px) {
  .header-link { display: none; }
  /* most of the clouds are cropped away at this width, and the one that is left sits under the header */
  .hotspot { display: none; }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .site-header.is-deep .menu-btn { background: rgba(255, 255, 255, .06); }
  .menu-btn__bars {
    position: relative;
    display: block;
    width: 18px;
    height: 12px;
  }
  .menu-btn__bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .3s var(--ease), opacity .2s ease, top .3s var(--ease);
  }
  .menu-btn__bars span:nth-child(1) { top: 0; }
  .menu-btn__bars span:nth-child(2) { top: 5.25px; }
  .menu-btn__bars span:nth-child(3) { top: 10.5px; }
  /* open: the bars become a cross */
  .menu-btn.is-open .menu-btn__bars span:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
  .menu-btn.is-open .menu-btn__bars span:nth-child(2) { opacity: 0; }
  .menu-btn.is-open .menu-btn__bars span:nth-child(3) { top: 5.25px; transform: rotate(-45deg); }

  .site-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: clamp(12px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    min-width: 230px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(10, 51, 85, .94), rgba(4, 19, 38, .96));
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(2, 10, 22, .5);
    color: var(--white);
    animation: site-menu-in .22s var(--ease);
  }
  .site-menu[hidden] { display: none; }
  .site-menu__item {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-radius: 12px;
    background: none;
    color: inherit;
    font: inherit;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
  }
  .site-menu__item:hover,
  .site-menu__item:focus-visible { background: rgba(255, 255, 255, .1); }
  .site-menu__item--contact {
    margin-top: 6px;
    border: 1px solid rgba(255, 255, 255, .5);
    text-align: center;
  }
}
@keyframes site-menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-menu { animation: none; }
  .menu-btn__bars span { transition: none; }
}
