
:root {
  --ink: #0b0a0b;
  --oxblood-deep: #220e0f;
  --oxblood: #5e1817;
  --ember: #bd342a;
  --coral: #f07859;
  --blush: #fecfb5;
  --cream: #fff9f0;
  --blue: #1a5cff;
  --blue-soft: #6d93ff;
  --red: #ed2224;
  --red-fill: #e01f21;
  --red-ink: #c4161a;
  --paper: #f4f6f9;
  --day: #f4f6f9;
  --sky: #dde8f7;
  --night: #0b0a0b;
  --night-2: #14161a;
  --text: #0d0f12;
  --text-2: #454b54;
  --text-3: #5f6670;

  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --r-sm: 2px;
  --r-md: 3px;
  --r-lg: 4px;
  --r-xl: 6px;
  --r-btn: 2px;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 72px;
  --s-9: 112px;
  --gutter: clamp(18px, 4vw, 56px);
  --max: 1240px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-both: cubic-bezier(0.45, 0, 0.25, 1);
  --sun-x: 70%;
}

[data-atmosphere="night"] {
  --bg: var(--night);
  --fg: var(--paper);
  --fg-2: rgba(244, 246, 249, 0.76);
  --fg-3: rgba(244, 246, 249, 0.56);
  --line: rgba(244, 246, 249, 0.14);
  --accent: var(--coral);
  --glass-fill: linear-gradient(180deg, rgba(246, 241, 236, 0.115), rgba(246, 241, 236, 0.045));
  --glass-solid: rgba(30, 24, 26, 0.9);
  --glass-edge: linear-gradient(135deg, rgba(255, 249, 240, 0.6), rgba(255, 249, 240, 0.09) 36%, rgba(255, 249, 240, 0.04) 64%, rgba(254, 207, 181, 0.5));
  --glass-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.9), 0 2px 10px rgba(0, 0, 0, 0.35);
  --glass-blur: blur(22px) saturate(1.5);
  --glint: rgba(255, 249, 240, 0.2);
  --field: rgba(246, 241, 236, 0.06);
  --field-line: rgba(246, 241, 236, 0.24);
  --focus: var(--blue-soft);
  --focus-ring: rgba(109, 147, 255, 0.34);
  --air: radial-gradient(50% 30% at var(--sun-x) 70%, rgba(189, 52, 42, 0.16), rgba(189, 52, 42, 0) 72%), radial-gradient(40% 22% at 6% 30%, rgba(94, 24, 23, 0.3), rgba(94, 24, 23, 0) 72%);
  --bg-clear: rgba(11, 10, 11, 0);
  color-scheme: dark;
}
[data-atmosphere="day"] {
  --bg: var(--day);
  --fg: var(--text);
  --fg-2: var(--text-2);
  --fg-3: var(--text-3);
  --line: rgba(13, 26, 52, 0.14);
  --accent: var(--red-ink);
  --glass-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.42));
  --glass-solid: rgba(255, 255, 255, 0.94);
  --glass-edge: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.55) 36%, rgba(255, 255, 255, 0.35) 64%, #fff);
  --glass-shadow: 0 28px 60px -32px rgba(16, 38, 84, 0.36), 0 2px 8px rgba(16, 38, 84, 0.07);
  --glass-blur: blur(22px) saturate(1.6);
  --glint: rgba(150, 196, 255, 0.55);
  --field: rgba(255, 255, 255, 0.72);
  --field-line: rgba(13, 26, 52, 0.24);
  --focus: var(--blue);
  --focus-ring: rgba(26, 92, 255, 0.24);
  --air: radial-gradient(54% 22% at 92% 20%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 72%), radial-gradient(30% 13% at 100% 30%, rgba(86, 150, 255, 0.16), rgba(86, 150, 255, 0) 72%), radial-gradient(44% 18% at 0% 56%, rgba(86, 150, 255, 0.11), rgba(86, 150, 255, 0) 72%), radial-gradient(56% 15% at 64% 84%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 72%);
  --bg-clear: rgba(244, 246, 249, 0);
  color-scheme: light;
}
.ground--sky, .ground--warm { --bg: var(--sky); --bg-clear: rgba(221, 232, 247, 0); --line: rgba(13, 30, 70, 0.17);
  --air: radial-gradient(48% 24% at 6% 26%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 72%), radial-gradient(42% 18% at 98% 58%, rgba(26, 92, 255, 0.13), rgba(26, 92, 255, 0) 72%), radial-gradient(52% 15% at 38% 86%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 72%); }
.ground--dusk { --bg: #11151d; --bg-clear: rgba(17, 21, 29, 0); --night-2: #181d27;
  --air: radial-gradient(52% 28% at 86% 30%, rgba(189, 52, 42, 0.26), rgba(189, 52, 42, 0) 72%), radial-gradient(44% 24% at 2% 74%, rgba(26, 92, 255, 0.16), rgba(26, 92, 255, 0) 72%); }
.ground--space { --bg: #0a0d14; --bg-clear: rgba(10, 13, 20, 0); --night-2: #121722;
  --air: radial-gradient(1.2px 1.2px at 4% 22%, #fff 50%, transparent 51%), radial-gradient(1.0px 1.0px at 11% 64%, #dbe8ff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 17% 35%, #fff 50%, transparent 51%), radial-gradient(1.0px 1.0px at 23% 81%, #cfe0ff 50%, transparent 51%), radial-gradient(1.1px 1.1px at 28% 18%, #fff 50%, transparent 51%), radial-gradient(1.0px 1.0px at 34% 52%, #ffe9d6 50%, transparent 51%), radial-gradient(1.4px 1.4px at 39% 71%, #fff 50%, transparent 51%), radial-gradient(1.0px 1.0px at 45% 27%, #dbe8ff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 51% 88%, #fff 50%, transparent 51%), radial-gradient(1.0px 1.0px at 56% 44%, #fff 50%, transparent 51%), radial-gradient(1.6px 1.6px at 61% 19%, #fff 50%, transparent 51%), radial-gradient(1.0px 1.0px at 66% 62%, #cfe0ff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 71% 33%, #fff 50%, transparent 51%), radial-gradient(1.0px 1.0px at 76% 79%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 81% 48%, #dbe8ff 50%, transparent 51%), radial-gradient(1.0px 1.0px at 86% 24%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 91% 68%, #ffe9d6 50%, transparent 51%), radial-gradient(1.0px 1.0px at 96% 39%, #fff 50%, transparent 51%), radial-gradient(1.0px 1.0px at 8% 47%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 31% 91%, #fff 50%, transparent 51%), radial-gradient(1.0px 1.0px at 48% 58%, #dbe8ff 50%, transparent 51%), radial-gradient(1.0px 1.0px at 69% 86%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 88% 87%, #fff 50%, transparent 51%), radial-gradient(1.0px 1.0px at 19% 55%, #fff 50%, transparent 51%), radial-gradient(1.1px 1.1px at 58% 74%, #cfe0ff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 93% 16%, #fff 50%, transparent 51%),
    radial-gradient(46% 26% at 90% 22%, rgba(26, 92, 255, 0.14), rgba(26, 92, 255, 0) 72%), radial-gradient(40% 24% at 4% 80%, rgba(189, 52, 42, 0.12), rgba(189, 52, 42, 0) 72%); }
.atmos { position: relative; isolation: isolate; background-color: var(--bg); background-image: var(--air); color: var(--fg); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; background: var(--night); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus, var(--blue)); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap--narrow { --max: 760px; }
.section { padding-block: clamp(48px, 6.4vw, 92px); }
.stack > * + * { margin-top: var(--gap, var(--s-4)); }
.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .grid--4 { grid-template-columns: minmax(0, 1fr); } .grid--4.grid--pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.mega, .display-xl, .display-l, .display-m, .title { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.004em; text-wrap: balance; }
.mega { display: block; width: max-content; max-width: none; margin-left: -0.02em; padding-top: 0.05em; white-space: nowrap; line-height: 0.84; font-size: clamp(3.2rem, calc((100vw - 2 * var(--gutter)) / (var(--n, 8) * 0.5)), 20rem); }
.display-xl { font-size: clamp(3.2rem, 9.6vw, 8.6rem); line-height: 0.9; }
.display-l { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 0.94; }
.display-m { font-size: clamp(1.9rem, 3.5vw, 3.1rem); line-height: 0.98; }
.title { font-size: clamp(1.5rem, 2.1vw, 1.95rem); line-height: 1.04; letter-spacing: 0.01em; }
.mega em, .display-xl em, .display-l em, .display-m em, .title em { font-style: normal; color: var(--red); }
.lead { font-size: clamp(1.15rem, 1.75vw, 1.5rem); font-weight: 500; line-height: 1.38; color: var(--fg); text-wrap: pretty; max-width: 34rem; }
.body-2 { color: var(--fg-2); }
.small { font-size: 0.875rem; line-height: 1.5; color: var(--fg-2); }
.label { font: 700 0.72rem/1.3 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.label b { font-weight: 700; color: var(--accent); }
.count { font: 500 0.78rem/1.3 var(--mono); letter-spacing: 0.06em; color: var(--fg-3); }
.count b { font-weight: 500; color: var(--accent); }
.prose { max-width: 42rem; font-size: 1.125rem; line-height: 1.7; color: var(--fg-2); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font: 400 clamp(2rem, 3.2vw, 2.8rem)/0.98 var(--display); text-transform: uppercase; letter-spacing: 0.006em; color: var(--fg); margin-top: 1.6em; }
.prose h3 { font: 700 1.1rem/1.3 var(--body); color: var(--fg); margin-top: 1.7em; }
.prose strong { font-weight: 700; color: var(--fg); }
.prose a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul { display: grid; gap: 0.55em; }
.prose ul li { position: relative; padding-left: 1.5em; }
.prose ul li::before { content: ""; position: absolute; left: 0.1em; top: 0.72em; width: 0.7em; height: 2px; background: var(--red); }
.prose blockquote { margin-block: 1.6em; padding: 0 0 0 1.1em; border-left: 3px solid var(--red); font: 700 clamp(1.3rem, 2vw, 1.65rem)/1.3 var(--body); color: var(--fg); letter-spacing: -0.01em; }

.beams { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; --bx: var(--sun-x); --by: 104%; }
.beams i { position: absolute; inset: -12%; transform-origin: calc(12% / 1.24 + var(--bx) / 1.24) calc(12% / 1.24 + var(--by) / 1.24); mix-blend-mode: screen; will-change: transform, opacity;
  -webkit-mask-image: radial-gradient(circle at calc(12% / 1.24 + var(--bx) / 1.24) calc(12% / 1.24 + var(--by) / 1.24), #000 0, rgba(0, 0, 0, 0.9) 16%, rgba(0, 0, 0, 0.42) 44%, rgba(0, 0, 0, 0) 76%);
  mask-image: radial-gradient(circle at calc(12% / 1.24 + var(--bx) / 1.24) calc(12% / 1.24 + var(--by) / 1.24), #000 0, rgba(0, 0, 0, 0.9) 16%, rgba(0, 0, 0, 0.42) 44%, rgba(0, 0, 0, 0) 76%); }
.beams i:nth-child(1) { background: conic-gradient(from 270deg at calc(12% / 1.24 + var(--bx) / 1.24) calc(12% / 1.24 + var(--by) / 1.24),
    rgba(189, 52, 42, 0) 8deg, rgba(189, 52, 42, 0.64) 26deg, rgba(189, 52, 42, 0) 44deg,
    rgba(240, 120, 89, 0) 54deg, rgba(240, 120, 89, 0.74) 68deg, rgba(254, 207, 181, 0.8) 74deg, rgba(240, 120, 89, 0) 90deg,
    rgba(237, 34, 36, 0) 114deg, rgba(237, 34, 36, 0.66) 136deg, rgba(237, 34, 36, 0) 160deg, rgba(0, 0, 0, 0) 360deg);
  animation: beams-a 38s var(--ease-both) infinite alternate; }
.beams i:nth-child(2) { background: conic-gradient(from 270deg at calc(12% / 1.24 + var(--bx) / 1.24) calc(12% / 1.24 + var(--by) / 1.24),
    rgba(254, 207, 181, 0) 32deg, rgba(254, 207, 181, 0.5) 42deg, rgba(254, 207, 181, 0) 52deg,
    rgba(255, 249, 240, 0) 70deg, rgba(255, 240, 226, 0.72) 80deg, rgba(254, 207, 181, 0.4) 87deg, rgba(255, 249, 240, 0) 98deg,
    rgba(240, 120, 89, 0) 140deg, rgba(240, 120, 89, 0.52) 152deg, rgba(240, 120, 89, 0) 166deg, rgba(0, 0, 0, 0) 360deg);
  animation: beams-b 52s var(--ease-both) infinite alternate; }
.beams i:nth-child(3) { background: conic-gradient(from 270deg at calc(12% / 1.24 + var(--bx) / 1.24) calc(12% / 1.24 + var(--by) / 1.24),
    rgba(26, 92, 255, 0) 100deg, rgba(26, 92, 255, 0.36) 109deg, rgba(109, 147, 255, 0.16) 114deg, rgba(26, 92, 255, 0) 123deg, rgba(26, 92, 255, 0) 360deg);
  animation: beams-c 44s var(--ease-both) infinite alternate; }
@keyframes beams-a { from { transform: rotate(-3.2deg); opacity: 0.86; } to { transform: rotate(2.6deg); opacity: 1; } }
@keyframes beams-b { from { transform: rotate(3deg); opacity: 0.94; } to { transform: rotate(-3.4deg); opacity: 0.7; } }
@keyframes beams-c { from { transform: rotate(-5deg); opacity: 0.5; } to { transform: rotate(4deg); opacity: 0.95; } }
[data-atmosphere="day"] > .beams, .beams--day { opacity: 0.85; }
[data-atmosphere="day"] > .beams i, .beams--day i { mix-blend-mode: multiply; filter: saturate(0.9); }
[data-atmosphere="day"] > .beams i:nth-child(2), .beams--day i:nth-child(2) { mix-blend-mode: normal; opacity: 0.9; }

:root { --limb-drop: 11.45vw; }
@supports (width: 1cqw) { :root { --limb-drop: 11.45cqw; } }
.rise { margin-top: calc(-1 * var(--limb-drop)); padding-top: calc(var(--limb-drop) + clamp(8px, 2vw, 28px)); background: none; }
.rise::before { content: ""; position: absolute; inset: var(--limb-drop) 0 0 0; z-index: 0; background-color: var(--bg); background-image: linear-gradient(to bottom, var(--bg), var(--bg-clear) 110px), var(--air); }
.rise > * { position: relative; z-index: 1; }
.rise > .limb { --glow: 340px; --under: clamp(84px, 12.8vw, 250px); position: absolute; z-index: 0; left: 0; right: 0; top: calc(-1 * var(--glow)); height: calc(var(--glow) + var(--limb-drop) + var(--under) + 1px); overflow: hidden; pointer-events: none; }
@supports (width: 1cqw) { .rise > .limb { --under: clamp(84px, 12.8cqw, 250px); } }
.rise > .limb::before, .rise > .limb::after { content: ""; position: absolute; left: 50%; top: var(--glow); width: 230vw; width: 230cqw; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; }
.rise > .limb::before { background: var(--bg);
  box-shadow: 0 -1px 0 rgba(255, 249, 240, 0.95), 0 -3px 8px rgba(254, 207, 181, 0.9), 0 -10px 30px rgba(240, 120, 89, 0.75), 0 -30px 90px rgba(237, 34, 36, 0.5), 0 -80px 200px rgba(189, 52, 42, 0.4); }
.rise > .limb::after { background: radial-gradient(30% 7% at calc(50% + (var(--sun-x) - 50%) * 0.42) 0%, rgba(254, 207, 181, 0.85), rgba(254, 207, 181, 0)); }
[data-atmosphere="night"].rise > .limb::after { background: radial-gradient(30% 5% at calc(50% + (var(--sun-x) - 50%) * 0.42) 0%, rgba(240, 120, 89, 0.5), rgba(189, 52, 42, 0.18) 46%, rgba(189, 52, 42, 0)); }
.light { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.beams.is-live { opacity: 1; }
.beams.is-live i { display: none; }
.rise > .limb.is-live::before { box-shadow: none; }
.rise > .limb.is-live::after { z-index: 2; background: none; box-shadow: inset 0 0 0 1px rgba(255, 250, 242, 0.95), inset 0 0 4px 1px rgba(255, 233, 214, 0.75);
 }
[data-atmosphere="night"].rise > .limb.is-live::after { -webkit-mask-image: linear-gradient(to bottom, #000 calc(var(--limb-drop) * 0.62), transparent calc(var(--limb-drop) * 0.88)); mask-image: linear-gradient(to bottom, #000 calc(var(--limb-drop) * 0.62), transparent calc(var(--limb-drop) * 0.88)); }

.ring { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ring__disc, .ring__edge { position: absolute; border-radius: 50%; }
.ring__disc { background: var(--bg); box-shadow: 0 0 0 1px rgba(255, 249, 240, 0.95), 0 0 8px 2px rgba(254, 207, 181, 0.9), 0 0 30px 6px rgba(240, 120, 89, 0.75), 0 0 90px 20px rgba(237, 34, 36, 0.5), 0 0 200px 50px rgba(189, 52, 42, 0.4); }
.ring__edge { z-index: 2; display: none; box-shadow: inset 0 0 0 1px rgba(255, 250, 242, 0.95), inset 0 0 4px 1px rgba(255, 233, 214, 0.75); }
.ring.is-live .ring__disc { box-shadow: none; }
.ring.is-live .ring__edge { display: block; }
[data-atmosphere="day"] > .ring .ring__disc, [data-atmosphere="day"] .opening__figure .ring__disc { background: radial-gradient(circle, #fff7ea 0%, #ffe7d3 50%, #fdc9ab 100%); }

:root { --join-h: clamp(40px, 6.6vw, 104px); }
.join { position: absolute; z-index: 0; left: 0; right: 0; bottom: calc(100% - 1px); height: var(--join-h); pointer-events: none; }
.join::before, .join::after { content: ""; position: absolute; inset: 0; -webkit-clip-path: var(--join-shape); clip-path: var(--join-shape); }
.join::before { translate: 0 -2px; background: var(--join-rim, rgba(255, 255, 255, 0.92)); }
.join::after { background: var(--bg); }
.join--arc { --join-shape: ellipse(100% 746% at 50% 746%); }
.join--slant { --join-shape: polygon(0 100%, 100% 0, 100% 100%); }
.join--slant-l { --join-shape: polygon(0 0, 100% 100%, 0 100%); }
.join--ridge { --join-shape: polygon(0% 100%, 0.00% 22.3%, 0.83% 21.8%, 1.67% 26.5%, 2.50% 22.2%, 3.33% 17.2%, 4.17% 9.0%, 5.00% 4.7%, 5.83% 13.1%, 6.67% 21.2%, 7.50% 29.4%, 8.33% 30.1%, 9.17% 30.2%, 10.00% 27.3%, 10.83% 20.2%, 11.67% 31.6%, 12.50% 33.6%, 13.33% 45.9%, 14.17% 52.3%, 15.00% 57.7%, 15.83% 61.2%, 16.67% 54.5%, 17.50% 40.8%, 18.33% 31.5%, 19.17% 34.7%, 20.00% 38.3%, 20.83% 37.2%, 21.67% 40.8%, 22.50% 37.9%, 23.33% 28.9%, 24.17% 25.8%, 25.00% 27.7%, 25.83% 24.9%, 26.67% 23.3%, 27.50% 33.2%, 28.33% 41.8%, 29.17% 56.1%, 30.00% 65.7%, 30.83% 77.1%, 31.67% 78.6%, 32.50% 72.5%, 33.33% 81.3%, 34.17% 88.0%, 35.00% 87.0%, 35.83% 75.1%, 36.67% 68.8%, 37.50% 66.7%, 38.33% 65.5%, 39.17% 63.8%, 40.00% 70.5%, 40.83% 70.5%, 41.67% 67.5%, 42.50% 69.7%, 43.33% 72.5%, 44.17% 71.1%, 45.00% 79.8%, 45.83% 79.4%, 46.67% 85.7%, 47.50% 78.4%, 48.33% 65.6%, 49.17% 57.9%, 50.00% 58.0%, 50.83% 53.1%, 51.67% 55.8%, 52.50% 70.3%, 53.33% 73.3%, 54.17% 62.8%, 55.00% 49.7%, 55.83% 44.9%, 56.67% 40.2%, 57.50% 26.2%, 58.33% 26.1%, 59.17% 27.9%, 60.00% 24.8%, 60.83% 30.1%, 61.67% 22.2%, 62.50% 19.4%, 63.33% 17.8%, 64.17% 16.4%, 65.00% 10.5%, 65.83% 11.1%, 66.67% 11.2%, 67.50% 14.3%, 68.33% 14.9%, 69.17% 10.3%, 70.00% 12.4%, 70.83% 10.8%, 71.67% 8.6%, 72.50% 11.8%, 73.33% 8.8%, 74.17% 9.7%, 75.00% 14.5%, 75.83% 16.2%, 76.67% 21.2%, 77.50% 21.5%, 78.33% 30.0%, 79.17% 18.9%, 80.00% 15.5%, 80.83% 15.7%, 81.67% 19.5%, 82.50% 22.5%, 83.33% 21.6%, 84.17% 25.7%, 85.00% 27.3%, 85.83% 25.3%, 86.67% 17.2%, 87.50% 14.1%, 88.33% 7.4%, 89.17% 2.8%, 90.00% 0.0%, 90.83% 6.5%, 91.67% 14.5%, 92.50% 19.4%, 93.33% 28.0%, 94.17% 32.5%, 95.00% 30.8%, 95.83% 31.8%, 96.67% 40.6%, 97.50% 42.1%, 98.33% 42.6%, 99.17% 52.9%, 100.00% 56.3%, 100% 100%); }
.join--ridge-b { --join-shape: polygon(0% 100%, 0.00% 50.1%, 0.83% 48.0%, 1.67% 42.7%, 2.50% 34.5%, 3.33% 28.9%, 4.17% 22.7%, 5.00% 18.5%, 5.83% 28.9%, 6.67% 31.3%, 7.50% 33.0%, 8.33% 27.6%, 9.17% 29.7%, 10.00% 24.8%, 10.83% 8.9%, 11.67% 20.0%, 12.50% 25.7%, 13.33% 25.7%, 14.17% 35.5%, 15.00% 37.5%, 15.83% 34.3%, 16.67% 28.0%, 17.50% 17.1%, 18.33% 24.6%, 19.17% 28.8%, 20.00% 22.9%, 20.83% 27.9%, 21.67% 40.5%, 22.50% 46.3%, 23.33% 45.4%, 24.17% 37.7%, 25.00% 30.8%, 25.83% 29.8%, 26.67% 24.3%, 27.50% 10.9%, 28.33% 12.8%, 29.17% 18.5%, 30.00% 19.9%, 30.83% 28.3%, 31.67% 23.5%, 32.50% 16.3%, 33.33% 23.2%, 34.17% 13.4%, 35.00% 18.6%, 35.83% 21.5%, 36.67% 25.2%, 37.50% 28.7%, 38.33% 31.3%, 39.17% 31.5%, 40.00% 21.3%, 40.83% 31.1%, 41.67% 28.1%, 42.50% 24.5%, 43.33% 31.1%, 44.17% 28.5%, 45.00% 21.7%, 45.83% 28.3%, 46.67% 34.4%, 47.50% 29.4%, 48.33% 14.7%, 49.17% 19.6%, 50.00% 7.6%, 50.83% 0.0%, 51.67% 10.0%, 52.50% 16.2%, 53.33% 20.1%, 54.17% 19.9%, 55.00% 22.7%, 55.83% 27.5%, 56.67% 32.0%, 57.50% 28.6%, 58.33% 42.4%, 59.17% 50.2%, 60.00% 56.2%, 60.83% 57.0%, 61.67% 52.9%, 62.50% 51.7%, 63.33% 54.6%, 64.17% 59.1%, 65.00% 61.8%, 65.83% 69.0%, 66.67% 79.9%, 67.50% 78.1%, 68.33% 88.0%, 69.17% 87.8%, 70.00% 73.1%, 70.83% 59.2%, 71.67% 59.1%, 72.50% 49.4%, 73.33% 37.4%, 74.17% 27.1%, 75.00% 30.9%, 75.83% 36.9%, 76.67% 40.2%, 77.50% 43.7%, 78.33% 46.7%, 79.17% 58.7%, 80.00% 68.5%, 80.83% 73.5%, 81.67% 75.8%, 82.50% 72.6%, 83.33% 69.0%, 84.17% 76.3%, 85.00% 78.9%, 85.83% 78.0%, 86.67% 74.7%, 87.50% 66.4%, 88.33% 60.1%, 89.17% 45.4%, 90.00% 41.1%, 90.83% 37.5%, 91.67% 43.1%, 92.50% 48.8%, 93.33% 53.6%, 94.17% 58.8%, 95.00% 59.0%, 95.83% 66.8%, 96.67% 63.1%, 97.50% 70.5%, 98.33% 74.2%, 99.17% 80.3%, 100.00% 81.4%, 100% 100%); }
[data-atmosphere="night"] > .join { --join-rim: rgba(240, 120, 89, 0.9); }
.before-join { padding-bottom: calc(clamp(48px, 6.4vw, 92px) + var(--join-h) * 0.85); }
.over { position: relative; z-index: 2; margin-top: calc(-1 * (clamp(48px, 6.4vw, 92px) + var(--join-h) * 0.5 + var(--over-up, 30px))); margin-bottom: clamp(30px, 4.4vw, 60px); }
.marks { position: absolute; z-index: 0; inset: calc(-1 * var(--marks-up, 170px)) 0 0 0; overflow: hidden; pointer-events: none; }
.has-marks > .wrap { position: relative; z-index: 1; }
.mark { position: absolute; top: calc(var(--marks-up, 170px) - var(--rise, clamp(80px, 9vw, 140px))); width: clamp(230px, 30vw, 470px); aspect-ratio: 1; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: rgba(42, 111, 230, 0.36); }
.mark--right { right: clamp(-80px, -3.5vw, -24px); }
.mark--left { left: clamp(-80px, -3.5vw, -24px); }
.mark--mid { right: 22%; }
[data-atmosphere="night"] > .marks .mark { color: rgba(240, 120, 89, 0.5); }

.before-rise { padding-bottom: calc(var(--limb-drop) + clamp(64px, 8vw, 120px)); }

.pool { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(calc(26px + 2vw)); opacity: 0.9; }
.pool--coral { background: radial-gradient(closest-side, rgba(240, 120, 89, 0.55), rgba(240, 120, 89, 0)); }
.pool--blush { background: radial-gradient(closest-side, rgba(254, 207, 181, 0.95), rgba(254, 207, 181, 0)); }
.pool--red { background: radial-gradient(closest-side, rgba(237, 34, 36, 0.42), rgba(237, 34, 36, 0)); }
.pool--blue { background: radial-gradient(closest-side, rgba(26, 92, 255, 0.3), rgba(26, 92, 255, 0)); }
.pool--sky { background: radial-gradient(closest-side, rgba(86, 150, 255, 0.28), rgba(86, 150, 255, 0)); }
.pool--white { background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0)); }

.glass { position: relative; border-radius: var(--r-lg); background: var(--glass-solid); box-shadow: var(--glass-shadow); isolation: isolate; }
@supports ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) {
  .glass { background: var(--glass-fill); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
}
.glass::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; background: var(--glass-edge); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.glass--glint::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; opacity: var(--lit, 0); transition: opacity 0.5s var(--ease);
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), var(--glint), rgba(255, 255, 255, 0) 70%); }
.glass > * { position: relative; z-index: 3; }
.glass--ember { --glass-fill: linear-gradient(180deg, rgba(237, 34, 36, 0.2), rgba(237, 34, 36, 0.07)); --glass-solid: rgba(74, 20, 22, 0.94); --glass-edge: linear-gradient(135deg, rgba(254, 207, 181, 0.85), rgba(237, 34, 36, 0.32) 40%, rgba(237, 34, 36, 0.16) 62%, rgba(254, 207, 181, 0.7)); }
[data-atmosphere="day"] .glass--ember { --glass-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 228, 224, 0.62)); --glass-solid: #fdf0ee; --glass-edge: linear-gradient(135deg, #fff, rgba(237, 34, 36, 0.38) 40%, rgba(237, 34, 36, 0.2) 62%, #fff); }
.glass--lift { transition: translate 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.glass--lift:hover, .glass--lift:focus-within { translate: 0 -4px; }

[data-atmosphere="day"] { --plate-fill: linear-gradient(130deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.16)); --plate-edge: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.7) 34%, rgba(255, 255, 255, 0.4) 66%, rgba(255, 255, 255, 0.95)); --plate-shadow: 0 26px 56px -14px rgba(16, 34, 72, 0.4), 0 2px 6px rgba(16, 34, 72, 0.13), inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
[data-atmosphere="night"] { --plate-fill: linear-gradient(130deg, rgba(246, 241, 236, 0.24), rgba(246, 241, 236, 0.06)); --plate-edge: linear-gradient(135deg, rgba(255, 238, 206, 0.9), rgba(255, 249, 240, 0.3) 34%, rgba(255, 249, 240, 0.12) 66%, rgba(254, 207, 181, 0.7)); --plate-shadow: 0 30px 64px -16px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.plate { --tilt: -3deg; position: relative; display: block; padding: clamp(7px, 1vw, 15px); border-radius: var(--r-md); rotate: var(--tilt); background: var(--plate-fill); box-shadow: var(--plate-shadow); transition: rotate 0.7s var(--ease), translate 0.7s var(--ease); }
@supports ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) {
  .plate { -webkit-backdrop-filter: blur(9px) saturate(1.3); backdrop-filter: blur(9px) saturate(1.3); }
}
.plate::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; background: var(--plate-edge); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.plate img { position: relative; width: 100%; border-radius: 1px; }
.plate--right { --tilt: 3deg; }
.plate--flat { --tilt: 0deg; }
.scene { position: relative; margin: 0 0 clamp(26px, 4vw, 54px); }
.scene__site { --tilt: 0deg; padding: clamp(5px, 0.7vw, 10px); }
.scene__site img { aspect-ratio: 3 / 2; object-fit: cover; object-position: top; }
.scene__site--photo img { object-position: center; }
.scene__pin { position: absolute; right: -4%; bottom: -11%; width: 34%; --tilt: 4deg; padding: clamp(4px, 0.5vw, 8px); }
.scene__pin img { aspect-ratio: 4 / 3; object-fit: cover; }
.scene--left .scene__pin { right: auto; left: -4%; --tilt: -4deg; }


.opening { display: grid; align-items: center; min-height: min(100svh, 880px); padding-top: clamp(104px, 15vh, 170px); overflow: hidden; }
.opening__in { position: relative; z-index: 1; display: grid; justify-items: start; gap: clamp(16px, 2.2vw, 28px); text-align: left; }
.opening__in .lead { text-shadow: 0 1px 20px rgba(11, 10, 11, 0.6); }
.opening__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.opening--center .opening__in { justify-items: center; text-align: center; }
.opening--center .opening__in .lead { margin-inline: auto; }
.opening--center .opening__actions { justify-content: center; }
.opening--page { min-height: 0; padding-top: clamp(120px, 17vh, 190px); }
[data-atmosphere="day"].opening .opening__in .lead { text-shadow: none; }

.opening--eclipse { min-height: min(100svh, 860px); padding-bottom: clamp(84px, 11vw, 150px); }
.opening--eclipse .ring__disc, .opening--eclipse .ring__edge { left: 50%; top: 14%; height: 92%; aspect-ratio: 1; translate: -50% 0; }
.opening--eclipse .ring__edge { -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 91%); mask-image: linear-gradient(to bottom, #000 76%, transparent 91%); }
.opening--eclipse .beams { --bx: 50%; --by: 60%; }
.opening--sun { min-height: min(92svh, 780px); padding-bottom: clamp(56px, 7vw, 104px); }
.opening--sun .ring { --turn: -135deg; --arc: 1.5; }
.opening--sun .beams { --turn: -135deg; --bx: 88%; --by: 6%; }
.opening--sun .ring__disc, .opening--sun .ring__edge { width: clamp(420px, 60vw, 980px); aspect-ratio: 1; right: calc(-1 * clamp(130px, 19vw, 300px)); top: calc(-1 * clamp(200px, 28vw, 450px)); }
@supports (width: 1cqw) { .opening--sun .ring__disc, .opening--sun .ring__edge { width: clamp(420px, 60cqw, 980px); right: calc(-1 * clamp(130px, 19cqw, 300px)); top: calc(-1 * clamp(200px, 28cqw, 450px)); } }
.opening--glass { min-height: 0; padding-bottom: clamp(60px, 7.4vw, 112px); }
.opening__split { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 84px); }
.opening__figure { position: relative; container-type: inline-size; }
.opening__figure > .ring, .opening__figure > .beams { inset: -340px; }
.opening__figure > .ring { --turn: 40deg; --arc: 1.4; }
.opening__figure > .beams { --turn: 40deg; --bx: 70%; --by: 34%; }
.opening__figure .ring__disc, .opening__figure .ring__edge { left: calc(340px + 42%); top: calc(340px - 14%); width: 72%; aspect-ratio: 1; }
@supports (width: 1cqw) { .opening__figure .ring__disc, .opening__figure .ring__edge { left: calc(340px + 40cqw); top: calc(340px - 17cqw); width: 70cqw; } }
.opening__figure > :not(.ring):not(.beams) { position: relative; z-index: 1; }
.opening__figure .scene { margin-bottom: clamp(20px, 3.4vw, 44px); }
.opening--glass .mega { font-size: clamp(2.8rem, calc((min(100vw, 1240px) - 2 * var(--gutter)) * 0.49 / (var(--n, 8) * 0.5)), 15rem); }
@media (max-width: 860px) { .opening__split { grid-template-columns: minmax(0, 1fr); } .opening__figure { width: min(100%, 34rem); } .opening--glass .mega { font-size: clamp(2.8rem, calc((100vw - 2 * var(--gutter)) / (var(--n, 8) * 0.5)), 15rem); } }
.opening--quiet, .rise--low { --limb-drop: 4.19vw; }
@supports (width: 1cqw) { .opening--quiet, .rise--low { --limb-drop: 4.19cqw; } }
.opening--quiet { padding-top: clamp(104px, 14vh, 150px); }
.opening--quiet.before-rise { padding-bottom: calc(var(--limb-drop) + clamp(44px, 5.6vw, 84px)); }
.rise--low > .limb { --glow: 150px; --fire: 0.44; --under: clamp(84px, 33vw, 250px); }
.rise--low > .limb::before, .rise--low > .limb::after { width: 600vw; width: 600cqw; }
.rise > .beams { position: absolute; z-index: 0; --limb-r: 115vw;
  -webkit-mask-image: radial-gradient(circle var(--limb-r) at 50% var(--limb-r), #000 calc(100% - 1px), transparent), linear-gradient(#000, #000);
  mask-image: radial-gradient(circle var(--limb-r) at 50% var(--limb-r), #000 calc(100% - 1px), transparent), linear-gradient(#000, #000);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 0 0, 0 100%; mask-position: 0 0, 0 100%;
  -webkit-mask-size: 100% 100%, 100% calc(100% - var(--limb-drop)); mask-size: 100% 100%, 100% calc(100% - var(--limb-drop)); }
@supports (width: 1cqw) { .rise > .beams { --limb-r: 115cqw; } }
.rise--low > .beams { --limb-r: 300vw; }
@supports (width: 1cqw) { .rise--low > .beams { --limb-r: 300cqw; } }
.sunset > .beams > * { -webkit-mask-image: linear-gradient(to bottom, #000 36%, transparent 95%); mask-image: linear-gradient(to bottom, #000 36%, transparent 95%); }
.sunset { padding-bottom: clamp(60px, 8vw, 116px); }
.sunset > .wrap { padding-top: clamp(20px, 4vw, 64px); }

.site-header { position: fixed; z-index: 50; top: 0; left: 50%; translate: -50% 0; width: 100%; max-width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: clamp(14px, 2vw, 24px) var(--gutter); border-radius: 0; color: var(--fg);
  transition: top 0.6s var(--ease), max-width 0.6s var(--ease), padding 0.6s var(--ease), border-radius 0.6s var(--ease), background 0.5s var(--ease), box-shadow 0.5s var(--ease), color 0.4s var(--ease); }
.site-header::before { opacity: 0; transition: opacity 0.5s var(--ease); }
.site-header.is-floating { top: clamp(8px, 1.2vw, 14px); max-width: min(1120px, 100% - 2 * clamp(8px, 1.6vw, 20px)); padding: 8px 8px 8px 22px; border-radius: var(--r-lg); }
.site-header:not(.is-floating) { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-floating::before { opacity: 1; }
.site-header[data-atmosphere="day"] .site-header__cta { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.site-header[data-atmosphere="day"] .site-header__cta:hover { --btn-bg: var(--red-fill); --btn-fg: #fff; }
.brand { justify-self: start; display: inline-flex; align-items: center; color: inherit; line-height: 0; text-decoration: none; }
.brand svg { height: clamp(18px, 1.7vw, 23px); width: auto; }
.site-nav { display: flex; gap: clamp(2px, 0.6vw, 8px); }
.site-nav a { position: relative; padding: 11px clamp(9px, 1.1vw, 15px); font: 700 0.78rem/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); text-decoration: none; transition: color 0.2s var(--ease); }
.site-nav a::after { content: ""; position: absolute; left: clamp(9px, 1.1vw, 15px); right: clamp(9px, 1.1vw, 15px); bottom: 3px; height: 2px; background: var(--red); scale: 0 1; transform-origin: 0 50%; transition: scale 0.35s var(--ease); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--fg); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { scale: 1 1; }
.site-header__end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; align-items: center; gap: 9px; min-height: 42px; padding: 0 14px; border: 0; border-radius: var(--r-btn); background: var(--field); box-shadow: inset 0 0 0 1px var(--line); font: 700 0.72rem/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.menu-btn i { position: relative; width: 16px; height: 8px; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.menu-btn i::before { top: 0; }
.menu-btn i::after { top: 6.5px; }
.menu-btn[aria-expanded="true"] i::before { top: 3.2px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { top: 3.2px; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header.is-floating { padding: 7px 7px 7px 18px; }
}
@media (max-width: 379px) { .site-header .site-header__cta { display: none; } }
.menu { position: fixed; inset: 0; z-index: 45; display: grid; align-content: center; gap: clamp(20px, 5vh, 44px); padding: 96px var(--gutter) 40px; background: rgba(11, 10, 11, 0.95); -webkit-backdrop-filter: blur(26px) saturate(1.4); backdrop-filter: blur(26px) saturate(1.4); color: var(--paper); opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease), visibility 0s; }
.menu ul { display: grid; gap: 2px; }
.menu li a { display: block; padding: 4px 0; font: 400 clamp(3rem, 15vw, 5rem)/0.96 var(--display); text-transform: uppercase; letter-spacing: 0.004em; text-decoration: none; color: var(--paper); }
.menu li a:hover { color: var(--red); }
.menu__foot { display: grid; gap: 14px; justify-items: start; }
.menu__foot a:not(.btn) { color: rgba(246, 241, 236, 0.76); text-decoration: none; }

.btn { --btn-bg: transparent; --btn-fg: var(--fg); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 0; border-radius: var(--r-btn); background: var(--btn-bg); color: var(--btn-fg); font: 700 0.78rem/1 var(--body); letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), translate 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.btn svg { width: 15px; height: 15px; flex: none; transition: translate 0.3s var(--ease); }
.btn:hover svg { translate: 3px 0; }
.btn--primary { --btn-bg: var(--red-fill); --btn-fg: #fff; box-shadow: 0 12px 30px -12px rgba(237, 34, 36, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.32); }
.btn--primary:hover { --btn-bg: #c91a1d; translate: 0 -1px; box-shadow: 0 16px 36px -12px rgba(237, 34, 36, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.36); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn--light:hover { --btn-bg: var(--red-fill); --btn-fg: #fff; }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.btn--dark:hover { --btn-bg: var(--red-fill); --btn-fg: #fff; }
.btn--glass { --btn-bg: var(--glass-solid); box-shadow: var(--glass-shadow); }
@supports ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) {
  .btn--glass { background: var(--glass-fill); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
}
.btn--glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--glass-edge); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.btn--glass:hover { translate: 0 -1px; }
.btn--sm { min-height: 40px; padding: 0 15px; font-size: 0.7rem; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 0.84rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; box-shadow: none; }
.link { display: inline-flex; align-items: center; gap: 8px; font: 700 0.78rem/1.2 var(--body); letter-spacing: 0.09em; text-transform: uppercase; color: var(--fg); text-decoration: none; padding-bottom: 6px; background: linear-gradient(var(--red), var(--red)) 0 100% / 100% 2px no-repeat; transition: background-size 0.4s var(--ease), color 0.3s var(--ease); }
.link svg { width: 14px; height: 14px; transition: translate 0.3s var(--ease); }
.link:hover { color: var(--accent); background-size: 100% 3px; }
.link:hover svg { translate: 3px 0; }
.link--out:hover svg { translate: 2px -2px; }

.ico { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.badge { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; padding: 0 14px 0 12px; border-radius: var(--r-btn); font: 700 0.7rem/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(237, 34, 36, 0.18), 0 0 14px rgba(237, 34, 36, 0.9); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 0; border-radius: var(--r-btn); background: none; box-shadow: inset 0 0 0 1px var(--line); font: 600 0.8rem/1 var(--body); letter-spacing: 0.02em; color: var(--fg-2); text-decoration: none; cursor: pointer; transition: color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.chip:hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg-3); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--fg); color: var(--bg); box-shadow: none; }

.card { display: grid; align-content: start; gap: 14px; padding: clamp(20px, 2.4vw, 32px); color: var(--fg); text-decoration: none; }
.card__text { color: var(--fg-2); font-size: 1rem; line-height: 1.55; }
.card__foot { margin-top: auto; padding-top: 10px; }
.card--service { min-height: 310px; grid-template-rows: auto 1fr auto; gap: 18px; }
.card--service h3 { font: 400 clamp(2rem, 2.8vw, 2.7rem)/0.96 var(--display); text-transform: uppercase; letter-spacing: 0.006em; }
.card--service ul { display: grid; align-content: end; gap: 6px; font-size: 0.95rem; font-weight: 500; color: var(--fg-2); }
.icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-md); color: var(--accent); background: var(--field); box-shadow: inset 0 0 0 1px var(--line); }
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.work-grid { column-gap: clamp(28px, 5vw, 72px); row-gap: clamp(30px, 4vw, 56px); }
.work { display: grid; align-content: start; gap: 8px; color: var(--fg); text-decoration: none; }
.work h3 { font: 400 clamp(1.6rem, 2.3vw, 2.1rem)/1.02 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.work p { color: var(--fg-2); }
.work:hover .scene__pin, .work:focus-visible .scene__pin { rotate: calc(var(--tilt) * 0.3); translate: 0 -6px; }
.stat { display: grid; gap: 4px; padding: clamp(20px, 2.4vw, 32px); }
.stat b { font: 400 clamp(4.2rem, 9vw, 8rem)/0.88 var(--display); }
.stat p { font-weight: 600; color: var(--fg-2); }
.person { display: grid; align-content: start; justify-items: start; gap: 4px; }
.person .plate { width: 100%; margin-bottom: 14px; --tilt: -1.6deg; }
.person:nth-child(even) .plate { --tilt: 1.4deg; }
.person .plate img { aspect-ratio: 1; object-fit: cover; background: radial-gradient(circle at 32% 24%, #3b3437, #131112 72%); }
.person h3 { font: 400 1.6rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.person p { font-size: 0.9rem; font-weight: 500; color: var(--fg-2); }

.steps { counter-reset: step; }
.step { counter-increment: step; display: grid; align-content: start; gap: 10px; padding: clamp(20px, 2.4vw, 30px); }
.step__n { display: flex; align-items: baseline; gap: 8px; font: 500 0.78rem/1 var(--mono); letter-spacing: 0.06em; color: var(--fg-3); }
.step__n::before { content: counter(step); font: 400 4.8rem/0.84 var(--display); color: var(--red); }

.path { --climb: clamp(26px, 4.2vw, 62px); --path-gap: clamp(16px, 2.6vw, 40px); position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--path-gap); padding-top: calc(2 * var(--climb)); counter-reset: step; }
.path__step { position: relative; z-index: 1; counter-increment: step; display: grid; align-content: start; justify-items: start; gap: 12px; }
.path__step:not(:last-child)::before { content: ""; position: absolute; z-index: -1; left: 33px; top: calc(33px - var(--climb)); width: calc(100% + var(--path-gap)); height: var(--climb); pointer-events: none;
  background: linear-gradient(to bottom right, rgba(237, 34, 36, 0) calc(50% - 1px), var(--red) calc(50% - 1px), var(--red) calc(50% + 1px), rgba(237, 34, 36, 0) calc(50% + 1px));
  -webkit-clip-path: inset(0 33px); clip-path: inset(0 33px); }
@media (prefers-reduced-motion: no-preference) {
  .ready .path__step::before { opacity: 0; }
  .ready .path__step.is-in::before { opacity: 1; transition: opacity 0.6s var(--ease) 1.1s; }
  @supports selector(:has(+ *)) {
    .ready .path__step:has(+ .path__step:not(.is-in))::before { opacity: 0; transition: none; }
  }
}
.path__step:nth-child(2) { margin-top: calc(-1 * var(--climb)); }
.path__step:nth-child(3) { margin-top: calc(-2 * var(--climb)); }
.path__n { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 8px; border-radius: var(--r-md); }
.path__n::after { content: counter(step); position: relative; z-index: 3; font: 400 2.6rem/1 var(--display); color: var(--red); }
.path__step p { color: var(--fg-2); max-width: 22rem; }
@media (max-width: 760px) {
  .path { grid-template-columns: minmax(0, 1fr); --path-gap: 26px; padding-top: 0; }
  .path__step:not(:last-child)::before { left: 32px; top: 66px; bottom: calc(-1 * var(--path-gap)); width: 2px; height: auto; background: var(--red); -webkit-clip-path: none; clip-path: none; }
  .path__step { grid-template-columns: 66px minmax(0, 1fr); column-gap: 18px; margin-top: 0 !important; }
  .path__n { grid-row: 1 / span 2; margin-bottom: 0; }
  .path__step > :not(.path__n) { grid-column: 2; }
}

.duos { display: grid; gap: clamp(44px, 6.4vw, 100px); }
.duo { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5.4vw, 88px); }
.duo:nth-child(even) .duo__pic { order: 2; }
.duo__pic { margin: 0; }
.duo__pic .plate { --tilt: -2.2deg; }
.duo:nth-child(even) .duo__pic .plate { --tilt: 2.2deg; }
.duo__pic img { aspect-ratio: 3 / 2; object-fit: cover; }
.duo__pic figcaption { margin-top: 18px; }
.duo__text { display: grid; gap: 14px; max-width: 31rem; }
.duo__text p { font-size: 1.125rem; line-height: 1.6; color: var(--fg-2); }
@media (max-width: 760px) { .duo { grid-template-columns: minmax(0, 1fr); } .duo:nth-child(even) .duo__pic { order: 0; } }

.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 38px); }
.field { display: grid; gap: 8px; }
.field > span { font: 700 0.72rem/1.3 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid var(--field-line); border-radius: var(--r-sm); background: var(--field); color: var(--fg); font: 400 1rem/1.4 var(--body); transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease); -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--fg-3); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px var(--focus-ring); }
.field--error input { border-color: var(--accent); }
.field small { font-size: 0.82rem; color: var(--fg-3); }
.field--error small { color: var(--accent); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--fg-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red-fill); }

.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer; font: 700 clamp(1.1rem, 1.5vw, 1.3rem)/1.25 var(--body); letter-spacing: -0.005em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.3s var(--ease), rotate 0.45s var(--ease); }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; translate: -50% -50%; background: currentColor; transition: rotate 0.45s var(--ease); }
.acc summary i::after { rotate: 90deg; }
.acc[open] summary i::after { rotate: 0deg; }
.acc summary:hover i { background: var(--field); }
.acc > div { padding: 0 54px 24px 0; color: var(--fg-2); max-width: 44rem; }

.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) auto; align-items: baseline; gap: clamp(12px, 2.4vw, 32px); padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--fg); text-decoration: none; transition: padding 0.45s var(--ease); }
.row h3 { font: 700 clamp(1.15rem, 1.7vw, 1.4rem)/1.2 var(--body); letter-spacing: -0.005em; }
.row p { margin-top: 6px; font-size: 0.95rem; color: var(--fg-2); max-width: 38rem; }
.row > svg { align-self: center; width: 18px; height: 18px; color: var(--fg-3); transition: translate 0.4s var(--ease), color 0.3s var(--ease); }
.row:hover { padding-left: 10px; }
.row:hover > svg { translate: 4px 0; color: var(--accent); }
@media (max-width: 640px) { .row { grid-template-columns: minmax(0, 1fr) auto; } .row > .label { grid-column: 1 / -1; } }

.facts { display: grid; gap: 0; }
.facts > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { padding-top: 3px; }
.facts dd { min-width: 0; color: var(--fg); overflow-wrap: anywhere; }

.strip { position: relative; display: flex; align-items: center; gap: 18px; min-height: 56px; padding: 0 22px; border-radius: var(--r-btn); overflow: hidden; }
.strip__track { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.strip__track ul { display: flex; gap: clamp(26px, 4vw, 54px); width: max-content; animation: strip 36s linear infinite; }
.strip__track li { font: 400 1.35rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; color: var(--fg-2); white-space: nowrap; }
.strip:hover .strip__track ul { animation-play-state: paused; }
@keyframes strip { to { translate: -50% 0; } }

.slab { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 7vw, 104px) clamp(22px, 5vw, 80px); box-shadow: 0 40px 90px -50px rgba(16, 34, 72, 0.9); }
.slab > *:not(.beams) { position: relative; z-index: 1; }

.site-footer { padding-block: clamp(56px, 8vw, 104px) 28px; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); padding-bottom: clamp(36px, 5vw, 64px); }
.site-footer nav ul { display: grid; gap: 10px; margin-top: 16px; }
.site-footer nav a { font-size: 0.95rem; color: var(--fg-2); text-decoration: none; transition: color 0.2s var(--ease); }
.site-footer nav a:hover { color: var(--fg); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__top > :first-child { grid-column: 1 / -1; } }

.js .reveal { opacity: 0; translate: 0 16px; transition: opacity 0.9s var(--ease), translate 0.9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }
.js:not(.ready) .reveal { animation: reveal-anyway 0.01s 3s forwards; }
@keyframes reveal-anyway { to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; translate: 0 0; }
  .strip__track ul { flex-wrap: wrap; width: auto; }
}
