/* ============================================================
   Site Kit · 乐鱼体育中文站 · /assets/site.css
   共享骨架：头部泳道轨道 / 移动抽屉 / 页脚 / 基础组件
   ============================================================ */

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

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

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

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

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

button {
  font: inherit;
  color: inherit;
}

a { color: inherit; }

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

/* ---------- tokens ---------- */
:root {
  --ink-950: #041E2B;
  --ink-900: #062734;
  --ink-800: #083B52;
  --pool-500: #0FB5C9;
  --pool-200: #9FE7EC;
  --coral-500: #FF6B4A;
  --coral-600: #E8502F;
  --lemon-400: #E4FF57;
  --graphite-900: #1C2329;
  --graphite-500: #66717B;
  --paper-100: #F4EBDD;
  --paper-200: #EFE3D1;
  --white: #F7FCFD;

  --rail-w: 92px;
  --shell-max: 1180px;
  --gutter: clamp(18px, 4vw, 48px);

  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --line: rgba(159, 231, 236, 0.18);
  --line-strong: rgba(15, 181, 201, 0.42);

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --ease: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---------- base ---------- */
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--white);
  background-color: var(--ink-950);
  background-image:
    radial-gradient(1100px 700px at 84% -14%, rgba(15, 181, 201, 0.26), transparent 62%),
    radial-gradient(880px 620px at 4% 104%, rgba(255, 107, 74, 0.16), transparent 66%),
    linear-gradient(178deg, #062734 0%, #041E2B 46%, #03151D 100%);
  background-repeat: no-repeat;
  min-height: 100vh;
}

::selection {
  background: var(--lemon-400);
  color: #0A2029;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.012em;
}

h1 {
  font-size: clamp(34px, 5.4vw, 64px);
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  margin: 0 0 0.55em;
}

h3 {
  font-size: clamp(19px, 2.2vw, 24px);
  margin: 0 0 0.5em;
}

h4 {
  font-size: clamp(16px, 1.7vw, 19px);
  margin: 0 0 0.45em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--pool-200); }

strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--lemon-400);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- utilities ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  display: inline-block;
  padding: 0.7em 1.15em;
  border-radius: var(--radius-pill);
  background: var(--lemon-400);
  color: #12202B;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 10px 26px -12px rgba(228, 255, 87, 0.9);
  transform: translateY(-180%);
  transition: transform 0.24s var(--ease);
}

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

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

.section {
  padding-block: clamp(40px, 6.5vw, 88px);
  position: relative;
}

.section--deep {
  background:
    linear-gradient(180deg, rgba(6, 39, 52, 0.94), rgba(4, 30, 43, 0.98));
  border-block: 1px solid var(--line);
}

.section--paper {
  background:
    radial-gradient(120% 96% at 102% 0%, rgba(15, 181, 201, 0.16), transparent 58%),
    radial-gradient(90% 80% at -8% 100%, rgba(255, 107, 74, 0.14), transparent 62%),
    var(--paper-100);
  color: var(--graphite-900);
}

.section--paper h2,
.section--paper h3,
.section--paper h4 {
  color: var(--graphite-900);
}

.section--paper a {
  color: #0A7583;
}

/* ---------- grid ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 26px);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

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

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--pool-200);
  text-transform: uppercase;
  margin: 0 0 14px;
}

.section--paper .eyebrow { color: #0A7583; }

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral-500);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(15, 181, 201, 0.12);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--pool-200);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lemon-400);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(159, 231, 236, 0.78);
}

.section--paper .stat__num { color: var(--coral-600); }
.section--paper .stat__label { color: var(--graphite-500); }

/* ---------- prose ---------- */
.prose {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(247, 252, 253, 0.86);
}

.prose h2, .prose h3 { color: var(--white); }
.prose ul, .prose ol { padding-left: 1.25em; margin-bottom: 1em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.45em; }
.prose a { color: var(--pool-200); text-underline-offset: 3px; }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  padding: 0.15em 0.4em;
  border-radius: 6px;
  background: rgba(15, 181, 201, 0.16);
  color: var(--pool-200);
}

.section--paper .prose { color: rgba(28, 35, 41, 0.88); }
.section--paper .prose h2,
.section--paper .prose h3 { color: var(--graphite-900); }
.section--paper .prose a { color: #0A7583; }
.section--paper .prose code {
  background: rgba(10, 117, 131, 0.12);
  color: #085F6B;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.55em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.24s var(--ease), background-color 0.24s var(--ease),
    color 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.btn--coral {
  background: var(--coral-500);
  color: #1B0A05;
  box-shadow: 0 12px 26px -14px rgba(255, 107, 74, 0.95);
}

.btn--coral:hover {
  background: #FF8163;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px rgba(255, 107, 74, 0.95);
}

.btn--ghost {
  background: rgba(159, 231, 236, 0.07);
  border-color: var(--line-strong);
  color: var(--pool-200);
}

.btn--ghost:hover {
  background: rgba(159, 231, 236, 0.16);
  border-color: var(--pool-200);
  transform: translateY(-2px);
}

.btn--lemon {
  background: var(--lemon-400);
  color: #14210A;
}

.btn--lemon:hover {
  background: #EFFF87;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.62em 1.1em;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.section--paper .btn--ghost {
  background: rgba(10, 117, 131, 0.08);
  border-color: rgba(10, 117, 131, 0.4);
  color: #0A7583;
}

/* ---------- breadcrumbs ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: rgba(159, 231, 236, 0.72);
}

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

.crumbs li + li::before {
  content: "／";
  color: rgba(159, 231, 236, 0.4);
}

.crumbs a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.crumbs a:hover {
  color: var(--lemon-400);
  border-color: rgba(228, 255, 87, 0.55);
}

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

.section--paper .crumbs { color: rgba(28, 35, 41, 0.6); }
.section--paper .crumbs [aria-current="page"] { color: var(--graphite-900); }

/* ---------- media containers ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 70% at 18% 0%, rgba(15, 181, 201, 0.5), transparent 62%),
    linear-gradient(158deg, #0A4A63 0%, #072E3E 55%, #041E2B 100%);
  isolation: isolate;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.media:hover img { transform: scale(1.035); }

.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

.media--slant {
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 96px;
}

.media--slant-rev {
  border-radius: var(--radius-lg) 96px var(--radius-lg) var(--radius-lg);
}

.media__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(4, 30, 43, 0.74);
  color: var(--pool-200);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  backdrop-filter: blur(6px);
}

.media::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% 40%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(159, 231, 236, 0.24), transparent);
  pointer-events: none;
}

/* ---------- tabs / 泳道标签页 ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  margin-bottom: clamp(18px, 2.6vw, 28px);
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(15, 181, 201, 0.1);
}

.tab {
  appearance: none;
  border: 0;
  padding: 0.62em 1.15em;
  border-radius: var(--radius-pill);
  background: transparent;
  color: rgba(247, 252, 253, 0.72);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: background-color 0.24s var(--ease), color 0.24s var(--ease);
}

.tab:hover { background: rgba(159, 231, 236, 0.16); color: var(--white); }

.tab[aria-selected="true"] {
  background: var(--pool-200);
  color: #04202C;
}

.section--paper .tabs {
  background: rgba(10, 117, 131, 0.08);
  border-color: rgba(10, 117, 131, 0.28);
}

.section--paper .tab { color: rgba(28, 35, 41, 0.7); }
.section--paper .tab[aria-selected="true"] {
  background: var(--graphite-900);
  color: var(--paper-100);
}

.tabpanel[hidden] { display: none; }

/* ============================================================
   HEADER · 侧边泳道轨道 + 移动抽屉
   ============================================================ */
.site-header { position: relative; }

/* --- rail ( desktop ) --- */
.rail { display: none; }

@media (min-width: 1024px) {
  .rail {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    width: var(--rail-w);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 10px 20px;
    overflow-y: auto;
    scrollbar-width: none;
    background: linear-gradient(180deg, #072C3B 0%, #041E2B 52%, #03151D 100%);
    border-right: 1px solid var(--line-strong);
    box-shadow: 18px 0 44px -34px rgba(0, 0, 0, 0.9);
  }

  .rail::-webkit-scrollbar { display: none; }

  .rail::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 7px;
    width: 2px;
    background: repeating-linear-gradient(
      180deg,
      rgba(15, 181, 201, 0.55) 0 11px,
      transparent 11px 32px
    );
    opacity: 0.7;
    pointer-events: none;
  }
}

.rail__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 8px 0 16px;
  text-decoration: none;
  color: var(--white);
  flex: 0 0 auto;
}

.rail__brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--pool-500), var(--lemon-400), var(--coral-500), var(--pool-500));
  box-shadow: 0 0 0 4px rgba(15, 181, 201, 0.14);
}

.rail__brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--ink-950);
}

.rail__brand-text {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
}

.rail__nav {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rail__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.rail__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
  padding: 9px 0;
  border-radius: 15px;
  text-decoration: none;
  color: rgba(247, 252, 253, 0.72);
  transition: background-color 0.24s var(--ease), color 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

.rail__link-index {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(159, 231, 236, 0.5);
  line-height: 1;
}

.rail__link-text {
  writing-mode: vertical-rl;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.rail__link:hover {
  background: rgba(15, 181, 201, 0.14);
  color: var(--white);
}

.rail__link[aria-current="page"] {
  background: rgba(15, 181, 201, 0.2);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(15, 181, 201, 0.4);
}

.rail__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: var(--lemon-400);
  box-shadow: 0 0 14px rgba(228, 255, 87, 0.85);
}

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

.rail__foot {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
}

.rail__cta {
  width: 100%;
  padding: 0.85em 0.4em;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  border-radius: 20px;
}

.rail__status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(159, 231, 236, 0.7);
  line-height: 1;
}

.rail__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lemon-400);
  box-shadow: 0 0 9px rgba(228, 255, 87, 0.9);
  animation: dot-pulse 3.2s var(--ease) infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

/* --- mobile bar --- */
.mobile-bar {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px clamp(14px, 4vw, 22px);
  background: rgba(4, 30, 43, 0.92);
  border-bottom: 1px solid var(--line-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mobile-bar__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
}

.mobile-bar__brand span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--pool-200);
}

@media (min-width: 1024px) {
  .mobile-bar { display: none; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(15, 181, 201, 0.14);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: background-color 0.24s var(--ease), border-color 0.24s var(--ease);
}

.nav-toggle:hover { background: rgba(15, 181, 201, 0.26); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--pool-200);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

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

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

/* --- scrim --- */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(3, 21, 29, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.scrim[data-open] {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .scrim { display: none; }
}

/* --- drawer --- */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: min(85vw, 338px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 20px 26px;
  overflow-y: auto;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(15, 181, 201, 0.28), transparent 62%),
    linear-gradient(168deg, #083B52 0%, #041E2B 64%, #03151D 100%);
  border-left: 1px solid var(--line-strong);
  box-shadow: -24px 0 60px -30px rgba(0, 0, 0, 0.95);
  transform: translateX(103%);
  visibility: hidden;
  transition: transform 0.4s var(--ease), visibility 0.4s var(--ease);
}

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

@media (min-width: 1024px) {
  .drawer { display: none; }
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer__title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--pool-200);
}

.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(159, 231, 236, 0.32);
  background: rgba(159, 231, 236, 0.08);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.drawer__close:hover {
  background: rgba(255, 107, 74, 0.26);
  border-color: rgba(255, 107, 74, 0.6);
}

.drawer__status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(228, 255, 87, 0.38);
  background: rgba(228, 255, 87, 0.1);
  color: var(--lemon-400);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.drawer__nav { width: 100%; }

.drawer__list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.drawer__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease),
    color 0.22s var(--ease);
}

.drawer__link-index {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(159, 231, 236, 0.7);
}

.drawer__link:hover {
  background: rgba(15, 181, 201, 0.16);
  color: var(--white);
}

.drawer__link[aria-current="page"] {
  background: rgba(15, 181, 201, 0.22);
  border-color: rgba(15, 181, 201, 0.55);
}

.drawer__link[aria-current="page"] .drawer__link-index { color: var(--lemon-400); }

.drawer__cta {
  margin-top: auto;
  width: 100%;
}

.drawer__note {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(159, 231, 236, 0.6);
}

html.is-nav-open { overflow: hidden; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 76px) 0 clamp(22px, 3vw, 34px);
  background: linear-gradient(180deg, #072B39 0%, #041E2B 46%, #03131B 100%);
  border-top: 1px solid var(--line-strong);
  color: rgba(247, 252, 253, 0.82);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral-500) 0%, var(--lemon-400) 38%, var(--pool-500) 72%, transparent 100%);
  transform: skewY(-0.5deg);
  transform-origin: left center;
}

.footer__glow {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15, 181, 201, 0.34), transparent 70%);
  pointer-events: none;
}

.footer__inner {
  position: relative;
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 52px);
}

@media (min-width: 800px) {
  .footer__top { grid-template-columns: 1.1fr 1fr; }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__mark {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: conic-gradient(from 140deg, var(--pool-500), var(--lemon-400), var(--coral-500), var(--pool-500));
}

.footer__mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #041E2B;
}

.footer__brandline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--white);
}

.footer__tagline {
  margin: 0;
  max-width: 26ch;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(159, 231, 236, 0.78);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.footer__col-title {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--lemon-400);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__link {
  width: fit-content;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(247, 252, 253, 0.8);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer__link:hover {
  color: var(--lemon-400);
  border-bottom-color: rgba(228, 255, 87, 0.55);
}

.footer__lane {
  height: 1px;
  margin: clamp(26px, 4vw, 44px) 0 clamp(16px, 2.4vw, 24px);
  background: repeating-linear-gradient(
    90deg,
    rgba(15, 181, 201, 0.55) 0 26px,
    transparent 26px 46px
  );
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(159, 231, 236, 0.68);
}

@media (min-width: 880px) {
  .footer__bottom {
    grid-template-columns: 1fr auto;
    align-items: end;
    column-gap: 32px;
  }

  .footer__legal { grid-column: 1; }
  .footer__copy { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}

.footer__contact { margin: 0; }

.footer__contact strong {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
}

.footer__legal { margin: 0; max-width: 70ch; }

.footer__copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(159, 231, 236, 0.52);
  white-space: nowrap;
}

/* ============================================================
   MOTION · reveal / progress
   ============================================================ */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 130;
  background: linear-gradient(90deg, var(--pool-500), var(--pool-200) 55%, var(--lemon-400));
  box-shadow: 0 0 14px rgba(159, 231, 236, 0.7);
  pointer-events: none;
  transition: width 0.12s linear;
}

@media (min-width: 1024px) {
  .scroll-progress {
    left: var(--rail-w);
    height: 4px;
  }
}

/* ============================================================
   RESPONSIVE · body offset for the desktop rail
   ============================================================ */
@media (min-width: 1024px) {
  body {
    padding-left: var(--rail-w);
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@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;
    scroll-behavior: auto !important;
  }

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

  .rail__dot { animation: none; }
}
