:root {
  --c-teal: #0E7A80;
  --c-teal-light: #E0F0F0;
  --c-teal-mid: #6FB8BC;
  --c-yellow: #F5C518;
  --c-orange: #F29C38;
  --c-cream: #FAF6F0;
  --c-dark: #2E2A26;
  --c-brown: #6B5E56;
  --c-border: #D8CFC4;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, Georgia, "Times New Roman", serif;
  --container: 1240px;
  --radius: 2px;
  --shadow-card: 0 12px 28px rgba(46, 42, 38, .1);
  --z-header: 200;
  --z-progress: 400;
  --z-backtop: 300;
}

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

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

body {
  margin: 0;
  overflow-wrap: break-word;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-dark);
  background:
    linear-gradient(rgba(14, 122, 128, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 122, 128, .022) 1px, transparent 1px),
    var(--c-cream);
  background-size: 28px 28px, 28px 28px, auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 900;
  line-height: 1.18;
  color: var(--c-dark);
  margin: 0 0 .8em;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  padding-inline-start: 1.25em;
}

a {
  color: var(--c-teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--c-orange);
}

:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--c-yellow);
  color: var(--c-dark);
}

#main-content:focus {
  outline: none;
}

.display {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -.02em;
}

.caption {
  font-family: var(--font-sans);
  font-size: .875rem;
  color: var(--c-brown);
}

.title-gradient {
  background: linear-gradient(92deg, var(--c-teal) 0%, var(--c-teal-mid) 45%, var(--c-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.section {
  padding-block: clamp(48px, 8vw, 88px);
}

.section--tint {
  background: var(--c-teal-light);
}

.section--dark {
  background: var(--c-dark);
  color: var(--c-cream);
}

.section--dark .section-title,
.section--dark h1,
.section--dark h2 {
  color: var(--c-cream);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .22em;
  color: var(--c-teal);
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--c-yellow);
}

.section-title {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.16;
  margin: 0 0 10px;
}

.section-lead {
  max-width: 58ch;
  color: var(--c-brown);
  font-size: 1rem;
  margin: 0 0 28px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-block: 32px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-border);
}

.divider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-yellow);
  flex-shrink: 0;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--c-teal) 0%, var(--c-yellow) 70%, var(--c-orange) 100%);
  box-shadow: 0 0 8px rgba(245, 197, 24, .45);
  z-index: var(--z-progress);
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 500;
  padding: 10px 20px;
  background: var(--c-dark);
  color: var(--c-cream);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: .9rem;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--c-cream);
  box-shadow: 0 2px 14px rgba(46, 42, 38, .08);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 8px 8px 8px 2px;
  background:
    radial-gradient(circle at center, var(--c-yellow) 0 3.5px, transparent 4px),
    var(--c-teal);
  box-shadow: 2px 2px 0 var(--c-dark);
  transition: transform .3s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid var(--c-cream);
  border-radius: 50%;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-yellow);
  top: 1px;
  right: 1px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: .03em;
  color: var(--c-dark);
}

.brand-version {
  align-self: flex-start;
  padding: 2px 8px;
  background: var(--c-yellow);
  color: var(--c-dark);
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.5;
  border-radius: 2px;
  transform: rotate(-1.5deg);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 14px;
  border: 2px solid var(--c-dark);
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: .82rem;
  color: var(--c-dark);
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}

.nav-toggle:hover {
  background: var(--c-yellow);
  border-color: var(--c-dark);
  transform: rotate(-2deg) scale(1.03);
}

.nav-toggle__label {
  line-height: 1;
  font-weight: 800;
}

.nav-toggle__icon {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.nav-toggle__line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}

.nav-toggle__line:nth-child(1) {
  top: 0;
}

.nav-toggle__line:nth-child(2) {
  top: 5px;
}

.nav-toggle__line:nth-child(3) {
  top: 10px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.header-navbar {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: calc(var(--z-header) - 10);
  max-height: 0;
  overflow: hidden;
  background: var(--c-cream);
  visibility: hidden;
  opacity: 0;
  transition: max-height .35s ease, opacity .25s ease, visibility .25s ease;
}

.header-navbar[data-open] {
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  visibility: visible;
  opacity: 1;
  box-shadow: 0 20px 32px rgba(46, 42, 38, .18);
  border-bottom: 3px solid var(--c-teal);
}

.site-nav {
  font-family: var(--font-sans);
}

.nav-list {
  margin: 0;
  padding: 8px 0 16px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  counter-increment: nav-index;
}

.nav-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 12px;
  border-left: 4px solid transparent;
  border-bottom: 1px solid var(--c-border);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  color: var(--c-dark);
  transition: background .2s, color .2s, border-color .2s;
}

.nav-link::before {
  content: counter(nav-index, decimal-leading-zero);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .06em;
  color: var(--c-brown);
  transform: translateY(-2px);
}

.nav-link:hover {
  background: var(--c-teal-light);
  color: var(--c-teal);
}

.nav-link[aria-current="page"] {
  border-left-color: var(--c-teal);
  padding-left: 8px;
  background: var(--c-teal-light);
  color: var(--c-teal);
}

.nav-aside {
  display: none;
}

.header-accent {
  height: 6px;
  background: linear-gradient(90deg, var(--c-teal) 0 58%, var(--c-yellow) 58% 78%, var(--c-orange) 78% 100%);
}

@media (min-width: 768px) {
  .header-main {
    padding-block: 16px;
  }

  .nav-toggle {
    display: none;
  }

  .header-navbar {
    position: static;
    max-height: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    background: transparent;
    border-top: 1px solid var(--c-border);
    box-shadow: none;
  }

  .header-navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 50px;
  }

  .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2px;
    padding: 0;
  }

  .nav-link {
    position: relative;
    align-items: center;
    padding: 10px 16px;
    border-left: none;
    border-bottom: none;
    font-size: .92rem;
    transition: color .2s, background .2s, box-shadow .2s;
  }

  .nav-link::before {
    font-size: .6rem;
    transform: none;
  }

  .nav-link:hover {
    background: var(--c-teal-light);
    color: var(--c-teal);
    box-shadow: inset 0 -3px 0 var(--c-teal-mid);
  }

  .nav-link[aria-current="page"] {
    background: var(--c-teal-light);
    color: var(--c-teal);
    padding-left: 16px;
    box-shadow: inset 0 -4px 0 var(--c-teal);
  }

  .nav-aside {
    display: block;
    margin: 0;
    font-family: var(--font-sans);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .22em;
    color: var(--c-brown);
    text-transform: uppercase;
    white-space: nowrap;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: .95rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .15s ease, box-shadow .22s ease;
}

.btn:hover {
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 0 8px 18px rgba(46, 42, 38, .14);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--c-teal);
  border-color: var(--c-teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--c-dark);
  border-color: var(--c-dark);
  color: var(--c-yellow);
}

.btn-accent {
  background: var(--c-yellow);
  border-color: var(--c-yellow);
  color: var(--c-dark);
}

.btn-accent:hover {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--c-teal);
  color: var(--c-teal);
}

.btn-outline:hover {
  background: var(--c-teal);
  border-color: var(--c-teal);
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--c-teal);
  box-shadow: var(--shadow-card);
}

.card--tint {
  background: var(--c-teal-light);
  border-color: transparent;
}

.card--tint:hover {
  border-color: var(--c-teal);
}

.card__title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 900;
  margin: 0;
}

.card__desc {
  font-size: .92rem;
  color: var(--c-brown);
  margin: 0;
  line-height: 1.65;
}

.card__meta {
  margin: 4px 0 0;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--c-brown);
  text-transform: uppercase;
}

.card__link {
  margin-top: auto;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: .9rem;
  text-decoration: none;
}

.card__link:hover {
  color: var(--c-orange);
}

@media (min-width: 640px) {
  .grid--2,
  .grid--4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.tag--teal {
  background: var(--c-teal);
  color: #fff;
}

.tag--yellow {
  background: var(--c-yellow);
  color: var(--c-dark);
}

.tag--orange {
  background: var(--c-orange);
  color: #fff;
}

.tag--light {
  background: var(--c-teal-light);
  color: var(--c-teal);
}

.tag--ghost {
  background: transparent;
  border: 1px solid var(--c-border);
  color: var(--c-brown);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--c-border);
  background: var(--c-border);
  gap: 1px;
}

.stat-card {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 22px 14px;
  background: var(--c-cream);
  text-align: center;
}

.stat-card--tint {
  background: var(--c-teal-light);
}

.stat-number {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.1;
  color: var(--c-teal);
}

.stat-label {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--c-brown);
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.img-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border: 2px dashed var(--c-teal-mid);
  background:
    radial-gradient(circle at 78% 18%, rgba(245, 197, 24, .16), transparent 42%),
    linear-gradient(135deg, var(--c-teal-light), var(--c-cream));
  overflow: hidden;
}

.img-frame::before {
  content: "IMG";
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--c-teal);
  background: rgba(250, 246, 240, .72);
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  color: var(--c-teal);
}

.img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-frame:has(img)::before,
.img-frame.has-image::before {
  display: none;
}

.img-frame--portrait {
  aspect-ratio: 4 / 5;
}

.img-frame--square {
  aspect-ratio: 1 / 1;
}

.img-frame--wide {
  aspect-ratio: 21 / 9;
}

.breadcrumbs {
  padding-block: 14px;
  font-family: var(--font-sans);
  font-size: .8rem;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: var(--c-border);
  font-weight: 900;
}

.breadcrumbs__link {
  color: var(--c-brown);
  text-decoration: none;
}

.breadcrumbs__link:hover {
  color: var(--c-teal);
}

.breadcrumbs__current {
  color: var(--c-dark);
  font-weight: 800;
}

.panel {
  padding: clamp(20px, 4vw, 36px);
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-teal);
  border-radius: var(--radius);
}

.panel--mark {
  border-top-color: var(--c-teal);
}

.panel--warn {
  border-top-color: var(--c-yellow);
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  margin: 24px 0;
  border-left: 4px solid var(--c-orange);
  background: rgba(242, 156, 56, .1);
  font-size: .92rem;
  color: var(--c-dark);
}

.notice::before {
  content: "!";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-orange);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: .8rem;
  margin-top: 2px;
}

.prose {
  max-width: 72ch;
  color: var(--c-dark);
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2em;
}

.prose h3 {
  font-size: 1.15rem;
  margin-top: 1.4em;
}

.prose p {
  margin-bottom: 1em;
}

.prose ul,
.prose ol {
  margin-bottom: 1em;
}

.prose a {
  font-weight: 800;
}

.prose blockquote {
  margin: 1.5em 0;
  padding: 6px 0 6px 20px;
  border-left: 4px solid var(--c-yellow);
  color: var(--c-brown);
  font-style: italic;
}

.chapter {
  scroll-margin-top: 130px;
  padding-block: clamp(40px, 6vw, 64px);
}

.chapter + .chapter {
  border-top: 1px solid var(--c-border);
}

.chapter-num {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(3.8rem, 9vw, 7rem);
  line-height: .9;
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(14, 122, 128, .45);
  user-select: none;
}

.chapter-label {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .24em;
  color: var(--c-orange);
  text-transform: uppercase;
}

.chapter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chapter-links a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--c-border);
  background: var(--c-cream);
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 800;
  color: var(--c-brown);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background .2s, border-color .2s, color .2s;
}

.chapter-links a:hover {
  border-color: var(--c-teal);
  color: var(--c-teal);
}

.chapter-links a[aria-current="true"] {
  background: var(--c-yellow);
  border-color: var(--c-dark);
  color: var(--c-dark);
}

.accordion {
  border: 1px solid var(--c-border);
  background: var(--c-cream);
  border-radius: var(--radius);
}

.accordion-item {
  border-bottom: 1px solid var(--c-border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1rem;
  color: var(--c-dark);
  transition: background .2s;
}

.accordion-toggle:hover {
  background: var(--c-teal-light);
}

.accordion-toggle::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--c-teal-light);
  color: var(--c-teal);
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.1rem;
  transition: transform .25s ease, background .25s ease;
}

.accordion-item[data-open] .accordion-toggle::after {
  transform: rotate(45deg);
  background: var(--c-yellow);
  color: var(--c-dark);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .3s ease, visibility .3s ease;
}

.accordion-item[data-open] .accordion-panel {
  grid-template-rows: 1fr;
  visibility: visible;
}

.accordion-panel__inner {
  overflow: hidden;
}

.accordion-panel__inner p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--c-brown);
  font-size: .92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: var(--z-backtop);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--c-dark);
  color: var(--c-yellow);
  font-family: var(--font-sans);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(46, 42, 38, .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .25s ease;
}

.back-to-top:hover {
  background: var(--c-teal);
  color: #fff;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.site-footer {
  position: relative;
  background: var(--c-dark);
  color: var(--c-cream);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--c-teal) 0 58%, var(--c-yellow) 58% 78%, var(--c-orange) 78% 100%);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 48px);
  padding-block: clamp(40px, 6vw, 68px) clamp(28px, 4vw, 40px);
}

.footer-brand__kicker {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .24em;
  color: var(--c-yellow);
  text-transform: uppercase;
}

.footer-brand__name {
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--c-cream);
  line-height: 1.2;
}

.footer-brand__slogan {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: .9rem;
  color: var(--c-orange);
}

.footer-brand__desc {
  max-width: 36ch;
  margin: 0;
  color: rgba(250, 246, 240, .78);
  font-size: .88rem;
  line-height: 1.7;
}

.footer-heading {
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(250, 246, 240, .18);
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  color: var(--c-yellow);
  text-transform: uppercase;
}

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

.footer-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a {
  color: rgba(250, 246, 240, .82);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: .9rem;
  transition: color .2s ease, padding-left .2s ease;
}

.footer-list a:hover {
  color: var(--c-yellow);
  padding-left: 6px;
}

.footer-list--meta {
  gap: 14px;
}

.footer-meta-item {
  color: rgba(250, 246, 240, .78);
  font-size: .88rem;
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 18px;
  border-top: 1px solid rgba(250, 246, 240, .16);
  font-family: var(--font-sans);
  font-size: .78rem;
  color: rgba(250, 246, 240, .6);
}

.footer-copy,
.footer-icp {
  margin: 0;
}

@media (min-width: 640px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

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