/* ═══════════════════════════════════════════════════════════════
   UniPod Showroom — Base (Tester 1)
   ═══════════════════════════════════════════════════════════════ */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--text-on-dark);
  background: var(--void);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--ember); color: #fff; }

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

/* ── Skip link ── */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 300;
  padding: 12px 20px;
  background: var(--ember);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius);
  transition: top var(--duration-sm) var(--ease);
}
.skip-link:focus { top: 16px; }

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--space-2xl) 0; }
.section--tall { padding: var(--space-3xl) 0; }

.section--dark  { background: var(--void); color: var(--text-on-dark); }
.section--mid   { background: var(--earth-dark); color: var(--text-on-dark); }
.section--cream { background: var(--cream); color: var(--text-on-light); }
.section--sand  { background: var(--sand); color: var(--text-on-light); }

/* ── Section headings ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-spec);
  font-size: var(--text-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--ember);
}
.section-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--ember);
}

.section-heading {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  margin-top: 16px;
}
.section-heading--lg { font-size: var(--text-h1); }
.section-heading--md { font-size: var(--text-h2); }
.section-heading--sm { font-size: var(--text-h3); }

.section-body {
  font-weight: 400;
  font-size: var(--text-body);
  color: var(--text-on-dark-sub);
  max-width: var(--max-text);
  margin-top: 20px;
}
.section--cream .section-body,
.section--sand .section-body { color: var(--text-on-light-sub); }

/* ── Ghost display type (moodboard: outline type behind product) ── */
.ghost-type {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: var(--text-ghost);
  line-height: 0.85;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(20, 20, 20, 0.20);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
.ghost-type--on-dark { -webkit-text-stroke: 1px rgba(242, 239, 232, 0.13); }

/* ── Vertical side-rail label (moodboard: rail typography) ── */
.rail-label {
  font-family: var(--font-spec);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--stone);
  writing-mode: vertical-rl;
}

/* ── Text utilities ── */
.text-dark   { color: var(--text-on-light); }
.text-cream  { color: var(--cream); }
.text-ochre  { color: var(--ember); }
.mx-auto     { margin-left: auto; margin-right: auto; }
.mt-lg       { margin-top: 48px; }
.mt-xl       { margin-top: 64px; }
.center      { text-align: center; }

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration-lg) var(--ease), transform var(--duration-lg) var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@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;
  }
  .reveal { opacity: 1; transform: none; }
}
