:root {
  --ink: #171412;
  --paper: #F7F3EA;
  --sand: #E7DDCB;
  --vermilion: #C43B2F;
  --amber: #D99A2B;
  --celadon: #3F7C69;
  --slate: #355C7D;
  --smoke: #6E665D;
  --deep: #0B0908;
  --neon: #66C7B0;
  --font-sans: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', 'SFMono-Regular', monospace;
  --shell: 1280px;
  --reading: 740px;
  --gutter: clamp(16px, 3vw, 40px);
  --section-space: clamp(56px, 8vw, 112px);
  --line-color: rgba(23, 20, 18, 0.16);
  --line-light: rgba(247, 243, 234, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-cut: 10px 10px 0 rgba(23, 20, 18, 0.08);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

strong,
b {
  font-weight: 800;
}

::selection {
  background: var(--amber);
  color: var(--deep);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.site-footer :focus-visible {
  outline-color: var(--neon);
}

#main-content {
  scroll-margin-top: 128px;
}

[data-section] {
  scroll-margin-top: 132px;
}

.shell {
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--deep);
  font-weight: 800;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-color: var(--deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
}

.header-utility {
  position: relative;
  background: var(--deep);
  color: var(--paper);
  border-bottom: 1px solid rgba(247, 243, 234, 0.14);
}

.header-utility__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  min-height: 64px;
  padding-block: 9px;
}

.brand-stamp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-stamp__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  background: var(--vermilion);
  color: var(--paper);
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 76% 100%, 0 100%);
}

.brand-stamp__text {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.1;
}

.brand-stamp__name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand-stamp__sub {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  margin-left: auto;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  background: var(--vermilion);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
}

.status-chip__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(102, 199, 176, 0.14);
  flex: 0 0 auto;
}

.header-hours {
  color: rgba(247, 243, 234, 0.68);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 7px 10px;
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(247, 243, 234, 0.28);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.nav-toggle__lines {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 12px;
  flex: 0 0 auto;
}

.nav-toggle__lines::before,
.nav-toggle__lines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: top 180ms var(--ease), transform 180ms var(--ease);
}

.nav-toggle__lines::before {
  top: 1px;
}

.nav-toggle__lines::after {
  top: 9px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before {
  top: 5px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::after {
  top: 5px;
  transform: rotate(-45deg);
}

.nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.reading-progress {
  height: 2px;
  overflow: hidden;
  background: rgba(247, 243, 234, 0.14);
}

.reading-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--vermilion), var(--amber));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.header-nav {
  position: relative;
  background: rgba(247, 243, 234, 0.98);
  border-bottom: 1px solid var(--line-color);
}

.header-nav__inner {
  display: flex;
  align-items: stretch;
  min-height: 58px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1.1vw, 16px);
  flex-wrap: wrap;
  min-width: 0;
}

.site-nav__item {
  display: flex;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 18px 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 10px;
  height: 2px;
  background: var(--vermilion);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms var(--ease);
}

.site-nav__index {
  color: var(--smoke);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.site-nav__link:hover {
  color: var(--vermilion);
}

.site-nav__link:hover::after {
  transform: scaleX(1);
}

.site-nav__link[aria-current="page"] {
  color: var(--vermilion);
}

.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav__link[aria-current="page"] .site-nav__index {
  color: var(--vermilion);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: 12px;
  padding: 10px 16px;
  background: var(--vermilion);
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%);
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-cta__arrow {
  color: var(--amber);
  font-family: var(--font-mono);
  line-height: 1;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 0 24px;
  background: var(--deep);
  color: var(--paper);
  border-top: 6px solid var(--vermilion);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -72px;
  right: -42px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(217, 154, 43, 0.28);
  transform: rotate(45deg);
  pointer-events: none;
}

.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 80px);
}

.footer-brand {
  min-width: 0;
}

.footer-brand__line {
  max-width: 13ch;
  color: var(--paper);
  font-size: clamp(1.75rem, 3.5vw, 3.15rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.footer-brand__note {
  max-width: 34ch;
  margin-top: 18px;
  color: rgba(247, 243, 234, 0.66);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-archive {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 8px 12px;
  border: 1px solid rgba(217, 154, 43, 0.42);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.footer-archive__label {
  color: rgba(247, 243, 234, 0.54);
}

.footer-archive__value {
  color: var(--amber);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 30px;
  min-width: 0;
}

.footer-col {
  min-width: 0;
}

.footer-col--contact {
  grid-column: auto;
}

.footer-col__title {
  margin-bottom: 14px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  display: inline-block;
  color: rgba(247, 243, 234, 0.8);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 180ms var(--ease), transform 180ms var(--ease);
}

.footer-links a:hover {
  color: var(--neon);
  transform: translateX(3px);
}

.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-contact__item {
  display: grid;
  gap: 2px;
  color: rgba(247, 243, 234, 0.82);
  font-size: 0.84rem;
  line-height: 1.55;
}

.footer-contact__label {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.footer-contact__value {
  display: block;
  overflow-wrap: anywhere;
}

.footer-contact__note {
  max-width: 30ch;
  color: rgba(247, 243, 234, 0.56);
  font-size: 0.76rem;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px 24px;
  flex-wrap: wrap;
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  color: rgba(247, 243, 234, 0.56);
  font-size: 0.74rem;
  line-height: 1.6;
}

.footer-legal {
  color: rgba(247, 243, 234, 0.72);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.footer-meta {
  color: rgba(247, 243, 234, 0.48);
}

.page-shell {
  padding-block: var(--section-space);
}

.content-column {
  width: min(var(--reading), 100%);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section--sand {
  background: var(--sand);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section--ink .lede,
.section--ink .prose {
  color: rgba(247, 243, 234, 0.78);
}

.section--ink .rule {
  background: rgba(247, 243, 234, 0.18);
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vermilion);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  flex: 0 0 auto;
}

.display-title {
  max-width: 12ch;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.lede {
  max-width: 64ch;
  color: var(--smoke);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.prose {
  max-width: var(--reading);
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.78;
}

.prose p + p {
  margin-top: 1.05em;
}

.prose h2,
.prose h3 {
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose a {
  color: var(--slate);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.prose a:hover {
  color: var(--vermilion);
}

.prose ul,
.prose ol {
  display: grid;
  gap: 0.45em;
  margin-block: 1em;
  padding-left: 1.4em;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li::marker {
  color: var(--vermilion);
}

.prose blockquote {
  margin-block: 1.5em;
  padding: 14px 18px;
  border-left: 3px solid var(--amber);
  background: rgba(231, 221, 203, 0.42);
  color: var(--smoke);
}

.rule {
  width: 100%;
  height: 1px;
  margin-block: clamp(28px, 5vw, 56px);
  border: 0;
  background: var(--line-color);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.split--wide-left {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
}

.split--wide-right {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.stack {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.cluster {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

.span-5 {
  grid-column: span 5;
}

.span-7 {
  grid-column: span 7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary {
  background: var(--vermilion);
  border-color: var(--vermilion);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--ink:hover {
  background: var(--vermilion);
  border-color: var(--vermilion);
  color: var(--paper);
}

.btn__meta {
  color: currentColor;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.72;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}

.tag--red {
  background: rgba(196, 59, 47, 0.08);
  color: var(--vermilion);
}

.tag--gold {
  background: rgba(217, 154, 43, 0.12);
  color: #8a5b09;
}

.tag--green {
  background: rgba(63, 124, 105, 0.1);
  color: var(--celadon);
}

.tag--blue {
  background: rgba(53, 92, 125, 0.09);
  color: var(--slate);
}

.cut-panel {
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line-color);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-cut);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.archive-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--smoke);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.archive-label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--amber);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--smoke);
  font-size: 0.76rem;
  line-height: 1.5;
}

.breadcrumbs__link {
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.breadcrumbs__link:hover {
  color: var(--vermilion);
  border-bottom-color: currentColor;
}

.breadcrumbs__current {
  color: var(--ink);
  font-weight: 700;
}

.breadcrumbs__sep {
  color: var(--smoke);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  border: 1px solid var(--line-color);
  background: var(--sand);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.media-frame__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms var(--ease), filter 420ms var(--ease);
}

.media-frame:hover .media-frame__img {
  transform: scale(1.035);
}

.media-frame__caption {
  margin-top: 8px;
  color: var(--smoke);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.media-frame--crop .media-frame__img {
  aspect-ratio: 4 / 3;
  object-position: center;
}

.section-index {
  display: grid;
  gap: 0;
  padding-left: 14px;
  border-left: 1px solid var(--line-color);
}

.section-index__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 8px 0;
  color: var(--smoke);
  font-size: 0.84rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.section-index__link::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 0.58em;
  background: currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.section-index__link:hover {
  color: var(--ink);
}

.section-index__link.is-active,
.section-index__link[aria-current="location"] {
  color: var(--vermilion);
  font-weight: 700;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}

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

@media (max-width: 1100px) {
  .site-nav__link {
    padding-inline: 6px;
    font-size: 0.86rem;
  }

  .site-nav__index {
    display: none;
  }

  .nav-cta {
    margin-left: 4px;
    padding-inline: 13px;
  }
}

@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand__line {
    max-width: 18ch;
  }

  .footer-brand__note {
    max-width: 52ch;
  }
}

@media (max-width: 920px) {
  .header-utility__inner {
    min-height: 58px;
    padding-block: 8px;
  }

  .header-hours {
    display: none;
  }

  .header-status {
    gap: 10px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: 2px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    display: grid;
    gap: 0;
    padding: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line-color);
    box-shadow: 0 18px 30px rgba(11, 9, 8, 0.16);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 200ms;
  }

  .site-nav[data-open] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav__list {
    display: grid;
    gap: 0;
    width: 100%;
    padding: 8px var(--gutter) 4px;
  }

  .site-nav__item {
    border-bottom: 1px solid var(--line-color);
  }

  .site-nav__link {
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
  }

  .site-nav__link::after {
    left: 0;
    right: auto;
    bottom: 8px;
    width: 30px;
  }

  .nav-cta {
    justify-content: center;
    margin: 12px var(--gutter) 18px;
    padding: 13px 18px;
    font-size: 0.95rem;
  }

  .split,
  .split--wide-left,
  .split--wide-right {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 112px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.8rem);
  }

  .display-title {
    max-width: 10ch;
  }

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

  .span-5,
  .span-7 {
    grid-column: 1 / -1;
  }

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

  .footer-col--contact {
    grid-column: 1 / -1;
  }

  .footer-contact__note {
    max-width: 48ch;
  }

  .footer-bottom {
    display: grid;
    justify-items: start;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }

  .brand-stamp__mark {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }

  .brand-stamp__name {
    font-size: 0.88rem;
  }

  .brand-stamp__sub {
    display: none;
  }

  .status-chip {
    padding: 5px 8px;
    font-size: 0.64rem;
  }

  .nav-toggle {
    padding-inline: 8px;
  }

  .nav-toggle__label {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-col--contact {
    grid-column: auto;
  }

  .footer-brand__line {
    max-width: 14ch;
  }

  .btn {
    width: 100%;
  }

  .cluster .btn {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .reading-progress__bar {
    transition: none;
  }
}
