:root {
  --blue: #83bcdd;
  --orange: #e89f2a;
  --bg: #fdfdfd;
  --cream: #f3f1ea;
  --cream-muted: #e8e5d5;
  --black: #1b1915;
  --white: #ffffff;
  --border: 2px solid var(--black);
  --shadow-soft: 0 12px 28px rgba(27, 25, 21, 0.12);
  --shadow-brutal: 5px 5px 0 var(--black);
  --radius-preview: 28px;
  --radius-card: 20px;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;
  /* Brand blue is below 3:1 on --bg; use these for focus rings and small blue text. */
  --focus-ring: #1b1915;
  --blue-ink: #2f6f96;
}

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

html {
  scroll-behavior: smooth;
  /* Keep focused elements and anchor targets clear of the sticky header. */
  scroll-padding-top: 5.5rem;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.site-footer,
.manifesto__shell {
  --focus-ring: var(--blue);
}

body {
  background: var(--bg);
  color: var(--black);
  font-family: var(--font-body);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  background: var(--bg);
  color: var(--black);
  padding: 8px 12px;
  border: var(--border);
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.text-orange { color: var(--orange); }
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}
.section-lead {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 42ch;
  opacity: 0.72;
  margin-top: 1.25rem;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 253, 253, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(27, 25, 21, 0.08);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem clamp(1.25rem, 4vw, 3rem);
  gap: 1rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}
.nav-logo img { width: 28px; height: 28px; }
.brand-panda {
  background: var(--blue);
  color: var(--white);
  padding: 0 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links a {
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.72;
  transition: opacity 0.15s, color 0.15s;
}
.nav-links a:hover { opacity: 1; color: var(--orange); }
.nav-cta {
  opacity: 1 !important;
  background: var(--black);
  color: var(--bg) !important;
  padding: 0.5rem 1.1rem;
  border: var(--border);
}
.nav-cta:hover {
  background: var(--orange) !important;
  color: var(--black) !important;
}

.nav-toggle {
  display: none;
  border: var(--border);
  background: var(--bg);
  padding: 0.45rem 0.9rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid rgba(27, 25, 21, 0.08);
}
.mobile-nav a {
  padding: 0.9rem 1.25rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 25, 21, 0.06);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Buttons ── */
.btn-primary,
.btn-text {
  letter-spacing: 0.08em;
  text-decoration: none;
  display: inline-block;
}
.btn-primary {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  padding: 0.8rem 1.5rem;
  background: var(--black);
  color: var(--bg);
  border: 2px solid var(--black);
  border-radius: 10px;
  box-shadow: none;
  transition: background 0.18s, color 0.18s;
}
.btn-primary:hover {
  background: var(--bg);
  color: var(--black);
  transform: none;
  box-shadow: none;
}
.btn-primary--dark {
  background: var(--black);
  color: var(--bg);
}
.btn-primary--dark:hover {
  background: var(--bg);
  color: var(--black);
}
.btn-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--black);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.12rem;
  transition: border-color 0.15s, opacity 0.15s;
  opacity: 0.85;
}
.btn-text:hover {
  opacity: 1;
  border-color: var(--black);
}

/* ── Hero ── */
.hero {
  position: relative;
  margin: clamp(1.25rem, 2.5vw, 2rem);
  padding: clamp(3.5rem, 7vw, 5rem) clamp(2.5rem, 5.5vw, 4.5rem);
  min-height: min(88vh, 920px);
  background: var(--blue);
  border-radius: clamp(36px, 3.5vw, 48px);
  overflow: hidden;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  min-height: calc(88vh - 10rem);
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.7;
  margin-bottom: 1.35rem;
}

.hero-title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  color: var(--black);
  padding-left: 0.7rem;
}

.hero-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 3px;
  background: var(--orange);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  font-weight: 400;
  line-height: 1.7;
  max-width: 38ch;
  color: var(--black);
  opacity: 0.88;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.hero__visual {
  position: relative;
  min-height: min(72vh, 700px);
  z-index: 1;
}

.hero-wall {
  --hero-card-w: clamp(210px, 19vw, 290px);
  --hero-wall-gap: clamp(40px, 4vw, 64px);
  position: absolute;
  inset: -4% 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.hero-wall__mask {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, var(--hero-card-w)));
  gap: var(--hero-wall-gap);
  width: max-content;
  max-width: 100%;
  height: 100%;
  padding-inline: 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 3.5%, #000 96.5%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 3.5%, #000 96.5%, transparent 100%);
}

.hero-col {
  height: 100%;
  min-width: 0;
}

.hero-col--down {
  margin-top: -4%;
}

.hero-col--up {
  margin-top: 6%;
}

.hero-col__track {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 3.2vw, 48px);
  will-change: transform;
}

.hero-col--down .hero-col__track {
  animation: wall-down 66s linear infinite;
}
.hero-col--up .hero-col__track {
  animation: wall-up 58s linear infinite;
}

@keyframes wall-down {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -50%, 0); }
}
@keyframes wall-up {
  from { transform: translate3d(0, -50%, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.hero-wall.is-paused .hero-col__track {
  animation-play-state: paused;
}

.hero-motion-toggle {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 2;
  min-height: 2rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(27, 25, 21, 0.35);
  border-radius: 999px;
  background: rgba(253, 253, 253, 0.92);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.hero-motion-toggle:hover {
  background: var(--bg);
}

/* ── Launcher Preview card ── */
.lp {
  width: 100%;
}
.lp__shell {
  position: relative;
  aspect-ratio: 9 / 17.5;
  width: 100%;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(27, 25, 21, 0.1);
  box-shadow: 0 8px 20px rgba(27, 25, 21, 0.06);
  background: var(--bg);
}

/* Hero cards: a thin translucent frame lifts each screen off the blue. */
.hero-wall .lp {
  --hero-frame: 5px;
  padding: var(--hero-frame);
  border-radius: calc(20px + var(--hero-frame));
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 2px 6px rgba(20, 30, 40, 0.1),
    0 16px 34px -6px rgba(20, 30, 40, 0.14);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.hero-wall .lp__shell {
  /* Matches the 1080×2410 hero screenshots so nothing gets cropped. */
  aspect-ratio: 1080 / 2410;
  border-radius: 20px;
  border: 1px solid rgba(20, 30, 40, 0.14);
  box-shadow: none;
}

/* Placeholder cards stay secondary: lighter shadow, muted content, clear edge. */
.hero-wall .lp:has(.lp-ph) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 3px rgba(20, 30, 40, 0.06),
    0 8px 20px -6px rgba(20, 30, 40, 0.08);
}

.hero-wall .lp:has(.lp-ph) .lp__shell {
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-wall .lp:has(.lp-ph) .lp__shell.theme-blue {
  background: #8dc2e1;
}

.hero-wall .lp:has(.lp-ph) .lp-ph {
  opacity: 0.72;
}

@media (hover: hover) and (pointer: fine) {
  .hero-wall .lp:hover {
    transform: translateY(-2px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      0 3px 8px rgba(20, 30, 40, 0.11),
      0 20px 40px -6px rgba(20, 30, 40, 0.16);
  }
}
.lp__shell.theme-light { background: #fdfdfd; color: #1b1915; }
.lp__shell.theme-blue { background: #83bcdd; color: #1b1915; }
.lp__shell.theme-dark { background: #1b1915; color: #fdfdfd; }

.lp__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.lp__video {
  position: relative;
  width: 100%;
  height: 100%;
}

.lp__media--video {
  display: block;
  object-fit: contain;
  object-position: center;
}

/* Video clips already include the phone frame, so the card drops its own. */
.lp__shell.is-video,
.showcase-gallery .lp__shell.is-video {
  aspect-ratio: 724 / 1566;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.lp__caption {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.55rem;
  opacity: 0.55;
  text-align: center;
}

.hero-wall .lp__caption { display: none; }

/* Placeholder illustrations */
.lp-ph {
  position: absolute;
  inset: 0;
  padding: 12% 10% 14%;
  display: flex;
  flex-direction: column;
}
.lp-ph__status {
  height: 4px;
  width: 34%;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.25;
  margin-bottom: 10%;
  align-self: center;
}
.lp-ph__label {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 2.2vw, 0.95rem);
  letter-spacing: 0.08em;
  opacity: 0.55;
}
.lp-ph__icon {
  display: inline-block;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 28%;
  background: currentColor;
  opacity: 0.55;
}
.lp-ph__icon.accent { background: var(--orange); opacity: 1; }
.theme-blue .lp-ph__icon { background: #fdfdfd; opacity: 0.9; }
.theme-blue .lp-ph__icon.accent { background: var(--orange); }
.theme-dark .lp-ph__icon { background: #83bcdd; opacity: 0.85; }
.theme-dark .lp-ph__icon.accent { background: var(--orange); opacity: 1; }

.lp-ph__icon.sm { width: 12%; }
.lp-ph__icon.md { width: 16%; }
.lp-ph__icon.lg { width: 22%; }
.lp-ph__icon.xl { width: 28%; }
.lp-ph__icon.tiny { width: 28%; opacity: 0.7; }
.lp-ph__icon.dock { width: 16%; border-radius: 24%; }

.lp-ph__bubble-field {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 4%;
  padding: 4% 0;
}
.lp-ph__bubble-field .lp-ph__icon { border-radius: 50%; }

.lp-ph__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8%;
  flex: 1;
  align-content: start;
  padding-top: 4%;
}
.lp-ph__grid.sparse { grid-template-columns: repeat(3, 1fr); gap: 12%; }
.lp-ph__grid .lp-ph__icon { width: 100%; }

.lp-ph__dock {
  display: flex;
  justify-content: space-between;
  gap: 6%;
  background: rgba(27, 25, 21, 0.08);
  border-radius: 18px;
  padding: 8% 6%;
  margin-top: 8%;
}
.theme-dark .lp-ph__dock { background: rgba(253, 253, 253, 0.1); }
.theme-blue .lp-ph__dock { background: rgba(27, 25, 21, 0.12); }

.lp-ph__dock-hint {
  height: 6px;
  width: 28%;
  margin: 12% auto 0;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.25;
}

.lp-ph__pages {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 8%;
}
.lp-ph__pages i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
}
.lp-ph__pages i.on { opacity: 0.8; width: 14px; border-radius: 999px; }

.lp-ph__wheel {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2%;
  margin-top: auto;
  height: 28%;
  position: relative;
}
.lp-ph__icon.wheel {
  width: 14%;
  border-radius: 50%;
  position: relative;
}
.lp-ph__wheel .lp-ph__icon:nth-child(1) { transform: translateY(18px); }
.lp-ph__wheel .lp-ph__icon:nth-child(2) { transform: translateY(6px); }
.lp-ph__wheel .lp-ph__icon:nth-child(3) { transform: translateY(0); }
.lp-ph__wheel .lp-ph__icon:nth-child(4) { transform: translateY(6px); }
.lp-ph__wheel .lp-ph__icon:nth-child(5) { transform: translateY(18px); }

.lp-ph__search {
  height: 12px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.15;
  margin-bottom: 10%;
}
.lp-ph__drawer-rows { display: flex; flex-direction: column; gap: 8%; flex: 1; }
.lp-ph__row { display: flex; gap: 6%; }
.lp-ph__row .lp-ph__icon { width: 16%; }

.lp-ph__folder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  flex: 1;
  align-content: start;
}
.lp-ph__folder {
  aspect-ratio: 1;
  border-radius: 22%;
  background: rgba(27, 25, 21, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  padding: 14%;
}
.lp-ph__folder.accent { outline: 2px solid var(--orange); }
.theme-dark .lp-ph__folder { background: rgba(253, 253, 253, 0.1); }
.theme-blue .lp-ph__folder { background: rgba(27, 25, 21, 0.12); }

.lp-ph__gesture {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12%;
  padding: 10%;
}
.lp-ph__swipe {
  height: 4px;
  width: 70%;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.35;
}
.lp-ph__swipe.mid { width: 50%; opacity: 0.5; }
.lp-ph__swipe.short { width: 30%; background: var(--orange); opacity: 1; }
.lp-ph__finger {
  position: absolute;
  right: 18%;
  bottom: 22%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.5;
}

.lp-ph__icon-lab {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12%;
  align-content: center;
  padding: 8%;
}
.lp-ph__icon-lab .lp-ph__icon { width: 100%; }
.lp-ph__icon.shape-sq { border-radius: 18%; }
.lp-ph__icon.shape-round { border-radius: 50%; }
.lp-ph__icon.shape-squircle { border-radius: 32%; }

.lp-ph__canvas {
  flex: 1;
  position: relative;
  overflow: visible;
}
.lp-ph__canvas-block {
  position: absolute;
  border-radius: 18px;
  background: currentColor;
  opacity: 0.18;
}
.lp-ph__canvas-block.a { width: 55%; height: 28%; left: -8%; top: 8%; }
.lp-ph__canvas-block.b { width: 40%; height: 22%; right: -10%; top: 38%; }
.lp-ph__canvas-block.c { width: 48%; height: 24%; left: 10%; bottom: 8%; opacity: 1; background: var(--orange); }
.lp-ph__icon.float { position: absolute; width: 14%; border-radius: 28%; }
.lp-ph__icon.float:nth-of-type(1) { left: 12%; top: 20%; }
.lp-ph__icon.float:nth-of-type(2) { right: 18%; top: 30%; }
.lp-ph__icon.float:nth-of-type(3) { left: 28%; top: 48%; }
.lp-ph__icon.float:nth-of-type(4) { right: 8%; bottom: 28%; }
.lp-ph__icon.float:nth-of-type(5) { left: 8%; bottom: 18%; }

.lp-ph__settings-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  margin-bottom: 10%;
}
.lp-ph__settings-list { display: flex; flex-direction: column; gap: 7%; flex: 1; }
.lp-ph__setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8% 6%;
  border-radius: 14px;
  background: rgba(27, 25, 21, 0.08);
}
.theme-dark .lp-ph__setting { background: rgba(253, 253, 253, 0.08); }
.lp-ph__setting.accent { outline: 2px solid var(--orange); }
.lp-ph__setting b {
  display: block;
  width: 42%;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.45;
}
.lp-ph__setting i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1.5px solid currentColor;
  opacity: 0.45;
}

.lp-ph__cylinder {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 3%;
  margin-top: auto;
  height: 26%;
}
.lp-ph__icon.cyl {
  width: 13%;
  border-radius: 20% 20% 35% 35%;
}
.lp-ph__cylinder .lp-ph__icon:nth-child(1),
.lp-ph__cylinder .lp-ph__icon:nth-child(5) { height: auto; transform: scale(0.75) translateY(8px); opacity: 0.4; }
.lp-ph__cylinder .lp-ph__icon:nth-child(2),
.lp-ph__cylinder .lp-ph__icon:nth-child(4) { transform: scale(0.9) translateY(3px); opacity: 0.7; }

.lp-ph__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6%;
  flex: 1;
}
.lp-ph__col {
  display: flex;
  flex-direction: column;
  gap: 10%;
  background: rgba(27, 25, 21, 0.06);
  border-radius: 14px;
  padding: 10% 8%;
}
.theme-dark .lp-ph__col { background: rgba(253, 253, 253, 0.08); }
.lp-ph__col .lp-ph__icon { width: 100%; border-radius: 24%; }

.lp-ph__minimal {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8%;
}
.lp-ph__minimal .lp-ph__icon { border-radius: 50%; }

.lp-ph__chaos {
  flex: 1;
  position: relative;
}
.lp-ph__chaos .lp-ph__icon {
  position: absolute;
  border-radius: 28%;
}
.lp-ph__icon.rot1 { transform: rotate(-12deg); }
.lp-ph__icon.rot2 { transform: rotate(8deg); }
.lp-ph__icon.rot3 { transform: rotate(-4deg); }
.lp-ph__chaos .lp-ph__icon:nth-child(1) { left: 8%; top: 12%; }
.lp-ph__chaos .lp-ph__icon:nth-child(2) { right: 12%; top: 8%; width: 24%; }
.lp-ph__chaos .lp-ph__icon:nth-child(3) { left: 28%; top: 32%; }
.lp-ph__chaos .lp-ph__icon:nth-child(4) { right: 20%; top: 38%; }
.lp-ph__chaos .lp-ph__icon:nth-child(5) { left: 10%; bottom: 28%; width: 26%; }
.lp-ph__chaos .lp-ph__icon:nth-child(6) { right: 8%; bottom: 22%; }
.lp-ph__chaos .lp-ph__icon:nth-child(7) { left: 36%; bottom: 12%; }
.lp-ph__chaos .lp-ph__icon:nth-child(8) { right: 34%; top: 58%; }

/* ── Showcase gallery ── */
.showcase {
  padding: 0;
  margin: clamp(1.25rem, 2.5vw, 2rem);
  background: transparent;
}

.showcase__shell {
  background: var(--blue);
  border-radius: clamp(36px, 3.5vw, 48px);
  overflow: hidden;
  padding: clamp(3.25rem, 6vw, 5rem) 0 0;
}

.showcase__intro {
  max-width: 48rem;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem) clamp(1.1rem, 2.2vw, 1.75rem);
}

.showcase__label {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.7;
  margin-bottom: 1.25rem;
}

.showcase__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 1.35rem;
}

.showcase__title-light {
  color: var(--black);
}

.showcase__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.55;
  color: var(--black);
  width: max-content;
  max-width: 100%;
}

.showcase__copy-primary {
  font-weight: 500;
  white-space: nowrap;
  opacity: 0.92;
}

.showcase__copy-secondary {
  font-weight: 400;
  opacity: 0.8;
}

.showcase-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  column-gap: clamp(0.65rem, 1.4vw, 1.15rem);
  padding:
    clamp(0.75rem, 1.5vw, 1.25rem)
    clamp(48px, 5vw, 64px)
    calc(clamp(32px, 4vw, 48px) + 30px);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.showcase-gallery:focus-visible {
  outline-offset: -4px;
}

.showcase-gallery::-webkit-scrollbar {
  display: none;
}

.showcase-gallery .lp {
  width: clamp(200px, 17vw, 290px);
  max-width: 100%;
  justify-self: center;
  --gallery-y: 0px;
  transform: translateY(var(--gallery-y));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.showcase-gallery .lp:nth-child(1) { --gallery-y: 20px; }
.showcase-gallery .lp:nth-child(2) { --gallery-y: -15px; }
.showcase-gallery .lp:nth-child(3) { --gallery-y: 25px; }
.showcase-gallery .lp:nth-child(4) { --gallery-y: -5px; }
.showcase-gallery .lp:nth-child(5) { --gallery-y: 30px; }

.showcase-gallery .lp:hover {
  transform: translateY(calc(var(--gallery-y) - 6px));
  filter: drop-shadow(0 14px 22px rgba(27, 25, 21, 0.16));
}

.showcase-gallery .lp__shell {
  border-radius: 26px;
  border: 1px solid rgba(253, 253, 253, 0.28);
  box-shadow: 0 10px 24px rgba(27, 25, 21, 0.1);
}

.showcase-gallery .lp__caption {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.7rem;
  opacity: 0.8;
  color: var(--black);
  text-align: center;
}

.showcase-gallery .lp__desc {
  max-width: 24ch;
  margin: 0.3rem auto 0;
  font-family: var(--font-body);
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--black);
  opacity: 0.8;
  text-align: center;
}

/* No decorative orange inside the blue showcase */
.showcase-gallery .lp-ph__icon.accent,
.showcase-gallery .lp-ph__swipe.short,
.showcase-gallery .lp-ph__canvas-block.c {
  background: #1b1915;
  opacity: 0.85;
}

.showcase-gallery .theme-dark .lp-ph__icon.accent,
.showcase-gallery .theme-dark .lp-ph__swipe.short,
.showcase-gallery .theme-dark .lp-ph__canvas-block.c {
  background: #fdfdfd;
  opacity: 0.9;
}

.showcase-gallery .lp-ph__folder.accent,
.showcase-gallery .lp-ph__setting.accent {
  outline-color: currentColor;
}

/* ── Feature detail lab ── */
.features {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3.5rem);
  background: var(--bg);
  border-top: none;
}

.features__intro {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.features__label {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.7;
  margin-bottom: 1.1rem;
}

.features__title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 1.2rem;
}

.features__lead {
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.6;
  color: var(--black);
  opacity: 0.72;
  max-width: 38ch;
}

.detail-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.detail-lab__controls {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 22rem;
}

.detail-cats {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(27, 25, 21, 0.12);
}

.detail-cats__item {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(27, 25, 21, 0.12);
  text-align: left;
  padding: 0.95rem 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.4;
  cursor: pointer;
  position: relative;
  transition: opacity 0.22s ease, color 0.22s ease;
}

.detail-cats__item:hover {
  opacity: 0.78;
}

.detail-cats__item.is-active {
  opacity: 1;
  color: var(--blue);
}

.detail-cats__item.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 2.25rem;
  height: 2px;
  background: var(--orange);
}

.detail-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
}

.detail-opts.is-swapping {
  animation: detail-swap 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.detail-opts__item {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.2rem 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--black);
  opacity: 0.42;
  cursor: pointer;
  position: relative;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.detail-opts__item:hover {
  opacity: 0.8;
}

.detail-opts__item.is-active {
  opacity: 1;
  color: var(--black);
}

.detail-opts__item.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--orange);
}

.detail-lab__note {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(27, 25, 21, 0.55);
  max-width: 28ch;
}

.detail-lab__preview {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: min(72vw, 620px);
}

.detail-phone {
  width: min(100%, 340px);
}

.detail-video-stage {
  width: min(100%, 420px);
  position: relative;
}

.detail-video-stage[hidden] {
  display: none !important;
}

.detail-lab__preview.is-video-mode .detail-phone {
  display: none;
}

.detail-lab__preview.is-video-mode .detail-video-stage {
  display: block;
}

.detail-video-stage__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: clamp(28px, 3vw, 36px);
  overflow: hidden;
  background: transparent;
}

.detail-video-stage__source {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.detail-video-stage__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  background: #0f0e0c;
}

.detail-video-stage__video.is-chroma {
  background: transparent;
}

.detail-video-stage__video.is-active {
  opacity: 1;
  transform: translateY(0);
  z-index: 1;
}

.detail-video-replay {
  appearance: none;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #f7f6f2;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.detail-video-replay__icon {
  display: grid;
  place-items: center;
  width: clamp(3.25rem, 8vw, 3.75rem);
  height: clamp(3.25rem, 8vw, 3.75rem);
  border-radius: 50%;
  background: rgba(27, 25, 21, 0.55);
  color: #f7f6f2;
  transform: scale(1);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s ease;
}

.detail-video-replay__icon svg {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
}

.detail-video-replay:hover .detail-video-replay__icon,
.detail-video-replay:focus-visible .detail-video-replay__icon {
  background: rgba(27, 25, 21, 0.72);
  transform: scale(1.05);
}

.detail-video-replay:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 50%;
}

.detail-video-replay[hidden] {
  display: none !important;
}

.detail-phone__bezel {
  border-radius: 36px;
  padding: 0.7rem;
  background: rgba(27, 25, 21, 0.06);
}

.detail-phone__screen {
  position: relative;
  aspect-ratio: 9 / 17;
  border-radius: 28px;
  background: #f7f6f2;
  overflow: hidden;
  padding: 1rem 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.detail-phone.is-updating .detail-phone__screen {
  opacity: 0;
  transform: translateY(8px);
}

.detail-phone__status {
  height: 0.35rem;
  width: 28%;
  border-radius: 999px;
  background: rgba(27, 25, 21, 0.14);
  margin: 0.15rem auto 1.1rem;
}

.detail-phone__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem 0.55rem;
  align-content: start;
  flex: 1;
}

.detail-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.detail-app i {
  display: block;
  width: var(--detail-icon, 1.85rem);
  aspect-ratio: 1;
  border-radius: 22%;
  background: var(--black);
  opacity: 0.88;
  transition: width 0.28s ease;
}

.detail-app i.is-accent {
  background: var(--blue);
  opacity: 1;
}

.detail-app i.is-soft {
  opacity: 0.55;
}

.detail-app em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.52rem;
  letter-spacing: 0.02em;
  color: rgba(27, 25, 21, 0.55);
  line-height: 1;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.detail-folder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18%;
  width: var(--detail-icon, 1.85rem);
  aspect-ratio: 1;
  padding: 18%;
  border-radius: 22%;
  background: rgba(131, 188, 221, 0.35);
  box-sizing: border-box;
  transition: width 0.28s ease, border-radius 0.28s ease, transform 0.28s ease;
}

.detail-folder i {
  width: 100%;
  border-radius: 20%;
  background: var(--black);
  opacity: 0.8;
}

.detail-phone__dock {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.55rem;
  padding: 0.7rem 0.55rem;
  border-radius: 18px;
  background: rgba(27, 25, 21, 0.06);
  transition: opacity 0.28s ease, transform 0.28s ease, background 0.28s ease;
}

.detail-dock-icon {
  width: 1.55rem;
  aspect-ratio: 1;
  border-radius: 24%;
  background: var(--black);
  opacity: 0.85;
}

.detail-dock-icon.is-accent {
  background: var(--orange);
  opacity: 1;
}

.detail-phone[data-icons="small"] { --detail-icon: 1.45rem; }
.detail-phone[data-icons="default"] { --detail-icon: 1.85rem; }
.detail-phone[data-icons="large"] { --detail-icon: 2.25rem; }

.detail-phone[data-icons="large"] .detail-phone__grid {
  gap: 0.7rem 0.4rem;
}

.detail-phone[data-labels="hidden"] .detail-app em {
  opacity: 0;
  transform: translateY(4px);
}

.detail-phone[data-folders="fan"] .detail-folder {
  transform: rotate(-8deg);
  background: rgba(27, 25, 21, 0.08);
}

.detail-phone[data-folders="fan"] .detail-folder i:nth-child(1) {
  transform: translate(-18%, -22%) rotate(-18deg);
}

.detail-phone[data-folders="fan"] .detail-folder i:nth-child(2) {
  transform: translate(16%, -28%) rotate(14deg);
  background: var(--orange);
  opacity: 1;
}

.detail-phone[data-folders="fan"] .detail-folder i:nth-child(3) {
  transform: translate(-10%, 8%) rotate(8deg);
}

.detail-phone[data-folders="fan"] .detail-folder i:nth-child(4) {
  transform: translate(12%, 14%) rotate(-6deg);
  background: var(--blue);
  opacity: 1;
}

.detail-phone[data-folders="arc"] .detail-folder {
  border-radius: 50%;
  background: rgba(131, 188, 221, 0.22);
  position: relative;
}

.detail-phone[data-folders="arc"] .detail-folder i {
  position: absolute;
  width: 34%;
  border-radius: 50%;
}

.detail-phone[data-folders="arc"] .detail-folder i:nth-child(1) { left: 18%; top: 42%; }
.detail-phone[data-folders="arc"] .detail-folder i:nth-child(2) { left: 38%; top: 18%; background: var(--orange); opacity: 1; }
.detail-phone[data-folders="arc"] .detail-folder i:nth-child(3) { left: 58%; top: 18%; background: var(--blue); opacity: 1; }
.detail-phone[data-folders="arc"] .detail-folder i:nth-child(4) { left: 72%; top: 42%; }

.detail-phone[data-dock="wheel"] .detail-phone__dock {
  background: transparent;
  gap: 0;
  height: 4.2rem;
  position: relative;
}

.detail-phone[data-dock="wheel"] .detail-dock-icon {
  position: absolute;
  bottom: 0.2rem;
}

.detail-phone[data-dock="wheel"] .detail-dock-icon:nth-child(1) { left: 8%; transform: translateY(0.55rem) rotate(-18deg); }
.detail-phone[data-dock="wheel"] .detail-dock-icon:nth-child(2) { left: 26%; transform: translateY(0.1rem) rotate(-8deg); }
.detail-phone[data-dock="wheel"] .detail-dock-icon:nth-child(3) { left: 44%; transform: translateY(-0.15rem); }
.detail-phone[data-dock="wheel"] .detail-dock-icon:nth-child(4) { left: 62%; transform: translateY(0.1rem) rotate(8deg); }

.detail-phone[data-dock="hidden"] .detail-phone__dock {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

@keyframes detail-swap {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Light / Dark compare ── */
.compare {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3.5rem) clamp(4rem, 8vw, 6rem);
  background: var(--bg);
}

.compare__intro {
  max-width: 36rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.compare__label {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.65;
  margin-bottom: 1rem;
}

.compare__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 1rem;
}

.compare__lead {
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.55;
  color: rgba(27, 25, 21, 0.68);
  max-width: 44ch;
}

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

.compare__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 340px));
  justify-content: center;
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
}

.compare-info {
  margin-top: 1.5rem;
  padding-inline: 0.25rem;
}

.compare-info__label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(27, 25, 21, 0.7);
  margin-bottom: 0.45rem;
}

.compare-info__title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 0.6rem;
}

.compare-info__desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(27, 25, 21, 0.72);
  max-width: 34ch;
  margin-bottom: 0.85rem;
}

.compare-info__meta {
  font-family: var(--font-body);
  font-size: 0.74rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: rgba(27, 25, 21, 0.68);
}

.theme-compare__credit {
  margin-top: 0.6rem;
  padding-inline: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: rgba(27, 25, 21, 0.68);
}

.theme-compare__credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(27, 25, 21, 0.3);
  transition: color 0.15s, text-decoration-color 0.15s;
}

.theme-compare__credit a:hover,
.theme-compare__credit a:focus-visible {
  color: var(--black);
  text-decoration-color: currentColor;
}

.theme-compare {
  --compare-pos: 50%;
  width: min(100%, 420px);
  margin: 0 auto;
}

.theme-compare__hint {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(27, 25, 21, 0.68);
  margin-bottom: 0.85rem;
}

.theme-compare__stage {
  position: relative;
  display: grid;
  border-radius: clamp(20px, 2.5vw, 28px);
  overflow: hidden;
  background: rgba(27, 25, 21, 0.04);
  touch-action: pan-y;
  user-select: none;
  cursor: ew-resize;
}

.theme-compare__stage:hover,
.theme-compare.is-dragging .theme-compare__stage,
.theme-compare__stage:focus-within {
  --compare-line-opacity: 0.95;
  --compare-handle-scale: 1.05;
}

.theme-compare__img {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.theme-compare__img--dark {
  /* Reveal Dark on the right of the divider (Light stays on the left). */
  clip-path: inset(0 0 0 var(--compare-pos));
  will-change: clip-path;
}

/* Screenshots with extra margin: zoom the phone to match the other compares. */
.theme-compare--zoomed .theme-compare__img {
  transform: scale(var(--compare-zoom, 1));
  transform-origin: 50% 50%;
}

.theme-compare--zoomed .theme-compare__img--dark {
  /* clip-path is applied before the zoom, so map the divider back into image space. */
  clip-path: inset(0 0 0 calc(50% + (var(--compare-pos) - 50%) / var(--compare-zoom, 1)));
}

.theme-compare.is-animating .theme-compare__img--dark,
.theme-compare.is-animating .theme-compare__divider {
  transition:
    clip-path 500ms cubic-bezier(0.22, 1, 0.36, 1),
    left 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-compare__side {
  position: absolute;
  top: 0.85rem;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
}

.theme-compare__side--light {
  left: 0.85rem;
  color: rgba(27, 25, 21, 0.72);
  background: rgba(253, 253, 253, 0.88);
}

.theme-compare__side--dark {
  right: 0.85rem;
  color: rgba(253, 253, 253, 0.92);
  background: rgba(27, 25, 21, 0.78);
}

.theme-compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-pos);
  z-index: 3;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(253, 253, 253, 0.92);
  opacity: var(--compare-line-opacity, 0.78);
  box-shadow: 0 0 0 1px rgba(27, 25, 21, 0.12);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.theme-compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.35rem;
  height: 2.35rem;
  transform: translate(-50%, -50%) scale(var(--compare-handle-scale, 1));
  border-radius: 999px;
  border: 1px solid rgba(27, 25, 21, 0.18);
  background: #fdfdfd;
  box-shadow: 0 1px 0 rgba(27, 25, 21, 0.06);
  display: grid;
  place-items: center;
  pointer-events: auto;
  touch-action: pan-y;
  cursor: ew-resize;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Invisible touch target of at least 48px around the handle. */
.theme-compare__handle::before {
  content: "";
  position: absolute;
  inset: min(0px, calc((100% - 48px) / 2));
}

.theme-compare.is-dragging .theme-compare__handle,
.theme-compare__stage:hover .theme-compare__handle {
  border-color: rgba(232, 159, 42, 0.85);
}

.theme-compare__arrows {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(27, 25, 21, 0.8);
  line-height: 1;
}

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

.theme-compare__range {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.theme-compare__stage:focus-within .theme-compare__handle {
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px #fdfdfd, 0 0 0 6px var(--focus-ring);
}

/* ── Story bridge ── */
.story-bridge {
  padding: clamp(4.5rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 3.5rem);
  background: var(--bg);
}

.story-bridge__inner {
  max-width: 42rem;
}

.story-bridge__accent {
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--orange);
  margin-bottom: 1.5rem;
}

.story-bridge__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 1.15rem;
}

.story-bridge__copy {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.55;
  color: rgba(27, 25, 21, 0.68);
  max-width: 34ch;
}

/* ── Manifesto ── */
.manifesto {
  padding: 0;
  margin: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: clamp(2rem, 5vw, 4rem);
  background: transparent;
}

.manifesto__shell {
  position: relative;
  background: #1b1915;
  color: #fdfdfd;
  border-radius: clamp(36px, 3.5vw, 48px);
  overflow: hidden;
  padding: clamp(2.75rem, 5.5vw, 4.25rem) clamp(1.75rem, 5vw, 4rem);
}

.manifesto__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "intro aside"
    "continue aside";
  column-gap: clamp(1.5rem, 4vw, 3rem);
  row-gap: 1.25rem;
  align-items: start;
}

.manifesto__intro {
  grid-area: intro;
  max-width: 34rem;
}

.manifesto__continue {
  grid-area: continue;
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(253, 253, 253, 0.7);
  transition: color 0.22s ease;
}

.manifesto__aside {
  grid-area: aside;
  position: relative;
  container-type: inline-size;
  width: min(100%, 280px);
  justify-self: end;
  align-self: center;
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.manifesto__label {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.1rem;
}

.manifesto__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  color: #fdfdfd;
  margin-bottom: 1.2rem;
}

.manifesto__title-accent {
  color: var(--blue);
}

.manifesto__copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.55;
  color: rgba(253, 253, 253, 0.8);
  max-width: 34ch;
}

.manifesto__continue-arrow {
  color: var(--blue);
  transition: color 0.22s ease;
}

.manifesto__continue:hover,
.manifesto__continue:focus-visible {
  color: #fdfdfd;
}

.manifesto__continue:hover .manifesto__continue-arrow,
.manifesto__continue:focus-visible .manifesto__continue-arrow {
  color: var(--orange);
}

.manifesto__continue:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
  border-radius: 2px;
}

.manifesto__bg-word {
  position: absolute;
  left: 0;
  right: 0;
  top: 42%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(3rem, 24cqi, 7rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: #fdfdfd;
  opacity: 0.04;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.manifesto__grid {
  --gap: clamp(0.65rem, 1.5vw, 1rem);
  --cell: calc((100% - 3 * var(--gap)) / 4);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  width: 100%;
}

.manifesto__dot {
  aspect-ratio: 1;
  border-radius: 22%;
  background: var(--blue);
}

.manifesto__dot.is-empty {
  visibility: hidden;
}

.manifesto__dot.is-break {
  position: absolute;
  visibility: visible;
  width: var(--cell);
  aspect-ratio: 1;
  left: calc(2 * (var(--cell) + var(--gap)));
  top: calc(2 * (var(--cell) + var(--gap)));
  background: var(--orange);
  border-radius: 22%;
  transform: translate(30%, 48%);
  z-index: 2;
}

/* ── Story ── */
.story {
  background: #fdfdfd;
  color: var(--black);
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 4vw, 3.5rem) clamp(4.5rem, 9vw, 7.5rem);
}

.story__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.story__intro {
  position: sticky;
  top: 140px;
  padding-bottom: 1rem;
}

.story__label {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.55;
  margin-bottom: 1.15rem;
}

.story__title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7.5vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--black);
}

.story__title-mark {
  color: var(--blue);
}

.story__chapters {
  display: flex;
  flex-direction: column;
}

.story-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
  min-height: 480px;
  padding: clamp(2rem, 3.5vw, 2.75rem) 0;
  border-top: 1px solid rgba(27, 25, 21, 0.15);
}

.story-chapter:last-child {
  border-bottom: 1px solid rgba(27, 25, 21, 0.15);
}

.story-chapter__content {
  min-width: 0;
  padding-top: 0.15rem;
}

.story-chapter__num {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue-ink);
  margin-bottom: 0.7rem;
}

.story-chapter__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 1rem;
}

.story-chapter__copy {
  max-width: 34rem;
}

.story-chapter__copy p {
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.2vw, 1.06rem);
  line-height: 1.65;
  color: var(--black);
  opacity: 0.78;
}

.story-chapter__copy p + p {
  margin-top: 0.85rem;
}

.story-chapter__quiet {
  opacity: 0.92 !important;
  font-weight: 500;
  margin-top: 1.15rem !important;
}

/* Shared story image frame — identical for all chapters */
.story-image {
  --story-frame-w: 300px;
  --story-frame-h: 420px;
  box-sizing: border-box;
  width: var(--story-frame-w);
  height: var(--story-frame-h);
  max-width: 100%;
  margin: 0;
  justify-self: end;
  flex-shrink: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(27, 25, 21, 0.08);
  background: #f5f5f3;
  position: relative;
  display: block;
}

.story-image img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Chapter 01 — photo fills frame */
.story-image--photo {
  background: #f5f5f3;
}

.story-image--photo img {
  object-fit: cover;
  object-position: center 40%;
}

/* Chapter 02 — screenshot fills frame */
.story-image--shot {
  background: #1b1915;
}

.story-image--shot img {
  object-fit: cover;
  object-position: center top;
}

/* Chapter 03 — logo fills visual weight of shared frame (no nested square) */
.story-image--logo {
  background: #e4f0f7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.story-image--logo img {
  width: 70%;
  height: auto;
  max-height: 70%;
  object-fit: contain;
  object-position: center;
}

.story__close {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--black);
  opacity: 0.55;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

/* ── Final CTA ── */
.final-cta {
  padding: 0;
  margin: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem) clamp(2rem, 4vw, 3rem);
  background: transparent;
}

.final-cta__shell {
  background: var(--blue);
  border-radius: clamp(36px, 3.5vw, 48px);
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(2rem, 6vw, 5.5rem) clamp(2.5rem, 4vw, 3.5rem);
}

.final-cta__layout {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.final-cta__label {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.7;
  margin-bottom: 1.15rem;
}

.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 1.35rem;
}

.final-cta__lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.65;
  color: var(--black);
  opacity: 0.82;
  max-width: 34ch;
  margin-bottom: 0.85rem;
}

.final-cta__lead--follow {
  margin-bottom: 2rem;
}

.final-cta__button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #fdfdfd;
  background: #1b1915;
  border-radius: 10px;
  padding: 0.95rem 1.45rem;
  transition: background 0.22s ease, color 0.22s ease;
}

.final-cta__button-arrow {
  display: inline-block;
  transition: transform 0.22s ease;
}

.final-cta__button:hover,
.final-cta__button:focus-visible {
  background: #fdfdfd;
  color: #1b1915;
}

.final-cta__button:hover .final-cta__button-arrow,
.final-cta__button:focus-visible .final-cta__button-arrow {
  transform: translateX(5px);
}

.final-cta__button:focus-visible {
  outline: 2px solid #1b1915;
  outline-offset: 3px;
}

.final-cta__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  list-style: none;
  border-top: 1px solid rgba(27, 25, 21, 0.18);
  padding-top: clamp(1.5rem, 3vw, 2rem);
}

.final-cta__fact-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.35rem;
}

.final-cta__fact-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--black);
  opacity: 0.8;
}

/* ── Footer ── */
.site-footer {
  background: var(--black);
  color: var(--bg);
  padding: clamp(4.5rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem) clamp(2rem, 3vw, 2.5rem);
}

.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.site-footer__brand {
  max-width: 16rem;
}

.site-footer__wordmark {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.25rem);
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--bg);
  text-decoration: none;
}

.site-footer__wordmark:hover {
  color: var(--bg);
}

.site-footer__mark {
  display: block;
  width: 7px;
  height: 7px;
  margin-top: 0.28em;
  flex-shrink: 0;
  background: var(--blue);
}

.site-footer__tagline {
  margin-top: 1.1rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(253, 253, 253, 0.72);
}

.site-footer__heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253, 253, 253, 0.5);
  margin-bottom: 1.15rem;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(253, 253, 253, 0.78);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__links a::after {
  content: "→";
  font-size: 0.78em;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--bg);
}

.site-footer__links a:hover::after {
  opacity: 0.7;
  transform: translateX(0);
}

.site-footer__links a:focus-visible,
.site-footer__wordmark:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
  border-radius: 2px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(253, 253, 253, 0.12);
}

.site-footer__copy {
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(253, 253, 253, 0.5);
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 4rem;
    padding-bottom: 2rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin-bottom: 2.75rem;
  }
}

/* ── Contact page ── */
.contact-page {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.35rem, 4vw, 2.5rem) clamp(4rem, 8vw, 6rem);
}

.contact-hero {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.contact-hero__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.45;
  margin-bottom: 1rem;
}

.contact-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 1.15rem;
}

.contact-hero__lead {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.5;
  color: var(--black);
  opacity: 0.72;
  max-width: 28rem;
}

.contact-panel {
  width: 100%;
}

.contact-type {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.75rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(27, 25, 21, 0.12);
}

.contact-type__option {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.55rem 0 0.85rem;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.68;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.contact-type__option:hover {
  opacity: 0.85;
}

.contact-type__option.is-active {
  opacity: 1;
  color: var(--black);
  border-bottom-color: var(--orange);
}

.contact-type__option:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
  border-radius: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.contact-fields-bug,
.contact-fields-feature {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* display:flex on fields overrides the UA [hidden] rule — keep mode switching reliable */
.contact-form [hidden] {
  display: none !important;
}

.contact-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-field > label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.85;
  margin-bottom: 0.55rem;
}

.contact-field > label:has(+ .contact-field__help) {
  margin-bottom: 0.3rem;
}

.contact-field__hint {
  margin-left: 0.45rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  opacity: 0.8;
}

.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field textarea,
.contact-field select {
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(27, 25, 21, 0.035);
  border: 1px solid rgba(27, 25, 21, 0.5);
  border-radius: 2px;
  padding: 0.72rem 0.85rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--black);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 8.25rem;
}

#contact-happened,
#contact-feature-about {
  min-height: 11rem;
}

#contact-message,
#contact-expected,
#contact-why {
  min-height: 8.25rem;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(27, 25, 21, 0.62);
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-color: var(--blue);
  background-color: rgba(131, 188, 221, 0.08);
}

.contact-field input.is-invalid,
.contact-field textarea.is-invalid,
.contact-field select.is-invalid {
  border-color: var(--orange);
}

.contact-field__error,
.contact-form__error {
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.4;
  color: rgba(27, 25, 21, 0.72);
}

.contact-form__error {
  margin-top: -0.4rem;
}

.contact-field__req {
  margin-left: 0.2rem;
  color: var(--black);
  opacity: 0.7;
}

.contact-field__help {
  font-family: var(--font-body);
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(27, 25, 21, 0.68);
  margin: 0 0 0.55rem;
}

.contact-field__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.4rem;
  min-height: 0;
}

.contact-counter {
  flex-shrink: 0;
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(27, 25, 21, 0.4);
}

.contact-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-field select {
  appearance: none;
  background-color: rgba(27, 25, 21, 0.035);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(27, 25, 21, 0.55) 50%),
    linear-gradient(135deg, rgba(27, 25, 21, 0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 1.05rem) calc(50% - 0.15rem),
    calc(100% - 0.7rem) calc(50% - 0.15rem);
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
  cursor: pointer;
}

.contact-field--file input[type="file"] {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--black);
  padding: 0.72rem 0.85rem;
  background: rgba(27, 25, 21, 0.035);
  border: 1px solid rgba(27, 25, 21, 0.14);
  border-radius: 2px;
}

.contact-field--file input[type="file"]::file-selector-button {
  appearance: none;
  border: 1px solid rgba(27, 25, 21, 0.2);
  background: transparent;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.8rem;
  margin-right: 0.85rem;
  border-radius: 8px;
  cursor: pointer;
}

.contact-field--file .contact-field__help {
  margin-top: 0.55rem;
  margin-bottom: 0;
}

.contact-shot {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.75rem;
  padding: 0.75rem 0;
}

.contact-shot__thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(27, 25, 21, 0.06);
  flex-shrink: 0;
}

.contact-shot__info {
  min-width: 0;
  flex: 1;
}

.contact-shot__name,
.contact-shot__size {
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.35;
  color: rgba(27, 25, 21, 0.72);
}

.contact-shot__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-shot__size {
  opacity: 0.7;
  font-size: 0.8rem;
}

.contact-shot__remove {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.4rem 0.2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.contact-shot__remove:hover {
  opacity: 1;
  color: var(--orange);
}

.contact-form__fallback {
  margin-top: -0.35rem;
}

.contact-fallback-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  opacity: 0.78;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.contact-fallback-link:hover {
  opacity: 1;
  color: var(--blue);
}

.contact-submit {
  appearance: none;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.5rem;
  border: 1px solid transparent;
  background: var(--black);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 1.4rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.contact-submit__arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.contact-submit:hover:not(:disabled) {
  background: var(--blue);
  color: var(--black);
}

.contact-submit:hover:not(:disabled) .contact-submit__arrow {
  transform: translateX(5px);
}

.contact-submit.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.contact-submit:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.contact-privacy {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(27, 25, 21, 0.7);
  max-width: 28rem;
}

.contact-privacy a {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--black);
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.contact-privacy a:hover {
  opacity: 1;
  color: var(--black);
}

.contact-privacy a:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.contact-recaptcha {
  margin-top: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  line-height: 1.5;
  color: rgba(27, 25, 21, 0.68);
  max-width: 28rem;
}

.contact-recaptcha a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(27, 25, 21, 0.25);
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

.contact-recaptcha a:hover {
  color: var(--black);
}

.contact-recaptcha a:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.contact-success {
  padding: 0.5rem 0 1rem;
}

.contact-success__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: var(--black);
  margin-bottom: 0.9rem;
}

.contact-success__copy {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--black);
  opacity: 0.78;
  margin-bottom: 0;
}

.contact-success__copy--quiet {
  opacity: 0.55;
  font-size: 0.95rem;
}

.contact-success__again {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid rgba(27, 25, 21, 0.85);
  border-radius: 10px;
  background: transparent;
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.contact-success__again:hover {
  color: var(--black);
  border-color: var(--blue);
  background: rgba(131, 188, 221, 0.16);
}

.contact-success__again:hover span[aria-hidden="true"] {
  transform: translateX(4px);
}

.contact-success__again span[aria-hidden="true"] {
  display: inline-block;
  transition: transform 0.2s ease;
}

.contact-success__again:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.contact-direct {
  margin-top: clamp(3rem, 6vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(27, 25, 21, 0.1);
}

.contact-direct__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.68;
  margin-bottom: 0.55rem;
}

.contact-direct__mail {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--black);
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.contact-direct__mail:hover {
  opacity: 1;
  color: var(--blue);
}

.contact-direct__mail:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .contact-type {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .contact-type::-webkit-scrollbar {
    display: none;
  }

  .contact-type__option {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* At 320px (or 200%+ zoom) the scroll strip hides the last tab; wrap instead. */
@media (max-width: 400px) {
  .contact-type {
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 0.25rem;
  }

  .contact-form,
  .contact-fields-bug,
  .contact-fields-feature {
    gap: 1.65rem;
  }

  .contact-field-row {
    grid-template-columns: 1fr;
    gap: 1.65rem;
  }

  .contact-submit {
    width: 100%;
    justify-content: center;
    min-height: 3rem;
  }

  .contact-success__again {
    width: 100%;
    justify-content: center;
  }
}

/* ── Privacy page ── */
.privacy-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.35rem, 4vw, 2.5rem) clamp(4rem, 8vw, 6rem);
}

.privacy-toc {
  display: none;
}

.privacy-page {
  max-width: 760px;
  width: 100%;
}

.privacy-hero {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.privacy-hero__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.68;
  margin-bottom: 1rem;
}

.privacy-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 1.35rem;
}

.privacy-hero__lead {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  color: var(--black);
  opacity: 0.74;
  max-width: 34rem;
  margin-bottom: 1.25rem;
}

.privacy-hero__updated {
  font-family: var(--font-body);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: var(--black);
  opacity: 0.68;
}

.privacy-section {
  padding: clamp(2.25rem, 4vw, 3rem) 0;
  border-top: 1px solid rgba(27, 25, 21, 0.1);
}

.privacy-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: var(--black);
  margin-bottom: 1.25rem;
}

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

.privacy-prose {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--black);
  opacity: 0.78;
  max-width: 40rem;
  margin-bottom: 1.15rem;
}

.privacy-prose:last-child {
  margin-bottom: 0;
}

.privacy-short {
  background: rgba(131, 188, 221, 0.14);
  border-top: 0;
  border-radius: 22px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.privacy-short .privacy-section__title {
  margin-bottom: 1.5rem;
}

.privacy-short__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}

.privacy-short__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-ink);
  margin-bottom: 0.95rem;
}

.privacy-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  position: relative;
  padding-left: 1.05rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--black);
  opacity: 0.8;
}

.privacy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--blue);
}

.privacy-list--wide {
  margin-top: 0.35rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.5rem;
}

.privacy-list--plain li::before {
  display: none;
}

.privacy-list--plain li {
  padding-left: 0;
}

.privacy-list--plain strong {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.privacy-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.privacy-panel {
  padding: clamp(1.35rem, 3vw, 1.75rem);
  border: 1px solid rgba(27, 25, 21, 0.1);
  border-radius: 18px;
  background: transparent;
}

.privacy-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-bottom: 0.95rem;
}

.privacy-note {
  margin-top: 1.25rem;
  padding: 0.95rem 1.1rem;
  border-left: 3px solid var(--blue);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--black);
  opacity: 0.72;
  max-width: 40rem;
}

.privacy-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.privacy-service__name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--black);
  margin-bottom: 0.85rem;
}

.privacy-service__used {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-ink);
  margin-bottom: 0.75rem;
}

.privacy-choices {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(27, 25, 21, 0.1);
}

.privacy-choices li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1.25rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(27, 25, 21, 0.1);
}

.privacy-choices__name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
}

.privacy-choices__state {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--black);
  opacity: 0.7;
}

.privacy-contact__email,
.privacy-contact__site {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  margin-bottom: 0.45rem;
}

.privacy-contact__email a,
.privacy-contact__site a {
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s ease;
}

.privacy-contact__email a:hover,
.privacy-contact__site a:hover {
  color: var(--blue);
}

.privacy-part {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2rem) 0 0.25rem;
  border-top: 2px solid var(--black);
}

.privacy-part__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-ink);
  margin-bottom: 0.6rem;
}

.privacy-part__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 0.85rem;
}

.privacy-part + .privacy-section {
  border-top: 0;
}

.privacy-list + .privacy-prose,
.privacy-note + .privacy-prose,
.imprint-address + .privacy-prose {
  margin-top: 1.15rem;
}

.privacy-action {
  margin-top: 1.5rem;
}

.privacy-prose a,
.privacy-list a {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: rgba(27, 25, 21, 0.3);
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.privacy-prose a:hover,
.privacy-list a:hover {
  color: var(--blue);
  text-decoration-color: currentColor;
}

.privacy-toc__group {
  margin-top: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

.licence-list {
  display: grid;
  margin-top: 1.5rem;
}

.licence-entry {
  padding: 1.35rem 0;
  border-top: 1px solid rgba(27, 25, 21, 0.08);
}

.licence-entry:first-child {
  border-top: 0;
  padding-top: 0;
}

.licence-entry__name {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.7rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-bottom: 0.55rem;
  overflow-wrap: anywhere;
}

.licence-entry__desc {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--black);
  opacity: 0.78;
  max-width: 40rem;
  margin-bottom: 0.65rem;
}

.licence-entry__meta {
  display: grid;
  gap: 0.3rem;
  margin: 0 0 0.65rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
}

.licence-entry__meta div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.75rem;
}

.licence-entry__meta dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.68;
  padding-top: 0.15rem;
}

.licence-entry__meta dd {
  margin: 0;
  color: var(--black);
  opacity: 0.8;
  overflow-wrap: anywhere;
}

.licence-entry__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
}

.licence-entry__links a {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: rgba(27, 25, 21, 0.3);
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.licence-entry__links a:hover {
  color: var(--blue);
  text-decoration-color: currentColor;
}

.licence-entry__links a:focus-visible,
.privacy-prose a:focus-visible,
.privacy-list a:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .licence-entry__meta div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.1rem;
  }
}

.guide-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.5rem, 3.5vw, 2.75rem);
  margin-top: 0.5rem;
}

.guide-item__title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-bottom: 0.55rem;
  overflow-wrap: anywhere;
}

.guide-item__text {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--black);
  opacity: 0.78;
}

.guide-tips {
  gap: 0.8rem;
}

@media (max-width: 800px) {
  .guide-list {
    grid-template-columns: 1fr;
  }
}

/* Imprint reuses the privacy layout without the table of contents. */
.privacy-shell.privacy-shell--single {
  grid-template-columns: minmax(0, 1fr);
}

.page-not-found .privacy-shell {
  min-height: calc(100vh - 22rem);
}

.imprint-address {
  font-family: var(--font-body);
  font-style: normal;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.6;
  color: var(--black);
}

.imprint-contact {
  display: grid;
  gap: 0.85rem;
  font-family: var(--font-body);
}

.imprint-contact__row {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
}

.imprint-contact dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.68;
}

.imprint-contact dd {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  overflow-wrap: anywhere;
}

.imprint-contact a,
.imprint-link {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: rgba(27, 25, 21, 0.3);
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.imprint-contact a:hover,
.imprint-link:hover {
  color: var(--blue);
  text-decoration-color: currentColor;
}

.imprint-updated {
  padding-top: clamp(2.25rem, 4vw, 3rem);
  border-top: 1px solid rgba(27, 25, 21, 0.1);
}

.imprint-contact a:focus-visible,
.imprint-link:focus-visible,
.privacy-contact__email a:focus-visible,
.privacy-contact__site a:focus-visible,
.privacy-toc__nav a:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

@media (min-width: 1100px) {
  .privacy-shell {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: clamp(2.5rem, 4vw, 4rem);
    align-items: start;
  }

  .privacy-toc {
    display: block;
    position: sticky;
    top: 1.5rem;
    padding-top: 0.35rem;
  }

  .privacy-toc__label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--black);
    opacity: 0.68;
    margin-bottom: 0.95rem;
  }

  .privacy-toc__nav {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
  }

  .privacy-toc__nav a {
    font-family: var(--font-body);
    font-size: 0.84rem;
    line-height: 1.35;
    color: var(--black);
    text-decoration: none;
    opacity: 0.68;
    transition: opacity 0.2s ease, color 0.2s ease;
  }

  .privacy-toc__nav a:hover {
    opacity: 1;
    color: var(--black);
  }
}

@media (max-width: 800px) {
  .privacy-short__grid,
  .privacy-split,
  .privacy-services,
  .privacy-list--wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .privacy-choices li {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Reveal system ── */
:root {
  --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-duration: 550ms;
  --reveal-distance: 16px;
}

html.js .reveal,
html.js .reveal-soft,
html.js .reveal-heading,
html.js .reveal-item,
html.js [data-reveal] {
  transition:
    opacity var(--reveal-duration, 550ms) var(--reveal-ease),
    transform var(--reveal-duration, 550ms) var(--reveal-ease);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js .reveal-soft,
html.js [data-reveal="soft"] {
  --reveal-y: 10px;
  --reveal-duration: 500ms;
}

html.js .reveal-heading,
html.js [data-reveal="heading"] {
  --reveal-y: 20px;
  --reveal-duration: 600ms;
}

html.js [data-reveal="fade-up"] {
  --reveal-y: 16px;
}

html.js .reveal:not(.is-visible),
html.js .reveal-soft:not(.is-visible),
html.js .reveal-heading:not(.is-visible),
html.js .reveal-item:not(.is-visible),
html.js [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, var(--reveal-y, var(--reveal-distance)), 0);
  will-change: opacity, transform;
}

html.js .reveal.is-visible,
html.js .reveal-soft.is-visible,
html.js .reveal-heading.is-visible,
html.js .reveal-item.is-visible,
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* Soft horizontal offset reserved for decorative asides only */
html.js [data-reveal="fade-left"]:not(.is-visible) {
  transform: translate3d(14px, 10px, 0);
}

html.js [data-reveal="fade-right"]:not(.is-visible) {
  transform: translate3d(-14px, 10px, 0);
}

.reveal-stagger > .reveal-item:nth-child(1) { --reveal-delay: 0ms; }
.reveal-stagger > .reveal-item:nth-child(2) { --reveal-delay: 70ms; }
.reveal-stagger > .reveal-item:nth-child(3) { --reveal-delay: 140ms; }
.reveal-stagger > .reveal-item:nth-child(4) { --reveal-delay: 210ms; }
.reveal-stagger > .reveal-item:nth-child(5) { --reveal-delay: 250ms; }

[data-reveal-drift] {
  transform: translate3d(0, var(--drift-y, 0px), 0);
  will-change: transform;
}

.contact-form-wrap.is-swapping {
  animation: contact-swap-in 250ms var(--reveal-ease) both;
}

.contact-success.is-revealing {
  animation: contact-success-in 320ms var(--reveal-ease) both;
}

@keyframes contact-swap-in {
  from {
    opacity: 0;
    transform: translate3d(0, 6px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes contact-success-in {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero__layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero {
    min-height: auto;
    margin: 1rem;
    border-radius: 28px;
    padding: 2.5rem 1.5rem 0;
  }
  .hero__visual {
    min-height: 48vh;
    margin: 1.5rem -0.5rem 0;
  }
  .hero-wall {
    --hero-card-w: 210px;
    --hero-wall-gap: 36px;
    inset: 0;
  }
  .showcase {
    margin: 1rem;
  }
  .showcase__shell {
    border-radius: 28px;
    padding: 2.75rem 0 0;
  }
  .showcase__intro {
    padding: 0 1.5rem 1.25rem;
  }
  .showcase__copy-primary {
    white-space: normal;
  }
  .showcase-gallery {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding: 0.75rem 1.5rem calc(2rem + 16px);
  }
  .showcase-gallery .lp {
    flex: 0 0 auto;
    width: clamp(220px, 32vw, 270px);
    max-width: none;
    justify-self: auto;
    scroll-snap-align: start;
  }
  .showcase-gallery .lp:nth-child(1) { --gallery-y: 12px; }
  .showcase-gallery .lp:nth-child(2) { --gallery-y: -10px; }
  .showcase-gallery .lp:nth-child(3) { --gallery-y: 16px; }
  .showcase-gallery .lp:nth-child(4) { --gallery-y: -4px; }
  .showcase-gallery .lp:nth-child(5) { --gallery-y: 18px; }
  .detail-lab {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .detail-lab__controls {
    max-width: none;
  }

  .detail-lab__preview {
    min-height: 0;
  }

  .detail-phone,
  .detail-video-stage {
    width: min(92vw, 380px);
  }

  .compare__grid {
    grid-template-columns: minmax(0, 360px);
    gap: 3rem;
  }

  .theme-compare {
    width: min(100%, 360px);
  }

  .manifesto {
    margin: 1rem;
  }
  .manifesto__shell {
    border-radius: 28px;
    padding: 2.5rem 1.75rem;
  }
  .manifesto__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "aside"
      "continue";
    gap: 2rem;
  }
  .manifesto__aside {
    justify-self: start;
    width: min(100%, 220px);
  }
  .final-cta {
    margin: 1.25rem 1rem 2rem;
  }
  .final-cta__shell {
    border-radius: 28px;
    padding: 2.75rem 1.75rem 2.25rem;
  }
  .final-cta__layout {
    margin-bottom: 2.25rem;
  }
  .story__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .story__intro {
    position: static;
  }
  .story-chapter {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 0;
    align-items: start;
  }
  .story-image {
    --story-frame-w: min(100%, 300px);
    width: var(--story-frame-w);
    height: auto;
    aspect-ratio: 5 / 7;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav:not([hidden]) { display: flex; }

  .hero-title { font-size: clamp(3.4rem, 14vw, 4.8rem); }
  .hero {
    margin: 12px;
    border-radius: 24px;
    padding: 2rem 1.15rem 0;
  }
  .hero-col--down .hero-col__track { animation-duration: 70s; }
  .hero-col--up .hero-col__track { animation-duration: 64s; }
  .hero-wall {
    --hero-card-w: 165px;
    --hero-wall-gap: 24px;
  }
  .hero-wall .lp { --hero-frame: 4px; }
  .hero-wall .lp__shell { border-radius: 16px; }
  .hero-wall .lp { border-radius: calc(16px + var(--hero-frame)); }

  .showcase {
    margin: 12px;
  }
  .showcase__shell {
    border-radius: 24px;
    padding: 2.25rem 0 0;
  }
  .showcase__intro {
    padding: 0 1.15rem 1.1rem;
  }
  .showcase__title {
    font-size: clamp(3.4rem, 14vw, 5.2rem);
  }
  .showcase-gallery {
    gap: 0.85rem;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 1.15rem calc(1.75rem + 12px);
  }
  .showcase-gallery .lp {
    flex: 0 0 auto;
    width: calc((100% - 0.85rem) / 1.2);
    max-width: 290px;
    scroll-snap-align: start;
  }
  .showcase-gallery .lp:nth-child(n) {
    --gallery-y: 8px;
  }
  .showcase-gallery .lp:nth-child(2n) {
    --gallery-y: -6px;
  }
  .detail-cats {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1.15rem;
    border-top: 0;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .detail-cats::-webkit-scrollbar {
    display: none;
  }

  .detail-cats__item {
    flex: 0 0 auto;
    border-bottom: 0;
    padding: 0.35rem 0 0.55rem;
    white-space: nowrap;
  }

  .detail-cats__item.is-active::after {
    width: 100%;
  }

  .compare__title {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .theme-compare {
    width: 100%;
  }

  .theme-compare__handle {
    width: 2.6rem;
    height: 2.6rem;
  }

  .story-bridge {
    padding-top: clamp(3.5rem, 12vw, 5.5rem);
  }

  .story-bridge__title {
    font-size: clamp(2.8rem, 12vw, 4.4rem);
  }

  .manifesto {
    margin: 12px;
  }
  .manifesto__shell {
    border-radius: 24px;
    padding: 2.15rem 1.25rem;
  }
  .manifesto__title {
    font-size: clamp(3.6rem, 15vw, 5.2rem);
  }
  .manifesto__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "aside"
      "continue";
    gap: 1.5rem;
  }
  .manifesto__aside {
    display: block;
    width: min(100%, 180px);
    justify-self: start;
    padding-bottom: 1.5rem;
  }
  .manifesto__continue {
    margin-top: 0.15rem;
  }
  .manifesto__bg-word {
    opacity: 0.03;
    font-size: clamp(2.4rem, 28cqi, 4.5rem);
  }
  .story__title {
    font-size: clamp(3.2rem, 12vw, 4.8rem);
  }
  .story-chapter__title {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }
  .story__close {
    margin-top: 2.5rem;
    text-align: left;
  }
  .final-cta {
    margin: 1rem 12px 1.75rem;
  }
  .final-cta__shell {
    border-radius: 24px;
    padding: 2.25rem 1.25rem 1.75rem;
  }
  .final-cta__title {
    font-size: clamp(3.2rem, 13vw, 4.6rem);
  }
  .final-cta__button {
    width: 100%;
    justify-content: center;
    padding: 1.05rem 1.35rem;
  }
  .final-cta__facts {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-col__track {
    animation: none !important;
  }
  .hero-col--up .hero-col__track {
    transform: translate3d(0, -12%, 0);
  }
  .hero-motion-toggle {
    display: none;
  }
  html.js .reveal,
  html.js .reveal-soft,
  html.js .reveal-heading,
  html.js .reveal-item,
  html.js [data-reveal],
  html.js .reveal:not(.is-visible),
  html.js .reveal-soft:not(.is-visible),
  html.js .reveal-heading:not(.is-visible),
  html.js .reveal-item:not(.is-visible),
  html.js [data-reveal]:not(.is-visible) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0ms !important;
    will-change: auto !important;
  }
  [data-reveal-drift] {
    transform: none !important;
    will-change: auto !important;
  }
  .contact-form-wrap.is-swapping,
  .contact-success.is-revealing {
    animation: none !important;
  }
  .showcase-gallery .lp {
    transition: none;
  }
  .showcase-gallery .lp:hover {
    transform: translateY(var(--gallery-y));
    filter: none;
  }
  .detail-opts.is-swapping,
  .detail-phone.is-updating .detail-phone__screen {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .theme-compare.is-animating .theme-compare__img--dark,
  .theme-compare.is-animating .theme-compare__divider {
    transition: none !important;
  }
  .detail-video-stage__video,
  .detail-video-stage__video.is-active {
    transition: none !important;
    transform: none !important;
  }
  .detail-cats__item,
  .detail-opts__item,
  .detail-app i,
  .detail-app em,
  .detail-folder,
  .detail-phone__dock {
    transition: none !important;
  }
  .manifesto__continue,
  .manifesto__continue-arrow {
    transition: none;
  }
  .final-cta__button,
  .final-cta__button-arrow {
    transition: none;
  }
}
