/* =========================================================
   贝博 · 共享样式 /assets/site.css
   高原精密制造 · 展览画册式布局 · 悬浮胶囊导航
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --rock-white: #F5F1E8;
  --limestone: #E4DED0;
  --ink: #141A18;
  --turquoise-deep: #0E5B52;
  --turquoise-bright: #14A38F;
  --tibetan-red: #A5241E;
  --gold: #C9A227;
  --prayer-blue: #2C6E8F;
  --slate: #59635E;
  --amber: #E07A2F;

  --ink-80: rgba(20, 26, 24, .82);
  --ink-70: rgba(20, 26, 24, .70);
  --ink-45: rgba(20, 26, 24, .45);
  --ink-12: rgba(20, 26, 24, .12);
  --ink-06: rgba(20, 26, 24, .06);
  --light-88: rgba(245, 241, 232, .88);
  --light-80: rgba(245, 241, 232, .80);
  --light-55: rgba(245, 241, 232, .55);
  --light-30: rgba(245, 241, 232, .30);
  --light-14: rgba(245, 241, 232, .14);

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --shell: 1280px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --radius-pill: 999px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --shadow-float: 0 26px 60px -34px rgba(20, 26, 24, .58);
  --shadow-lift: 0 14px 34px -20px rgba(20, 26, 24, .45);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur-fast: .18s;
  --dur-mid: .24s;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

ul, ol { list-style: none; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

body {
  margin: 0;
  background: var(--rock-white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .004em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

strong, b { font-weight: 700; }

::selection {
  background: var(--turquoise-deep);
  color: var(--rock-white);
}

:focus-visible {
  outline: 2px solid var(--turquoise-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

#main-content {
  padding-top: clamp(118px, 13vw, 168px);
}

/* ---------- 3. Utilities ---------- */
.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translate(-50%, -180%);
  z-index: 200;
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--turquoise-deep);
  color: var(--rock-white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  box-shadow: var(--shadow-float);
  transition: transform var(--dur-mid) var(--ease);
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.display-xl {
  font-size: clamp(40px, 6.4vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.display-lg {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.display-md {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.02em;
}

.display-sm {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.75;
  color: var(--ink-80);
}

.measure { max-width: 38em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  flex: 0 0 auto;
}

.note {
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate);
  max-width: 34em;
}

.text-turquoise { color: var(--turquoise-deep); }
.text-red { color: var(--tibetan-red); }
.text-gold { color: var(--gold); }
.text-slate { color: var(--slate); }

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

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

.section--airy { padding-block: clamp(72px, 11vw, 156px); }
.section--tight { padding-block: clamp(36px, 5vw, 68px); }

.section--limestone { background: var(--limestone); }
.section--ink {
  background: var(--ink);
  color: var(--light-80);
}

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

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }

.divider-ticks {
  height: 14px;
  border-top: 1px solid var(--ink-12);
  background-image: repeating-linear-gradient(90deg, rgba(201, 162, 39, .85) 0 1px, transparent 1px 32px);
  background-repeat: repeat;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-mid) var(--ease),
              color var(--dur-mid) var(--ease),
              border-color var(--dur-mid) var(--ease),
              transform var(--dur-mid) var(--ease),
              box-shadow var(--dur-mid) var(--ease);
}

.btn--compact {
  padding: 9px 16px;
  font-size: 13.5px;
}

.btn--primary {
  background: var(--turquoise-deep);
  color: var(--rock-white);
  box-shadow: 0 14px 28px -20px rgba(14, 91, 82, .95);
}

.btn--primary:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--ink-12);
  color: var(--ink-80);
}

.btn--ghost:hover {
  border-color: var(--turquoise-bright);
  color: var(--turquoise-deep);
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
}

.btn--gold:hover {
  background: var(--amber);
  transform: translateY(-2px);
}

.section--ink .btn--ghost {
  border-color: var(--light-30);
  color: var(--light-88);
}

.section--ink .btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 120;
  display: flex;
  justify-content: center;
  padding-inline: var(--gutter);
  pointer-events: none;
  transition: top var(--dur-mid) var(--ease);
}

.header-island {
  pointer-events: auto;
  position: relative;
  width: 100%;
  max-width: var(--shell);
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
  padding: 10px 12px 10px 22px;
  border-radius: var(--radius-pill);
  background: rgba(245, 241, 232, .88);
  border: 1px solid var(--ink-12);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
  box-shadow: 0 22px 46px -34px rgba(20, 26, 24, .62);
  transition: padding var(--dur-mid) var(--ease),
              background-color var(--dur-mid) var(--ease),
              box-shadow var(--dur-mid) var(--ease);
}

.site-header.is-condensed {
  top: 12px;
}

.site-header.is-condensed .header-island {
  padding: 7px 10px 7px 18px;
  background: rgba(245, 241, 232, .74);
  box-shadow: 0 16px 34px -30px rgba(20, 26, 24, .58);
}

/* 品牌署名 */
.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-block: 4px;
}

.brand-glyph {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--turquoise-deep) 0%, var(--turquoise-bright) 45%, var(--gold) 100%);
  box-shadow: inset 0 0 0 1px rgba(245, 241, 232, .45);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand-sign {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--ink);
}

.brand-line {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--slate);
  white-space: nowrap;
}

/* 主导航 */
.primary-nav {
  display: flex;
  justify-content: center;
  min-width: 0;
}

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

.nav-link {
  display: inline-block;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink-70);
  transition: background-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}

.nav-link:hover {
  background: var(--limestone);
  color: var(--ink);
}

.nav-link[aria-current="page"] {
  background: var(--turquoise-deep);
  color: var(--rock-white);
  font-weight: 600;
  box-shadow: 0 12px 24px -18px rgba(14, 91, 82, .95);
}

.nav-link[aria-current="page"]:hover {
  background: var(--turquoise-deep);
  color: var(--rock-white);
}

/* 右侧动作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.header-strip {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-right: 4px;
  padding-right: 14px;
  border-right: 1px solid var(--ink-12);
  text-align: right;
}

.header-strip-item {
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--slate);
  white-space: nowrap;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink-12);
  border-radius: 50%;
  background: rgba(245, 241, 232, .6);
  transition: border-color var(--dur-mid) var(--ease), background-color var(--dur-mid) var(--ease);
}

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

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--dur-mid) var(--ease), opacity var(--dur-mid) var(--ease);
}

.site-header[data-open] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@keyframes nav-panel-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 7. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(72px, 11vw, 160px);
  background: var(--ink);
  color: var(--light-80);
  overflow: hidden;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -38%;
  width: min(680px, 76vw);
  height: min(680px, 76vw);
  background: radial-gradient(circle at 32% 32%, rgba(20, 163, 143, .22), transparent 62%);
  pointer-events: none;
}

.footer-ridge {
  position: relative;
  height: 14px;
  background-image: repeating-linear-gradient(90deg, rgba(201, 162, 39, .55) 0 1px, transparent 1px 30px);
}

.footer-ridge::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--turquoise-deep) 0%, var(--prayer-blue) 36%, var(--gold) 70%, var(--tibetan-red) 100%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 84px) var(--gutter) clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 2.1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 4vw, 60px);
}

.footer-brand-sign {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--rock-white);
  line-height: 1.15;
}

.footer-brand-text {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--light-55);
  max-width: 30em;
}

.footer-record {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(201, 162, 39, .45);
  border-radius: var(--radius-pill);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--gold);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, .48);
  margin-bottom: 16px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  display: inline-block;
  font-size: 14.5px;
  color: var(--light-80);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.footer-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-key {
  font-size: 11.5px;
  letter-spacing: .14em;
  color: rgba(245, 241, 232, .42);
}

.footer-contact-value {
  font-size: 14px;
  color: var(--rock-white);
  word-break: break-word;
}

.footer-note {
  margin-top: 18px;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
  font-size: 13px;
  line-height: 1.75;
  color: var(--light-55);
}

.footer-base {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 20px var(--gutter) 34px;
  border-top: 1px solid var(--light-14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-copy {
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(245, 241, 232, .48);
}

.footer-base-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-base-links .footer-link {
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(245, 241, 232, .62);
}

/* ---------- 8. Cards & data ---------- */
.card {
  position: relative;
  background: var(--limestone);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 34px);
}

.card--float {
  background: var(--rock-white);
  border: 1px solid var(--ink-12);
  box-shadow: var(--shadow-float);
  transform: translateY(-4px);
  transition: transform var(--dur-mid) var(--ease),
              border-color var(--dur-mid) var(--ease),
              box-shadow var(--dur-mid) var(--ease);
}

.card--float:hover {
  transform: translateY(-6px);
  border-color: var(--turquoise-bright);
  box-shadow: 0 30px 68px -34px rgba(20, 26, 24, .62);
}

.card--ink {
  background: var(--ink);
  color: var(--light-80);
}

.card-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.35;
}

.card-text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-70);
}

.card--ink .card-text { color: var(--light-55); }

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

.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.05;
  color: var(--turquoise-deep);
  font-variant-numeric: tabular-nums;
}

.section--ink .stat-value,
.card--ink .stat-value { color: var(--gold); }

.stat-label {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--slate);
}

/* 标签 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  border: 1px solid transparent;
}

.badge--cert {
  background: rgba(165, 36, 30, .1);
  border-color: rgba(165, 36, 30, .4);
  color: var(--tibetan-red);
}

.badge--warranty {
  background: rgba(14, 91, 82, .1);
  border-color: rgba(14, 91, 82, .38);
  color: var(--turquoise-deep);
}

.badge--stock {
  background: rgba(224, 122, 47, .14);
  border-color: rgba(224, 122, 47, .45);
  color: #A9531A;
}

.tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: var(--radius-sm);
  background: var(--ink-06);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--slate);
}

.callout {
  padding: 18px 22px;
  border-left: 3px solid var(--tibetan-red);
  background: rgba(165, 36, 30, .05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-80);
}

/* ---------- 9. Breadcrumb & prose ---------- */
.breadcrumb {
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--slate);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb li::after {
  content: "/";
  margin-left: 8px;
  color: var(--ink-45);
}

.breadcrumb li:last-child::after { content: ""; margin: 0; }

.breadcrumb a {
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.breadcrumb a:hover {
  color: var(--turquoise-deep);
  border-bottom-color: var(--turquoise-bright);
}

.prose {
  max-width: 40em;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--ink-80);
}

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

.prose h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--ink);
  margin-top: 2.2em;
}

.prose h3 {
  font-size: 19px;
  color: var(--ink);
  margin-top: 1.8em;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li + li { margin-top: .4em; }

.prose a {
  color: var(--turquoise-deep);
  border-bottom: 1px solid rgba(20, 163, 143, .5);
}

.prose a:hover { border-bottom-color: var(--gold); }

.prose blockquote {
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  color: var(--slate);
  font-size: 15.5px;
}

/* ---------- 10. Media frames ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--limestone);
  background-image:
    repeating-linear-gradient(45deg, rgba(20, 26, 24, .045) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(-45deg, rgba(20, 26, 24, .045) 0 1px, transparent 1px 18px);
  aspect-ratio: var(--media-ratio, 4 / 3);
}

.media-frame > img,
.media-frame > svg,
.media-frame > video,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.media-frame--ink {
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(45deg, rgba(245, 241, 232, .06) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(-45deg, rgba(201, 162, 39, .08) 0 1px, transparent 1px 20px);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, rgba(20, 26, 24, 0) 42%, rgba(20, 26, 24, .34) 100%);
  transition: opacity var(--dur-mid) var(--ease);
}

.media-frame:hover::after { opacity: 1; }

.media-frame--round { border-radius: var(--radius-pill); }

/* ---------- 11. Motion ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .42s var(--ease), transform .42s var(--ease);
}

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

/* ---------- 12. Responsive ---------- */
@media (max-width: 1240px) {
  .header-strip { display: none; }
}

@media (max-width: 1080px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .site-header { top: 16px; }
  .site-header.is-condensed { top: 10px; }

  .header-island {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px 10px 10px 18px;
    border-radius: 26px;
  }

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

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 12px;
    border-radius: 24px;
    background: rgba(245, 241, 232, .98);
    border: 1px solid var(--ink-12);
    box-shadow: var(--shadow-float);
  }

  .site-header[data-open] .primary-nav {
    display: block;
    animation: nav-panel-in var(--dur-mid) var(--ease);
  }

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

  .nav-link {
    display: block;
    padding: 13px 16px;
    font-size: 15px;
    border-radius: 16px;
  }

  .header-actions .btn--ghost { display: none; }

  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9 {
    grid-column: span 12;
  }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  #main-content { padding-top: 108px; }
  .brand-line { display: none; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .grid-12 { gap: 18px; }
}

@media (max-width: 420px) {
  .btn--compact { padding: 8px 13px; font-size: 13px; }
  .header-island { padding: 8px 8px 8px 14px; }
}

/* ---------- 13. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

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

  .card--float,
  .btn:hover { transform: none; }
}
