/* =====================================================
   365在线官网 · SiteCSS
   文件：/assets/site.css
   设计基因：冠军数据控制台
   ===================================================== */

/* ---------- 01 Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

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

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

ul,
ol {
  list-style: none;
}

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

details,
summary {
  display: block;
}

/* ---------- 02 CSS Variables ---------- */
:root {
  --green-deep: #0A3D2E;
  --green-secondary: #1A6B4F;
  --green-night: #06291D;
  --gold: #E9C46A;
  --gold-bright: #FFD700;
  --red-acc: #B23A3A;
  --cream: #F7F3E9;
  --green-soft: #E9F0EC;
  --ink: #1A1A1A;
  --text-soft: #6B7A72;

  --font-display: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --space-7: 96px;

  --container: 1200px;
  --header-h: 76px;
  --header-offset: 16px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.3s;
}

/* ---------- 03 Base Typography ---------- */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--green-deep);
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 400;
}

p {
  margin-bottom: 1em;
}

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

a {
  color: var(--gold);
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--gold-bright);
}

main {
  display: block;
  position: relative;
}

#main-content {
  scroll-margin-top: calc(var(--header-offset) + var(--header-h) + 16px);
}

::selection {
  background: var(--gold);
  color: var(--green-night);
}

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

/* ---------- 04 Skip Link ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 4000;
  background: var(--gold);
  color: var(--green-night);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: top var(--duration) var(--ease);
}

.skip-link:focus-visible {
  top: 16px;
}

/* ---------- 05 Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(233, 196, 106, 0.12);
  z-index: 3000;
  pointer-events: none;
}

.scroll-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.55);
  transition: width 0.15s var(--ease);
}

/* ---------- 06 Header ---------- */
.site-header {
  position: sticky;
  top: var(--header-offset);
  z-index: 1000;
  padding: 0 var(--space-3);
}

.header-inner {
  max-width: calc(var(--container) + 40px);
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: rgba(6, 41, 29, 0.74);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(233, 196, 106, 0.3);
  border-radius: var(--radius-pill);
  padding: 12px 12px 12px 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--cream);
}

.brand:hover {
  color: var(--cream);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--green-night);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.03em;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--cream);
}

.brand-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 2px 10px;
  border: 1px solid rgba(233, 196, 106, 0.45);
  border-radius: var(--radius-pill);
  background: rgba(233, 196, 106, 0.06);
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
}

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

.nav-link {
  display: inline-block;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  color: rgba(247, 243, 233, 0.78);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: color var(--duration) var(--ease),
              background var(--duration) var(--ease);
}

.nav-link:hover {
  color: var(--gold);
  background: rgba(233, 196, 106, 0.1);
}

.nav-link[aria-current="page"] {
  color: var(--green-night);
  background: var(--gold);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(233, 196, 106, 0.35);
}

/* Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(233, 196, 106, 0.08);
  border: 1px solid rgba(233, 196, 106, 0.25);
  transition: background var(--duration) var(--ease);
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: rgba(233, 196, 106, 0.16);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease),
              opacity var(--duration) var(--ease);
}

.nav-toggle[data-open] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[data-open] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[data-open] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile Nav (<=900px) ---- */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-offset) + var(--header-h) + 8px);
    left: var(--space-3);
    right: var(--space-3);
    background: rgba(6, 41, 29, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(233, 196, 106, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    padding: var(--space-3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity var(--duration) var(--ease),
                transform var(--duration) var(--ease),
                visibility var(--duration) var(--ease);
    pointer-events: none;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

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

  .nav-link {
    display: block;
    padding: 14px 18px;
    font-size: 16px;
    color: rgba(247, 243, 233, 0.85);
  }

  .nav-link[aria-current="page"] {
    background: var(--gold);
    color: var(--green-night);
  }
}

/* ---------- 07 Footer ---------- */
.site-footer {
  margin-top: var(--space-7);
  background-color: var(--green-night);
  color: var(--cream);
  border-top: 1px solid rgba(233, 196, 106, 0.2);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(233, 196, 106, 0.6) 30%,
    rgba(255, 215, 0, 0.8) 50%,
    rgba(233, 196, 106, 0.6) 70%,
    transparent 100%);
}

.site-footer::after {
  content: '365';
  position: absolute;
  right: -40px;
  bottom: -60px;
  font-family: var(--font-display);
  font-size: clamp(160px, 20vw, 280px);
  font-weight: 200;
  line-height: 1;
  color: rgba(233, 196, 106, 0.035);
  pointer-events: none;
  user-select: none;
}

.footer-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-6) 24px var(--space-5);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(247, 243, 233, 0.7);
  max-width: 220px;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

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

.footer-links a {
  color: rgba(247, 243, 233, 0.72);
  font-size: 0.92rem;
  font-weight: 300;
  transition: color var(--duration) var(--ease),
              padding-left var(--duration) var(--ease);
}

.footer-links a:hover {
  color: var(--gold-bright);
  padding-left: 4px;
}

.footer-contact-line {
  font-size: 0.92rem;
  color: rgba(247, 243, 233, 0.72);
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-contact-line a {
  color: var(--gold);
}

.footer-time {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 12px;
  padding-left: 14px;
  border-left: 2px solid rgba(233, 196, 106, 0.4);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(247, 243, 233, 0.1);
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.footer-bottom-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-copy,
.footer-icp,
.footer-contact-short {
  font-size: 0.82rem;
  color: rgba(247, 243, 233, 0.55);
  letter-spacing: 0.02em;
}

/* Footer responsive */
@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-top: var(--space-5);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

/* ---------- 08 Layout Containers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--space-6) 0;
}

.section--tight {
  padding: var(--space-5) 0;
}

.section--flush {
  padding-bottom: 0;
}

.section-alt {
  background: var(--green-soft);
}

.section-dark {
  background: var(--green-deep);
  color: var(--cream);
}

/* ---------- 09 Page Head ---------- */
.page-head {
  padding: var(--space-6) 0 var(--space-5);
}

.page-head--dark {
  background: var(--green-deep);
  border: 1px solid rgba(233, 196, 106, 0.14);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.page-head--dark::before {
  content: attr(data-score);
  position: absolute;
  right: -10px;
  bottom: -40px;
  font-family: var(--font-display);
  font-size: clamp(140px, 16vw, 240px);
  font-weight: 200;
  line-height: 1;
  color: rgba(233, 196, 106, 0.05);
  pointer-events: none;
  user-select: none;
}

.page-head--dark .page-title {
  color: var(--cream);
}

.page-head--dark .page-desc {
  color: rgba(247, 243, 233, 0.72);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.kicker::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.page-title {
  margin-bottom: 16px;
}

.page-desc {
  max-width: 480px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 400;
  color: var(--green-deep);
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: var(--space-4);
}

.section-dark .section-heading {
  color: var(--cream);
}

/* ---------- 10 Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-5);
  font-size: 0.82rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: var(--green-secondary);
  font-weight: 400;
}

.breadcrumb a:hover {
  color: var(--green-deep);
}

.breadcrumb [aria-current="page"] {
  color: var(--text-soft);
  font-weight: 400;
  cursor: default;
}

.breadcrumb-arrow {
  color: var(--gold);
  font-size: 0.75em;
  user-select: none;
}

/* ---------- 11 Index Number ---------- */
.index-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- 12 Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-night);
  box-shadow: 0 4px 16px rgba(233, 196, 106, 0.3);
}

.btn-primary:hover {
  background: var(--gold-bright);
  color: var(--green-night);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.35);
}

.btn-ghost {
  background: rgba(10, 61, 46, 0.08);
  border-color: rgba(10, 61, 46, 0.35);
  color: var(--green-deep);
}

.btn-ghost:hover {
  background: rgba(10, 61, 46, 0.12);
  border-color: var(--green-deep);
  color: var(--green-deep);
  transform: translateY(-2px);
}

.btn--dark {
  background: rgba(247, 243, 233, 0.08);
  border-color: rgba(233, 196, 106, 0.4);
  color: var(--cream);
}

.btn--dark:hover {
  background: rgba(233, 196, 106, 0.15);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- 13 Cards & Panels ---------- */
.card {
  background: var(--cream);
  border: 1px solid var(--green-soft);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(6, 41, 29, 0.08);
}

.glass-card {
  position: relative;
  background: rgba(10, 61, 46, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(233, 196, 106, 0.28);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--cream);
  transition: transform var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 196, 106, 0.5);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.glass-card--light {
  background: rgba(247, 243, 233, 0.62);
  border-color: rgba(10, 61, 46, 0.12);
  color: var(--ink);
}

.glass-card--light .glass-card-title {
  color: var(--green-deep);
}

.glass-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 12px;
}

.stat-panel {
  background: var(--green-deep);
  border-radius: var(--radius-md);
  padding: 28px;
  color: var(--cream);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(233, 196, 106, 0.18);
}

.stat-panel::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(233, 196, 106, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(233, 196, 106, 0.8);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--cream);
  line-height: 1.1;
}

.stat-value strong {
  color: var(--gold-bright);
  font-weight: 500;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}

.status-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  animation: status-pulse 2s var(--ease) infinite;
}

@keyframes status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.45);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
  }
}

/* ---------- 14 Tags ---------- */
.tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(233, 196, 106, 0.5);
  color: var(--green-deep);
  background: rgba(233, 196, 106, 0.08);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  transition: all var(--duration) var(--ease);
}

.tag:hover {
  background: rgba(233, 196, 106, 0.2);
  transform: translateY(-1px);
}

.tag--warn {
  border-color: rgba(178, 58, 58, 0.55);
  color: var(--red-acc);
  background: rgba(178, 58, 58, 0.06);
}

.tag--warn:hover {
  background: rgba(178, 58, 58, 0.12);
}

/* ---------- 15 Bento Grid ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.bento-item {
  grid-column: span 2;
}

.bento-item--span-3 {
  grid-column: span 3;
}

.bento-item--span-4 {
  grid-column: span 4;
}

.bento-item--span-6 {
  grid-column: 1 / -1;
}

.bento-item--row-2 {
  grid-row: span 2;
}

@media (max-width: 980px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-item,
  .bento-item--span-3,
  .bento-item--span-4,
  .bento-item--span-6 {
    grid-column: span 1;
  }

  .bento-item--row-2 {
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 16 Generic Grids ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.grid-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

@media (max-width: 980px) {
  .grid-2,
  .grid-3,
  .grid-2-1 {
    grid-template-columns: 1fr;
  }
}

/* ---------- 17 Image Frame ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--green-secondary) 0%, var(--green-night) 100%);
  border: 1px solid rgba(233, 196, 106, 0.15);
  min-height: 120px;
}

.img-frame::before {
  content: '365-MEDIA';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: rgba(233, 196, 106, 0.35);
  font-weight: 300;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

.img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(233, 196, 106, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.img-frame img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-frame--wide {
  aspect-ratio: 16 / 9;
}

.img-frame--square {
  aspect-ratio: 1 / 1;
}

.img-frame--portrait {
  aspect-ratio: 3 / 4;
}

/* ---------- 18 Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(to bottom,
    var(--gold) 0%,
    rgba(233, 196, 106, 0.15) 100%);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-4);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(233, 196, 106, 0.2);
}

/* ---------- 19 Accordion ---------- */
.accordion-item {
  border: 1px solid rgba(233, 196, 106, 0.22);
  border-radius: var(--radius-md);
  background: var(--cream);
  overflow: hidden;
  transition: box-shadow var(--duration) var(--ease);
}

.accordion-item[open] {
  box-shadow: 0 8px 24px rgba(6, 41, 29, 0.08);
}

.accordion-item + .accordion-item {
  margin-top: 12px;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 24px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--green-deep);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  list-style: none;
  transition: background var(--duration) var(--ease);
}

.accordion-trigger:hover {
  background: rgba(233, 196, 106, 0.06);
}

.accordion-trigger::-webkit-details-marker {
  display: none;
}

.accordion-trigger::marker {
  content: '';
}

.accordion-trigger::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  transition: transform var(--duration) var(--ease);
}

.accordion-item[open] .accordion-trigger::after {
  transform: rotate(45deg);
}

.accordion-panel {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease),
              padding 0.45s var(--ease);
  color: var(--text-soft);
  line-height: 1.7;
}

.accordion-item[open] .accordion-panel {
  max-height: 640px;
  padding: 0 24px 24px;
}

/* ---------- 20 Divider ---------- */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.divider::before,
.divider::after {
  content: '';
  height: 1px;
  flex: 1;
}

.divider::before {
  background: linear-gradient(90deg, transparent, rgba(233, 196, 106, 0.4));
}

.divider::after {
  background: linear-gradient(90deg, rgba(233, 196, 106, 0.4), transparent);
}

/* ---------- 21 Background Score ---------- */
.bg-score {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 200;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: rgba(233, 196, 106, 0.06);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

/* ---------- 22 Reveal ---------- */
.js-supported [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.72s var(--ease),
              transform 0.72s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-supported [data-reveal="in"] {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 23 Responsive Adjust ---------- */
@media (max-width: 480px) {
  :root {
    --header-h: 64px;
    --header-offset: 8px;
  }

  .site-header {
    padding: 0 10px;
  }

  .header-inner {
    padding: 8px 8px 8px 14px;
    border-radius: calc(var(--radius-pill) / 1.4);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 13px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-badge {
    font-size: 9px;
    letter-spacing: 0.1em;
    padding: 1px 8px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .page-head {
    padding: var(--space-5) 0 var(--space-4);
  }

  .page-head--dark {
    padding: var(--space-5) var(--space-4);
  }

  .section {
    padding: var(--space-5) 0;
  }

  .glass-card {
    padding: 24px;
  }

  .stat-panel {
    padding: 22px;
  }
}

/* ---------- 24 Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {

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

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

  .status-dot::before {
    animation: none;
    box-shadow: none;
  }
}
