:root {
  --paper: #ECEFF2;
  --paper-2: #E1E5EA;
  --ink: #12151A;
  --graphite: #4F5761;
  --silver: #B3BAC3;
  --amber: #E4940B;
  --band: #12151A;
  --band-ink: #ECEFF2;
  --band-soft: #9AA3AE;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101318;
    --paper-2: #171B21;
    --ink: #E9ECEF;
    --graphite: #A2AAB4;
    --silver: #3A414B;
    --amber: #F2A93B;
    --band: #1C2129;
    --band-ink: #E9ECEF;
    --band-soft: #A2AAB4;
    color-scheme: dark;
  }
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: var(--gutter);
  top: 12px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  z-index: 10;
}

/* Header */

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  display: inline-flex;
  color: var(--ink);
  padding: 6px 0;
}
.brand svg { height: 34px; width: auto; display: block; }
.brand .base { stroke: var(--amber); }

.site-nav {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  font-family: var(--mono);
  font-size: 0.875rem;
}
.site-nav a {
  text-decoration: none;
  padding: 10px 0;
  color: var(--graphite);
}
.site-nav a:hover { color: var(--ink); }

/* Hero: the "2" draws itself, then its base runs on across the page as the line the headline sits on */

.hero {
  --h: clamp(150px, 30vw, 360px);
  --t: calc(var(--h) * 3.2 / 48);
  overflow-x: clip;
  padding: clamp(32px, 7vw, 88px) 0 clamp(56px, 9vw, 120px);
}

.hero .wrap {
  display: flex;
  align-items: flex-end;
  gap: clamp(8px, 2vw, 24px);
}

.hero-art {
  position: relative;
  flex: none;
  width: var(--h);
  height: var(--h);
  margin-left: calc(var(--h) * -10 / 48);
}
.hero-art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hero-art .two {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.road {
  position: absolute;
  left: calc(var(--h) * 12 / 48 - var(--t) / 2);
  top: calc(var(--h) * 41 / 48 - var(--t) / 2);
  width: 100vw;
  height: var(--t);
  background: var(--amber);
  border-radius: var(--t) 0 0 var(--t);
  transform-origin: left center;
}

.hero-text {
  padding-bottom: calc(var(--h) * 7 / 48 + var(--t) / 2 + clamp(14px, 2vw, 24px));
  max-width: 34rem;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--graphite);
  margin: 0 0 14px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}

h1 { font-size: clamp(2.1rem, 5.4vw, 4.25rem); }

.lede {
  margin: 18px 0 0;
  color: var(--graphite);
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  max-width: 30rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art .two {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 0.9s cubic-bezier(.6, 0, .3, 1) 0.15s forwards;
  }
  .road {
    transform: scaleX(0);
    animation: run 1.3s cubic-bezier(.5, 0, .1, 1) 0.95s forwards;
  }
  .hero-text > * {
    opacity: 0;
    transform: translateY(10px);
    animation: rise 0.6s ease-out forwards;
  }
  .hero-text > :nth-child(1) { animation-delay: 1.1s; }
  .hero-text > :nth-child(2) { animation-delay: 1.2s; }
  .hero-text > :nth-child(3) { animation-delay: 1.3s; }
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes run { to { transform: scaleX(1); } }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 719px) {
  .hero { --h: 150px; }
  .hero .wrap { flex-direction: column; align-items: flex-start; }
  .hero-text { padding-bottom: 0; margin-top: 4px; }
}

/* Products */

.section { padding: clamp(56px, 8vw, 104px) 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 3vw, 36px);
}
h2 { font-size: clamp(1.75rem, 3.4vw, 2.625rem); }
.section-head p { margin: 0; color: var(--graphite); max-width: 26rem; }

.products { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }

.product {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) minmax(0, 14rem);
  gap: 12px clamp(20px, 4vw, 48px);
  padding: clamp(24px, 3.5vw, 40px) 0;
  border-bottom: 1px solid var(--silver);
}

.product h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.kind {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--graphite);
  margin: 8px 0 0;
}
.product-desc { margin: 0; max-width: 36rem; }

.product-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.8125rem;
}
.status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
}
.status.soon::before { background: transparent; box-shadow: inset 0 0 0 2px var(--graphite); }

.product-link {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  padding: 6px 0;
}
.product-link:hover { text-decoration-thickness: 3px; }

@media (max-width: 859px) {
  .product { grid-template-columns: 1fr; }
}

/* The name */

.name-band {
  background: var(--band);
  color: var(--band-ink);
}
.name-band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 72px);
  align-items: end;
}
.name-band h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.name-band h2 em { font-style: normal; color: var(--amber); }
.name-band p { margin: 0; color: var(--band-soft); max-width: 30rem; }
.name-band p + p { margin-top: 14px; }

@media (max-width: 719px) {
  .name-band .wrap { grid-template-columns: 1fr; }
}

/* Contact */

.contact-mail {
  display: inline-block;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(1.5rem, 4.4vw, 3rem);
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
  overflow-wrap: anywhere;
  margin-top: 8px;
}
.contact-note { color: var(--graphite); margin: 18px 0 0; max-width: 34rem; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--silver);
  padding: 28px 0 40px;
  font-size: 0.875rem;
  color: var(--graphite);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
}
.legal { margin: 0; font-family: var(--mono); font-size: 0.8125rem; line-height: 1.8; }
.legal span { white-space: nowrap; }
.legal span + span::before { content: "·"; margin: 0 10px; color: var(--silver); }
.site-footer a { padding: 6px 0; }

/* Plain text pages (privacy) */

.prose > * { max-width: 44rem; }
.prose { padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.prose h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); margin-bottom: 8px; }
.prose h2 { font-size: 1.375rem; margin: 40px 0 10px; }
.prose p, .prose li { color: var(--graphite); }
.prose a { text-decoration-color: var(--amber); text-underline-offset: 4px; }
