﻿:root {
  --bg: #f5f7e0;
  --bg-2: #f0f6c6;
  --ink: #0f1a10;
  --ink-soft: #243626;
  --muted: #4c624f;
  --line: rgba(15, 26, 16, 0.12);
  --card: #ffffff;
  --card-2: #f7f8dc;
  --lime: #ffe100;
  --lime-2: #f7cf00;
  --gold: #ffd400;
  --amber: #ffea62;
  --tiger: #0e2a1a;
  --radius: 22px;
  --shadow-1: 0 16px 30px rgba(42, 38, 22, 0.12);
  --shadow-2: 0 32px 70px rgba(42, 38, 22, 0.2);
  --sidebar-w: 260px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(255, 225, 0, 0.35), transparent 60%),
    radial-gradient(860px 420px at 95% 10%, rgba(14, 42, 26, 0.28), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  display: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.shell { width: min(1200px, 92vw); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(252, 252, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .shell {
  width: 100%;
  margin: 0;
  padding: 0 24px 0 18px;
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-center { justify-self: center; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  position: relative;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 2px solid rgba(14, 42, 26, 0.75);
  background: #0e2a1a;
  box-shadow: 0 10px 20px rgba(14, 42, 26, 0.22);
}

.brand span { display: grid; line-height: 1.05; }
.brand strong {
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}
.brand small {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: #ffffff;
  border-color: rgba(42, 38, 22, 0.2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(42, 38, 22, 0.4);
  background: #ffffff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #2a2616;
  margin: 4px auto;
}

.header-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(42, 38, 22, 0.45);
  background: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section { padding: 56px 0; }

main {
  position: relative;
  background:
    linear-gradient(rgba(10, 20, 12, 0.6), rgba(10, 20, 12, 0.6)),
    url("../img/background.jpg") center / cover no-repeat;
  background-attachment: fixed;
}

.hero-mag,
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: stretch;
}

.hero-rail {
  border-radius: 22px;
  border: 1px solid rgba(42, 38, 22, 0.2);
  background: #ffffff;
  padding: 16px;
  box-shadow: var(--shadow-1);
  display: grid;
  gap: 12px;
  align-content: start;
}

.hero-rail-alt {
  background:
    linear-gradient(180deg, #ffffff, #f7f8dc 70%);
  border: 1px solid rgba(14, 42, 26, 0.25);
  box-shadow: var(--shadow-2);
}

.rail-top {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
}

.rail-emblem {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0e2a1a;
  background: linear-gradient(135deg, #ffe100, #ffd400);
  border: 1px solid rgba(14, 42, 26, 0.25);
}

.rail-title {
  display: block;
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: 1.05rem;
}

.rail-sub {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rail-card {
  border-radius: 16px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid rgba(14, 42, 26, 0.15);
  display: grid;
  gap: 10px;
}

.rail-row {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  align-items: center;
}

.rail-row strong {
  display: block;
  font-size: 0.9rem;
}

.rail-row span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.rail-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffe100;
  box-shadow: 0 0 0 3px rgba(255, 225, 0, 0.2);
}

.rail-links-alt {
  display: grid;
  gap: 8px;
}

.rail-item,
.rail-actions,
.rail-chip,
.rail-status,
.rail-links {
  display: none;
}

.rail-link-icon {
  width: 20px;
  height: 20px;
  justify-content: center;
  border-radius: 6px;
  display: flex;
  place-items: center;
  background: rgba(42, 38, 22, 0.08);
  border: 1px solid rgba(42, 38, 22, 0.15);
  font-weight: 700;
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  padding-left: calc(var(--sidebar-w) + 18px);
}

.page-content { min-width: 0; }

.page-layout .hero-rail {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  overflow: auto;
  padding-top: 92px;
}

.hero-core {
  border-radius: 26px;
  border: 2px solid rgba(42, 38, 22, 0.25);
  background:
    linear-gradient(160deg, #ffffff, #f6f7d3 60%),
    repeating-linear-gradient(135deg, rgba(14, 42, 26, 0.08) 0 18px, rgba(255, 225, 0, 0.16) 18px 36px);
  padding: clamp(18px, 3vw, 34px);
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}

.hero-min { display: grid; gap: 10px; }

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--ink);
  font-weight: 600;
}

.hero-core::after {
  content: "";
  position: absolute;
  inset: auto -15% -50% -15%;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 225, 0, 0.45), transparent 70%);
  animation: none;
  pointer-events: none;
}

.hero-visual {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 320px;
  background: linear-gradient(135deg, rgba(255, 225, 0, 0.35), rgba(14, 42, 26, 0.2));
  border: 2px solid rgba(42, 38, 22, 0.25);
  box-shadow: var(--shadow-2);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(120deg, rgba(14, 42, 26, 0.26) 0 16px, rgba(255, 225, 0, 0.2) 16px 32px);
  opacity: 0.28;
  animation: none;
}

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

.hero-stamps {
  position: absolute;
  inset: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  align-content: flex-end;
  z-index: 2;
}

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(42, 38, 22, 0.2);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-1);
  animation: none;
}

.stamp:nth-child(2) { animation-delay: 1.2s; }
.stamp:nth-child(3) { animation-delay: 2.4s; }

.stamp i {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 225, 0, 0.22);
  color: #0e2a1a;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.hero-badge::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--tiger);
}

h1, h2, h3 {
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  margin: 0 0 12px;
  line-height: 1.05;
}

h1 { font-size: clamp(2rem, 4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.5rem); }

p { margin: 0 0 12px; color: var(--ink-soft); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 10px 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
}

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

.btn-primary {
  color: #0e2a1a;
  background: linear-gradient(135deg, var(--lime), var(--gold));
  border-color: rgba(14, 42, 26, 0.6);
  box-shadow: 0 14px 28px rgba(14, 42, 26, 0.24);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-80%);
  animation: sheen 6s ease-in-out infinite;
}

.btn-ghost {
  color: var(--tiger);
  background: #ffffff;
  border-color: rgba(42, 38, 22, 0.35);
}

.btn-ghost.active,
.btn.active {
  color: #0e2a1a;
  background: linear-gradient(135deg, rgba(255, 225, 0, 0.25), rgba(14, 42, 26, 0.16));
  border-color: rgba(14, 42, 26, 0.5);
  box-shadow: var(--shadow-1);
}

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

.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  padding: clamp(14px, 2.2vw, 22px);
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
}

.panel {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--card-2);
  padding: clamp(16px, 2.6vw, 26px);
  box-shadow: var(--shadow-1);
}

.notice-strip {
  border-radius: 16px;
  border: 1px solid rgba(42, 38, 22, 0.2);
  background: rgba(255, 225, 0, 0.2);
  padding: 12px 14px;
  font-size: 0.9rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.metric {
  border-radius: 14px;
  border: 1px dashed rgba(42, 38, 22, 0.3);
  padding: 10px;
  background: #ffffff;
}

.metric span {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric strong { display: block; font-size: 1.2rem; color: var(--tiger); }

.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 212, 0, 0.5);
  background: rgba(255, 225, 0, 0.18);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.list li {
  padding-left: 18px;
  position: relative;
  color: var(--ink-soft);
}

.list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffe100;
  position: absolute;
  left: 0;
  top: 0.55em;
}

.catalog-showcase {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: start;
}

.catalog-feature {
  border-radius: 22px;
  border: 2px solid rgba(42, 38, 22, 0.22);
  background: #ffffff;
  box-shadow: var(--shadow-2);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.catalog-feature-media {
  position: relative;
  min-height: 320px;
  background: linear-gradient(160deg, rgba(255, 225, 0, 0.22), rgba(14, 42, 26, 0.18));
}

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

.catalog-badges {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(42, 38, 22, 0.2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-feature-body {
  padding: 18px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.catalog-stack { display: grid; gap: 12px; }

.catalog-mini {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(42, 38, 22, 0.2);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-1);
}

.catalog-mini img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(42, 38, 22, 0.18);
}

.board {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.review-ledger {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  align-items: start;
}

.review-hero {
  border-radius: 22px;
  border: 2px solid rgba(42, 38, 22, 0.25);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(238, 244, 210, 0.95));
  padding: 20px;
  box-shadow: var(--shadow-2);
}

.review-lead { font-size: 1.05rem; color: var(--ink); font-weight: 600; }

.review-points {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.review-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  border-radius: 14px;
  border: 1px solid rgba(42, 38, 22, 0.2);
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 12px;
  animation: floatSoft 7s ease-in-out infinite;
}

.review-point strong {
  width: 48px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #0e2a1a;
  color: #fff5b5;
  letter-spacing: 0.08em;
}

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

.review-tile {
  border-radius: 18px;
  border: 1px solid rgba(42, 38, 22, 0.2);
  background: #ffffff;
  padding: 14px;
  box-shadow: var(--shadow-1);
  display: grid;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }

.review-tile.highlight {
  background: linear-gradient(160deg, #fff8e2, #f4f2c6);
  border-width: 2px;
}

.review-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 225, 0, 0.22);
  border: 1px solid rgba(14, 42, 26, 0.2);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.review-header small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.review-tag {
  align-self: start;
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(42, 38, 22, 0.08);
  border: 1px solid rgba(42, 38, 22, 0.2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer {
  margin-top: 30px;
  padding: 30px 0 26px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 14px;
}

.footer-links { display: grid; gap: 8px; }
.footer-links a { padding: 6px 0; font-size: 0.86rem; color: var(--ink-soft); }

.footer-note { margin-top: 18px; font-size: 0.82rem; color: var(--muted); }

.overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(42, 38, 22, 0.7);
  z-index: 120;
}

.overlay.show { display: flex; }

.overlay-card {
  width: min(520px, 92vw);
  border-radius: 20px;
  background: #ffffff;
  padding: 22px;
  box-shadow: var(--shadow-2);
  border: 1px solid rgba(42, 38, 22, 0.2);
  text-align: center;
}

.cookie-box {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  border-radius: 0;
  border: 1px solid rgba(42, 38, 22, 0.2);
  background: #ffffff;
  padding: 14px 18px;
  box-shadow: var(--shadow-2);
  display: none;
  z-index: 110;
}

.cookie-box.show { display: block; animation: fadeUp 0.3s ease; }

.form-grid { display: grid; gap: 8px; }
input, textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(42, 38, 22, 0.2);
  padding: 10px 12px;
  font: inherit;
  background: #ffffff;
}
textarea { min-height: 120px; resize: vertical; }

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

.catalog-card {
  border-radius: 18px;
  border: 1px solid rgba(42, 38, 22, 0.18);
  background: #ffffff;
  padding: 12px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }

.catalog-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 220px;
}

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

.catalog-tags {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
}

.catalog-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.catalog-modal {
  position: fixed;
  inset: 0;
  display: none;
  padding: 18px;
  background: rgba(42, 38, 22, 0.75);
  z-index: 130;
}

.catalog-modal.open { display: block; animation: fadeUp 0.2s ease; }

.catalog-modal-card {
  width: min(1200px, 96vw);
  height: min(88vh, 860px);
  margin: 0 auto;
  border-radius: 18px;
  background: #1f1c12;
  color: #ffffff;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.catalog-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.catalog-modal-head h2 { margin: 0; color: #ffffff; }

.catalog-frame-wrap { position: relative; background: #0b0806; }
#catalogFrame { width: 100%; height: 100%; border: 0; display: block; }
.catalog-frame-status {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(10, 8, 6, 0.82);
}
.catalog-frame-status.visible { display: flex; }

.achievement-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.achievement-card { border-radius: 14px; border: 1px solid rgba(42, 38, 22, 0.2); background: #ffffff; padding: 12px; }

.faq-list { display: grid; gap: 12px; }
.faq-item {
  border-radius: 14px;
  border: 1px solid rgba(42, 38, 22, 0.2);
  background: #ffffff;
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 14px 16px;
  font-weight: 700;
  cursor: pointer;
}
.faq-item .answer {
  display: none;
  padding: 0 16px 14px;
  color: var(--ink-soft);
}
.faq-item.open .answer { display: block; animation: fadeUp 0.25s ease; }

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes glowPulse {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(-10px); opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes stripeDrift {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 220px 220px, 0 0, 0 0; }
}

@keyframes sheen {
  0%, 70% { transform: translateX(-90%); opacity: 0; }
  80% { opacity: 1; }
  100% { transform: translateX(90%); opacity: 0; }
}

@media (max-width: 1200px) {
  :root { --sidebar-w: 210px; }
}

@media (max-width: 1000px) {
  .header-row { grid-template-columns: auto 1fr auto; }
  .site-nav { display: none; position: fixed; top: 78px; left: 4vw; right: 4vw; background: #ffffff; border-radius: 16px; padding: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-2); max-height: calc(100vh - 110px); overflow: auto; z-index: 200; }
  .site-nav.show { display: grid; }
  .menu-toggle { display: block; justify-self: end; }
  .header-chip { display: inline-flex; }
  .hero-mag, .hero-grid, .board, .review-ledger, .page-layout { grid-template-columns: 1fr; }
  .page-layout { padding-left: 0; }
  .page-layout .hero-rail { display: none; }
  .grid-2, .grid-3, .grid-4, .catalog-showcase { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .achievement-grid { grid-template-columns: 1fr; }
  main { background-attachment: scroll; }
}

@media (max-width: 640px) {
  .brand span { display: none; }
  .hero-visual { min-height: 240px; }
  main { background: linear-gradient(180deg, rgba(245, 247, 224, 0.96), rgba(240, 246, 198, 0.98)); }
}

@media (min-width: 1001px) {
  main { background-attachment: fixed; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  main { background-attachment: scroll; }
}
