@font-face {
  font-family: Barlow;
  src: url(assets/display.ttf);
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url(assets/sans.ttf);
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #101e22;
  --panel: #18292d;
  --white: #f7f0da;
  --muted: #b9c8c1;
  --orange: #ff916c;
  --line: #405357;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font:
    16px/1.6 DM,
    sans-serif;
}
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Barlow, Impact, sans-serif;
  line-height: 0.96;
}
a,
button {
  color: inherit;
  font: inherit;
}
a {
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
.shell {
  width: min(1180px, 90%);
  margin-inline: auto;
}
.masthead {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #101e22f5;
  border-bottom: 1px solid var(--line);
}
.header-inner,
nav,
.identity {
  display: flex;
  align-items: center;
}
.header-inner {
  min-height: 66px;
  justify-content: space-between;
  gap: 16px;
}
nav {
  gap: clamp(12px, 3vw, 36px);
}
nav a,
.header-contact {
  font-size: 14px;
}
nav a:hover,
.header-contact:hover,
footer a:hover {
  color: var(--orange);
}
.identity {
  gap: 10px;
  font:
    26px Barlow,
    sans-serif;
  white-space: nowrap;
}
.hero {
  isolation: isolate;
  background:
    linear-gradient(
      90deg,
      #101e22 3%,
      #101e22f5 23%,
      #101e2280 51%,
      #101e2210 77%
    ),
    url(assets/hero.svg) center center/cover;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  min-height: clamp(490px, 46vw, 690px);
  padding-block: clamp(58px, 8vw, 120px);
}
.kicker {
  font:
    600 11px/1.5 ui-monospace,
    monospace;
  color: var(--orange);
  letter-spacing: 0.14em;
}
.kicker span {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 0 8px 3px 0;
}
h1 {
  font-size: clamp(90px, 11vw, 172px);
  letter-spacing: -0.038em;
  margin: 14px 0 20px;
}
h1 span {
  color: var(--orange);
}
.hero-inner > p:not(.kicker) {
  color: #e2eadf;
  max-width: 370px;
  font-size: 18px;
  margin-bottom: 26px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  background: var(--orange);
  color: #16272b;
  padding: 12px 17px;
  border-radius: 3px;
  font-weight: 700;
}
.button:hover {
  background: #ffaf91;
}
.stats {
  border-bottom: 1px solid var(--line);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-grid div {
  display: grid;
  gap: 4px;
  padding: 20px 16px;
  border-left: 1px solid var(--line);
}
.stat-grid div:last-child {
  border-right: 1px solid var(--line);
}
.stat-grid strong {
  font:
    42px/0.95 Barlow,
    sans-serif;
}
.stat-grid span,
.case-body > p:not(.kicker),
.timeline p,
.toolbox dd {
  color: var(--muted);
}
.stat-grid span {
  font-size: 14px;
}
.section {
  padding-block: clamp(54px, 7.4vw, 108px);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
h2 {
  font-size: clamp(56px, 7vw, 94px);
  letter-spacing: -0.03em;
  margin-top: 9px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.filters button {
  padding: 7px 13px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
}
.filters button:hover {
  border-color: var(--orange);
}
.filters [aria-pressed="true"] {
  color: var(--ink);
  background: var(--orange);
  border-color: var(--orange);
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.case {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
}
.case img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.6;
  object-fit: cover;
}
.case-body {
  padding: clamp(17px, 3vw, 30px);
}
h3 {
  font-size: clamp(32px, 4.3vw, 53px);
  margin: 6px 0 10px;
}
details {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
summary {
  position: relative;
  cursor: pointer;
  color: var(--orange);
  padding: 13px 28px 0 0;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  position: absolute;
  right: 1px;
}
details[open] summary::after {
  content: "−";
}
details p {
  margin-top: 12px;
}
.tags {
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 0;
}
.tags li {
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
}
.band,
.contact {
  background: var(--panel);
  border-block: 1px solid var(--line);
}
.split {
  display: grid;
  gap: clamp(26px, 6vw, 94px);
  grid-template-columns: 3fr 5fr;
}
.timeline article,
.toolbox div {
  border-top: 1px solid var(--line);
  padding: 16px 0 24px;
}
.timeline h3 {
  font-size: clamp(30px, 3.4vw, 42px);
}
.timeline .role {
  color: var(--orange);
  margin-bottom: 8px;
}
.toolbox dt {
  font-weight: 700;
  margin-bottom: 5px;
}
.contact-links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 23px;
}
.contact-links > a:not(.button):hover {
  color: var(--orange);
}
footer {
  display: flex;
  justify-content: space-between;
  padding-block: 20px;
  font-size: 14px;
  color: var(--muted);
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 3;
  background: var(--ink);
  padding: 10px;
}
@media (max-width: 670px) {
  html {
    scroll-padding-top: 110px;
  }
  .header-inner {
    flex-wrap: wrap;
    padding-block: 8px;
    gap: 7px 10px;
  }
  nav {
    order: 3;
    width: 100%;
    gap: 23px;
  }
  .identity {
    font-size: 22px;
  }
  .identity img {
    width: 28px;
    height: 28px;
  }
  .hero {
    background:
      linear-gradient(#101e2200 9%, #101e2240 23%, #101e22 57%),
      url(assets/hero.svg) right top / auto 310px no-repeat;
  }
  .hero-inner {
    min-height: 510px;
    padding-block: 205px 32px;
  }
  h1 {
    font-size: clamp(72px, 17vw, 106px);
    margin-bottom: 14px;
  }
  .hero-inner > p:not(.kicker) {
    font-size: 16px;
    margin-bottom: 18px;
  }
  .stat-grid div {
    padding: 13px 8px;
    align-content: start;
  }
  .stat-grid strong {
    font-size: 34px;
  }
  .stat-grid span {
    font-size: 12px;
  }
  .case-grid,
  .split {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
