/* ============================================================
   Apple Store Patiala — Apple.com-style design system
   ============================================================ */

:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --line: #d2d2d7;
  --bg: #ffffff;
  --alt: #f5f5f7;
  --alt-2: #fbfbfd;
  --blue: #0066cc;
  --blue-bright: #2997ff;
  --btn: #0071e3;
  --btn-hover: #0077ed;
  --max: 1024px;
  --nav-h: 44px;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

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

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 999;
  background: #fff;
  color: #000;
  padding: 10px 16px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ============================================================
   Global nav
   ============================================================ */

.globalnav {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--nav-h);
  height: auto;
  background: rgba(251, 251, 253, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.globalnav.is-scrolled {
  background: rgba(251, 251, 253, 0.94);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.055);
}

.globalnav-inner {
  width: min(100% - 32px, 1024px);
  height: var(--nav-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.globalnav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 4px;
}

.globalnav-links a {
  font-size: 12px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.8);
  letter-spacing: -0.01em;
  padding: 8px 6px;
  white-space: nowrap;
}

.globalnav-links a:hover { color: #000; text-decoration: none; }
.globalnav-links a.is-active { color: #000; font-weight: 500; }

.globalnav-menu {
  position: relative;
  max-height: 0;
  padding: 0 24px;
  overflow: hidden;
  background: rgba(251, 251, 253, 0.98);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.55s;
}
.globalnav.is-menu-open .globalnav-menu {
  max-height: 390px;
  padding: 20px 24px 16px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.globalnav-menu-inner {
  width: min(100%, 1060px);
  margin: 0 auto;
}
.globalnav-menu-panel { width: 100%; }
.globalnav-menu-panel[hidden] { display: none; }
.globalnav-menu-panel.is-current { animation: globalnav-panel-in 0.38s ease both; }
.globalnav-menu-intro { max-width: 760px; margin-bottom: 12px; }
.globalnav-menu-eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.globalnav-menu-panel h2 {
  margin-top: 2px;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.globalnav-menu-description {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.globalnav-menu-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 10px;
}
.globalnav-menu-links a {
  display: block;
  min-height: 66px;
  padding: 9px 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.045);
  border-radius: 12px;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.globalnav-menu-panel.is-current .globalnav-menu-links a {
  animation: globalnav-item-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.globalnav-menu-links a:hover {
  color: var(--blue);
  text-decoration: none;
  background: #fff;
  border-color: rgba(0, 102, 204, 0.16);
  transform: translateY(-2px);
}
.globalnav-menu-links a:nth-child(2) { animation-delay: 35ms; }
.globalnav-menu-links a:nth-child(3) { animation-delay: 70ms; }
.globalnav-menu-links a:nth-child(4) { animation-delay: 105ms; }
.globalnav-menu-links a:nth-child(5) { animation-delay: 140ms; }
.globalnav-menu-links a:nth-child(6) { animation-delay: 175ms; }
.globalnav-menu-links a:nth-child(7) { animation-delay: 210ms; }
.globalnav-menu-links a:nth-child(8) { animation-delay: 245ms; }
.globalnav-menu-links a span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.globalnav-menu-links a small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}
.globalnav-menu-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--muted);
  font-size: 11px;
}
.globalnav-menu-footer span:first-child { margin-right: auto; }
.globalnav-menu-footer a { color: var(--blue); white-space: nowrap; }
.globalnav-menu-footer a:hover { text-decoration: underline; }
@keyframes globalnav-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes globalnav-item-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.globalnav .logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 44px;
  flex: 0 0 auto;
}
.globalnav .logo svg { width: 15px; height: 18px; fill: rgba(0, 0, 0, 0.8); }

.globalnav-icons { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.icon-btn {
  appearance: none;
  border: 0;
  background: transparent;
  width: 36px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
}
.icon-btn:hover { background: rgba(0, 0, 0, 0.04); }
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: rgba(0, 0, 0, 0.8); stroke-width: 1.6; }
.icon-btn .bag-icon { fill: rgba(0, 0, 0, 0.8); stroke: none; }
.menu-btn { display: none; }
.menu-btn span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: rgba(0, 0, 0, 0.8);
  margin: 3px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
body.nav-open .menu-btn span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
body.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
body.nav-open .menu-btn span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* Mobile panel */
.mobile-panel {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 99;
  background: rgba(251, 251, 253, 0.98);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  padding: 16px 24px 40px;
  overflow-y: auto;
  display: none;
}
body.nav-open .mobile-panel { display: block; }
.mobile-panel a {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.mobile-panel .mobile-small { font-size: 14px; font-weight: 400; color: var(--muted); }

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(251, 251, 253, 0.98);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  display: none;
  padding: 30px 24px;
}
.search-overlay.is-open { display: block; }
.search-box {
  width: min(100%, 680px);
  margin: 0 auto;
  position: relative;
}
.search-box input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-size: 28px;
  font-weight: 600;
  padding: 12px 44px 14px 0;
  outline: none;
  color: var(--ink);
}
.search-box input::placeholder { color: #b0b0b5; }
.search-close {
  position: absolute;
  right: 0;
  top: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  color: var(--muted);
}
.search-results { margin-top: 28px; }
.search-results h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.search-results a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.search-results a:hover { color: var(--blue); text-decoration: none; }
.search-results a span { color: var(--muted); font-size: 12px; margin-left: auto; }
.search-hint { margin-top: 20px; font-size: 12px; color: var(--muted); }

/* ============================================================
   Product local nav
   ============================================================ */

.productnav {
  background: rgba(245, 245, 247, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.productnav-inner {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
  padding: 18px 0 14px;
  display: flex;
  align-items: flex-end;
  gap: 28px;
}

.productnav-title {
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.productnav-title a { color: var(--ink); }
.productnav-title a:hover { text-decoration: none; }

.productnav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}
.productnav-links::-webkit-scrollbar { display: none; }
.productnav-links a {
  font-size: 12px;
  color: var(--ink);
  white-space: nowrap;
}
.productnav-links a:hover { color: var(--blue); text-decoration: none; }
.productnav-links a.is-active { color: var(--blue); }

.productnav-actions { margin-left: auto; padding-bottom: 2px; flex: 0 0 auto; }
.buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 14px;
  border-radius: 980px;
  background: var(--btn);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}
.buy-btn:hover { background: var(--btn-hover); color: #fff; text-decoration: none; }

/* Promo strip */
.promo {
  background: var(--alt);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  padding: 13px 24px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink);
}
.promo a { color: var(--blue); }

/* Chapter nav */
.chapternav {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: rgba(245, 245, 247, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}
.chapternav::-webkit-scrollbar { display: none; }
.chapternav-inner {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  padding: 10px 0 8px;
}
.chapternav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 58px;
  font-size: 11px;
  line-height: 1.2;
  color: var(--ink);
  text-align: center;
  white-space: nowrap;
}
.chapternav a:hover { color: var(--blue); text-decoration: none; }
.chapternav a.is-active { color: var(--blue); }
.chapternav a.is-active::after {
  content: "";
  width: 18px;
  height: 2px;
  margin-top: 1px;
  border-radius: 2px;
  background: var(--blue);
}
.chapternav img { height: 34px; width: auto; object-fit: contain; }
.chapternav a[href="#essentials"] img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 50%;
}
.chapternav .chapternav-os img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.chapternav .chapter-icon {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chapternav .chapter-new {
  display: block;
  font-size: 9px;
  color: #bf4800;
  font-weight: 500;
  margin-top: 1px;
}

/* ============================================================
   Buttons and text links
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 980px;
  font-size: 17px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--btn); color: #fff; }
.btn--primary:hover { background: var(--btn-hover); }
.btn--secondary { background: #e8e8ed; color: var(--ink); }
.btn--secondary:hover { background: #dcdce1; }
.btn--outline { border-color: var(--btn); color: var(--blue); background: transparent; }
.btn--outline:hover { background: rgba(0, 113, 227, 0.06); }
.btn--dark { background: #1d1d1f; color: #fff; }
.btn--dark:hover { background: #333336; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f0f0f2; }
.btn:active { transform: scale(0.97); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 17px;
  color: var(--blue);
}
.link-arrow::after { content: "›"; font-size: 1.15em; line-height: 1; transform: translateY(-0.02em); }
.link-arrow::after { transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1); }
.link-arrow:hover::after { transform: translate(3px, -0.02em); }
.link-arrow:hover { text-decoration: underline; }

.hero-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.hero-links a { font-size: 19px; }
.hero-links .link-arrow { font-size: 19px; }
.hero--dark .hero-links a,
.hero--dark .hero-links .link-arrow { color: var(--blue-bright); }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--alt);
  text-align: center;
}
.hero--dark { background: #000; color: #f5f5f7; }
.hero--light { background: var(--alt); color: var(--ink); }
.hero--white { background: #fff; color: var(--ink); }

.hero-panorama {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 52px 24px 0;
}
.hero-panorama::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -3%;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  transform: scale(var(--hero-scroll-scale, 1));
  transform-origin: center bottom;
}
.hero-panorama h1 {
  font-size: clamp(42px, 5.2vw, 64px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.hero-panorama p {
  margin-top: 6px;
  font-size: clamp(22px, 2.7vw, 32px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero-panorama .hero-links { margin-top: 16px; }
.hero-panorama .hero-links a { font-size: 17px; }

.hero-product {
  padding: 64px 0 0;
  text-align: center;
  overflow: hidden;
}
.hero-product--dark { background: #000; color: #f5f5f7; }
.hero-product--light { background: var(--alt); color: var(--ink); }
.hero-product--white { background: #fff; color: var(--ink); }
.hero-product h1 {
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -0.018em;
}
.hero-product .hero-sub {
  margin-top: 4px;
  font-size: clamp(24px, 3.4vw, 48px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.hero-product .hero-copy {
  width: min(100% - 48px, 720px);
  margin: 18px auto 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
}
.hero-product--dark .hero-copy { color: #a1a1a6; }
.hero-product .hero-links a { font-size: 19px; }
.hero-product .hero-media {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-product .hero-media img {
  width: auto;
  max-width: 100%;
  max-height: 640px;
  object-fit: contain;
  transform: scale(var(--hero-scroll-scale, 1));
  transform-origin: center bottom;
}
.hero-product .hero-media--full img {
  width: 100%;
  max-height: none;
  object-fit: cover;
}
.hero-product .hero-media--glow { position: relative; }
.hero-product .hero-media--glow::before {
  content: "";
  position: absolute;
  inset: 8% 12% 4%;
  background: radial-gradient(closest-side, rgba(120, 140, 255, 0.28), rgba(120, 140, 255, 0) 72%);
  filter: blur(30px);
  z-index: 0;
}
.hero-product .hero-media--glow img { position: relative; z-index: 1; }
.hero-product .hero-media--pad { padding: 0 24px 56px; }

/* Home hero carousel */
.home-hero {
  position: relative;
  height: min(640px, 72vh);
  min-height: 520px;
  background: #000;
  overflow: hidden;
}
.home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 52px 24px 0;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
.home-slide.is-active { opacity: 1; visibility: visible; }
.home-slide h2 {
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.home-slide p {
  margin-top: 6px;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.home-slide .hero-links { margin-top: 14px; }
.home-slide .hero-links a { font-size: 17px; }
.home-slide--light { background-color: var(--alt); color: var(--ink); }
.home-slide--dark { background-color: #000; color: #f5f5f7; }
.home-slide--light .hero-links a { color: var(--blue); }
.home-slide--dark .hero-links a { color: var(--blue-bright); }

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.hero-dots button.is-active { background: #fff; }
.home-hero--light-dots .hero-dots button { background: rgba(0, 0, 0, 0.22); }
.home-hero--light-dots .hero-dots button.is-active { background: rgba(0, 0, 0, 0.72); }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(210, 210, 215, 0.64);
  color: #1d1d1f;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-arrow:hover { background: rgba(223, 223, 227, 0.9); }
.hero-arrow--prev { left: 18px; }
.hero-arrow--next { right: 18px; }

/* iPhone product and video carousel */
.iphone-showcase {
  padding: 28px 0 30px;
  background: var(--alt);
  overflow: hidden;
}
.iphone-showcase-viewport {
  --slide-width: min(86vw, 1120px);
  --slide-gap: 20px;
  position: relative;
  overflow: hidden;
}
.iphone-showcase-track {
  display: flex;
  width: max-content;
  gap: var(--slide-gap);
  padding-left: calc((100vw - var(--slide-width)) / 2);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.iphone-showcase-slide {
  position: relative;
  flex: 0 0 var(--slide-width);
  height: min(640px, 72vh);
  min-height: 480px;
  overflow: hidden;
  border-radius: 22px;
  isolation: isolate;
  background: #000;
  touch-action: pan-y;
}
.iphone-showcase-image,
.iphone-showcase-slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.iphone-showcase-slide--video { background: #080808; }
.iphone-showcase-media {
  position: absolute;
  inset: 0 42% 0 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(80, 80, 85, .3), transparent 68%),
    #080808;
}
.iphone-showcase-slide--video video {
  inset: 0;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 850ms ease, transform 1200ms cubic-bezier(.2,.7,.2,1);
}
.iphone-showcase-slide--video.is-video-loaded video {
  opacity: 1;
  transform: scale(1);
}
.iphone-showcase-video-loading {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.07) 45%, transparent 70%);
  background-size: 220% 100%;
  opacity: 1;
  transition: opacity 500ms ease;
  animation: showcase-loading-shimmer 1.8s ease-in-out infinite;
}
.iphone-showcase-slide--video.is-video-loaded .iphone-showcase-video-loading { opacity: 0; }
@keyframes showcase-loading-shimmer {
  from { background-position: 100% 0; }
  to { background-position: -120% 0; }
}
.iphone-showcase-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.iphone-showcase-slide--light::after {
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.48) 28%, transparent 58%);
}
.iphone-showcase-slide--dark::after {
  background: linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,.28) 32%, transparent 66%);
}
.iphone-showcase-slide--video::after { display: none; }
.iphone-showcase-copy {
  position: absolute;
  z-index: 1;
  top: 22px;
  left: 48px;
  right: 48px;
  text-align: center;
  pointer-events: none;
}
.iphone-showcase-copy .kicker { font-size: 13px; font-weight: 600; }
.iphone-showcase-copy h1,
.iphone-showcase-copy h2 {
  margin-top: 6px;
  font-size: clamp(40px, 5vw, 50px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -.025em;
}
.iphone-showcase-copy > p:not(.kicker) {
  margin-top: 6px;
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.2;
  font-weight: 600;
}
.iphone-showcase-copy .hero-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}
.iphone-showcase-copy .hero-links a {
  pointer-events: auto;
  font-size: 17px;
}
.iphone-showcase-slide:not(.is-active) .iphone-showcase-copy {
  opacity: 0;
  transform: translateY(14px);
}
.iphone-showcase-slide.is-active .iphone-showcase-copy {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms ease 160ms, transform 800ms cubic-bezier(.2,.7,.2,1) 160ms;
}
.iphone-showcase-slide--video .iphone-showcase-copy {
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  display: flex;
  width: 42%;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 56px);
  background: linear-gradient(145deg, #1d1d1f, #090909 72%);
  text-align: left;
  pointer-events: auto;
}
.iphone-showcase-slide--video .iphone-showcase-copy h2 {
  margin-top: 12px;
  font-size: clamp(30px, 3.2vw, 48px);
}
.iphone-showcase-slide--video .iphone-showcase-copy > p:not(.kicker) {
  margin-top: 14px;
  color: rgba(255,255,255,.72);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.45;
  font-weight: 400;
}
.iphone-showcase-slide--video .iphone-showcase-copy .hero-links {
  justify-content: flex-start;
  margin-top: 24px;
}
.iphone-showcase-slide--light { color: var(--ink); }
.iphone-showcase-slide--light .hero-links a { color: var(--blue); }
.iphone-showcase-slide--dark,
.iphone-showcase-slide--video { color: #fff; }
.iphone-showcase-slide--dark .hero-links a,
.iphone-showcase-slide--video .hero-links a { color: var(--blue-bright); }
.iphone-showcase-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(210, 210, 215, .72);
  color: #1d1d1f;
  cursor: pointer;
  transform: translateY(-50%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.iphone-showcase-arrow:hover { background: rgba(230, 230, 234, .92); }
.iphone-showcase-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.iphone-showcase-arrow--prev { left: max(12px, calc((100% - var(--slide-width)) / 2 + 18px)); }
.iphone-showcase-arrow--next { right: max(12px, calc((100% - var(--slide-width)) / 2 + 18px)); }
.iphone-showcase-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 36px;
  margin-top: 16px;
}
.iphone-showcase-pagination { display: flex; align-items: center; gap: 8px; }
.iphone-showcase-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(29, 29, 31, .24);
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.iphone-showcase-dot.is-active { width: 26px; background: rgba(29, 29, 31, .78); }
.iphone-showcase-toggle,
.iphone-showcase-mute {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(29, 29, 31, .09);
  color: var(--ink);
  cursor: pointer;
}
.iphone-showcase-toggle svg,
.iphone-showcase-mute svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.iphone-showcase-toggle svg,
.iphone-showcase-mute svg { display: none; }
.iphone-showcase-toggle.is-playing .showcase-pause-icon,
.iphone-showcase-toggle:not(.is-playing) .showcase-play-icon,
.iphone-showcase-mute.is-muted .showcase-muted-icon,
.iphone-showcase-mute:not(.is-muted) .showcase-sound-icon { display: block; }
.iphone-showcase-mute[hidden] { display: none; }
.ios27-content {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 26px 30px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f8f6ff, #f3f5ff 55%, #eef8ff);
}
.ios27-mark {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(145deg, #7666ff, #51b8ff 55%, #68d7bd);
  color: #fff;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -.06em;
  box-shadow: 0 10px 24px rgba(90, 112, 230, .2);
}
.ios27-content .kicker { color: var(--blue); font-size: 13px; font-weight: 600; }
.ios27-content h2 { margin-top: 4px; font-size: clamp(24px, 3vw, 34px); line-height: 1.12; }
.ios27-content > div:nth-child(2) > p:last-child {
  max-width: 660px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}
.ios27-content > .link-arrow { white-space: nowrap; }
.chapternav .chapter-icon--ios { fill: none; stroke: currentColor; }
.chapternav .chapter-icon--ios text {
  fill: currentColor;
  stroke: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.7px;
}
@media (max-width: 900px) {
  .ios27-content { grid-template-columns: 76px minmax(0, 1fr); gap: 20px; }
  .ios27-content > .link-arrow { grid-column: 2; }
}
@media (max-width: 734px) {
  .iphone-showcase { padding: 18px 0 22px; }
  .iphone-showcase-viewport { --slide-width: 90vw; --slide-gap: 12px; }
  .iphone-showcase-slide { height: min(540px, 68vh); min-height: 390px; border-radius: 17px; }
  .iphone-showcase-copy { top: 28px; left: 20px; right: 20px; }
  .iphone-showcase-copy h1,
  .iphone-showcase-copy h2 { font-size: clamp(34px, 9vw, 46px); }
  .iphone-showcase-copy > p:not(.kicker) { font-size: 20px; }
  .iphone-showcase-copy .hero-links { gap: 18px; }
  .iphone-showcase-copy .hero-links a { font-size: 15px; }
  .iphone-showcase-media { right: 44%; }
  .iphone-showcase-slide--video .iphone-showcase-copy { width: 44%; padding: 18px 14px; }
  .iphone-showcase-slide--video .iphone-showcase-copy h2 { font-size: clamp(20px, 6vw, 28px); }
  .iphone-showcase-slide--video .iphone-showcase-copy > p:not(.kicker) { margin-top: 8px; font-size: 14px; }
  .iphone-showcase-slide--video .iphone-showcase-copy .hero-links { margin-top: 14px; }
  .iphone-showcase-slide--video .iphone-showcase-copy .hero-links a { font-size: 13px; }
  .iphone-showcase-arrow { display: none; }
  .iphone-showcase-controls { margin-top: 12px; }
  .ios27-content { grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 20px; }
  .ios27-mark { width: 54px; height: 54px; border-radius: 16px; font-size: 24px; }
  .ios27-content h2 { font-size: 24px; }
  .ios27-content > div:nth-child(2) > p:last-child { font-size: 14px; }
  .ios27-content > .link-arrow { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .iphone-showcase-track,
  .iphone-showcase-dot,
  .iphone-showcase-slide--video video,
  .iphone-showcase-video-loading,
  .iphone-showcase-slide--video .iphone-showcase-copy { transition: none; animation: none; }
}

/* ============================================================
   Sections
   ============================================================ */

.section { padding: 80px 0; }
.section--alt { background: var(--alt); }
.section--white { background: #fff; }
.section--dark { background: #000; color: #f5f5f7; }
.section--tight { padding: 56px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.section-head h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.section-head .section-link { font-size: 17px; white-space: nowrap; padding-bottom: 5px; }
.section-head p {
  margin-top: 10px;
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
}
.section--dark .section-head p { color: #a1a1a6; }

/* Line-up gallery */
.lineup-wrap { position: relative; }
.lineup {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 2px 22px;
}
.lineup::-webkit-scrollbar { display: none; }
.lineup.lineup--vertical {
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  overflow: visible;
  scroll-snap-type: none;
}
.lineup-card {
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 20px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.06);
}
.lineup-card .lineup-media {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.lineup-card .lineup-media img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.lineup-card .lineup-media img.is-changing { opacity: 0.25; }
.lineup-card:hover .lineup-media img { transform: scale(1.045); }
.lineup-card.is-visible { transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s ease; }
.lineup-card.is-visible:hover { transform: translateY(-4px); }
.lineup-card[id] { scroll-margin-top: calc(var(--nav-h) + 100px); }
.lineup-card .kicker {
  font-size: 12px;
  line-height: 1.3;
  color: #bf4800;
  font-weight: 500;
  min-height: 16px;
  margin-bottom: 4px;
}
.lineup-card h3 {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.lineup-card .tagline {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
  min-height: 40px;
}
.lineup-card .price-note {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12px;
  color: var(--muted-2);
}
.product-specs {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.product-specs summary {
  padding: 12px 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.product-specs summary::-webkit-details-marker { display: none; }
.product-specs summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-size: 18px;
  line-height: 1;
}
.product-specs[open] summary::after { content: "−"; }
.product-specs dl { display: grid; gap: 9px; }
.product-specs dl > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  font-size: 12px;
  line-height: 1.4;
}
.product-specs dt { color: var(--muted); }
.product-specs dd { color: var(--ink); }
.product-specs .specs-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}
.product-specs .specs-source {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
}
.lineup-card .card-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
  font-size: 14px;
}
.lineup-card .card-links a { white-space: nowrap; }
.lineup-card .card-links .buy-link { color: var(--blue); }

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}
.scroll-hint::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--muted-2);
}

/* Value props */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.value-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.value-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.05);
}
.value-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.value-card:hover img, .feature-card:hover img, .essentials-card:hover img { transform: scale(1.035); }
.value-card .body { padding: 22px 22px 24px; }
.value-card h3 {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.value-card p { font-size: 14px; line-height: 1.45; color: var(--muted); }
.value-card .link-arrow { font-size: 14px; margin-top: 12px; display: inline-flex; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.05);
}
.feature-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-card .body { padding: 26px 28px 30px; }
.feature-card h3 {
  font-size: 28px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 9px;
}
.feature-card p { font-size: 16px; line-height: 1.48; color: var(--muted); }
.feature-card .link-arrow { font-size: 16px; margin-top: 14px; display: inline-flex; }

/* Essentials */
.essentials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.essentials-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.05);
}
.essentials-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.essentials-card .body { padding: 26px 28px 30px; }
.essentials-card h3 {
  font-size: 26px;
  line-height: 1.12;
  font-weight: 600;
  margin-bottom: 8px;
}
.essentials-card p { font-size: 15px; line-height: 1.48; color: var(--muted); }
.essentials-card .link-arrow { font-size: 15px; margin-top: 14px; display: inline-flex; }

/* Image accordion rows */
.accordion-rows { border-top: 1px solid var(--line); }
.accordion-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.accordion-row .media img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}
.accordion-row .copy h3 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.014em;
  margin-bottom: 12px;
}
.accordion-row .copy p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 460px;
}
.accordion-row .copy .link-arrow { font-size: 16px; margin-top: 16px; display: inline-flex; }
.accordion-row:nth-child(even) .media { order: 2; }

/* ============================================================
   Home promo tiles
   ============================================================ */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  background: #fff;
}
.promo-tile {
  position: relative;
  min-height: 580px;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 26px 0;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
.promo-tile--light { background-color: var(--alt); color: var(--ink); }
.promo-tile--dark { background-color: #000; color: #f5f5f7; }
.promo-tile h3 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.promo-tile .tile-logo { height: 38px; width: auto; margin: 0 auto 8px; }
.promo-tile p {
  margin-top: 7px;
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.25;
  font-weight: 400;
}
.promo-tile .hero-links { margin-top: 14px; gap: 22px; }
.promo-tile .hero-links a { font-size: 15px; }
.promo-tile--light .hero-links a { color: var(--blue); }
.promo-tile--dark .hero-links a { color: var(--blue-bright); }

/* TV / full-bleed promo */
.tv-band {
  position: relative;
  min-height: 560px;
  background: #000;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.tv-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}
.tv-band .tv-copy {
  position: relative;
  z-index: 2;
  padding: 44px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 55%);
}
.tv-band h3 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 600; letter-spacing: -0.015em; }
.tv-band p { margin-top: 6px; font-size: 16px; color: rgba(255, 255, 255, 0.82); }
.tv-band .tv-logo { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.tv-band .link-arrow { color: #fff; font-size: 17px; }

/* ============================================================
   Compare table
   ============================================================ */

.compare-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: 0 4px 22px rgba(0, 0, 0, 0.05); }
.compare {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}
.compare th, .compare td {
  padding: 18px 20px;
  border-bottom: 1px solid #e8e8ed;
  text-align: center;
  vertical-align: middle;
}
.compare thead th { font-size: 21px; font-weight: 600; padding-top: 28px; }
.compare thead th img { height: 110px; width: auto; object-fit: contain; margin: 0 auto 14px; }
.compare tbody th {
  text-align: left;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  width: 22%;
}
.compare td { color: var(--ink); }
.compare .yes { color: var(--ink); font-weight: 500; }
.compare .no { color: var(--muted-2); }
.compare .compare-buy { margin-top: 10px; display: inline-flex; }

/* ============================================================
   Store / contact
   ============================================================ */

.store-hero {
  position: relative;
  min-height: 540px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: 54px 24px 0;
}
.store-hero h1 {
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -0.018em;
}
.store-hero p {
  margin-top: 8px;
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 400;
  color: var(--ink);
}
.store-hero .hero-links a { font-size: 17px; }

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 22px 0;
}
.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--alt);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.quick-link:hover { background: #ececf0; text-decoration: none; }
.quick-link svg { width: 20px; height: 20px; flex: 0 0 auto; stroke: var(--ink); fill: none; stroke-width: 1.6; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.shop-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--alt);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 30px 22px 0;
}
.shop-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  margin-top: auto;
}
.shop-card h3 { font-size: 24px; font-weight: 600; }
.shop-card p { margin-top: 5px; font-size: 14px; color: var(--muted); }
.shop-card .link-arrow { font-size: 14px; margin: 10px 0 22px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}
.contact-card {
  background: var(--alt);
  border-radius: var(--radius);
  padding: 34px;
}
.contact-card h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 10px; }
.contact-card p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.contact-list { margin-top: 18px; display: grid; gap: 10px; font-size: 15px; }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--blue); }
.contact-list .label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.contact-actions .btn { min-height: 40px; font-size: 14px; padding: 9px 18px; }

.hours {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.hours div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(0, 0, 0, 0.07); padding-bottom: 7px; }
.hours div:last-child { border-bottom: 0; }

.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  background:
    radial-gradient(circle at 30% 35%, rgba(0, 113, 227, 0.12), transparent 40%),
    radial-gradient(circle at 70% 65%, rgba(191, 72, 0, 0.1), transparent 45%),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.05) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.05) 0 1px, transparent 1px 42px),
    #eef0f3;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.map-card .pin {
  width: 46px;
  height: 46px;
  border-radius: 50% 50% 50% 0;
  background: #ff3b30;
  transform: rotate(-45deg);
  box-shadow: 0 10px 24px rgba(255, 59, 48, 0.35);
  margin: 0 auto 18px;
}
.map-card .pin::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #fff;
}
.map-card h4 { font-size: 19px; font-weight: 600; }
.map-card p { margin-top: 4px; font-size: 13px; color: var(--muted); }

/* ============================================================
   Support / Siri / misc pages
   ============================================================ */

.page-hero {
  padding: 72px 0 56px;
  text-align: center;
  background: var(--alt);
}
.page-hero--dark { background: #000; color: #f5f5f7; }
.page-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.018em;
}
.page-hero p {
  width: min(100% - 48px, 680px);
  margin: 14px auto 0;
  font-size: 19px;
  line-height: 1.45;
  color: var(--muted);
}
.page-hero--dark p { color: #a1a1a6; }

.support-search {
  width: min(100% - 48px, 640px);
  margin: 28px auto 0;
  position: relative;
}
.support-search input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 980px;
  padding: 14px 52px 14px 22px;
  font-size: 17px;
  outline: none;
}
.support-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12); }
.support-search > button {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  padding: 3px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.support-search > button svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 1.8;
}
.support-search-results {
  position: absolute;
  z-index: 5;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  text-align: left;
}
.support-search-results a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 15px;
}
.support-search-results a:hover,
.support-search-results a:focus-visible {
  background: var(--alt);
  color: var(--blue);
  text-decoration: none;
}
.support-search-empty {
  padding: 10px 14px 4px;
  color: var(--muted);
  font-size: 13px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.category-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.05);
  color: var(--ink);
}
.category-card:hover { text-decoration: none; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.09); }
.category-card .cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.category-card .cat-icon svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.category-card h3 { font-size: 19px; font-weight: 600; }
.category-card p { margin-top: 2px; font-size: 13px; color: var(--muted); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 760px; }

.siri-hero {
  position: relative;
  min-height: 640px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 64px 24px;
}
.siri-hero .orb {
  position: absolute;
  width: min(70vw, 560px);
  height: auto;
  opacity: 0.9;
  filter: blur(2px) saturate(120%);
}
.siri-hero .siri-copy { position: relative; z-index: 2; }
.siri-hero h1 { font-size: clamp(42px, 6vw, 80px); line-height: 1.02; font-weight: 600; letter-spacing: -0.02em; }
.siri-hero p { margin: 14px auto 0; max-width: 620px; font-size: 19px; line-height: 1.45; color: #a1a1a6; }

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--alt);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.33;
  padding: 36px 0 22px;
}
.footer-inner { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.footer-note {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.footer-note p + p { margin-top: 8px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 0 10px;
  border-bottom: 1px solid var(--line);
}
.footer h4 {
  font-size: 12px;
  color: var(--ink);
  margin-bottom: 9px;
  font-weight: 600;
}
.footer li { margin: 6px 0; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  padding-top: 14px;
}
.footer-legal .copyright { margin-right: auto; }
.footer-store {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 14px 0 0;
  color: var(--muted);
}
.footer-store a { color: var(--ink); }
.creator-credit {
  margin: 0 0 18px;
  padding: 0 0 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
}

.creator-topline {
  padding: 10px 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
}

/* ============================================================
   Reveal / utilities
   ============================================================ */

section[id] { scroll-margin-top: calc(var(--nav-h) + 72px); }

.product-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.8fr);
  gap: clamp(36px, 8vw, 110px);
  align-items: start;
  margin-top: 20px;
}
.story-visual {
  position: sticky;
  top: calc(var(--nav-h) + 90px);
  display: grid;
  place-items: center;
  min-height: min(58vw, 540px);
  overflow: hidden;
  border-radius: 24px;
  background: var(--alt);
}
.story-visual img {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  transition: opacity 0.28s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.story-visual img.is-changing { opacity: 0.2; transform: scale(0.975); }
.story-progress {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: rgba(0, 0, 0, 0.08);
}
.story-progress::after {
  content: "";
  display: block;
  width: var(--story-progress, 0%);
  height: 100%;
  background: var(--blue);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.story-steps { padding: 2vh 0; }
.story-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 42vh;
  padding: 36px 0;
  opacity: 0.42;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.story-step.is-active { opacity: 1; transform: translateY(0); }
.story-kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}
.story-step h3 {
  margin-top: 8px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.story-step > p:last-child {
  max-width: 390px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.985);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.lineup-card.is-filter-enter {
  animation: product-card-enter 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--filter-delay, 0ms);
}
@keyframes product-card-enter {
  from { opacity: 0; transform: translate3d(0, 22px, 0) scale(0.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
.no-js .reveal { opacity: 1; transform: none; }

.js-motion #main img.image-loading {
  opacity: 0;
  filter: blur(10px);
}
.js-motion #main img.image-revealing {
  animation: image-focus-in 0.68s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes image-focus-in {
  from { opacity: 0; filter: blur(10px); }
  to { opacity: 1; filter: blur(0); }
}

.value-card,
.feature-card,
.essentials-card,
.incentive-card,
.shop-card,
.contact-card {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}
.value-card:hover,
.feature-card:hover,
.essentials-card:hover,
.incentive-card:hover,
.shop-card:hover,
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.1);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.muted { color: var(--muted); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1068px) {
  .globalnav-links { gap: 0; }
  .globalnav-links a { padding: 8px 4px; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card img { height: 300px; }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .globalnav-links { display: none; }
  .globalnav-menu { display: none !important; }
  .menu-btn { display: inline-flex; flex-direction: column; }
  .productnav-inner { align-items: center; gap: 18px; padding: 14px 0 12px; }
  .productnav-title { font-size: 32px; }
  .productnav-links { padding-bottom: 0; }
  .productnav-actions { display: none; }
  .chapternav-inner { justify-content: flex-start; }
  .home-hero { height: 560px; min-height: 0; }
  .promo-tile { min-height: 460px; }
  .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 64px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (max-width: 734px) {
  body { font-size: 16px; }
  .container { width: min(100% - 40px, var(--max)); }
  .productnav-inner { width: min(100% - 40px, var(--max)); }
  .chapternav-inner { width: min(100% - 40px, var(--max)); }
  .productnav-title { font-size: 28px; }
  .productnav-links { gap: 18px; }
  .hero-panorama { min-height: 520px; padding-top: 40px; }
  .hero-product { padding-top: 44px; }
  .hero-product .hero-media img { max-height: 460px; }
  .home-hero { height: 540px; }
  .home-slide { padding-top: 40px; }
  .hero-arrow { display: none; }
  .tile-grid { grid-template-columns: 1fr; gap: 10px; padding: 10px; }
  .promo-tile { min-height: 440px; }
  .lineup { grid-auto-columns: 82%; }
  .lineup-card { min-height: 400px; }
  .value-grid, .value-grid--5 { grid-template-columns: 1fr; }
  .feature-grid, .essentials-grid { grid-template-columns: 1fr; }
  .product-story-layout { grid-template-columns: 1fr; gap: 18px; }
  .story-visual { position: relative; top: auto; min-height: 420px; }
  .story-visual img { max-height: 420px; }
  .story-steps { padding: 0; }
  .story-step { min-height: 240px; padding: 34px 0; }
  .feature-card img, .essentials-card img { height: 280px; }
  .accordion-row { grid-template-columns: 1fr; gap: 20px; padding: 30px 0; }
  .accordion-row:nth-child(even) .media { order: 0; }
  .quick-links, .shop-grid, .category-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 26px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-legal .copyright { width: 100%; }
  .tv-band .tv-copy { flex-direction: column; align-items: flex-start; padding: 28px; }
  .compare { min-width: 680px; }
  .compare thead th img { height: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .globalnav,
  .btn,
  .link-arrow::after,
  .value-card,
  .feature-card,
  .essentials-card,
  .incentive-card,
  .shop-card,
  .contact-card { transition: none; }
  .globalnav.is-scrolled { background: rgba(251, 251, 253, 0.82); box-shadow: none; }
  .js-motion #main img.image-loading { opacity: 1; filter: none; }
  .js-motion #main img.image-revealing { animation: none; opacity: 1; filter: none; }
  .reveal,
  .story-step,
  .story-visual img,
  .story-progress::after,
  .swatch-option,
  .lineup-card .lineup-media img,
  .lineup-card,
  .value-card img,
  .feature-card img { opacity: 1; transform: none; transition: none; }
  .lineup-card.is-visible:hover,
  .lineup-card.is-filter-enter,
  .story-step.is-active,
  .story-visual img.is-changing,
  .swatch-option:hover { opacity: 1; transform: none; }
  .lineup-card.is-filter-enter { animation: none; }
  .home-slide { transition: none; }
  .globalnav-menu,
  .globalnav-menu-links a { transition: none; animation: none; opacity: 1; transform: none; }
  .globalnav-menu-panel.is-current { animation: none; opacity: 1; transform: none; }
}

/* ============================================================
   Apple.com page additions (line-up, tabs, product sections)
   ============================================================ */

.value-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.value-grid--4 .value-card img { height: 230px; object-fit: cover; }

.lineup--three {
  grid-auto-flow: row;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
  padding-bottom: 0;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 34px;
}
.tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 17px;
  border-radius: 980px;
  background: #e8e8ed;
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
}
.tabs a:hover { background: #dcdce1; text-decoration: none; }
.tabs a.is-active { background: #1d1d1f; color: #fff; }

.swatches {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 0;
}
.swatch-option {
  width: 17px;
  height: 17px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--swatch-color);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.swatch-option:hover { transform: scale(1.16); }
.swatch-option.is-selected {
  box-shadow: 0 0 0 1px var(--blue), inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.swatch-option:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.finish-selection {
  min-height: 15px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.productnav-links .new {
  display: inline-block;
  margin-left: 3px;
  color: #bf4800;
  font-size: 9px;
  font-weight: 500;
  vertical-align: super;
}

/* Full-width AirPods product sections */
.product-section {
  padding: 84px 0;
  text-align: center;
  background: #fff;
}
.product-section--alt { background: var(--alt); }
.product-section h2 {
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.product-sub {
  margin-top: 6px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.product-copy {
  width: min(100% - 48px, 680px);
  margin: 14px auto 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
}
.product-media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 34px auto 0;
  width: min(100% - 48px, 760px);
}
.product-media img {
  width: auto;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
}
.product-section .hero-links { margin-top: 26px; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  width: min(100% - 48px, 760px);
  margin: 34px auto 0;
  text-align: left;
}
.feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

@media (max-width: 1068px) {
  .value-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .lineup--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 734px) {
  .value-grid--4 { grid-template-columns: 1fr; }
  .lineup--three { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .product-section { padding: 60px 0; }
  .product-media img { max-height: 380px; }
}

/* ============================================================
   Reference-matched layout (Apple.com product pages)
   ============================================================ */

/* Split product hero: copy on the left, CTAs on the right, image below */
.hero-split { background: var(--alt); color: var(--ink); }
.hero-split--dark { background: #000; color: #f5f5f7; }
.hero-split--white { background: #fff; color: var(--ink); }
.hero-split-inner {
  position: relative;
  isolation: isolate;
  min-height: 700px;
  padding: 54px 0 0;
  overflow: hidden;
}
.hero-split-inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -3%;
  background-image: var(--hero-image);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  transform: scale(var(--hero-scroll-scale, 1));
  transform-origin: center bottom;
}
.hero-split-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  width: min(100% - 64px, 1240px);
  margin: 0 auto;
}
.hero-split-copy h1 {
  font-size: clamp(46px, 5.4vw, 72px);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -0.018em;
}
.hero-split-copy p {
  margin-top: 8px;
  font-size: clamp(21px, 2.3vw, 30px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero-split .hero-links {
  justify-content: flex-end;
  margin-top: 12px;
  flex: 0 0 auto;
}
.hero-split .hero-links a { font-size: 17px; }
.hero-split--dark .hero-links a,
.hero-split--dark .hero-links .link-arrow { color: var(--blue-bright); }
@media (max-width: 734px) {
  .hero-split-inner { min-height: 520px; padding-top: 34px; }
  .hero-split-top { flex-direction: column; gap: 14px; }
  .hero-split .hero-links { justify-content: flex-start; margin-top: 0; }
}

/* Line-up: transparent product tiles in a horizontal carousel */
.section--alt .lineup,
.lineup {
  display: flex;
  grid-auto-flow: unset;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 90px 26px;
  scrollbar-width: none;
}
.lineup::-webkit-scrollbar { display: none; }
.lineup-card {
  flex: 0 0 270px;
  width: 270px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0 8px;
  min-height: 0;
  scroll-snap-align: start;
}
.lineup-card .lineup-media {
  height: 320px;
  margin-bottom: 26px;
}
.lineup-card .lineup-media img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.lineup-card .kicker { min-height: 18px; margin-bottom: 2px; font-size: 12px; }
.lineup-card h3 { font-size: 24px; line-height: 1.15; }
.lineup-card .tagline {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.35;
  min-height: 46px;
  color: var(--muted);
}
.lineup-card .swatches { margin-top: 14px; }
.lineup-card .card-links { margin-top: 18px; gap: 20px; font-size: 17px; }
.lineup--three { grid-template-columns: none; overflow-x: auto; }

/* Feature / incentive cards: copy first, image pinned to the bottom */
.incentive-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 90px 26px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.incentive-grid::-webkit-scrollbar { display: none; }
.incentive-card {
  flex: 0 0 276px;
  width: 276px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}
.incentive-card .incentive-copy { padding: 26px 26px 0; text-align: left; }
.incentive-card .label {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
}
.incentive-card .headline {
  margin-top: 6px;
  font-size: 21px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.incentive-card .body {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.incentive-card .incentive-media { margin-top: auto; padding-top: 18px; }
.incentive-card .incentive-media img {
  display: block;
  width: 100%;
  height: auto;
}
.incentive-grid--tall .incentive-card { flex-basis: 276px; }
.incentive-grid--tall .incentive-card .incentive-media { padding-top: 14px; }
.incentive-grid--tall .incentive-media img { width: 100%; height: 360px; object-fit: cover; object-position: top center; }

/* Significant others: image accordion */
.image-accordion {
  display: flex;
  gap: 12px;
  height: 560px;
  margin-top: 8px;
}
.acc-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: flex-grow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.acc-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.45) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.acc-item.is-open { flex-grow: 3.2; cursor: default; }
.acc-item.is-open::after { opacity: 1; }
.acc-item .acc-copy {
  position: absolute;
  left: 28px;
  bottom: 28px;
  right: 28px;
  z-index: 1;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease 0.12s, transform 0.35s ease 0.12s;
  max-width: 340px;
}
.acc-item.is-open .acc-copy { opacity: 1; transform: none; }
.acc-item .acc-copy h3 { font-size: 24px; font-weight: 600; }
.acc-item .acc-copy p { margin-top: 8px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,0.85); }
.acc-item .acc-copy .link-arrow { margin-top: 12px; color: #fff; }
.acc-item .acc-tab {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 1;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  width: 150px;
  opacity: 1;
  transition: opacity 0.2s ease;
}
.acc-item.is-open .acc-tab { opacity: 0; }
@media (max-width: 900px) {
  .image-accordion { height: auto; flex-direction: column; }
  .acc-item { min-height: 260px; }
  .acc-item .acc-tab { opacity: 1; }
}

/* Tabs row for Mac line-up */
.tabs { margin-bottom: 22px; }

@media (max-width: 734px) {
  .lineup, .incentive-grid { padding-left: 22px; padding-right: 22px; }
  .lineup-card { flex-basis: 230px; width: 230px; }
  .lineup-card .lineup-media { height: 250px; }
  .incentive-card { flex-basis: 240px; width: 240px; }
}

/* ============================================================
   Watch / AirPods reference pages
   ============================================================ */

/* Watch page title + icon chapter nav */
.page-header { background: #fff; padding: 58px 0 0; }
.page-header-inner { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.page-header h1 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.page-header .chapternav {
  position: static;
  top: auto;
  z-index: auto;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 0;
  overflow: visible;
  margin-top: 46px;
}
.page-header .chapternav-inner {
  width: 100%;
  padding: 0 0 18px;
  gap: 0;
  justify-content: space-between;
  align-items: flex-end;
}
.page-header .chapternav a { min-width: 0; font-size: 12px; gap: 6px; }
.page-header .chapternav img { height: 44px; }
.page-header .chapter-new { font-size: 10px; }

/* Watch line-up: three across, no carousel padding */
.lineup--three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  overflow: visible;
  padding: 4px 0 26px;
}
.lineup--three .lineup-card { width: auto; flex: none; padding: 0 12px; }
.lineup--three .lineup-media { height: 300px; }

/* Split cards: copy on the left, rounded image on the right */
.split-cards { display: flex; flex-direction: column; gap: 12px; }
.split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 26px 0;
}
.split-card-copy { padding-left: 58px; }
.split-card-copy h3 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.014em;
}
.split-card-copy p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 440px;
}
.split-card-copy .link-arrow { margin-top: 16px; font-size: 16px; }
.split-card-media img {
  display: block;
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}
@media (max-width: 734px) {
  .split-card { grid-template-columns: 1fr; }
  .split-card-copy { padding-left: 0; }
}

/* Compact text-only AirPods nav */
.compactnav {
  background: rgba(250, 250, 252, 0.94);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.compactnav-inner {
  width: min(100% - 48px, 1024px);
  margin-inline: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.compactnav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 17px;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
}
.compactnav a:hover { color: var(--blue); text-decoration: none; }
.compactnav a.is-active { font-weight: 600; }
.compactnav .new { font-size: 10px; line-height: 1; color: #bf4800; font-weight: 500; }

/* White AirPods promo ribbon */
.promo--white { background: #fff; border-bottom: 0; padding: 20px 24px; font-size: 14px; }

/* Large rounded AirPods product tiles */
.tile-hero {
  position: relative;
  width: min(100% - 48px, 1140px);
  height: 560px;
  margin: 0 auto 24px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.tile-hero:first-of-type { margin-top: 24px; }
.tile-hero img.tile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile-hero--onimage { color: #f5f5f7; }
.tile-hero--onimage .tile-links a { color: #f5f5f7; }
.tile-hero .tile-copy {
  position: absolute;
  left: 36px;
  bottom: 34px;
  z-index: 2;
  max-width: 460px;
}
.tile-hero .tile-copy h2 {
  font-size: 40px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.tile-hero .tile-copy p {
  margin-top: 6px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tile-hero .tile-links {
  position: absolute;
  right: 36px;
  bottom: 36px;
  z-index: 2;
  display: flex;
  gap: 24px;
}
.tile-hero .tile-links a { font-size: 17px; }
.tile-hero .tile-logo {
  position: absolute;
  top: 54px;
  left: 50%;
  transform: translateX(-50%);
  width: min(64%, 760px);
  height: auto;
  z-index: 1;
}
.tile-hero .tile-product {
  position: absolute;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
  height: 360px;
  width: auto;
  z-index: 1;
}
.tile-hero--pro .tile-bg { object-position: center 32%; }
@media (max-width: 734px) {
  .tile-hero { height: 460px; }
  .tile-hero .tile-copy { left: 24px; bottom: 26px; max-width: 70%; }
  .tile-hero .tile-copy h2 { font-size: 30px; }
  .tile-hero .tile-copy p { font-size: 17px; }
  .tile-hero .tile-links { right: 24px; bottom: 26px; gap: 16px; }
  .tile-hero .tile-links a { font-size: 15px; }
}

/* Centred section heading */
.section-head--center { justify-content: center; text-align: center; margin-bottom: 30px; }
.section-head--center > div { width: 100%; }

/* AirPods compare cards */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 790px;
  margin: 0 auto;
}
.compare-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.compare-media {
  height: 180px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.compare-media img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.compare-card h3 { font-size: 21px; line-height: 1.15; font-weight: 600; }
.compare-sub { margin-top: 2px; font-size: 14px; color: var(--muted); }
.compare-copy { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.compare-list { width: 100%; margin: 12px 0 0; padding: 0; list-style: none; text-align: left; }
.compare-list li {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}
.compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}
.compare-card .link-arrow { margin-top: 14px; font-size: 14px; }

/* Four-up incentive grid (Get to know AirPods) */
.incentive-grid--four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  overflow: visible;
}
.incentive-grid--four .incentive-card { width: auto; flex: none; }
.incentive-grid--four .incentive-media img {
  height: 300px;
  object-fit: cover;
  object-position: bottom center;
}
.incentive-grid--alt .incentive-card { background: var(--alt); }

/* Mac tabs filtering */
.lineup-card[hidden] { display: none; }

@media (max-width: 900px) {
  .compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
  .incentive-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .compare-grid { grid-template-columns: 1fr; max-width: 320px; }
  .incentive-grid--four { grid-template-columns: 1fr; }
}

/* iPhone purchase helpers */
.storage-picker {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  text-align: left;
  color: var(--muted);
  font-size: 13px;
}
.storage-picker select,
.iphone-tool-card input,
.iphone-tool-card select,
.enquiry-card input,
.enquiry-card select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d2d2d7;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.lineup-card .price-note {
  margin: 8px 0 0;
  padding: 0;
  line-height: 1.4;
}
.lineup-card .check-stock-link { color: var(--blue); }
.iphone-shopping-tools .section-head { margin-bottom: 28px; }
.iphone-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}
.iphone-tool-card,
.iphone-compare-panel,
.enquiry-card {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 20px;
  background: #f5f5f7;
}
.iphone-tool-card .kicker,
.iphone-compare-panel .kicker,
.enquiry-card .kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}
.iphone-tool-card h3,
.iphone-compare-panel h3 {
  margin-top: 5px;
  font-size: clamp(23px, 2.5vw, 30px);
  line-height: 1.12;
  font-weight: 600;
}
.iphone-tool-card fieldset {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  padding: 0;
  border: 0;
}
.quiz-choice {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}
.quiz-choice input,
.compare-choice input { width: 18px; min-height: 18px; height: 18px; accent-color: var(--blue); }
.iphone-tool-card > .btn,
.enquiry-card > .btn { margin-top: 18px; }
.quiz-result {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  line-height: 1.45;
}
.quiz-result:empty { display: none; }
.quiz-result strong { font-size: 18px; }
.quiz-result p { color: var(--muted); font-size: 14px; }
.quiz-result .link-arrow { justify-self: start; font-size: 14px; }
.tool-description,
.enquiry-card > p:not(.kicker) {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.iphone-calculator > label,
.enquiry-card > label,
.calculator-row label {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
}
.calculator-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.calculator-result {
  min-height: 1.4em;
  margin-top: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.calculator-disclaimer,
.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.iphone-compare-panel {
  margin-top: 22px;
  background: var(--alt);
}
.compare-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.compare-panel-heading > p,
.compare-status { color: var(--muted); font-size: 13px; }
.compare-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 8px;
}
.compare-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
}
.compare-status { min-height: 1.4em; }
.iphone-compare-output { margin-top: 10px; overflow-x: auto; }
.iphone-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.iphone-compare-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.iphone-compare-table th,
.iphone-compare-table td {
  min-width: 145px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.45;
}
.iphone-compare-table thead th {
  font-size: 15px;
  font-weight: 600;
}
.iphone-compare-table th:first-child { min-width: 120px; }
.iphone-compare-table tbody th { color: var(--muted); font-weight: 500; }
.store-enquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.enquiry-card {
  background: #fff;
  box-shadow: 0 4px 22px rgba(0,0,0,.055);
}
.enquiry-card h2 {
  margin-top: 5px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
}
.form-status { margin-top: 10px; font-size: 13px; line-height: 1.45; }
.form-status a { color: var(--blue); }
.store-service-callout {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 1.3fr;
  align-items: center;
  gap: clamp(22px, 5vw, 64px);
  max-width: 900px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 20px;
  background: var(--alt);
}
.store-service-callout--reverse { background: #f5f5f7; }
.store-service-callout img {
  display: block;
  width: 100%;
  max-height: 230px;
  border-radius: 12px;
  object-fit: cover;
}
.store-service-callout h3 { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.15; }
.store-service-callout p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.store-service-callout .link-arrow { display: inline-flex; margin-top: 14px; }
@media (max-width: 800px) {
  .iphone-tool-grid,
  .store-enquiry-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .compare-panel-heading { align-items: start; flex-direction: column; gap: 8px; }
  .compare-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-choice { border-radius: 12px; }
  .calculator-row { grid-template-columns: 1fr; gap: 0; }
  .store-service-callout { grid-template-columns: 1fr; padding: 20px; }
  .store-service-callout img { max-height: 200px; }
}
