/* ============================================================
   STRATOS AUTO — layout wireframe (Apple-style product page)
   Palette: #ededed canvas · #e2e2e2/#dcdcdc surfaces · #c6c6c6 hairline
            #333333 ink · #777777 soft ink · #9a9a9a neutral "accent"
   ============================================================ */

:root {
  --bg: #ededed;
  --ink: #333333;
  --ink-soft: #777777;
  --accent: var(--pop);
  --accent-dark: color-mix(in srgb, var(--pop) 90%, #000000);
  --hairline: #c6c6c6;
  --tile: #e2e2e2;
  --dark: #dcdcdc;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}

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

html { scroll-behavior: smooth; }

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

::selection { background: var(--accent); color: var(--pop-ink); }

img, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font-family: inherit; cursor: pointer; }

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

/* ---------- shared type ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.07;
  margin-bottom: 18px;
}
.section-sub {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 620px;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  border: none;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--pop-ink); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-ghost:hover { background: rgba(0, 0, 0, 0.05); }
.btn-light { background: #ededed; color: var(--ink); border: 1px solid var(--hairline); }
.btn-light:hover { background: #e2e2e2; }

.link-arrow {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font-size: 17px;
  font-weight: 500;
}
.link-arrow::after {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s var(--ease);
}
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover::after { transform: rotate(45deg) translate(2px, -1px); }

/* ============================================================
   NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(237, 237, 237, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
.site-header.is-frosted {
  background: rgba(237, 237, 237, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--hairline);
}
.site-header.menu-open {
  background: rgba(237, 237, 237, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 22px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
}
.nav-logo:hover { text-decoration: none; }
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  color: var(--ink);
  padding: 6px;
}
.cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 980px;
  background: var(--accent);
  color: var(--pop-ink);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  transform: scale(0);
  transition: transform 0.3s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: cartBump 0.4s var(--ease); }
@keyframes cartBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); }
  100% { transform: scale(1); }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 1.6px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 22px 40px;
  position: relative;
}
.hero-title {
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 6px 0 20px;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 30px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-fine { font-size: 13px; color: var(--ink-soft); }

.hero-visual {
  margin-top: 48px;
  width: min(560px, 82vw);
  position: relative;
  will-change: transform;
}
/* .disc-svg and .hero-shadow rules removed — hero render is now a .wf-ph placeholder box */

.scroll-hint {
  margin-top: 46px;
  color: var(--ink-soft);
  animation: hintFloat 2.4s ease-in-out infinite;
}
.scroll-hint:hover { color: var(--ink); text-decoration: none; }
@keyframes hintFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================================
   STICKY CALIPER STORY
   ============================================================ */
.caliper-story {
  height: 340vh;
  position: relative;
  background: var(--tile);
}
.caliper-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.caliper-visual {
  width: min(480px, 78vw);
  will-change: transform, opacity;
}
.caliper-stage {
  position: absolute;
  text-align: center;
  max-width: 620px;
  padding: 0 22px;
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
  pointer-events: none;
}
.caliper-stage h2 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 14px;
}
.caliper-stage p {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================================
   HIGHLIGHTS
   ============================================================ */
.highlights {
  max-width: 1100px;
  margin: 0 auto;
  padding: 130px 22px 110px;
}
.highlight-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.highlight-tile {
  background: var(--tile);
  border-radius: var(--radius);
  padding: 40px 30px 34px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.highlight-tile:hover {
  transform: translateY(-6px);
}
.tile-num {
  font-size: clamp(48px, 5.5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.tile-unit {
  font-size: 0.42em;
  font-weight: 600;
  color: var(--accent);
  margin-left: 6px;
  letter-spacing: 0;
}
.tile-label {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============================================================
   LINEUP
   ============================================================ */
.lineup {
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 22px;
  border-top: 1px solid var(--hairline);
}
.lineup-row {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--tile);
  border-radius: var(--radius);
  padding: 44px 36px 38px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.product-card:hover {
  transform: translateY(-8px);
}
.product-visual {
  width: 150px;
  margin: 0 auto 30px;
}
.product-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.product-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.product-blurb {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 14px;
  flex: 1;
}
.product-part {
  font-size: 12px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.product-price {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.product-price span {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
}
.product-links { display: flex; gap: 24px; }

/* ============================================================
   CONFIGURE
   ============================================================ */
.configure {
  max-width: 1100px;
  margin: 0 auto;
  padding: 110px 22px;
  border-top: 1px solid var(--hairline);
}
.configure-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.configure-visual svg { width: 82%; height: auto; }
#finishBody, #finishMark { transition: fill 0.5s var(--ease); }

.configure-name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.configure-part {
  font-size: 13px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  margin-bottom: 26px;
}
.finish-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.finish-swatch {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 980px;
  border: 1px solid var(--hairline);
  background: var(--bg);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.finish-swatch:hover { transform: translateY(-2px); }
.finish-swatch.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}
.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
}
.configure-price {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.configure-price .gst-note {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.configure-fine {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 420px;
}

/* ============================================================
   DARK BREAK
   ============================================================ */
.dark-break {
  background: var(--dark);
  color: var(--ink);
  padding: 140px 22px;
  text-align: center;
}
.dark-inner { max-width: 820px; margin: 0 auto; }
.dark-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.dark-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 22px;
}
.dark-copy {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 56px;
}
.dark-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 56px;
}
.dark-stat span {
  display: block;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.dark-stat p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ============================================================
   TECH SPECS
   ============================================================ */
.specs {
  max-width: 860px;
  margin: 0 auto;
  padding: 120px 22px;
}
.spec-table { margin-top: 50px; }
.spec-group { margin-bottom: 44px; }
.spec-group-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.spec-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
}
.spec-group .spec-row:last-child { border-bottom: 1px solid var(--hairline); }
.spec-row dt {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.spec-row dd {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ============================================================
   SUPPORT / FAQ
   ============================================================ */
.support {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 22px 130px;
}
.faq-list { margin-top: 44px; }
.faq-item { border-top: 1px solid var(--hairline); }
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q svg {
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}
.faq-q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-a p {
  padding: 0 4px 24px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 680px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--tile);
  border-top: 1px solid var(--hairline);
}
.footer-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 60px 22px 44px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline);
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 9px;
}
.footer-col a:hover { color: var(--accent); }
.footer-addr {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.footer-legal { padding-top: 28px; }
.footer-legal p {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 12px;
  max-width: 860px;
}
.footer-copy { color: var(--ink-soft); }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 120px);
  z-index: 200;
  background: var(--ink);
  color: #ededed;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 980px;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  max-width: calc(100vw - 40px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .lineup-row { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .configure-grid { grid-template-columns: 1fr; gap: 44px; }
  .configure-visual { max-width: 440px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(237, 237, 237, 0.94);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--hairline);
    padding: 8px 30px 26px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links li { border-bottom: 1px solid var(--hairline); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 15px 2px;
    font-size: 17px;
  }
  .dark-stats { grid-template-columns: 1fr; gap: 34px; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .highlight-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; }
  .hero-visual { margin-top: 36px; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .disc-svg { animation: none; }
  .caliper-story { height: auto; padding: 100px 22px; }
  .caliper-sticky { position: static; height: auto; flex-direction: column; gap: 60px; }
  .caliper-stage { position: static; opacity: 1; transform: none; margin-top: 40px; }
  .caliper-visual { order: -1; }
}

/* ============================================================
   LAYOUT WIREFRAME — placeholder boxes
   Flat #dcdcdc boxes with dashed borders stand in for every
   product render / photo. Sizes preserve the original layout.
   ============================================================ */
.wf-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #dcdcdc;
  border: 1px dashed #a8a8a8;
  border-radius: 4px;
  font: 500 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777777;
  text-align: center;
  padding: 16px;
}
.wf-hero { width: 100%; aspect-ratio: 1 / 1; }
.wf-caliper { width: 100%; aspect-ratio: 520 / 420; }
.wf-product { width: 100%; aspect-ratio: 1 / 1; }
.configure-visual.wf-ph { padding: 26px; }

/* small bordered LOGO box in the nav, next to the wordmark */
.nav-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dcdcdc;
  border: 1px dashed #a8a8a8;
  border-radius: 2px;
  color: #777777;
  font: 500 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
  padding: 4px 6px;
}

/* ============================================================
   COLOUR OPTION — --pop re-themes the accent surfaces only
   (--accent and --accent-dark above both derive from it).
   Default is the neutral wireframe grey; the fixed COLOUR
   widget (bottom-right) sets --pop / --pop-ink inline on
   <html> to splash one brand colour onto the accents.
   Text sitting on the accent uses --pop-ink.
   ============================================================ */
:root {
  --pop: #9a9a9a;
  --pop-ink: #ffffff;
}
