/* =========================================================
   iPhone Duo — Apple product page replica
   ========================================================= */

:root {
  --font-sans: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --bg-light: #ffffff;
  --bg-light-soft: #f5f5f7;
  --bg-dark: #000000;
  --bg-dark-soft: #101010;

  --ink-light: #1d1d1f;
  --ink-light-muted: #6e6e73;
  --ink-dark: #f5f5f7;
  --ink-dark-muted: #a1a1a6;

  --accent: #0071e3;
  --accent-hover: #0077ed;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --dur-fast: 280ms;
  --dur-med: 520ms;
  --dur-slow: 900ms;

  --nav-h: 48px;
  --localnav-h: 52px;
  --content-max: 980px;
  --content-wide: 1200px;

  --section-bg: var(--bg-light);
  --section-ink: var(--ink-light);
  --section-muted: var(--ink-light-muted);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--ink-light);
  background: var(--bg-light);
  line-height: 1.47059;
  letter-spacing: -0.022em;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ---------- Theme sections ---------- */
.section-theme {
  background: var(--section-bg);
  color: var(--section-ink);
  transition: background-color 0.7s var(--ease-out), color 0.7s var(--ease-out);
  scroll-margin-top: calc(var(--nav-h) + var(--localnav-h) + 12px);
}

.section-theme.dark {
  --section-bg: var(--bg-dark);
  --section-ink: var(--ink-dark);
  --section-muted: var(--ink-dark-muted);
}

.section-theme.light {
  --section-bg: var(--bg-light);
  --section-ink: var(--ink-light);
  --section-muted: var(--ink-light-muted);
}

/* ---------- Global nav ---------- */
.globalnav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(22, 22, 23, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: #f5f5f7;
}

.globalnav-inner {
  max-width: 1024px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 12px;
}

.globalnav-apple {
  display: flex;
  align-items: center;
  opacity: 0.92;
  transition: opacity var(--dur-fast) ease;
}

.globalnav-apple svg {
  display: block;
}

.globalnav-apple:hover {
  opacity: 1;
}

.globalnav-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: space-between;
  align-items: center;
}

.globalnav-list a {
  font-size: 12px;
  line-height: 1;
  color: rgba(245, 245, 247, 0.8);
  padding: 0 8px;
  transition: color var(--dur-fast) ease;
  white-space: nowrap;
}

.globalnav-list a:hover,
.globalnav-list a.is-current {
  color: #f5f5f7;
}

.globalnav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.globalnav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.88;
  transition: opacity var(--dur-fast) ease;
}

.globalnav-icon:hover {
  opacity: 1;
}

@media (min-width: 833px) {
  .globalnav-list {
    display: flex;
  }
}

/* ---------- Local nav ---------- */
.localnav-wrapper {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.localnav-wrapper.is-dark {
  background: rgba(22, 22, 23, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #f5f5f7;
}

.localnav {
  max-width: var(--content-wide);
  margin: 0 auto;
  min-height: var(--localnav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 16px;
}

.localnav-title a {
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.localnav-items {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.localnav-items::-webkit-scrollbar {
  display: none;
}

.localnav-items a {
  display: block;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 400;
  color: inherit;
  opacity: 0.72;
  white-space: nowrap;
  border-radius: 999px;
  transition: opacity var(--dur-fast) ease, background var(--dur-fast) ease;
}

.localnav-items a:hover,
.localnav-items a.is-active {
  opacity: 1;
  background: rgba(127, 127, 127, 0.12);
}

/* ---------- Shared type ---------- */
.headline {
  font-family: var(--font-sans);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0 0 24px;
}

.subhead {
  font-family: var(--font-sans);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 28px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--section-muted);
}

.body-lg {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.52;
  letter-spacing: -0.01em;
  color: var(--section-muted);
  margin: 0;
  max-width: 42em;
}

.body-lg strong {
  color: var(--section-ink);
  font-weight: 600;
}

.copy-block {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 80px 24px 32px;
  text-align: center;
}

.copy-block .body-lg {
  margin-left: auto;
  margin-right: auto;
}

.copy-block.narrow {
  padding-top: 40px;
  padding-bottom: 24px;
}

.section-intro {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 100px 24px 28px;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}

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

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

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

.btn-ghost {
  background: transparent;
  color: var(--ink-dark);
  border: 1px solid rgba(245, 245, 247, 0.35);
}

.btn-ghost:hover {
  border-color: rgba(245, 245, 247, 0.7);
}

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100vh - var(--nav-h) - var(--localnav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(80, 90, 120, 0.22), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(40, 50, 80, 0.18), transparent 70%);
  pointer-events: none;
  opacity: 0;
  animation: heroGlow 1.6s var(--ease-out) 0.2s forwards;
}

@keyframes heroGlow {
  to { opacity: 1; }
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(48px, 10vw, 96px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0 0 12px;
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink-dark-muted);
}

.hero-date {
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-dark-muted);
  margin: 0 0 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  margin-top: 28px;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-stage .frame-morph {
  width: 100%;
  max-height: min(62vh, 620px);
  border-radius: 0;
  background: transparent;
}

.hero-stage .frame-morph img {
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}

/* ---------- Frame morph (product animation) ---------- */
.frame-morph {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.frame-morph img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.frame-morph .frame-a {
  position: relative;
  opacity: 1;
  transition: opacity 0.8s var(--ease-out);
  z-index: 2;
}

.frame-morph .frame-b {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
  z-index: 1;
}

.frame-morph.is-open .frame-a {
  opacity: 0;
}

.frame-morph.is-open .frame-b {
  opacity: 1;
}

/* Entrance for hero product */
.hero-stage .frame-morph {
  opacity: 0;
  transform: translateY(48px) scale(0.96);
  animation: productEnter 1.35s var(--ease-out) 0.35s forwards;
}

@keyframes productEnter {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---------- Highlights ---------- */
.highlights {
  padding-bottom: 80px;
}

.chip-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-start;
  max-width: var(--content-wide);
  margin: 0 auto 36px;
  padding: 0 20px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.chip-tabs::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--section-muted);
  background: transparent;
  border: 1px solid rgba(128, 128, 128, 0.28);
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}

.chip:hover {
  color: var(--section-ink);
  border-color: rgba(128, 128, 128, 0.5);
}

.chip.is-active {
  background: var(--section-ink);
  color: var(--section-bg);
  border-color: transparent;
}

.highlight-panel {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  min-height: 420px;
}

.highlight-card {
  display: none;
  text-align: center;
}

.highlight-card.is-active {
  display: block;
  animation: cardIn 0.55s var(--ease-out);
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.highlight-media {
  max-width: 920px;
  margin: 0 auto 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-light-soft);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-media img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.highlight-card h3 {
  font-family: var(--font-sans);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 auto;
  max-width: 18em;
}

/* ---------- Design ---------- */
.design-intro {
  padding-bottom: 40px;
}

.color-picker {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 20px 28px;
}

.swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(128, 128, 128, 0.35);
  font-size: 14px;
  color: var(--section-muted);
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease, background var(--dur-fast) ease;
}

.swatch.is-active {
  border-color: var(--section-ink);
  color: var(--section-ink);
  background: rgba(128, 128, 128, 0.1);
}

.swatch-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.swatch-dot.night {
  background: linear-gradient(145deg, #2a2d35, #0c0d10);
}

.swatch-dot.star {
  background: linear-gradient(145deg, #f7f5f2, #d9d5cf);
}

.design-stage {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.design-stage .frame-morph {
  background: #0a0a0a;
  min-height: 320px;
}

.design-morph img {
  max-height: 560px;
  margin: 0 auto;
  width: 100%;
  object-fit: contain;
}

/* ---------- Viewer ---------- */
.viewer {
  padding-bottom: 100px;
  background: var(--bg-light-soft);
}

.viewer-stage {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.viewer-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 620px;
  margin: 0 auto 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.viewer-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.55s var(--ease-out), transform 0.7s var(--ease-out);
  pointer-events: none;
}

.viewer-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.viewer-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.viewer-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  transition: background var(--dur-fast) ease, transform var(--dur-fast) var(--ease-spring);
}

.dot.is-active {
  background: var(--ink-light);
  transform: scale(1.15);
}

.viewer-caption {
  max-width: 36em;
  margin: 0 auto;
  font-size: 17px;
  color: var(--ink-light-muted);
  min-height: 3.2em;
}

.viewer-caption strong {
  color: var(--ink-light);
}

/* ---------- Display story ---------- */
.display-story {
  padding-bottom: 40px;
}

.story-media {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.story-media .frame-morph {
  aspect-ratio: 16 / 10;
  background: #0a0a0a;
}

.story-media .frame-morph img {
  max-height: 560px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stat-row {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 734px) {
  .stat-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.stat {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.stat-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.stat-desc {
  display: block;
  font-size: 14px;
  color: var(--section-muted);
}

.compare-block {
  max-width: 980px;
  margin: 24px auto 0;
  padding: 0 20px 80px;
  text-align: center;
}

.compare-block img {
  border-radius: var(--radius-lg);
  margin: 0 auto 20px;
}

.compare-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.compare-meta strong {
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.5vw, 28px);
}

.compare-meta span {
  color: var(--section-muted);
  font-size: 17px;
}

/* ---------- Versatility ---------- */
.versatility {
  padding-bottom: 100px;
}

.versatility .subhead {
  text-align: center;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding: 40px 24px 8px;
}

.feature-grid {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 24px 20px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.feature-card {
  background: var(--bg-light-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.feature-card h4 {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0 0 20px;
  color: var(--ink-light-muted);
  font-size: 16px;
  line-height: 1.45;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin-top: auto;
}

/* ---------- Cameras ---------- */
.cameras {
  padding-bottom: 100px;
}

.camera-hero {
  max-width: var(--content-wide);
  margin: 0 auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.camera-shot {
  margin: 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.camera-shot img {
  width: 100%;
  height: 560px;
  object-fit: contain;
  object-position: center;
  background: #0a0a0a;
}

.camera-shot figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px 0;
  font-size: 14px;
  color: var(--section-muted);
}

.camera-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-start;
  max-width: var(--content-wide);
  margin: 0 auto 28px;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.camera-tabs::-webkit-scrollbar {
  display: none;
}

.camera-panels {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 20px;
}

.camera-panel {
  display: none;
}

.camera-panel.is-active {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  animation: cardIn 0.55s var(--ease-out);
}

@media (min-width: 833px) {
  .camera-panel.is-active {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
}

.panel-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.panel-media img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  background: #0a0a0a;
}

.panel-copy h3 {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.panel-copy p {
  margin: 0;
  color: var(--section-muted);
  font-size: 18px;
  line-height: 1.5;
}

/* ---------- Performance ---------- */
.performance {
  padding-bottom: 100px;
  background: var(--bg-light-soft);
}

.perf-stats {
  max-width: var(--content-max);
  margin: 0 auto 36px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (min-width: 833px) {
  .perf-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

.perf-stat {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.perf-num {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 6px;
}

.perf-label {
  display: block;
  font-size: 13px;
  color: var(--ink-light-muted);
  line-height: 1.35;
}

.perf-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.perf-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---------- Shared ---------- */
.shared {
  padding-bottom: 80px;
}

.shared-grid {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 12px 20px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

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

.shared-card {
  background: rgba(255, 255, 255, 0.045);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: background var(--dur-fast) ease, transform var(--dur-med) var(--ease-out);
}

.shared-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.shared-card h3 {
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.shared-card p {
  margin: 0;
  color: var(--section-muted);
  font-size: 15px;
  line-height: 1.45;
}

.siri-hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.siri-hero img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---------- Accessories ---------- */
.accessories {
  padding-bottom: 100px;
}

.accessory-row {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 734px) {
  .accessory-row {
    grid-template-columns: 1fr 1fr;
  }
}

.accessory-row figure {
  margin: 0;
  background: var(--bg-light-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accessory-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Closing ---------- */
.closing {
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 40%, rgba(90, 100, 140, 0.2), transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-light-soft);
  color: var(--ink-light-muted);
  font-size: 12px;
  line-height: 1.4;
  padding: 40px 20px 48px;
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.footer-note {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 20px 0 12px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* Stagger children when parent is visible */
.reveal.is-visible.reveal-delay-1,
.reveal.is-visible.reveal-delay-2,
.reveal.is-visible.reveal-delay-3 {
  /* delays already applied */
}

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

  .reveal,
  .hero-stage .frame-morph,
  .frame-morph .frame-a,
  .frame-morph .frame-b,
  .highlight-card.is-active,
  .camera-panel.is-active,
  .viewer-slide {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .frame-morph.is-open .frame-a {
    opacity: 0 !important;
  }

  .frame-morph.is-open .frame-b {
    opacity: 1 !important;
  }
}

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.chip:focus-visible,
.dot:focus-visible,
.swatch:focus-visible {
  outline-offset: 2px;
}

/* ---------- Small screens ---------- */
@media (max-width: 480px) {
  .hero {
    padding-top: 36px;
  }

  .highlight-panel {
    min-height: 320px;
  }

  .copy-block,
  .section-intro {
    padding-top: 72px;
  }

  .headline {
    font-size: clamp(34px, 9vw, 48px);
  }
}
