/* WON41 placeholder site. Tokens come from the WON41 brand guidelines (Day theme). */
:root {
  --bleached: #f4ecdc;
  --surface: #fbf7ef;
  --sandstone: #e8d8bb;
  --line: #d6c4a2;
  --night: #15232c;
  --night-muted: #5b5246;
  --dusk: #2a4453;
  --on-dusk: #f4ecdc;
  --redrock: #a8442a;
  --sun: #e3a52d;
  --sticker-black: #161413; /* Paradox Cycle's ground, used only behind its logo */

  --font-sans: Overpass, "Arial Narrow", system-ui, sans-serif;
  --font-mono: "Overpass Mono", ui-monospace, Menlo, monospace;

  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-10: 40px;
  --space-16: 64px;
  --radius-sm: 4px;
  --radius-md: 10px;

  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--bleached);
  color: var(--night);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--dusk); }
a:hover { color: var(--redrock); }
:focus-visible { outline: 2px solid var(--dusk); outline-offset: 2px; border-radius: 2px; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px));
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--dusk); color: var(--on-dusk); padding: var(--space-2) var(--space-4);
}
.skip:focus { left: var(--space-4); top: var(--space-4); z-index: 10; }

.eyebrow {
  margin: 0 0 var(--space-4);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--night-muted);
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
  padding-block: var(--space-4);
}
.brand img { width: 168px; }
.header-link {
  font-family: var(--font-mono); font-weight: 500; font-size: 0.8125rem;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  padding: var(--space-2) 0; border-bottom: 2px solid var(--sun);
}

/* Hero */
.hero { padding-block: var(--space-16); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-10);
}
.hero h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(2.75rem, 6vw + 1rem, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.lede {
  margin: var(--space-6) 0 0;
  max-width: 34ch;
  font-size: 1.25rem;
  line-height: 1.55;
}
.note { margin: var(--space-4) 0 0; color: var(--night-muted); }
.hero-mark { justify-self: center; width: 100%; max-width: 360px; }

/* The road: a dusk band with the 141 center line */
.road {
  height: 56px;
  background:
    repeating-linear-gradient(90deg, var(--sun) 0 48px, transparent 48px 96px) center / 100% 6px no-repeat,
    var(--dusk);
}

/* Companies */
.companies { padding-block: var(--space-16); }
.companies h2 {
  margin: 0 0 var(--space-6);
  font-weight: 800; font-size: 2rem; line-height: 1.2;
}
.company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.company-art {
  display: flex; align-items: center; justify-content: center;
  background: var(--sticker-black);
  padding: var(--space-10);
}
.company-art img { width: 100%; max-width: 360px; }
.company + .company { margin-top: var(--space-6); }
.company-art-wecast { background: var(--night); }
.company-art-wecast img { max-width: 220px; }
.company-body h3 { margin: 0; font-weight: 800; font-size: 1.5rem; line-height: 1.2; }
.company-body {
  padding: var(--space-10);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4);
  justify-content: center;
  min-width: 0;
}
.company-body p { margin: 0; max-width: 42ch; font-size: 1.0625rem; }
.company-body .address { font-family: var(--font-mono); font-size: 0.875rem; color: var(--night-muted); }
.nowrap { white-space: nowrap; }

.button {
  display: inline-flex; align-items: center; gap: var(--space-2);
  margin-top: var(--space-2);
  min-height: 44px;
  padding: 10px 20px 8px;
  background: var(--dusk); color: var(--on-dusk);
  border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.button:hover { background: var(--night); color: var(--on-dusk); }

/* Footer */
.site-footer { background: var(--dusk); color: var(--on-dusk); }
.footer-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-6);
  padding-block: var(--space-6);
  font-size: 0.875rem;
}
.footer-row p { margin: 0; }
.footer-aside { opacity: 0.85; }

/* Narrow screens */
@media (max-width: 760px) {
  .hero { padding-block: var(--space-10); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { grid-row: 1; max-width: 200px; justify-self: start; }
  .company { grid-template-columns: 1fr; }
  .company-art, .company-body { padding: var(--space-6); }
  .brand img { width: 136px; }
}
