/* ── Reset & base ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050609;
  --surface: #101218;
  --surface-panel: rgba(14, 16, 22, 0.78);
  --surface-card: rgba(12, 14, 19, 0.82);
  --text: #f7eddf;
  --text-muted: rgba(247, 237, 223, 0.62);
  --accent: #ff5a1f;
  --accent-core: #eb4710;
  --accent-hot: #ff7a33;
  --accent-glow: #ff9a55;
  --accent-soft: rgba(255, 90, 31, 0.32);
  --panel-border: rgba(255, 154, 85, 0.14);
  --panel-radius: clamp(22px, 4vw, 36px);
  --panel-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 28px 92px rgba(0, 0, 0, 0.44),
    0 0 54px rgba(235, 71, 16, 0.08);
  --reveal-duration: 1.1s;
  --font-display: "Syne", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --font: var(--font-body);
}

html,
body {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

html {
  scroll-behavior: smooth;
  touch-action: manipulation;
}

body {
  position: relative;
  overflow-x: hidden;
  touch-action: manipulation;
  font-family: var(--font);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 90, 31, 0.18), transparent 28rem),
    radial-gradient(circle at 86% 28%, rgba(255, 154, 85, 0.1), transparent 30rem),
    radial-gradient(circle at 44% 92%, rgba(235, 71, 16, 0.14), transparent 36rem),
    linear-gradient(135deg, #020306 0%, #080a0f 48%, #121016 100%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: 1.25rem 1.25rem clamp(4.5rem, 8vw, 7rem);
}

/* ── Scroll fuse ──────────────────────────────────────────────── */
.fuse-overlay {
  --fuse-progress: 0;
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 8;
  width: 100%;
  height: var(--fuse-doc-height, 100vh);
  overflow: hidden;
  pointer-events: none;
}

.fuse-overlay__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.fuse-overlay__rope,
.fuse-overlay__burned,
.fuse-overlay__ember-trail {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.fuse-overlay__rope {
  stroke: url("#fuse-rope-gradient");
  stroke-width: 7;
  opacity: 0.48;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.34));
}

.fuse-overlay__burned {
  stroke: url("#fuse-burn-gradient");
  stroke-width: 5;
  stroke-dasharray: var(--fuse-progress) 1;
  opacity: 0.92;
  filter: url("#fuse-glow");
}

.fuse-overlay__ember-trail {
  stroke: rgba(255, 177, 104, 0.72);
  stroke-width: 1.4;
  stroke-dasharray: var(--fuse-progress) 1;
  opacity: 0.42;
  filter: drop-shadow(0 0 12px rgba(255, 90, 31, 0.46));
}

.fuse-spark {
  --spark-angle: 0deg;
  --spark-x: -100px;
  --spark-y: -100px;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--spark-x), var(--spark-y), 0) translate(-50%, -50%);
  transition: none;
  will-change: transform, opacity;
}

.fuse-spark.is-visible {
  opacity: 1;
}

.fuse-spark__core,
.fuse-spark__flame,
.fuse-spark__smoke {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.fuse-spark__core {
  width: 0.68rem;
  height: 0.68rem;
  background:
    radial-gradient(circle at 38% 30%, #fff7dc 0 18%, #ffbe73 28%, #ff5a1f 58%, transparent 70%);
  box-shadow:
    0 0 12px rgba(255, 242, 198, 0.94),
    0 0 28px rgba(255, 90, 31, 0.78),
    0 0 56px rgba(235, 71, 16, 0.5);
}

.fuse-spark__flame {
  width: 1.45rem;
  height: 2.1rem;
  background:
    radial-gradient(ellipse at 50% 22%, rgba(255, 248, 212, 0.95) 0 12%, transparent 26%),
    radial-gradient(ellipse at 52% 42%, rgba(255, 147, 73, 0.9) 0 38%, rgba(235, 71, 16, 0.72) 62%, transparent 74%);
  filter: blur(0.35px) saturate(1.18);
  mix-blend-mode: screen;
  transform:
    translate(-50%, -74%)
    rotate(calc(var(--spark-angle) - 12deg))
    scaleY(1.08);
  transform-origin: 50% 85%;
  animation: fuse-flame-flicker 820ms ease-in-out infinite alternate;
}

.fuse-spark__smoke {
  width: 2.6rem;
  height: 2.6rem;
  background:
    radial-gradient(circle, rgba(212, 188, 166, 0.16), transparent 62%);
  filter: blur(7px);
  opacity: 0.48;
  transform:
    translate(-72%, -66%)
    rotate(calc(var(--spark-angle) - 180deg));
}

.fuse-ember,
.fuse-smoke-puff {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 999px;
  pointer-events: none;
  will-change: transform, opacity;
}

.fuse-ember {
  width: var(--ember-size, 4px);
  height: var(--ember-size, 4px);
  background: radial-gradient(circle, #fff1bc 0 14%, #ff8a3d 42%, rgba(235, 71, 16, 0.04) 74%);
  box-shadow: 0 0 12px rgba(255, 90, 31, 0.74);
  animation: fuse-ember-fade 900ms ease-out forwards;
}

.fuse-smoke-puff {
  width: var(--smoke-size, 1.2rem);
  height: var(--smoke-size, 1.2rem);
  background: radial-gradient(circle, rgba(210, 190, 171, 0.2), rgba(91, 76, 69, 0.08) 48%, transparent 72%);
  filter: blur(5px);
  mix-blend-mode: screen;
  animation: fuse-smoke-drift 1600ms ease-out forwards;
}

.fuse-ready .fuse-section .fuse-reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 0.85s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.85s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fuse-ready .fuse-section.is-ignited .fuse-reveal {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

[data-fuse-heading] {
  position: relative;
  transition:
    color 0.65s ease,
    text-shadow 0.65s ease,
    filter 0.65s ease;
}

[data-fuse-heading]::after {
  content: "";
  position: absolute;
  inset: -0.2em -0.18em;
  z-index: -1;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 122, 51, 0.22), transparent);
  opacity: 0;
  filter: blur(14px);
  transform: scaleX(0.58);
  transform-origin: left center;
  transition:
    opacity 0.65s ease,
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fuse-section.is-ignited [data-fuse-heading] {
  color: #fff2df;
  filter: saturate(1.06);
  text-shadow:
    0 0 18px rgba(255, 122, 51, 0.42),
    0 0 42px rgba(235, 71, 16, 0.22);
}

.fuse-section.is-ignited [data-fuse-heading]::after {
  opacity: 1;
  transform: scaleX(1);
}

.fuse-section.is-igniting [data-fuse-heading] {
  animation: fuse-heading-ignite 880ms ease-out;
}

.fuse-section.is-igniting [data-fuse-heading]::after {
  animation: fuse-heading-glow 880ms ease-out;
}

@keyframes fuse-flame-flicker {
  0% {
    opacity: 0.82;
    transform:
      translate(-50%, -74%)
      rotate(calc(var(--spark-angle) - 16deg))
      scale(0.94, 1.02);
  }

  100% {
    opacity: 1;
    transform:
      translate(-50%, -78%)
      rotate(calc(var(--spark-angle) - 6deg))
      scale(1.08, 1.18);
  }
}

@keyframes fuse-heading-ignite {
  0%,
  100% {
    filter: saturate(1.06);
  }

  35% {
    filter: saturate(1.38) brightness(1.12);
    text-shadow:
      0 0 24px rgba(255, 190, 115, 0.72),
      0 0 58px rgba(235, 71, 16, 0.42);
  }
}

@keyframes fuse-heading-glow {
  0% {
    opacity: 0;
    transform: scaleX(0.4);
  }

  42% {
    opacity: 1;
    transform: scaleX(1.08);
  }

  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes fuse-ember-fade {
  0% {
    opacity: 0.95;
    transform: translate3d(var(--ember-x), var(--ember-y), 0) scale(1);
  }

  100% {
    opacity: 0;
    transform:
      translate3d(
        calc(var(--ember-x) + var(--ember-drift-x)),
        calc(var(--ember-y) + var(--ember-drift-y)),
        0
      )
      scale(0.22);
  }
}

@keyframes fuse-smoke-drift {
  0% {
    opacity: 0.32;
    transform: translate3d(var(--smoke-x), var(--smoke-y), 0) scale(0.72);
  }

  100% {
    opacity: 0;
    transform:
      translate3d(
        calc(var(--smoke-x) + var(--smoke-drift-x)),
        calc(var(--smoke-y) + var(--smoke-drift-y)),
        0
      )
      scale(1.55);
  }
}

section[id] {
  scroll-margin-top: 6.5rem;
}

.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;
}

/* ── Header navigation ────────────────────────────────────────── */
.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 1.25rem 0;
  pointer-events: none;
}

.site-nav {
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 0.75rem;
  margin-inline: auto;
  padding: 0.62rem;
  border: 1px solid rgba(255, 154, 85, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(5, 6, 9, 0.82), rgba(16, 18, 24, 0.74), rgba(5, 6, 9, 0.82)),
    radial-gradient(circle at 12% 0%, rgba(255, 90, 31, 0.12), transparent 18rem);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 18px 54px rgba(0, 0, 0, 0.28),
    0 0 32px rgba(235, 71, 16, 0.08);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.site-nav__brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  color: var(--text);
  text-decoration: none;
}

.site-nav__mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 90, 31, 0.38);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(235, 71, 16, 0.96), rgba(109, 30, 8, 0.96));
  color: #fff8f0;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 10px 26px rgba(235, 71, 16, 0.22);
}

.site-nav__name {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.site-nav__links a,
.site-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.18s ease;
}

.site-nav__links a {
  padding: 0.68rem 0.78rem;
  border: 1px solid transparent;
  color: rgba(247, 237, 223, 0.74);
}

.site-nav__links a:hover {
  border-color: rgba(255, 122, 51, 0.38);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.site-nav__cta {
  padding: 0.78rem 1rem;
  border: 1px solid rgba(255, 90, 31, 0.42);
  background:
    linear-gradient(180deg, rgba(235, 71, 16, 0.96), rgba(166, 45, 9, 0.96));
  color: #fff8f0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 12px 28px rgba(235, 71, 16, 0.2);
}

.site-nav__cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 16px 34px rgba(235, 71, 16, 0.3);
}

.site-nav__lang {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem;
  border: 1px solid rgba(255, 154, 85, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  gap: 0.12rem;
}

.site-nav__lang-btn {
  min-width: 2.35rem;
  padding: 0.52rem 0.62rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(247, 237, 223, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.site-nav__lang-btn:hover {
  color: var(--text);
  border-color: rgba(255, 122, 51, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.site-nav__lang-btn.is-active {
  border-color: rgba(255, 90, 31, 0.48);
  background:
    linear-gradient(180deg, rgba(235, 71, 16, 0.92), rgba(128, 34, 8, 0.92));
  color: #fff8f0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 8px 20px rgba(235, 71, 16, 0.18);
}

.site-nav__lang-btn:focus-visible {
  outline: 2px solid rgba(255, 122, 51, 0.76);
  outline-offset: 3px;
}

.site-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 154, 85, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  cursor: pointer;
}

.site-nav__toggle-line,
.site-nav__toggle-line::before,
.site-nav__toggle-line::after {
  width: 1rem;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.site-nav__toggle-line {
  position: relative;
}

.site-nav__toggle-line::before,
.site-nav__toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-nav__toggle-line::before {
  transform: translateY(-0.34rem);
}

.site-nav__toggle-line::after {
  transform: translateY(0.34rem);
}

.site-nav.is-open .site-nav__toggle-line {
  background: transparent;
}

.site-nav.is-open .site-nav__toggle-line::before {
  background: var(--text);
  transform: rotate(45deg);
}

.site-nav.is-open .site-nav__toggle-line::after {
  background: var(--text);
  transform: rotate(-45deg);
}

.site-nav__brand:focus-visible,
.site-nav__links a:focus-visible,
.site-nav__cta:focus-visible,
.site-nav__lang-btn:focus-visible,
.site-nav__toggle:focus-visible {
  outline: 2px solid rgba(255, 122, 51, 0.76);
  outline-offset: 4px;
}

/* ── Stage & canvas ───────────────────────────────────────────── */
.hero {
  width: min(100%, 1120px);
  min-height: calc(100svh - 2.5rem);
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 1.35rem);
  padding: clamp(1.35rem, 3vw, 2.1rem);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 90, 31, 0.14), transparent 22rem),
    radial-gradient(circle at 86% 18%, rgba(255, 154, 85, 0.08), transparent 24rem),
    linear-gradient(180deg, var(--surface-panel), rgba(8, 9, 14, 0.78));
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(16px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 154, 85, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 90, 31, 0.026) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 72%);
}

.hero__header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.64fr);
  gap: clamp(1.25rem, 4vw, 3.5rem);
  align-items: end;
  width: 100%;
}

.hero__header .section-kicker {
  margin-bottom: 0;
}

.hero__intro {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.45vw, 1.05rem);
  line-height: 1.68;
}

.stage {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: min(72vh, 620px);
  border: 1px solid rgba(255, 154, 85, 0.14);
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 28%),
    radial-gradient(circle at 48% 18%, rgba(255, 122, 51, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(14, 16, 22, 0.72), var(--surface-card));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 20px 58px rgba(0, 0, 0, 0.34);
  touch-action: pan-y;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 154, 85, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 90, 31, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.5), transparent 70%);
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 22% 26%, rgba(255, 255, 255, 0.055), transparent 0.08rem),
    radial-gradient(circle at 68% 62%, rgba(255, 122, 51, 0.045), transparent 0.07rem);
  background-size: 3px 3px, 5px 5px;
  opacity: 0.46;
  mix-blend-mode: screen;
}

.canvas-host {
  position: absolute;
  inset: 0;
  z-index: 1;
  touch-action: pan-y;
}

.canvas-host canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.availability-pill {
  position: absolute;
  top: clamp(1rem, 2.4vw, 1.45rem);
  left: clamp(1rem, 2.4vw, 1.45rem);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  padding: 0.52rem 0.78rem;
  border: 1px solid rgba(255, 154, 85, 0.2);
  border-radius: 999px;
  background: rgba(7, 8, 12, 0.48);
  color: rgba(247, 237, 223, 0.78);
  font-size: clamp(0.68rem, 1.35vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 14px 32px rgba(0, 0, 0, 0.22),
    0 0 22px rgba(235, 71, 16, 0.08);
  backdrop-filter: blur(14px);
}

.availability-pill__dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--accent-core);
  box-shadow: 0 0 14px rgba(235, 71, 16, 0.72);
}

/* ── Title reveal (screen-reader companion; visual title is in Three.js scene) ─ */
.title-reveal {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  font-family: var(--font-display);
}

.title-reveal__subtitle {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-core);
  margin-bottom: 1.35rem;
}

.title-reveal__title {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.28;
}

.title-reveal__first {
  display: block;
  font-weight: 300;
  margin-bottom: 0.18em;
}

.title-reveal__last {
  display: block;
  font-weight: 700;
  font-size: 1.12em;
  letter-spacing: 0.045em;
  color: var(--accent-core);
}

/* ── Replay button ────────────────────────────────────────────── */
.replay-btn {
  justify-self: center;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 1.18rem;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(30, 32, 40, 0.88), rgba(10, 11, 16, 0.84));
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 34px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(255, 90, 31, 0.12);
  backdrop-filter: blur(10px);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.replay-btn[hidden] {
  display: none;
}

.replay-btn:hover {
  background:
    linear-gradient(180deg, rgba(45, 36, 32, 0.96), rgba(18, 13, 12, 0.94));
  border-color: rgba(255, 122, 51, 0.62);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 16px 38px rgba(0, 0, 0, 0.38),
    0 0 32px rgba(255, 90, 31, 0.2);
}

.replay-btn:active {
  transform: scale(0.97);
}

.replay-btn:focus-visible {
  outline: 2px solid rgba(255, 122, 51, 0.72);
  outline-offset: 3px;
}

.replay-btn__icon {
  font-size: 1.1rem;
  line-height: 1;
  color: var(--accent);
}

/* ── Technology marquee ───────────────────────────────────────── */
.tech-marquee {
  width: min(100%, 1120px);
  position: relative;
  padding: clamp(0.45rem, 1.4vw, 0.8rem) 0 clamp(0.95rem, 2.2vw, 1.35rem);
  overflow: visible;
  isolation: isolate;
}

.tech-marquee__header {
  position: relative;
  z-index: 2;
  margin-bottom: 0.7rem;
}

.tech-marquee__header .section-kicker {
  margin-bottom: 0;
}

.tech-marquee__viewport {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 154, 85, 0.1);
  border-radius: 999px;
  background: rgba(5, 6, 9, 0.32);
}

.tech-marquee__viewport::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(5, 6, 9, 0.94),
    transparent 10%,
    transparent 90%,
    rgba(5, 6, 9, 0.94)
  );
}

.tech-marquee__viewport:focus-visible {
  outline: 2px solid rgba(255, 122, 51, 0.72);
  outline-offset: 4px;
}

.tech-marquee__track {
  display: flex;
  width: max-content;
  animation: tech-marquee-scroll 34s linear infinite;
}

@media (hover: hover) and (pointer: fine) {
  .tech-marquee:hover .tech-marquee__track,
  .tech-marquee__viewport:focus-visible .tech-marquee__track {
    animation-play-state: paused;
  }
}

.tech-marquee.is-paused .tech-marquee__track {
  animation-play-state: paused;
}

.tech-marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.72rem;
  padding: 0.62rem 0.72rem;
}

.tech-marquee__group span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.58rem 0.88rem;
  border: 1px solid rgba(255, 154, 85, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 237, 223, 0.88);
  font-size: clamp(0.76rem, 1.4vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.tech-marquee__group span::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--accent-core);
  box-shadow: 0 0 12px rgba(235, 71, 16, 0.68);
}

@keyframes tech-marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ── Projects section ─────────────────────────────────────────── */
.projects {
  width: min(100%, 1120px);
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  overflow: hidden;
  overflow: clip;
  touch-action: pan-y;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 90, 31, 0.14), transparent 22rem),
    radial-gradient(circle at 86% 18%, rgba(255, 154, 85, 0.08), transparent 24rem),
    linear-gradient(180deg, var(--surface-panel), rgba(8, 9, 14, 0.78));
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(16px);
}

.projects::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 154, 85, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 90, 31, 0.026) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 72%);
}

.section-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  margin-bottom: 1.1rem;
  color: var(--accent-core);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-core));
}

.projects__header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.64fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: end;
  margin-bottom: clamp(2.25rem, 5vw, 3.8rem);
}

.projects__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.35rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.projects__intro {
  color: var(--text-muted);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  line-height: 1.7;
}

.project-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.35rem);
  touch-action: pan-y;
}

.project-card--feature {
  grid-column: 1 / -1;
  min-height: auto;
}

.project-card {
  position: relative;
  min-height: 29rem;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(255, 154, 85, 0.14);
  border-radius: 24px;
  overflow: hidden;
  overflow: clip;
  touch-action: pan-y;
  -webkit-touch-callout: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(18, 20, 27, 0.94), rgba(8, 9, 13, 0.96));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 20px 58px rgba(0, 0, 0, 0.34);
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 90, 31, 0.18), transparent 16rem),
    linear-gradient(180deg, transparent 38%, rgba(235, 71, 16, 0.08));
  opacity: 0.84;
}

.project-card::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -20%;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(255, 122, 51, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.16), transparent 58%);
  pointer-events: none;
}

.project-card--accent::before {
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 154, 85, 0.16), transparent 15rem),
    linear-gradient(180deg, transparent 40%, rgba(255, 90, 31, 0.1));
}

.project-card__meta,
.project-card__title,
.project-card__description,
.project-card__tags,
.project-card__link {
  position: relative;
  z-index: 1;
}

.project-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: auto;
}

.project-card__category,
.project-card__index {
  color: rgba(247, 237, 223, 0.54);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.project-card__index {
  color: rgba(255, 90, 31, 0.64);
}

.project-card__title {
  margin-top: clamp(4rem, 8vw, 6.2rem);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.project-card__description {
  max-width: 34rem;
  margin-top: 1.1rem;
  color: rgba(247, 237, 223, 0.68);
  font-size: 0.98rem;
  line-height: 1.72;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
  margin-top: 1.55rem;
}

.project-card__tags span {
  display: inline-flex;
  padding: 0.48rem 0.68rem;
  border: 1px solid rgba(255, 154, 85, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(247, 237, 223, 0.74);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
}

.project-card__link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.85rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 90, 31, 0.4);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(235, 71, 16, 0.96), rgba(166, 45, 9, 0.96));
  color: #fff8f0;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 12px 28px rgba(235, 71, 16, 0.24);
  transition:
    box-shadow 0.2s ease,
    transform 0.18s ease;
  touch-action: pan-y;
  -webkit-touch-callout: none;
}

.project-card__link::after {
  content: "↗";
  font-size: 0.86rem;
}

.project-card__link:focus-visible {
  outline: 2px solid rgba(255, 122, 51, 0.76);
  outline-offset: 4px;
}

/* ── Screen gallery ───────────────────────────────────────────── */
.screen-gallery {
  width: min(100%, 1120px);
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.screen-gallery__header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-bottom: clamp(1.4rem, 4vw, 2.6rem);
  text-align: center;
}

.screen-gallery__title {
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 4.9rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.screen-gallery__viewport {
  max-width: 48rem;
  margin-inline: auto;
  overflow: visible;
}

.screen-card--clone {
  display: none;
}

.screen-gallery__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.75rem, 8.5rem));
  justify-content: center;
  gap: clamp(0.6rem, 1.5vw, 0.9rem);
  align-items: start;
}

.screen-card {
  min-width: 0;
  width: min(100%, 8.5rem);
  justify-self: center;
  display: grid;
}

.screen-card:nth-child(3n + 2) {
  margin-top: clamp(1.4rem, 4vw, 3.5rem);
}

.screen-card__device {
  --phone-width: clamp(7.5rem, 10vw, 8.25rem);
  --phone-side-bezel: clamp(0.24rem, 0.46vw, 0.32rem);
  --phone-top-bezel: clamp(0.62rem, 0.95vw, 0.78rem);
  --phone-bottom-bezel: clamp(0.34rem, 0.64vw, 0.46rem);
  position: relative;
  width: min(100%, var(--phone-width));
  max-width: 8.25rem;
  margin-inline: auto;
  aspect-ratio: 9 / 19.48;
  border: 1px solid rgba(255, 184, 126, 0.26);
  border-radius: clamp(18px, 2.4vw, 24px);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 22%),
    radial-gradient(circle at 50% 0%, rgba(255, 122, 51, 0.2), transparent 8rem),
    linear-gradient(180deg, #22242d, #050609 58%, #020306);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 0 0 0.38rem rgba(2, 3, 6, 0.76) inset,
    0 20px 48px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(235, 71, 16, 0.1);
  transition: transform 0.24s ease;
}

@media (hover: hover) and (pointer: fine) {
  .screen-card:hover .screen-card__device {
    transform: scale(1.018);
  }

  .project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 122, 51, 0.42);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.08) inset,
      0 28px 76px rgba(0, 0, 0, 0.44),
      0 0 36px rgba(235, 71, 16, 0.14);
  }

  .project-card__link:hover {
    transform: translateY(-2px);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.18) inset,
      0 16px 34px rgba(235, 71, 16, 0.34);
  }

  .tennisio-preview .laptop-preview-card:hover .laptop-frame {
    transform: translateY(-4px);
    border-color: rgba(255, 154, 85, 0.34);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.14) inset,
      0 26px 62px rgba(0, 0, 0, 0.42),
      0 0 38px rgba(235, 71, 16, 0.12);
  }

  .laptop-preview-card__link:hover .laptop-frame {
    transform: translateY(-4px);
    border-color: rgba(255, 122, 51, 0.38);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.14) inset,
      0 28px 68px rgba(0, 0, 0, 0.46),
      0 0 38px rgba(235, 71, 16, 0.14);
  }
}

.screen-card:focus-visible .screen-card__device {
  transform: scale(1.018);
}

.screen-card__device::before {
  content: "";
  position: absolute;
  inset: var(--phone-top-bezel) var(--phone-side-bezel) var(--phone-bottom-bezel);
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 154, 85, 0.12);
  border-radius: clamp(14px, 2vw, 18px);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.2), transparent 18%, transparent 62%, rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 50% 0%, rgba(255, 122, 51, 0.12), transparent 12rem);
  mix-blend-mode: screen;
  opacity: 0.5;
}

.screen-card__device::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.28rem;
  z-index: 4;
  width: 2.35rem;
  height: 0.56rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 72% 50%, rgba(255, 154, 85, 0.24) 0 0.11rem, transparent 0.13rem),
    linear-gradient(180deg, #0a0b10, #020306);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px rgba(255, 184, 126, 0.1),
    0 5px 14px rgba(0, 0, 0, 0.42);
  transform: translateX(-50%);
}

.screen-card__speaker {
  position: absolute;
  left: 50%;
  top: 0.45rem;
  z-index: 5;
  width: 1.05rem;
  height: 0.12rem;
  border-radius: 999px;
  background: rgba(247, 237, 223, 0.24);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 0 16px rgba(255, 90, 31, 0.12);
  transform: translateX(-50%);
}

.screen-card__screen {
  position: absolute;
  inset: var(--phone-top-bezel) var(--phone-side-bezel) var(--phone-bottom-bezel);
  z-index: 1;
  width: auto;
  height: auto;
  overflow: hidden;
  border-radius: clamp(14px, 2vw, 18px);
  background: #080a0f;
}

#gallery.screen-gallery .screen-card__screen > img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
  object-position: top center;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.laptop-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.8vw, 1.35rem);
  width: min(100%, 56rem);
  margin: clamp(2rem, 5vw, 3.2rem) auto 0;
}

.laptop-preview-card {
  min-width: 0;
}

.laptop-preview-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  touch-action: pan-y;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.laptop-preview-card__link:focus-visible {
  outline: 2px solid rgba(255, 122, 51, 0.76);
  outline-offset: 6px;
  border-radius: 26px;
}

.laptop-frame {
  display: block;
  position: relative;
  padding: clamp(0.45rem, 1.3vw, 0.62rem) clamp(0.45rem, 1.3vw, 0.62rem) 0;
  border: 1px solid rgba(255, 184, 126, 0.2);
  border-radius: clamp(18px, 3vw, 26px) clamp(18px, 3vw, 26px) 14px 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(35, 37, 46, 0.96), rgba(5, 6, 9, 0.98));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 22px 56px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(235, 71, 16, 0.08);
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.laptop-frame__screen {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255, 154, 85, 0.14);
  border-radius: clamp(14px, 2.4vw, 20px);
  background: #080a0f;
}

.laptop-frame__screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 18%, transparent 68%, rgba(255, 255, 255, 0.08)),
    linear-gradient(rgba(255, 154, 85, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 90, 31, 0.032) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  mix-blend-mode: screen;
  opacity: 0.72;
}

.laptop-frame__screen > img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.laptop-frame__screen--olga,
.laptop-frame__screen--svango,
.laptop-frame__screen--tennisio {
  background: #080a0f;
}

.tennisio-preview {
  width: min(100%, 72rem);
  margin: clamp(2.4rem, 6vw, 4rem) auto 0;
  scroll-margin-top: 6rem;
}

.tennisio-preview__header {
  max-width: 40rem;
  margin: 0 auto clamp(1.35rem, 3.5vw, 2rem);
  text-align: center;
}

.tennisio-preview__eyebrow {
  margin: 0 0 0.55rem;
  color: rgba(255, 154, 85, 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tennisio-preview__title {
  margin: 0 0 0.65rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.tennisio-preview__copy {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.7vw, 1.05rem);
  line-height: 1.65;
}

.tennisio-preview__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.tennisio-preview__viewport::-webkit-scrollbar {
  display: none;
}

.tennisio-preview__viewport::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(5, 6, 9, 0.94),
    transparent 10%,
    transparent 90%,
    rgba(5, 6, 9, 0.94)
  );
}

.tennisio-preview__viewport:focus-visible {
  outline: 2px solid rgba(255, 122, 51, 0.72);
  outline-offset: 4px;
}

.tennisio-preview__track {
  display: flex;
  width: max-content;
  animation: tennisio-marquee-scroll 34s linear infinite;
}

.tennisio-preview:hover .tennisio-preview__track,
.tennisio-preview__viewport:focus-visible .tennisio-preview__track,
.tennisio-preview.is-paused .tennisio-preview__track {
  animation-play-state: paused;
}

.tennisio-preview__group {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  gap: clamp(0.85rem, 2vw, 1.15rem);
  padding: 0 0.35rem 0.35rem;
}

@keyframes tennisio-marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

.tennisio-preview__slide {
  flex: 0 0 clamp(15rem, 38vw, 21rem);
  width: clamp(15rem, 38vw, 21rem);
  min-width: 0;
}

.tennisio-preview__open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.tennisio-preview__open:focus-visible {
  outline: 2px solid rgba(255, 122, 51, 0.76);
  outline-offset: 6px;
  border-radius: 26px;
}

.tennisio-preview__zoom {
  position: absolute;
  right: clamp(0.55rem, 1.6vw, 0.85rem);
  bottom: clamp(1.35rem, 3vw, 1.75rem);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 184, 126, 0.28);
  border-radius: 999px;
  background: rgba(5, 6, 9, 0.72);
  color: rgba(255, 214, 178, 0.96);
  font-size: 1.05rem;
  line-height: 1;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 10px 24px rgba(0, 0, 0, 0.34);
  pointer-events: none;
}

.tennisio-preview__zoom::before {
  content: "+";
}

.tennisio-preview__slide .laptop-frame__screen {
  aspect-ratio: 16 / 10;
}

.tennisio-preview__slide .laptop-frame__screen > img {
  object-fit: cover;
  object-position: top left;
}

.tennisio-preview__slide .laptop-preview-card,
.tennisio-preview__slide .laptop-frame,
.tennisio-preview__open .laptop-frame {
  touch-action: manipulation;
  -webkit-touch-callout: none;
}

.tennisio-preview__slide--clone {
  display: none;
}

.tennisio-preview__slide--mirror {
  pointer-events: none;
}

.tennisio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.tennisio-lightbox[hidden] {
  display: none;
}

.tennisio-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(235, 71, 16, 0.16), transparent 42%),
    rgba(2, 3, 6, 0.88);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.tennisio-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.45rem, 2vw, 0.85rem);
  width: min(100%, 72rem);
  max-height: min(92vh, 52rem);
}

.tennisio-lightbox__figure {
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 0.75rem;
}

.tennisio-lightbox__image {
  display: block;
  width: 100%;
  max-height: min(78vh, 44rem);
  object-fit: contain;
  border: 1px solid rgba(255, 154, 85, 0.22);
  border-radius: clamp(12px, 2vw, 18px);
  background: #080a0f;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 28px 80px rgba(0, 0, 0, 0.52),
    0 0 48px rgba(235, 71, 16, 0.14);
  user-select: none;
  -webkit-user-drag: none;
}

.tennisio-lightbox__caption {
  color: rgba(247, 237, 223, 0.82);
  font-size: clamp(0.88rem, 1.8vw, 0.98rem);
  line-height: 1.55;
  text-align: center;
}

.tennisio-lightbox__close,
.tennisio-lightbox__nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 184, 126, 0.24);
  background: rgba(8, 10, 15, 0.82);
  color: rgba(255, 214, 178, 0.96);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.tennisio-lightbox__close {
  position: absolute;
  top: -0.15rem;
  right: 0;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-size: 1.45rem;
  line-height: 1;
}

.tennisio-lightbox__nav {
  width: clamp(2.4rem, 6vw, 3rem);
  height: clamp(2.4rem, 6vw, 3rem);
  border-radius: 999px;
  font-size: 1.65rem;
  line-height: 1;
}

.tennisio-lightbox__close:focus-visible,
.tennisio-lightbox__nav:focus-visible {
  outline: 2px solid rgba(255, 122, 51, 0.76);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .tennisio-preview__open:hover .laptop-frame {
    transform: translateY(-4px);
    border-color: rgba(255, 154, 85, 0.34);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.14) inset,
      0 26px 62px rgba(0, 0, 0, 0.42),
      0 0 38px rgba(235, 71, 16, 0.12);
  }

  .tennisio-lightbox__close:hover,
  .tennisio-lightbox__nav:hover {
    border-color: rgba(255, 154, 85, 0.42);
    background: rgba(235, 71, 16, 0.18);
    transform: translateY(-1px);
  }
}

body.is-tennisio-lightbox-open {
  overflow: hidden;
}

.project-card--soon .project-card__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.62rem;
  border: 1px solid rgba(255, 184, 126, 0.28);
  border-radius: 999px;
  background: rgba(235, 71, 16, 0.14);
  color: rgba(255, 198, 148, 0.96);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.life-compass-preview {
  width: min(100%, 1120px);
  margin: clamp(2.4rem, 6vw, 4rem) auto 0;
  scroll-margin-top: 6rem;
}

.life-compass-preview__header {
  max-width: 40rem;
  margin: 0 auto clamp(1.35rem, 3.5vw, 2rem);
  text-align: center;
}

.life-compass-preview__eyebrow {
  margin: 0 0 0.55rem;
  color: rgba(255, 154, 85, 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.life-compass-preview__title {
  margin: 0 0 0.65rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.life-compass-preview__copy {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.7vw, 1.05rem);
  line-height: 1.65;
}

.life-compass-preview__viewport {
  max-width: 48rem;
  margin-inline: auto;
  overflow: visible;
}

.life-compass-preview__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.75rem, 8.5rem));
  justify-content: center;
  gap: clamp(0.6rem, 1.5vw, 0.9rem);
  align-items: start;
}

.life-compass-preview__card {
  margin: 0;
}

.life-compass-preview__card:nth-child(3n + 2) {
  margin-top: clamp(1.4rem, 4vw, 3.5rem);
}

.life-compass-preview__card--clone {
  display: none;
}

.life-compass-preview__open {
  display: grid;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.life-compass-preview__open:focus-visible {
  outline: 2px solid rgba(255, 122, 51, 0.76);
  outline-offset: 6px;
  border-radius: 28px;
}

.life-compass-preview__open .screen-card__device {
  margin-inline: auto;
}

.life-compass-preview .screen-card__screen > img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.tennisio-lightbox__image--phone {
  width: auto;
  max-width: min(100%, 22rem);
  max-height: min(78vh, 44rem);
  margin-inline: auto;
}

body.is-life-compass-lightbox-open {
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .life-compass-preview__open:hover .screen-card__device {
    transform: scale(1.018);
  }
}

.laptop-frame__browser {
  position: absolute;
  top: clamp(0.58rem, 1.6vw, 0.8rem);
  left: clamp(0.62rem, 1.8vw, 0.9rem);
  z-index: 2;
  display: inline-flex;
  gap: 0.3rem;
}

.laptop-frame__browser span {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: rgba(247, 237, 223, 0.46);
  box-shadow: 0 0 10px rgba(255, 122, 51, 0.18);
}

.laptop-frame__preview {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  gap: clamp(0.48rem, 1.5vw, 0.68rem);
  padding: clamp(1rem, 3vw, 1.45rem);
}

.laptop-frame__eyebrow {
  width: fit-content;
  padding: 0.36rem 0.58rem;
  border: 1px solid rgba(255, 184, 126, 0.18);
  border-radius: 999px;
  background: rgba(5, 6, 9, 0.34);
  color: rgba(255, 190, 139, 0.86);
  font-size: clamp(0.62rem, 1.45vw, 0.72rem);
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.laptop-frame__title {
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.1vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.laptop-frame__button {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.58rem 0.78rem;
  border: 1px solid rgba(255, 90, 31, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(235, 71, 16, 0.92), rgba(166, 45, 9, 0.88));
  color: #fff8f0;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 12px 26px rgba(235, 71, 16, 0.2);
}

.laptop-frame__button::after {
  content: "↗";
  font-size: 0.78rem;
}

.laptop-frame__base {
  display: block;
  position: relative;
  width: calc(100% + clamp(1.6rem, 4vw, 2.4rem));
  height: clamp(0.74rem, 1.8vw, 0.9rem);
  margin: 0 calc(-1 * clamp(0.8rem, 2vw, 1.2rem));
  border-radius: 0 0 999px 999px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(180deg, #292b33, #07080c 78%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 14px 28px rgba(0, 0, 0, 0.28);
}

.laptop-frame__base::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(3.2rem, 9vw, 4.8rem);
  height: 0.26rem;
  border-radius: 0 0 999px 999px;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
}

/* ── Contact section ──────────────────────────────────────────── */
.contact {
  width: min(100%, 1120px);
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 90, 31, 0.12), transparent 22rem),
    radial-gradient(circle at 86% 18%, rgba(255, 154, 85, 0.08), transparent 24rem),
    linear-gradient(180deg, var(--surface-panel), rgba(8, 9, 14, 0.78));
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(16px);
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 78% 20%, rgba(255, 90, 31, 0.16), transparent 30rem),
    radial-gradient(ellipse at 50% 14%, rgba(255, 154, 85, 0.08), transparent 34rem);
  filter: blur(10px);
  opacity: 0.78;
  z-index: -2;
}

.contact::after {
  content: "";
  position: absolute;
  right: clamp(-8rem, -6vw, -3.25rem);
  top: clamp(2.6rem, 9vw, 6.4rem);
  width: clamp(11rem, 24vw, 20rem);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 226, 196, 0.92) 0 7%, transparent 14%),
    radial-gradient(circle at 35% 30%, #ff7a33 0 23%, #eb4710 48%, rgba(121, 28, 3, 0.92) 78%),
    radial-gradient(circle at 50% 50%, rgba(235, 71, 16, 0.4), transparent 68%);
  box-shadow:
    0 0 68px rgba(235, 71, 16, 0.32),
    0 34px 90px rgba(0, 0, 0, 0.36);
  filter: saturate(1.08) blur(0.5px);
  opacity: 0.52;
  transform: rotate(-14deg);
  z-index: -1;
}

.contact > .section-kicker,
.contact__header,
.contact__content {
  position: relative;
  z-index: 1;
}

.contact__header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.64fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: end;
  margin-bottom: clamp(1.5rem, 4vw, 2.4rem);
}

.contact__title {
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.1rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.contact__copy {
  max-width: 35rem;
  margin-top: 1.35rem;
  color: var(--text-muted);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  line-height: 1.7;
}

.contact__content {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(22rem, 0.92fr);
  gap: clamp(1rem, 2.8vw, 1.35rem);
  align-items: stretch;
}

.contact-panel,
.contact-form {
  min-width: 0;
  border: 1px solid rgba(255, 154, 85, 0.13);
  border-radius: clamp(24px, 4vw, 34px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), transparent 34%),
    linear-gradient(180deg, rgba(18, 20, 27, 0.78), rgba(7, 8, 12, 0.72));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 22px 58px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.4vw, 1.35rem);
  padding: clamp(1rem, 2.4vw, 1.4rem);
}

.contact-panel__eyebrow,
.contact-form__eyebrow {
  color: rgba(255, 122, 51, 0.86);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-methods {
  display: grid;
  gap: 0.78rem;
}

.contact-method {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(255, 154, 85, 0.12);
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 90, 31, 0.12), transparent 12rem),
    rgba(255, 255, 255, 0.035);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.2s ease;
}

.contact-method::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 122, 51, 0.78);
  box-shadow: 0 0 18px rgba(235, 71, 16, 0.6);
  opacity: 0.58;
}

.contact-method:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 122, 51, 0.36);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 90, 31, 0.18), transparent 12rem),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 18px 38px rgba(0, 0, 0, 0.26),
    0 0 28px rgba(235, 71, 16, 0.1);
}

.contact-method:focus-visible {
  outline: 2px solid rgba(255, 122, 51, 0.76);
  outline-offset: 4px;
}

.contact-method__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border: 1px solid rgba(255, 122, 51, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(235, 71, 16, 0.24), rgba(91, 25, 8, 0.12)),
    rgba(255, 255, 255, 0.035);
  color: #ffd2b7;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 28px rgba(235, 71, 16, 0.12);
}

.contact-method__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-method__body {
  min-width: 0;
  display: grid;
  gap: 0.28rem;
}

.contact-method__label {
  color: rgba(255, 122, 51, 0.86);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-method__text {
  color: rgba(247, 237, 223, 0.82);
  font-size: 0.96rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-method__cta {
  grid-column: 2;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff1df;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-method__cta::after {
  content: "→";
  color: var(--accent-hot);
}

.contact-note {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 154, 85, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(247, 237, 223, 0.7);
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-note__dot {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--accent-core);
  box-shadow: 0 0 16px rgba(235, 71, 16, 0.68);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 1.05rem;
  padding: clamp(1.1rem, 2.8vw, 1.7rem);
  border-color: rgba(255, 184, 126, 0.22);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(255, 90, 31, 0.2), transparent 17rem),
    radial-gradient(circle at 10% 100%, rgba(255, 154, 85, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(18, 20, 27, 0.58), rgba(7, 8, 12, 0.5));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 26px 72px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(235, 71, 16, 0.12);
  -webkit-backdrop-filter: blur(24px) saturate(1.24);
  backdrop-filter: blur(24px) saturate(1.24);
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(315deg, rgba(255, 122, 51, 0.12), transparent 38%);
  opacity: 0.82;
}

.contact-form > * {
  position: relative;
  z-index: 1;
}

.contact-form__header {
  display: grid;
  gap: 0.55rem;
  padding-bottom: 0.35rem;
}

.contact-form__title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.48rem;
}

.form-field label {
  color: rgba(247, 237, 223, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 184, 126, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(8, 9, 13, 0.76), rgba(5, 6, 9, 0.68));
  color: var(--text);
  font: inherit;
  font-size: 0.96rem;
  line-height: 1.5;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 16px 38px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(247, 237, 223, 0.34);
}

.form-field input,
.form-field select {
  min-height: 3.35rem;
  padding: 0 1rem;
}

.form-field textarea {
  min-height: 10.5rem;
  padding: 0.95rem 1rem;
  resize: vertical;
}

.form-field select option {
  background: #101218;
  color: var(--text);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(255, 122, 51, 0.62);
  background: rgba(8, 9, 13, 0.82);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 0 0 4px rgba(255, 90, 31, 0.14),
    0 16px 38px rgba(0, 0, 0, 0.22);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: rgba(255, 122, 51, 0.86);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 0 0 4px rgba(235, 71, 16, 0.14);
}

.form-field__error {
  min-height: 1.15rem;
  color: var(--accent-hot);
  font-size: 0.82rem;
  line-height: 1.4;
}

.contact-form__status {
  min-height: 1.3rem;
  color: rgba(247, 237, 223, 0.72);
  font-size: 0.9rem;
  line-height: 1.45;
}

.contact-form__status.is-success {
  color: var(--accent-glow);
}

.contact-form__status.is-error {
  color: var(--accent-hot);
}

.contact-form__submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.82rem 1.2rem;
  border: 1px solid rgba(255, 90, 31, 0.4);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(235, 71, 16, 0.96), rgba(166, 45, 9, 0.96));
  color: #fff8f0;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 12px 28px rgba(235, 71, 16, 0.24);
  transition:
    box-shadow 0.2s ease,
    transform 0.18s ease;
}

.contact-form__submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 16px 34px rgba(235, 71, 16, 0.34);
}

.contact-form__submit:focus-visible {
  outline: 2px solid rgba(255, 122, 51, 0.76);
  outline-offset: 4px;
}

.contact-form__submit-icon {
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.18s ease;
}

.contact-form__submit:hover .contact-form__submit-icon {
  transform: translateX(3px);
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-bottom: calc(-1 * clamp(4.5rem, 8vw, 7rem));
  padding: clamp(1rem, 2.8vw, 1.45rem);
  border-block: 1px solid rgba(255, 154, 85, 0.12);
  background:
    linear-gradient(90deg, rgba(5, 6, 9, 0.92), rgba(16, 18, 24, 0.76), rgba(5, 6, 9, 0.92)),
    radial-gradient(circle at 12% 0%, rgba(255, 90, 31, 0.1), transparent 18rem),
    linear-gradient(180deg, rgba(14, 16, 22, 0.72), rgba(7, 8, 12, 0.78));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 18px 46px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.site-footer__inner {
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  margin-inline: auto;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.site-footer__mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 90, 31, 0.36);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(235, 71, 16, 0.94), rgba(109, 30, 8, 0.94));
  color: #fff8f0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 10px 26px rgba(235, 71, 16, 0.2);
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.site-footer__tagline,
.site-footer__copyright {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.site-footer__nav a {
  display: inline-flex;
  padding: 0.52rem 0.74rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(247, 237, 223, 0.74);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.site-footer__nav a:hover,
.site-footer__mark:hover {
  border-color: rgba(255, 122, 51, 0.42);
}

.site-footer__nav a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.site-footer__nav a:focus-visible,
.site-footer__mark:focus-visible {
  outline: 2px solid rgba(255, 122, 51, 0.76);
  outline-offset: 4px;
}

.site-footer__copyright {
  justify-self: end;
  text-align: right;
}

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

  .availability-pill,
  .replay-btn,
  .project-card,
  .project-card__link,
  .screen-card,
  .screen-card__device,
  .laptop-frame,
  .contact-method,
  .contact-form__submit,
  .contact-form__submit-icon,
  .site-nav__links a,
  .site-nav__cta,
  .site-nav__toggle-line,
  .site-nav__toggle-line::before,
  .site-nav__toggle-line::after,
  [data-fuse-heading],
  [data-fuse-heading]::after,
  .site-footer__nav a {
    transition: none;
  }

  .fuse-overlay {
    display: none;
  }

  .fuse-ready .fuse-section .fuse-reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .fuse-section.is-igniting [data-fuse-heading],
  .fuse-section.is-igniting [data-fuse-heading]::after {
    animation: none;
  }

  .tech-marquee__viewport {
    border-radius: 18px;
    overflow: visible;
  }

  .tech-marquee__track {
    width: auto;
    animation: none;
  }

  .tech-marquee__group {
    flex-wrap: wrap;
  }

  .tech-marquee__group[aria-hidden="true"] {
    display: none;
  }

  .tennisio-preview__track {
    width: auto;
    animation: none;
    transform: none;
  }

  .tennisio-preview__group {
    flex-wrap: wrap;
    justify-content: center;
  }

  .tennisio-preview__group[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: fixed;
    inset: 0 0 auto;
    padding: max(0.65rem, env(safe-area-inset-top)) 0.75rem 0;
  }

  .site-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.42rem;
    padding: 0.45rem;
    border-radius: 22px;
  }

  .site-nav__brand {
    gap: 0.56rem;
  }

  .site-nav__mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .site-nav__name {
    font-size: clamp(0.92rem, 4vw, 1rem);
  }

  .site-nav__lang {
    display: none;
  }

  .site-nav__toggle {
    order: 1;
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
  }

  .site-nav__lang-btn {
    min-width: 2rem;
    padding: 0.48rem 0.46rem;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .site-nav__links {
    grid-column: 1 / -1;
    order: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
      max-height 0.24s ease,
      opacity 0.2s ease,
      padding-top 0.2s ease;
  }

  .site-nav.is-open .site-nav__links {
    max-height: 15rem;
    padding-top: 0.35rem;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav.is-open .site-nav__lang {
    grid-column: 1 / -1;
    order: 3;
    display: inline-flex;
    justify-self: center;
    margin-top: 0.15rem;
    padding: 0.18rem;
    background: rgba(5, 6, 9, 0.42);
  }

  .site-nav__links a {
    min-height: 2.6rem;
    border-color: rgba(255, 154, 85, 0.12);
    background: rgba(255, 255, 255, 0.035);
  }

  .site-nav__cta {
    display: none;
  }
}

@media (max-width: 899px) {
  .hero__header,
  .projects__header,
  .project-grid,
  .contact__header,
  .contact__content,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    justify-items: center;
    text-align: center;
  }

  .site-footer__copyright {
    justify-self: center;
    text-align: center;
  }

  .project-card {
    min-height: 24rem;
  }

  .screen-gallery__grid {
    grid-template-columns: repeat(2, minmax(7.75rem, 8.5rem));
    justify-content: center;
  }

  .screen-card:nth-child(3n + 2) {
    margin-top: 0;
  }

  .screen-card:nth-child(even) {
    margin-top: clamp(1.2rem, 4vw, 2.4rem);
  }

  .laptop-preview-grid {
    grid-template-columns: 1fr;
    width: min(100%, 30rem);
  }

  .tennisio-preview__slide {
    flex-basis: clamp(14rem, 72vw, 18rem);
    width: clamp(14rem, 72vw, 18rem);
  }

  .tennisio-lightbox__dialog {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
  }

  .tennisio-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .tennisio-lightbox__nav--prev {
    left: 0.35rem;
  }

  .tennisio-lightbox__nav--next {
    right: 0.35rem;
  }

  .tennisio-lightbox__close {
    top: 0.2rem;
    right: 0.2rem;
  }

  .project-card--feature {
    min-height: 0;
  }

  .tennisio-preview__header {
    text-align: left;
  }

  .life-compass-preview__grid {
    grid-template-columns: repeat(2, minmax(7.75rem, 8.5rem));
    justify-content: center;
  }

  .life-compass-preview__card:nth-child(3n + 2) {
    margin-top: 0;
  }

  .life-compass-preview__card:nth-child(even) {
    margin-top: clamp(1.2rem, 4vw, 2.4rem);
  }

  .life-compass-preview__header {
    text-align: left;
  }
}

@media (max-width: 639px) {
  body {
    background-attachment: scroll;
  }

  section[id] {
    scroll-margin-top: 5.5rem;
  }

  .fuse-overlay {
    z-index: 6;
    width: 100%;
    max-width: 100%;
  }

  .fuse-overlay__rope {
    stroke-width: 5;
    opacity: 0.36;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
  }

  .fuse-overlay__burned {
    stroke-width: 4;
    opacity: 0.86;
    filter: drop-shadow(0 0 8px rgba(255, 90, 31, 0.38));
  }

  .fuse-overlay__ember-trail {
    stroke-width: 1.2;
    opacity: 0.5;
  }

  .fuse-spark__core {
    width: 0.58rem;
    height: 0.58rem;
  }

  .fuse-spark__flame {
    width: 1.12rem;
    height: 1.62rem;
  }

  .fuse-spark__smoke {
    width: 2rem;
    height: 2rem;
    opacity: 0.34;
  }

  .fuse-ready .fuse-section .fuse-reveal {
    transform: translateY(18px) scale(0.99);
  }

  .site-header,
  .site-footer,
  .hero,
  .projects,
  .screen-gallery,
  .contact {
    max-width: 100%;
  }

  .site-footer {
    width: 100%;
    margin-inline: 0;
  }

  .page {
    gap: 0.9rem;
    padding: 0.75rem 0.72rem clamp(4.5rem, 8vw, 7rem);
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0.72rem;
    padding: clamp(5.15rem, 15svh, 5.9rem) 0.82rem 0.86rem;
    border-radius: 22px;
    background:
      radial-gradient(circle at 50% 12%, rgba(255, 122, 51, 0.14), transparent 18rem),
      linear-gradient(180deg, rgba(18, 17, 21, 0.76), rgba(9, 10, 14, 0.82));
  }

  .hero::after {
    display: none;
  }

  .hero__header {
    display: none;
  }

  .tech-marquee {
    padding: 0.25rem 0 0.9rem;
  }

  .tech-marquee__viewport {
    overflow-x: scroll;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: auto;
    scroll-behavior: auto;
    touch-action: pan-x pan-y;
    border-radius: 18px;
  }

  .tech-marquee__viewport::-webkit-scrollbar {
    height: 0;
  }

  .tech-marquee__track {
    animation: none;
    transform: none;
    width: max-content;
  }

  .tech-marquee__group {
    gap: 0.52rem;
    touch-action: pan-x pan-y;
  }

  .tech-marquee__group span {
    padding: 0.5rem 0.72rem;
    letter-spacing: 0.03em;
    touch-action: pan-x pan-y;
    -webkit-user-select: none;
    user-select: none;
  }

  .stage {
    min-height: clamp(31.5rem, 73svh, 39rem);
    aspect-ratio: auto;
    max-height: none;
    border-radius: 22px;
    border-color: rgba(255, 184, 126, 0.16);
    background:
      radial-gradient(ellipse at 50% 18%, rgba(255, 122, 51, 0.13), transparent 17rem),
      linear-gradient(180deg, rgba(255, 244, 231, 0.045), rgba(5, 6, 9, 0.12));
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.08) inset,
      0 18px 44px rgba(0, 0, 0, 0.2);
  }

  .title-reveal {
    position: absolute;
    top: 0.9rem;
    left: 50%;
    right: auto;
    z-index: 3;
    width: max-content;
    height: auto;
    max-width: calc(100% - 2rem);
    padding: 0.68rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    border: 1px solid rgba(255, 184, 126, 0.16);
    border-radius: 999px;
    background:
      linear-gradient(180deg, rgba(8, 9, 13, 0.9), rgba(10, 11, 16, 0.78));
    color: #fff4e8;
    text-align: center;
    opacity: 0;
    filter: blur(7px);
    transform: translate(-50%, -0.4rem) scale(0.98);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.08) inset,
      0 12px 28px rgba(0, 0, 0, 0.26);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition:
      opacity 0.52s ease,
      filter 0.52s ease,
      transform 0.52s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
  }

  .title-reveal.is-visible,
  .title-reveal.is-immediate {
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, 0) scale(1);
  }

  .title-reveal__subtitle {
    margin-bottom: 0;
    color: rgba(255, 184, 126, 0.92);
    font-size: clamp(0.68rem, 2.8vw, 0.78rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-shadow: none;
  }

  .title-reveal__title {
    display: none;
  }

  .title-reveal__first {
    margin-bottom: 0.04em;
    color: rgba(255, 244, 232, 0.96);
    font-weight: 400;
  }

  .title-reveal__last {
    color: #ff6b2b;
    font-size: 1.04em;
    letter-spacing: 0.015em;
    text-shadow:
      0 0 18px rgba(235, 71, 16, 0.42),
      0 3px 16px rgba(0, 0, 0, 0.36);
  }

  .stage::before {
    opacity: 0.14;
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 50% 46%, rgba(0, 0, 0, 0.34), transparent 72%);
  }

  .stage::after {
    display: none;
  }

  .availability-pill {
    display: none;
  }

  .replay-btn {
    align-self: center;
    padding: 0.58rem 1rem;
    border-color: rgba(255, 122, 51, 0.26);
    background: rgba(14, 15, 20, 0.84);
    font-size: 0.82rem;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.06) inset,
      0 10px 24px rgba(0, 0, 0, 0.26);
  }

  .projects {
    padding: 2rem 1rem;
    border-radius: 18px;
  }

  .screen-gallery {
    padding: 2rem 0;
  }

  .screen-gallery__viewport {
    position: relative;
    max-width: none;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: auto;
    scroll-behavior: auto;
    touch-action: pan-x pan-y;
  }

  .screen-gallery__viewport::-webkit-scrollbar {
    height: 0;
  }

  .screen-gallery__viewport::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      rgba(5, 6, 9, 0.92),
      transparent 12%,
      transparent 88%,
      rgba(5, 6, 9, 0.92)
    );
  }

  .screen-gallery__viewport:focus-visible {
    outline: 2px solid rgba(255, 122, 51, 0.72);
    outline-offset: 4px;
  }

  .screen-gallery__grid {
    --screen-gallery-mobile-gap: 0.72rem;
    display: flex;
    grid-template-columns: none;
    width: max-content;
    gap: var(--screen-gallery-mobile-gap);
    padding: 0 0 0.7rem;
    align-items: start;
    touch-action: pan-x pan-y;
    pointer-events: none;
  }

  .screen-card,
  .screen-card:nth-child(even),
  .screen-card:nth-child(3n + 2) {
    flex: 0 0 clamp(7.75rem, 34vw, 8.35rem);
    width: clamp(7.75rem, 34vw, 8.35rem);
    margin-top: 0;
    justify-self: auto;
    touch-action: pan-x pan-y;
    pointer-events: none;
  }

  .screen-card__device,
  .screen-card__screen,
  .screen-card__screen > img {
    touch-action: pan-x pan-y;
    pointer-events: none;
  }

  .screen-card--clone {
    display: grid;
  }

  .life-compass-preview__viewport {
    position: relative;
    max-width: none;
    width: 100%;
    overflow: hidden;
    overflow-y: hidden;
    perspective: 900px;
    touch-action: manipulation;
  }

  .life-compass-preview__viewport::-webkit-scrollbar {
    height: 0;
  }

  .life-compass-preview__viewport::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      rgba(5, 6, 9, 0.92),
      transparent 12%,
      transparent 88%,
      rgba(5, 6, 9, 0.92)
    );
  }

  .life-compass-preview__viewport:focus-visible {
    outline: 2px solid rgba(255, 122, 51, 0.72);
    outline-offset: 4px;
  }

  .life-compass-preview__grid {
    display: flex;
    grid-template-columns: none;
    width: 100%;
    gap: 0.8rem;
    padding: 0.45rem 0 1rem 0.4rem;
    align-items: center;
    transform-style: preserve-3d;
    touch-action: manipulation;
  }

  .life-compass-preview__card,
  .life-compass-preview__card:nth-child(even),
  .life-compass-preview__card:nth-child(3n + 2) {
    flex: 0 0 min(54vw, 13rem);
    width: min(54vw, 13rem);
    margin-top: 0;
    justify-self: auto;
    touch-action: manipulation;
  }

  .life-compass-preview__card:nth-child(n + 3),
  .life-compass-preview__card--clone {
    display: none;
  }

  .life-compass-preview__card:first-child {
    position: relative;
    z-index: 2;
    transform: rotateY(5deg) translateZ(12px);
    transform-origin: left center;
  }

  .life-compass-preview__card:nth-child(2) {
    position: relative;
    z-index: 1;
    transform: rotateY(-12deg) translateX(-0.15rem) scale(0.96);
    transform-origin: left center;
    opacity: 0.82;
  }

  .life-compass-preview__open {
    position: relative;
    touch-action: manipulation;
    pointer-events: auto;
  }

  .life-compass-preview__open::after {
    content: "+";
    position: absolute;
    right: 0.7rem;
    bottom: 0.85rem;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 184, 126, 0.3);
    border-radius: 50%;
    background: rgba(5, 6, 9, 0.78);
    color: #ffd6b5;
    font-size: 1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
    pointer-events: none;
  }

  .life-compass-preview__open .screen-card__device {
    --phone-width: min(54vw, 13rem);
    width: 100%;
    max-width: 13rem;
    border-radius: 28px;
    touch-action: manipulation;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.14) inset,
      0 0 0 0.38rem rgba(2, 3, 6, 0.76) inset,
      0 24px 50px rgba(0, 0, 0, 0.46),
      0 0 38px rgba(235, 71, 16, 0.12);
  }

  .tennisio-preview__viewport {
    position: relative;
    max-width: none;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: auto;
    scroll-behavior: auto;
    touch-action: pan-x pan-y;
  }

  .tennisio-preview__viewport::-webkit-scrollbar {
    height: 0;
  }

  .tennisio-preview__viewport::before {
    background: linear-gradient(
      90deg,
      rgba(5, 6, 9, 0.92),
      transparent 12%,
      transparent 88%,
      rgba(5, 6, 9, 0.92)
    );
  }

  .tennisio-preview__track {
    display: flex;
    width: max-content;
    animation: none;
    transform: none;
  }

  .tennisio-preview__group {
    display: flex;
    width: max-content;
    gap: 0.72rem;
    padding: 0 0 0.7rem;
    align-items: start;
    transform: none;
    touch-action: pan-x pan-y;
  }

  .tennisio-preview__group[aria-hidden="true"] {
    display: none;
  }

  .tennisio-preview__slide,
  .tennisio-preview__slide:first-child,
  .tennisio-preview__slide:nth-child(2),
  .tennisio-preview__slide:nth-child(n + 3) {
    display: block;
    flex: 0 0 clamp(14rem, 72vw, 18rem);
    width: clamp(14rem, 72vw, 18rem);
    margin-top: 0;
    opacity: 1;
    transform: none;
    touch-action: pan-x pan-y;
  }

  .tennisio-preview__slide--clone {
    display: block;
    pointer-events: none;
  }

  .tennisio-preview__open,
  .tennisio-preview__open .laptop-frame {
    touch-action: pan-x pan-y;
  }

  .screen-card__device {
    --phone-width: clamp(7.5rem, 34vw, 8.15rem);
    max-width: 8.15rem;
  }

  .laptop-preview-grid {
    gap: 0.9rem;
    margin-top: 1.5rem;
  }

  .laptop-preview-card,
  .laptop-preview-card__link,
  .laptop-frame {
    touch-action: pan-y;
    -webkit-touch-callout: none;
  }

  .laptop-frame {
    border-radius: 16px 16px 12px 12px;
  }

  .laptop-frame__preview {
    padding: 0.95rem;
  }

  .laptop-frame__title {
    font-size: clamp(1.35rem, 8vw, 2rem);
  }

  .contact {
    padding: 2rem 1rem;
    border-radius: 18px;
  }

  .contact__header {
    margin-bottom: 1.35rem;
  }

  .projects__header {
    margin-bottom: 1.6rem;
  }

  .project-card {
    min-height: 0;
    border-radius: 18px;
    transform: none;
    touch-action: pan-y;
    -webkit-touch-callout: none;
  }

  .project-card__link {
    touch-action: pan-y;
    -webkit-touch-callout: none;
  }

  .project-card__meta {
    margin-bottom: 3.2rem;
  }

  .project-card__title {
    margin-top: 0;
  }

  .contact::after {
    right: -6rem;
    top: 1.8rem;
    width: 13rem;
    opacity: 0.38;
  }

  .contact-panel,
  .contact-form {
    border-radius: 18px;
  }

  .contact-method {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .contact-method__icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 15px;
  }

  .contact-method__cta {
    grid-column: 1;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) and (prefers-reduced-motion: reduce) {
  .screen-gallery__viewport {
    scroll-snap-type: x mandatory;
  }

  .screen-gallery__viewport::before {
    display: none;
  }

  .screen-card {
    scroll-snap-align: center;
  }

  .screen-card--clone {
    display: none;
  }
}

@media (max-width: 420px) {
  .site-nav__name {
    max-width: 8.6rem;
  }

  .hero {
    padding-inline: 0.68rem;
  }

  .stage {
    min-height: clamp(30.5rem, 71svh, 37rem);
  }

  .title-reveal {
    max-width: calc(100% - 1.36rem);
    padding-inline: 0.82rem;
  }

  .title-reveal__title {
    font-size: clamp(1.82rem, 10.4vw, 2.55rem);
  }
}
