:root {
  --black: #0b0b0b;
  --ink: #171717;
  --muted: #5f6268;
  --line: #ded8ce;
  --paper: #fbf7ef;
  --paper-2: #f2eadf;
  --white: #ffffff;
  --red: #9d0208;
  --hot-red: #ff3b30;
  --orange: #f6aa1c;
  --yellow: #f2c94c;
  --green: #1f9d55;
  --blue: #1e5eff;
  --max: 1180px;
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 11, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(11, 11, 11, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

code {
  padding: 0.08rem 0.32rem;
  border: 1px solid rgba(11, 11, 11, 0.18);
  background: rgba(255, 255, 255, 0.62);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  transform: translateY(-160%);
  background: var(--black);
  color: var(--white);
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px;
  border: 1px solid rgba(11, 11, 11, 0.12);
  background: rgba(251, 247, 239, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(24, 20, 16, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.brand img {
  width: 152px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 0.65rem 0.82rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--black);
  background: rgba(246, 170, 28, 0.22);
}

.site-nav .language-link {
  margin-left: 6px;
  border: 1px solid rgba(11, 11, 11, 0.18);
  color: var(--black);
  background: rgba(255, 255, 255, 0.6);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(11, 11, 11, 0.18);
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--black);
}

.hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 96px) 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.72fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
}

.hero-heading {
  margin-bottom: 14px;
}

.hero-mark {
  float: left;
  width: clamp(96px, 10.5vw, 136px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 clamp(16px, 2.4vw, 28px) 10px 0;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid rgba(11, 11, 11, 0.16);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 6px 6px 0 rgba(246, 170, 28, 0.62);
  overflow: hidden;
}

.hero-mark img {
  display: block;
  width: 100%;
  transform: scale(1.36);
  transform-origin: center;
}

.hero-title-lockup::after {
  content: "";
  display: block;
  clear: both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

h2,
h3,
p {
  overflow-wrap: break-word;
}

.hero-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: #34312d;
  font-size: clamp(1.06rem, 1.8vw, 1.34rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1rem;
  border: 1px solid var(--black);
  text-decoration: none;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--black);
  color: var(--white);
  box-shadow: 5px 5px 0 var(--orange);
}

.button-secondary {
  background: var(--white);
  color: var(--black);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 38px 0 0;
  background: rgba(11, 11, 11, 0.18);
  border: 1px solid rgba(11, 11, 11, 0.18);
}

.hero-facts div {
  min-width: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 5px 0 0;
  font-weight: 800;
}

.hero-panel {
  align-self: start;
  margin-top: 34px;
  border: 1px solid rgba(11, 11, 11, 0.2);
  background: var(--black);
  color: var(--white);
  box-shadow: 14px 14px 0 rgba(157, 2, 8, 0.95);
}

.panel-top {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #d8d8d8;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(31, 157, 85, 0.18);
  justify-self: center;
}

.panel-top strong {
  color: var(--white);
  line-height: 1;
}

.terminal {
  padding: 22px;
  color: #f3f3f3;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
}

.terminal p {
  margin: 0 0 12px;
}

.terminal p span {
  color: var(--orange);
}

.terminal-output {
  color: #c8c8c8;
}

.terminal ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  color: #e7e0d4;
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.panel-metrics div {
  padding: 16px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.panel-metrics div:last-child {
  border-right: 0;
}

.panel-metrics span {
  display: block;
  color: var(--yellow);
  font-size: 1.55rem;
  font-weight: 950;
}

.panel-metrics small {
  display: block;
  color: #d0d0d0;
  line-height: 1.25;
}

.portfolio-brief,
.section,
.contact,
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.portfolio-brief {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 1px;
  background: rgba(11, 11, 11, 0.18);
  border: 1px solid rgba(11, 11, 11, 0.18);
}

.portfolio-brief div {
  padding: clamp(20px, 3vw, 32px);
  background: var(--white);
}

.portfolio-brief strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.portfolio-brief p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: clamp(72px, 10vw, 132px) 0;
}

.section-split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.section-heading {
  max-width: 520px;
}

.section-heading.wide {
  max-width: 830px;
}

.section-heading h2,
.contact h2,
.artifact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.artifact-copy p,
.contact p {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-tile {
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(11, 11, 11, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

.service-tile:nth-child(2) {
  background: rgba(246, 170, 28, 0.2);
}

.service-tile:nth-child(3) {
  background: rgba(255, 59, 48, 0.08);
}

.service-tile span,
.process-list span {
  color: var(--red);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-weight: 900;
}

.service-tile h3,
.stack-column h3,
.process-list h3,
.case-study h3 {
  margin: 12px 0 10px;
  font-size: 1.25rem;
}

.service-tile p,
.stack-column p,
.process-list p,
.case-study p {
  margin: 0;
  color: var(--muted);
}

.cases {
  border-top: 1px solid rgba(11, 11, 11, 0.14);
}

.case-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 18px;
}

.case-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}

.case-search {
  display: grid;
  gap: 7px;
}

.case-search span,
.case-counter {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.case-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(11, 11, 11, 0.22);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  outline: 0;
}

.case-search input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(157, 2, 8, 0.1);
}

.case-counter {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  border: 1px solid rgba(11, 11, 11, 0.16);
  background: var(--paper-2);
}

.filter-button,
.question-button,
.case-open {
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(11, 11, 11, 0.2);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active,
.question-button:hover,
.question-button.is-active,
.case-open:hover {
  background: var(--black);
  color: var(--white);
}

.case-list {
  display: grid;
  gap: 12px;
}

.case-study {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  border: 1px solid rgba(11, 11, 11, 0.18);
  background: rgba(255, 255, 255, 0.84);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.case-study:hover {
  transform: translateY(-2px);
  box-shadow: 8px 8px 0 rgba(246, 170, 28, 0.55);
}

.case-study.is-hidden {
  display: none;
}

.case-index {
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(11, 11, 11, 0.18);
  background: var(--paper-2);
  color: var(--red);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-weight: 950;
}

.case-main {
  padding: 24px;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.case-open {
  background: var(--white);
}

.case-empty {
  display: none;
  margin: 18px 0 0;
  padding: 20px;
  border: 1px solid rgba(11, 11, 11, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-weight: 800;
}

.case-empty.is-visible {
  display: block;
}

.case-study h3 {
  margin-top: 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.case-role {
  margin-bottom: 12px !important;
  color: var(--red) !important;
  font-weight: 850;
}

.case-points {
  display: grid;
  gap: 7px;
  margin: 18px 0;
  padding-left: 18px;
  color: #34312d;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags span {
  padding: 0.32rem 0.5rem;
  border: 1px solid rgba(11, 11, 11, 0.16);
  background: rgba(251, 247, 239, 0.82);
  color: #393735;
  font-size: 0.78rem;
  font-weight: 850;
}

.project-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  justify-items: end;
  pointer-events: none;
  visibility: hidden;
}

.project-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.project-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 11, 0.46);
  opacity: 0;
  transition: opacity 180ms ease;
}

.project-drawer.is-open .project-drawer-backdrop {
  opacity: 1;
}

.project-dossier {
  position: relative;
  width: min(560px, calc(100vw - 22px));
  height: 100%;
  overflow: auto;
  padding: clamp(24px, 4vw, 44px);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--black);
  color: var(--white);
  transform: translateX(102%);
  transition: transform 220ms ease;
  box-shadow: -18px 0 80px rgba(0, 0, 0, 0.28);
}

.project-drawer.is-open .project-dossier {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.project-dossier h2 {
  margin: 0;
  padding-right: 44px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.dossier-lead {
  color: #dedbd5;
  font-size: 1.04rem;
}

.dossier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 26px 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.dossier-grid div {
  min-width: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.dossier-grid span {
  display: block;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dossier-grid a,
.dossier-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--white);
  overflow-wrap: anywhere;
}

.dossier-section {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.dossier-section h3 {
  margin: 0 0 12px;
  color: var(--orange);
}

.dossier-section p,
.dossier-section li {
  color: #dedbd5;
}

.dossier-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.command-list {
  display: grid;
  gap: 8px;
}

.command-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: "SFMono-Regular", Consolas, monospace;
  text-align: left;
  cursor: pointer;
}

.command-copy code {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  overflow-wrap: anywhere;
}

.command-copy span {
  color: var(--orange);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stack {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: clamp(28px, 6vw, 78px);
  border-top: 1px solid rgba(11, 11, 11, 0.14);
}

.stack-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(11, 11, 11, 0.18);
  border: 1px solid rgba(11, 11, 11, 0.18);
}

.stack-column {
  min-height: 170px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
}

.stack-column:nth-child(3n) {
  background: rgba(246, 170, 28, 0.16);
}

.interview {
  border-top: 1px solid rgba(11, 11, 11, 0.14);
}

.interview-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.question-rail {
  display: grid;
  align-content: start;
  gap: 8px;
}

.answer-panel {
  min-height: 360px;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid rgba(11, 11, 11, 0.18);
  background: var(--black);
  color: var(--white);
}

.answer-kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-weight: 900;
}

.answer-panel h3 {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 3.4vw, 3rem);
  line-height: 1;
}

.answer-panel p,
.answer-panel li {
  color: #dedbd5;
  font-size: 1.04rem;
}

.answer-panel ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.process {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(28px, 6vw, 78px);
  border-top: 1px solid rgba(11, 11, 11, 0.14);
}

.process .section-heading {
  position: sticky;
  top: 116px;
}

.process-principle {
  margin-top: 24px;
  padding: 18px;
  border-left: 4px solid var(--red);
  background: rgba(255, 255, 255, 0.74);
}

.process-principle strong,
.process-principle span {
  display: block;
}

.process-principle strong {
  color: var(--red);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.process-principle span {
  margin-top: 4px;
  font-weight: 850;
}

.process-list {
  margin: 0;
  padding: 0;
  display: grid;
  counter-reset: process;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(11, 11, 11, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

.process-list li + li {
  margin-top: 12px;
}

.process-list li:nth-child(2) {
  background: rgba(246, 170, 28, 0.16);
}

.process-list li:nth-child(4) {
  background: rgba(11, 11, 11, 0.9);
  color: var(--white);
}

.process-list h3 {
  margin: 0 0 6px;
}

.process-list small {
  display: inline-block;
  margin-top: 12px;
  color: var(--red);
  font-weight: 850;
}

.process-list li:nth-child(4) p,
.process-list li:nth-child(4) small {
  color: #dedbd5;
}

.process-checklist {
  grid-column: 2;
  padding: 22px;
  border: 1px solid rgba(11, 11, 11, 0.18);
  background: var(--paper-2);
}

.process-checklist strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1rem;
}

.process-checklist ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding-left: 18px;
  color: #3b3731;
}

.artifacts {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  border-top: 1px solid rgba(11, 11, 11, 0.14);
}

.artifact-table {
  border: 1px solid rgba(11, 11, 11, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

.artifact-table div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  border-bottom: 1px solid rgba(11, 11, 11, 0.16);
}

.artifact-table div:last-child {
  border-bottom: 0;
}

.artifact-table span {
  padding: 16px;
}

.artifact-table span:first-child {
  border-right: 1px solid rgba(11, 11, 11, 0.16);
  color: var(--red);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  margin-bottom: 24px;
  padding: clamp(28px, 5vw, 56px);
  background: var(--black);
  color: var(--white);
}

.contact h2 {
  margin-top: 28px;
}

.contact p {
  color: #d8d4cc;
}

.contact .button-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.contact-actions p {
  width: 100%;
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 42px;
  color: var(--muted);
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    padding: 8px;
    border: 1px solid rgba(11, 11, 11, 0.16);
    background: var(--paper);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 0.85rem;
  }

  .hero,
  .section-split,
  .stack,
  .process,
  .artifacts,
  .contact,
  .interview-layout,
  .portfolio-brief {
    grid-template-columns: 1fr;
  }

  .process .section-heading {
    position: static;
  }

  .process-checklist {
    grid-column: auto;
  }

  .process-checklist ul {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero-panel {
    margin-top: 0;
    box-shadow: 8px 8px 0 rgba(157, 2, 8, 0.95);
  }

  .hero-facts,
  .panel-metrics,
  .service-grid,
  .stack-board,
  .case-tools {
    grid-template-columns: 1fr;
  }

  .panel-metrics div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .panel-metrics div:last-child {
    border-bottom: 0;
  }

  .question-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero,
  .section,
  .contact,
  .portfolio-brief,
  .site-footer {
    width: calc(100% - 22px);
  }

  .brand img {
    width: 132px;
  }

  h1 {
    font-size: clamp(2.55rem, 13.5vw, 4.2rem);
  }

  .case-study,
  .process-list li,
  .artifact-table div {
    grid-template-columns: 1fr;
  }

  .case-index {
    min-height: 44px;
    border-right: 0;
    border-bottom: 1px solid rgba(11, 11, 11, 0.18);
    place-items: center start;
    padding-left: 18px;
  }

  .artifact-table span:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(11, 11, 11, 0.16);
  }

  .question-rail,
  .hero-actions,
  .contact-actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
