/* IDT Solutions — shared site styles (home + product pages) */

[hidden] { display: none !important; }

:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-gray: #111111;
  --card: #1b1b1b;
  --white: #ffffff;
  --gray-lighter: #e0e0e0;
  --gray-light: #dcdcdc;
  --gray: #a3a3a3;
  --rule: #4a4a4a;
  --gray-dark: #3a3a3a;
  --accent: #facc15;
  --accent-dim: rgba(250, 204, 21, 0.35);
  --line: rgba(255, 255, 255, 0.2);

  --font-heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Inter", Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Inter", Roboto, sans-serif;
  --font-mono: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Inter", Roboto, sans-serif;

  --space-xs: 5px;
  --space-sm: 10px;
  --space-md: 20px;
  --space-lg: 40px;
  --space-xl: 80px;
  --radius: 0;
  --gutter: var(--space-md);
  --grid: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
}

@media (max-width: 760px) {
  :root {
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 14px;
    --space-lg: 28px;
    --space-xl: 56px;
    --radius: 0;
  }
}

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

html { 
  background: var(--bg);
  height: 100%;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }

.wrap { padding: 0 var(--gutter); }

.mono {
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}


/* ---------- 3D stage ---------- */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 58% 52% at var(--model-glow-x, 50%) var(--model-glow-y, 50%),
    rgba(255, 255, 255, .16), rgba(250, 204, 21, .07) 40%, transparent 72%);
  opacity: var(--model-glow-opacity, 0);
  transition: opacity 250ms linear;
}

.stage canvas {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 250ms linear;
}

main, footer {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

footer {
  width: 100%;
  max-width: none;
}

main {
  flex: 1;
  width: 100%;
}

/* ---------- Header ---------- */
.header {
  --gutter: 24px;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
}

.header-inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.logo {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.logo span { color: var(--gray); font-weight: 400; }

.nav { height: 100%; display: flex; align-items: stretch; }
.nav a:not(.btn) {
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  border-left: 1px solid var(--line);
  color: var(--gray-light);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:not(.btn):hover { color: var(--white); background: rgba(255, 255, 255, 0.04); }

.btn {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  color: #141414 !important;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover { background: #ffe14d; }

.nav .btn { height: auto; padding: 0 28px; font-family: var(--font-body); font-size: 13px; font-weight: 650; letter-spacing: 0.01em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero {
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0 var(--gutter) var(--space-md);
}

.title-block { display: flex; flex-direction: column; }

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(54px, 7.8vw, 116px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.075em;
  background: linear-gradient(180deg, #ffffff 8%, #aeb1b9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  margin-top: var(--space-sm);
  color: var(--gray);
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero-cta {
  width: min(410px, 38vw);
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-spec {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-spec:last-of-type { border-right: 0; }
.hero-cta .hero-price { grid-column: 1 / -1; border-right: 0; }
.hero-spec .mono { display: block; color: var(--gray); font-size: 11px; }
.hero-spec strong { display: block; margin-top: 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.03em; }

.hero-cta .btn { grid-column: 1 / -1; height: 52px; justify-content: space-between; padding: 0 18px; font-size: 17px; font-weight: 650; }
.hero-cta .hero-spec:only-of-type { grid-column: 1 / -1; }

/* ---------- Scroll story ---------- */
.beat {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
}

.beat-copy {
  width: min(520px, 42vw);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.beat.in-view .beat-copy { opacity: 1; transform: none; }

.label {
  color: var(--accent);
  font-size: clamp(12px, 1vw, 13px);
}

.beat-copy h2 {
  margin-top: var(--space-md);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.beat-copy p {
  margin-top: var(--space-md);
  color: var(--gray-light);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.beat-exit { min-height: 80svh; }

@media (min-width: 761px) {
  html.product-story-snap:not(.lite) body:not(.store-no-model):not(.store-compact-story) .story .beat:not(.beat-exit) {
    align-items: flex-start;
    padding-top: 12px;
    padding-bottom: var(--space-lg);
    scroll-snap-align: start;
    scroll-margin-top: 56px;
  }
}

@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  html.product-story-snap:not(.lite):not(.callout-placement-mode):has(body:not(.store-no-model):not(.store-compact-story)) {
    scroll-snap-type: y proximity;
  }
}

/* ---------- Solid sections ---------- */
.solid { background: var(--bg); }

.section { padding: var(--space-xl) var(--gutter) var(--space-lg); scroll-margin-top: 64px; }

.section-header {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-md);
  align-items: start;
}

.section-title {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.section-title .dim { color: var(--gray); }

.section-description {
  grid-column: 2;
  max-width: 780px;
  margin-top: var(--space-md);
  color: var(--gray-light);
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* Cards */
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}

.card-hero {
  height: min(600px, 70vw);
  margin-top: var(--space-lg);
  display: grid;
  place-items: center;
  background: #ffffff;
}

.card-hero img { width: auto; height: 92%; object-fit: contain; }

.card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--space-md);
  text-align: center;
  font-size: clamp(23px, 2.6vw, 37px);
  font-weight: 600;
  letter-spacing: -0.05em;
  color: var(--gray-light);
}

.card-hero .card-caption { color: #6d6d6d; }

.card-tag {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  color: var(--gray);
  font-size: 12px;
}

.card-hero .card-tag { color: #9d9d9d; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.card-stat {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  background-color: var(--card);
  background-image: var(--grid);
  background-size: 32px 32px;
}

.stat-num {
  font-size: clamp(62px, 7vw, 110px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.stat-num small { font-size: 0.4em; letter-spacing: -0.04em; color: var(--gray-light); }

.stat-text {
  margin-top: var(--space-md);
  color: var(--gray-light);
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

/* Horizontal card row */
.card-row {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding: 0 var(--gutter) 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  scrollbar-width: none;
}

.card-row::-webkit-scrollbar { display: none; }

.card-use {
  flex: 0 0 clamp(260px, 27vw, 400px);
  min-height: clamp(310px, 31vw, 430px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-md);
  background-image: var(--grid);
  background-size: 32px 32px;
}

.card-row[data-card-size="small"] .card-use {
  flex-basis: clamp(220px, 22vw, 320px);
  height: auto;
  min-height: 270px;
}
.card-row[data-card-size="large"] .card-use {
  flex-basis: clamp(320px, 34vw, 500px);
  height: auto;
  min-height: 450px;
}

.card-use .num { color: var(--accent); font-size: 12px; }

.card-use h3 {
  font-size: clamp(27px, 2.7vw, 38px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.card-use p {
  margin-top: var(--space-sm);
  color: var(--gray-light);
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

/* Big display list */
.features { padding: var(--space-xl) var(--gutter) var(--space-lg); }

.features-label { color: var(--gray); font-size: clamp(12px, 1.1vw, 15px); margin-bottom: var(--space-md); }

.feature-item {
  font-family: var(--font-heading);
  font-size: clamp(46px, 8vw, 112px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.07em;
  color: var(--gray-dark);
  transition: color 0.6s ease;
}

.feature-item.lit { color: var(--white); }

.features-title {
  margin-top: var(--space-xl);
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(46px, 8vw, 112px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.07em;
}

.features-title em { font-style: normal; color: var(--accent); }

/* Specs */
.specs-title {
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.06em;
  margin-bottom: var(--space-lg);
}

.specs-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  min-height: 42px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: clamp(14px, 1.4vw, 21px);
  line-height: 1.25;
}

.specs-row:first-child { border-top: 1px solid var(--rule); }

.specs-label { width: min(344px, 32%); flex-shrink: 0; color: var(--gray); }
.specs-value { color: var(--white); }

[data-page-section="specifications"] .specs-title {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: var(--space-md);
}

[data-page-section="specifications"] .specs-row {
  min-height: 36px;
  padding: 8px 0;
  font-size: clamp(14px, 1.05vw, 17px);
}

/* Buy */
.buy-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.buy-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  background-color: #0d0d0d;
  background-image: var(--grid);
  background-size: 32px 32px;
  color: var(--gray-light);
}

.buy-visual img { width: 78%; height: auto; }

.buy-model-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.buy-model-canvas:active { cursor: grabbing; }
.buy-model-canvas[hidden], .buy-viewer-controls[hidden], .buy-viewer-toolbar button[hidden] { display: none; }
.buy-viewer-toolbar { position: absolute; top: 16px; right: 16px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.buy-viewer-controls { display: flex; gap: 4px; }
.buy-viewer-toolbar button {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  color: #141414;
  background: #fff;
  font: 600 14px var(--font-body);
  cursor: pointer;
}
.buy-viewer-toolbar button:disabled { opacity: 0.6; cursor: progress; }
.buy-viewer-toolbar button:hover:not(:disabled) { border-color: #555; }
.buy-viewer-status { position: absolute; bottom: 12px; left: 16px; right: 16px; color: var(--gray-light); font-size: 13px; text-align: center; pointer-events: none; }
.buy-viewer-status:empty { display: none; }

.buy-panel {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  border: 1px solid var(--line);
}

.buy-panel .row-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--line);
}

.buy-panel h3 { font-family: var(--font-heading); font-weight: 700; font-size: 32px; letter-spacing: -0.045em; line-height: 1.05; }

.buy-panel .status { display: flex; align-items: center; gap: 8px; color: var(--gray-light); font-size: 12px; }

.field { margin-top: var(--space-md); }

.field-label { display: block; margin-bottom: 10px; color: var(--gray); font-size: 12px; }

.choice-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.choice {
  min-height: 52px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.choice[aria-pressed="true"] { border-color: var(--accent); background: rgba(250, 204, 21, 0.1); }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: clip;
}

.qty button {
  width: 52px;
  height: 52px;
  border: 0;
  background: rgba(255, 255, 255, 0.04);
  font-size: 22px;
  cursor: pointer;
}

.qty input {
  width: 72px;
  height: 52px;
  border: 0;
  background: transparent;
  color: var(--white);
  font: 500 20px var(--font-body);
  text-align: center;
  -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.buy-actions { display: grid; gap: 8px; margin-top: auto; padding-top: var(--space-md); }

.buy-actions .btn, .buy-actions .btn-ghost { width: 100%; min-height: 48px; height: auto; justify-content: center; padding: 12px 16px; border-radius: 8px; font-size: 16px; font-weight: 650; text-align: center; }
.buy-actions .buy-secondary { color: var(--white) !important; background: transparent; border: 1px solid var(--line); }
.buy-actions .buy-secondary:hover:not(:disabled) { border-color: var(--accent-dim); }
.buy-panel > .btn-ghost { border-radius: 8px; }
.buy-panel .store-select { border-radius: 8px; }

.btn-ghost {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: 18px;
  font-weight: 650;
  transition: border-color 0.2s ease;
}

.btn-ghost:hover { border-color: var(--accent-dim); }

.buy-note { margin-top: var(--space-md); color: var(--gray); font-size: 15px; line-height: 1.4; }
.buy-note a { color: var(--gray-light); text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.footer {
  padding: 2rem var(--gutter);
  background: var(--bg);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-md);
  margin-top: auto;
  border-top: 1px solid var(--rule);
}

.footer-copy {
  font-family: var(--font-heading);
  font-size: clamp(20px, 1.9vw, 24px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.footer-copy span { display: block; margin-top: 10px; color: var(--gray); font-family: var(--font-body); font-size: 15px; font-weight: 400; letter-spacing: -0.01em; }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }

.footer-col { display: flex; flex-direction: column; gap: var(--space-xs); font-size: 16px; letter-spacing: -0.015em; }
.footer-col .mono { color: var(--gray); font-size: 11px; margin-bottom: 6px; }
.footer-col a { color: var(--gray-light); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buy-grid { grid-template-columns: 1fr; }
  .buy-visual { min-height: 360px; }
}

@media (max-width: 760px) {
  .header { --gutter: 16px; }
  .logo { font-size: 15px; }
  .logo span { display: none; }
  .nav .hide-sm { display: none; }
  .header-inner { height: 52px; }

  .hero { flex-direction: column; align-items: stretch; justify-content: flex-end; }
  .hero-cta { width: 100%; }
  .hero-spec { padding: 10px 12px; }
  .hero-spec strong { font-size: 16px; }
  .hero-cta .btn { height: 48px; font-size: 16px; }

  /* Full-bleed copy panel: no outline, blurred backdrop that fades in at the top and out at the bottom */
  .beat { align-items: flex-end; padding: 0 0 4svh; }
  .beat-copy {
    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 88px var(--gutter) 56px;
    border: 0;
    background: none;
  }
  .beat-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72) 32%, rgba(0, 0, 0, 0.72) 78%, rgba(0, 0, 0, 0));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 78%, transparent 100%);
  }

  .section-header { grid-template-columns: 1fr; gap: var(--space-sm); }
  .section-description { grid-column: 1; }

  .card-stat { min-height: 220px; }
  .stat-grid { gap: var(--space-sm); }

  .specs-row { flex-direction: column; gap: 6px; }
  .specs-label { width: auto; }

  .choice { font-size: 15px; }

  .footer { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}


/* ==========================================================================
   Home page
   ========================================================================== */

.home-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(720px, 86svh, 980px);
  height: clamp(720px, 86svh, 980px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px var(--gutter) var(--space-md);
  overflow: clip;
}

/* Full-bleed field photo behind the hero copy */
.home-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
}

/* Darken toward the bottom and left so the headline reads over the photo,
   and fade the photo into the black page below */
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 25%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.88) 84%, #000 100%),
    linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 65%);
}

.home-title {
  max-width: 1050px;
  font-family: var(--font-heading);
  font-size: clamp(40px, 5.4vw, 82px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.075em;
  background: linear-gradient(180deg, #ffffff 8%, #aeb1b9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-title em {
  font-style: normal;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.hero-t-mark {
  display: inline-block;
  margin-left: 0.04em;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.05em;
  line-height: 0.9;
  vertical-align: text-top;
}

.home-hero-row {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-md);
  align-items: end;
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line);
}

.home-hero-row p {
  max-width: 620px;
  color: var(--gray-light);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.home-hero-row .btn {
  justify-self: end;
  height: 50px;
  padding: 0 20px;
  gap: 28px;
  font-size: 15px;
  font-weight: 650;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.product-card {
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease;
}

a.product-card:hover { border-color: var(--accent-dim); }

.product-view {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-bottom: 1px solid var(--line);
  background-color: #0d0d0d;
  background-image: var(--grid);
  background-size: 32px 32px;
}

.product-view canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.product-view canvas.ready { opacity: 1; }
.product-view .spin-poster { transition: opacity 0.6s ease; }
.featured-preview-error { position: absolute; bottom: 12px; left: 12px; right: 12px; color: var(--gray-light); font-size: 13px; text-align: center; }

.product-view .card-tag { z-index: 1; }

.product-view .next-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gray-dark);
  font-family: var(--font-heading);
  font-size: clamp(72px, 8.5vw, 128px);
  font-weight: 750;
  letter-spacing: -0.1em;
}

.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
}

.product-body .label { font-size: 11px; }
.product-card.muted .product-body .label { color: var(--gray); }

.product-body h3 {
  margin-top: var(--space-sm);
  font-family: var(--font-heading);
  font-size: clamp(21px, 1.9vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.product-body p {
  margin-top: var(--space-sm);
  color: var(--gray-light);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.product-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: var(--space-lg);
  font-size: 12px;
  color: var(--gray-light);
  transition: color 0.2s ease;
}

.product-link span:last-child { color: var(--accent); font-family: var(--font-body); font-size: 20px; transition: transform 0.2s ease; }
a.product-card:hover .product-link { color: var(--white); }
a.product-card:hover .product-link span:last-child { transform: translateX(6px); }
.product-card.muted .product-link { color: var(--gray); }

.catalog-header {
  padding-top: var(--space-xl);
}

.catalog-header .section-title {
  max-width: 820px;
}

.catalog-header p {
  max-width: 720px;
  margin-top: var(--space-md);
  color: var(--gray-light);
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

#catalog-grid-title {
  grid-template-columns: repeat(auto-fill, min(400px, 100%));
  justify-content: center;
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-md);
}

.catalog-actions .btn,
.catalog-actions a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
}

.catalog-secondary {
  color: var(--gray-light);
  border: 1px solid var(--line);
  background: transparent;
}

.catalog-secondary:hover {
  background: rgba(255, 255, 255, 0.03);
}

.product-card .catalog-actions {
  margin-top: auto;
  padding-top: var(--space-lg);
}

.product-view img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-message {
  color: var(--gray-light);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.store-select {
  width: 100%;
  padding: 12px;
  color: var(--white);
  background: var(--bg-gray);
  border: 1px solid var(--line);
  font: inherit;
}

.store-description {
  margin-top: var(--space-md);
  color: var(--gray-light);
  line-height: 1.5;
  white-space: pre-line;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.store-model {
  position: relative;
  min-height: 420px;
}

.store-model canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.store-model canvas.ready { opacity: 1; }
.store-section + .store-section { margin-top: var(--space-lg); }
.store-section p { color: var(--gray-light); line-height: 1.5; white-space: pre-line; }
.beat-copy h2, .store-section h2 { white-space: pre-line; }

.store-loading { padding: 90px var(--gutter) var(--space-md); }
.store-no-model .stage { display: none; }
.store-no-model .hero, .store-photo-hero .hero { position: relative; isolation: isolate; }
.store-photo-hero .hero { background-color: var(--bg); }
.store-no-model .hero-photo, .store-photo-hero .hero-photo {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.store-no-model .hero::before, .store-photo-hero .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent 80%);
  z-index: -1;
}
.store-no-model .beat, .store-compact-story .beat { min-height: 0; padding: var(--space-lg) var(--gutter) 0; }
.store-no-model .beat-copy, .store-compact-story .beat-copy { width: auto; max-width: 680px; }
.store-no-model .beat-exit, .store-compact-story .beat-exit { display: none; }
.store-no-model .story, .store-compact-story .story { padding-bottom: var(--space-lg); }
.store-compact-story .story { position: relative; background: var(--bg); }

.product-callouts, .product-callout, .product-callout svg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.product-callouts { z-index: 20; }
.product-callout {
  opacity: 0;
  visibility: hidden;
  transition: opacity 350ms ease, visibility 0s linear 350ms;
}
.product-callout--visible {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
@starting-style {
  .product-callout--visible { opacity: 0; }
}
.product-callout--editing { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .product-callout { transition: none; }
}
.product-callout line { stroke: #facc15; stroke-width: 4px; }
.product-callout__marker {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 4px solid #facc15;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
}
.product-callout__text {
  position: absolute;
  width: min(220px, 100%);
  padding: 8px 10px;
  color: #fff;
  background: rgba(43, 43, 43, .95);
  border: 1px solid #707070;
  border-radius: 8px;
  font: 13px/1.35 sans-serif;
  overflow-wrap: anywhere;
  transform: translateY(-50%);
}
.product-callout__text strong, .product-callout__text span { display: block; }
.product-callout__text strong { color: #facc15; }
@media (max-width: 760px) {
  .product-callout svg, .product-callout__text { display: none; }
}
@media (min-width: 761px) {
  .store-buy-reversed .buy-grid > :first-child { order: 2; }
  .product-custom-text-left, .product-custom-image-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-lg);
  }
  .product-custom-image-left > :first-child { order: 2; }
}
.product-custom-section img { display: block; width: 100%; margin-top: var(--space-md); }
.product-custom-section p { white-space: pre-line; }
.preview-notice {
  position: fixed;
  z-index: 200;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px var(--gutter);
  color: #141414;
  background: var(--accent);
  font: 600 13px var(--font-body);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.catalog-shopping { margin-top: auto; padding-top: 16px; }
.catalog-shopping .field { margin: 0 0 8px; }
.catalog-shopping .field-label { margin-bottom: 4px; }
.catalog-shopping .store-select { border-radius: 8px; }
.catalog-shopping select.store-select { height: 40px; padding: 0 10px; }
.catalog-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.catalog-detail { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-right: auto; color: var(--white); font-size: 13px; font-weight: 700; white-space: nowrap; }
.catalog-detail span { color: var(--accent); transition: transform 0.2s ease; }
.catalog-detail:hover span { transform: translateX(4px); }

/* Desktop: Show explore button on hover, hide by default */
@media (min-width: 761px) {
  .catalog-detail[data-explore-btn="true"] {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  
  a.product-card:hover .catalog-detail[data-explore-btn="true"] {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Mobile: Always show explore button */
@media (max-width: 760px) {
  .catalog-detail[data-explore-btn="true"] {
    opacity: 1;
    pointer-events: auto;
  }
}
.catalog-purchase-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; margin-left: auto; }
.catalog-card-actions .btn { height: 40px; padding: 0 8px; border-radius: 8px; font-size: 13px; white-space: nowrap; }
.catalog-card-actions .catalog-quantity { width: 48px; height: 40px; padding: 0 4px; text-align: center; }
.product-body .catalog-shopping .store-message { margin: 8px 0 0; font-size: 13px; }
.catalog-quantity { width: 90px; }
.cart-item { margin-top: var(--space-md); padding: var(--space-md); }
.cart-item .catalog-actions { padding-top: 0; }
.cart-total { margin-top: var(--space-lg); font-size: 21px; }

/* About */
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--space-lg);
  border-top: 1px solid var(--rule);
}

.principle { padding: var(--space-md) var(--space-md) 0 0; }
.principle + .principle { padding-left: var(--space-md); border-left: 1px solid var(--line); }
.principle .label { font-size: 11px; }
.principle h3 { margin-top: var(--space-sm); font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; line-height: 1.15; letter-spacing: -0.035em; }
.principle p { margin-top: var(--space-sm); color: var(--gray-light); font-size: 16px; line-height: 1.5; letter-spacing: -0.01em; }

@media (max-width: 1000px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-grid .product-card.muted:last-child { grid-column: 1 / -1; }
  .product-grid .product-card.muted:last-child .product-view { aspect-ratio: 16 / 6; }
}

@media (max-width: 760px) {
  .home-hero {
    min-height: 440px;
    padding-top: 80px;
  }
  .home-hero-photo { object-position: 58% 0%; }
  .home-hero-row { grid-template-columns: 1fr; }
  .home-hero-row .btn { justify-self: stretch; justify-content: space-between; }
  .product-grid { grid-template-columns: 1fr; gap: var(--space-sm); }
  .product-grid .product-card.muted:last-child { grid-column: auto; }
  .product-grid .product-card.muted:last-child .product-view { aspect-ratio: 16 / 7; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: var(--space-md) 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ==========================================================================
   Field photos (product pages)
   ========================================================================== */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.photo-grid:has(> :nth-child(3)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-card {
  margin: 0;
  aspect-ratio: 1 / 1;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.photo-card:hover img { transform: scale(1); }

.photo-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 96px var(--space-md) var(--space-md);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.82) 70%);
}

.photo-card figcaption .label { font-size: 11px; }

.photo-card figcaption strong {
  display: block;
  margin-top: var(--space-sm);
  font-size: clamp(23px, 2.3vw, 35px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.photo-card figcaption span:last-child {
  display: block;
  max-width: 460px;
  margin-top: var(--space-sm);
  color: var(--gray-light);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

@media (max-width: 760px) {
  .photo-grid, .photo-grid:has(> :nth-child(3)) { grid-template-columns: 1fr; gap: var(--space-sm); }
  .photo-card { aspect-ratio: 4 / 5; }
}

/* ==========================================================================
   Quick facts strip (right under the product hero)
   ========================================================================== */

.quick-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-md);
  align-items: stretch;
  padding: var(--space-md) var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  scroll-margin-top: 56px;
}

.qf-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-left: 1px solid var(--line);
}

.qf {
  padding: 4px var(--space-md) 4px var(--space-sm);
  border-right: 1px solid var(--line);
}

.qf dt { color: var(--gray); font-size: 11px; }

.qf dd {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.qf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.qf-actions .btn,
.qf-actions .btn-ghost {
  height: 48px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 650;
}

.qf-actions .btn-ghost { display: inline-flex; gap: 8px; }

.doc-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .quick-facts { grid-template-columns: 1fr; }
  .qf-actions { justify-content: stretch; }
  .qf-actions > * { flex: 1 1 180px; }
}

@media (max-width: 760px) {
  .qf-list { grid-template-columns: 1fr 1fr; border-left: 0; }
  .qf { padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .qf:nth-child(odd) { padding-right: 12px; }
  .qf dd { font-size: 16px; }
  .qf-actions .btn, .qf-actions .btn-ghost { height: 48px; }
}

/* Header call button (only shown when a phone number is set) */
.nav .nav-call { color: var(--white); }

/* ==========================================================================
   Lite mode: phones, slow connections, reduced motion (set by site.js)
   ========================================================================== */

.hero-photo { display: none; }

.lite .stage { display: none; }
.lite body.store-model-hero .stage { display: block; }

.lite .hero { position: relative; isolation: isolate; min-height: 0; height: 88svh; }

.lite .hero-photo {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 0%;
}

.lite body.store-model-hero .hero-photo { display: none; }

.lite .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.9) 85%, #000 100%);
}

/* Product with no photo: square grid backdrop instead */
.lite .hero.no-photo::before {
  background-image: var(--grid);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 90%);
  mask-image: linear-gradient(to bottom, #000 20%, transparent 90%);
}

.lite body.store-model-hero .hero.no-photo::before { background-image: none; mask-image: none; -webkit-mask-image: none; }

/* Story becomes a plain, readable list */
.lite .beat { min-height: 0; display: block; padding: var(--space-lg) var(--gutter) 0; }
.lite .beat-copy { width: auto; max-width: 680px; padding: 0; opacity: 1; transform: none; }
.lite .beat-copy::before { display: none; }
.lite .beat-exit { display: none; }
.lite .story { padding-bottom: var(--space-lg); }

/* Spin viewer stand-ins */
.spin-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spin-load {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  font-size: 13px;
  cursor: pointer;
}

.spin-load:disabled { cursor: progress; color: var(--gray); }

/* Price / volume / lead time lines in the buy panel */
.buy-facts { margin-top: var(--space-md); }
.buy-facts .specs-row { font-size: 15px; min-height: 0; }
.buy-facts .specs-label { width: 120px; }