/* ─────────────────────────────────────────────
   Bartek Sibiga — Lifestyle visual system
   ───────────────────────────────────────────── */

:root {
  --ink: #0a1016;
  --ink-soft: #151d26;
  --snow: #f3f6f8;
  --mist: #e8eef2;
  --ice: #5ec8d8;
  --ice-deep: #1a8fa3;
  --steel: #7e93a3;
  --warm: #e8d5b5;
  --line: rgba(10, 16, 22, 0.1);
  --line-light: rgba(243, 246, 248, 0.12);

  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space: clamp(1.1rem, 3.5vw, 2.5rem);
  --max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 0.9vw + 0.85rem, 1.125rem);
  line-height: 1.55;
  color: var(--ink);
  background: var(--snow);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

::selection {
  background: var(--ice);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: var(--space);
  top: -100px;
  z-index: 300;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--snow);
  font-weight: 600;
  border-radius: 999px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.75rem;
}

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 200, 216, 0.12), transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: multiply;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* ── Header ── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem var(--space);
  color: var(--snow);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s ease, border-color 0.35s ease, color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(243, 246, 248, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  z-index: 2;
}

.logo span {
  color: var(--ice);
}

.site-header.scrolled .logo span {
  color: var(--ice-deep);
}

.lang-switch {
  position: relative;
  margin-left: auto;
  margin-right: 1rem;
  z-index: 3;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(243, 246, 248, 0.28);
  background: rgba(10, 16, 22, 0.18);
  color: inherit;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.site-header.scrolled .lang-btn {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.lang-btn:hover,
.lang-btn[aria-expanded="true"] {
  border-color: var(--ice);
  background: rgba(94, 200, 216, 0.14);
}

.site-header.scrolled .lang-btn:hover,
.site-header.scrolled .lang-btn[aria-expanded="true"] {
  border-color: var(--ice-deep);
  background: rgba(26, 143, 163, 0.1);
}

.lang-chevron {
  opacity: 0.7;
  transition: transform 0.25s var(--ease);
}

.lang-btn[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 7.5rem;
  display: flex;
  flex-direction: column;
  padding: 0.3rem;
  background: rgba(10, 16, 22, 0.94);
  border: 1px solid rgba(243, 246, 248, 0.12);
  box-shadow: 0 16px 40px rgba(10, 16, 22, 0.35);
  backdrop-filter: blur(14px);
}

.site-header.scrolled .lang-menu {
  background: rgba(243, 246, 248, 0.96);
  border-color: var(--line);
  box-shadow: 0 16px 40px rgba(10, 16, 22, 0.1);
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu a {
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--snow);
  opacity: 0.72;
  transition: background 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.site-header.scrolled .lang-menu a {
  color: var(--ink);
}

.lang-menu a:hover,
.lang-menu a.is-active {
  opacity: 1;
  background: rgba(94, 200, 216, 0.16);
}

.site-header.scrolled .lang-menu a:hover,
.site-header.scrolled .lang-menu a.is-active {
  background: rgba(26, 143, 163, 0.12);
  color: var(--ice-deep);
}

@media (max-width: 859px) {
  .lang-switch {
    margin-right: 0.75rem;
  }
}

/* Arabic RTL */
html[dir="rtl"] .lang-switch {
  margin-left: 1rem;
  margin-right: auto;
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .nav {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hero-content {
  direction: rtl;
}

html[dir="rtl"] .about-inner,
html[dir="rtl"] .visual-head,
html[dir="rtl"] .ddob-bar,
html[dir="rtl"] .contact-inner,
html[dir="rtl"] .site-footer {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .ddob-bar {
  flex-direction: row-reverse;
}

html[dir="rtl"] .ddob-points li,
html[dir="rtl"] .stat-strip > div,
html[dir="rtl"] .build-meta,
html[dir="rtl"] .hero-merge-cap,
html[dir="rtl"] .sm figcaption {
  text-align: right;
}

html[dir="rtl"] .contact-links {
  align-items: flex-end;
}

@media (min-width: 700px) {
  html[dir="rtl"] .hero-content {
    flex-direction: row-reverse;
    text-align: right;
  }
}

html[dir="rtl"] .hero-cta-ski {
  left: 50%;
  right: 0;
  padding-left: 0.35rem;
  padding-right: 0;
}

html[dir="rtl"] .hero-cta-stage {
  left: 0;
  right: 50%;
  padding-right: 0.35rem;
  padding-left: 0;
}

.nav {
  display: none;
  gap: 1.75rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 28px;
  z-index: 2;
  margin-left: 0.25rem;
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .lang-switch {
    margin-right: 0.25rem;
  }
}

.nav a {
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  opacity: 1 !important;
  padding: 0.5rem 1.05rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav-cta:hover {
  background: var(--snow);
  color: var(--ink);
  border-color: var(--snow);
}

.site-header.scrolled .nav-cta:hover {
  background: var(--ink);
  color: var(--snow);
  border-color: var(--ink);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 28px;
  z-index: 2;
  margin-left: 0.25rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 16, 22, 0.97);
  color: var(--snow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6vw, 2.5rem);
  font-weight: 700;
}

.mobile-nav[hidden] {
  display: none;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 560;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--snow);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--ice);
}

.btn-ghost {
  border: 1px solid rgba(243, 246, 248, 0.55);
  color: var(--snow);
  background: rgba(10, 16, 22, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--snow);
  background: rgba(243, 246, 248, 0.14);
}

.btn-light {
  background: var(--snow);
  color: var(--ink);
  align-self: center;
}

.btn-light:hover {
  background: var(--ice);
}

/* ── Shared ── */

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ice-deep);
  margin-bottom: 0.75rem;
}

.visual-head {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--space) clamp(1.5rem, 3vw, 2.25rem);
}

.visual-head.light .section-label {
  color: var(--ice);
}

.visual-head.light h2 {
  color: var(--snow);
}

.visual-head h2,
.ddob-bar h2,
.contact h2,
.build .visual-head h2 {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.visual-note {
  margin-top: 0.65rem;
  color: var(--steel);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ── Hero ── */

/* ── Hero scene (scroll merge) ── */

.hero-scene {
  position: relative;
  height: 220vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.hero {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--snow);
  overflow: hidden;
  z-index: 1;
  will-change: transform, opacity, filter;
}

.hero-split {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: 1fr;
  transition: none;
  will-change: transform, filter, gap;
}

@media (min-width: 780px) {
  .hero-split {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 50svh;
  transition: filter 0.5s var(--ease);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 22, 0.22);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 1;
}

.hero.is-ski .hero-panel-stage::after,
.hero.is-stage .hero-panel-ski::after {
  opacity: 1;
}

.hero.is-ski .hero-panel-ski,
.hero.is-stage .hero-panel-stage {
  filter: saturate(1.12) brightness(1.06);
}

.hero-img-wrap {
  position: absolute;
  inset: -8%;
  will-change: transform;
}

.hero-img-wrap .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel-ski .hero-img-wrap {
  /* Extra image above so we can shift the frame down without gaps */
  inset: -28% -4% 0 -4%;
  animation: kenSki 32s ease-in-out infinite alternate;
}

.hero-panel-stage .hero-img-wrap {
  animation: kenStage 32s ease-in-out infinite alternate;
}

.hero-panel-ski .hero-img {
  object-position: 50% 0%;
}

.hero-panel-stage .hero-img {
  object-position: center 42%;
}

@keyframes kenSki {
  /* Zoomed out + shifted as far down as possible while keeping the rider visible */
  0% {
    transform: scale(1.05) translateY(18%);
  }
  50% {
    transform: scale(1.07) translateY(16%);
  }
  100% {
    transform: scale(1.04) translateY(20%);
  }
}

@keyframes kenStage {
  0% {
    transform: scale(1.1) translate(-1%, 0.5%);
  }
  50% {
    transform: scale(1.06) translate(1.4%, -1%);
  }
  100% {
    transform: scale(1.12) translate(-0.4%, 0.8%);
  }
}

@media (min-width: 780px) {
  .hero-panel {
    min-height: 100%;
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(10, 16, 22, 0.42), rgba(10, 16, 22, 0.7) 68%, rgba(10, 16, 22, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 16, 22, 0.2) 0%, transparent 28%, transparent 62%, rgba(10, 16, 22, 0.35) 100%),
    linear-gradient(90deg, rgba(10, 16, 22, 0.18), transparent 40%, transparent 60%, rgba(10, 16, 22, 0.18));
  pointer-events: none;
}

.hero-cta-slot {
  position: absolute;
  z-index: 6;
  display: flex;
  justify-content: center;
  pointer-events: none;
  bottom: clamp(1.25rem, 4vw, 2.5rem);
  top: auto;
}

.hero-cta-slot .hero-cta {
  pointer-events: auto;
  animation: fadeUp 1s 0.65s var(--ease) both;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
}

/* Mobile: both CTAs sit side-by-side at the bottom */
.hero-cta-ski {
  left: 0;
  right: 50%;
  padding-right: 0.35rem;
}

.hero-cta-ski .hero-cta {
  animation-delay: 0.6s;
}

.hero-cta-stage {
  left: 50%;
  right: 0;
  padding-left: 0.35rem;
}

.hero-cta-stage .hero-cta {
  animation-delay: 0.75s;
}

@media (min-width: 780px) {
  .hero-cta-ski {
    padding-right: 0;
  }

  .hero-cta-stage {
    padding-left: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 5.5rem var(--space) 5.5rem;
  max-width: 40rem;
  pointer-events: none;
}

.hero-content a,
.hero-portrait {
  pointer-events: auto;
}

@media (min-width: 700px) {
  .hero-content {
    flex-direction: row;
    text-align: left;
    gap: 2rem;
    max-width: 52rem;
    padding: 6rem var(--space) 5rem;
  }
}

.hero-portrait {
  width: clamp(110px, 18vw, 160px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid rgba(243, 246, 248, 0.85);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  animation: fadeUp 1s 0.15s var(--ease) both;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
  animation: fadeUp 1s 0.3s var(--ease) both;
}

.hero-love {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--warm);
  margin-bottom: 0;
  animation: fadeUp 1s 0.45s var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── About ── */

.about {
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--space);
  background: rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid var(--line);
}

.about-inner {
  width: min(100%, 720px);
  margin: 0 auto;
}

.about-inner h2 {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

.about-lead {
  font-size: clamp(1.1rem, 1.3vw + 0.9rem, 1.3rem);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.about-inner p:not(.section-label):not(.about-lead) {
  color: rgba(10, 16, 22, 0.68);
}

.about-inner strong {
  font-weight: 600;
  color: var(--ink);
}

.stages .visual-note {
  color: rgba(243, 246, 248, 0.62);
  max-width: 40rem;
}

.visual-note {
  max-width: 40rem;
}

.ddob-bar p {
  max-width: 40rem;
}

/* ── Hero merge photo ── */

.hero-merge {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.12);
  clip-path: inset(100% 0 0 0);
  will-change: transform, opacity, clip-path;
}

.hero-merge-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero-merge-cap {
  position: absolute;
  left: var(--space);
  bottom: clamp(1.25rem, 4vw, 2.5rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: var(--snow);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(16px);
}

.hero-merge-cap span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
}

.hero-merge-cap strong {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ── Ski photo wall ── */

.visual-block {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.photo-wall {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--space);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

@media (min-width: 800px) {
  .photo-wall {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 140px;
    gap: 0.75rem;
  }

  .pw-hero {
    grid-column: 1 / span 8;
    grid-row: span 3;
  }

  .pw-a {
    grid-column: 9 / span 4;
    grid-row: span 2;
  }

  .pw-b {
    grid-column: 9 / span 4;
    grid-row: span 1;
  }

  .pw-c {
    grid-column: 1 / span 4;
    grid-row: span 2;
  }

  .pw-d {
    grid-column: 5 / span 4;
    grid-row: span 2;
  }

  .pw-e {
    grid-column: 9 / span 4;
    grid-row: span 2;
  }

  .pw-f {
    grid-column: 1 / span 4;
    grid-row: span 2;
  }

  .pw-g {
    grid-column: 5 / span 8;
    grid-row: span 2;
  }
}

.pw {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
  min-height: 180px;
}

.pw img {
  transition: transform 1s var(--ease);
}

.pw:hover img {
  transform: scale(1.05);
}

.stat-strip {
  width: min(100%, var(--max));
  margin: clamp(3rem, 7vw, 5.5rem) auto 0;
  padding: 0 var(--space);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ice);
  box-shadow: 0 22px 56px rgba(10, 16, 22, 0.08);
}

@media (min-width: 720px) {
  .stat-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) {
  .stat-strip {
    margin-top: clamp(4.5rem, 10vw, 7.5rem);
    margin-bottom: 1.25rem;
  }
}

.stat-strip > div {
  background: rgba(255, 255, 255, 0.92);
  padding: 1.75rem 1.25rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform 0.35s var(--ease), background 0.35s ease;
}

@media (min-width: 900px) {
  .stat-strip > div {
    padding: 3rem 1.75rem 3.15rem;
    gap: 0.7rem;
    min-height: 12rem;
    justify-content: center;
  }
}

.stat-strip strong {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
}

.stat-strip span {
  font-size: clamp(0.9rem, 1.25vw, 1.15rem);
  color: var(--steel);
  line-height: 1.35;
}

/* ── DDOB ── */

.ddob {
  background: var(--ink);
  color: var(--snow);
}

.ddob-shot {
  overflow: hidden;
}

.ddob-shot img {
  aspect-ratio: 16 / 8;
  min-height: 300px;
  max-height: 70vh;
  transition: transform 1.2s var(--ease);
}

.ddob:hover .ddob-shot img {
  transform: scale(1.03);
}

.ddob-bar {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.5rem) var(--space);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.ddob-bar .section-label {
  color: var(--ice);
}

.ddob-bar h2 {
  margin-bottom: 0.5rem;
}

.ddob-bar p {
  max-width: 36rem;
  color: rgba(243, 246, 248, 0.7);
  font-size: 1rem;
}

/* ── Build ── */

.build {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(94, 200, 216, 0.12), transparent 55%),
    var(--snow);
}

.build-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--space);
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 800px) {
  .build-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.build-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink);
  color: var(--snow);
}

.build-card img {
  transition: transform 1s var(--ease), opacity 0.4s ease;
  opacity: 0.88;
}

.build-card:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.build-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem 1.35rem;
  background: linear-gradient(transparent, rgba(10, 16, 22, 0.92));
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.build-meta span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
}

.build-meta strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.build-meta em {
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(243, 246, 248, 0.65);
}

/* ── Stages ── */

.stages {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: var(--ink);
  color: var(--snow);
}

.stage-mosaic {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--space);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

@media (min-width: 800px) {
  .stage-mosaic {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 160px;
  }

  .sm-tedx {
    grid-column: 1 / span 8;
    grid-row: span 3;
  }

  .sm-ibw {
    grid-column: 9 / span 4;
    grid-row: span 3;
  }

  .sm-quant {
    grid-column: 1 / span 4;
    grid-row: span 2;
  }

  .sm-ddob {
    grid-column: 5 / span 4;
    grid-row: span 2;
  }

  .sm-slopes {
    grid-column: 9 / span 4;
    grid-row: span 2;
  }
}

.sm {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  background: var(--ink-soft);
}

.sm img {
  transition: transform 1s var(--ease);
}

.sm:hover img {
  transform: scale(1.04);
}

.sm figcaption {
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--snow);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.event-chips {
  width: min(100%, var(--max));
  margin: 2rem auto 0;
  padding: 0 var(--space);
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
}

@media (min-width: 800px) {
  .event-chips {
    display: none;
  }
}

@media (max-width: 799px) {
  .event-marquee {
    display: none;
  }
}

.event-chips li {
  font-size: 0.8rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line-light);
  color: rgba(243, 246, 248, 0.65);
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.event-chips li:hover {
  transform: translateY(-3px) rotate(-1deg);
  background: rgba(94, 200, 216, 0.15);
  border-color: var(--ice);
  color: var(--snow);
}

/* ── Contact ── */

.contact {
  padding: clamp(4rem, 10vw, 7rem) var(--space);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
  background:
    radial-gradient(600px 320px at 50% 0%, rgba(94, 200, 216, 0.16), transparent 60%),
    var(--snow);
}

.contact-portrait {
  width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(10, 16, 22, 0.08);
}

.contact-inner p {
  margin: 0.65rem auto 1.75rem;
  color: var(--steel);
  max-width: 24rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.contact-link {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
}

.contact-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--ice-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.contact-link:hover {
  color: var(--ice-deep);
}

.contact-link:hover::after {
  transform: scaleX(1);
}

/* ── Footer ── */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.35rem var(--space);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--steel);
}

.footer-note {
  font-style: italic;
}

/* ── Interactive extras ── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ice), #9fe7f0);
  box-shadow: 0 0 12px rgba(94, 200, 216, 0.55);
  transition: width 0.05s linear;
}

.cursor-dot {
  pointer-events: none;
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ice);
  mix-blend-mode: difference;
  z-index: 999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.25s ease;
}

.cursor-dot.on-link {
  width: 42px;
  height: 42px;
  background: rgba(94, 200, 216, 0.35);
}

.snow {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  opacity: 0.58;
}

.magnetic {
  will-change: transform;
}

.tilt {
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease);
}

.pw,
.sm,
.build-card,
.ddob-shot {
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease;
}

.pw:hover,
.sm:hover,
.build-card:hover {
  box-shadow: 0 18px 40px rgba(10, 16, 22, 0.18);
  z-index: 2;
}

.event-marquee {
  width: 100%;
  overflow: hidden;
  margin: 2rem 0 1.25rem;
  border-block: 1px solid var(--line-light);
  padding: 0.9rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.event-marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 42s linear infinite;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: rgba(243, 246, 248, 0.55);
}

.event-marquee-track span::before {
  content: "·";
  margin-right: 2.5rem;
  color: var(--ice);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.stat-strip > div:hover {
  transform: translateY(-5px);
  background: #fff;
}

.hero-portrait {
  transition: transform 0.5s var(--ease);
}

.hero-portrait:hover {
  transform: scale(1.06) rotate(-2deg);
}

.contact-portrait {
  transition: transform 0.5s var(--ease);
}

.contact-portrait:hover {
  transform: scale(1.08) rotate(2deg);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-scene {
    height: auto;
  }

  .hero-sticky {
    position: relative;
    height: auto;
  }

  .hero {
    position: relative;
    min-height: 100svh;
    opacity: 1 !important;
  }

  .hero-merge {
    position: relative;
    inset: auto;
    height: min(72vh, 640px);
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .hero-merge-cap {
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal,
  .hero-portrait,
  .hero-text h1,
  .hero-love,
  .hero-img-wrap,
  .hero-cta {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .cursor-glow,
  .cursor-dot,
  .snow,
  .event-marquee {
    display: none !important;
  }

  .event-marquee-track {
    animation: none;
  }
}
