/* ============================================================
   新利看台 · site.css
   1 Reset / 2 Tokens / 3 Base / 4 Shell & Section
   5 Header（topline + rail + quickbar）/ 6 Footer
   7 Buttons / 8 Components
   ============================================================ */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, blockquote, dl, dd {
  margin: 0;
}

ul, ol { padding: 0; }
ul[class], ol[class] { list-style: none; }

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

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

a { color: inherit; }

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------- */
:root {
  --paper: #F4F1E6;
  --ink: #17120F;
  --forest: #0B3D2E;
  --teal: #0F5A45;
  --cyan: #00E5C3;
  --orange: #FF6B35;
  --steel: #8B9490;
  --mist: #D8E4DE;
  --white: #FFFFFF;

  --line: rgba(23, 18, 15, 0.14);
  --line-soft: rgba(23, 18, 15, 0.08);
  --line-cyan: rgba(0, 229, 195, 0.32);
  --line-mist: rgba(216, 228, 222, 0.14);

  --ff-display: "Arial Narrow", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --ff-body: "Inter", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --ff-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --rail-w: 208px;
  --top-h: 68px;
  --bottom-h: 66px;
  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 56px);

  --shadow: 0 8px 24px rgba(23, 18, 15, 0.08);
  --shadow-lift: 0 14px 34px rgba(23, 18, 15, 0.12);
  --speed: 200ms;
}

/* ---------- 3. Base ---------- */
html { background: var(--paper); }

body {
  padding-top: var(--top-h);
  padding-left: var(--rail-w);
  padding-bottom: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
}

h1 { font-size: clamp(40px, 6.2vw, 72px); }
h2 { font-size: clamp(28px, 3.8vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
h4 { font-size: clamp(17px, 1.6vw, 20px); letter-spacing: 0; }

p { line-height: 1.78; }

::selection {
  background: var(--cyan);
  color: #062a20;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

/* ---------- 4. Shell & Section ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(44px, 6.4vw, 92px);
}

.section--tight { padding-block: clamp(28px, 4vw, 56px); }

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

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

.section--dark {
  background: var(--forest);
  color: var(--mist);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark a:not(.btn) { color: var(--cyan); }

.section--cut {
  clip-path: polygon(0 34px, 100% 0, 100% 100%, 0 100%);
  padding-top: clamp(64px, 8vw, 116px);
}

.divider {
  height: 1px;
  border: 0;
  background: var(--line);
  margin-block: clamp(26px, 4vw, 52px);
}

.section--dark .divider { background: var(--line-cyan); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--orange);
  flex: none;
}

.section--dark .eyebrow { color: var(--cyan); }
.section--dark .eyebrow::before { background: var(--cyan); }

.annotation {
  writing-mode: vertical-rl;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--steel);
  border-left: 1px solid var(--cyan);
  padding-left: 8px;
  line-height: 1;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* ---------- 5. Header ---------- */
.site-header { display: block; }

.topline {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--top-h);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 var(--gutter) 0 18px;
  background: var(--forest);
  color: var(--mist);
  border-bottom: 1px solid var(--line-cyan);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  flex: none;
}

.brand__dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 195, 0.18);
  flex: none;
}

.brand__name {
  writing-mode: vertical-rl;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.26em;
  line-height: 1;
  color: var(--white);
}

.topline__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
  white-space: nowrap;
}

.topline__round { color: var(--white); }

.topline__round::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--cyan);
  vertical-align: middle;
}

.topline__scale {
  width: 120px;
  height: 9px;
  background: repeating-linear-gradient(
    90deg,
    rgba(0, 229, 195, 0.75) 0 1px,
    transparent 1px 12px
  );
  flex: none;
}

.topline__update { color: var(--steel); }

.topline__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.topline__index {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  padding: 7px 12px;
  border: 1px solid var(--line-cyan);
  transition: background-color 160ms ease, color 160ms ease;
}

.topline__index:hover {
  background: rgba(0, 229, 195, 0.14);
  color: var(--white);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--line-cyan);
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.nav-toggle:hover { background: rgba(0, 229, 195, 0.14); }

.nav-toggle__bars {
  width: 16px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.nav-toggle__label { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.16em; }

.topline__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}

.topline__progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 90ms linear;
}

/* 左侧竖轨导航 */
.rail {
  position: fixed;
  top: var(--top-h);
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 80;
  display: flex;
  flex-direction: column;
  padding: 18px 0 16px;
  background: var(--forest);
  color: var(--mist);
  border-right: 1px solid var(--line-cyan);
  overflow: hidden;
}

.rail__caption {
  display: block;
  padding: 0 20px 12px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
}

.rail__list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.rail__item { border-bottom: 1px solid var(--line-mist); }

.rail__item:first-child { border-top: 1px solid var(--line-mist); }

.rail__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 15px 18px 15px 20px;
  color: var(--mist);
  text-decoration: none;
  transition: color var(--speed) ease;
}

.rail__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--teal);
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  opacity: 0;
  transition: opacity var(--speed) ease;
}

.rail__link:hover::before,
.rail__link:focus-visible::before { opacity: 1; }

.rail__link:hover { color: var(--white); }

.rail__num {
  position: relative;
  z-index: 1;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.rail__label {
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.rail__link[aria-current="page"] { color: var(--white); }

.rail__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--cyan);
  z-index: 2;
}

.rail__link[aria-current="page"] .rail__num { color: var(--cyan); }

.rail__link[aria-current="page"] .rail__label { font-weight: 800; }

.rail__cta {
  margin: 16px 16px 0;
  width: calc(100% - 32px);
  flex: none;
}

/* 移动快捷栏（桌面隐藏） */
.quickbar { display: none; }

/* ---------- 6. Footer ---------- */
.site-footer {
  position: relative;
  background: var(--forest);
  color: var(--mist);
  padding-top: clamp(46px, 6.5vw, 86px);
  border-top: 1px solid var(--line-cyan);
}

.site-footer__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(220px, 1.1fr) minmax(0, 1.8fr) minmax(220px, 1fr);
  align-items: start;
}

.footer__name {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--white);
}

.footer__tag {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
  max-width: 26em;
}

.footer__icp {
  margin-top: 14px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer__title::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--cyan);
  flex: none;
}

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

.footer__link {
  font-size: 14px;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--white);
  border-bottom-color: var(--cyan);
}

.footer__contact-line {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--mist);
}

.footer__contact-key {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  padding-top: 3px;
}

.footer__legal {
  margin-top: clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--line-cyan);
  padding-block: 20px 26px;
}

.footer__legal-inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 12px;
  color: var(--steel);
}

.footer__copy {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__legal-link {
  color: var(--mist);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer__legal-link:hover,
.footer__legal-link:focus-visible { color: var(--cyan); }

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease,
              border-color 180ms ease, transform 180ms ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--cta {
  background: var(--orange);
  color: #1a0d06;
  border-color: var(--orange);
}

.btn--cta:hover { background: #ff8257; border-color: #ff8257; }

.btn--line {
  border-color: var(--steel);
  color: var(--ink);
}

.btn--line:hover {
  border-color: var(--forest);
  background: var(--white);
}

.btn--ghost-light {
  border-color: rgba(216, 228, 222, 0.45);
  color: var(--mist);
}

.btn--ghost-light:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ---------- 8. Components ---------- */
.breadcrumb {
  padding-top: 18px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

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

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--steel);
}

.breadcrumb__link {
  color: var(--teal);
  text-decoration: none;
}

.breadcrumb__link:hover { text-decoration: underline; }

.breadcrumb [aria-current="page"] { color: var(--ink); }

.prose { max-width: 44em; }

.prose p {
  margin: 0 0 1.1em;
  font-size: 17px;
  line-height: 1.78;
}

.prose h2 { margin: 1.5em 0 0.6em; }
.prose h3 { margin: 1.3em 0 0.5em; }

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
}

.prose li { margin-bottom: 0.4em; }

.prose a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose strong { font-weight: 800; }

.grid {
  display: grid;
  gap: clamp(18px, 3vw, 36px);
}

.grid--halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: border-color var(--speed) ease, transform var(--speed) ease,
              box-shadow var(--speed) ease;
}

.card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.card--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px),
                     calc(100% - 18px) 100%, 0 100%);
}

.card--dark {
  background: var(--teal);
  border-color: var(--line-cyan);
  color: var(--mist);
  box-shadow: none;
}

.card--dark h3,
.card--dark h4 { color: var(--white); }

.card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.stat {
  display: grid;
  gap: 6px;
}

.stat__num {
  font-family: var(--ff-mono);
  font-size: clamp(34px, 6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--forest);
}

.section--dark .stat__num { color: var(--cyan); }

.stat__label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

.section--dark .stat__label { color: var(--mist); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px solid var(--line);
}

.tag--accent { border-color: var(--orange); color: #b8400f; }
.tag--deep { border-color: var(--teal); color: var(--teal); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease,
              border-color 160ms ease;
}

.chip:hover { border-color: var(--forest); }

.chip[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--forest);
}

.section--dark .chip {
  color: var(--mist);
  border-color: var(--line-mist);
}

.section--dark .chip[aria-pressed="true"] {
  background: var(--cyan);
  color: var(--forest);
  border-color: var(--cyan);
}

.accordion {
  border-top: 1px solid var(--line);
}

.section--dark .accordion,
.section--dark .accordion__item { border-color: var(--line-mist); }

.accordion__item { border-bottom: 1px solid var(--line); }

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--ff-display);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: inherit;
  cursor: pointer;
  transition: color 160ms ease;
}

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

.section--dark .accordion__trigger:hover { color: var(--cyan); }

.accordion__sign {
  flex: none;
  font-family: var(--ff-mono);
  font-size: 16px;
  color: var(--steel);
  transition: transform 240ms ease, color 240ms ease;
}

.accordion__item[data-open] .accordion__sign {
  transform: rotate(45deg);
  color: var(--orange);
}

.accordion__panel {
  overflow: hidden;
}

.accordion__panel > * {
  overflow: hidden;
}

.js .accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 240ms ease, visibility 240ms ease;
}

.js .accordion__item[data-open] .accordion__panel {
  grid-template-rows: 1fr;
  visibility: visible;
}

.accordion__panel p:last-child { margin-bottom: 1.2em; }

.figure { margin: 0; }

.figure__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(0, 229, 195, 0.20), transparent 62%),
    linear-gradient(160deg, #0F5A45 0%, #0B3D2E 72%);
}

.figure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(216, 228, 222, 0.14) 0 1px,
    transparent 1px 40px
  );
  pointer-events: none;
}

.figure__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure__caption {
  margin-top: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.figure--wide .figure__media { aspect-ratio: 21 / 9; }
.figure--tall .figure__media { aspect-ratio: 3 / 4; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms ease, transform 400ms ease;
}

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

/* ---------- 9. Responsive ---------- */
@media (max-width: 1100px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer__contact { grid-column: span 2; }
}

@media (max-width: 1023px) {
  :root {
    --rail-w: 0px;
    --top-h: 60px;
  }

  body {
    padding-left: 0;
    padding-bottom: var(--bottom-h);
  }

  .nav-toggle { display: inline-flex; }

  .rail {
    top: 0;
    width: min(82vw, 306px);
    padding-top: 22px;
    border-right: 1px solid var(--line-cyan);
    transform: translateX(-102%);
    visibility: hidden;
    z-index: 85;
    transition: transform var(--speed) ease, visibility var(--speed) ease;
    box-shadow: 24px 0 60px rgba(0, 0, 0, 0.42);
  }

  .rail[data-open] {
    transform: translateX(0);
    visibility: visible;
  }

  .rail__caption { padding-top: 6px; }

  .quickbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: var(--forest);
    border-top: 1px solid var(--line-cyan);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .quickbar__link,
  .quickbar__more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px 4px;
    min-height: var(--bottom-h);
    background: none;
    border: 0;
    border-left: 1px solid var(--line-mist);
    color: var(--mist);
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease;
  }

  .quickbar__link:first-child,
  .quickbar__more:first-child { border-left: 0; }

  .quickbar__link:hover,
  .quickbar__more:hover { background: rgba(0, 229, 195, 0.10); }

  .quickbar__link[aria-current="page"] { color: var(--cyan); }

  .quickbar__tick {
    width: 14px;
    height: 3px;
    background: currentColor;
    opacity: 0.45;
  }

  .quickbar__link[aria-current="page"] .quickbar__tick {
    background: var(--cyan);
    opacity: 1;
  }

  .quickbar__label { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; }

  .grid--halves,
  .grid--thirds,
  .grid--split { grid-template-columns: minmax(0, 1fr); }

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

  .col-4, .col-6, .col-8, .col-12 { grid-column: auto; }

  .section--cut { clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%); }
}

@media (max-width: 720px) {
  .topline {
    gap: 12px;
    padding-inline: 14px;
  }

  .brand__name {
    writing-mode: horizontal-tb;
    font-size: 17px;
    letter-spacing: 0.14em;
  }

  .topline__meta,
  .topline__index { display: none; }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__contact { grid-column: auto; }

  .footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }

  .footer__legal-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .figure--tall .figure__media { aspect-ratio: 4 / 3; }

  .annotation { display: none; }
}

@media (max-width: 420px) {
  .nav-toggle__label { display: none; }
  .footer__nav { grid-template-columns: minmax(0, 1fr); }
}

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

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

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

  .topline__progress-bar { transition: none; }
}
