/* Packaging Studio · base: reset, type, reveal system, accessibility. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ebony); }
body {
  margin: 0; min-height: 100vh; background: var(--ebony); color: var(--ivory);
  font: 400 var(--fs-body)/1.5 var(--f-ui); letter-spacing: 0;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: var(--ebony); }

/* focus: Neon Teal on dark, Neon Violet on light (brand board) */
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
.is-light :focus-visible { outline-color: var(--violet); }

.skip { position: fixed; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--ivory); color: var(--ebony); border-radius: var(--pill); transition: top var(--t-hover) var(--ease); }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }   /* components set display; hidden must still win */
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* type */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em; font: 500 var(--fs-eyebrow)/1 var(--f-ui);
  letter-spacing: .24em; text-transform: uppercase; color: var(--stone); white-space: nowrap;
}
.eyebrow::before { content: ''; width: .95em; height: .95em; flex: none; box-shadow: inset 0 0 0 1px var(--gold); }
.eyebrow--plain::before { display: none; }
.display { font-family: var(--f-display); font-weight: 300; letter-spacing: -.01em; line-height: 1.02; }
.h1 { font: 300 var(--fs-h1)/1.02 var(--f-display); letter-spacing: -.01em; }
.h2 { font: 300 var(--fs-h2)/1.04 var(--f-display); letter-spacing: -.01em; }
.lora { font: italic 400 1.25em/1.45 var(--f-accent); color: var(--gold); }
.body { color: var(--ink-3); font-size: var(--fs-body); line-height: 1.55; }
.c-gold { color: var(--gold); } .c-ivory { color: var(--ivory); } .c-stone { color: var(--stone); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* reveal (T1): opacity + translate3d(0, 18px, 0), 0.7 s, (.22,.61,.36,1), +0.08 s per item */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, var(--reveal-y), 0);
  transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--t-stagger));
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* smooth wheel scrolling (lenis): the page glides between wheel steps instead of jumping 100 px at a time (B05) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
