/* Dymaxion marketing site. Monochrome, after the logo: charcoal + off-white,
   Michroma headings, Inter body, square corners, thin rule above each eyebrow. */
:root {
  --ink: #242221;
  --card: #2e2c2a;
  --line: #4a4744;
  --paper: #f2f0ec;
  --paper-2: #eeece8;
  --muted: #b9b5af;
  --muted-dark: #5d5955;
  --radius: 4px;
  --head: 'Michroma', 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; letter-spacing: 0.01em; line-height: 1.25; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); max-width: 18ch; }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); max-width: 22ch; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 50; background: var(--paper); color: var(--ink); padding: 8px 12px; }

.eyebrow {
  font: 600 0.75rem/1 var(--body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ''; display: block; width: 96px; height: 1px; background: currentColor; margin-bottom: 14px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7em 1.25em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 600 0.9rem/1.2 var(--body);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-lg { padding: 0.95em 1.6em; font-size: 1rem; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: var(--line); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #000; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--muted); outline-offset: 3px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(36, 34, 33, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { filter: invert(1); height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.nav a:not(.btn):hover { color: var(--paper); }
.menu-btn { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 12vw, 150px) 0 clamp(72px, 10vw, 130px); }
.lattice {
  position: absolute; inset: 0;
  background: url('/assets/lattice.svg') repeat;
  background-size: 180px auto;
  opacity: 0.16;
  mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
  -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
}
.hero-inner { position: relative; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 56ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.light { background: var(--paper-2); color: var(--ink); }
.light .eyebrow { color: var(--muted-dark); }
.dark { background: var(--ink); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2.5rem; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--card); }
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.light .card { background: #fff; border-color: #d9d5cf; }
.light .card p { color: var(--muted-dark); }
.num { display: block; font-family: var(--head); font-size: 0.8rem; color: var(--muted-dark); margin-bottom: 22px; }
.person .role { color: var(--paper); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin: -0.3em 0 1em; }

.watch-lede { color: var(--muted); max-width: 60ch; }
.video-frame { margin-top: 2.5rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

.band { border-block: 1px solid var(--line); }
.band-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.band-row p:not(.eyebrow) { color: var(--muted); max-width: 52ch; margin: 0; }

.story { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); }
.prose p { color: #3d3a37; }
.prose p:last-child { margin: 0; }

.contact { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; }
.contact p:not(.eyebrow) { color: var(--muted-dark); max-width: 52ch; }
.contact-actions { justify-self: end; text-align: right; }
.contact-actions .small { margin: 14px 0 0; font-size: 0.9rem; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 0.85rem; color: var(--muted); }
.foot-row { display: flex; align-items: center; gap: 24px; }
.foot-row img { filter: invert(1); height: 32px; width: auto; opacity: 0.85; }
.foot-row p { margin: 0 auto 0 0; }
.foot-row a { color: var(--muted); }

/* Sign-in redirect page */
.redirect { display: grid; place-items: center; min-height: 100vh; color: var(--muted); }

/* Narrow screens */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .story, .contact { grid-template-columns: 1fr; }
  .contact-actions { justify-self: start; text-align: left; }
  .band-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .js .menu-btn {
    display: grid; place-items: center;
    width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 1.5px; background: var(--paper); position: relative; content: ''; }
  .bars::before { position: absolute; top: -6px; }
  .bars::after { position: absolute; top: 6px; }
  .js .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
  }
  .js .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav .btn { margin-top: 16px; text-align: center; }
  .nav { flex-wrap: wrap; gap: 14px; }
  .foot-row { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
