/* Grid Signal: realization of the active design direction. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #F5F4F1;
  --surface: #FFFFFF;
  --ink: #131211;
  --muted: #6C6862;
  --rule: #DCD8D1;
  --accent: #D93A00;
  --font: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 120px;
  --radius: 0px;
  --container: 1200px;
  --gutter: 24px;
  --edge: 40px;
}

:where(*, *::before, *::after) { box-sizing: border-box; }
:where(body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dt, dd) { margin: 0; padding: 0; }
:where(ul, ol) { list-style: none; }
:where(img, svg) { display: block; max-width: 100%; }
:where(a) { color: inherit; text-decoration: none; }
:where(button, input, textarea) { font: inherit; color: inherit; }

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

body.gs {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.gs-shell { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--edge); }

.gs-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}

.gs-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--surface);
  padding: 12px 20px; z-index: 100;
}
.gs-skip:focus { left: 0; }

/* Typography */
.gs-display {
  font-weight: 600;
  font-size: clamp(2.6rem, 6.2vw, 5.1rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}
.gs-h2 {
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.gs-h3 {
  font-weight: 600;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.2;
  letter-spacing: -0.018em;
}
.gs-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.gs-lede {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 30em;
}
.gs-body { color: var(--muted); max-width: 34em; }

/* Buttons */
.gs-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 140ms linear, color 140ms linear, border-color 140ms linear, transform 90ms linear;
}
.gs-btn--primary { background: var(--accent); color: var(--surface); }
.gs-btn--primary:hover { background: var(--ink); }
.gs-btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.gs-btn--ghost:hover { background: var(--ink); color: var(--bg); }
.gs-btn:active { transform: translateY(1px); }
.gs-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
.gs-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.gs-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-md);
  height: 72px;
}
.gs-brand { font-weight: 600; letter-spacing: -0.02em; font-size: 16px; white-space: nowrap; }
.gs-brand span { color: var(--accent); }
.gs-nav ul { display: flex; align-items: center; gap: 28px; }
.gs-nav a {
  font-size: 14px; color: var(--muted);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 140ms linear, border-color 140ms linear;
}
.gs-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.gs-header .gs-btn { padding: 10px 20px; font-size: 14px; }
.gs-nav-toggle { display: none; background: none; border: 1px solid var(--ink); padding: 8px 14px; font-size: 13px; cursor: pointer; }

/* Hero */
.gs-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 88px); }
.gs-hero__inner { align-items: start; row-gap: var(--space-lg); }
.gs-hero__text { grid-column: 1 / span 7; }
.gs-hero__display { margin-bottom: var(--space-md); }
.gs-hero__display em { font-style: normal; font-weight: 700; }
.gs-hero__lede { margin-bottom: var(--space-lg); }
.gs-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.gs-hero__aside { grid-column: 9 / span 4; }

.gs-portrait {
  aspect-ratio: 4 / 5;
  width: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(19,18,17,0.06) 0 2px, transparent 2px 12px),
    var(--rule);
  border: 1px solid var(--rule);
  display: flex; align-items: flex-end; padding: var(--space-sm);
}
.gs-portrait span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.gs-portrait__caption { margin-top: var(--space-xs); font-size: 13px; color: var(--muted); }

/* Reveal, gated so no-JS renders visible */
.js .gs-reveal { opacity: 0; transform: translateY(10px); }
.js .gs-reveal.is-in { opacity: 1; transform: none; transition: opacity 480ms ease-out, transform 480ms ease-out; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .gs-reveal, .js .gs-reveal.is-in { opacity: 1; transform: none; transition: none; }
  .gs-btn { transition: none; }
}

@media (max-width: 1024px) {
  :root { --edge: 28px; }
  .gs-hero__text { grid-column: 1 / span 8; }
  .gs-hero__aside { grid-column: 9 / span 4; }
}

@media (max-width: 860px) {
  :root { --edge: 20px; }
  .gs-grid { grid-template-columns: minmax(0, 1fr); }
  .gs-hero__text, .gs-hero__aside { grid-column: 1 / -1; }
  .gs-hero__aside { max-width: 320px; }
  .gs-nav { display: none; }
  .gs-nav.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 72px;
    background: var(--bg); border-bottom: 1px solid var(--rule); padding: var(--space-sm) var(--edge);
  }
  .gs-nav.is-open ul { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
  .gs-nav-toggle { display: inline-block; }
  .gs-header .gs-btn { display: none; }
}

/* Footer */
.gs-footer { border-top: 1px solid var(--rule); padding: var(--space-lg) 0; margin-top: var(--space-xl); }
.gs-footer__inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-sm) var(--space-md); }
.gs-footer__name { font-weight: 600; letter-spacing: -0.02em; }
.gs-footer__meta { color: var(--muted); font-size: 15px; }
.gs-footer__copy { color: var(--muted); font-size: 15px; margin-left: auto; }
@media (max-width: 860px) { .gs-footer__copy { margin-left: 0; } }