/* Clift Interactive for leisure centres (UK campaign, November 2026)
   Built on the Sentry workshop page: same tokens, type, buttons, header, form and footer.
   The LED colours are the ones the wall itself uses (CliftOS CompGrip.lampColor). */

@font-face { font-family: "Open Sans"; src: url("../assets/fonts/OpenSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../assets/fonts/OpenSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../assets/fonts/OpenSans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../assets/fonts/OpenSans-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../assets/fonts/OpenSans-ExtraBoldItalic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }

:root {
  /* Design system */
  --color-indigo: #4000FF;
  --color-indigo-deep: #2E00B6;
  --color-black: #000000;
  --color-white: #FFFFFF;
  --text-secondary: #EEEEEE;
  --text-tertiary: #B3B3B3;
  --text-muted: #8A8A8A;
  --border-subtle: #777777;
  --header-frost: rgba(0, 0, 0, .9);
  --font-primary: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: 17px;
  --blur-navbar: 10px;

  /* The wall's own LED colours: start, hands, feet, top. The hand blue is the Clift indigo;
     on black it needs a lighter halo to read as light. */
  /* Green only where green means something (the owner, 2026-11-18): ticks, a good result, and the wall's own start LED. */
  --led-start: #00C498;
  --led-route: #4000FF;
  --led-route-glow: #7B5CFF;
  --led-foot: #F5A623;
  --led-finish: #FF4179;

  /* Accent type on black: the Clift indigo (the owner, 2026-11-18: no lilac). It is dark on black, so it is used
     for large headlines only; small accented text is white with an indigo mark instead. */
  --accent: #4000FF;

  --hairline: #1F1F1F;
  --hairline-strong: #2C2C2C;
  --panel: #0C0C0C;
  --form-error: #FE8387;

  /* Layout */
  --page: max(clamp(var(--gutter), 5vw, 96px), calc((100vw - 1920px) / 2 + 96px));
  --section: clamp(88px, 11vw, 176px);
  --header-h: 72px;
  --vh: 1vh;
  --vw: min(1vw, 19.2px);
  --ease-out: cubic-bezier(.16, .84, .24, 1);
  --focus: #FFFFFF;
}

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

@media (max-width: 699px) {
  :root { --header-h: 60px; }
}

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

html {
  background: var(--color-black);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
p, h1, h2, h3, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  left: var(--gutter); top: 10px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--color-white);
  color: var(--color-black);
  font-weight: 700;
  font-size: 15px;
  transform: translateY(-200%);
}
.skip:focus { transform: none; --focus: var(--color-indigo); }

.wrap { padding-inline: var(--page); }

/* A/B test: the page shows one variant (html[data-v], set in the head before the page is drawn). Without JS: A. */
.v-b { display: none; }
[data-v="b"] .v-a { display: none; }
[data-v="b"] span.v-b { display: inline; }
[data-v="b"] p.v-b { display: block; }

/* Type */

.h2, .hero__what, .hero__title {
  font-family: var(--font-primary);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.012em;
}

.h2 {
  font-size: min(calc(6.6 * var(--vw)), calc(13 * var(--vh)));
  line-height: .94;
}

@media (max-width: 699px) {
  .h2 { font-size: clamp(38px, 12vw, 60px); }
}

.eyebrow {
  font-weight: 700;
  font-size: clamp(13px, calc(1.05 * var(--vw)), 15px);
  line-height: 1.2;
  letter-spacing: .08em;
  color: var(--text-tertiary);
}

/* Lines that rise out of their own mask. Padding keeps the italic overhang, commas and descenders inside. */
.ln {
  display: block;
  overflow: hidden;
  padding: .08em .3em .24em .06em;
  margin: -.08em -.3em -.24em -.06em;
}
.ln > span { display: block; }
.ln--accent > span { color: var(--accent); }

.motion [data-reveal] .ln > span {
  transform: translateY(116%);
  transition: transform 1.05s var(--ease-out);
}
.motion [data-reveal] .ln:nth-child(2) > span { transition-delay: .08s; }
.motion [data-reveal] .ln:nth-child(3) > span { transition-delay: .16s; }
.motion [data-reveal].is-in .ln > span { transform: none; }

.motion [data-reveal-soft] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .9s ease, transform .9s var(--ease-out);
}
.motion [data-reveal-soft].is-in { opacity: 1; transform: none; }

/* Buttons: rectangular, Title Case, Open Sans Bold */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 0;
  background: var(--color-indigo);
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.15;
  text-align: center;
  transition: background-color .16s ease, color .16s ease;
}
.btn:hover, .btn:active { background: var(--color-indigo-deep); }

.btn--white { background: var(--color-white); color: var(--color-black); }
.btn--white:hover, .btn--white:active { background: #E4E4E4; }

.btn--ghost { background: transparent; color: var(--color-white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.btn--ghost:hover, .btn--ghost:active { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px var(--color-white); }

.btn--small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--large { min-height: 64px; padding: 0 40px; font-size: 18px; }

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding-inline: var(--page);
  color: var(--color-white);
  transition: background-color .28s ease;
}

.site-header.is-scrolled {
  background: var(--header-frost);
  -webkit-backdrop-filter: blur(var(--blur-navbar));
  backdrop-filter: blur(var(--blur-navbar));
}

.site-header__tag {
  justify-self: start;
  font-weight: 700;
  font-size: 15px;
  padding-block: 8px;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color .16s ease;
}
.site-header__tag:hover { border-bottom-color: currentColor; }

.site-header__logo { display: block; }
.site-header__logo img { width: auto; height: 34px; }

.site-header__actions { justify-self: end; display: flex; align-items: center; gap: 10px; }

@media (max-width: 1099px) {
  .site-header__more { display: none; }
}

@media (max-width: 699px) {
  .site-header { grid-template-columns: auto 1fr; }
  .site-header__tag { display: none; }
  .site-header__logo img { height: 28px; }
}

/* 1. Hero */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(640px, calc(100 * var(--vh)));
  overflow: hidden;
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
/* Dark on the left and at the bottom for the type, the lit holds stay bright on the right. */
.hero__grade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .62) 36%, rgba(0, 0, 0, .08) 70%),
    linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, 0) 46%),
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 18%);
}

.hero__content {
  width: 100%;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: clamp(36px, 6vh, 72px);
}

.hero__what {
  font-size: clamp(14px, calc(1.25 * var(--vw)), 19px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text-secondary);
}

.hero__title {
  margin-top: 14px;
  font-size: min(calc(8.6 * var(--vw)), calc(13.5 * var(--vh)));
  line-height: .92;
}

.hero__support {
  max-width: 34em;
  margin-top: clamp(18px, 2.4vh, 28px);
  font-size: clamp(17px, calc(1.3 * var(--vw)), 21px);
  line-height: 1.45;
  color: var(--text-secondary);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vh, 34px);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(28px, 4vw, 64px);
  margin-top: clamp(28px, 5vh, 56px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  max-width: 760px;
}

.fact { display: flex; align-items: baseline; gap: 10px; }
.fact__num { font-style: italic; font-weight: 800; font-size: clamp(24px, calc(2.2 * var(--vw)), 34px); line-height: 1; }
.fact__label { font-weight: 600; font-size: 15px; color: var(--text-tertiary); }

/* On a phone the text no longer sits on the photo: the photo comes first, the text below it on black. */
@media (max-width: 699px) {
  .hero { display: block; min-height: 0; }
  .hero__media { position: relative; inset: auto; z-index: 0; }
  .hero__media::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 40%; background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }
  .hero__photo { height: auto; aspect-ratio: 4 / 3; object-position: 62% 50%; }
  .hero__grade { display: none; }
  .hero__content { padding-top: 26px; padding-bottom: 40px; }
  .hero__title { font-size: clamp(42px, 13vw, 68px); }
  .hero__cta .btn { flex: 1 1 auto; }
}

/* Sections share the vertical rhythm */

.quiet, .play, .compare, .refs, .types, .systems, .value, .faq { padding-block: var(--section) 0; }
.faq { padding-bottom: var(--section); }

/* 2. The wall goes quiet */

.quiet__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 120px);
  align-items: center;
}

/* "goes quiet." fades to grey as it comes in: the wall going quiet. */
.ln--dim > span { color: #5c5c62; }
.motion [data-reveal] .ln--dim > span { color: #fff; transition: transform .9s var(--ease-out), color 1.6s ease .7s; }
.motion [data-reveal].is-in .ln--dim > span { color: #5c5c62; }

.pains { display: grid; gap: 8px; margin-top: 14px; max-width: 640px; }
.pain {
  border: 1px solid #222226;
  border-radius: 0;
  background: linear-gradient(180deg, #111114, #0b0b0d);
  font-size: clamp(14px, calc(1 * var(--vw)), 16px);
  line-height: 1.45;
  color: var(--text-secondary);
}
.pain summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px;
  gap: 18px;
  align-items: center;
  padding: clamp(12px, 1.3vw, 16px) clamp(16px, 1.6vw, 20px);
  list-style: none;
  cursor: pointer;
}
.pain summary::-webkit-details-marker { display: none; }
.pain summary:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.pain__text { display: flex; flex-direction: column; gap: 4px; }
.pain__short { color: var(--text-secondary); }
.pain__plus { position: relative; width: 26px; height: 26px; border: 1px solid #3a3a40; }
.pain__plus::before, .pain__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: #fff; transition: transform .3s var(--ease-out); }
.pain__plus::after { transform: rotate(90deg); }
.pain__more[open] .pain__plus::after { transform: rotate(0deg); }
.pain__gain { margin: 0 clamp(18px, 2vw, 26px) clamp(18px, 2vw, 24px); padding: 14px 16px; border-left: 3px solid var(--color-indigo); background: #101016; font-size: clamp(16px, calc(1.1 * var(--vw)), 18px); line-height: 1.55; color: #fff; }
.pain__gain b { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.motion .pain__more[open] .pain__gain { animation: swap .4s var(--ease-out); }
.quiet__lead { margin-top: clamp(22px, 2.6vw, 34px); font-size: clamp(16px, calc(1.15 * var(--vw)), 18px); color: var(--text-tertiary); }
.pain__key { margin-bottom: 2px; font-style: italic; font-weight: 800; font-size: clamp(17px, calc(1.4 * var(--vw)), 21px); line-height: 1.05; text-transform: uppercase; color: #fff; }

/* The turn: big, blue, and a row of holds that switch on one by one. */
.quiet__turn { margin-top: clamp(40px, 5vw, 72px); }
.quiet__on { text-wrap: balance; font-style: italic; font-weight: 800; font-size: clamp(38px, calc(4.4 * var(--vw)), 72px); line-height: 1; text-transform: uppercase; color: var(--accent); }
.quiet__sub { margin-top: 14px; font-size: clamp(18px, calc(1.5 * var(--vw)), 24px); color: #fff; font-weight: 600; }

.quiet__media img { transition: filter 2.6s ease .5s; }
.quiet__media.is-in img { filter: grayscale(.92) brightness(.8) contrast(.95); }
.quiet__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.quiet__media figcaption, .ba figcaption { margin-top: 10px; font-size: 13px; color: var(--text-muted); }

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

  .quiet__media img { aspect-ratio: 4 / 3; }
}

/* 3. What it does: the console with a simple CliftOS on it, and the wall it lights */

.play__head { max-width: none; }
/* Two lines, white and blue, at any width from a tablet up: the size comes from the longer line. */
.play__title .ln > span { white-space: nowrap; }
.play__title { font-size: min(calc(6.6 * var(--vw)), calc(13 * var(--vh)), calc((100vw - 2 * var(--page)) / 15)); }
.play__intro { max-width: 36em; margin-top: 20px; font-size: clamp(17px, calc(1.3 * var(--vw)), 21px); color: var(--text-secondary); }

.play__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  margin-top: clamp(32px, 4vw, 56px);
}

/* The console: the real Clift console. Its frame is a photo with a rounded screen hole (console-frame-900.webp);
   under it sits a screenshot of CliftOS (os-home-2-1000.webp, with a QR and a filled leaderboard burned in), a little larger than the hole so no seam shows. */
.console { position: relative; }
.console__device { position: relative; aspect-ratio: 900 / 711; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .6)); }
.console__frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.console__shot { position: absolute; left: 6.2%; top: 12.8%; width: 88.9%; height: 70%; object-fit: cover; background: #313133; }
.console__hint { margin-top: clamp(12px, 1.6vw, 20px); font-size: 14px; color: var(--text-muted); }


/* The sensor: the close-up with the touch rings, and what it means for the holds */
.sensor { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; margin-top: clamp(32px, 4vw, 56px); }
.sensor__media { position: relative; margin: 0; overflow: hidden; }
.sensor__photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 45%; }
/* The touch: green rings run out from the LED under the hand (the wall's Freestyle green). They start already
   ring-sized, so nothing small flickers in their middle. */
.touch { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .5s ease .3s; }
.touch.is-placed { opacity: 1; }
.touch__ring { position: absolute; left: -34px; top: -34px; width: 68px; height: 68px; border: 2px solid rgba(60, 224, 138, .95); border-radius: 50%; box-shadow: 0 0 14px rgba(60, 224, 138, .45); opacity: .75; }
.touch__ring + .touch__ring { display: none; }
.motion .touch__ring { animation: touch-ring 2.7s var(--ease-out) infinite; opacity: 0; }
.motion .touch__ring + .touch__ring { display: block; animation-delay: .9s; }
.motion .touch__ring + .touch__ring + .touch__ring { animation-delay: 1.8s; }
@keyframes touch-ring { 0% { transform: scale(.7); opacity: 0; } 15% { opacity: 1; } 80%, 100% { transform: scale(1.75); opacity: 0; } }
@media (max-width: 699px) { .touch__ring { left: -24px; top: -24px; width: 48px; height: 48px; } }
.sensor__chip { position: absolute; left: 14px; top: 14px; width: max-content; max-width: calc(100% - 28px); line-height: 1.45; padding: 8px 13px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(8, 8, 10, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.sensor__chip b { color: #fff; font-weight: 800; }
.sensor__media figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.sensor__title { font-style: italic; font-weight: 800; font-size: clamp(26px, calc(2.4 * var(--vw)), 38px); line-height: 1.05; text-transform: uppercase; }
.sensor__text p { margin-top: 16px; font-size: clamp(17px, calc(1.3 * var(--vw)), 21px); line-height: 1.5; color: var(--text-secondary); }
.sensor__text .sensor__note { padding: 16px 18px; border-left: 3px solid var(--color-indigo); background: #0e0e12; font-size: clamp(16px, calc(1.15 * var(--vw)), 18px); }
.sensor__note b { color: #fff; }
/* How it fits: the sensor in 3D (js/sensor3d.js), with the drawing under it until it loads. Square corners; labels
   follow the parts as it turns. White = Clift, dashed grey = the centre's own hold and wall. */
.fit { grid-column: 1 / -1; margin: clamp(8px, 2vw, 24px) 0 0; }
.fit__stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border: 1px solid var(--hairline); }
.fit__poster, .fit__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fit__poster { box-sizing: border-box; padding: 3%; object-fit: contain; transition: opacity .6s ease; }
.fit__canvas { opacity: 0; transition: opacity .6s ease; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.fit.is-3d .fit__canvas { opacity: 1; }
.fit.is-3d .fit__poster { opacity: 0; }
.fit__stage.is-dragging .fit__canvas { cursor: grabbing; }
.fit__labels { position: absolute; inset: 0; display: none; pointer-events: none; }
.fit.is-3d .fit__labels { display: block; }
.fit__label { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.fit__label::before { content: ""; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; background: #fff; }
.fit__label > span { position: absolute; left: 10px; top: -10px; white-space: nowrap; font-size: 14px; font-weight: 700; line-height: 18px; color: #fff; text-shadow: 0 0 3px #000, 0 0 8px #000, 0 0 14px #000; }
.fit__label.is-left > span { left: auto; right: 10px; }
.fit__label--below > span { top: 7px; }
.fit__label--above > span { top: -27px; }
.fit__label--led::before { background: var(--led-start); }
.fit__label--yours::before { box-sizing: border-box; border: 1px dashed #b0b0b8; background: transparent; }
.fit__label--yours > span { font-weight: 600; color: var(--text-tertiary); }
.fit__hint { position: absolute; right: 14px; bottom: 12px; font-size: 13px; color: var(--text-muted); pointer-events: none; transition: opacity .4s ease; }
.fit__hint.is-done { opacity: 0; }
.fit__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 14px; font-size: 14px; color: var(--text-tertiary); }
.fit__key { display: inline-flex; align-items: center; gap: 9px; }
.fit__swatch { width: 26px; height: 0; border-top: 2px solid #fff; }
.fit__key--yours .fit__swatch { border-top: 2px dashed #9e9ea8; }
.fit__toggle { margin-left: auto; }
@media (max-width: 899px) { .fit__stage { aspect-ratio: 4 / 3; } }
@media (max-width: 599px) {
  .fit__stage { aspect-ratio: 1 / 1.08; }
  .fit__label > span { font-size: 12px; line-height: 16px; }
  .fit__toggle { margin-left: 0; }
}
.sensor__who { margin-top: clamp(36px, 4.5vw, 64px); }
.sensor__who + .play__stage { margin-top: clamp(64px, 8vw, 128px); }

/* The buttons that run the wall */
.playpad { min-width: 0; }
.modes { display: flex; flex-wrap: wrap; gap: 8px; }
.mode { padding: 11px 18px; border: 1px solid var(--hairline-strong); background: #0d0d10; color: var(--text-secondary); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.mode:hover { border-color: #66666d; color: #fff; }
.mode.is-on { background: var(--color-indigo); border-color: var(--color-indigo); color: #fff; }
.mode:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.playpad__text { min-height: 3em; margin: 14px 0 16px; font-size: 16px; line-height: 1.5; color: var(--text-secondary); }
.playpad__text b { color: #fff; font-style: italic; font-weight: 800; text-transform: uppercase; margin-right: 6px; }
.motion .playpad__text.is-swap { animation: swap .4s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }

/* The wall beside it */
.wallplate { max-width: 460px; margin: 0; }  /* left edge = the buttons' left edge */
.wallplate__wall {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: radial-gradient(120% 80% at 50% 0%, #2a2a30 0%, #17171b 70%);
  box-shadow: 0 0 0 1px #2c2c33, 0 30px 70px rgba(0, 0, 0, .55);
}
.wallplate__cap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--text-tertiary); }
.wallplate__legend { display: inline-flex; align-items: center; gap: 7px; }
.wallplate__legend i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--c); box-shadow: 0 0 8px var(--c); }
.modes__note { margin-top: 10px; text-align: center; font-size: 13px; color: var(--text-muted); }

.hold__ghost { fill: #26262b; transition: fill .3s ease; }  /* solid, so the grid stays behind the holds */
.hold__glow { opacity: 0; transition: opacity .28s ease; }
.hold__line { fill: none; stroke: var(--c, #4000FF); stroke-width: 2.2; stroke-linejoin: round; opacity: 0; transition: opacity .28s ease; }
.hold__dot { fill: var(--c, #4000FF); opacity: 0; transition: opacity .28s ease; }
.hold.is-lit .hold__ghost { fill: #1d1d23; }
.hold.is-lit .hold__glow { opacity: .55; }
.hold.is-lit .hold__line, .hold.is-lit .hold__dot { opacity: 1; }
.hold.is-ghost .hold__line, .hold.is-ghost .hold__dot { opacity: .14; }
.hold.is-ghost .hold__glow { opacity: 0; }
.motion .hold.is-blink .hold__line, .motion .hold.is-blink .hold__dot { animation: led-blink 1.04s ease-in-out infinite; }
@keyframes led-blink { 50% { opacity: .25; } }
.route-line { fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke-dashoffset 1.6s ease-in-out, opacity .4s ease; }
.route-line--soft { stroke: rgba(92, 60, 255, .16); stroke-width: 7; }
.route-line--core { stroke: rgba(110, 84, 255, .9); stroke-width: 2; }
.touch-ripple { fill: none; stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: ripple .8s var(--ease-out) forwards; pointer-events: none; }
@keyframes ripple { from { transform: scale(.7); opacity: 1; } to { transform: scale(3.4); opacity: 0; } }
.wallplate__legend { transition: opacity .3s ease, color .3s ease; }
.wallplate__legend.is-dim { opacity: .3; }
.wallplate__legend.is-key { color: #fff; }
.reach-band { fill: rgba(123, 92, 255, .14); stroke: rgba(64, 0, 255, .9); stroke-dasharray: 4 4; transition: y .5s var(--ease-out); }


@media (max-width: 899px) {
  .sensor { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 759px) {
  .play__stage { grid-template-columns: minmax(0, 1fr); }
  /* On a phone the buttons sit right on top of the wall, so it changes in view as you tap them (the owner,
     2026-11-19); the line about the mode goes under the wall. */
  .playpad { display: flex; flex-direction: column; }
  .modes { order: 1; }
  .wallplate { order: 2; margin-top: 12px; }
  .playpad__text { order: 3; min-height: 0; margin: 18px 0 0; }
  .console { max-width: 620px; }
  .wallplate { max-width: 340px; }
}
@media (max-width: 599px) {
  /* On a phone the title may take three lines, and the console runs to the screen edges so its screen is bigger. */
  .play__title { font-size: clamp(34px, 10.4vw, 56px); }
  .play__title .ln > span { white-space: normal; }
  .console__device { margin-inline: calc(-1 * var(--page) + 4px); }
  .wallplate { max-width: 300px; }
}

/* 4. Traditional wall vs Clift, with the wall before and after */

.ba { margin-top: clamp(36px, 4.5vw, 64px); }
.ba__frame { position: relative; overflow: hidden; user-select: none; touch-action: pan-y; }
.ba__img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 936; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: rgba(255, 255, 255, .9); pointer-events: none; }
.ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .35); }
.ba__handle::before { content: "\2039\00a0\203A"; position: absolute; top: 50%; left: 50%; z-index: 1; transform: translate(-50%, -54%); color: #111; font-weight: 800; font-size: 18px; line-height: 1; white-space: nowrap; }
.ba__tag { position: absolute; top: 16px; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; background: rgba(0, 0, 0, .7); font-size: 15px; font-weight: 600; line-height: 1.1; pointer-events: none; }
.ba__tag small { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.ba__tag b { font-style: italic; font-weight: 800; font-size: clamp(26px, calc(2.6 * var(--vw)), 40px); line-height: 1; font-variant-numeric: tabular-nums; }
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; background: var(--color-indigo); color: #FFFFFF; text-align: right; }
.motion .ba__tag b.is-tick { animation: tick .5s var(--ease-out); }
@keyframes tick { 40% { transform: translateY(-3px); } }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__range:focus-visible ~ .ba__handle::after, .ba__frame:focus-within .ba__handle::after { box-shadow: 0 0 0 3px var(--color-indigo), 0 4px 16px rgba(0, 0, 0, .35); }

.table-wrap { margin-top: clamp(32px, 4vw, 56px); overflow-x: auto; }

.vs {
  width: 100%;
  min-width: 600px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: clamp(16px, calc(1.2 * var(--vw)), 19px);
  line-height: 1.4;
}
.vs th, .vs td { padding: 20px 18px; text-align: left; vertical-align: middle; border-top: 1px solid var(--hairline-strong); }
.vs tbody tr:last-child th, .vs tbody tr:last-child td { border-bottom: 1px solid var(--hairline-strong); }
.vs thead th { border-top: 0; padding-block: 0 16px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); vertical-align: bottom; }
.vs tbody th { width: 22%; font-weight: 700; font-size: clamp(15px, calc(1.05 * var(--vw)), 17px); text-transform: uppercase; letter-spacing: .04em; color: var(--text-tertiary); }
.vs td { width: 36%; color: #6e6e74; }
.vs td:not(.vs__clift)::before { content: "\2715"; display: inline-block; width: 1.6em; color: #46464c; font-weight: 700; }
.vs .vs__clift {
  width: 42%;
  padding-left: 24px;
  border-top-color: rgba(255, 255, 255, .16);
  background: linear-gradient(90deg, #4000FF, #3a0be6);
  color: #fff;
  font-weight: 700;
  font-size: clamp(17px, calc(1.35 * var(--vw)), 21px);
}
.vs thead th.vs__clift { padding: 18px 24px 16px; font-size: 15px; letter-spacing: .1em; color: #fff; }
.vs tbody tr:last-child .vs__clift { border-bottom-color: transparent; }
.vs td.vs__clift::before { content: "\2713"; display: inline-grid; place-items: center; width: 1.35em; height: 1.35em; margin-right: .55em; border-radius: 50%; background: #00C498; color: #04241b; font-size: .78em; font-weight: 800; vertical-align: .08em; }
.table-wrap { position: relative; }
.vs { filter: drop-shadow(0 30px 60px rgba(64, 0, 255, .18)); }
.motion .table-wrap.is-in .vs tbody tr { animation: vs-row .55s var(--ease-out) both; }
.motion .table-wrap.is-in .vs tbody tr:nth-child(2) { animation-delay: .08s; }
.motion .table-wrap.is-in .vs tbody tr:nth-child(3) { animation-delay: .16s; }
.motion .table-wrap.is-in .vs tbody tr:nth-child(4) { animation-delay: .24s; }
.motion .table-wrap.is-in .vs tbody tr:nth-child(5) { animation-delay: .32s; }
@keyframes vs-row { from { opacity: 0; transform: translateY(14px); } }

/* A phone: the old way and Clift side by side, as on a wide screen (the owner, 2026-11-19): the two column titles
   once at the top, then each row as the row's name over two cells, traditional on the left, Clift on the right. */
@media (max-width: 639px) {
  .vs { min-width: 0; filter: none; font-size: 15px; }
  .vs, .vs thead, .vs tbody { display: block; width: auto; }
  .vs tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .vs th, .vs td { display: block; width: auto; }
  .vs thead th:first-child { display: none; }
  .vs thead th { padding: 0 12px 10px; font-size: 12px; letter-spacing: .06em; }
  .vs thead th.vs__clift { padding: 10px 12px; font-size: 12px; letter-spacing: .06em; }
  .vs tbody tr { margin-top: 10px; border: 1px solid #222226; }
  .vs tbody th, .vs tbody tr:last-child th { grid-column: 1 / -1; width: auto; padding: 10px 12px 8px; border: 0; font-size: 12px; }
  .vs td, .vs tbody tr:last-child td { width: auto; padding: 12px; border: 0; }
  .vs td:not(.vs__clift)::before { display: block; width: auto; margin-bottom: 4px; }
  .vs .vs__clift, .vs tbody tr:last-child .vs__clift { width: auto; padding: 12px; border: 0; border-radius: 0; font-size: 15px; }
  .vs td.vs__clift::before { display: grid; margin: 0 0 6px; }
}

/* 5. Case study: a small gallery on one side, the story on the other */

.case { padding-top: var(--section); }
.case__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; cursor: zoom-in; transition: filter .2s ease; }
.gallery img:hover { filter: brightness(1.08); }
.gallery img:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .94); color: #fff; }
.lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.lightbox__img { position: absolute; inset: 56px 64px; width: calc(100% - 128px); height: calc(100% - 112px); object-fit: contain; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 10px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 10px; top: 50%; margin-top: -24px; }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .7); }
@media (max-width: 599px) { .lightbox__img { inset: 60px 8px; width: calc(100% - 16px); height: calc(100% - 120px); } .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; margin-top: 0; } }
.gallery .gallery__main { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.case__text > .eyebrow { margin-bottom: 14px; }
.case__title { font-size: min(calc(5.2 * var(--vw)), calc(11 * var(--vh))); }
.case__meta { margin-top: 18px; color: var(--text-secondary); font-size: clamp(16px, calc(1.2 * var(--vw)), 19px); }
.case__lead { margin-top: 18px; font-weight: 700; }
.case__stats { display: grid; margin-top: 8px; }
.cstat { display: grid; grid-template-columns: minmax(120px, auto) minmax(0, 1fr); align-items: baseline; gap: 18px; padding-block: 14px; border-top: 1px solid var(--hairline-strong); }
.cstat:last-child { border-bottom: 1px solid var(--hairline-strong); }
.cstat__num { font-style: italic; font-weight: 800; font-size: clamp(32px, calc(3.2 * var(--vw)), 52px); line-height: 1; color: #FFFFFF; }
.cstat__label { font-size: 16px; color: var(--text-secondary); }
.case__why { display: grid; gap: 10px; margin-top: 22px; }
.case__why li { padding-left: 18px; position: relative; color: var(--text-secondary); }
.case__why li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--color-indigo); box-shadow: 0 0 8px var(--color-indigo); }

@media (max-width: 899px) {
  .case__grid { grid-template-columns: minmax(0, 1fr); }
  .cstat { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* 6. UK references: four smaller cards, the system on the photo, and a map of every Clift wall */

.refs__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(32px, 4vw, 56px); }
.ref { background: var(--panel); outline: 1px solid var(--hairline); }
.ref__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0a0a0c; }
.ref__media img { width: 100%; height: 100%; object-fit: cover; }
.ref__system { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; background: var(--color-indigo); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.ref__system--led { background: rgba(0, 0, 0, .8); color: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--color-indigo); }
.ref__body { padding: 16px 18px 20px; }
.ref__name { font-weight: 700; font-size: 17px; line-height: 1.25; }
.ref__place { margin-top: 4px; font-size: 14px; color: var(--text-tertiary); }
.ref__spec { margin-top: 10px; font-size: 15px; }
.ref__map .maplibregl-ctrl-attrib, .mapbox .maplibregl-ctrl-attrib { font-size: 10px; }
/* A clear dot for every place: Clift blue with a white ring; bigger where there are more walls. */
.world-dot { display: block; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; background: #4000FF; box-shadow: 0 1px 5px rgba(0, 0, 0, .7); }
.world-dot--2 { width: 14px; height: 14px; }
.world-dot--3 { width: 18px; height: 18px; }
.ref__map { cursor: zoom-in; }
.ref__map .maplibregl-ctrl-bottom-right { z-index: 3; }
.ref__expand { position: absolute; top: 10px; right: 10px; z-index: 3; display: flex; align-items: center; gap: 6px; padding: 7px 11px; border: 0; background: rgba(8, 8, 10, .78); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.ref__expand:hover { background: rgba(40, 40, 46, .9); }
.ref__expand svg { width: 14px; height: 14px; }
/* The big map: the whole screen, zoom and pan, the same dots. */
.mapbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: #0a0a0c; color: #fff; }
.mapbox::backdrop { background: rgba(0, 0, 0, .8); }
.mapbox .mapbox__map { position: absolute; inset: 0; width: 100%; height: 100%; }  /* beats maplibregl-map, which sets position: relative */
.mapbox__close { position: absolute; top: 12px; right: 12px; z-index: 5; display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: rgba(8, 8, 10, .8); color: #fff; font-size: 24px; cursor: pointer; }
.mapbox__title { position: absolute; top: 18px; left: 18px; z-index: 5; padding: 8px 14px; background: rgba(8, 8, 10, .8); font-size: 14px; font-weight: 700; }

@media (max-width: 1099px) { .refs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 499px) { .refs__list { grid-template-columns: minmax(0, 1fr); } }

/* 7. Wall types */

.types__intro { margin-top: 20px; max-width: 34em; font-size: clamp(17px, calc(1.3 * var(--vw)), 21px); color: var(--text-secondary); }
.types__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(28px, 3.5vw, 48px); }
.type { padding-top: 0; }  /* no line above the drawings (the owner, 2026-11-19) */
.type__art { width: 100%; max-width: 320px; height: auto; margin-bottom: 16px; }
.type__art .led circle { filter: drop-shadow(0 0 4px currentColor); }
.type__name { font-style: italic; font-weight: 800; font-size: clamp(22px, calc(2 * var(--vw)), 30px); text-transform: uppercase; line-height: 1.1; }
.type p { margin-top: 10px; color: var(--text-tertiary); }

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

/* 8. Two systems */

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(32px, 4vw, 56px); align-items: stretch; }

.plan { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 44px); background: var(--panel); outline: 1px solid var(--hairline-strong); }
.plan--main { outline: 2px solid var(--color-indigo); }
.plan__badge { position: absolute; top: 0; right: 0; padding: 6px 12px; background: var(--color-indigo); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.plan__name { font-style: italic; font-weight: 800; font-size: clamp(24px, calc(2.2 * var(--vw)), 34px); text-transform: uppercase; line-height: 1.05; }
.plan__price { margin-top: 10px; font-size: 16px; color: var(--text-tertiary); }
.plan__price strong { font-style: italic; font-weight: 800; font-size: clamp(26px, calc(2.4 * var(--vw)), 36px); color: #fff; }
.plans__note { margin-top: 14px; font-size: 13px; color: var(--text-muted); }
.plan__what { margin-top: 10px; color: var(--text-secondary); }
.plan__list { display: grid; gap: 10px; margin-top: 22px; }
.plan__list li { position: relative; padding-left: 26px; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--led-start); border-bottom: 2px solid var(--led-start); transform: rotate(-45deg); }
.plan__box { margin-top: auto; padding-top: 22px; font-size: 14px; color: var(--text-muted); }
.plan__box::before { content: "In the box: "; font-weight: 700; color: var(--text-tertiary); }

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

/* 9. Value */

.value__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(32px, 4vw, 56px); }
.who__name { padding-bottom: 12px; border-bottom: 1px solid var(--hairline-strong); font-style: italic; font-weight: 800; font-size: clamp(22px, calc(2 * var(--vw)), 30px); text-transform: uppercase; }
.who ul { display: grid; gap: 10px; margin-top: 16px; color: var(--text-secondary); }
/* A list, and it should look like one (the owner, 2026-11-19: "nem értem, hogy folyó szöveg vagy felsorolás"):
   the same lit indigo dot as the case study's list, on each item's first line. */
.who li { position: relative; padding-left: 22px; line-height: 1.4; }
.who li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--color-indigo); box-shadow: 0 0 8px var(--color-indigo); }

@media (max-width: 799px) {
  /* On a phone the three stack: clear space between them, so each heading starts a new group */
  .value__grid { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .who ul { gap: 8px; margin-top: 14px; }
}

/* 10. FAQ */

.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
/* The title sits in the narrow column: sized to it, so "QUESTIONS" never loses its last letter. */
.faq__grid > .h2 { font-size: min(calc(4.6 * var(--vw)), calc(13 * var(--vh))); }

.qa { border-top: 1px solid var(--hairline-strong); }
.qa:last-child { border-bottom: 1px solid var(--hairline-strong); }
.qa summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-weight: 700;
  font-size: clamp(18px, calc(1.35 * var(--vw)), 21px);
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease;
}
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0deg); }
.qa p { padding: 0 48px 24px 0; color: var(--text-secondary); }

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

/* 11. Final */

.final {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(560px, calc(88 * var(--vh)));
  overflow: hidden;
  isolation: isolate;
}
.final__media { position: absolute; inset: 0; z-index: -2; }
.final__photo { width: 100%; height: 100%; object-fit: cover; }
.final__grade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .25) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 60%);
}
.final__content { width: 100%; padding-block: var(--section) clamp(48px, 8vh, 96px); }
.final__title { font-size: min(calc(8 * var(--vw)), calc(14 * var(--vh))); }
.final__support { max-width: 30em; margin-top: 20px; margin-bottom: 30px; font-size: clamp(18px, calc(1.4 * var(--vw)), 22px); color: var(--text-secondary); }

@media (max-width: 699px) {
  .final__title { font-size: clamp(44px, 14vw, 72px); }
  .final .btn--large { width: 100%; }
}

/* Footer */

.footer {
  padding-block: clamp(48px, 6vw, 88px) 32px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 15px;
}

.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.footer__logo img { width: auto; height: 40px; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 56px; margin-top: 40px; }
.footer__nav ul { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer a { border-bottom: 1px solid transparent; transition: border-color .16s ease; }
.footer a:hover { border-bottom-color: currentColor; }
.footer__logo, .footer__logo:hover { border-bottom: 0; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #2F2F2F; font-size: 13px; color: var(--text-tertiary); }
.footer__legal ul { display: flex; gap: 20px; }
.footer__note { margin-top: 14px; font-size: 13px; color: var(--text-muted); }

/* Demo request form */

html.reg-open { overflow: hidden; }

.reg {
  --focus: var(--color-white);
  width: min(580px, calc(100vw - 2 * var(--gutter)));
  max-width: none;
  max-height: calc(100dvh - 2 * var(--gutter));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 1px solid var(--hairline-strong);
  background: #0E0E0E;
  color: var(--color-white);
  overflow: auto;
}
.reg:focus, .reg:focus-visible { outline: 1px solid var(--hairline-strong); }
.reg::backdrop { background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(var(--blur-navbar)); backdrop-filter: blur(var(--blur-navbar)); }
.motion .reg[open] { animation: reg-in .36s var(--ease-out) both; }
@keyframes reg-in { from { opacity: 0; transform: translateY(18px); } }

.reg__panel { position: relative; padding: clamp(26px, 5vw, 44px); }
.reg__close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.reg__title { margin-top: 12px; font-size: clamp(32px, calc(7.4 * var(--vw)), 46px); }
.reg__when { margin-top: 10px; font-weight: 600; font-size: 16px; line-height: 1.35; color: var(--text-secondary); }
.reg__fields { display: grid; gap: 16px; margin-top: 24px; }

.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 6px; padding: 0; font-weight: 600; font-size: 14px; line-height: 1.3; }
.field__opt { font-weight: 400; color: var(--text-tertiary); }

.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  background: var(--color-black);
  color: var(--color-white);
  font: inherit;
  font-size: 16px;
}
.field textarea { padding: 12px 14px; min-height: 96px; resize: vertical; line-height: 1.45; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input::placeholder, .field textarea::placeholder { color: #8C8C8C; opacity: 1; }
.field { transition: box-shadow .2s ease, padding .2s ease; }
.field:focus-within > label, .field--choice:focus-within > legend { color: #fff; }
.field:not(.field--choice):focus-within { box-shadow: inset 3px 0 0 var(--color-indigo); padding-left: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--color-white); outline-offset: -1px; border-color: var(--color-white); }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: block; margin: 0 !important; font-weight: 600 !important; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: block; padding: 11px 16px; border: 1px solid var(--border-subtle); font-size: 15px; }
.choice input:checked + span { background: var(--color-indigo); border-color: var(--color-indigo); }
.choice input:focus-visible + span { outline: 2px solid var(--color-white); outline-offset: 2px; }

.field__msg { display: none; margin-top: 6px; font-size: 14px; line-height: 1.3; color: var(--form-error); }
.field.is-invalid input { border-color: var(--form-error); }
.field.is-invalid .field__msg { display: block; }

/* The three steps: a bar for each, the one on screen white, the ones done blue; Back and Next side by side. */
.reg__progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 22px; list-style: none; padding: 0; }
.reg__progress li { padding-top: 10px; border-top: 3px solid #2b2b30; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); transition: border-color .3s ease, color .3s ease; }
.reg__progress li.is-done { border-color: var(--color-indigo); color: var(--text-tertiary); }
.reg__progress li.is-on { border-color: #fff; color: #fff; }
.reg__step[hidden] { display: none; }
.motion .reg__step.is-in { animation: step-in .35s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } }
.reg__nav { display: flex; gap: 10px; margin-top: 24px; }
.reg__nav .reg__submit { flex: 1; margin-top: 0; }
.reg__back { flex: none; min-width: 110px; cursor: pointer; }
.reg__back[hidden] { display: none; }
.choices--wrap .choice span { padding: 10px 14px; }
.reg__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reg__submit { width: 100%; margin-top: 24px; cursor: pointer; }
.reg__submit:disabled { background: var(--color-indigo-deep); cursor: default; }
.reg__error { margin-top: 12px; font-size: 14px; line-height: 1.4; color: var(--form-error); }
.reg__error a { color: inherit; text-decoration: underline; }
.reg__privacy { margin-top: 14px; font-size: 13px; line-height: 1.45; color: var(--text-tertiary); }
.reg__privacy a { color: inherit; text-decoration: underline; }
.reg__done:focus { outline: none; }
.reg__thanks { margin-top: 14px; font-size: 18px; line-height: 1.45; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .site-header { position: static; }
}

/* The world map card when the map cannot be drawn: the number instead of an empty box */
.ref__map.is-empty { display: grid; place-items: center; background: radial-gradient(80% 70% at 50% 40%, #1d1a33, #0a0a0c); }
.ref__map.is-empty::after { content: "13 countries"; font-style: italic; font-weight: 800; font-size: 28px; text-transform: uppercase; color: var(--accent); }

/* "Clift" as the logo wherever it is written in a label or a heading. A mask, so it takes the colour of the text. */
.logo-word { display: inline-block; width: 2.31em; height: .95em; margin: 0 .12em; vertical-align: baseline; background: currentColor;
  -webkit-mask: url(../assets/logos/clift-logo-white.svg) no-repeat center / contain; mask: url(../assets/logos/clift-logo-white.svg) no-repeat center / contain; }
/* In small capitals labels the logo is a little taller than the letters; its foot sits on the line the words stand on. */
.eyebrow .logo-word, .hero__what .logo-word, .vs thead .logo-word, .ba__tag small .logo-word, .pain__gain b .logo-word { width: 2.79em; height: 1.15em; vertical-align: baseline; }

/* The form, calmer: thinner bars, smaller choices */
.reg__progress { gap: 6px; margin-top: 18px; }
.reg__progress li { padding-top: 0; border-top-width: 3px; }
.choice span { padding: 9px 13px; font-size: 15px; }
.choices { gap: 6px; }

/* The big map: a dot opens which gym is there */
.mapbox .world-dot { cursor: pointer; }
.gym-pop .maplibregl-popup-content { padding: 10px 14px; border-radius: 0; background: #111114; color: #fff; font-family: var(--font-primary); box-shadow: 0 6px 24px rgba(0, 0, 0, .6); }
.gym-pop .maplibregl-popup-tip { border-top-color: #111114; border-bottom-color: #111114; }
.gym-pop p + p { margin-top: 8px; padding-top: 8px; border-top: 1px solid #2a2a30; }
.gym-pop b { display: block; font-size: 14px; font-weight: 700; }
.gym-pop span { display: block; margin-top: 2px; font-size: 13px; color: var(--text-tertiary); }

/* The map credits: a thin (i), dark when open */
.ref__map .maplibregl-ctrl-attrib.maplibregl-compact, .mapbox .maplibregl-ctrl-attrib.maplibregl-compact { min-height: 22px; padding: 0 22px 0 0; border-radius: 0; background: transparent; }
.ref__map .maplibregl-ctrl-attrib.maplibregl-compact-show, .mapbox .maplibregl-ctrl-attrib.maplibregl-compact-show { padding: 3px 26px 3px 8px; background: rgba(8, 8, 10, .85); }
.ref__map .maplibregl-ctrl-attrib a, .mapbox .maplibregl-ctrl-attrib a { color: rgba(255, 255, 255, .75); }
.ref__map .maplibregl-ctrl-attrib-button, .mapbox .maplibregl-ctrl-attrib-button { width: 22px; height: 22px; border-radius: 0; background-color: transparent !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'><circle cx='11' cy='11' r='8.5' fill='none' stroke='white' stroke-opacity='.8' stroke-width='.8'/><path d='M11 9.6v5.6' stroke='white' stroke-opacity='.85' stroke-width='1.2'/><circle cx='11' cy='7.1' r='.8' fill='white' fill-opacity='.85'/></svg>") !important; }

/* "The classic wall / goes quiet." (the owner, 2026-11-19): the long first line fits its column on two lines;
   on a phone it may wrap to three. */
.quiet__text { container-type: inline-size; }
@media (min-width: 700px) { .quiet__title { font-size: min(calc(6.6 * var(--vw)), calc(13 * var(--vh)), calc(100cqw / 9.2)); } }

/* On a phone every section title is the same size (the owner, 2026-11-19: the Dragonfly title was far smaller).
   These two have their own desktop sizes, which won over the phone size of .h2. */
@media (max-width: 699px) {
  .case__title, .faq__grid > .h2 { font-size: clamp(38px, 12vw, 60px); }
}
