/* ============================================
   米兰竞技 · 共享样式 /assets/site.css
   目次：Reset → 变量 → 基础排版 → 工具类 →
   按钮 → 头部 → 导航 → 页脚 → 首屏框景 →
   Bento 网格 → 数据组件 → 筛选 → 图片框 →
   面包屑 → 正文 → 表单 → 响应式 → 动效降级
   ============================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }
img, picture, video { display: block; max-width: 100%; height: auto; }
table { border-collapse: collapse; border-spacing: 0; }
input, select, textarea { font: inherit; color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
hr { border: 0; }

/* ---------- Design Tokens ---------- */
:root {
  --c-bg: #0B0B10;
  --c-panel: #171722;
  --c-panel-2: #1A1B29;
  --c-panel-3: #202234;
  --c-milan: #C8102E;
  --c-milan-bright: #E8123A;
  --c-gold: #D4AF37;
  --c-gold-bright: #EFD978;
  --c-data: #00E5CC;
  --c-violet: #7A5CFF;
  --c-text: #F4F6FB;
  --c-text-dim: #A3AEBD;

  --font-heading: "Oswald", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-data: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.5rem;
  --text-lg: 2.25rem;
  --text-xl: 3.5rem;
  --text-display: 5.5rem;

  --container: 1240px;
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-pill: 999px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 5rem;
  --space-12: 7rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.35s;
  --speed-fast: 0.18s;

  --border-panel: 1px solid rgba(244, 246, 251, 0.07);
  --border-gold: 1px solid rgba(212, 175, 55, 0.35);
}

/* ---------- Base ---------- */
html { background: var(--c-bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background: transparent;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 85% -10%, rgba(122, 92, 255, 0.16), transparent 62%),
    radial-gradient(ellipse 45% 40% at -15% 30%, rgba(200, 16, 46, 0.20), transparent 65%),
    radial-gradient(ellipse 55% 45% at 20% 110%, rgba(0, 229, 204, 0.06), transparent 60%),
    var(--c-bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 246, 251, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 246, 251, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 10%, transparent 75%);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text);
  text-wrap: balance;
}
::selection { background: rgba(200, 16, 46, 0.55); color: #fff; }
:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; border-radius: 6px; }
#main-content { scroll-margin-top: 110px; }
[id] { scroll-margin-top: 96px; }

/* ---------- Utilities ---------- */
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding-block: var(--space-10); }
.section--tight { padding-block: var(--space-8); }
.section--panel {
  background: linear-gradient(180deg, rgba(23, 23, 34, 0.65), rgba(23, 23, 34, 0.2));
  border-block: 1px solid rgba(244, 246, 251, 0.05);
}
.page-main { padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(3rem, 6vw, 6rem); overflow: hidden; }
.text-dim { color: var(--c-text-dim); }
.text-gold { color: var(--c-gold-bright); }
.text-data { font-family: var(--font-data); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.divider {
  height: 1px;
  margin: var(--space-6) 0;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.5), rgba(212, 175, 55, 0.04), transparent);
}
.prose { max-width: 70ch; font-size: var(--text-base); line-height: 1.9; color: var(--c-text-dim); }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--c-text); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform var(--speed-fast) var(--ease), box-shadow var(--speed-fast) var(--ease), background var(--speed-fast) var(--ease);
}
.btn--primary {
  color: #fff;
  background: linear-gradient(140deg, #E8123A, #9E0B24);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.55), 0 8px 22px rgba(200, 16, 46, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(239, 217, 120, 0.75), 0 12px 28px rgba(200, 16, 46, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn--ghost {
  color: var(--c-gold-bright);
  background: rgba(212, 175, 55, 0.06);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.4);
}
.btn--ghost:hover { background: rgba(212, 175, 55, 0.13); }

/* ---------- Skip Link & Progress ---------- */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--c-milan);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(244, 246, 251, 0.2);
  transform: translateY(-220%);
  transition: transform var(--speed-fast) var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-milan), var(--c-gold), var(--c-data));
  z-index: 200;
  pointer-events: none;
}

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; flex: none; }
.brand__mark {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.14), transparent 36%),
    linear-gradient(155deg, #E8123A, #A80E26 62%, #6E0818);
  border: 2px solid rgba(212, 175, 55, 0.75);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.22), 0 0 20px rgba(200, 16, 46, 0.4);
  animation: brandGlow 4s ease-in-out infinite;
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.9);
  background: linear-gradient(120deg, transparent 44%, rgba(11, 11, 16, 0.85) 44% 56%, transparent 56%);
}
.brand__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: rgba(212, 175, 55, 0.65);
  transform: rotate(18deg);
}
@keyframes brandGlow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.2), 0 0 20px rgba(200, 16, 46, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.14), 0 0 24px rgba(212, 175, 55, 0.42); }
}
.brand__text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--c-text);
  white-space: nowrap;
}
.brand__text strong { color: var(--c-milan-bright); font-weight: 900; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.9rem 0 0.4rem;
  transition: padding var(--speed) var(--ease);
}
.site-header.is-scrolled { padding-top: 0.45rem; }
.site-header__inner {
  position: relative;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.5rem 0.5rem 0.5rem 0.85rem;
  background: linear-gradient(180deg, rgba(18, 18, 28, 0.94), rgba(11, 11, 16, 0.86));
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(244, 246, 251, 0.04);
  transition: box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.site-header.is-scrolled .site-header__inner {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(244, 246, 251, 0.05);
}
.site-header__brand { position: relative; z-index: 1; }
.site-header__nav { margin-left: auto; }
.site-header__actions { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.site-header__cta { padding: 0.62rem 1.2rem; font-size: 0.88rem; }

/* ---------- Nav ---------- */
.site-nav { display: flex; align-items: center; gap: 0.2rem; flex-wrap: nowrap; }
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-text-dim);
  white-space: nowrap;
  transition: color var(--speed-fast) var(--ease), background var(--speed-fast) var(--ease), box-shadow var(--speed-fast) var(--ease);
}
.site-nav__link::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transition: opacity var(--speed-fast) var(--ease);
}
.site-nav__link:hover { color: var(--c-text); background: rgba(255, 255, 255, 0.05); }
.site-nav__link:hover::before { opacity: 0.5; }
.site-nav__link[aria-current="page"] {
  color: #fff;
  background: linear-gradient(150deg, #E8123A, #B40F2A 70%);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.45), 0 6px 18px rgba(200, 16, 46, 0.35);
}
.site-nav__link[aria-current="page"]::before { opacity: 1; background: var(--c-gold-bright); }

/* ---------- Mobile Nav ---------- */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-text);
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-toggle__bars::before { position: absolute; top: -6px; left: 0; }
.nav-toggle__bars::after { position: absolute; top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); background: var(--c-gold-bright); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); background: var(--c-gold-bright); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: var(--space-12);
  padding: var(--space-10) 0 var(--space-6);
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  background:
    radial-gradient(ellipse 60% 90% at 50% 120%, rgba(200, 16, 46, 0.14), transparent 65%),
    linear-gradient(180deg, #0B0B10, #0A0B12);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.08), transparent) 0 0 / 100% 1px no-repeat,
    repeating-linear-gradient(0deg, rgba(244, 246, 251, 0.02) 0 1px, transparent 1px 64px);
}
.site-footer__inner {
  position: relative;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 2.5rem;
}
.site-footer__logo { margin-bottom: 1rem; }
.site-footer__logo .brand__text { font-size: 1.3rem; }
.site-footer__intro { font-size: 0.92rem; line-height: 1.9; color: var(--c-text-dim); max-width: 42ch; }
.site-footer__trust { margin-top: 0.6rem; font-family: var(--font-data); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--c-gold); }
.site-footer__col { display: grid; align-content: start; justify-items: start; }
.site-footer__title {
  position: relative;
  margin-bottom: 1rem;
  padding-left: 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold-bright);
}
.site-footer__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--c-milan-bright), var(--c-gold));
}
.site-footer__links { display: grid; gap: 0.55rem; }
.site-footer__links a {
  position: relative;
  color: var(--c-text-dim);
  font-size: 0.92rem;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.site-footer__links a:hover { color: var(--c-gold-bright); padding-left: 0.35rem; }
.site-footer__contact { display: grid; align-content: start; }
.site-footer__contact-list { display: grid; gap: 0.6rem; }
.site-footer__line { display: flex; gap: 0.6rem; color: var(--c-text-dim); font-size: 0.92rem; line-height: 1.7; }
.site-footer__line-mark {
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 0.6rem;
  transform: rotate(45deg);
  background: var(--c-gold);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}
.site-footer__service { margin-top: 1rem; font-size: 0.82rem; line-height: 1.8; color: var(--c-text-dim); }
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  font-size: 0.82rem;
  color: var(--c-text-dim);
}
.site-footer__copyright { font-family: var(--font-data); letter-spacing: 0.04em; }
.site-footer__icp a { color: var(--c-text-dim); transition: color 0.2s var(--ease); }
.site-footer__icp a:hover { color: var(--c-gold-bright); }

/* ---------- Frame Hero ---------- */
.page-hero {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 40% 60% at 85% 20%, rgba(122, 92, 255, 0.15), transparent 65%),
    linear-gradient(140deg, rgba(200, 16, 46, 0.16), transparent 45%),
    #14141F;
  box-shadow: inset 0 0 0 1px rgba(244, 246, 251, 0.03), 0 24px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.28), transparent 65%);
  pointer-events: none;
}
.page-hero--compact { padding: clamp(1.4rem, 3vw, 2.4rem); }
.page-hero__corner { position: absolute; width: 26px; height: 26px; border: 0 solid var(--c-gold); z-index: 2; pointer-events: none; }
.page-hero__corner--tl { top: 0.3rem; left: 0.3rem; border-top-width: 2px; border-left-width: 2px; }
.page-hero__corner--tr { top: 0.3rem; right: 0.3rem; border-top-width: 2px; border-right-width: 2px; }
.page-hero__corner--bl { bottom: 0.3rem; left: 0.3rem; border-bottom-width: 2px; border-left-width: 2px; }
.page-hero__corner--br { bottom: 0.3rem; right: 0.3rem; border-bottom-width: 2px; border-right-width: 2px; }
.page-hero__kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-data);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.page-hero__kicker::before { content: ""; width: 26px; height: 2px; background: var(--c-milan-bright); }
.page-hero__title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.08; letter-spacing: 0.01em; }
.page-hero__lede { max-width: 56ch; margin-top: 1rem; font-size: 1.05rem; color: var(--c-text-dim); }
.page-hero__meta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ---------- Section Head ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-head__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.section-head__kicker::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--c-milan-bright), var(--c-gold)); }
.section-head__title { position: relative; display: inline-block; padding-bottom: 0.28em; font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 800; }
.section-head__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-milan), var(--c-gold));
  box-shadow: 0 0 12px rgba(200, 16, 46, 0.5);
}
.section-head__action { flex: none; }

/* ---------- Bento Grid ---------- */
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-5); }
.bento-card {
  position: relative;
  grid-column: span 4;
  min-height: 200px;
  padding: 1.6rem;
  overflow: hidden;
  border: var(--border-panel);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #1A1B29, #131320);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.bento-card::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -60%;
  width: 50%;
  height: 300%;
  background: linear-gradient(105deg, transparent, rgba(244, 246, 251, 0.06), transparent);
  transform: rotate(18deg);
  transition: left 0.6s var(--ease);
  pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 175, 55, 0.16);
}
.bento-card:hover::after { left: 130%; }
.bento-card--wide { grid-column: span 6; }
.bento-card--full { grid-column: 1 / -1; }
.bento-card--tall { grid-row: span 2; }
.bento-card__title { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.6rem; }
.bento-card__text { font-size: 0.94rem; line-height: 1.85; color: var(--c-text-dim); }
.bento-card__foot { margin-top: 1.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }

/* ---------- Data Components ---------- */
.stat-datum { font-family: var(--font-data); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.data-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 229, 204, 0.08);
  border: 1px solid rgba(0, 229, 204, 0.35);
  color: var(--c-data);
  font-family: var(--font-data);
  font-size: var(--text-xs);
  white-space: nowrap;
}

/* ---------- Filter ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.55rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(244, 246, 251, 0.07);
}
.filter-btn {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-text-dim);
  background: transparent;
  border: 1px solid transparent;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.filter-btn:hover { color: var(--c-text); background: rgba(255, 255, 255, 0.06); }
.filter-btn[data-state="active"] {
  color: #fff;
  background: linear-gradient(140deg, #E8123A, #A80E26);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.5), 0 4px 14px rgba(200, 16, 46, 0.3);
}
[data-filter-item][data-hidden="true"] { display: none; }

/* ---------- Reveal & Spy ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-spy-target].is-spied { color: var(--c-gold-bright); background: rgba(212, 175, 55, 0.08); }

/* ---------- Image Frame ---------- */
.img-frame {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(244, 246, 251, 0.07);
  border-radius: var(--radius-md);
  background:
    radial-gradient(ellipse 60% 55% at 70% 20%, rgba(200, 16, 46, 0.18), transparent 65%),
    linear-gradient(150deg, #1B1C2A, #101018);
}
.img-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(212, 175, 55, 0.32);
  border-radius: calc(var(--radius-md) - 8px);
  z-index: 1;
}
.img-frame__label {
  position: relative;
  z-index: 2;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 11, 16, 0.6);
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}
.img-frame img { position: relative; z-index: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-bottom: var(--space-5); font-size: 0.85rem; color: var(--c-text-dim); }
.breadcrumbs a { transition: color 0.2s var(--ease); }
.breadcrumbs a:hover { color: var(--c-gold-bright); }
.breadcrumbs__sep { color: rgba(212, 175, 55, 0.7); }
.breadcrumbs [aria-current="page"] { color: var(--c-text); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field--full { grid-column: 1 / -1; }
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--c-text); }
.form-input, .form-textarea {
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(244, 246, 251, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: var(--c-text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-input:focus-visible, .form-textarea:focus-visible {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(163, 174, 189, 0.6); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-error { display: none; font-family: var(--font-data); font-size: 0.75rem; color: var(--c-milan-bright); }
.form-field.is-error .form-error { display: block; }
.form-field.is-error .form-input,
.form-field.is-error .form-textarea { border-color: var(--c-milan-bright); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .bento-grid { grid-template-columns: repeat(6, 1fr); }
  .bento-card, .bento-card--wide { grid-column: span 3; }
  .section { padding-block: var(--space-8); }
}
@media (max-width: 960px) {
  .site-header { padding: 0.75rem 0 0.35rem; }
  .site-header__inner { width: calc(100% - 1rem); padding: 0.45rem 0.45rem 0.45rem 0.75rem; gap: 0.5rem; }
  .site-header__brand .brand__text { font-size: 1.15rem; }
  .site-header__nav {
    position: absolute;
    top: calc(100% + 4px);
    left: 0.5rem;
    right: 0.5rem;
    z-index: 110;
    margin-left: 0;
    padding: 0.75rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(20, 21, 31, 0.98), rgba(11, 11, 16, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(244, 246, 251, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .site-header__nav[data-open] { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav { flex-direction: column; align-items: stretch; gap: 0.35rem; }
  .site-nav__link { padding: 0.85rem 1rem; font-size: 1rem; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card, .bento-card--wide { grid-column: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .page-hero { border-radius: 20px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}
@media (max-width: 420px) {
  .site-header__cta { padding: 0.55rem 0.85rem; font-size: 0.8rem; }
  .brand__mark { width: 36px; height: 36px; }
  .site-header__brand { gap: 0.5rem; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
