/* ==========================================================================
   Apple Cupertino Design Caliber 2026 (iPhone Duo Inspired Web Experience)
   Codex · Tony Liao Personal Site
   - Frosted Sticky Local Nav Ribbon (ac-localnav)
   - "Get the Highlights" Fluid Media Card Gallery + All-Access Pass Scrubber
   - "Dual Craft: Two sides to every vision" Interactive Showcase
   - "Take a Closer Look" Product Viewer with Paddle Navigation & Camera HUD
   - Micro Atelier (Apple Pro 3D Code Lab)
   - The Series (Apple TV+ Stream Shelf)
   - Technical Specifications (Apple 3-Column Comparison Matrix)
   ========================================================================== */

:root {
  --apple-font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Inter", sans-serif;
  --apple-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --apple-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --apple-duration-normal: 400ms;
  --apple-duration-slow: 700ms;
  --apple-radius-card: 28px;
  --apple-radius-pill: 9999px;
  --apple-content-width: 1200px;
  --apple-content-wide: 1440px;

  /* Cupertino Titanium / Midnight Palette */
  --apple-bg: #000000;
  --apple-surface: #161617;
  --apple-surface-elevated: #1d1d1f;
  --apple-surface-subtle: #121213;
  --apple-border: rgba(255, 255, 255, 0.08);
  --apple-border-hover: rgba(255, 255, 255, 0.22);
  --apple-text-primary: #f5f5f7;
  --apple-text-secondary: #86868b;
  --apple-text-tertiary: #6e6e73;
  --apple-accent: #2997ff;
  --apple-accent-hover: #0077ed;
  --apple-glass-bg: rgba(22, 22, 23, 0.78);
  --apple-glass-border: rgba(255, 255, 255, 0.12);
  --apple-nav-bg: rgba(22, 22, 23, 0.82);
}

/* Light Theme Refinement */
html[data-theme="light"],
html:not([data-theme="dark"]) {
  --apple-bg: #fbfbfd;
  --apple-surface: #f5f5f7;
  --apple-surface-elevated: #ffffff;
  --apple-surface-subtle: #f0f0f2;
  --apple-border: rgba(0, 0, 0, 0.06);
  --apple-border-hover: rgba(0, 0, 0, 0.18);
  --apple-text-primary: #1d1d1f;
  --apple-text-secondary: #6e6e73;
  --apple-text-tertiary: #86868b;
  --apple-accent: #0071e3;
  --apple-accent-hover: #0077ed;
  --apple-glass-bg: rgba(255, 255, 255, 0.82);
  --apple-glass-border: rgba(0, 0, 0, 0.08);
  --apple-nav-bg: rgba(255, 255, 255, 0.85);
}

/* Dark Theme Explicit Override */
html[data-theme="dark"] {
  --apple-bg: #000000;
  --apple-surface: #161617;
  --apple-surface-elevated: #1d1d1f;
  --apple-surface-subtle: #121213;
  --apple-border: rgba(255, 255, 255, 0.08);
  --apple-border-hover: rgba(255, 255, 255, 0.22);
  --apple-text-primary: #f5f5f7;
  --apple-text-secondary: #86868b;
  --apple-text-tertiary: #6e6e73;
  --apple-accent: #2997ff;
  --apple-accent-hover: #0077ed;
  --apple-glass-bg: rgba(22, 22, 23, 0.78);
  --apple-glass-border: rgba(255, 255, 255, 0.12);
  --apple-nav-bg: rgba(22, 22, 23, 0.82);
}

/* Base resets & typography */
.apple-experience-scope {
  font-family: var(--apple-font);
  background-color: var(--apple-bg);
  color: var(--apple-text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: clip;
}

/* ─────────────────────────────────────────────────────────────
   1. Unified Apple-Grade Top Navigation (.site-header)
   ───────────────────────────────────────────────────────────── */
.site-header {
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  padding: 0 clamp(16px, 2.5vw, 32px);
  box-sizing: border-box;
}

.header-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 16px;
}

.header-nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 14px 4px;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.header-nav-link:hover {
  color: #ffffff;
}

.header-nav-link.is-active {
  color: #ffffff;
  font-weight: 500;
}

.header-nav-link.is-active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--apple-accent);
  border-radius: 1px;
}

.site-header.scrolled .header-nav-link {
  color: var(--apple-text-secondary);
}

.site-header.scrolled .header-nav-link:hover {
  color: var(--apple-text-primary);
}

.site-header.scrolled .header-nav-link.is-active {
  color: var(--apple-text-primary);
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
  flex-shrink: 0;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border-radius: var(--apple-radius-pill);
  background: var(--apple-accent);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  line-height: 1.3;
  box-shadow: 0 1px 4px rgba(0, 113, 227, 0.25);
}

.header-cta-btn .cta-text-full {
  display: inline;
}

.header-cta-btn .cta-text-short {
  display: none;
}

.header-cta-btn:hover {
  background: var(--apple-accent-hover);
  transform: scale(1.03);
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.35);
}

.user-menu-nav-links {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 6px 0;
  border-bottom: 1px solid var(--apple-border);
}

.user-menu-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 500;
  min-height: 40px;
  box-sizing: border-box;
  color: var(--apple-text-primary);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.user-menu-nav-item:hover,
.user-menu-nav-item:active {
  background: rgba(128, 128, 128, 0.14);
}

.user-menu-nav-item.is-active {
  color: var(--apple-accent);
  font-weight: 600;
}

@media (max-width: 1180px) {
  .header-nav-link.nav-link-desktop {
    display: none;
  }
}

@media (max-width: 860px) {
  .header-nav-center {
    display: none !important;
  }
  .user-menu-nav-links {
    display: flex;
  }
}

@media (max-width: 640px) {
  .header-actions .nav-share-text {
    display: none;
  }
  .header-cta-btn {
    padding: 4px 10px;
    font-size: 11.5px;
  }
}

/* ─────────────────────────────────────────────────────────────
   Shared Section Headers (Apple Confident Typography)
   ───────────────────────────────────────────────────────────── */
.section-apple {
  position: relative;
  padding: 120px 0;
}

.section-header-apple {
  max-width: var(--apple-content-width);
  margin: 0 auto 56px;
  padding: 0 32px;
}

.section-header-apple.text-center {
  text-align: center;
}

.section-header-apple.text-center .typography-headline-super,
.section-header-apple.text-center .typography-intro {
  margin-left: auto;
  margin-right: auto;
}

.typography-eyebrow {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--apple-text-secondary);
  margin-bottom: 12px;
  display: block;
}

.typography-headline-super {
  font-size: clamp(38px, 5.2vw, 76px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.06;
  color: var(--apple-text-primary);
  margin: 0 0 18px;
}

.typography-headline-super .headline-tail {
  color: var(--apple-text-secondary);
  font-weight: 600;
}

.typography-intro {
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.32;
  color: var(--apple-text-secondary);
  max-width: 840px;
  margin: 0;
}

.typography-intro .sub-en {
  display: block;
  font-size: 0.78em;
  font-weight: 400;
  color: var(--apple-text-tertiary);
  margin-top: 6px;
}

/* Reveal on Scroll (Intersection Observer) */
.apple-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--apple-ease), transform 0.8s var(--apple-ease);
  will-change: opacity, transform;
}

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

/* ─────────────────────────────────────────────────────────────
   2. "Get the Highlights" Fluid Media Card Gallery + Scrubber
   ───────────────────────────────────────────────────────────── */
.section-highlights-gallery {
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
}

.media-gallery-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 32px;
}

.media-card-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px calc((100vw - min(100vw - 64px, 1200px)) / 2);
  scrollbar-width: none;
}

.media-card-rail::-webkit-scrollbar {
  display: none;
}

.media-card-slide {
  flex: 0 0 min(86vw, 1020px);
  height: 600px;
  scroll-snap-align: center;
  position: relative;
  border-radius: var(--apple-radius-card);
  overflow: hidden;
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s var(--apple-ease), border-color 0.4s ease;
}

.media-card-slide:hover {
  border-color: var(--apple-border-hover);
}

.media-card-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.media-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s var(--apple-ease);
}

.media-card-slide:hover .media-card-img {
  transform: scale(1.03);
}

/* Authentic Scrim Gradients */
.media-card-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.2) 30%,
    rgba(0, 0, 0, 0.05) 50%,
    rgba(0, 0, 0, 0.85) 100%
  );
  pointer-events: none;
}

.media-card-content {
  position: relative;
  z-index: 3;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.media-card-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.media-card-tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.media-card-badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  padding: 4px 12px;
  border-radius: var(--apple-radius-pill);
}

.media-card-badge.badge-accent {
  background: var(--apple-accent);
}

.media-card-headline {
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin: 12px 0 8px;
  max-width: 680px;
}

.media-card-lede {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
  margin: 0;
}

.media-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
}

.media-card-specs {
  display: flex;
  align-items: center;
  gap: 24px;
}

.media-card-spec-item {
  display: flex;
  flex-direction: column;
}

.media-card-spec-val {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.media-card-spec-lbl {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.media-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--apple-radius-pill);
  background: rgba(255, 255, 255, 0.95);
  color: #000000 !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.media-card-cta:hover {
  background: #ffffff;
  transform: scale(1.03);
}

.media-card-cta svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ─────────────────────────────────────────────────────────────
   The All-Access Pass (Timed Progress Scrubber + Play/Pause)
   ───────────────────────────────────────────────────────────── */
.all-access-pass-container {
  display: flex;
  justify-content: center;
  position: sticky;
  bottom: 24px;
  z-index: 40;
  pointer-events: none;
  margin-top: 10px;
}

.all-access-pass {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 48px;
  padding: 0 16px;
  border-radius: var(--apple-radius-pill);
  background: rgba(28, 28, 30, 0.78);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
}

.all-access-pass:hover {
  background: rgba(36, 36, 38, 0.88);
}

.aap-playback-btn {
  background: transparent;
  border: none;
  color: #f5f5f7;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: background 0.2s ease, color 0.2s ease;
}

.aap-playback-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.aap-playback-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.aap-timed-dotnav {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.aap-dotnav-item {
  position: relative;
  display: block;
}

.aap-dotnav-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  outline: none;
}

.aap-dot-track {
  display: block;
  height: 8px;
  width: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
  position: relative;
  transition: width 0.35s var(--apple-ease), background 0.35s ease;
}

.aap-dotnav-item:hover .aap-dot-track {
  background: rgba(255, 255, 255, 0.5);
}

.aap-dotnav-item.is-active .aap-dot-track {
  width: 48px;
  background: rgba(255, 255, 255, 0.2);
}

.aap-dot-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 9999px;
}

.aap-dotnav-item.is-active.is-playing .aap-dot-fill {
  animation: aap-progress-fill var(--aap-duration, 5.5s) linear forwards;
}

.aap-dotnav-item.is-active.is-paused .aap-dot-fill {
  animation-play-state: paused;
}

@keyframes aap-progress-fill {
  from { width: 0%; }
  to { width: 100%; }
}

/* ─────────────────────────────────────────────────────────────
   2. "Take a Closer Look" Product Viewer + Paddle Nav
   ───────────────────────────────────────────────────────────── */
.section-closer-look {
  padding: 120px 0;
  background: var(--apple-bg);
}

.closer-look-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.closer-look-pill {
  font-family: var(--apple-font);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--apple-radius-pill);
  border: 1px solid var(--apple-border);
  background: var(--apple-surface);
  color: var(--apple-text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.closer-look-pill .pill-index {
  font-size: 11px;
  font-weight: 600;
  color: var(--apple-text-tertiary);
}

.closer-look-pill:hover {
  color: var(--apple-text-primary);
  border-color: var(--apple-border-hover);
}

.closer-look-pill.is-active {
  background: var(--apple-text-primary);
  color: var(--apple-bg);
  border-color: transparent;
  font-weight: 600;
}

.closer-look-pill.is-active .pill-index {
  color: rgba(0, 0, 0, 0.5);
}

.closer-look-stage-wrapper {
  position: relative;
  max-width: min(94vw, 1180px);
  margin: 0 auto;
}

.closer-look-viewport {
  position: relative;
  width: 100%;
  height: 640px;
  border-radius: var(--apple-radius-card);
  overflow: hidden;
  background: #0a0a0b;
  border: 1px solid var(--apple-border);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
}

.closer-look-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--apple-ease);
  pointer-events: none;
}

.closer-look-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.closer-look-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Paddle Navigation Buttons (Cupertino Signature) */
.paddlenav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(30, 30, 32, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.paddlenav-arrow:hover {
  background: rgba(50, 50, 54, 0.9);
  transform: translateY(-50%) scale(1.06);
}

.paddlenav-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.paddlenav-arrow svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.paddlenav-arrow-prev {
  left: 20px;
}

.paddlenav-arrow-next {
  right: 20px;
}

/* Camera Telemetry HUD Overlay */
.camera-hud-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65) 0%,
    transparent 25%,
    transparent 70%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.hud-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hud-rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: var(--apple-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hud-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b30;
  animation: hud-rec-blink 1.8s infinite;
}

@keyframes hud-rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hud-telemetry {
  font-family: "SF Mono", Monaco, Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: var(--apple-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hud-crosshair {
  align-self: center;
  width: 44px;
  height: 44px;
  position: relative;
  opacity: 0.45;
}

.hud-crosshair::before,
.hud-crosshair::after {
  content: "";
  position: absolute;
  background: #ffffff;
}

.hud-crosshair::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
}

.hud-crosshair::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
}

.hud-bottom-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hud-meta-card {
  max-width: 600px;
}

.hud-location-title {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin: 0 0 8px;
}

.hud-location-desc {
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 14px;
}

.hud-gear-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hud-gear-chip {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  padding: 4px 12px;
  border-radius: var(--apple-radius-pill);
}

.hud-action-link {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--apple-radius-pill);
  background: #ffffff;
  color: #000000 !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.hud-action-link:hover {
  transform: scale(1.03);
  opacity: 0.95;
}

/* ─────────────────────────────────────────────────────────────
   3. Micro Atelier (Apple Pro 3D Code Lab — Sleek Bento Grid)
   ───────────────────────────────────────────────────────────── */
.section-atelier {
  padding: 80px 0 90px;
  background: var(--apple-bg);
}

.section-atelier .section-header-apple {
  margin: 0 auto 40px;
}

.atelier-grid {
  max-width: var(--apple-content-width);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.atelier-card {
  position: relative;
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  border-radius: 22px;
  padding: 30px 28px 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 205px;
  transition: border-color 0.3s ease, transform 0.3s var(--apple-ease), box-shadow 0.3s ease;
}

.atelier-card:hover {
  border-color: var(--apple-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.atelier-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.atelier-card-id {
  font-family: "SF Mono", Monaco, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--apple-text-tertiary);
  letter-spacing: 0.05em;
}

.atelier-card-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--apple-accent);
  background: rgba(41, 151, 255, 0.12);
  padding: 3px 9px;
  border-radius: var(--apple-radius-pill);
}

.atelier-card-title {
  font-size: clamp(23px, 2.3vw, 29px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.22;
  color: var(--apple-text-primary);
  margin: 0 0 8px;
}

.atelier-card-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--apple-text-secondary);
  margin: 0;
}

.atelier-card-footer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--apple-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.atelier-card-tech {
  font-size: 13px;
  font-weight: 500;
  color: var(--apple-text-tertiary);
}

.atelier-card-arrow {
  font-size: 16px;
  color: var(--apple-accent);
  transition: transform 0.25s ease;
}

.atelier-card:hover .atelier-card-arrow {
  transform: translate(2px, -2px);
}

@media (max-width: 768px) {
  .section-atelier {
    padding: 60px 0 70px;
  }
  .atelier-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .atelier-card {
    padding: 24px 22px 20px;
    min-height: unset;
  }
  .atelier-card-title {
    font-size: 22px;
  }
}

/* ─────────────────────────────────────────────────────────────
   4. "The Series" (Apple TV+ Stream Shelf)
   ───────────────────────────────────────────────────────────── */
.section-series {
  padding: 120px 0;
  background: var(--apple-bg);
  overflow: hidden;
}

.series-shelf-wrapper {
  max-width: var(--apple-content-wide);
  margin: 0 auto;
  padding: 0 32px;
}

.series-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.series-card {
  position: relative;
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--apple-ease), border-color 0.35s ease;
}

.series-card:hover {
  transform: translateY(-4px);
  border-color: var(--apple-border-hover);
}

.series-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000000;
}

.series-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--apple-ease);
}

.series-card:hover .series-thumb-img {
  transform: scale(1.04);
}

.series-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  padding: 4px 10px;
  border-radius: var(--apple-radius-pill);
}

.series-dur {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 2px 8px;
  border-radius: 6px;
}

.series-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.series-ep-lbl {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--apple-text-tertiary);
  margin-bottom: 8px;
  display: block;
}

.series-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--apple-text-primary);
  margin: 0 0 8px;
}

.series-desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--apple-text-secondary);
  margin: 0 0 16px;
}

.series-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--apple-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ─────────────────────────────────────────────────────────────
   5. Technical Specifications (Apple 3-Column Matrix)
   ───────────────────────────────────────────────────────────── */
.section-specs {
  padding: 120px 0 160px;
  background: var(--apple-bg);
}

.specs-grid {
  max-width: var(--apple-content-width);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.specs-col {
  display: flex;
  flex-direction: column;
}

.specs-col-header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--apple-border);
  margin-bottom: 24px;
}

.specs-col-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--apple-accent);
  display: block;
  margin-bottom: 8px;
}

.specs-col.specs-col-film .specs-col-kicker {
  color: #ff6934;
}

.specs-col.specs-col-edge .specs-col-kicker {
  color: #30d158;
}

.specs-col-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--apple-text-primary);
  margin: 0;
}

.specs-row {
  display: flex;
  flex-direction: column;
  padding: 18px 0;
  border-bottom: 1px solid var(--apple-border);
}

.specs-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--apple-text-tertiary);
  margin-bottom: 6px;
}

.specs-val {
  font-size: 16px;
  font-weight: 600;
  color: var(--apple-text-primary);
  line-height: 1.4;
}

.specs-val-super {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--apple-text-primary);
}

.specs-val-super.highlight-blue {
  color: var(--apple-accent);
}

.specs-val-super.highlight-green {
  color: #30d158;
}

.specs-val-super.highlight-orange {
  color: #ff6934;
}

/* ─────────────────────────────────────────────────────────────
   Responsive Breakpoints
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .series-rail {
    grid-template-columns: repeat(2, 1fr);
  }
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .section-apple {
    padding: 64px 0;
  }
  .section-header-apple {
    padding: 0 20px;
    margin-bottom: 36px;
  }
  .typography-eyebrow {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .typography-headline-super {
    font-size: clamp(28px, 8vw, 44px);
    line-height: 1.1;
    margin-bottom: 12px;
  }
  .typography-intro {
    font-size: clamp(15px, 4vw, 19px);
    line-height: 1.4;
  }
  .header-nav-center {
    display: none !important;
  }
  .dual-showcase-container {
    grid-template-columns: 1fr;
  }
  .atelier-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 14px;
  }
  .atelier-card {
    padding: 22px 20px 18px;
    min-height: 175px;
    border-radius: 20px;
  }
  .series-rail {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .series-card {
    border-radius: 20px;
  }
  .media-card-slide {
    height: clamp(400px, 62vh, 480px);
    padding: 20px;
  }
  .media-card-content {
    padding: 20px;
  }
  .closer-look-viewport {
    height: clamp(360px, 58vh, 460px);
    border-radius: 20px;
  }
  .paddlenav-arrow {
    display: none;
  }
  .hud-top-bar, .hud-bottom-bar {
    padding: 14px 16px;
  }
  .specs-grid {
    padding: 0 20px;
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0 12px;
    height: 48px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-cta-btn {
    padding: 4px 9px;
    font-size: 11px;
  }
  .header-cta-btn .cta-text-full {
    display: none;
  }
  .header-cta-btn .cta-text-short {
    display: inline;
  }
  .nav-share-trigger {
    padding: 4px 6px;
  }
  .nav-share-trigger .nav-share-text {
    display: none;
  }
  .section-apple {
    padding: 50px 0;
  }
  .media-card-slide {
    height: clamp(360px, 60vh, 440px);
  }
  .closer-look-viewport {
    height: clamp(330px, 54vh, 420px);
  }
  .hud-bottom-bar {
    padding: 10px 12px;
    gap: 6px;
  }
  .hud-pill {
    padding: 4px 10px;
    font-size: 11.5px;
  }
  .hud-desc {
    font-size: 12px;
    line-height: 1.35;
  }
}
