/* =========================================================
   奇异果体育站 · 共享样式 /assets/site.css
   1 Reset  2 Tokens  3 基础排版  4 布局工具
   5 通用组件  6 头部  7 页脚  8 动效与响应式
   ========================================================= */

/* ---------- 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, dl, dd, figure, blockquote, fieldset {
  margin: 0;
}

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

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

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

a { color: inherit; }

:focus-visible {
  outline: 3px solid #C8F169;
  outline-offset: 3px;
}

/* ---------- 2 Tokens ---------- */
:root {
  --ink: #071F16;
  --panel: #0E3325;
  --line: #2D5A3D;
  --kiwi: #9BE22B;
  --kiwi-hi: #C8F169;
  --skin: #6B4A2F;
  --seed: #111511;
  --orange: #FF8A2A;
  --orange-hi: #FFA25C;
  --snow: #F4F8EE;
  --muted: #A8B8AA;

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Courier New", monospace;

  --shell: min(1240px, calc(100% - clamp(2rem, 7vw, 5rem)));
  --cut-lg: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  --cut-sm: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(1180px 620px at 84% -12%, #12402C 0%, transparent 62%),
    radial-gradient(900px 540px at -10% 106%, #0C2C1E 0%, transparent 58%);
  background-repeat: no-repeat;
  color: var(--snow);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 900;
}

#main-content { scroll-margin-top: 104px; }
#main-content:focus { outline: none; }

::selection {
  background: var(--kiwi);
  color: var(--seed);
}

/* ---------- 4 布局工具 ---------- */
.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.display {
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.03;
  color: var(--snow);
}

.display em {
  font-style: normal;
  color: var(--kiwi);
}

.kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.prose {
  max-width: 720px;
  font-size: 1.02rem;
  line-height: 1.76;
  color: #DCE7DA;
}

.prose > * + * { margin-top: 1.1em; }

.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--snow);
  margin-top: 1.9em;
}

.prose h3 {
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--kiwi-hi);
}

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

.prose ul, .prose ol {
  padding-left: 1.25rem;
  list-style: disc;
}

.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose strong { color: var(--snow); font-weight: 800; }

.editorial {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(1.25rem, 3.5vw, 2.75rem);
  align-items: start;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.75rem);
}

/* ---------- 5 通用组件 ---------- */
.btn {
  --btn-bg: var(--kiwi);
  --btn-fg: var(--seed);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .78rem 1.4rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 900;
  font-size: .95rem;
  letter-spacing: .02em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: background-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}

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

.btn:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px rgba(17, 21, 17, .55), inset 0 0 0 6px var(--kiwi-hi);
}

.btn--kiwi { --btn-bg: var(--kiwi); --btn-fg: var(--seed); }
.btn--kiwi:hover { --btn-bg: var(--kiwi-hi); }

.btn--orange { --btn-bg: var(--orange); --btn-fg: var(--seed); }
.btn--orange:hover { --btn-bg: var(--orange-hi); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--snow);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover {
  --btn-bg: rgba(155, 226, 43, .1);
  --btn-fg: var(--kiwi-hi);
}

.btn--sm {
  padding: .55rem 1rem;
  font-size: .84rem;
}

.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: var(--cut-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.panel--lit {
  background: linear-gradient(150deg, #15452F 0%, #0E3325 62%);
}

.panel--snow {
  background: var(--snow);
  color: var(--seed);
  border-color: transparent;
}

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: var(--cut-lg);
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
}

.card-link {
  display: block;
  text-decoration: none;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}

.card-link:hover {
  background: #12402C;
  transform: translateY(-3px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .22rem .6rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(155, 226, 43, .12);
  color: var(--kiwi-hi);
  border: 1px solid rgba(155, 226, 43, .3);
}

.tag--orange {
  background: rgba(255, 138, 42, .14);
  color: #FFB27A;
  border-color: rgba(255, 138, 42, .35);
}

.tag--brown {
  background: rgba(107, 74, 47, .35);
  color: #E4CBAF;
  border-color: rgba(107, 74, 47, .7);
}

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: #0B2A1D;
  background-image:
    radial-gradient(120% 90% at 18% 12%, rgba(155, 226, 43, .3) 0%, transparent 58%),
    radial-gradient(85% 70% at 86% 92%, rgba(107, 74, 47, .55) 0%, transparent 62%),
    linear-gradient(150deg, #12402C 0%, #071F16 100%);
  clip-path: var(--cut-lg);
}

.media-frame picture { display: contents; }

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(17, 21, 17, .5) 1.4px, transparent 1.7px);
  background-size: 14px 14px;
  opacity: .32;
  mix-blend-mode: multiply;
}

.media-frame--clean::after { display: none; }
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.breadcrumb {
  padding-block: .8rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--muted);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.breadcrumb li + li::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 1px;
  background: var(--line);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .18s var(--ease);
}

.breadcrumb a:hover { color: var(--kiwi); }

.breadcrumb [aria-current="page"] {
  color: var(--snow);
  font-weight: 700;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}

.data-table th,
.data-table td {
  padding: .7rem .8rem;
  border-bottom: 1px solid rgba(45, 90, 61, .7);
  text-align: left;
  vertical-align: baseline;
}

.data-table th {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.data-table td.num {
  text-align: right;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- 6 头部 ---------- */
.skip-link {
  position: fixed;
  top: .6rem;
  left: .6rem;
  z-index: 300;
  padding: .62rem 1.1rem;
  background: var(--kiwi);
  color: var(--seed);
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
  clip-path: var(--cut-sm);
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(7, 31, 22, .99) 0%, rgba(7, 31, 22, .93) 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-frame {
  width: var(--shell);
  margin-inline: auto;
  padding: .6rem 0 .5rem;
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

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

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  flex: none;
  background: var(--kiwi);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--seed) 1.5px, transparent 1.8px);
  background-size: 9px 9px;
  background-position: 4px 4px;
  opacity: .88;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 2px solid rgba(17, 21, 17, .42);
  border-radius: 50%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
  gap: .2rem;
}

.brand-name {
  font-size: 1.04rem;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--snow);
}

.brand-domain {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: lowercase;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
  padding: .55rem .9rem;
  background: transparent;
  color: var(--snow);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: var(--cut-sm);
  transition: border-color .18s var(--ease), color .18s var(--ease);
}

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

.nav-toggle:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--kiwi-hi);
}

.nav-toggle-glyph {
  position: relative;
  display: block;
  width: 16px;
  height: 12px;
}

.nav-toggle-glyph::before,
.nav-toggle-glyph::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--kiwi);
  transition: transform .2s var(--ease);
}

.nav-toggle-glyph::before { top: 0; }
.nav-toggle-glyph::after { bottom: 0; }

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

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

.nav-toggle-text { line-height: 1; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: .15rem;
}

.nav-list a {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  padding: .52rem .7rem;
  color: var(--snow);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  clip-path: var(--cut-sm);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--muted);
  transition: color .18s var(--ease);
}

.nav-list a:hover {
  color: var(--kiwi);
  background: rgba(155, 226, 43, .08);
}

.nav-list a:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--kiwi-hi);
}

.nav-list a[aria-current="page"] {
  background: var(--kiwi);
  color: var(--seed);
}

.nav-list a[aria-current="page"]:hover {
  background: var(--kiwi-hi);
  color: var(--seed);
}

.nav-list a[aria-current="page"] .nav-index {
  color: rgba(17, 21, 17, .62);
}

.nav-list a[aria-current="page"]:focus-visible {
  box-shadow: inset 0 0 0 3px var(--seed);
}

.nav-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: .55rem;
  padding: .58rem 1.05rem;
  background: var(--orange);
  color: var(--seed);
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
  clip-path: var(--cut-sm);
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}

.nav-cta:hover {
  background: var(--orange-hi);
  transform: translateX(-2px);
}

.nav-cta:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--seed);
}

.header-rail {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .5rem;
  padding-top: .42rem;
  border-top: 1px solid rgba(45, 90, 61, .72);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.rail-tag {
  flex: none;
  color: var(--kiwi);
}

.rail-tick {
  flex: 1 1 auto;
  height: 7px;
  min-width: 24px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10px);
  opacity: .9;
}

.rail-state {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.rail-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: var(--orange);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--kiwi) 0%, var(--orange) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .1s linear;
}

/* ---------- 7 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 9vw, 6rem);
  background: linear-gradient(180deg, #0A2719 0%, #071F16 60%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 9px;
  background-image: repeating-linear-gradient(115deg, var(--line) 0 2px, transparent 2px 14px);
  opacity: .55;
  pointer-events: none;
}

.footer-frame {
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(2.25rem, 5vw, 3.5rem) 0 1.75rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.65fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .7rem;
}

.footer-mark {
  position: relative;
  width: 36px;
  height: 36px;
  background: var(--kiwi);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  overflow: hidden;
}

.footer-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--seed) 1.4px, transparent 1.7px);
  background-size: 8px 8px;
  background-position: 3px 3px;
  opacity: .9;
}

.footer-brand-name {
  font-size: 1.14rem;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--snow);
}

.footer-brand-line {
  max-width: 26ch;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--muted);
}

.footer-brand-domain {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--kiwi);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-col-title {
  margin-bottom: .9rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--kiwi-hi);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer-col a {
  position: relative;
  display: inline-block;
  color: var(--snow);
  font-size: .94rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s var(--ease), padding-left .18s var(--ease);
}

.footer-col a:hover {
  color: var(--kiwi);
  padding-left: .35rem;
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2rem, 4.5vw, 3rem);
  background: var(--line);
  border: 1px solid var(--line);
  clip-path: var(--cut-lg);
}

.contact-cell {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 0;
  padding: 1rem 1.1rem;
  background: #0A2A1C;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  font-family: var(--font-mono);
  font-size: .86rem;
  line-height: 1.6;
  color: var(--snow);
  overflow-wrap: anywhere;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(45, 90, 61, .72);
  font-size: .79rem;
  color: var(--muted);
}

.footer-legal {
  font-family: var(--font-mono);
  letter-spacing: .02em;
  color: var(--snow);
}

.footer-icp { color: var(--muted); }

.footer-note {
  flex: 1 1 280px;
  min-width: 0;
  line-height: 1.65;
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-left: auto;
  padding: .5rem .9rem;
  background: transparent;
  color: var(--kiwi);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: var(--cut-sm);
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.to-top:hover {
  background: rgba(155, 226, 43, .12);
  border-color: var(--kiwi);
  color: var(--kiwi-hi);
}

.to-top:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--kiwi-hi);
}

.to-top-glyph {
  width: 0;
  height: 0;
  display: inline-block;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid currentColor;
}

/* ---------- 8 动效 ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

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

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

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

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

  .skip-link { transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1099px) {
  .header-bar {
    gap: .75rem;
    justify-content: space-between;
  }

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

  .primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 120;
    width: min(88vw, 380px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    margin: 0;
    padding: 5rem 1.25rem 2.25rem;
    background: linear-gradient(180deg, #0E3325 0%, #071F16 100%);
    border-left: 1px solid var(--line);
    box-shadow: -26px 0 60px rgba(0, 0, 0, .5);
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(104%);
    transition: transform .26s var(--ease), visibility .26s var(--ease);
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    width: 100%;
  }

  .nav-list a {
    padding: .8rem .7rem;
    font-size: 1rem;
  }

  .nav-index { font-size: .7rem; }

  .nav-cta {
    width: 100%;
    margin: 1rem 0 0;
    padding: .8rem 1rem;
    font-size: .92rem;
  }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 900px) {
  .editorial { grid-template-columns: 1fr; }

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

@media (max-width: 700px) {
  body { font-size: 16px; }

  .header-frame { padding: .5rem 0 .45rem; }

  .brand-mark { width: 34px; height: 34px; }
  .brand-mark::after { inset: 11px; }
  .brand-name { font-size: .96rem; }
  .brand-domain { font-size: .6rem; letter-spacing: .08em; }

  .header-rail { font-size: .6rem; letter-spacing: .08em; }

  .rail-state { display: none; }

  .footer-nav { grid-template-columns: 1fr 1fr; gap: 1.25rem; }

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

  .to-top { margin-left: 0; }
}

@media (max-width: 420px) {
  .rail-tag { font-size: .58rem; }
  .nav-toggle-text { display: none; }
  .footer-nav { grid-template-columns: 1fr; }
}
