/* ─────────────────────────────────────────────────────────────
   Foras Industries — tokens, reset and type primitives.
   Change a colour or a font here and it changes everywhere.
   ───────────────────────────────────────────────────────────── */

:root {
  --bg: #0a0908;
  --fg: #ece8df;
  --muted: #8d8577;
  --secondary: #a39a8b;
  --accent: #c9a24b;
  --accent-hover: #e6c87e;
  --line: rgba(201, 162, 75, 0.55);       /* engineering callout lines */
  --hairline: rgba(236, 232, 223, 0.14);

  --sans: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;

  --gutter: clamp(1.25rem, 5vw, 6rem);
  --nav-h: 4rem;
}

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

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* Very large screens: scale the whole type system up rather than leaving it small in a big frame. */
@media (min-width: 2200px) { html { font-size: 118%; } }
@media (min-width: 3000px) { html { font-size: 136%; } }

body {
  margin: 0;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--fg);
  color: var(--bg);
  font: 700 0.75rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(-300%);
}
.skip-link:focus { transform: none; }

/* ── Type primitives ──────────────────────────────────────────
   Heading sizes use cqi (1% of the text column's width), capped by rem and by
   viewport height and floored for phones, so type scales with the space it has. */

/* Monospace: section indices, statuses, annotations, technical labels. */
.eyebrow,
.annotation-line,
.status,
.leader,
.scroll-cue,
.schedule,
.venture__meta,
.footer,
.cta,
.cta-address {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  line-height: 1.4;
}

.eyebrow { color: var(--accent); }
.annotation-line { color: var(--secondary); }

.display,
.statement,
.principle,
.negations,
.venture__title {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.96;
  color: var(--fg);
  overflow-wrap: anywhere;
}
.display > span,
.statement > span,
.principle > span,
.negations > span { display: block; text-wrap: balance; }

.is-quiet { color: var(--secondary); }
.is-gold { color: var(--accent); }

/* FORAS / INDUSTRIES — two stacked lines; sized so INDUSTRIES always fits its column. */
.display { font-size: min(13.2cqi, 19vh, 10rem); line-height: 0.92; }

.statement { font-size: max(1.75rem, min(6.4cqi, 8.2vh, 4.25rem)); }
.statement--long { font-size: max(1.375rem, min(5.2cqi, 6.4vh, 3.25rem)); }

.principle { font-size: max(1.5rem, min(6cqi, 7vh, 3.5rem)); }

.negations {
  font-size: max(1.0625rem, min(3.4cqi, 4vh, 1.75rem));
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--secondary);
}

.lede {
  font-size: clamp(1.0625rem, 0.9rem + 1.6cqi, 1.625rem);
  line-height: 1.3;
  color: var(--fg);
  max-width: 28em;
}
.lede--list { font-size: clamp(1.0625rem, 0.9rem + 1cqi, 1.375rem); }

.body {
  font-size: clamp(0.9375rem, 0.88rem + 0.6cqi, 1.125rem);
  line-height: 1.5;
  color: var(--secondary);
  max-width: 34em;
  text-wrap: pretty;
}
.body--rule {
  color: var(--fg);
  padding-top: 0.9rem;
  border-top: 1px solid var(--hairline);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
