/* ==========================================================================
   Maeka.io — Apple-Inspired Minimalist Industrial Design System (v7)
   Pure #000000 Obsidian | #F5F5F7 Studio Light | #FFFFFF | #C94D29 Maeka Ochre
   ========================================================================== */

:root {
  --ac-black: #000000;
  --ac-ink: #1d1d1f;
  --ac-muted: #6e6e73;
  --ac-muted-dark: #a1a1a6;
  --ac-light: #f5f5f7;
  --ac-white: #ffffff;
  --ac-accent: #c94d29;
  --ac-accent-hover: #d95d39;
  --ac-accent-dark-text: #f2825e;
  --ac-hairline: rgba(0, 0, 0, 0.08);
  --ac-hairline-strong: rgba(0, 0, 0, 0.14);
  --ac-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --ac-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ac-nav-h: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: var(--ac-nav-h);
  background: var(--ac-white);
  color: var(--ac-ink);
  font-family: var(--ac-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.hidden { display: none !important; }

/* ==========================================================================
   GLOBAL 44px FROSTED-GLASS NAVIGATION (apple.com/au exact geometry)
   ========================================================================== */
.ac-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--ac-nav-h);
  z-index: 9999;
  background: rgba(250, 250, 252, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.ac-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--ac-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ac-brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ac-accent);
  display: inline-block;
}

.ac-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3.2vw, 34px);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
}

.ac-nav-links a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.78);
  padding: 6px 2px;
  transition: color 140ms ease;
  white-space: nowrap;
}

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

.ac-nav-links a[aria-current="page"] {
  font-weight: 600;
}

/* Mobile-only Apple two-line drawer menu (zero JS) */
.ac-mobile-menu { display: none; }
.ac-mobile-menu summary {
  list-style: none;
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ac-ink);
}
.ac-mobile-menu summary::-webkit-details-marker { display: none; }
.ac-mobile-menu summary:hover { background: rgba(0, 0, 0, 0.06); }
.ac-mobile-drawer {
  position: fixed;
  top: var(--ac-nav-h);
  left: 0;
  right: 0;
  background: rgba(250, 250, 252, 0.96);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--ac-hairline-strong);
  padding: 18px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.ac-mobile-drawer a {
  display: block;
  padding: 12px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ac-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ac-hairline);
}
.ac-mobile-drawer a:last-child { border-bottom: none; color: var(--ac-accent); }

/* ==========================================================================
   TOP ANNOUNCEMENT RIBBON
   ========================================================================== */
.ac-ribbon {
  background: var(--ac-light);
  color: var(--ac-ink);
  text-align: center;
  padding: 12px 20px;
  font-size: 13.5px;
  line-height: 1.42;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ac-ribbon a {
  color: var(--ac-accent);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.ac-ribbon a:hover { text-decoration: underline; }

/* ==========================================================================
   APPLE PILL BUTTONS (980px radius)
   ========================================================================== */
.ac-ctas {
  margin-top: 19px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.ac-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 980px;
  padding: 11px 22px;
  font-size: 17px;
  line-height: 1.1765;
  font-weight: 400;
  letter-spacing: -0.014em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.ac-pill-sm {
  font-size: 14px;
  line-height: 1.2858;
  padding: 8px 17px;
  letter-spacing: -0.012em;
}

.ac-pill-solid {
  background: var(--ac-accent);
  color: #ffffff;
}
.ac-pill-solid:hover {
  background: var(--ac-accent-hover);
  color: #ffffff;
}

.ac-pill-outline-light {
  background: rgba(245, 245, 247, 0.72);
  backdrop-filter: blur(8px);
  color: var(--ac-accent);
  border-color: var(--ac-accent);
}
.ac-pill-outline-light:hover {
  background: var(--ac-accent);
  color: #ffffff;
}

.ac-pill-outline-dark {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  color: var(--ac-accent-dark-text);
  border-color: var(--ac-accent-dark-text);
}
.ac-pill-outline-dark:hover {
  background: var(--ac-accent);
  border-color: var(--ac-accent);
  color: #ffffff;
}

/* ==========================================================================
   FULL-BLEED STACKED HERO SHOWCASES (3 heroes, 12px white gutters)
   Normal vertical flex flow guarantees ZERO text/button overlap on any screen
   ========================================================================== */
.ac-hero-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: var(--ac-white);
  margin-bottom: 12px;
}

.ac-hero {
  position: relative;
  width: 100%;
  min-height: clamp(580px, 78vh, 710px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 54px 24px 0;
}

.ac-hero-dark {
  background: var(--ac-black);
  color: var(--ac-light);
}

.ac-hero-light {
  background: var(--ac-light);
  color: var(--ac-ink);
}

.ac-hero-copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
  padding-bottom: 14px;
}

.ac-hero-kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ac-accent-dark-text);
  margin-bottom: 6px;
}

.ac-hero-light .ac-hero-kicker {
  color: var(--ac-accent);
}

.ac-hero h1,
.ac-hero h2 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.0714;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ac-hero-sub {
  margin: 7px 0 0;
  font-size: clamp(19px, 2.2vw, 28px);
  line-height: 1.16;
  font-weight: 400;
  letter-spacing: -0.006em;
  max-width: 600px;
}

.ac-hero-dark .ac-hero-sub { color: rgba(245, 245, 247, 0.9); }
.ac-hero-light .ac-hero-sub { color: var(--ac-ink); }

.ac-hero-art {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  margin-top: auto;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ac-hero-art img {
  width: 100%;
  max-height: 455px;
  object-fit: contain;
  object-position: center bottom;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 2%, #000 98%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 2%, #000 98%, transparent 100%);
  mask-composite: intersect;
}

.ac-hero-art-fade img {
  max-width: 720px;
  max-height: 430px;
  margin-bottom: 12px;
  -webkit-mask-image: radial-gradient(ellipse 84% 88% at 50% 54%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 84% 88% at 50% 54%, #000 58%, transparent 100%);
}

/* ==========================================================================
   HERO 1 CYCLING FIGURINES SHOWCASE (Sport · First Day · Kindy · Team 3D)
   Locked stage height + subtle progress pill bar for zero layout shift
   ========================================================================== */
.ac-hero-cycler {
  min-height: clamp(640px, 84vh, 760px);
}

.ac-hero-cycler .ac-hero-copy {
  padding-bottom: 8px;
}

.ac-hero-cycler .ac-hero-kicker,
.ac-hero-cycler h1,
.ac-hero-cycler .ac-hero-sub,
.ac-hero-cycler .ac-ctas {
  transition: opacity 180ms ease;
}

.ac-hero-cycler.is-swapping .ac-hero-kicker,
.ac-hero-cycler.is-swapping h1,
.ac-hero-cycler.is-swapping .ac-hero-sub {
  opacity: 0.35;
}

.ac-hero-sub-fixed {
  min-height: 2.35em;
}

.ac-hero-switcher {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  border-radius: 980px;
  background: rgba(29, 29, 31, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  max-width: 100%;
}

.ac-hero-tab {
  position: relative;
  overflow: hidden;
  appearance: none;
  border: none;
  background: transparent;
  color: var(--ac-muted);
  font-family: var(--ac-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  padding: 7px 14px 8px;
  border-radius: 980px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.ac-hero-tab:hover {
  color: var(--ac-ink);
}

.ac-hero-tab:focus-visible {
  outline: 2px solid var(--ac-accent);
  outline-offset: 2px;
}

.ac-hero-tab.is-active {
  background: var(--ac-white);
  color: var(--ac-ink);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.ac-hero-tab-bar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 99px;
  background: var(--ac-accent);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  pointer-events: none;
}

.ac-hero-tab.is-active .ac-hero-tab-bar {
  opacity: 0.92;
  animation: acHeroProgress var(--ac-cycle-ms, 4800ms) linear forwards;
}

.ac-hero-cycler.is-paused .ac-hero-tab.is-active .ac-hero-tab-bar {
  animation-play-state: paused;
}

@keyframes acHeroProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.ac-hero-cycle-stage {
  position: relative;
  width: 100%;
  max-width: 980px;
  height: 415px;
  margin: 6px auto 14px;
  pointer-events: auto;
  touch-action: pan-y;
}

.ac-hero-cycle-stage .ac-hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
  transform: translateY(6px) scale(0.988);
  transition:
    opacity 540ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 2%, #000 98%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 2%, #000 98%, transparent 100%);
  mask-composite: intersect;
}

.ac-hero-cycle-stage .ac-hero-slide-img.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .ac-hero-tab.is-active .ac-hero-tab-bar {
    animation: none;
    transform: scaleX(1);
  }
  .ac-hero-cycle-stage .ac-hero-slide-img {
    transition: opacity 160ms ease;
    transform: none;
  }
}

/* ==========================================================================
   2-COLUMN PROMO TILE GRID (12px gutters, 580px tall — exact apple.com/au)
   ========================================================================== */
.ac-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 12px;
  background: var(--ac-white);
  margin-bottom: 12px;
}

.ac-tile {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 48px 28px 0;
}

.ac-tile-dark {
  background: var(--ac-black);
  color: var(--ac-light);
}

.ac-tile-light {
  background: var(--ac-light);
  color: var(--ac-ink);
}

.ac-tile-copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 460px;
  padding-bottom: 10px;
}

.ac-tile h3 {
  margin: 0;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.016em;
}

.ac-tile-sub {
  margin: 5px 0 0;
  font-size: clamp(16.5px, 1.5vw, 20px);
  line-height: 1.24;
  font-weight: 400;
  letter-spacing: -0.004em;
}

.ac-tile-dark .ac-tile-sub { color: rgba(245, 245, 247, 0.9); }
.ac-tile-light .ac-tile-sub { color: var(--ac-ink); }

.ac-tile .ac-ctas { margin-top: 14px; gap: 12px; }

.ac-tile-art {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  margin-top: auto;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ac-tile-art img {
  width: 100%;
  max-height: 365px;
  object-fit: contain;
  object-position: center bottom;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 2%, #000 98%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 2%, #000 98%, transparent 100%);
  mask-composite: intersect;
}

/* ==========================================================================
   APPLE LIVE-ENGRAVING TROPHY STUDIO STAGE (/trophies)
   ========================================================================== */
.trophy-stage-card {
  background: var(--ac-white);
  border: 1px solid var(--ac-hairline);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.trophy-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--ac-light);
  overflow: hidden;
  container-type: inline-size;
}

.trophy-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trophy-plaque-live {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2px 4px;
  border-radius: 2px;
  pointer-events: none;
  mix-blend-mode: multiply;
  color: #161a19;
  transition: top 160ms ease, left 160ms ease, width 160ms ease, height 160ms ease;
}

.trophy-plaque-live.is-gold-plaque {
  mix-blend-mode: normal;
  background: linear-gradient(100deg, #d8bc78 0%, #f3e0ab 48%, #c9a65a 100%);
  color: #19150b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.trophy-plaque-live.is-compact-plaque {
  padding: 0 3px;
  overflow: hidden;
}

.trophy-plaque-live.is-compact-plaque .tp-name {
  font-size: 1.5cqw !important;
  line-height: 1.02;
}

.trophy-plaque-live.is-compact-plaque .tp-award {
  font-size: 0.85cqw;
  line-height: 1.05;
  margin-top: 1px;
}

.trophy-plaque-live.is-compact-plaque .tp-club {
  display: none;
}

.trophy-drum-proof {
  background: linear-gradient(90deg, #131516 0%, #232729 48%, #121415 100%);
  border-radius: 12px;
  padding: 14px 18px 16px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.trophy-drum-club {
  font-family: var(--ac-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(245, 245, 247, 0.92);
  margin-bottom: 10px;
}

.trophy-closeup-plaque.is-steel {
  border-top: none;
  border-radius: 4px;
  background: linear-gradient(100deg, #cfd3d7 0%, #eef1f3 48%, #c6cbd0 100%);
  color: #141618;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  padding: 11px 16px;
}

.trophy-closeup-plaque.is-steel em {
  color: #2c3135;
  font-weight: 600;
}

.trophy-photo-thumb {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--ac-light);
  border: 1px solid var(--ac-hairline-strong);
  border-radius: 12px;
  font-size: 12.5px;
}

.trophy-photo-thumb img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.trophy-photo-thumb span {
  flex: 1;
  color: var(--ac-ink);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Numbered 4-Step Configurator Flow (/trophies) */
.tr-step {
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--ac-hairline-strong);
}

.tr-step:first-child { padding-top: 0; }
.tr-step:last-of-type { border-bottom: none; padding-bottom: 0; }

.tr-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.tr-step-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ac-ink);
  margin: 0;
}

.tr-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ac-ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tr-step-sub {
  font-size: 12px;
  color: var(--ac-muted);
}

.tr-rates-drawer {
  margin-top: 10px;
  border: 1px solid var(--ac-hairline-strong);
  border-radius: 10px;
  background: var(--ac-white);
  overflow: hidden;
}

.tr-rates-drawer summary {
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ac-accent);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tr-rates-drawer summary::-webkit-details-marker { display: none; }
.tr-rates-drawer summary::after { content: "▾"; font-size: 11px; }
.tr-rates-drawer[open] summary::after { content: "▴"; }
.tr-rates-drawer .tier-table { border: none; border-radius: 0; border-top: 1px solid var(--ac-hairline); }

.trophy-plaque-live .tp-name {
  font-family: var(--ac-font);
  font-weight: 700;
  font-size: 2.15cqw;
  line-height: 1.05;
  letter-spacing: 0.02em;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trophy-plaque-live .tp-award {
  font-family: var(--ac-font);
  font-weight: 600;
  font-size: 1.02cqw;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: #b53f1e;
  margin-top: 1px;
  white-space: nowrap;
}

.trophy-plaque-live.is-dark-plaque .tp-award {
  color: #f2825e;
}

.trophy-plaque-live .tp-club {
  font-family: var(--ac-mono);
  font-weight: 500;
  font-size: 0.78cqw;
  line-height: 1.15;
  opacity: 0.72;
  margin-top: 1px;
  white-space: nowrap;
}

.trophy-closeup-wrap {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--ac-hairline);
  background: var(--ac-white);
}

.trophy-closeup-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ac-muted);
  margin-bottom: 10px;
}

.trophy-closeup-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.tp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1B8A4B;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.16);
}

.trophy-closeup-plaque {
  border-radius: 10px;
  padding: 14px 18px;
  text-align: center;
  border-top: 3px solid var(--ac-accent);
  background: #e8e8ed;
  color: #141d1b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.trophy-closeup-plaque strong {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.trophy-closeup-plaque em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ac-accent);
}

.trophy-closeup-plaque small {
  font-family: var(--ac-mono);
  font-size: 11px;
  opacity: 0.7;
  margin-top: 2px;
}

/* Bottom-anchored full-bleed photo feature tile (QTC case study) */
.ac-tile-bottom {
  height: 580px;
  justify-content: flex-end;
  padding: 0 28px 48px;
}

.ac-tile-bottom .ac-tile-art {
  position: absolute;
  inset: 0;
  max-width: none;
}

.ac-tile-bottom .ac-tile-art img {
  max-height: none;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.ac-tile-bottom::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.56) 38%,
    rgba(0, 0, 0, 0.04) 72%
  );
}

/* ==========================================================================
   APPLE-STYLE QUICK ORDER SHEET MODAL (Homepage Collection)
   ========================================================================== */
.ac-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ac-modal {
  width: min(680px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--ac-white);
  color: var(--ac-ink);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.ac-modal-media {
  position: relative;
  height: 256px;
  background: var(--ac-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background 220ms ease;
}

.ac-modal-media.is-dark { background: var(--ac-black); }

.ac-modal-media img {
  max-height: 100%;
  width: 100%;
  object-fit: contain;
  transition: opacity 180ms ease, filter 220ms ease, transform 220ms ease;
}

.ac-modal-media img.is-swapping {
  opacity: 0.18;
  transform: scale(0.985);
}

.ac-modal-stage-badges {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.ac-stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 980px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ac-ink);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  max-width: 66%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-modal-media.is-dark .ac-stage-pill {
  background: rgba(28, 28, 30, 0.84);
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ac-swatch-pair {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-right: 6px;
  vertical-align: middle;
}

.ac-swatch-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.22);
  flex-shrink: 0;
}

.ac-opt-pill[aria-pressed="true"] .ac-swatch-dot {
  border-color: rgba(255, 255, 255, 0.6);
}

/* Inline on-site customer checkout grid + live OSKO/PayID receipt */
.ac-checkout-section {
  border-top: 1px solid var(--ac-hairline-strong);
  margin-top: 14px;
  padding-top: 14px;
}

.ac-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

@media (max-width: 560px) {
  .ac-checkout-grid {
    grid-template-columns: 1fr;
  }
}

.ac-form-error {
  margin: 0 0 12px;
  padding: 10px 13px;
  border-radius: 10px;
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
  font-size: 13px;
  font-weight: 500;
}

.mk-receipt {
  padding: 4px 0;
}

.mk-receipt-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.mk-receipt-check {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1b8a4b;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mk-receipt-head h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ac-ink);
}

.mk-receipt-head p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--ac-muted);
  line-height: 1.42;
}

.mk-pay-card {
  background: var(--ac-light);
  border: 1px solid var(--ac-hairline-strong);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
}

.mk-pay-banner {
  background: var(--ac-ink);
  color: #f5f5f7;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.mk-pay-banner strong {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.mk-pay-rows {
  padding: 10px 16px;
}

.mk-pay-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--ac-hairline);
  font-size: 13.5px;
}

.mk-pay-row:last-child { border-bottom: none; }

.mk-pay-k {
  color: var(--ac-muted);
  font-weight: 500;
}

.mk-pay-v {
  color: var(--ac-ink);
  font-weight: 600;
  text-align: right;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mk-pay-v small {
  font-weight: 400;
  color: var(--ac-muted);
}

.mk-mono {
  font-family: var(--ac-mono);
  letter-spacing: 0.02em;
}

.mk-ref-val {
  color: var(--ac-accent);
  font-weight: 700;
}

.mk-copy-mini {
  padding: 3px 9px;
  border-radius: 980px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: var(--ac-white);
  color: var(--ac-ink);
  font-family: var(--ac-font);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.mk-copy-mini:hover {
  background: var(--ac-ink);
  color: var(--ac-white);
  border-color: var(--ac-ink);
}

.mk-pay-foot {
  margin: 0;
  padding: 10px 16px 13px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ac-muted);
  border-top: 1px solid var(--ac-hairline);
  background: rgba(255, 255, 255, 0.55);
}

.mk-receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ac-opt-pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.ac-pill:disabled,
button.ac-pill[disabled] {
  opacity: 0.52;
  cursor: not-allowed;
}

.ac-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ac-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ac-modal-body {
  padding: 24px 26px 26px;
}

.ac-modal-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.ac-modal-body h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ac-modal-price {
  font-size: 20px;
  font-weight: 600;
  color: var(--ac-accent);
  white-space: nowrap;
}

.ac-modal-desc {
  margin: 6px 0 18px;
  font-size: 14.5px;
  color: var(--ac-muted);
  line-height: 1.48;
}

.ac-opt-group { margin-bottom: 14px; }
.ac-opt-lbl {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ac-muted);
  margin-bottom: 7px;
}

.ac-opt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ac-opt-pill {
  padding: 8px 14px;
  border-radius: 980px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: var(--ac-white);
  color: var(--ac-ink);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 140ms ease;
}

.ac-opt-pill[aria-pressed="true"] {
  background: var(--ac-ink);
  border-color: var(--ac-ink);
  color: var(--ac-white);
}

.ac-modal-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.ac-modal-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  font-family: var(--ac-font);
  font-size: 14px;
}

.ac-modal-summary {
  background: var(--ac-light);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 14px 0 16px;
  font-size: 14px;
}

.ac-modal-summary-line {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
}

.ac-modal-summary-line.is-total {
  border-top: 1px solid var(--ac-hairline-strong);
  margin-top: 6px;
  padding-top: 8px;
  font-weight: 700;
  font-size: 16px;
}

.ac-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   CLEAN SPEC BAND (White breathable industrial numbers — zero clutter)
   ========================================================================== */
.ac-specs-band {
  background: var(--ac-white);
  padding: 68px 22px 72px;
}

.ac-specs-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.ac-spec-stat strong {
  display: block;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ac-ink);
  line-height: 1.1;
}

.ac-spec-stat span {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ac-muted);
}

/* ==========================================================================
   APPLE MULTI-COLUMN FOOTER (#F5F5F7, max-width 980px, 12px)
   ========================================================================== */
.ac-footer {
  background: var(--ac-light);
  color: rgba(0, 0, 0, 0.56);
  font-size: 12px;
  line-height: 1.38;
  letter-spacing: -0.01em;
}

.ac-footer-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 22px 26px;
}

.ac-footnotes {
  margin: 0 0 20px;
  padding: 0 0 14px;
  list-style: none;
  border-bottom: 1px solid var(--ac-hairline-strong);
}

.ac-footnotes li {
  padding-bottom: 8px;
}

.ac-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 24px;
}

.ac-footer-col h4 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.88);
}

.ac-footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ac-footer-col li {
  margin-bottom: 8px;
}

.ac-footer-col a {
  color: rgba(0, 0, 0, 0.72);
  text-decoration: none;
}

.ac-footer-col a:hover {
  color: var(--ac-black);
  text-decoration: underline;
}

.ac-footer-shop {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--ac-hairline-strong);
}

.ac-footer-shop a {
  color: var(--ac-accent);
  text-decoration: underline;
}

.ac-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.ac-footer-legal-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ac-footer-legal-links a {
  color: rgba(0, 0, 0, 0.72);
  text-decoration: none;
}

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

/* ==========================================================================
   APPLE-GRADE POLISH FOR SUBPAGES (/quote, /tennis-tags, /manufacturing)
   Harmonises interactive studios with the Apple homepage system
   ========================================================================== */
body.ac-subpage {
  background: var(--ac-white);
  color: var(--ac-ink);
  font-family: var(--ac-font);
}

body.ac-subpage .section-alt {
  background: var(--ac-light);
  border-top: 1px solid var(--ac-hairline);
  border-bottom: 1px solid var(--ac-hairline);
}

body.ac-subpage .mfg-hero,
body.ac-subpage .hero {
  background: var(--ac-white);
  color: var(--ac-ink);
  border-bottom: 1px solid var(--ac-hairline);
  padding: clamp(44px, 5vw, 68px) 0 clamp(34px, 4vw, 48px);
}

body.ac-subpage .mfg-hero h1,
body.ac-subpage .hero-copy h1 {
  color: var(--ac-ink);
  font-family: var(--ac-font);
  font-weight: 600;
  letter-spacing: -0.028em;
}

body.ac-subpage .mfg-hero p,
body.ac-subpage .hero-lead {
  color: var(--ac-muted);
}

body.ac-subpage .btn {
  border-radius: 980px;
  font-family: var(--ac-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  padding: 11px 22px;
  border-width: 1px;
}

body.ac-subpage .btn-sm {
  font-size: 13px;
  padding: 7px 15px;
}

body.ac-subpage .btn-ochre {
  background: var(--ac-accent);
  border-color: var(--ac-accent);
  color: #fff;
}
body.ac-subpage .btn-ochre:hover {
  background: var(--ac-accent-hover);
  border-color: var(--ac-accent-hover);
}

body.ac-subpage .btn-primary {
  background: var(--ac-ink);
  border-color: var(--ac-ink);
  color: #fff;
}
body.ac-subpage .btn-primary:hover {
  background: #333336;
  border-color: #333336;
}

body.ac-subpage .btn-secondary {
  background: var(--ac-white);
  border-color: rgba(0, 0, 0, 0.16);
  color: var(--ac-ink);
}
body.ac-subpage .btn-secondary:hover {
  background: var(--ac-light);
}

body.ac-subpage .btn-ghost-dark {
  background: transparent;
  color: var(--ac-ink);
  border-color: rgba(0, 0, 0, 0.22);
}
body.ac-subpage .btn-ghost-dark:hover {
  background: var(--ac-ink);
  color: #fff;
  border-color: var(--ac-ink);
}

body.ac-subpage .mfg-strip .btn-ghost-dark,
body.ac-subpage .brief-box .btn-ghost-dark {
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.34);
}
body.ac-subpage .mfg-strip .btn-ghost-dark:hover,
body.ac-subpage .brief-box .btn-ghost-dark:hover {
  background: var(--ac-accent);
  border-color: var(--ac-accent);
  color: #fff;
}

body.ac-subpage .order-panel,
body.ac-subpage .quote-part-card,
body.ac-subpage .spec-item,
body.ac-subpage .approval-box,
body.ac-subpage .cap-card,
body.ac-subpage .program-card,
body.ac-subpage .hero-media,
body.ac-subpage .case-media,
body.ac-subpage .modal-card {
  border-radius: 16px;
  border: 1px solid var(--ac-hairline);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03);
}

body.ac-subpage .preview-shell,
body.ac-subpage .webgl-shell,
body.ac-subpage .mfg-strip,
body.ac-subpage .brief-box {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Apple White Studio 3D Stage (/quote interactive examples & STL viewer) */
body.ac-subpage .preview-shell.is-light-stage {
  background: var(--ac-white);
  color: var(--ac-ink);
  border: 1px solid var(--ac-hairline-strong);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.045);
}

body.ac-subpage .preview-viewport.is-light-stage {
  background: radial-gradient(circle at 50% 34%, #ffffff 0%, #f5f5f7 68%, #ebedf0 100%);
}

body.ac-subpage .preview-viewport.is-light-stage .hud-pill {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 980px;
  color: var(--ac-ink);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.ac-subpage .preview-viewport.is-light-stage .hud-btn {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ac-ink);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 980px;
  padding: 6px 12px;
  font-weight: 600;
}

body.ac-subpage .preview-viewport.is-light-stage .hud-btn:hover,
body.ac-subpage .preview-viewport.is-light-stage .hud-btn[aria-pressed="true"] {
  background: var(--ac-accent);
  border-color: var(--ac-accent);
  color: #ffffff;
}

body.ac-subpage .preview-viewport.is-light-stage .hud-hint {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 980px;
  color: var(--ac-muted);
  padding: 5px 10px;
}

body.ac-subpage .webgl-canvas-host canvas {
  touch-action: none;
}

body.ac-subpage .section-bar {
  font-family: var(--ac-font);
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--ac-muted);
  border-bottom: 1px solid var(--ac-hairline-strong);
}

body.ac-subpage .mode-switch {
  border-radius: 12px;
  border: 1px solid var(--ac-hairline-strong);
  overflow: hidden;
  background: var(--ac-light);
  padding: 3px;
}

body.ac-subpage .mode-btn {
  border-radius: 9px;
  font-family: var(--ac-font);
  font-size: 13.5px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  border: none;
}

body.ac-subpage .mode-btn[aria-selected="true"] {
  background: var(--ac-white);
  color: var(--ac-ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

body.ac-subpage .input,
body.ac-subpage .select,
body.ac-subpage .textarea {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  font-family: var(--ac-font);
}

body.ac-subpage .stl-drop-zone {
  border-radius: 14px;
  border: 1.5px dashed rgba(0, 0, 0, 0.24);
  background: var(--ac-light);
  padding: 26px 18px;
  transition: border-color 150ms ease, background 150ms ease;
}

body.ac-subpage .stl-drop-zone:hover,
body.ac-subpage .stl-drop-zone.is-drag {
  border-color: var(--ac-accent);
  background: #fdf6f3;
}

body.ac-subpage .preset-chip {
  border-radius: 980px;
  font-family: var(--ac-font);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 14px;
  background: var(--ac-light);
  border: 1px solid transparent;
  color: var(--ac-ink);
  transition: background 140ms ease, color 140ms ease;
}

body.ac-subpage .preset-chip:hover {
  background: #e8e8ed;
}

body.ac-subpage .preset-chip.is-active {
  background: var(--ac-ink);
  color: var(--ac-white);
}

body.ac-subpage .q-color-pickers {
  border-radius: 12px;
  background: var(--ac-light);
  border: 1px solid var(--ac-hairline);
}

body.ac-subpage .tier-table {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ac-hairline-strong);
}

body.ac-subpage .tier-table tr.tier-active td {
  background: var(--ac-ink);
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Mobile — 390px verified)
   ========================================================================== */
@media (max-width: 900px) {
  .ac-promo-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .ac-tile {
    height: 520px;
  }
  .ac-specs-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
  .ac-footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  html, body {
    overflow-x: clip;
  }
  .ac-nav-inner {
    padding: 0 16px;
    gap: 12px;
  }
  .ac-nav-links {
    gap: 16px;
    font-size: 12px;
    margin-left: auto;
  }
  .ac-nav-hide-sm { display: none; }
  .ac-mobile-menu { display: block; flex-shrink: 0; }
  .ac-ribbon {
    font-size: 12.5px;
    padding: 10px 14px;
  }
  .ac-hero {
    min-height: 490px;
    padding: 36px 16px 0;
  }
  .ac-hero-art img {
    max-height: 270px;
  }
  .ac-hero-cycler {
    min-height: 540px;
    padding: 32px 14px 0;
  }
  .ac-hero-cycler h1 {
    font-size: clamp(29px, 7.5vw, 36px);
  }
  .ac-hero-sub-fixed {
    min-height: 3.75em;
    font-size: 17px;
    line-height: 1.24;
  }
  .ac-hero-cycler .ac-ctas {
    gap: 10px;
    flex-wrap: nowrap;
  }
  .ac-hero-cycler .ac-pill {
    font-size: 14px;
    padding: 9px 15px;
    min-height: 40px;
    white-space: nowrap;
  }
  .ac-tab-ext {
    display: none;
  }
  .ac-hero-switcher {
    margin-top: 14px;
    gap: 2px;
    padding: 3px;
  }
  .ac-hero-tab {
    font-size: 12px;
    padding: 7px 11px 8px;
    min-height: 34px;
  }
  .ac-hero-tab-bar {
    left: 10px;
    right: 10px;
  }
  .ac-hero-cycle-stage {
    height: 245px;
    margin: 8px auto 10px;
  }
  .ac-hero-cycle-stage .ac-hero-slide-img {
    max-height: none;
  }
  .ac-tile {
    min-height: 460px;
    height: auto;
    padding: 36px 16px 0;
  }
  .ac-tile-art img {
    max-height: 270px;
  }
  .ac-tile-bottom {
    height: 460px;
    padding: 0 18px 36px;
  }
  .ac-pill {
    font-size: 15px;
    padding: 10px 18px;
    min-height: 42px;
  }
  .ac-pill-sm {
    font-size: 13.5px;
    padding: 9px 15px;
    min-height: 38px;
  }
  .ac-footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  /* Mobile modal & inline checkout ergonomics (prevents iOS Safari auto-zoom on focus) */
  .ac-modal-backdrop {
    padding: 10px;
    align-items: flex-end;
  }
  .ac-modal {
    max-height: 94vh;
    border-radius: 20px 20px 16px 16px;
  }
  .ac-modal-media {
    height: 196px;
  }
  .ac-modal-stage-badges {
    left: 10px;
    right: 10px;
    bottom: 8px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .ac-stage-pill {
    font-size: 10.5px;
    padding: 4px 9px;
    max-width: 100%;
  }
  .ac-modal-body {
    padding: 18px 16px 22px;
  }
  .ac-modal-body h3 {
    font-size: 21px;
  }
  .ac-modal-price {
    font-size: 18px;
  }
  .ac-modal-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ac-modal-input,
  body.ac-subpage .input,
  body.ac-subpage .select,
  body.ac-subpage .textarea {
    font-size: 16px !important;
  }
  .ac-opt-pill {
    font-size: 12.5px;
    padding: 8px 12px;
    min-height: 36px;
  }

  /* Subpage studios (/trophies, /quote, /tennis-tags, /manufacturing) on phones */
  body.ac-subpage .wrap {
    width: calc(100% - 24px);
  }
  body.ac-subpage .order-panel {
    padding: 16px 14px 18px;
  }
  body.ac-subpage .approval-box {
    padding: 14px 12px;
  }
  body.ac-subpage .preview-viewport {
    height: 310px;
  }
  body.ac-subpage .webgl-hud-top {
    top: 8px;
    left: 8px;
    right: 8px;
    flex-wrap: wrap;
  }
  body.ac-subpage .webgl-hud-bottom {
    bottom: 8px;
    left: 8px;
    right: 8px;
  }
  body.ac-subpage .hud-hint {
    display: none;
  }
  body.ac-subpage .mode-btn {
    padding: 9px 6px;
    font-size: 12px;
    line-height: 1.2;
  }
  body.ac-subpage .spec-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  body.ac-subpage .spec-item {
    padding: 10px 11px;
  }
  body.ac-subpage .btn {
    min-height: 44px;
    width: 100%;
    justify-content: center;
  }
  body.ac-subpage .btn-sm {
    min-height: 36px;
    width: auto;
  }
  body.ac-subpage .q-color-pickers {
    gap: 12px;
  }
  body.ac-subpage .tier-table {
    font-size: 11px;
  }
  body.ac-subpage .tier-table th,
  body.ac-subpage .tier-table td {
    padding: 6px 7px;
  }
  body.ac-subpage .trophy-closeup-plaque strong {
    font-size: 20px;
  }
  .mk-pay-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .mk-pay-row {
    flex-wrap: wrap;
    gap: 4px 10px;
  }
  .mk-pay-v {
    text-align: left;
    justify-content: flex-start;
  }
  .ac-modal-actions .ac-pill,
  .mk-receipt-actions .ac-pill {
    flex: 1 1 auto;
  }
}
