/* Layout concept: a climb at night. The logo's ridgelines open the page, one paper band breaks the dark, and the process steps rise like a slope. */
:root {
  color-scheme: dark;
  --night: #0e100e;
  --pine: #171a16;
  --ridge: #2b2f2a;
  --mist: #a3a498;
  --moon: #f4efdd;
  --ink: #131412;
  --dawn: #dba94c;
  --paper-line: #cfc9b4;
  --paper-soft: #e9e3cf;
  --ink-soft: #55564c;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Instrument Sans", "Segoe UI", Arial, sans-serif;
  --data: "IBM Plex Mono", Consolas, monospace;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--moon);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--night);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--dawn); outline-offset: 3px; border-radius: 2px; }
.band { padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; }
section[id] { scroll-margin-top: 104px; }

/* Type */
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h2 {
  font-size: clamp(2.25rem, 5.4vw, 4.5rem);
  font-weight: 800; font-stretch: 112%;
  line-height: .98; letter-spacing: -.02em; text-transform: uppercase;
}
.label {
  font: 500 .75rem/1.3 var(--data);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--mist);
}
.lede { max-width: 60ch; color: var(--mist); margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.35em;
  font: 600 1rem/1 var(--body); text-decoration: none;
  border: 1.5px solid var(--moon); border-radius: 3px;
  cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-solid { background: var(--moon); color: var(--ink); }
.btn-solid:hover { background: var(--dawn); border-color: var(--dawn); }
.btn-line { background: transparent; color: var(--moon); }
.btn-line:hover { background: var(--moon); color: var(--ink); }

/* Nav */
.nav-shell {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 20;
  height: 0; padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}
.nav {
  max-width: var(--wrap); margin-inline: auto; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 16px;
  background: var(--moon); color: var(--ink);
  border-radius: 4px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { height: 36px; width: auto; }
.brand b {
  font: 800 .9375rem/1 var(--display); font-stretch: 118%;
  letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
}
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { font-weight: 500; font-size: .9375rem; text-decoration: none; }
.nav ul a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav .btn { background: var(--ink); color: var(--moon); border-color: var(--ink); min-height: 44px; font-size: .9375rem; white-space: nowrap; }
.nav .btn:hover { background: var(--dawn); border-color: var(--dawn); color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--night); padding-top: 132px; padding-bottom: 44px; isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.1rem, 8.1vw, 6.75rem);
  font-weight: 900; font-stretch: 116%;
  line-height: .97; letter-spacing: -.025em; text-transform: uppercase;
}
.hero h1 span { display: block; }
.hero h1 .from { color: var(--dawn); }
.hero .lede { margin-top: 26px; color: #dcd8c6; max-width: 54ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px;
  margin: clamp(72px, 13vw, 170px) 0 0; padding: 0;
}
.stats > div { border-top: 1.5px solid rgba(244, 239, 221, .55); padding-top: 12px; min-width: 0; }
.stats dt { font: 800 clamp(1.75rem, 5vw, 3.75rem)/1 var(--display); font-stretch: 110%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats dd { margin: 8px 0 0; font-size: .875rem; line-height: 1.35; color: #cfccbb; }
.source { margin: 18px 0 0; font: 400 .75rem/1.5 var(--data); color: var(--mist); }

/* Ticker */
.ticker { overflow: hidden; background: var(--moon); color: var(--ink); padding-block: 12px; }
.ticker-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; gap: 30px; padding-right: 30px; font: 500 .8125rem/1 var(--data); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ticker li::after { content: ""; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 9px solid var(--ink); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Why, on paper */
.paper { background: var(--moon); color: var(--ink); padding-block: clamp(64px, 9vw, 120px); }
.paper .lede { color: var(--ink-soft); margin-top: 20px; }
.compare { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; margin-top: 48px; align-items: stretch; }
.compare > div { padding: clamp(22px, 3.2vw, 40px); min-width: 0; }
.compare h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 800; font-stretch: 108%; text-transform: uppercase; letter-spacing: -.01em; }
.side-alone { border: 1.5px solid var(--paper-line); border-right: 0; color: var(--ink-soft); }
.side-us { background: var(--ink); color: var(--moon); }
.compare ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.compare li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; line-height: 1.4; }
.compare svg { width: 18px; height: 18px; margin-top: 3px; }
.side-us svg { color: var(--dawn); }
.side-us li strong { font-weight: 600; display: block; }
.side-us li span { color: var(--mist); font-size: .9375rem; }

/* Results */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section .lede { margin-top: 20px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.tab {
  min-height: 44px; padding: .55em 1em;
  font: 600 .9375rem/1.1 var(--body); color: var(--mist);
  background: transparent; border: 1.5px solid var(--ridge); border-radius: 3px; cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.tab:hover { color: var(--moon); border-color: var(--mist); }
.tab[aria-selected="true"] { background: var(--moon); border-color: var(--moon); color: var(--ink); }
.case { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(20px, 3.4vw, 48px); margin-top: 28px; }
.case-copy, .case-data { min-width: 0; }
.case-shot { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--pine); border-radius: 3px; }
.case-shot img { width: 100%; height: 100%; object-fit: cover; }
.case h3 { margin-top: 22px; font-size: clamp(1.625rem, 3vw, 2.5rem); font-weight: 800; font-stretch: 108%; line-height: 1.02; letter-spacing: -.015em; text-transform: uppercase; }
.case-kind { margin-top: 10px; color: var(--dawn); }
.case-copy > p { margin: 14px 0 0; color: #d5d2c3; }
.did { list-style: none; margin: 22px 0 0; padding: 0; }
.did li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--ridge); font-size: .9688rem; line-height: 1.45; }
.play { margin-top: 22px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
.tiles > div { padding: 14px 0 16px; border-top: 1px solid var(--ridge); min-width: 0; }
.tiles dt { font-size: .875rem; color: var(--mist); line-height: 1.3; }
.tiles dd { margin: 4px 0 0; font: 800 clamp(1.75rem, 3.6vw, 2.875rem)/1.05 var(--display); font-stretch: 108%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.chart-block { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--ridge); }
.chart-block svg { display: block; width: 100%; height: auto; margin-top: 10px; overflow: visible; }
.chart-note { margin: 14px 0 0; color: #d5d2c3; }
.chart-note strong { color: var(--moon); font-weight: 600; }
.axis { font: 400 11px var(--data); fill: var(--mist); }
.peak-text { font: 500 12px var(--data); fill: var(--moon); }
.case.swap { animation: swap .28s ease both; }
@keyframes swap { from { opacity: .35; transform: translateY(6px); } }

/* Full catalogue */
.all-title { margin-top: clamp(56px, 7vw, 88px); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; font-stretch: 108%; letter-spacing: -.015em; text-transform: uppercase; }
.all { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.all li { min-width: 0; }
.all a { display: block; text-decoration: none; }
.all figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pine); border-radius: 3px; }
.all img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.all a:hover img { transform: scale(1.03); }
.all a:hover .all-name { text-decoration: underline; text-underline-offset: 3px; }
.all-name { display: block; margin-top: 12px; font-weight: 600; line-height: 1.25; }
.all-group { display: block; margin-top: 2px; font-size: .875rem; color: var(--mist); }
.all-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ridge); font: 400 .8125rem/1.35 var(--data); color: var(--mist); font-variant-numeric: tabular-nums; }
.all-nums b { display: block; font: 800 1.25rem/1.1 var(--display); font-stretch: 106%; color: var(--moon); }

/* Process: a rising slope */
.process { background: var(--pine); }
.steps { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: end; counter-reset: step; }
.steps li {
  counter-increment: step; min-width: 0;
  padding: 16px 16px 20px; border-top: 2px solid var(--moon);
  background: linear-gradient(var(--ridge), var(--ridge)) no-repeat;
  background-size: 100% 100%;
}
.steps li:nth-child(1) { min-height: 240px; }
.steps li:nth-child(2) { min-height: 280px; }
.steps li:nth-child(3) { min-height: 320px; }
.steps li:nth-child(4) { min-height: 360px; }
.steps li:nth-child(5) { min-height: 400px; border-top-color: var(--dawn); }
.steps li::before { content: var(--step) ' ' counter(step); display: block; font: 500 .75rem/1 var(--data); letter-spacing: .08em; text-transform: uppercase; color: var(--mist); }
.steps h3 { margin-top: 12px; font-size: 1.25rem; font-weight: 800; font-stretch: 106%; line-height: 1.1; text-transform: uppercase; }
.steps p { margin: 10px 0 0; font-size: .9375rem; line-height: 1.45; color: #d5d2c3; }

/* Team */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.person { min-width: 0; }
.portrait { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ridge); border-radius: 3px; }
.portrait::before { content: ""; position: absolute; left: 50%; top: 50%; width: 76%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--moon); }
.portrait img { position: absolute; inset: 7% 0 0; margin-inline: auto; height: 93%; width: auto; }
.person h3 { margin-top: 14px; font-size: 1.5rem; font-weight: 800; font-stretch: 108%; text-transform: uppercase; }
.person .label { margin: 4px 0 0; color: var(--dawn); }
.team-copy { min-width: 0; margin-top: 24px; }
.team-copy p { margin: 0; font: 500 clamp(1.3rem, 2.5vw, 2rem)/1.3 var(--body); max-width: 44ch; letter-spacing: -.01em; }
.crafts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.crafts li { padding: 6px 10px; border: 1px solid var(--ridge); border-radius: 2px; font: 400 .8125rem/1.2 var(--data); color: var(--mist); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-info, form { min-width: 0; }
.next { list-style: none; counter-reset: n; margin: 32px 0 0; padding: 0; }
.next li { counter-increment: n; display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 12px 0; border-top: 1px solid var(--ridge); color: #d5d2c3; line-height: 1.4; }
.next li::before { content: counter(n); font: 500 .875rem/1.6 var(--data); color: var(--dawn); }
.community { margin-top: 22px; color: var(--mist); }
.community a { color: var(--moon); text-underline-offset: 3px; }
form { display: grid; gap: 18px; background: var(--moon); color: var(--ink); padding: clamp(20px, 3vw, 36px); border-radius: 3px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .9375rem; }
.field span { color: var(--ink-soft); font-weight: 400; }
input, textarea {
  width: 100%; min-height: 48px; padding: 11px 12px;
  background: #fbf8ec; color: var(--ink); color-scheme: light;
  font: 400 1rem/1.4 var(--body);
  border: 1.5px solid var(--paper-line); border-radius: 2px;
}
input:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
textarea { min-height: 130px; resize: vertical; }
form .btn { background: var(--ink); color: var(--moon); border-color: var(--ink); }
form .btn:hover { background: #33352f; }
form .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: 0; font-size: .9375rem; min-height: 1.5em; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.foot { background: var(--moon); color: var(--ink); padding-block: 44px 28px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.foot-tag { margin: 12px 0 0; color: var(--ink-soft); max-width: 34ch; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 28px 64px; }
.foot-cols h3 { font: 500 .75rem/1 var(--data); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.foot-cols ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal { margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--paper-line); font-size: .8125rem; color: var(--ink-soft); }

/* Narrow */
@media (max-width: 980px) {
  .nav ul { display: none; }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .side-alone { border-right: 1.5px solid var(--paper-line); border-bottom: 0; }
  .case { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .all li:first-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li, .steps li:nth-child(n) { min-height: 0; background: none; padding: 16px 0 22px; border-top-width: 1.5px; }
}
@media (max-width: 620px) {
  .brand b { font-size: .75rem; white-space: normal; line-height: 1.1; max-width: 12ch; }
  .nav { height: 58px; padding-left: 10px; }
  .brand img { height: 30px; }
  .hero { padding-top: 104px; }
  .stats dd { font-size: .78rem; }
  .stats { gap: 0 12px; }
  .people { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .person { max-width: 340px; }
  .all { grid-template-columns: minmax(0, 1fr); }
  .did li { grid-template-columns: minmax(0, 1fr); gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .case.swap { animation: none; }
}

/* Multi-page additions */
.nav .right { display: flex; align-items: center; gap: 10px; }
.lang { font: 500 .8125rem/1 var(--data); padding: 8px; text-decoration: none; border-radius: 2px; color: var(--ink); }
.lang:hover { text-decoration: underline; text-underline-offset: 3px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 600; font-size: .9375rem; padding: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] ul {
  display: grid; gap: 2px; position: absolute; right: 0; top: 46px; min-width: 190px; padding: 8px;
  background: var(--moon); border: 1px solid var(--paper-line); border-radius: 3px;
}
.menu ul a { display: block; padding: 10px; font-size: 1rem; }
.page-head { padding-top: 128px; padding-bottom: clamp(32px, 5vw, 56px); background: var(--pine); }
.page-head h1 { margin-top: 14px; font-size: clamp(2.25rem, 6vw, 4.75rem); font-weight: 900; font-stretch: 112%; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.page-head .lede { margin-top: 18px; color: #d5d2c3; }
.body-sec { padding-block: clamp(40px, 6vw, 72px); }
.body-sec + .body-sec { padding-top: 0; }
.body-sec h2 { font-size: clamp(1.625rem, 3.4vw, 2.5rem); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 36px; font-size: 1.375rem; font-stretch: 104%; text-transform: none; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 12px 0 0; color: #d5d2c3; }
.rows { list-style: none; margin: 28px 0 0; padding: 0; }
.rows > li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 8px 24px; padding: 18px 0; border-top: 1px solid var(--ridge); }
.rows h3 { font-size: 1.125rem; font-weight: 800; font-stretch: 104%; text-transform: uppercase; line-height: 1.2; }
.rows p { margin: 0; color: #d5d2c3; }
.rows .when { font: 400 .8125rem/1.5 var(--data); color: var(--mist); display: block; }
.rows strong { color: var(--moon); font-weight: 600; }
.rows a { text-underline-offset: 3px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.gallery figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ridge); border-radius: 3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.next-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--ridge); }
.next-links a { text-underline-offset: 3px; }
.chart-sm { display: none !important; }
select {
  width: 100%; min-height: 48px; padding: 11px 12px; background: #fbf8ec; color: var(--ink); color-scheme: light;
  font: 400 1rem/1.4 var(--body); border: 1.5px solid var(--paper-line); border-radius: 2px;
}
select:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.form-note { margin: 0; font-size: .8125rem; color: var(--ink-soft); }
.form-note a { color: inherit; }
.foot-cols a { color: inherit; }
.big404 { font-size: clamp(5rem, 22vw, 14rem); font-weight: 900; line-height: .9; color: var(--dawn); }
@media (max-width: 980px) {
  .nav > ul { display: none; }
  .menu { display: block; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .chart-lg { display: none !important; }
  .chart-sm { display: block !important; }
  .rows > li { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .nav .btn { padding-inline: .8em; font-size: .875rem; }
  .brand b { display: none; }
}
