/* ==========================================================================
   TIGER STRUK — Base / Reset / Utilities
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

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

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

::selection { background: var(--c-orange); color: var(--c-white); }

/* ---- Layout helpers ------------------------------------------------------ */

.container {
  width: var(--container);
  margin-inline: auto;
}

.section { padding-block: var(--space-section); }

.section--paper { background: var(--c-paper); }

.section--navy {
  background: var(--c-navy);
  color: var(--c-ink-inv);
}

/* ---- Type roles ---------------------------------------------------------- */

.display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  line-height: .98;
  letter-spacing: -.015em;
  text-transform: uppercase;
}

.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: 1.12;
}

.lead {
  font-size: var(--fs-body-lg);
  color: var(--c-ink-soft);
  max-width: 56ch;
}

.section--navy .lead { color: var(--c-ink-inv-soft); }

/* Bracketed mono eyebrow — the page's labelling system: [01] [Products] … */
.tag {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-steel);
  display: inline; /* brackets flow with the text when it wraps */
}

.tag::before { content: "[ "; color: var(--c-orange); }
.tag::after  { content: " ]"; color: var(--c-orange); }

.section--navy .tag { color: var(--c-ink-inv-soft); }

/* Orange terminal full stop used on display lines */
.dot { color: var(--c-orange); }

/* ---- Scroll reveal ------------------------------------------------------- */
/* Hidden state only applies when JS is running (html.js set by main.js),
   so content is never invisible if scripts fail to load. */

html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children: add data-stagger to a parent of .reveal items */
[data-stagger] .reveal:nth-child(2) { transition-delay: .08s; }
[data-stagger] .reveal:nth-child(3) { transition-delay: .16s; }
[data-stagger] .reveal:nth-child(4) { transition-delay: .24s; }
[data-stagger] .reveal:nth-child(5) { transition-delay: .32s; }
[data-stagger] .reveal:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}