/* WEXLY home, v2. The default rules are the static page (no JS, reduced motion, no WebGL).
   html.is-world switches the same markup into the continuous world: a descent from orbit. */

@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; src: url("assets/fonts/geist-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; src: url("assets/fonts/geist-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/geist-mono-latin.woff2") format("woff2"); font-weight: 400 500; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/geist-mono-latin-ext.woff2") format("woff2"); font-weight: 400 500; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F; }

:root {
  --canvas: #04060B;
  --surface: #0B1320;
  --ink: #F3F7FB;
  --ink-soft: #AEBCCB;
  --ink-faint: #74869B;
  --accent: #57D6FF;
  --accent-ink: #03121B;
  --accent-deep: #0A6D92;
  --navy: #07111D;
  --hair: rgb(255 255 255 / 0.1);
  --hair-strong: rgb(255 255 255 / 0.2);

  --f-display: "Archivo", "Geist", system-ui, sans-serif;
  --f-text: "Geist", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;

  --t-xs: clamp(0.72rem, 0.7rem + 0.12vw, 0.8rem);
  --t-sm: clamp(0.88rem, 0.85rem + 0.15vw, 0.97rem);
  --t-base: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  --t-lg: clamp(1.15rem, 1.02rem + 0.5vw, 1.45rem);
  --hx-hero: clamp(2.9rem, 0.7rem + 6.6vw, 8rem);
  --hx-xl: clamp(2.3rem, 0.8rem + 4.3vw, 5.8rem);
  --hx-lg: clamp(2.1rem, 0.9rem + 3.4vw, 4.7rem);
  --hx-md: clamp(1.8rem, 1rem + 2.3vw, 3.4rem);
  --hx-peak: clamp(2.1rem, 0.5rem + 5.4vw, 6.6rem);

  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --gutter: clamp(1.1rem, 4.5vw, 4.5rem);
  --section: clamp(4.5rem, 10vw, 9rem);
  --bar-h: 7rem;
  --red: #FF4747;
  --red-deep: #C9182B;
  --r-card: 24px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: rgb(255 255 255 / 0.2) var(--canvas); }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 var(--t-base)/1.6 var(--f-text); letter-spacing: 0.003em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:root { caret-color: var(--accent); accent-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: var(--s-4); top: var(--s-4); z-index: 100; padding: var(--s-2) var(--s-4); border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; transform: translateY(-160%); transition: transform 160ms var(--ease-out); }
.skip:focus { transform: none; }

/* light ground tokens (the new presence, after the white-out) */
.on-light { --ink: #07111D; --ink-soft: #1F2F45; --ink-faint: #3D5068; --hair: rgb(7 17 29 / 0.1); --hair-strong: rgb(7 17 29 / 0.2); color: var(--ink); }

/* ---------------- type ---------------- */
.hx { font-family: var(--f-display); font-weight: 800; font-stretch: 116%; text-transform: uppercase; letter-spacing: -0.012em; line-height: 0.94; text-wrap: balance; }
.hx--hero { font-size: var(--hx-hero); }
.hx--xl { font-size: var(--hx-xl); }
.hx--lg { font-size: var(--hx-lg); }
.hx--md { font-size: var(--hx-md); }
.hx--peak { font-size: var(--hx-peak); text-align: center; font-stretch: 122%; }
.ln { display: block; }
.ln--a { color: var(--ink-faint); }
.ln > span { display: block; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: var(--s-5); padding: 0.42rem 0.9rem 0.42rem 0.6rem; border-radius: 999px; border: 1px solid var(--hair-strong); background: rgb(255 255 255 / 0.05); font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.on-light .eyebrow { background: rgb(255 255 255 / 0.55); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(87 214 255 / 0.18); }
.on-light .dot { background: var(--accent-deep); box-shadow: 0 0 0 4px rgb(10 109 146 / 0.15); }
.lede { margin-top: var(--s-5); max-width: 34em; color: var(--ink-soft); font-size: var(--t-lg); line-height: 1.55; text-wrap: pretty; }
.tag { display: inline-flex; align-self: flex-start; padding: 0.32rem 0.7rem; border-radius: 999px; background: rgb(255 255 255 / 0.08); border: 1px solid var(--hair); font: 500 0.7rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.on-light .tag { background: rgb(7 17 29 / 0.05); }
.fine { margin-top: var(--s-5); color: var(--ink-faint); font-size: var(--t-sm); text-align: center; }
html.is-world .on-light .fine, html.is-world .on-light .foot { align-self: center; padding: 0.45rem 0.95rem; border-radius: 999px; background: rgb(255 255 255 / 0.62); color: #33435A; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ---------------- buttons ---------------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 0.85rem; height: 52px; padding: 0 0.42rem 0 1.4rem; border: 0; border-radius: 999px; font: 600 0.95rem/1 var(--f-text); letter-spacing: 0.005em; white-space: nowrap; text-decoration: none; isolation: isolate;
  transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), color 200ms var(--ease-out); }
.btn__i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none; transition: transform 260ms var(--ease-spring), background-color 200ms var(--ease-out); }
.btn__i svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--lg { height: 58px; font-size: 1rem; padding-left: 1.6rem; }
.btn--lg .btn__i { width: 46px; height: 46px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 rgb(255 255 255 / 0.5) inset, 0 10px 30px -10px rgb(87 214 255 / 0.55); }
.btn--primary .btn__i { background: var(--accent-ink); color: var(--accent); }
.btn--dark { background: var(--navy); color: #F3F7FB; box-shadow: 0 10px 24px -12px rgb(7 17 29 / 0.6); }
.btn--dark .btn__i { background: #F3F7FB; color: var(--navy); }
.btn--ghost { padding: 0 1.5rem; background: rgb(255 255 255 / 0.06); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair-strong); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.on-light .btn--ghost { background: rgb(255 255 255 / 0.5); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: #7ADFFF; box-shadow: 0 1px 0 rgb(255 255 255 / 0.5) inset, 0 14px 36px -10px rgb(87 214 255 / 0.7); }
  .btn--dark:hover { background: #10203A; }
  .btn--ghost:hover { background: rgb(255 255 255 / 0.12); }
  .on-light .btn--ghost:hover { background: rgb(255 255 255 / 0.8); }
  .btn:hover .btn__i { transform: rotate(45deg); }
}
.iconbtn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px var(--hair-strong); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color 180ms var(--ease-out), transform 160ms var(--ease-out); border: 0; padding: 0; }
.iconbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.iconbtn svg .fill { fill: currentColor; stroke: none; }
.iconbtn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .iconbtn:hover { background: rgb(255 255 255 / 0.16); } }

/* ---------------- chrome ---------------- */
.bar { position: fixed; z-index: 40; inset: 0 0 auto 0; height: var(--bar-h); display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: 4.4rem auto; align-items: center; column-gap: var(--s-4); padding: env(safe-area-inset-top) var(--gutter) 0; pointer-events: none; }
.bar::before { content: ""; position: absolute; inset: 0 0 -2rem; z-index: -1; background: linear-gradient(rgb(4 6 11 / 0.55), rgb(4 6 11 / 0)); opacity: 1; transition: opacity 400ms var(--ease-out); pointer-events: none; }
.bar > * { pointer-events: auto; }
.bar__social { justify-self: start; display: flex; gap: var(--s-2); }
.bar__brand { justify-self: center; display: inline-flex; align-items: center; gap: 0.9rem; padding: 0.35rem 0.6rem; border-radius: 999px; text-decoration: none; color: var(--ink); }
.mark { width: auto; height: 54px; overflow: visible; }
.mark path { fill: transparent; stroke: currentColor; stroke-width: 10; stroke-linejoin: round; opacity: 0.85; transition: fill 260ms var(--ease-out), stroke 260ms var(--ease-out); }
.is-docked .mark path { fill: currentColor; stroke: transparent; opacity: 1; transition-duration: 0ms !important; transition-delay: 0ms !important; }
.is-docked .mark path:nth-child(2) { transition-delay: 30ms; } .is-docked .mark path:nth-child(3) { transition-delay: 60ms; }
.is-docked .mark path:nth-child(4) { transition-delay: 90ms; } .is-docked .mark path:nth-child(5) { transition-delay: 120ms; }
.is-docked .mark path:nth-child(6) { transition-delay: 150ms; } .is-docked .mark path:nth-child(7) { transition-delay: 180ms; }
.is-docked .mark path:nth-child(8) { transition-delay: 210ms; } .is-docked .mark path:nth-child(9) { transition-delay: 240ms; }
.is-docked .mark path:nth-child(10) { transition-delay: 270ms; }
.bar__word { font: 800 1.75rem/1 var(--f-display); font-stretch: 125%; letter-spacing: 0.2em; }
.bar__cta { justify-self: end; height: 46px; font-size: 0.9rem; padding-left: 1.15rem; }
.bar__cta .btn__i { width: 34px; height: 34px; }

.gauge { position: fixed; z-index: 30; right: calc(var(--gutter) * 0.5); top: 50%; transform: translateY(-50%); display: none; }
.gauge__alt { font: 400 var(--t-xs)/1.3 var(--f-mono); letter-spacing: 0.06em; text-align: right; color: var(--ink-soft); margin-bottom: var(--s-4); font-variant-numeric: tabular-nums; }
.gauge__alt-k { display: block; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.66rem; }
.gauge__alt-v { color: var(--ink); }
.gauge__list { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: min(42vh, 21rem); }
.gauge__list button { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: var(--s-3); min-height: 28px; padding: 0 20px 0 var(--s-3); border: 0; background: none; color: var(--ink-faint); font: 400 var(--t-xs)/1 var(--f-mono); letter-spacing: 0.04em; }
.gauge__list button::after { content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 1px; background: currentColor; }
.gauge__n, .gauge__a { opacity: 0; transform: translateX(4px); transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out); white-space: nowrap; }
.gauge__list button[aria-current="step"] { color: var(--accent); }
.gauge__list button:focus-visible .gauge__n, .gauge__list button:focus-visible .gauge__a { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { .gauge__list button:hover { color: var(--ink); } .gauge__list button:hover .gauge__n, .gauge__list button:hover .gauge__a { opacity: 1; transform: none; } }
.gauge__rail { position: absolute; right: 0; bottom: 0; width: 1px; height: min(42vh, 21rem); background: var(--hair); }
.gauge__dot { position: absolute; right: -3px; top: 0; width: 7px; height: 7px; background: var(--accent); transform: translateY(calc(var(--g, 0) * (min(42vh, 21rem) - 7px))) rotate(45deg); }

/* ---------------- cards ---------------- */
.card { position: relative; border-radius: var(--r-card); }
.card--glass { padding: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); background: linear-gradient(180deg, rgb(22 31 48 / 0.62), rgb(9 14 25 / 0.58)); border: 1px solid rgb(255 255 255 / 0.1); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 30px 70px -24px rgb(0 0 0 / 0.75); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.card--solid { background: rgb(255 255 255 / 0.86); color: #07111D; border: 1px solid rgb(255 255 255 / 0.9); box-shadow: 0 1px 2px rgb(16 32 56 / 0.06), 0 26px 50px -22px rgb(16 32 56 / 0.4); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.card__p { margin-top: var(--s-4); color: var(--ink-soft); font-size: var(--t-base); max-width: 30em; }
.card--glass .tag { margin-bottom: var(--s-4); }

.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.chip { display: inline-flex; align-items: center; gap: 0.6rem; height: 42px; padding: 0 1.05rem 0 0.45rem; border-radius: 999px; background: rgb(255 255 255 / 0.07); box-shadow: inset 0 0 0 1px var(--hair-strong); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font: 500 var(--t-sm)/1 var(--f-text); color: var(--ink); }
.chip--x::before { content: ""; width: 30px; height: 30px; border-radius: 50%; background: rgb(255 255 255 / 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AEBCCB' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E") center/16px no-repeat; }

/* annotations on the old site */
.anno { display: flex; align-items: flex-start; gap: 0.55rem; }
.anno b { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 600 0.62rem/1 var(--f-mono); }

/* toast (a nod to the reel: the new presence goes live) */
.toast { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 0.85rem; row-gap: 0.7rem; padding: 0.95rem 1.1rem; width: min(22rem, 100%); }
.toast__ok { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--accent); }
.toast__ok svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.toast__t { display: grid; gap: 2px; }
.toast__t b { font: 650 0.95rem/1.2 var(--f-text); }
.toast__t span { font-size: 0.82rem; color: #4A5A70; }
.toast__bar { grid-column: 1 / -1; height: 4px; border-radius: 999px; background: rgb(7 17 29 / 0.08); overflow: hidden; }
.toast__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); transform-origin: left; transform: scaleX(var(--fill, 1)); }

/* method */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--s-4); margin-top: var(--s-7); }
.step { display: grid; align-content: start; gap: 0.5rem; padding: 1.35rem 1.35rem 1.5rem; }
.step__n { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 0.6rem; border-radius: 14px; background: var(--navy); color: var(--accent); font: 600 0.8rem/1 var(--f-mono); letter-spacing: 0.04em; }
.step strong { font: 800 1.1rem/1.15 var(--f-display); font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.005em; }
.step span:last-child { color: #3F4F65; font-size: var(--t-sm); line-height: 1.5; }

/* work */
.work__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: var(--s-5); margin-top: var(--s-6); }
.shot { padding: 0.55rem; }
.shot__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 17px; background: #0B1320; }
.shot__frame video { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot figcaption { display: grid; gap: 0.4rem; padding: 1rem 0.75rem 0.7rem; }
.shot figcaption strong { font: 800 1.15rem/1.15 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.shot figcaption > span:last-child { color: #3F4F65; font-size: var(--t-sm); }
.shot .tag { background: rgb(7 17 29 / 0.06); color: #4A5A70; border-color: rgb(7 17 29 / 0.08); }

/* offers */
.sec-head--c { text-align: center; }
.sec-head--c .hx { margin-inline: auto; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: var(--s-5); margin-top: var(--s-7); align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.7rem 1.6rem 1.6rem; }
.plan__name { font: 800 1.2rem/1.1 var(--f-display); font-stretch: 114%; text-transform: uppercase; }
.plan__for { color: #3F4F65; font-size: var(--t-sm); min-height: 2.9em; }
.plan__price { font: 800 clamp(1.9rem, 1.4rem + 1.2vw, 2.5rem)/1 var(--f-display); font-stretch: 108%; letter-spacing: -0.02em; margin: 0.3rem 0 0.2rem; }
.plan__price small { display: block; margin-bottom: 0.35rem; font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #5A6A80; }
.plan__list { display: grid; gap: 0.55rem; margin: 0.4rem 0 1.2rem; padding-top: 1rem; border-top: 1px solid rgb(7 17 29 / 0.1); font-size: var(--t-sm); color: #26364C; }
.plan__list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.plan__list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 0.1em; border-radius: 50%; background: rgb(10 109 146 / 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6D92' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan .btn { margin-top: auto; align-self: stretch; justify-content: space-between; }
.plan--core { background: radial-gradient(120% 80% at 50% 0%, #12304A 0%, #07111D 60%); color: #F3F7FB; border: 1px solid rgb(87 214 255 / 0.35); box-shadow: 0 0 0 6px rgb(87 214 255 / 0.08), 0 40px 80px -30px rgb(7 17 29 / 0.8); }
.plan--core .plan__for { color: #B9C7D6; }
.plan--core .plan__list { border-color: rgb(255 255 255 / 0.12); color: #DCE6F0; }
.plan--core .plan__list li::before { background-color: rgb(87 214 255 / 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357D6FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E"); }
.plan__badge { align-self: flex-start; padding: 0.38rem 0.75rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 0.68rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; }

/* contact */
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: var(--s-4); margin-top: var(--s-6); width: 100%; max-width: 62rem; }
.channel { display: flex; align-items: center; gap: 0.9rem; padding: 0.75rem 0.75rem 0.75rem 0.85rem; text-decoration: none; transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.channel__ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 15px; background: var(--navy); color: #F3F7FB; }
.channel__ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.channel__ic svg .fill { fill: currentColor; stroke: none; }
.channel__t { display: grid; gap: 3px; margin-right: auto; text-align: left; }
.channel__t b { font: 800 1rem/1.1 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.channel__t span { font: 400 0.8rem/1.2 var(--f-mono); color: #4A5A70; }
.channel .btn__i { width: 38px; height: 38px; background: var(--accent); color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .channel:hover { transform: translateY(-3px); } .channel:hover .btn__i { transform: rotate(45deg); } }
.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-5); margin-top: var(--s-7); color: var(--ink-faint); font: 400 var(--t-xs)/1.4 var(--f-mono); letter-spacing: 0.04em; }
.foot a { color: var(--ink-soft); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* dialog */
.projet { width: min(92vw, 32rem); padding: 1.6rem; border: 1px solid rgb(255 255 255 / 0.9); border-radius: 28px; background: rgb(255 255 255 / 0.96); color: #07111D; box-shadow: 0 40px 90px -30px rgb(0 0 0 / 0.6); }
.projet::backdrop { background: rgb(3 6 10 / 0.6); backdrop-filter: blur(6px); }
.projet[open] { animation: pop 260ms var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.97); } }
.projet__x { position: absolute; right: 1rem; top: 1rem; }
.projet__x .iconbtn { color: #07111D; background: rgb(7 17 29 / 0.05); box-shadow: inset 0 0 0 1px rgb(7 17 29 / 0.12); }
.projet .tag { background: rgb(7 17 29 / 0.05); color: #4A5A70; border-color: rgb(7 17 29 / 0.1); }
.projet__t { margin-top: 0.9rem; font: 800 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1 var(--f-display); font-stretch: 114%; text-transform: uppercase; }
.projet__p { margin-top: 0.7rem; color: #4A5A70; font-size: var(--t-sm); }
.channels--sm { grid-template-columns: 1fr; gap: 0.6rem; margin-top: 1.2rem; }
.channels--sm .channel { border-radius: 18px; background: rgb(7 17 29 / 0.04); border: 1px solid rgb(7 17 29 / 0.08); }
@media (hover: hover) and (pointer: fine) { .channels--sm .channel:hover { background: rgb(7 17 29 / 0.07); transform: none; } }

/* ---------------- static page (the default) ---------------- */
.sky, .gl, .anno-lines, .annos, .spacer { display: none; }
.copy { position: relative; }
.blk { position: relative; padding: calc(var(--section) * 0.8) var(--gutter); }
.blk--hero { padding-top: calc(var(--bar-h) + var(--s-8)); background: linear-gradient(180deg, rgb(4 6 11 / 0.2), rgb(4 6 11 / 0.9)), url("assets/img/plate-e.webp") center bottom / cover; }
.still--old { width: min(100%, 56rem); height: auto; margin-bottom: var(--s-7); border-radius: 14px; box-shadow: 0 30px 70px -20px rgb(0 0 0 / 0.8); }
.still--logo { height: clamp(9rem, 30vw, 16rem); width: calc(clamp(9rem, 30vw, 16rem) * 0.575); margin: 0 auto var(--s-6); fill: var(--ink); }
.blk--peak .ln--b { color: var(--ink); }
.faults { margin-top: var(--s-5); display: grid; gap: var(--s-2); color: var(--ink-soft); font: 400 var(--t-sm)/1.5 var(--f-mono); }
.blk[data-plate="c"] { background: linear-gradient(180deg, rgb(246 249 252 / 0.7), rgb(246 249 252 / 0.5)), url("assets/img/plate-c.webp") center / cover; }
.blk--new .toast { margin-top: var(--s-6); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.blk--contact { text-align: center; }
.blk--contact .hx, .blk--contact .lede { margin-inline: auto; }
.blk--contact .channels { margin-inline: auto; }

/* ================================================================
   The world
   ================================================================ */
html.is-world body { overscroll-behavior-y: none; }
html.is-world .sky { display: block; position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #020409; }
html.is-world .sky__plate { position: absolute; inset: -6% -4%; width: 108%; height: 112%; max-width: none; object-fit: cover; opacity: 0; will-change: transform, opacity; }
/* a light veil where the dark copy sits, only over the cloud deck (never a full-frame overlay) */
html.is-world .sky__veil { position: absolute; inset: 0; opacity: 0; pointer-events: none; will-change: opacity;
  background:
    radial-gradient(70% 60% at 18% 30%, rgb(244 248 252 / 0.62), rgb(244 248 252 / 0) 70%),
    linear-gradient(180deg, rgb(244 248 252 / 0.5) 0%, rgb(244 248 252 / 0.18) 38%, rgb(244 248 252 / 0) 62%); }
html.is-world .gl { display: block; position: fixed; inset: 0; z-index: 1; width: 100%; height: 100%; }
html.is-world .anno-lines { display: block; position: fixed; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
html.is-world .anno-lines line { stroke: rgb(255 255 255 / 0.7); stroke-width: 1; }
html.is-world .anno-lines circle { fill: var(--accent); }
html.is-world .annos { display: block; position: fixed; inset: 0; z-index: 4; pointer-events: none; }
html.is-world .anno { position: absolute; left: 0; top: 0; max-width: 16.5rem; padding: 0.55rem 0.8rem 0.55rem 0.55rem; border-radius: 14px; background: rgb(10 16 28 / 0.78); border: 1px solid rgb(255 255 255 / 0.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font: 450 0.8rem/1.4 var(--f-text); color: var(--ink); opacity: 0; will-change: transform, opacity; box-shadow: 0 14px 30px -12px rgb(0 0 0 / 0.7); }
html.is-world .copy { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
html.is-world .blk { position: absolute; padding: 0; opacity: 0; visibility: hidden; will-change: opacity, transform; background: none !important; }
html.is-world .blk.is-live { pointer-events: auto; }
html.is-world .spacer { display: block; }
html.is-world .still, html.is-world .faults { display: none; }
html.is-world .gauge { display: block; }
html.is-light .gauge { --ink: #07111D; --ink-soft: #33435A; --ink-faint: #4F5F73; --hair: rgb(7 17 29 / 0.22); --accent: var(--accent-deep); }
html.is-light-top .bar { --ink: #07111D; color: #07111D; }
html.is-light-top .bar::before, html.is-docking .bar::before { opacity: 0; }
html.is-light-top .bar .iconbtn { background: rgb(255 255 255 / 0.5); box-shadow: inset 0 0 0 1px rgb(7 17 29 / 0.15); color: #07111D; }

/* reveal: every [data-in] carries --in (0..1) written by the page script */
html.is-world [data-in] { opacity: var(--in, 0); transform: translate3d(0, calc((1 - var(--in, 0)) * 28px), 0) scale(calc(0.965 + var(--in, 0) * 0.035)); }
html.is-world .ln[data-in] { opacity: 1; transform: none; overflow: hidden; padding-top: 0.14em; margin-top: -0.14em; padding-bottom: 0.04em; }
html.is-world .ln[data-in] > span { transform: translate3d(0, calc((1 - var(--in, 0)) * 108%), 0); }
html.is-world .hx--peak .ln { overflow: hidden; padding-top: 0.14em; margin-top: -0.14em; }
html.is-world .hx--peak .ln--a > span { transform: translate3d(0, calc((1 - var(--p1, 0)) * 108%), 0); }
html.is-world .hx--peak .ln--b > span { transform: translate3d(0, calc((1 - var(--p2, 0)) * 108%), 0); }

/* placements, desktop first */
html.is-world .blk--hero { left: var(--gutter); top: calc(var(--bar-h) + 10vh); max-width: min(52rem, 54vw); }
html.is-world .blk--hero .hx { font-size: clamp(2.6rem, 0.4rem + 4.6vw, 5.8rem); }
html.is-world .blk--hero .ln--a, html.is-world .blk--peak .ln--a, html.is-world .blk--diag .ln--a, html.is-world .blk--tension .ln--a { color: #8FA0B5; }
html.is-world .blk--diag { left: var(--gutter); top: calc(var(--bar-h) + 8vh); width: min(31rem, 36vw); }
html.is-world .blk--tension { left: var(--gutter); bottom: 9vh; width: min(30rem, 34vw); }
html.is-world .blk--tension .hx { font-size: clamp(1.5rem, 0.8rem + 1.8vw, 2.6rem); }
html.is-world .blk--peak { left: 0; right: 0; bottom: 6vh; }
html.is-world .blk--peak .ln--b { color: var(--ink); }
html.is-world .blk--new { left: var(--gutter); right: calc(var(--gutter) + 5rem); top: calc(var(--bar-h) + 7vh); bottom: 7vh; }
html.is-world .blk--new .hx { max-width: 13.5em; }
html.is-world .blk--new .toast { position: absolute; right: 0; bottom: 0; }
html.is-world .blk--method, html.is-world .blk--work, html.is-world .blk--offers { left: var(--gutter); right: calc(var(--gutter) + 5rem); top: calc(var(--bar-h) + 5vh); bottom: 6vh; display: flex; flex-direction: column; }
html.is-world .blk--method .steps { margin-top: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); }
html.is-world .blk--method .sec-head .hx { max-width: 15em; }
html.is-world .blk--work .work__grid { margin-top: auto; grid-template-columns: 1fr 1fr; max-width: 70rem; }
html.is-world .blk--offers .plans { margin-top: auto; margin-bottom: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 66rem; width: 100%; margin-inline: auto; padding-top: 1rem; }
html.is-world .blk--offers .plan--core { transform: translate3d(0, calc((1 - var(--in, 0)) * 28px - 14px), 0) scale(calc(0.965 + var(--in, 0) * 0.035)); }
html.is-world .blk--offers .fine { margin-top: 0; }
html.is-world .blk--contact { left: var(--gutter); right: calc(var(--gutter) + 5rem); top: calc(var(--bar-h) + 6vh); bottom: 3vh; display: flex; flex-direction: column; align-items: center; text-align: center; }
html.is-world .blk--contact .hx { max-width: 17em; }
html.is-world .blk--contact .lede { margin-inline: auto; }
html.is-world .blk--contact .channels { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--s-7); }
html.is-world .blk--contact .foot { margin-top: auto; }

@media (min-width: 900px) and (max-height: 820px) {
  :root { --hx-lg: clamp(1.8rem, 0.8rem + 2.4vw, 3.4rem); --hx-xl: clamp(2rem, 0.7rem + 3.2vw, 4.4rem); }
  html.is-world .plan { padding: 1.3rem 1.3rem 1.3rem; gap: 0.55rem; }
  html.is-world .plan__list { margin-bottom: 0.8rem; gap: 0.4rem; }
  html.is-world .plan__for { min-height: 0; }
  html.is-world .blk--work .work__grid { max-width: 58rem; }
}

/* phones and narrow windows */
.hide-sm { display: inline; }
@media (max-width: 899px) {
  :root { --r-card: 20px; }
  .hide-sm { display: none; }
  .bar { gap: var(--s-2); }
  .bar__social { gap: 6px; }
  .iconbtn { width: 38px; height: 38px; }
  .bar__word { font-size: 1.08rem; letter-spacing: 0.16em; }
  .mark { height: 34px; }
  .bar__brand { gap: 0.5rem; padding-inline: 0.2rem; }
  .bar__cta { height: 40px; padding-left: 0.9rem; font-size: 0.82rem; gap: 0.5rem; }
  .bar__cta .btn__i { width: 30px; height: 30px; }
  html.is-world .gauge { display: none; }

  html.is-world .blk--hero { left: var(--gutter); right: var(--gutter); top: calc(var(--bar-h) + 3vh); bottom: auto; max-width: none; }
  html.is-world .blk--hero .hx { font-size: clamp(2.1rem, 1rem + 5.6vw, 3.1rem); }
  html.is-world .blk--hero .lede { margin-top: var(--s-3); font-size: var(--t-base); }
  html.is-world .blk--hero .eyebrow { margin-bottom: var(--s-4); }
  html.is-world .blk--diag { left: var(--gutter); right: var(--gutter); top: calc(var(--bar-h) + 2vh); width: auto; }
  html.is-world .blk--diag .card--glass { padding: 1.1rem 1.2rem; }
  html.is-world .blk--diag .card__p { font-size: var(--t-sm); margin-top: var(--s-3); }
  html.is-world .blk--tension { left: var(--gutter); right: var(--gutter); bottom: 3vh; max-width: none; }
  html.is-world .blk--tension .chip { height: 34px; font-size: 0.78rem; padding-right: 0.8rem; }
  html.is-world .blk--tension .card--glass { padding: 1.1rem 1.2rem; }
  html.is-world .blk--tension .chips { margin-top: var(--s-3); gap: 6px; }
  html.is-world .blk--tension { width: auto; }
  html.is-world .blk--tension .chip--x::before { width: 26px; height: 26px; }
  html.is-world .blk--peak { bottom: 9vh; }
  html.is-world .blk--new { left: var(--gutter); right: var(--gutter); top: calc(var(--bar-h) + 4vh); bottom: 4vh; }
  html.is-world .blk--new .lede { font-size: var(--t-base); }
  html.is-world .blk--new .actions .btn--ghost { display: none; }
  html.is-world .blk--new .toast { left: 0; right: auto; }
  html.is-world .blk--method, html.is-world .blk--work, html.is-world .blk--offers { left: var(--gutter); right: var(--gutter); top: calc(var(--bar-h) + 2.5vh); bottom: 3vh; }
  html.is-world .blk--method .lede, html.is-world .blk--work .lede { font-size: var(--t-sm); margin-top: var(--s-3); }
  html.is-world .blk--method .steps { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  html.is-world .step { padding: 0.9rem 0.9rem 1rem; gap: 0.3rem; }
  html.is-world .step__n { width: 34px; height: 34px; border-radius: 11px; margin-bottom: 0.3rem; font-size: 0.7rem; }
  html.is-world .step strong { font-size: 0.92rem; }
  html.is-world .step span:last-child { font-size: 0.78rem; }
  html.is-world .blk--work .work__grid { grid-template-columns: 1fr; gap: 0.7rem; }
  html.is-world .shot { display: grid; grid-template-columns: 44% 1fr; align-items: center; padding: 0.4rem; }
  html.is-world .shot__frame { border-radius: 14px; aspect-ratio: 16 / 11; }
  html.is-world .shot figcaption { padding: 0.4rem 0.6rem; gap: 0.25rem; }
  html.is-world .shot figcaption strong { font-size: 0.9rem; }
  html.is-world .shot figcaption > span:last-child { display: none; }
  html.is-world .shot .tag { font-size: 0.58rem; padding: 0.25rem 0.5rem; }
  /* the three plans become a swipeable rail */
  html.is-world .blk--offers .plans { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.8rem; margin: auto calc(var(--gutter) * -1); padding: 1.2rem var(--gutter) 1rem; scrollbar-width: none; max-width: none; width: auto; }
  html.is-world .blk--offers .plans::-webkit-scrollbar { display: none; }
  html.is-world .blk--offers .plan { flex: 0 0 82%; scroll-snap-align: center; padding: 1.2rem; gap: 0.5rem; }
  html.is-world .blk--offers .plan--core { order: -1; }
  html.is-world .plan__list { margin-bottom: 0.8rem; gap: 0.4rem; padding-top: 0.7rem; }
  html.is-world .plan__for { min-height: 0; }
  html.is-world .blk--offers .fine { font-size: 0.78rem; }
  html.is-world .blk--contact { left: var(--gutter); right: var(--gutter); top: calc(var(--bar-h) + 3vh); }
  html.is-world .blk--contact .lede { font-size: var(--t-sm); }
  html.is-world .blk--contact .channels { grid-template-columns: 1fr; gap: 0.6rem; margin-top: var(--s-5); }
  html.is-world .anno { max-width: 12.5rem; font-size: 0.72rem; padding: 0.45rem 0.6rem 0.45rem 0.45rem; }
}
@media (max-width: 899px) and (max-height: 720px) {
  html.is-world .blk--new .toast { display: none; }
  html.is-world .blk--method .lede { display: none; }
}

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


/* ================================================================
   v3 additions: altitude rail, alert mode, the house
   ================================================================ */
/* the altitude rail, under the brand, always moving */
.alt { grid-column: 1 / -1; grid-row: 2; justify-self: center; display: none; align-items: center; gap: 0.9rem; pointer-events: auto; }
html.is-world .alt { display: flex; }
.alt__read { display: flex; align-items: baseline; gap: 0.45rem; font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.08em; color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.alt__k { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.62rem; color: var(--ink-faint); }
.alt__v { min-width: 6.2em; color: var(--ink); font-size: 0.82rem; }
.alt__track { position: relative; width: min(30rem, 42vw); height: 22px; }
.alt__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: color-mix(in oklab, var(--ink) 20%, transparent); }
.alt__fill { position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; width: 100%; border-radius: 2px; background: var(--accent); transform-origin: left; transform: scaleX(var(--g, 0)); }
.alt__dot { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent); transform: translateX(calc(var(--g, 0) * min(30rem, 42vw))); }
.alt__tick { position: absolute; top: 0; width: 22px; height: 22px; margin-left: -11px; padding: 0; border: 0; background: none; left: calc(var(--x, 0) * 100%); }
.alt__tick::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: color-mix(in oklab, var(--ink) 55%, transparent); transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.alt__tick.is-past::before { background: var(--accent); }
.alt__tick span { position: absolute; left: 50%; top: 26px; transform: translate(-50%, 4px); padding: 0.3rem 0.55rem; border-radius: 999px; background: rgb(10 16 28 / 0.88); color: #F3F7FB; font: 500 0.68rem/1 var(--f-mono); letter-spacing: 0.04em; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out); }
.alt__tick:focus-visible span { opacity: 1; transform: translate(-50%, 0); }
@media (hover: hover) and (pointer: fine) { .alt__tick:hover::before { transform: scale(1.6); } .alt__tick:hover span { opacity: 1; transform: translate(-50%, 0); } }
html.is-light .alt { --ink: #07111D; --ink-soft: #1F2F45; --ink-faint: #3D5068; --accent: var(--accent-deep); }
html.is-light .bar { --ink: #07111D; color: #07111D; }
html.is-light .bar::before { opacity: 0; }
html.is-light .bar .iconbtn { background: rgb(255 255 255 / 0.55); box-shadow: inset 0 0 0 1px rgb(7 17 29 / 0.15); color: #07111D; }

/* the alert: red crosses, an alarm at the edges of the screen, red copy */
.ln--red { color: var(--red); }
.card--alert { padding: clamp(1.4rem, 1rem + 1.4vw, 2.3rem); background: linear-gradient(180deg, rgb(40 10 16 / 0.74), rgb(16 6 10 / 0.72)); border: 1px solid rgb(255 71 71 / 0.45); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 0 0 4px rgb(255 71 71 / 0.08), 0 30px 70px -24px rgb(0 0 0 / 0.8); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); }
.card--alert .card__p { color: #F1D9DC; font-size: var(--t-lg); }
.card--alert .ln--a { color: #E6B9BF !important; }
.tag--alert { margin-bottom: var(--s-4); gap: 0.55rem; align-items: center; background: rgb(255 71 71 / 0.16); border-color: rgb(255 71 71 / 0.5); color: #FFD3D6; font-size: 0.74rem; }
.blink { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgb(255 71 71 / 0.25); animation: blink 0.9s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
.chip--x { background: rgb(255 71 71 / 0.12); box-shadow: inset 0 0 0 1px rgb(255 71 71 / 0.4); color: #FFE3E5; }
.chip--x::before { background-color: var(--red) !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.8' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E") !important; }
.alarm, .xmarks { display: none; }
html.is-world .alarm { display: block; position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0; box-shadow: inset 0 0 160px 40px rgb(255 30 40 / 0.55), inset 0 0 0 3px rgb(255 71 71 / 0.55); background: radial-gradient(120% 100% at 50% 50%, transparent 55%, rgb(255 20 30 / 0.16) 100%); }
html.is-world .xmarks { display: block; position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.xm { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center/24px no-repeat; box-shadow: 0 0 0 6px rgb(255 71 71 / 0.28), 0 10px 26px -6px rgb(150 0 10 / 0.8); opacity: 0; will-change: transform, opacity; }
html.is-world .anno { border-color: rgb(255 71 71 / 0.55); background: rgb(30 8 12 / 0.86); font-size: 0.86rem; font-weight: 500; }
html.is-world .anno b { background: var(--red); color: #fff; font-size: 0.7rem; width: 24px; height: 24px; }
html.is-world .anno-lines line { stroke: rgb(255 120 120 / 0.85); stroke-width: 1.5; }
html.is-world .anno-lines circle { fill: var(--red); }

/* the house: the plate wrapper covers the viewport while keeping the photo's aspect, so the sign stays on its band */
html.is-world picture.sky__plate img { width: 100%; height: 100%; object-fit: cover; }
html.is-world .sky__house { inset: auto; left: 50%; top: 50%; width: max(106vw, calc(108vh * 1.7917)); height: max(108vh, calc(106vw / 1.7917)); translate: -50% -50%; }
html.is-world .sky__house picture, html.is-world .sky__house img { display: block; width: 100%; height: 100%; }
.sign { position: absolute; left: 27.1%; width: 45.8%; top: 41%; height: 14.3%; display: flex; align-items: center; justify-content: center; gap: 4%; opacity: var(--sign, 0); container-type: size; }
.sign__mark { flex: none; height: 64cqh; width: calc(64cqh * 0.575); fill: #F3F7FB; filter: drop-shadow(0 0 6px rgb(87 214 255 / 0.9)) drop-shadow(0 0 18px rgb(87 214 255 / 0.5)); }
.sign__word { font: 800 1rem/1 var(--f-display); font-size: 42cqh; font-stretch: 125%; letter-spacing: 0.22em; color: #F3F7FB; text-shadow: 0 0 6px rgb(87 214 255 / 0.9), 0 0 22px rgb(87 214 255 / 0.55); }
html.is-world .sky__shade { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: linear-gradient(180deg, rgb(4 6 11 / 0.82) 0%, rgb(4 6 11 / 0.55) 30%, rgb(4 6 11 / 0.15) 55%, rgb(4 6 11 / 0.55) 100%); }

/* in front of the house the ground is dark again: white headings, white cards */
html.is-world .blk--work .ln--a, html.is-world .blk--offers .ln--a, html.is-world .blk--contact .ln--a, html.is-world .blk--arrive .ln--a { color: #B9C7D6; }
html.is-world .blk--work .lede, html.is-world .blk--contact .lede { color: #DCE6F0; }
html.is-world .blk--offers .fine, html.is-world .blk--contact .foot { align-self: center; padding: 0.5rem 1rem; border-radius: 999px; background: rgb(6 10 17 / 0.62); color: #DCE6F0; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
html.is-world .blk--contact .foot a { color: #F3F7FB; }
html.is-world .blk--arrive { left: var(--gutter); right: var(--gutter); top: calc(var(--bar-h) + 3vh); text-align: center; display: flex; flex-direction: column; align-items: center; }
html.is-world .blk--arrive .hx { text-shadow: 0 2px 30px rgb(4 6 11 / 0.55); }
html.is-world .blk--arrive .eyebrow { background: rgb(6 10 17 / 0.5); color: #F3F7FB; }
html.is-world .blk--diag { width: min(33rem, 35vw); }
html.is-world .blk--tension { width: min(40rem, 44vw); }

/* static fallbacks for the new grounds */
.blk[data-plate="f"] { background: linear-gradient(180deg, rgb(246 249 252 / 0.72), rgb(246 249 252 / 0.45)), url("assets/img/plate-f.webp") center / cover; }
.blk[data-plate="g"] { background: linear-gradient(180deg, rgb(246 249 252 / 0.75), rgb(246 249 252 / 0.5)), url("assets/img/plate-g.webp") center / cover; }
.blk[data-plate="h"] { background: linear-gradient(180deg, rgb(4 6 11 / 0.82), rgb(4 6 11 / 0.6)), url("assets/img/plate-h.webp") center / cover; }
.blk--arrive { text-align: center; background: linear-gradient(180deg, rgb(4 6 11 / 0.55), rgb(4 6 11 / 0.35)), url("assets/img/plate-g.webp") center / cover; }

@media (max-width: 899px) {
  :root { --bar-h: 5.6rem; }
  .bar { grid-template-rows: 3.7rem auto; }
  .alt { gap: 0.6rem; }
  .alt__track { width: min(44vw, 12rem); }
  .alt__dot { transform: translateX(calc(var(--g, 0) * min(44vw, 12rem))); }
  .alt__tick { display: none; }
  .alt__k { display: none; }
  html.is-world .sky__house { width: max(106vw, calc(108vh * 0.5581)); height: max(108vh, calc(106vw / 0.5581)); }
  html.is-world .blk--diag, html.is-world .blk--tension { width: auto; }
  html.is-world .blk--arrive { top: 28vh; }
  .xm { width: 34px; height: 34px; margin: -17px 0 0 -17px; background-size: 18px; }
}

/* contact: the title above the lit sign, the ways to write below it */
html.is-world .blk--contact .lede { margin-top: auto; }
html.is-world .blk--contact .channels { margin-top: var(--s-5); }
html.is-world .blk--contact .foot { margin-top: var(--s-5); }
@media (max-width: 899px) { html.is-world .blk--contact .lede { margin-top: auto; } html.is-world .blk--arrive { top: calc(var(--bar-h) + 2vh); } }
html.is-world .blk--contact .hx { max-width: 24em; font-size: clamp(1.9rem, 0.9rem + 2.5vw, 3.6rem); }


/* ================================================================
   v4 additions: a camera over photographs (district, approach,
   facade, studio), the board, the laptop screen, empty slots
   ================================================================ */
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("assets/fonts/caveat-latin.woff2") format("woff2"); }

/* camera plates: sized by the script to cover the viewport at zoom 1, moved with translate + scale from their top-left */
html.is-world .sky__plate.cam { inset: auto; left: 0; top: 0; width: 100vw; height: 100vh; transform-origin: 0 0; will-change: opacity; overflow: hidden; }
html.is-world .sky__plate.cam > img, html.is-world .sky__plate.cam > picture, html.is-world .sky__plate.cam > picture img { display: block; width: 100%; height: 100%; max-width: none; object-fit: fill; }

/* the facade sign, on its blank band */
.sign { left: 26.2%; width: 48%; top: 71.55%; height: 4.95%; }

/* veils that keep copy readable without washing out the house */
html.is-world .sky__veil--l { background: linear-gradient(90deg, rgb(244 248 252 / 0.78) 0%, rgb(244 248 252 / 0.55) 30%, rgb(244 248 252 / 0) 56%); }
html.is-world .sky__veil--b { background: linear-gradient(0deg, rgb(4 6 11 / 0.82) 0%, rgb(4 6 11 / 0.45) 30%, rgb(4 6 11 / 0) 52%); }
html.is-world .sky__shade { background: linear-gradient(180deg, rgb(4 6 11 / 0.8) 0%, rgb(4 6 11 / 0.48) 24%, rgb(4 6 11 / 0) 34%, rgb(4 6 11 / 0) 52%, rgb(4 6 11 / 0.52) 64%, rgb(4 6 11 / 0.86) 100%); }

/* the board: the real logo traced in marker, notes stuck one by one; multiply lets the board's light fall on them */
.board { position: absolute; left: 36.2%; top: 33.6%; width: 27.6%; height: 30.6%; container-type: size; mix-blend-mode: multiply; pointer-events: none; }
.board__logo { position: absolute; left: 50%; top: 5%; height: 58%; width: auto; aspect-ratio: 385 / 670; translate: -50% 0; overflow: visible; fill: rgb(87 214 255 / calc(var(--fill, 0) * 0.6)); stroke: #16233A; stroke-width: 7; stroke-linejoin: round; stroke-linecap: round; }
.board__logo path { stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, var(--draw, 0) * 1.9 - var(--k, 0) * 0.1, 1)); }
.board__logo path:nth-child(2) { --k: 1; } .board__logo path:nth-child(3) { --k: 2; } .board__logo path:nth-child(4) { --k: 3; } .board__logo path:nth-child(5) { --k: 4; }
.board__logo path:nth-child(6) { --k: 5; } .board__logo path:nth-child(7) { --k: 6; } .board__logo path:nth-child(8) { --k: 7; } .board__logo path:nth-child(9) { --k: 8; } .board__logo path:nth-child(10) { --k: 9; }
.board__word { position: absolute; left: 0; right: 0; top: 66%; text-align: center; font: 700 15cqh/1 "Caveat", cursive; letter-spacing: 0.14em; color: #16233A; clip-path: inset(-20% calc((1 - var(--w, 0)) * 100%) -20% 0); }
.board__line { position: absolute; left: 37%; width: 26%; top: 84%; height: 1.3cqh; border-radius: 99px; background: #16233A; opacity: 0.85; transform-origin: left center; transform: rotate(-1.5deg) scaleX(var(--w, 0)); }
.pi { position: absolute; left: var(--x); top: var(--y); width: 15.5%; aspect-ratio: 1; padding: 1.1cqw; display: flex; align-items: center; justify-content: center; text-align: center; font: 600 3.15cqw/1.02 "Caveat", cursive; color: #1A2230; background: linear-gradient(172deg, var(--c1), var(--c2)); box-shadow: 0 0.35cqw 0.7cqw rgb(60 40 20 / 0.3), inset 0 -0.6cqw 0.9cqw rgb(0 0 0 / 0.06); opacity: var(--s, 0); transform: rotate(var(--r, 0deg)) scale(calc(1.35 - var(--s, 0) * 0.35)); }
.pi--y { --c1: #FCEB80; --c2: #F2D85F; }
.pi--p { --c1: #FCAACA; --c2: #F08EB3; }
.pi--g { --c1: #B8EFCF; --c2: #97DEB6; }

/* the laptop wakes up, then becomes the page */
.lap { position: absolute; left: 43.35%; top: 69.6%; width: 13.45%; height: 15.2%; container-type: size; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7cqh; border-radius: 1.4cqh; background: radial-gradient(85% 75% at 50% 38%, #2C427F, #1D2A53 72%); opacity: var(--on, 0); }
.lap__mark { height: 36cqh; width: auto; aspect-ratio: 385 / 670; fill: #F3F7FB; filter: drop-shadow(0 0 3cqh rgb(87 214 255 / 0.75)); }
.lap__url { font: 500 7.5cqh/1 var(--f-mono); letter-spacing: 0.14em; color: #B9C7D6; }
.scr { display: none; }
html.is-world .scr { display: block; position: fixed; inset: 0; z-index: 5; opacity: 0; visibility: hidden; pointer-events: none; background: radial-gradient(120% 85% at 50% 0%, #2C427F 0%, #1A2852 42%, #0B1330 100%); }
html.is-world .scr::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1.2px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 85%); mask-image: linear-gradient(180deg, #000 10%, transparent 85%); }
.scr__chrome { position: absolute; left: 50%; top: calc(var(--bar-h) + 0.25rem); translate: -50% 0; display: flex; align-items: center; gap: 6px; padding: 0.4rem 1rem 0.4rem 0.75rem; border-radius: 999px; background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); }
.scr__chrome i { width: 8px; height: 8px; border-radius: 50%; background: #FF6159; }
.scr__chrome i:nth-child(2) { background: #FFBD2E; }
.scr__chrome i:nth-child(3) { background: #28C941; }
.scr__url { margin-left: 0.55rem; font: 500 0.74rem/1 var(--f-mono); letter-spacing: 0.05em; color: #DCE6F0; }

/* the district: the house stays on the right, the method lives on the left */
html.is-world .blk--method { right: auto; width: min(50rem, 52vw); }
html.is-world .blk--method .hx { font-size: clamp(1.9rem, 0.8rem + 2.5vw, 3.6rem); }
html.is-world .blk--method .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* arrival: on the left of the approach, the house on the right */
html.is-world .blk--arrive { left: var(--gutter); right: auto; top: calc(var(--bar-h) + 9vh); width: min(42rem, 48vw); text-align: left; align-items: flex-start; }
html.is-world .blk--arrive .hx { text-shadow: none; }
html.is-world .blk--arrive .ln--a { color: var(--ink-faint) !important; }
html.is-world .blk--arrive .eyebrow { background: rgb(255 255 255 / 0.6); color: var(--ink-soft); }
/* the studio: one line on the dark wall above the board, the board stays clear */
html.is-world .blk--atelier { left: var(--gutter); right: var(--gutter); top: calc(var(--bar-h) + 1.5vh); display: flex; flex-direction: column; align-items: center; text-align: center; }
html.is-world .blk--atelier .tag { align-self: center; margin-bottom: var(--s-3); background: rgb(6 10 17 / 0.55); color: #DCE6F0; border-color: rgb(255 255 255 / 0.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
html.is-world .blk--atelier .hx { font-size: clamp(1.7rem, 0.9rem + 2.1vw, 3.1rem); color: #F3F7FB; text-shadow: 0 2px 26px rgb(4 6 11 / 0.7); }
html.is-world .blk--atelier .hx .ln { display: inline-block; }
html.is-world .blk--atelier .ln--a { color: #7FE0FF; }
/* projects, on the screen: two real ones, then free slots */
html.is-world .blk--work .work__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 84rem; gap: var(--s-4); }
html.is-world .blk--work .shot figcaption > span:last-child { font-size: 0.82rem; }
.shot--empty { padding: 0.55rem; border-radius: var(--r-card); background: rgb(255 255 255 / 0.04); border: 1.5px dashed rgb(185 199 214 / 0.42); color: #DCE6F0; }
.shot--empty .shot__frame { display: grid; place-items: center; background: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.035) 0 10px, transparent 10px 20px); box-shadow: inset 0 0 0 1px rgb(185 199 214 / 0.16); }
.shot__plus { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1.5px dashed rgb(185 199 214 / 0.6); }
.shot__plus::before, .shot__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 2px; background: #B9C7D6; }
.shot__plus::after { transform: rotate(90deg); }
.shot--empty .tag { background: rgb(87 214 255 / 0.12); color: #A8EBFF; border-color: rgb(87 214 255 / 0.32); }
.shot--empty figcaption strong { color: #F3F7FB; }
.shot--empty figcaption > span:last-child { color: #B9C7D6; }
.linkbtn { justify-self: start; padding: 0; border: 0; background: none; color: #7FE0FF; font: 600 var(--t-sm)/1.3 var(--f-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn:focus-visible { outline: 2px solid #7FE0FF; outline-offset: 3px; border-radius: 4px; }
/* contact: the title above the sign, the ways to write below it */
html.is-world .blk--contact { top: calc(var(--bar-h) + 2.5vh); }
html.is-world .blk--contact .lede { margin-top: auto; }
html.is-world .blk--contact .channels { margin-top: var(--s-5); }
html.is-world .blk--contact .foot { margin-top: var(--s-4); }

/* static fallback: the arrival on the approach photo, the studio darkened under white copy */
.blk--arrive { background: linear-gradient(180deg, rgb(244 248 252 / 0.72), rgb(244 248 252 / 0.4)), url("assets/img/plate-t.webp") center / cover; }
.blk--atelier { text-align: center; color: #F3F7FB; background: linear-gradient(180deg, rgb(4 6 11 / 0.72), rgb(4 6 11 / 0.5)), url("assets/img/plate-i.webp") center / cover; }
.blk--atelier .tag { color: #DCE6F0; }
.blk--atelier .ln--a { color: #7FE0FF; }

@media (max-width: 899px) {
  html.is-world .sky__veil--l { background: linear-gradient(180deg, rgb(244 248 252 / 0.82) 0%, rgb(244 248 252 / 0.5) 34%, rgb(244 248 252 / 0) 55%); }
  html.is-world .blk--method { left: var(--gutter); right: var(--gutter); width: auto; }
  html.is-world .blk--arrive { left: var(--gutter); right: var(--gutter); top: auto; bottom: 7vh; width: auto; text-align: center; align-items: center; --ink: #F3F7FB; --ink-soft: #DCE6F0; --ink-faint: #B9C7D6; color: #F3F7FB; }
  html.is-world .blk--arrive .eyebrow { background: rgb(6 10 17 / 0.5); color: #F3F7FB; }
  html.is-world .blk--atelier { top: calc(var(--bar-h) + 1vh); }
  html.is-world .blk--method .hx { font-size: clamp(1.7rem, 1rem + 3.4vw, 2.4rem); }
  html.is-world .blk--work .work__grid { grid-template-columns: 1fr; gap: 0.6rem; }
  html.is-world .shot--empty { display: grid; grid-template-columns: 52px 1fr; align-items: center; padding: 0.45rem; }
  html.is-world .shot--empty .shot__frame { aspect-ratio: 1; border-radius: 12px; }
  html.is-world .shot--empty .shot__plus { width: 26px; height: 26px; }
  html.is-world .shot--empty .shot__plus::before, html.is-world .shot--empty .shot__plus::after { width: 10px; margin-left: -5px; }
  html.is-world .shot--empty .linkbtn { display: none; }
  html.is-world .blk--contact .lede { font-size: var(--t-sm); }
  .scr__chrome { top: calc(var(--bar-h) - 0.1rem); padding: 0.3rem 0.8rem 0.3rem 0.6rem; }
  .scr__url { font-size: 0.66rem; }
}


/* ================================================================
   v5 additions: bigger projects on the screen, centred title,
   offers that arrive and follow the pointer, four ways to write
   ================================================================ */
/* projects on the laptop screen: centred title, two large films, free slots stacked beside them */
html.is-world .blk--work { right: var(--gutter); align-items: center; }
html.is-world .blk--work .sec-head { text-align: center; max-width: 54rem; }
html.is-world .blk--work .sec-head .hx { margin-inline: auto; }
html.is-world .blk--work .lede { margin-inline: auto; }
html.is-world .blk--work .work__grid { margin: auto 0 0; width: min(100%, 86rem, calc((100vh - var(--bar-h) - 24rem) * 1.6 * 2.62 + 3rem)); max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.62fr); grid-template-rows: 1fr 1fr; gap: var(--s-4); }
html.is-world .blk--work .shot:not(.shot--empty) { grid-row: span 2; display: flex; flex-direction: column; }
html.is-world .blk--work .shot figcaption strong { font-size: clamp(1.05rem, 0.8rem + 0.6vw, 1.45rem); }
html.is-world .blk--work .shot--empty { display: flex; flex-direction: column; justify-content: center; padding: 0.45rem; }
html.is-world .blk--work .shot--empty .shot__frame { aspect-ratio: auto; flex: 1; min-height: 3.5rem; }
html.is-world .blk--work .shot--empty figcaption { padding: 0.6rem 0.5rem 0.35rem; }
html.is-world .blk--work .shot--empty figcaption strong { font-size: 0.95rem; }

/* offers: no reserved gauge column any more, the three cards breathe */
html.is-world .blk--offers { right: var(--gutter); }
html.is-world .blk--offers .plans { max-width: 70rem; perspective: 1400px; }
/* they arrive tilted back and rise into place, then lean toward the pointer (vars written by common.js) */
html.is-world .blk--offers .plan { transform-origin: 50% 100%; transform: perspective(1200px) translate3d(0, calc((1 - var(--in, 0)) * 46px - var(--lift, 0px) - var(--hov, 0px)), 0) rotateX(calc((1 - var(--in, 0)) * 18deg + var(--rx, 0deg))) rotateY(var(--ry, 0deg)) scale(calc(0.93 + var(--in, 0) * 0.07)); }
html.is-world .blk--offers .plan--core { --lift: 14px; }

/* contact: four ways to write */
html.is-world .blk--contact { right: var(--gutter); }
html.is-world .blk--contact .channels { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 76rem; }

@media (min-width: 900px) and (max-height: 820px) {
  html.is-world .blk--work .lede { display: none; }
}
@media (max-width: 899px) {
  /* phone: the films become a swipeable rail of real cards, like the offers */
  html.is-world .blk--work { right: var(--gutter); }
  html.is-world .blk--work { align-items: stretch; }
  html.is-world .blk--work .work__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.8rem; width: auto; margin: auto calc(var(--gutter) * -1); padding: 0.8rem var(--gutter) 0.6rem; scrollbar-width: none; }
  html.is-world .blk--work .work__grid::-webkit-scrollbar { display: none; }
  html.is-world .blk--work .shot, html.is-world .blk--work .shot--empty { flex: 0 0 82%; scroll-snap-align: center; display: flex; flex-direction: column; padding: 0.45rem; }
  html.is-world .blk--work .shot__frame { aspect-ratio: 16 / 10; border-radius: 14px; }
  html.is-world .blk--work .shot--empty .shot__frame { aspect-ratio: 16 / 10; flex: none; }
  html.is-world .blk--work .shot figcaption { padding: 0.7rem 0.5rem 0.4rem; }
  html.is-world .blk--work .shot figcaption > span:last-child { display: block; font-size: 0.8rem; }
  html.is-world .blk--work .shot--empty .linkbtn { display: inline; }
  html.is-world .blk--contact .channels { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  html.is-world .blk--contact .channel { padding: 0.55rem; gap: 0.6rem; }
  html.is-world .blk--contact .channel__ic { width: 38px; height: 38px; border-radius: 12px; }
  html.is-world .blk--contact .channel .btn__i { display: none; }
  html.is-world .blk--contact .channel__t b { font-size: 0.86rem; }
  html.is-world .blk--contact .channel__t span { font-size: 0.66rem; }
}

/* transition clips: same cover box as the camera plates at zoom 1, so first and last frames sit on the stills */
.sky__clips { display: none; }
html.is-world .sky__clips { display: block; position: absolute; inset: 0; pointer-events: none; }
.sky__clip { position: absolute; left: 50%; top: 50%; width: max(102vw, calc(102vh * 16 / 9)); height: max(102vh, calc(102vw * 9 / 16)); max-width: none; translate: -50% -50%; object-fit: cover; opacity: 0; visibility: hidden; }
