:root {
  color-scheme: light;
  --paper: oklch(0.965 0.018 88);
  --paper-deep: oklch(0.9 0.032 84);
  --ink: oklch(0.145 0.012 250);
  --muted: oklch(0.42 0.016 250);
  --soft: oklch(0.67 0.012 250);
  --line: oklch(0.76 0.017 82);
  --green: oklch(0.36 0.075 154);
  --red: oklch(0.54 0.16 28);
  --blue: oklch(0.46 0.09 248);
  --cream: oklch(0.985 0.011 95);
  --mono:
    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    monospace;
  --body:
    "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --display:
    "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(1180px, calc(100vw - 32px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  background:
    radial-gradient(
      circle at 18% 18%,
      oklch(0.92 0.035 78) 0 9rem,
      transparent 20rem
    ),
    linear-gradient(135deg, var(--paper), var(--cream) 54%, var(--paper-deep));
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  touch-action: manipulation;
  -webkit-tap-highlight-color: oklch(0.54 0.16 28 / 0.18);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(oklch(0.2 0.01 250 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.2 0.01 250 / 0.025) 1px, transparent 1px);
  background-size:
    100% 42px,
    42px 100%;
  mix-blend-mode: multiply;
  opacity: 0.42;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-color: oklch(0.145 0.012 250 / 0.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

a:hover {
  color: var(--green);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

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

h1,
h2,
h3 {
  scroll-margin-top: 24px;
}

.site-shell {
  width: var(--page);
  margin: 0 auto;
  position: relative;
}

.site-header {
  min-height: 96px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.brand-mark {
  width: clamp(58px, 6vw, 82px);
  display: inline-flex;
  transition: transform 240ms var(--ease);
}

.brand-mark:hover {
  transform: rotate(-4deg) translateY(-2px);
}

.brand-mark img {
  width: 100%;
  height: auto;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  font-family: var(--mono);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
  color: var(--muted);
  text-decoration: none;
  position: relative;
}

.site-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--red);
  transition: right 220ms var(--ease);
}

.site-nav a:hover::before,
.site-nav a[aria-current="page"]::before {
  right: 0;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--ink);
}

.nav-check,
.nav-button {
  display: none;
}

.nav-button-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(34px, 5vw, 64px) 0 clamp(44px, 6vw, 78px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.row-tag,
.section-label span,
.plate-kicker,
.plate-rail,
.ticker,
.site-footer,
.case-meta,
.case-link,
.hero-links,
.contact-links,
figcaption,
pre {
  font-family: var(--mono);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: 0;
}

h1 {
  max-width: 12.5ch;
  margin-bottom: 24px;
  font-size: clamp(3.7rem, 8.6vw, 7rem);
  line-height: 0.88;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5.2vw, 5.4rem);
  line-height: 0.9;
  text-wrap: balance;
}

h3 {
  margin-bottom: 6px;
  font-size: clamp(1.28rem, 2.2vw, 2rem);
  line-height: 1;
}

p {
  max-width: 64ch;
  color: var(--muted);
}

.hero-lede,
.page-hero p,
.project-copy p,
.case-body > p {
  max-width: 54ch;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.1vw, 1.72rem);
  line-height: 1.35;
}

.hero-links,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 30px;
  font-weight: 700;
}

.hero-links a,
.contact-links a,
.case-link,
.project-copy a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.hero-links a::after,
.contact-links a::after,
.case-link::after,
.project-copy a::after {
  content: " /";
  margin-left: 0.45em;
  color: var(--red);
}

.identity-plate {
  min-height: clamp(360px, 36vw, 470px);
  padding: clamp(24px, 4vw, 44px);
  border: 2px solid var(--ink);
  background:
    linear-gradient(135deg, oklch(0.14 0.012 250), oklch(0.21 0.022 250)),
    var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.8vw, 28px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 14px 14px 0 var(--red);
}

.identity-plate::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid oklch(0.985 0.011 95 / 0.24);
  pointer-events: none;
  z-index: -1;
}

.identity-plate::after {
  content: "SYSTEM";
  position: absolute;
  right: -42px;
  top: 70px;
  color: oklch(0.985 0.011 95 / 0.08);
  font-family: var(--mono);
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 700;
  transform: rotate(90deg);
  z-index: -1;
}

.plate-mark {
  width: min(30%, 118px);
  margin-left: auto;
  filter: invert(1);
  opacity: 0.94;
  transform: rotate(-8deg);
}

.plate-kicker {
  margin: auto 0 0;
  color: oklch(0.82 0.045 150);
  font-size: 0.82rem;
  font-weight: 700;
}

.plate-steps {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--cream);
  font-size: clamp(1.34rem, 2.45vw, 2.3rem);
  font-weight: 800;
  line-height: 0.94;
}

.plate-steps li {
  display: grid;
  grid-template-columns: 3.5ch minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.plate-steps span {
  color: oklch(0.82 0.045 150);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
}

.plate-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  padding-top: clamp(12px, 2vw, 18px);
  margin-top: clamp(4px, 1vw, 10px);
  border-top: 1px solid oklch(0.985 0.011 95 / 0.2);
  color: oklch(0.985 0.011 95 / 0.72);
  font-size: 0.74rem;
}

.ticker {
  margin: 0;
  width: 100%;
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--red);
  color: var(--cream);
  font-size: clamp(0.92rem, 1.6vw, 1.3rem);
  font-weight: 700;
}

.ticker-track {
  width: max-content;
  display: flex;
  gap: 36px;
  padding: 12px 18px;
  animation: ticker 28s linear infinite;
}

.ticker-track span::before {
  content: "/";
  margin-right: 36px;
  opacity: 0.55;
}

@keyframes ticker {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.split-section,
.project-callout,
.case-study,
.tool-cloud,
.contact-panel {
  padding: clamp(68px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--line);
}

.split-section,
.project-callout,
.case-study {
  display: grid;
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}

.split-section {
  grid-template-columns: minmax(0, 390px) minmax(0, 1fr);
}

.split-section > *,
.project-callout > *,
.case-study > *,
.contact-panel > *,
.hero > * {
  min-width: 0;
}

.section-label {
  position: sticky;
  top: 24px;
}

.section-label span {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-weight: 700;
}

.section-label h2 {
  max-width: 12.5ch;
  font-size: clamp(2.35rem, 3.8vw, 4.05rem);
  line-height: 0.92;
}

.work-rows {
  display: grid;
  border-top: 2px solid var(--ink);
}

.work-rows article,
.proof-ledger article,
.background-ledger article {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 8px clamp(18px, 3vw, 34px);
  align-items: start;
  padding: clamp(22px, 3.8vw, 42px) 0;
  border-bottom: 1px solid var(--line);
}

.work-rows article:last-child,
.proof-ledger article:last-child,
.background-ledger article:last-child {
  border-bottom: 0;
}

.row-tag {
  margin-bottom: 0;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  padding-top: 0.28em;
}

.work-rows h3,
.proof-ledger h3,
.background-ledger h3 {
  grid-column: 2;
  max-width: 20ch;
  font-size: clamp(1.48rem, 2.4vw, 2.24rem);
  line-height: 1.02;
}

.work-rows p:not(.row-tag),
.proof-ledger p:not(.row-tag),
.background-ledger p:not(.row-tag),
.note-stack p {
  margin-bottom: 0;
}

.work-rows p:not(.row-tag),
.proof-ledger p:not(.row-tag),
.background-ledger p:not(.row-tag) {
  grid-column: 2;
  max-width: 58ch;
}

.proof-ledger,
.background-ledger {
  display: grid;
  border-top: 2px solid var(--ink);
}

.note-stack {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.note-stack p {
  color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  line-height: 1.34;
}

.project-callout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
}

.project-callout > div:first-child {
  grid-column: 1 / -1;
}

.project-callout h2,
.case-title h2 {
  color: var(--red);
  max-width: 100%;
  font-size: clamp(3.15rem, 9vw, 6.4rem);
  line-height: 0.9;
}

.project-copy {
  justify-self: end;
  max-width: 680px;
  padding: clamp(24px, 4vw, 38px);
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: 10px 10px 0 var(--green);
}

.project-preview,
.case-hero-image,
.theme-grid figure {
  margin: 0;
}

.project-preview {
  align-self: end;
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: 10px 10px 0 var(--red);
}

.project-preview img,
.case-hero-image img,
.theme-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

figcaption {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.45;
}

.project-preview figcaption {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
}

.page-hero {
  min-height: min(520px, calc(100dvh - 96px));
  display: grid;
  align-content: center;
  padding: clamp(48px, 7vw, 88px) 0;
}

.page-hero h1 {
  max-width: 12ch;
}

.case-body {
  justify-self: end;
  width: min(100%, 740px);
  max-width: 740px;
}

.case-study {
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 44px);
}

.case-hero-image {
  width: 100%;
  max-width: 100%;
  margin-top: 34px;
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: 8px 8px 0 var(--green);
  overflow: hidden;
}

.case-hero-image figcaption {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
}

.case-showcase-image {
  box-shadow: 9px 9px 0 var(--red);
}

.case-showcase-image img {
  object-fit: contain;
}

.case-visual-stack {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}

.case-visual-stack .case-hero-image {
  margin-top: 0;
}

.case-ui-preview {
  box-shadow: 9px 9px 0 var(--red);
}

.case-ui-preview img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.case-console-preview {
  box-shadow: 9px 9px 0 var(--red);
}

.case-console-preview img {
  aspect-ratio: 1400 / 665;
  object-fit: cover;
  object-position: top center;
}

.case-workflow-preview {
  box-shadow: 9px 9px 0 var(--green);
}

.case-workflow-preview img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.case-meta {
  max-width: 100%;
  margin: 34px 0;
  border-top: 2px solid var(--ink);
}

.case-meta div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.case-meta dt {
  color: var(--blue);
  font-weight: 700;
}

.case-meta dd {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.case-proof-block {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.case-proof-copy {
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}

.case-proof-copy p {
  margin: 0;
}

.case-proof-copy p:not(.row-tag) {
  max-width: 58ch;
}

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

.theme-grid figure {
  border: 1px solid var(--ink);
  background: var(--cream);
}

.theme-grid figcaption {
  padding: 9px 11px 11px;
  color: var(--ink);
}

.code-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.code-ledger > div {
  min-width: 0;
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}

pre {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  margin: 10px 0 0;
  padding: 14px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.78rem;
  line-height: 1.55;
}

pre code {
  display: block;
  min-width: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.tool-cloud {
  display: grid;
  gap: 26px;
}

.tool-cloud h2 {
  max-width: 11ch;
}

.tool-cloud ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tool-cloud li {
  padding: 10px 13px;
  border: 1px solid var(--ink);
  background: var(--cream);
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 700;
  transform: rotate(var(--tilt, -1deg));
}

.tool-cloud li:nth-child(2n) {
  --tilt: 1deg;
}

.tool-cloud li:nth-child(3n) {
  --tilt: -2deg;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: end;
}

.contact-panel h2 {
  max-width: 12ch;
}

.site-footer {
  min-height: 96px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

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

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .identity-plate,
  .page-hero,
  .split-section,
  .project-callout,
  .case-study,
  .tool-cloud,
  .contact-panel {
    animation: enter 720ms var(--ease) both;
  }

  .identity-plate {
    animation-delay: 120ms;
  }

  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 940px) {
  .hero,
  .split-section,
  .project-callout,
  .case-study,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section-label {
    position: static;
  }

  .work-rows article {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .proof-ledger article,
  .background-ledger article {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .work-rows article p:not(.row-tag) {
    grid-column: 2;
  }

  .proof-ledger p:not(.row-tag),
  .background-ledger p:not(.row-tag) {
    grid-column: 2;
  }

  .identity-plate {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  :root {
    --page: calc(100vw - 28px);
  }

  .site-shell {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .site-shell * {
    min-width: 0;
  }

  body {
    background:
      radial-gradient(
        circle at 0% 10%,
        oklch(0.92 0.035 78) 0 7rem,
        transparent 18rem
      ),
      linear-gradient(135deg, var(--paper), var(--cream) 60%, var(--paper-deep));
  }

  body::before {
    background-size:
      100% 38px,
      38px 100%;
    opacity: 0.28;
  }

  .site-header {
    min-height: 108px;
    grid-template-columns: auto auto;
  }

  .nav-check {
    position: absolute;
    right: 0;
    top: 32px;
    display: block;
    width: 54px;
    height: 44px;
    opacity: 0;
    pointer-events: none;
  }

  .nav-button {
    justify-self: end;
    width: 54px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 7px;
    border: 2px solid var(--ink);
    background: var(--cream);
    cursor: pointer;
  }

  .nav-check:focus-visible + .nav-button {
    outline: 2px solid var(--red);
    outline-offset: 5px;
  }

  .nav-line {
    width: 21px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    padding: 18px 0 22px;
    border-top: 2px solid var(--ink);
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-check:checked ~ .site-nav {
    display: flex;
  }

  .hero,
  .page-hero {
    min-height: auto;
    padding: 36px 0 60px;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 4.4rem);
  }

  .hero-lede,
  .page-hero p,
  .project-copy p,
  .case-body > p,
  p {
    max-width: 100%;
  }

  .hero-lede,
  .page-hero p,
  .project-copy p,
  .case-body > p {
    font-size: 1.16rem;
  }

  .case-body {
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
  }

  .case-meta dd,
  figcaption,
  pre,
  code {
    overflow-wrap: anywhere;
  }

  .case-hero-image,
  .project-preview,
  .theme-grid figure {
    overflow: hidden;
  }

  .case-hero-image {
    width: calc(100% - 8px);
    max-width: calc(100% - 8px);
    box-shadow: 7px 7px 0 var(--green);
  }

  .case-showcase-image {
    box-shadow: 7px 7px 0 var(--red);
  }

  .case-visual-stack {
    gap: 22px;
    width: calc(100% - 8px);
  }

  .case-visual-stack .case-hero-image {
    width: 100%;
    max-width: 100%;
  }

  .case-ui-preview {
    box-shadow: 7px 7px 0 var(--red);
  }

  .case-ui-preview img {
    aspect-ratio: 4 / 3;
  }

  .case-console-preview {
    box-shadow: 7px 7px 0 var(--red);
  }

  .case-console-preview img {
    aspect-ratio: 16 / 9;
  }

  .case-workflow-preview {
    box-shadow: 7px 7px 0 var(--green);
  }

  .case-workflow-preview img {
    aspect-ratio: 16 / 9;
  }

  .identity-plate {
    min-height: 360px;
    padding: 24px;
    box-shadow: 8px 8px 0 var(--red);
  }

  .identity-plate::after {
    right: -34px;
    top: 66px;
    font-size: 4.4rem;
  }

  .ticker-track {
    animation-duration: 22s;
  }

  .split-section,
  .project-callout,
  .case-study,
  .tool-cloud,
  .contact-panel {
    padding: 58px 0;
  }

  .work-rows article,
  .proof-ledger article,
  .background-ledger article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .work-rows h3,
  .proof-ledger h3,
  .background-ledger h3,
  .proof-ledger p:not(.row-tag),
  .background-ledger p:not(.row-tag),
  .work-rows article p:not(.row-tag) {
    grid-column: auto;
  }

  .work-rows h3,
  .proof-ledger h3,
  .background-ledger h3 {
    max-width: 100%;
  }

  .row-tag {
    padding-top: 0;
  }

  .project-copy {
    padding: 22px;
    box-shadow: 7px 7px 0 var(--green);
  }

  .project-preview {
    box-shadow: 7px 7px 0 var(--red);
  }

  .theme-grid,
  .code-ledger {
    grid-template-columns: 1fr;
  }

  .case-proof-block .theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-proof-block .theme-grid figcaption {
    padding: 7px 8px 9px;
  }

  .case-meta div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0 36px;
  }
}

@media (max-width: 390px) {
  :root {
    --page: calc(100vw - 24px);
  }

  .site-shell {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .brand-mark {
    width: 58px;
  }

  h1 {
    font-size: clamp(2.9rem, 14vw, 4rem);
  }
}
