/* ==========================================================================
   Colordrop v3 marketing site
   Single locked dark theme (deliberate art direction, not an oversight).
   Accent system: --accent (#FF3B00 brand) for text/icons on dark,
   --accent-fill for filled buttons so white labels pass WCAG AA.
   Radius scale (one documented system, applied everywhere):
     pill  - interactive elements (buttons, chips, anchor pills)
     24px  - feature cards (bento, carousel, statement, mac tiles)
     16px  - utility tiles (facts, screenshots, icon tiles, swatches)
     12px  - inline sample blocks, 8px - kbd keys
     Device frames are physical chrome and use their own bezel radii.
   Glass panels are a web approximation of Apple's Liquid Glass material
   (backdrop-filter + layered borders), not Apple's own implementation.
   ========================================================================== */

:root {
  --bg: #0a0a0c;
  --bg-raised: #121216;
  --ink: #f5f5f7;
  --ink-muted: rgba(245, 245, 247, 0.66);
  --ink-faint: rgba(245, 245, 247, 0.55);
  /* Brand accent #FF3B00 (5.5:1 on --bg). --accent-bright is a tint for
     small text so AA holds over lit glass; --accent-fill is darkened so
     white button labels reach 4.8:1. */
  --accent: #ff3b00;
  --accent-bright: #ff6a3d;
  --accent-fill: #d93200;
  --accent-fill-hover: #c22d00;
  --hairline: rgba(255, 255, 255, 0.09);
  --card-radius: 24px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    system-ui, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1160px;
  /* z-scale: 10 nav, 20 mobile menu. Nothing else gets a z-index. */
}

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

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

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

::selection { background: rgba(255, 59, 0, 0.35); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

h1, h2, h3 { font-weight: 700; letter-spacing: -0.022em; line-height: 1.06; }

.display {
  font-size: clamp(2.75rem, 6.5vw, 4.75rem);
}

.headline {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
}

/* Single-word color moment in the hero. Stops are real app-captured hues,
   each computed >= 5:1 against --bg for large-text contrast. */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .gradient-word {
    background: linear-gradient(90deg, #ff3b00, #f7cf00, #5aad4a, #00aaf5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.subhead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--ink-muted);
  font-weight: 400;
  line-height: 1.55;
  max-width: 34em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 1rem;
}

.mono { font-family: var(--font-mono); }

/* --------------------------------------------------------------------------
   Liquid Glass approximation (dark surface variant)
   -------------------------------------------------------------------------- */

.glass {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03)),
    rgba(18, 18, 24, 0.45);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 48px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-transparency: reduce) {
  .glass {
    background: #17171c;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 1.0625rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.8em 1.6em;
  border: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease-out), background-color 0.18s ease;
}

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

.btn:active { transform: translateY(0) scale(0.98); }

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn-primary {
  background: var(--accent-fill);
  color: #fff;
}

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

.btn-ghost {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }

.btn-small { font-size: 0.9375rem; padding: 0.55em 1.25em; }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

.nav {
  position: relative;
}

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-links a:not(.btn) {
  color: var(--ink-muted);
  transition: color 0.15s ease;
}

.nav-links a:not(.btn):hover { color: var(--ink); }

.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-launch {
  color: var(--accent-bright);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 42% at 74% 30%, rgba(125, 136, 63, 0.34), transparent 70%),
    radial-gradient(30% 34% at 88% 66%, rgba(0, 170, 245, 0.16), transparent 70%),
    radial-gradient(26% 30% at 60% 82%, rgba(255, 59, 0, 0.14), transparent 70%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.hero-copy .subhead { margin-top: 1.4rem; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.launch-date {
  color: var(--accent-bright);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Device frame (real screenshots inside CSS chrome)
   -------------------------------------------------------------------------- */

.device {
  position: relative;
  width: min(320px, 78vw);
  border-radius: 52px;
  padding: 9px;
  background: linear-gradient(160deg, #3c3c42, #17171a 40%, #26262b);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.08) inset,
    0 30px 80px rgba(0, 0, 0, 0.55);
  flex: none;
}

.device img {
  border-radius: 43px;
  width: 100%;
}

.device::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 27%;
  height: 24px;
  border-radius: 999px;
  background: #000;
}

.device-hero::after { display: none; }

.device-sm { width: min(250px, 66vw); border-radius: 44px; }
.device-sm img { border-radius: 36px; }
.device-sm::after { top: 18px; height: 20px; }

/* iPad frames: uniform bezel, no island */
.device-ipad {
  position: relative;
  border-radius: 34px;
  padding: 12px;
  background: linear-gradient(160deg, #3c3c42, #17171a 40%, #26262b);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.08) inset,
    0 30px 80px rgba(0, 0, 0, 0.55);
  flex: none;
}

.device-ipad img { border-radius: 22px; width: 100%; }

.device-ipad-land { width: min(960px, 92vw); }

.device-ipad-port { width: min(360px, 84vw); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding-block: clamp(5rem, 10vw, 8rem); scroll-margin-top: 64px; }

.section-head { max-width: 46em; }

.section-head .subhead { margin-top: 1.2rem; }

.section-head-center {
  text-align: center;
  margin-inline: auto;
}

.section-head-center .subhead { margin-inline: auto; }

/* Liquid Glass statement --------------------------------------------------- */

.statement {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--hairline);
}

.statement-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 60% at 18% 28%, rgba(84, 0, 247, 0.30), transparent 72%),
    radial-gradient(38% 55% at 50% 85%, rgba(255, 59, 0, 0.26), transparent 70%),
    radial-gradient(40% 58% at 85% 25%, rgba(0, 170, 245, 0.26), transparent 72%),
    radial-gradient(30% 44% at 68% 60%, rgba(0, 210, 124, 0.18), transparent 70%);
  filter: blur(10px);
}

.statement-panel {
  position: relative;
  border-radius: var(--card-radius);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 780px;
}

.statement-panel .subhead { margin-top: 1.2rem; }

.statement-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--ink);
}

.chip .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* Small mono value chips (real values echoed from the app screenshots) */
.value-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.4rem;
}

.value-chips span {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--ink-muted);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  white-space: nowrap;
}

/* Bento -------------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  grid-template-areas:
    "a b d"
    "a c d"
    "a e e";
  gap: 1rem;
  margin-top: 3.5rem;
}

.bento-cell {
  border: 1px solid var(--hairline);
  border-radius: var(--card-radius);
  background: var(--bg-raised);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow: hidden;
}

.bento-cell h3 { font-size: 1.25rem; letter-spacing: -0.015em; }

.bento-cell p { color: var(--ink-muted); font-size: 0.9875rem; }

.bento-a { grid-area: a; }
.bento-b { grid-area: b; }
.bento-c { grid-area: c; }
.bento-d { grid-area: d; }
.bento-e { grid-area: e; }

.bento-media {
  padding: 0;
  position: relative;
}

.bento-media .bento-text {
  padding: 1.8rem 1.8rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bento-media .bento-shot {
  margin-top: auto;
  padding-inline: 2.4rem;
}

.bento-media .device { width: 100%; margin-inline: auto; }

.bento-a .device { margin-bottom: -12%; }
.bento-d .device { margin-bottom: -46%; }

.bento-a { background: linear-gradient(180deg, #141810, #101014 65%); }
.bento-d { background: linear-gradient(180deg, #101317, #101014 65%); }

.bento-e {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.bento-e > div:first-child { display: flex; flex-direction: column; gap: 0.6rem; }

.kbd-row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  flex: none;
}

kbd {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--ink);
  background: linear-gradient(180deg, #2a2a30, #1d1d22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom-width: 2px;
  border-radius: 8px;
  padding: 0.3rem 0.65rem;
  min-width: 2.2rem;
  text-align: center;
}

/* Map ----------------------------------------------------------------------- */

.map-section { text-align: center; }

.map-visual {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

/* Palettes split with staggered gallery ------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.split-reverse { grid-template-columns: 1.08fr 0.92fr; }

.feature-rows {
  display: grid;
  gap: 1.9rem;
  margin-top: 2.4rem;
}

.feature-row { display: flex; gap: 1.1rem; align-items: flex-start; }

.feature-row i {
  font-size: 1.5rem;
  color: var(--accent);
  flex: none;
  margin-top: 0.15rem;
}

.feature-row h3 { font-size: 1.125rem; margin-bottom: 0.25rem; }

.feature-row p { color: var(--ink-muted); font-size: 0.9875rem; }

.format-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.format-pills span {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--ink-muted);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

.split > * { min-width: 0; }

.stagger-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

.stagger-gallery .device,
.stagger-gallery .device-ipad { width: 100%; }

.stagger-gallery > :nth-child(2) { margin-top: 4.5rem; }

.stagger-gallery > :nth-child(3) { margin-top: -3rem; justify-self: end; }

/* Library carousel ----------------------------------------------------------- */

.carousel {
  display: flex;
  gap: 1.25rem;
  margin-top: 3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar { display: none; }

.carousel-card {
  scroll-snap-align: start;
  flex: none;
  border: 1px solid var(--hairline);
  border-radius: var(--card-radius);
  background: var(--bg-raised);
  overflow: hidden;
  display: flex;
}

.carousel-card-wide {
  width: min(680px, 88vw);
  align-items: stretch;
}

.carousel-card-wide .carousel-text {
  padding: 2.2rem;
  align-self: center;
}

.carousel-card-wide .carousel-shot {
  flex: none;
  width: 46%;
  align-self: flex-end;
  padding: 2.2rem 2.2rem 0;
}

.carousel-card-wide .device-sm { width: 100%; margin-bottom: -52%; }

.carousel-card-narrow {
  width: min(360px, 80vw);
  padding: 2.2rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
}

.carousel-card h3 { font-size: 1.375rem; letter-spacing: -0.015em; margin-bottom: 0.5rem; }

.carousel-card p { color: var(--ink-muted); font-size: 0.9875rem; }

.search-example {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  margin-top: 1rem;
}

/* Detail split gallery -------------------------------------------------------- */

.duo-gallery {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  /* flex-start stops devices stretching to the tallest sibling, which left
     empty frame chrome hanging below shorter screenshots */
  align-items: flex-start;
}

.duo-gallery > :nth-child(2) { margin-top: 3.5rem; }

/* Accessibility stack ---------------------------------------------------------- */

.a11y-pair {
  display: flex;
  gap: clamp(1.5rem, 4vw, 4rem);
  justify-content: center;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.a11y-item { text-align: center; }

.a11y-item .device-sm { margin-inline: auto; }

.a11y-item figcaption {
  margin-top: 1.3rem;
  margin-inline: auto;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  max-width: 26em;
}

/* Press quotes ------------------------------------------------------------------ */

.quote-featured { text-align: center; }

.quote-featured blockquote {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  max-width: 24em;
  margin-inline: auto;
}

.press-quotes cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.quote-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  max-width: 56em;
  margin: 4.5rem auto 0;
}

.quote-pair blockquote {
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.45;
}

.quote-pair cite { margin-top: 0.9rem; }

/* Mac section ------------------------------------------------------------------ */

.mac-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.mac-tile {
  border-radius: var(--card-radius);
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.mac-tile i { font-size: 1.75rem; color: var(--accent); }

.mac-tile h3 { font-size: 1.0625rem; }

.mac-tile p { color: var(--ink-muted); font-size: 0.9375rem; }

/* Download ---------------------------------------------------------------------- */

.download {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding-top: 0;
}

/* Full-bleed strip of real captured colors, marking the closing section */
.color-band {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  height: 14px;
  margin-bottom: clamp(5rem, 10vw, 8rem);
}

.download-icon {
  width: 96px;
  height: 96px;
  margin-inline: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.5));
}

.download-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 55% at 50% 100%, rgba(255, 59, 0, 0.22), transparent 72%),
    radial-gradient(30% 40% at 26% 88%, rgba(84, 0, 247, 0.14), transparent 70%),
    radial-gradient(30% 40% at 74% 88%, rgba(0, 170, 245, 0.14), transparent 70%);
}

.download .subhead { margin-inline: auto; margin-top: 1.2rem; }

.download .btn { margin-top: 2.4rem; }

/* Footer -------------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--hairline);
  padding-block: 3.5rem 2.5rem;
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-grid-teaser { grid-template-columns: 1.8fr 1fr 1fr; }

.footer-tagline { color: var(--ink-muted); margin-top: 0.9rem; max-width: 24em; }

.footer h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}

.footer ul { list-style: none; display: grid; gap: 0.65rem; }

.footer ul a { color: var(--ink-muted); transition: color 0.15s ease; }

.footer ul a:hover { color: var(--ink); }

.footer-legal {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  color: var(--ink-faint);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Subpages (press, privacy)
   -------------------------------------------------------------------------- */

.page-hero {
  padding-top: clamp(9rem, 16vw, 12rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.page-hero .subhead { margin-top: 1.2rem; }

.prose { max-width: 46em; }

.prose h2 { font-size: 1.5rem; margin-top: 2.8rem; margin-bottom: 0.9rem; }

.prose p, .prose li { color: var(--ink-muted); }

.prose ul { padding-left: 1.2rem; display: grid; gap: 0.5rem; margin-block: 0.8rem; }

.prose a { color: var(--accent); }

.prose a:hover { text-decoration: underline; }

.updated { color: var(--ink-faint); font-size: 0.9375rem; }

/* Press kit blocks */

.anchor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.anchor-row a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.anchor-row a:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.24); }

.press-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.press-strip a {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease;
}

.press-strip a:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.22); }

.press-h2 {
  font-size: 1.5rem;
  margin-top: clamp(3.5rem, 7vw, 5rem);
  scroll-margin-top: 90px;
}

.press-h3 {
  font-size: 1.125rem;
  margin-top: 2.6rem;
  margin-bottom: 0.4rem;
}

.prose h3 { font-size: 1.125rem; margin-top: 2rem; margin-bottom: 0.5rem; }

.prose#story, .prose#contact { scroll-margin-top: 90px; }

.press-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.6rem;
}

.press-feature {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--bg-raised);
  padding: 1.4rem 1.5rem;
}

.press-feature i { font-size: 1.5rem; color: var(--accent); flex: none; margin-top: 0.1rem; }

.press-feature h3 { font-size: 1.0625rem; margin-bottom: 0.3rem; }

.press-feature p { color: var(--ink-muted); font-size: 0.9375rem; }

.press-quote-list {
  display: grid;
  gap: 2.4rem;
  margin-top: 1.8rem;
  max-width: 46em;
}

.press-quote-list blockquote {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.45;
}

.press-quote-list cite {
  display: block;
  margin-top: 0.7rem;
  font-style: normal;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  gap: 1.25rem;
  margin-top: 1.4rem;
}

.icon-tile {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-raised);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease;
}

.icon-tile:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.22); }

.icon-tile-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.2rem;
}

.icon-tile-canvas img { width: 128px; height: 128px; border-radius: 28px; }

.icon-tile-light { background: #f5f5f7; }

.icon-tile-dark { background: #1b1b20; }

.icon-tile-meta {
  padding: 0.9rem 1.1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.icon-tile-meta .mono { font-size: 0.8125rem; font-weight: 400; color: var(--ink-muted); }


.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.fact {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--bg-raised);
  padding: 1.2rem 1.4rem;
}

.fact dt { color: var(--ink-faint); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; }

.fact dd { margin-top: 0.35rem; font-weight: 600; }

.fact dd a { color: var(--accent); }

.fact dd a:hover { text-decoration: underline; }

.swatch-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.swatch {
  border-radius: 16px;
  border: 1px solid var(--hairline);
  overflow: hidden;
}

.swatch-color { height: 110px; }

.swatch-meta { padding: 0.9rem 1.1rem; background: var(--bg-raised); }

.swatch-meta strong { display: block; font-size: 0.9375rem; }

.swatch-meta span { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--ink-muted); }

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.shot-grid a {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-raised);
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease;
}

.shot-grid a:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.22); }

.shot-grid figcaption {
  padding: 0.7rem 0.9rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   Reveal motion (only inside no-preference; static under reduced motion)
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  /* Hidden state only applies when JS is running (html.js), so content is
     never lost for no-JS visitors. */
  .js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
  }

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1023px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 1.6rem 24px 2rem;
    background: rgba(12, 12, 15, 0.92);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--hairline);
  }

  @media (prefers-reduced-transparency: reduce) {
    .nav-links {
      background: #0c0c0f;
      -webkit-backdrop-filter: none;
      backdrop-filter: none;
    }
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: block; }

  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "a b"
      "a c"
      "d e"
      "d e";
  }

  .bento-e { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
  .hero { padding-top: 2rem; }

  .hero-inner { grid-template-columns: 1fr; gap: 3.5rem; }

  .hero-ctas .btn { width: 100%; justify-content: center; }

  .bento {
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "c" "d" "e";
  }

  .bento-media .device { width: min(250px, 70vw); }

  .split, .split-reverse { grid-template-columns: 1fr; gap: 3rem; }

  .stagger-gallery { gap: 1rem; }

  .stagger-gallery > :nth-child(2) { margin-top: 2.5rem; }

  .stagger-gallery > :nth-child(3) { margin-top: -1rem; }

  .carousel-card-wide { flex-direction: column; }

  .carousel-card-wide .carousel-shot { width: 70%; padding-top: 0; align-self: center; }

  .duo-gallery { flex-wrap: wrap; }

  .duo-gallery > :nth-child(2) { margin-top: 0; }

  .quote-pair { grid-template-columns: 1fr; margin-top: 3rem; }

  .mac-tiles { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid-teaser { grid-template-columns: 1.4fr 1fr; }

  .press-strip { grid-template-columns: 1fr 1fr; }

  .press-features { grid-template-columns: 1fr; }
}

@media (max-width: 479px) {
  .mac-tiles { grid-template-columns: 1fr; }

  .footer-grid, .footer-grid-teaser { grid-template-columns: 1fr; }
}
