/* =========================================================
   凤凰体育 · 共享样式表  /assets/site.css
   深空黑 × 炽焰橙红 × 数据青蓝 / 技术蓝图网格
   ========================================================= */

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

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

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

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

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

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

button { background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

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

/* ---------- 2. Tokens ---------- */
:root {
  --flame: #FF4E1F;
  --ember: #C22D0E;
  --void: #0B0E13;
  --panel: #151A23;
  --cyan: #22D3E0;
  --indigo: #2B2145;
  --wine: #6E1B33;
  --gold: #FFC24B;
  --sand: #F7F2EA;
  --slate: #98A2B3;

  --ink: #0B0E13;
  --ink-soft: #3B4插;
  --ink-soft: #3B4453;
  --on-dark: #C6CEDB;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --shell: 1320px;
  --gutter: clamp(18px, 4vw, 44px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --font-display: "Barlow Condensed", "DIN Alternate", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --line-dark: rgba(247, 242, 234, 0.10);
  --line-light: rgba(11, 14, 19, 0.10);
}

/* ---------- 3. Base typography ---------- */
body {
  font-family: var(--font-body);
  font-size: clamp(16px, 0.35vw + 15px, 17px);
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 900; }
h2 { font-size: clamp(24px, 2.8vw, 32px); }
h3 { font-size: clamp(19px, 1.6vw, 22px); }

.num {
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.005em;
  line-height: 1;
}

.micro {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}

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

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

.section--sand  { background: var(--sand); }
.section--dark  { background: var(--void); }
.section--panel { background: var(--panel); }
.section--indigo{ background: var(--indigo); }
.section--wine  { background: var(--wine); }

.section--dark,
.section--panel,
.section--indigo,
.section--wine { color: var(--on-dark); }

.section--dark :is(h1, h2, h3, h4),
.section--panel :is(h1, h2, h3, h4),
.section--indigo :is(h1, h2, h3, h4),
.section--wine :is(h1, h2, h3, h4) { color: var(--sand); }

.section--dark .kicker,
.section--panel .kicker,
.section--wine .kicker { color: var(--gold); }

.section-head {
  display: grid;
  gap: 14px;
  max-width: 62ch;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
}

.kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-title {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.lede { font-size: clamp(16px, 1.5vw, 18px); opacity: 0.82; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.prose {
  max-width: 66ch;
  font-size: 17px;
  line-height: 1.85;
}
.prose > * + * { margin-top: 1.1em; }
.prose :is(h2, h3) { margin-top: 1.9em; }
.prose a {
  color: var(--ember);
  border-bottom: 1px solid rgba(194, 45, 14, 0.35);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.prose a:hover { color: var(--flame); border-bottom-color: var(--flame); }

/* ---------- 5. Buttons & chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.btn--flame {
  background: var(--flame);
  color: var(--void);
  box-shadow: 0 14px 28px -20px rgba(255, 78, 31, 0.95);
}
.btn--flame:hover {
  background: var(--ember);
  color: var(--sand);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--sand);
  border-color: rgba(247, 242, 234, 0.24);
}
.btn--ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(34, 211, 224, 0.10);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-light);
  background: rgba(11, 14, 19, 0.04);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}
.tag--flame { border-color: rgba(255, 78, 31, 0.38); background: rgba(255, 78, 31, 0.10); color: var(--ember); }
.tag--cyan  { border-color: rgba(34, 211, 224, 0.45); background: rgba(34, 211, 224, 0.12); color: #0E7F8A; }
.tag--gold  { border-color: rgba(255, 194, 75, 0.50); background: rgba(255, 194, 75, 0.16); color: #8A6108; }

/* ---------- 6. Panels ---------- */
.panel {
  padding: clamp(20px, 2.6vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-light);
  background: #FFFFFF;
  box-shadow: 0 26px 52px -44px rgba(11, 14, 19, 0.75);
}

.panel--dark {
  background: var(--panel);
  border-color: var(--line-dark);
  color: var(--on-dark);
  box-shadow: 0 26px 52px -40px rgba(0, 0, 0, 0.9);
}
.panel--dark :is(h1, h2, h3, h4) { color: var(--sand); }

/* ---------- 7. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 12px var(--gutter);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 14, 19, 0.80);
  border-bottom: 1px solid rgba(247, 242, 234, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.skip-link {
  position: absolute;
  top: -72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 12px 24px;
  border-radius: 0 0 18px 18px;
  background: var(--flame);
  color: var(--void);
  font-size: 14px;
  font-weight: 800;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

.header-shell {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  max-width: var(--shell);
  margin-inline: auto;
  padding: 8px 8px 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(21, 26, 35, 0.90);
  border: 1px solid rgba(247, 242, 234, 0.09);
  box-shadow: 0 22px 46px -34px rgba(0, 0, 0, 0.95);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--flame), var(--ember));
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 16px; font-weight: 800; color: var(--sand); }
.brand-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--slate);
}

.nav-capsule {
  display: flex;
  align-items: center;
  margin-inline: auto;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(11, 14, 19, 0.62);
  border: 1px solid rgba(247, 242, 234, 0.07);
}

.nav-list { display: flex; align-items: center; gap: 2px; }

.nav-list a {
  display: block;
  padding: 10px 15px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  color: #C2CBD8;
  white-space: nowrap;
  transition:
    color 0.2s var(--ease),
    background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.nav-list a:hover {
  color: var(--sand);
  background: rgba(34, 211, 224, 0.12);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 224, 0.38);
}

.nav-list a[aria-current="page"] {
  background: var(--flame);
  color: var(--void);
  font-weight: 800;
  box-shadow: 0 12px 24px -16px rgba(255, 78, 31, 0.95);
}
.nav-list a[aria-current="page"]:hover {
  background: var(--ember);
  color: var(--sand);
  box-shadow: 0 12px 24px -16px rgba(194, 45, 14, 0.95);
}

.nav-actions { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(247, 242, 234, 0.20);
  color: var(--sand);
  font-size: 14px;
  font-weight: 700;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

.nav-toggle-bar {
  position: relative;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease);
}
.nav-toggle-bar::before { top: -5px; }
.nav-toggle-bar::after  { top: 5px; }

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

/* ---------- 8. Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(48px, 8vw, 96px);
  padding: clamp(44px, 6vw, 76px) var(--gutter) 26px;
  background: var(--void);
  color: var(--on-dark);
  border-top: 1px solid var(--line-dark);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(247, 242, 234, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 242, 234, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 76%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 76%);
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -170px;
  right: -90px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 78, 31, 0.30), transparent 68%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr) minmax(0, 1.25fr);
  gap: clamp(28px, 4vw, 56px);
  max-width: var(--shell);
  margin-inline: auto;
}

.footer-mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--flame), var(--ember));
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-name {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 800;
  color: var(--sand);
}

.footer-season {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.9;
  color: var(--slate);
}

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

.footer-col-title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.footer-col li + li { margin-top: 11px; }

.footer-col a {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #C2CBD8;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--sand); border-bottom-color: var(--flame); }

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(21, 26, 35, 0.88);
  border: 1px solid rgba(247, 242, 234, 0.08);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.footer-contact-row + .footer-contact-row { margin-top: 10px; }
.footer-contact-row:hover {
  border-color: rgba(34, 211, 224, 0.38);
  background: rgba(21, 26, 35, 1);
}

.footer-contact-key {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.footer-contact-val {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #C2CBD8;
  word-break: break-word;
}

.copy-btn {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(34, 211, 224, 0.42);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.copy-btn:hover { background: rgba(34, 211, 224, 0.14); }
.copy-btn[data-state="ok"] {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255, 194, 75, 0.14);
}
.copy-btn[data-state="fail"] {
  border-color: var(--flame);
  color: var(--flame);
  background: rgba(255, 78, 31, 0.12);
}

.footer-note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(152, 162, 179, 0.88);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  max-width: var(--shell);
  margin: clamp(32px, 5vw, 56px) auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate);
}
.footer-legal a {
  color: var(--slate);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-legal a:hover { color: var(--flame); border-bottom-color: var(--flame); }

/* ---------- 9. Breadcrumb ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumb li + li::before {
  content: "/";
  margin: 0 10px;
  color: rgba(152, 162, 179, 0.55);
}
.breadcrumb a {
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.breadcrumb a:hover { color: var(--flame); border-bottom-color: var(--flame); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* ---------- 10. Media frames ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(247, 242, 234, 0.10);
  background:
    linear-gradient(155deg, #1B2330 0%, var(--panel) 45%, var(--void) 100%);
}
.img-frame > img,
.img-frame > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(34, 211, 224, 0.18);
  background-image:
    linear-gradient(rgba(247, 242, 234, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 242, 234, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.img-frame--wide   { aspect-ratio: 21 / 9; }
.img-frame--tall   { aspect-ratio: 3 / 4; }
.img-frame--square { aspect-ratio: 1 / 1; }

.img-frame__overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: clamp(16px, 3vw, 28px);
  background: linear-gradient(180deg, rgba(11, 14, 19, 0), rgba(11, 14, 19, 0.92));
  color: var(--sand);
}

/* ---------- 11. Stat bars ---------- */
.stat-bar { display: grid; gap: 9px; }

.stat-bar__trace {
  position: relative;
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(11, 14, 19, 0.10);
  overflow: hidden;
}

.stat-bar__fill {
  width: var(--value, 0%);
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--flame), var(--cyan));
  transition: width 0.7s var(--ease);
}

.section--dark .stat-bar__trace,
.section--panel .stat-bar__trace,
.section--indigo .stat-bar__trace,
.section--wine .stat-bar__trace { background: rgba(247, 242, 234, 0.12); }

/* ---------- 12. Skill-path nodes ---------- */
.path { display: grid; gap: 12px; }

.path-node {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 20px 24px 20px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-light);
  background: #FFFFFF;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.path-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 3px;
  background: var(--flame);
  transition: background-color 0.2s var(--ease);
}
.path-node:hover {
  border-color: rgba(34, 211, 224, 0.42);
  box-shadow: 0 22px 44px -38px rgba(11, 14, 19, 0.9);
}
.path-node:hover::before { background: var(--cyan); }

.path-node__step {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}
.path-node__title { font-size: 17px; font-weight: 800; color: var(--ink); }

/* ---------- 13. Horizontal rail ---------- */
.rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(11, 14, 19, 0.22) transparent;
  scrollbar-width: thin;
}
.rail > * {
  flex: 0 0 min(310px, 78vw);
  scroll-snap-align: start;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb {
  background: rgba(11, 14, 19, 0.20);
  border-radius: 99px;
}

/* ---------- 14. Motion & a11y ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js [data-reveal] .stat-bar__fill { width: 0; }
.js [data-reveal].is-in .stat-bar__fill { width: var(--value, 0%); }

@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;
  }

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

  .js [data-reveal] .stat-bar__fill { width: var(--value, 0%); }

  .btn:hover,
  .nav-list a:hover { transform: none; }
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 1180px) {
  .brand-note { display: none; }
}

@media (max-width: 1080px) {
  .header-actions { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav-capsule {
    position: fixed;
    top: 80px;
    left: var(--gutter);
    right: var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    padding: 12px;
    border-radius: 28px;
    background: rgba(11, 14, 19, 0.98);
    border-color: rgba(247, 242, 234, 0.14);
    box-shadow: 0 34px 64px -32px rgba(0, 0, 0, 0.96);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.985);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }

  .nav-capsule[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }

  .nav-list a {
    padding: 15px 18px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 700;
  }

  .nav-actions {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(247, 242, 234, 0.12);
  }
  .nav-actions .btn { width: 100%; }

  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-contact { grid-column: 1 / -1; }

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

@media (max-width: 720px) {
  .header-shell { padding: 8px 8px 8px 12px; }
  .brand-mark { width: 40px; height: 40px; border-radius: 13px; font-size: 18px; }
  .nav-toggle { padding: 11px 14px; }

  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

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

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

@media (max-width: 480px) {
  .footer-links { grid-template-columns: minmax(0, 1fr); }
  .nav-toggle-label { display: none; }
  .img-frame--wide { aspect-ratio: 16 / 9; }
}
