/* OneForOne. Monochrome, mobile-first. Text in the system font; headings in Big Shoulders Display
   Black, self-hosted (assets/fonts, SIL Open Font License), so they look the same on every device.
   Logical properties (margin-inline etc.) keep the Arabic right-to-left layout correct.
   Every text/background pair is checked for WCAG AA contrast by tools/check-site.py. */

@font-face {
  font-family: "Big Shoulders Display"; font-style: normal; font-weight: 800 900; font-display: swap;
  src: url("/assets/fonts/big-shoulders-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Big Shoulders Display"; font-style: normal; font-weight: 800 900; font-display: swap;
  src: url("/assets/fonts/big-shoulders-900-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --black: #0A0A0A;
  --ink: #0A0A0A;
  --white: #FFFFFF;
  --paper: #F2F2F0;
  --gray-900: #141414;
  --gray-800: #1F1F1F;
  --gray-700: #2E2E2E;
  --gray-500: #6B6B6B;
  --gray-300: #A3A3A3;
  --gray-200: #CFCFCF;
  --muted-on-light: #555555;
  --line-light: #D6D6D3;
  --field-border: #767676;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Big Shoulders Display", "HelveticaNeue-CondensedBlack", "Arial Narrow", Impact, sans-serif;
  color-scheme: dark;
}

:lang(ar) {
  --font: "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, -apple-system, sans-serif;
  --display: "Geeza Pro", "Noto Kufi Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: var(--gray-500) var(--black); }
/* Browser surfaces in the site's own black and white: selected text, the typing caret. */
::selection { background: var(--white); color: var(--black); }
.section-light ::selection, .form ::selection, .legal ::selection, .letter ::selection { background: var(--ink); color: var(--white); }
input, textarea { caret-color: currentColor; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 17px/1.65 var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
:lang(de) body, :lang(de) { hyphens: auto; }

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.section-light :focus-visible, .form :focus-visible, .legal :focus-visible { outline-color: var(--black); }

h1, h2, h3 { margin: 0 0 .5em; line-height: 1.05; text-wrap: balance; }
h1, h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em;
}
h1 { font-size: clamp(2.9rem, 11vw, 6.8rem); line-height: .95; }
h2 { font-size: clamp(2.3rem, 7vw, 4.4rem); }
h3 { font-size: 1.2rem; line-height: 1.25; }
p { margin: 0 0 1em; }
:lang(ar) h1, :lang(ar) h2 { text-transform: none; letter-spacing: 0; line-height: 1.3; font-weight: 700; }
:lang(ar) h1 { font-size: clamp(2.2rem, 8vw, 4.6rem); }
:lang(ar) h2 { font-size: clamp(1.8rem, 5.5vw, 3rem); }

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

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 200;
  background: var(--white); color: var(--black); padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; position: relative; }
@media (min-width: 600px) { .container { padding-inline: 28px; } }
.narrow { max-width: 820px; }
.center { text-align: center; }

.eyebrow, .round-label {
  font-size: .8125rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1rem;
}
:lang(ar) .eyebrow, :lang(ar) .round-label { letter-spacing: 0; font-size: .95rem; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid currentColor; border-radius: var(--radius);
  font: 700 1rem/1.2 var(--font); text-decoration: none; text-align: center;
  cursor: pointer; transition: color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
[dir="rtl"] .btn::before { transform-origin: left; }
[dir="rtl"] .btn:hover::before { transform-origin: right; }

.btn-primary { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-primary::before { background: var(--black); }
.btn-primary:hover { color: var(--white); }

.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark::before { background: var(--white); }
.btn-dark:hover { color: var(--black); }

.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost::before { background: var(--white); }
.btn-ghost:hover { color: var(--black); }

.btn-small { min-height: 42px; padding: 8px 14px; font-size: .9rem; }
.btn-large { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.arrow { flex: none; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.text-link { font-weight: 700; }

/* ---------- Scroll progress ("round timer") ---------- */
.scroll-progress { position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--white); transform-origin: left; transform: scaleX(0); }
[dir="rtl"] .scroll-progress span { transform-origin: right; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 10, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--gray-700); background: rgba(10, 10, 10, .94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }

.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.brand-mark { flex: none; }
.wordmark { font-family: "HelveticaNeue-CondensedBlack", "Arial Narrow", Impact, "sans-serif-condensed", "Arial Black", sans-serif; font-weight: 800; font-size: 1.25rem; letter-spacing: .04em; text-transform: uppercase; direction: ltr; }
.wordmark span { color: var(--gray-300); }
@media (max-width: 359px) { .brand .wordmark { display: none; } }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.cta-long { display: none; }
@media (min-width: 560px) { .cta-long { display: inline; } .cta-short { display: none; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; background: none; color: var(--white);
  border: 1px solid var(--gray-700); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle[hidden] { display: none; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative;
  transition: transform .3s var(--ease), background-color .3s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile: links live in a drop-down opened by the menu button (the button is shown by JS) */
.site-nav { display: none; }
.site-nav.open {
  display: block; position: absolute; top: 100%; inset-inline: 0;
  background: var(--black); border-bottom: 1px solid var(--gray-700); padding: 8px 16px 20px;
  animation: drop .35s var(--ease);
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nav-links { list-style: none; margin: 0 0 16px; padding: 0; }
.nav-links a {
  display: block; padding: 13px 0; text-decoration: none; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; border-bottom: 1px solid var(--gray-800);
}
:lang(ar) .nav-links a { text-transform: none; letter-spacing: 0; font-size: 1.05rem; }

.lang-switch { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; color: var(--gray-300);
  border-radius: var(--radius); transition: color .2s, background-color .2s;
}
.lang-switch a:hover { color: var(--white); }
.lang-switch a[aria-current="true"] { color: var(--black); background: var(--white); }

@media (min-width: 1000px) {
  .nav-toggle, .nav-toggle[hidden] { display: none; }
  .site-nav, .site-nav.open {
    display: flex; align-items: center; gap: 22px; position: static; padding: 0; border: 0;
    background: none; animation: none; margin-inline-start: auto;
  }
  .nav-links { display: flex; gap: 22px; margin: 0; }
  .nav-links a { padding: 6px 0; border: 0; font-size: .8125rem; position: relative; }
  .nav-links a::after {
    content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: currentColor;
    transform: scaleX(0); transition: transform .3s var(--ease);
  }
  .nav-links a:hover::after { transform: scaleX(1); }
  :lang(ar) .nav-links a { font-size: .95rem; }
  .lang-switch a { min-width: 34px; min-height: 34px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - 68px); display: flex; align-items: flex-end; overflow: hidden; background: var(--black); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 18% 25%; animation: settle 2.2s var(--ease) both; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.3) 0%, rgba(10,10,10,.45) 20%, rgba(10,10,10,.82) 34%, rgba(10,10,10,.94) 55%, var(--black) 100%);
}
.hero-inner { position: relative; z-index: 3; pointer-events: none; padding-block: 120px 56px; }
.hero-inner > * { pointer-events: auto; }
.hero-title { margin-bottom: .35em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; animation: rise .9s var(--ease) both; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-title .line:nth-child(3) > span { animation-delay: .24s; }
.outline { color: transparent; -webkit-text-stroke: 2px var(--white); }
:lang(ar) .outline { color: var(--gray-300); -webkit-text-stroke: 0; }
.hero .lede { font-size: 1.12rem; color: var(--gray-200); max-width: 54ch; }
.hero-cta { margin-top: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero-free { margin: 0; color: var(--gray-300); font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; }
.hero-free::before { content: ""; width: 6px; height: 6px; background: var(--white); border-radius: 50%; }
/* The three selling points: place, gear, free first class (the last one inverted to stand out). */
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
.hero-points li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: rgba(31, 31, 31, .92); }
.hero-points p { margin: 0; font-size: .92rem; line-height: 1.45; color: var(--gray-300); }
.hero-points strong { display: block; color: var(--white); font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
:lang(ar) .hero-points strong { letter-spacing: 0; }
.hero-points .hp-no { flex: none; font-weight: 800; font-size: .8125rem; letter-spacing: .1em; padding-top: 3px; color: var(--gray-300); }
.hero-points li:last-child { background: var(--white); border-color: var(--white); }
.hero-points li:last-child p, .hero-points li:last-child .hp-no { color: var(--gray-700); }
.hero-points li:last-child strong { color: var(--black); }
@media (min-width: 900px) { .hero-points { grid-template-columns: repeat(3, 1fr); } .hero-points li { flex-direction: column; gap: 6px; } }
.hero-in { animation: fade-up .9s var(--ease) both; animation-delay: .4s; }
.hero-cta.hero-in { animation-delay: .5s; }
.hero-points.hero-in { animation-delay: .45s; }

/* Real-time 3D boxing glove over the photo (WebGL, main.js + glove-mesh.js). It aims at the
   mouse, reacts when you hover it, and punches when you click or tap it. */
.hero-glove { position: absolute; top: 48px; right: -26px; z-index: 2; width: 270px; height: 270px; pointer-events: none; }
/* The rope it hangs from: drawn on top of the photo, just behind the glove (shape set by main.js). */
.glove-rope { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: 0; transition: opacity .9s var(--ease); }
.glove-rope.is-ready { opacity: 1; }
/* Three-strand rope, matching the 3D rope tied round the cuff: a dark edge, a rounded body lit from
   the top left, twisted strands with dark grooves between them, and a thin highlight. Its
   thickness (--rope-w) is set by main.js to match the 3D rope exactly. */
.glove-rope { --rope-w: 10px; }
.glove-rope path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rope-shadow { stroke: rgba(0, 0, 0, .38); stroke-width: calc(var(--rope-w) * 1.15); transform: translate(calc(var(--rope-w) * .45), calc(var(--rope-w) * .6)); }
.rope-edge { stroke: #4a4a4a; stroke-width: var(--rope-w); }
.rope-body { stroke: #9d9c9a; stroke-width: calc(var(--rope-w) * .8); transform: translateX(calc(var(--rope-w) * -.06)); }
.rope-strands { stroke: #d9d8d5; stroke-width: calc(var(--rope-w) * .3); stroke-linecap: round; transform: translateX(calc(var(--rope-w) * -.04)); }
.rope-shine { stroke: rgba(255, 255, 255, .5); stroke-width: calc(var(--rope-w) * .1); transform: translateX(calc(var(--rope-w) * -.24)); }
.glove-canvas { display: block; width: 100%; height: 100%; opacity: 0; transform: translateY(24px) scale(.92); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.hero-glove.is-ready .glove-canvas { opacity: 1; transform: none; }
.glove-hit {
  position: absolute; left: 22%; top: 20%; width: 56%; height: 58%; padding: 0; border: 0; border-radius: 50%;
  background: none; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.glove-hit:focus { outline: none; }
.glove-hit:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }
.glove-hint {
  position: absolute; top: 16%; left: 6%; white-space: nowrap; padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; background: rgba(10, 10, 10, .7);
  color: var(--white); font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  opacity: 0; transition: opacity .5s;
}
:lang(ar) .glove-hint { letter-spacing: 0; font-size: .85rem; }
.hero-glove.is-ready .glove-hint { opacity: 1; animation: hint-pulse 1.8s ease-in-out 1.2s infinite; }
.hero-glove.is-ready.is-hinted .glove-hint { opacity: 0; animation: none; }
.glove-burst { position: absolute; width: 0; height: 0; pointer-events: none; }
.glove-burst::before, .glove-burst::after {
  content: ""; position: absolute; left: -46px; top: -46px; width: 92px; height: 92px; border-radius: 50%;
  border: 3px solid var(--white); animation: glove-ring .55s cubic-bezier(.15, .7, .3, 1) forwards;
}
.glove-burst::after { border-width: 1px; border-color: rgba(255, 255, 255, .5); animation-duration: .8s; }
/* Sparks flying out from where it was hit (direction set per spark by main.js). */
.glove-spark {
  position: absolute; left: 0; top: -1.5px; width: 22px; height: 3px; border-radius: 2px; background: var(--white);
  transform-origin: 0 50%; animation: glove-spark .45s cubic-bezier(.1, .8, .3, 1) forwards;
}
@keyframes glove-ring { from { transform: scale(.25); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
@keyframes glove-spark {
  from { transform: rotate(var(--a)) translateX(10px) scaleX(.4); opacity: 1; }
  to { transform: rotate(var(--a)) translateX(70px) scaleX(1); opacity: 0; }
}
/* Hit it too much and the rope snaps: it can't be hit while it falls, and a new one is lowered in.
   (Its drop is set as `translate` straight on the element by main.js.) */
.hero-glove.is-falling .glove-hit, .hero-glove.is-gone .glove-hit { pointer-events: none; }
.hero-glove.is-gone .glove-canvas { opacity: 0; transition: none; }
.glove-toast {
  position: absolute; z-index: 3; padding: 8px 14px; border-radius: 999px; background: var(--white); color: var(--black);
  font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; pointer-events: none;
  transform: translate(-50%, -50%); animation: glove-toast 1.9s var(--ease) forwards;
}
:lang(ar) .glove-toast { letter-spacing: 0; font-size: .95rem; }
@keyframes glove-toast {
  0% { opacity: 0; transform: translate(-50%, -30%) scale(.8); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
  20% { transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -90%); }
}
/* A short shake of the glove on impact. */
.glove-canvas.is-shaking { animation: glove-shake .28s linear; }
@keyframes glove-shake {
  20% { transform: translate(-5px, 2px); } 40% { transform: translate(4px, -3px); }
  60% { transform: translate(-3px, 1px); } 80% { transform: translate(2px, -1px); } 100% { transform: none; }
}
@keyframes hint-pulse { 50% { transform: scale(1.08); } }
.hero-glove + .hero-inner { padding-top: 306px; }
/* Phones: the booking button comes straight after the intro, so it's on the first screen; the
   three selling points follow it. */
@media (max-width: 899px) {
  .hero-inner { display: flex; flex-direction: column; }
  .hero-inner > .hero-cta { order: 1; margin-top: 22px; }
  .hero-inner > .hero-points { order: 2; margin-top: 24px; }
}

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.12); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (min-width: 900px) {
  .hero { align-items: center; min-height: calc(100vh - 68px); max-height: 980px; }
  .hero-media { inset-inline-start: auto; width: 46%; }
  .hero-media::after {
    background: linear-gradient(90deg, var(--black) 0%, rgba(10,10,10,.55) 28%, rgba(10,10,10,.1) 60%, rgba(10,10,10,.25) 100%);
  }
  [dir="rtl"] .hero-media::after {
    background: linear-gradient(270deg, var(--black) 0%, rgba(10,10,10,.55) 28%, rgba(10,10,10,.1) 60%, rgba(10,10,10,.25) 100%);
  }
  .hero-inner, .hero-glove + .hero-inner { padding-block: 80px; }
  .hero-inner > * { max-width: 62%; }
  /* Big, on the light part of the photo beside Braiga (the photo is on the left in Arabic). */
  /* The bottom of the hanging glove sits at the middle of the screen (68px is the header). The
     glove is sized so it always fits between the top of the photo and there, with some rope. */
  .hero-glove {
    --gw: min(30vw, 520px, calc((50vh - 118px) * 1.33));
    top: calc(50vh - 68px - var(--gw) * .38); right: 5%; width: var(--gw); height: auto; aspect-ratio: 1; transform: translateY(-50%);
  }
  [dir="rtl"] .hero-glove { right: auto; left: 10%; }
  .glove-hint { font-size: .8125rem; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--white); color: var(--black); overflow: hidden; border-block: 1px solid var(--white); direction: ltr; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker-group { display: flex; align-items: center; flex: none; }
.ticker span {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem); line-height: 1; padding: 16px 22px; white-space: nowrap;
}
:lang(ar) .ticker span { text-transform: none; }
.ticker i { width: 10px; height: 10px; border: 2px solid var(--black); border-radius: 50%; flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: 80px; overflow: hidden; }
@media (min-width: 900px) { .section { padding-block: 128px; } }
.section-dark { background: var(--black); color: var(--white); }
.section-light { background: var(--paper); color: var(--ink); }
.section-head { position: relative; z-index: 1; max-width: 760px; margin-bottom: 48px; }
.section-intro { font-size: 1.1rem; max-width: 62ch; margin: 0; }
.section-dark .section-intro { color: var(--gray-300); }
.section-light .section-intro { color: var(--muted-on-light); }

.round-label { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.round-no { padding: 5px 10px; border: 1.5px solid currentColor; }
.round-name { opacity: 1; }
.section-dark .round-name { color: var(--gray-300); }
.section-light .round-name { color: var(--muted-on-light); }

/* Huge outlined round number in the corner, decorative only */
.round-num {
  position: absolute; top: -.18em; inset-inline-end: 8px; z-index: 0; pointer-events: none;
  font-family: "HelveticaNeue-CondensedBlack", "Arial Narrow", Impact, "sans-serif-condensed", "Arial Black", sans-serif;
  font-weight: 800; font-size: clamp(7rem, 26vw, 17rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--gray-700);
}
.section-light .round-num { -webkit-text-stroke-color: var(--line-light); }

/* ---------- Why private: cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--gray-700); border: 1px solid var(--gray-700); position: relative; z-index: 1; }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--black); padding: 32px 26px 36px; transition: background-color .45s var(--ease), color .45s var(--ease); }
.card:hover { background: var(--white); color: var(--black); }
.card-no { display: block; font-weight: 700; font-size: .85rem; letter-spacing: .1em; color: var(--gray-300); margin-bottom: 48px; transition: color .45s; }
.card h3 { font-size: 1.3rem; }
.card p { margin: 0; color: var(--gray-300); transition: color .45s; }
.card:hover .card-no, .card:hover p { color: var(--muted-on-light); }

/* ---------- How it works: steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; z-index: 1; counter-reset: none; }
.step { display: flex; gap: 22px; align-items: flex-start; padding: 28px 0; border-top: 2px solid var(--ink); }
.step:last-child { border-bottom: 2px solid var(--ink); }
.step p { margin: 0; color: var(--muted-on-light); }
.step h3 { font-size: 1.35rem; }
.step-num {
  flex: none; width: 3.2rem; font-family: "HelveticaNeue-CondensedBlack", "Arial Narrow", Impact, "sans-serif-condensed", "Arial Black", sans-serif;
  font-weight: 800; font-size: 3.4rem; line-height: .9; color: var(--ink);
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
  .step { flex-direction: column; gap: 28px; border-bottom: 0; }
  .step:last-child { border-bottom: 0; }
  .step-num { font-size: 5rem; width: auto; }
}

/* ---------- Training options ---------- */
.options { list-style: none; margin: 0 0 48px; padding: 0; position: relative; z-index: 1; }
.option {
  display: grid; grid-template-columns: 3rem 1fr; gap: 4px 16px; align-items: baseline;
  padding: 26px 0; border-top: 1px solid var(--gray-700); transition: padding .4s var(--ease);
}
.option:last-child { border-bottom: 1px solid var(--gray-700); }
.option-no { grid-row: span 2; font-weight: 700; color: var(--gray-300); font-size: .9rem; letter-spacing: .1em; }
.option h3 {
  margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem); line-height: 1.05;
}
:lang(ar) .option h3 { text-transform: none; }
.option p { margin: 0; color: var(--gray-300); }
.option:hover { padding-inline-start: 12px; }
@media (min-width: 900px) {
  .option { grid-template-columns: 4rem 1fr 1fr; align-items: center; }
  .option-no { grid-row: auto; }
}

/* ---------- Prices ---------- */
.section-prices { padding-top: 0; }
.section-prices .container { padding-top: 64px; border-top: 1px solid var(--gray-700); }
@media (min-width: 900px) { .section-prices .container { padding-top: 96px; } }
.plans { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; position: relative; z-index: 1; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan { background: var(--gray-900); border: 1px solid var(--gray-700); border-radius: var(--radius); padding: 30px 24px 18px; display: flex; flex-direction: column; }
.plan h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.9rem; margin-bottom: .2em; }
:lang(ar) .plan h3 { text-transform: none; }
.plan-sub { color: var(--gray-300); margin-bottom: 18px; }
.pkg-list { list-style: none; margin: auto 0 0; padding: 0; }
.pkg-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0; border-top: 1px solid var(--gray-700); }
.pkg-name { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; font-weight: 600; }
.pkg-price { font-family: "HelveticaNeue-CondensedBlack", "Arial Narrow", Impact, "sans-serif-condensed", "Arial Black", sans-serif; font-weight: 800; font-size: 1.7rem; line-height: 1; white-space: nowrap; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 999px; background: var(--white); color: var(--black); font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
:lang(ar) .badge { letter-spacing: 0; font-size: .8125rem; }
.plan-featured { background: var(--white); color: var(--black); border-color: var(--white); }
.plan-featured .plan-sub { color: var(--muted-on-light); }
.plan-featured .pkg-list li { border-top-color: var(--line-light); }
.plan-featured .badge { background: var(--black); color: var(--white); }

.offers { position: relative; z-index: 1; background: var(--gray-900); border-radius: var(--radius); padding: 24px; margin-bottom: 40px; }
.offers-title { font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-300); margin-bottom: 16px; }
:lang(ar) .offers-title { letter-spacing: 0; font-size: 1rem; }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 700px) { .offer-list { grid-template-columns: 1fr 1fr; } }
.offer-list li { display: flex; align-items: center; gap: 16px; }
.offer-list p { margin: 0; color: var(--gray-300); }
.offer-list .offer-name { color: var(--white); font-weight: 700; font-size: 1.1rem; }
.offer-mark {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); color: var(--black); font-family: "HelveticaNeue-CondensedBlack", "Arial Narrow", Impact, "sans-serif-condensed", "Arial Black", sans-serif;
  font-weight: 800; font-size: 1.4rem; direction: ltr;
}

/* ---------- About me ---------- */
.about { display: grid; gap: 40px; align-items: center; position: relative; z-index: 1; }
.about-photo { overflow: hidden; border-radius: var(--radius); max-width: 480px; background: var(--gray-200); }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-photo:hover img { transform: scale(1.04); }
.about-text p { font-size: 1.08rem; }
.about-quote {
  margin: 28px 0 0; padding-block: 4px; padding-inline-start: 20px; border-inline-start: 4px solid var(--ink);
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.15;
}
.about-quote p { margin: 0; font-size: inherit; }
:lang(ar) .about-quote { text-transform: none; line-height: 1.5; }

/* Experience & references panel, beside the bio */
.refs { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 28px 24px; align-self: start; }
.refs h3 { font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-300); margin-bottom: 22px; }
:lang(ar) .refs h3 { letter-spacing: 0; font-size: 1rem; }
.refs-stats { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.refs-num { display: block; font-family: "HelveticaNeue-CondensedBlack", "Arial Narrow", Impact, "sans-serif-condensed", "Arial Black", sans-serif; font-weight: 800; font-size: 3.4rem; line-height: 1; }
.refs-label { display: block; margin-top: 6px; color: var(--gray-300); font-size: .92rem; line-height: 1.35; }
.refs-sub { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-300); margin: 0 0 10px; padding-top: 20px; border-top: 1px solid var(--gray-700); }
:lang(ar) .refs-sub { letter-spacing: 0; font-size: .95rem; }
.refs-gyms { list-style: none; margin: 0; padding: 0; }
.refs-gyms li { font-weight: 700; font-size: 1.1rem; padding: 6px 0; }
.testimonials { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.testimonials blockquote { margin: 0; }
.testimonials p { margin: 0; }
.t-name { margin-top: 8px !important; color: var(--gray-300); font-size: .9rem; }
.testimonials + .refs-sub, .refs-gyms + .refs-sub { margin-top: 24px; }

@media (min-width: 900px) {
  .about { grid-template-columns: 5fr 7fr; gap: 48px 64px; align-items: start; }
  .refs { grid-column: 1 / -1; }
  .refs-stats { max-width: 520px; }
}
@media (min-width: 1150px) {
  .about { grid-template-columns: 4fr 5fr 3fr; gap: 56px; }
  .refs { grid-column: auto; }
  .about-photo { max-width: none; }
}

/* Links to the letters, inside the panel beside the bio */
.refs-letters { list-style: none; margin: 0; padding: 0; }
.refs-letters a { display: flex; flex-direction: column; padding: 8px 0; text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.refs-letters a:hover > span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.refs-link-by { font-weight: 400; font-size: .88rem; color: var(--gray-300); }
.refs :focus-visible { outline-color: var(--white); }

/* ---------- Letters of reference ---------- */
.letters { position: relative; z-index: 1; margin-top: 72px; }
.letters-head { margin-bottom: 24px; }
.letters-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: .2em; }
:lang(ar) .letters-title { text-transform: none; }
.letters-intro { color: var(--muted-on-light); margin: 0; }
.letter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .letter-list { grid-template-columns: 1fr 1fr; align-items: start; } }
.letter { background: var(--white); border: 1px solid var(--line-light); border-top: 4px solid var(--ink); border-radius: 0 0 var(--radius) var(--radius); padding: 28px 24px 22px; scroll-margin-top: 96px; }
@media (min-width: 600px) { .letter { padding: 36px 36px 26px; } }
.letter figure { margin: 0; }
.letter-org { margin: 0 0 18px; font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-light); }
.letter blockquote { position: relative; margin: 0; padding-top: 34px; }
.letter blockquote::before {
  content: "\201C"; position: absolute; top: -14px; inset-inline-start: -4px;
  font-family: Georgia, "Times New Roman", serif; font-size: 5rem; line-height: 1; color: var(--ink);
}
[dir="rtl"] .letter blockquote[dir="ltr"]::before { left: -4px; right: auto; }
.letter blockquote p { margin: 0; font-size: 1.2rem; line-height: 1.5; font-weight: 600; }
.letter figcaption { display: flex; flex-direction: column; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-light); }
.letter-author { font-weight: 800; }
.letter-role { color: var(--muted-on-light); font-size: .92rem; }

.letter-full { margin-top: 18px; }
.letter-full summary {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; list-style: none;
  font-weight: 700; border-bottom: 2px solid var(--ink);
}
.letter-full summary::-webkit-details-marker { display: none; }
.letter-full summary::after {
  content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease);
}
.letter-full[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.letter-paper {
  margin-top: 18px; padding: 26px 22px; background: var(--white); border: 1px solid var(--line-light);
  font-family: Georgia, "Times New Roman", serif; font-size: 1rem; line-height: 1.7; color: var(--ink);
  animation: fade-up .45s var(--ease); text-align: left;
}
@media (min-width: 600px) { .letter-paper { padding: 34px 36px; } }
.letter-paper p { margin: 0 0 1em; }
.letter-title { text-align: center; font-weight: 700; font-size: 1.35rem; letter-spacing: .04em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 1px solid var(--line-light); margin-bottom: 1.4em !important; }
.letter-greeting { font-weight: 700; }
.letter-subject { font-weight: 700; font-size: 1.1rem; }
.letter-closing { margin-top: 1.6em !important; }
.letter-signature { margin: 0 !important; }
.letter-signature::first-line { font-weight: 700; }
.letter-note { margin: 12px 0 0; font-size: .88rem; color: var(--muted-on-light); }

/* ---------- Gallery ---------- */
.gallery { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: 16px; position: relative; z-index: 1; }
@media (min-width: 600px) { .gallery { columns: 2; } }
@media (min-width: 1000px) { .gallery { columns: 3; } }
.gallery-item { break-inside: avoid; margin-bottom: 16px; }
.gallery-item a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--gray-800); text-decoration: none; }
.gallery-item img { width: 100%; filter: grayscale(1) contrast(1.05); transform: scale(1.001); transition: filter .7s var(--ease), transform 1s var(--ease); }
.gallery-item a:hover img, .gallery-item a:focus-visible img { filter: none; transform: scale(1.04); }
.gallery-item a:focus-visible { outline-offset: 4px; }
.gallery-place {
  position: absolute; inset-inline-start: 12px; bottom: 12px; padding: 5px 10px; border-radius: 3px;
  background: rgba(10, 10, 10, .78); color: var(--white); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

/* Gallery 02: videos. A swipeable row on phones, a grid on wider screens. */
.video-head { position: relative; z-index: 1; max-width: 760px; margin: 72px 0 32px; }
.video-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.05; }
:lang(ar) .video-title { text-transform: none; letter-spacing: 0; font-weight: 700; line-height: 1.3; font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
.videos { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.video-item { flex: 0 0 72%; scroll-snap-align: start; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--gray-800); aspect-ratio: 9 / 16; }
@media (min-width: 600px) { .videos { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; padding-bottom: 0; } }
@media (min-width: 1000px) { .videos { grid-template-columns: repeat(4, 1fr); } }
.videos-wide { list-style: none; margin: 0 0 16px; padding: 0; position: relative; z-index: 1; display: grid; gap: 16px; }
.video-item.landscape { aspect-ratio: 16 / 9; }
.video-item video { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .7s var(--ease); }
/* Black and white like the photos until it plays (only when JS runs, so it never plays grey). */
.video-item.is-bw:not(.is-playing) video { filter: grayscale(1) contrast(1.05); }
.video-item.is-bw:not(.is-playing):hover video { filter: none; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: transparent; color: var(--white); cursor: pointer; }
.video-play[hidden] { display: none; }
.video-play span { display: grid; place-items: center; width: 68px; height: 68px; border: 2px solid var(--white); border-radius: 50%; background: rgba(10, 10, 10, .6); transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.video-play svg { margin-inline-start: 4px; }
[dir="rtl"] .video-play svg { margin-inline-start: 0; margin-inline-end: 4px; }
.video-play:hover span, .video-play:focus-visible span { background: var(--white); color: var(--black); transform: scale(1.06); }
.video-play:focus-visible { outline-offset: -6px; }
.video-item .gallery-place { top: 12px; bottom: auto; }

/* Full-screen photo viewer */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 10, 10, .96); color: var(--white); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: fade-in .3s var(--ease); }
.lightbox::backdrop { background: rgba(10, 10, 10, .9); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: calc(100vw - 32px); }
.lb-img { max-width: calc(100vw - 32px); max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius); }
.lb-caption { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-300); min-height: 1.2em; }
.lb-count { position: absolute; top: 18px; inset-inline-start: 20px; margin: 0; color: var(--gray-300); font-size: .9rem; direction: ltr; }
.lb-btn {
  position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: rgba(10, 10, 10, .6); color: var(--white); border: 1px solid var(--gray-700); border-radius: 50%; cursor: pointer;
  transition: background-color .25s, color .25s;
}
.lb-btn:hover { background: var(--white); color: var(--black); }
.lb-close { top: 10px; inset-inline-end: 12px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { inset-inline-start: 12px; }
.lb-next { inset-inline-end: 12px; }
[dir="rtl"] .lb-prev svg, [dir="rtl"] .lb-next svg { transform: scaleX(-1); }
.lightbox :focus-visible { outline-color: var(--white); }

/* ---------- FAQ ---------- */
.faq { position: relative; z-index: 1; border-top: 1px solid var(--gray-700); }
.faq details { border-bottom: 1px solid var(--gray-700); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding-block: 22px; padding-inline-end: 48px; font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; inset-inline-end: 6px; top: 50%; width: 18px; height: 2px;
  background: currentColor; transition: transform .35s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq-answer p { color: var(--gray-300); padding-bottom: 12px; margin: 0; max-width: 64ch; }
.faq details[open] .faq-answer { animation: fade-up .45s var(--ease); }

/* ---------- Booking ---------- */
.section-book { background: var(--black); padding-bottom: 96px; }
.section-book .section-intro { color: var(--gray-300); }
.form { background: var(--white); color: var(--ink); color-scheme: light; border-radius: var(--radius); padding: 26px 18px; position: relative; z-index: 1; }
@media (min-width: 600px) { .form { padding: 40px; } }
.form a { color: var(--ink); }
.field { margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; gap: 0 18px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field > label, .field > .label, .field legend { display: block; font-weight: 700; margin-bottom: 7px; padding: 0; }
.req { font-weight: 700; }
.optional { font-weight: 400; color: var(--muted-on-light); }
.hint { font-size: .9rem; color: var(--muted-on-light); margin: 7px 0 0; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 50px; padding: 11px 13px;
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 2px solid var(--field-border); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"] { text-align: right; }
textarea { resize: vertical; min-height: 120px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,10,10,.12); outline: none; }
.form [aria-invalid="true"] { border-color: var(--ink); border-style: dashed; }

.choices { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.choice { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; cursor: pointer; min-height: 44px; padding-top: 10px; }
.field > label.choice { display: flex; font-weight: 400; margin-bottom: 0; }
.choice input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }

.field-error { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); font-weight: 700; font-size: .95rem; margin: 8px 0 0; }
.field-error::before {
  content: "!"; flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: .8125rem;
}
.field-error[hidden] { display: none; }
.form-status { border: 1px solid var(--ink); border-radius: var(--radius); background: var(--paper); color: var(--ink); padding: 14px 16px; margin-bottom: 22px; font-weight: 700; }

.hp-field { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-alt { margin-top: 28px; color: var(--gray-300); text-align: center; }
.contact-alt a { color: var(--white); }

/* ---------- Legal and message pages ---------- */
.legal { background: var(--paper); color: var(--ink); color-scheme: light; padding-block: 56px 88px; }
.legal h1 { font-size: clamp(2.2rem, 7vw, 4rem); margin-bottom: .25em; }
:lang(ar) .legal h1 { font-size: clamp(2rem, 6vw, 3rem); }
.legal h2 { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 1.35rem; font-weight: 800; margin-top: 2.2em; }
.legal ul { padding-inline-start: 1.3em; }
.legal li { margin-bottom: .55em; }
.legal a { color: var(--ink); }
.updated { color: var(--muted-on-light); }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .95rem; }
th, td { text-align: start; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line-light); }
th { background: var(--white); }
code { font-size: .9em; background: var(--white); padding: 1px 5px; border-radius: 3px; direction: ltr; unicode-bidi: isolate; }

.message-page { padding-block: 96px 120px; min-height: 64vh; }
.message-page .lede { color: var(--gray-200); font-size: 1.15rem; }
.message-page a:not(.btn) { color: var(--white); }
.big-404 {
  font-family: "HelveticaNeue-CondensedBlack", "Arial Narrow", Impact, "sans-serif-condensed", "Arial Black", sans-serif;
  font-weight: 800; font-size: clamp(7rem, 30vw, 14rem); line-height: .85; margin: 0 0 .1em;
  color: transparent; -webkit-text-stroke: 2px var(--white); direction: ltr; text-align: start;
}
.message-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--gray-300); padding-block: 56px 36px; border-top: 1px solid var(--gray-700); }
.footer-inner { display: grid; gap: 28px; }
.footer-tagline { margin: 10px 0 0; }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.footer-links a, .footer-links .link-button { color: var(--white); display: inline-block; padding-block: 10px; }
.socials { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--gray-700); border-radius: 50%; color: var(--gray-300); transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
.socials a:hover, .socials a:focus-visible { color: var(--black); background: var(--white); border-color: var(--white); transform: translateY(-2px); }
.socials-book { justify-content: center; margin-top: 14px; }
.contact-social { margin-top: 12px; }
.footer-small { font-size: .88rem; margin: 0; padding-top: 24px; border-top: 1px solid var(--gray-800); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 150;
  background: var(--gray-900); color: var(--white); border-top: 1px solid var(--gray-700);
  padding: 16px max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-bottom));
  animation: fade-up .5s var(--ease);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner { max-width: 1200px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.cookie-inner p { margin: 0; }
.cookie-actions { display: flex; gap: 12px; }
.cookie-actions .btn { flex: 1; }
@media (min-width: 760px) {
  .cookie-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .cookie-actions .btn { flex: none; min-width: 120px; }
}

/* ---------- Scroll reveal (JS only hides things that start below the fold) ---------- */
.reveal.is-hidden { opacity: 0; transform: translateY(28px); }
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.card.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease), background-color .45s var(--ease), color .45s var(--ease); }
.option.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease), padding .4s var(--ease); }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2), .options .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3), .options .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4), .options .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- Respect "reduce motion" ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .ticker-track { animation: none; }
  .reveal.is-hidden { opacity: 1; transform: none; }
}
