/* ===== Reset & Variables ===== */
:root {
  --green: #0A3D2E;
  --green-dark: #06281E;
  --green-deep: #031611;
  --gold: #F5B301;
  --gold-soft: #FFD666;
  --night: #0B1026;
  --night-soft: #111B3A;
  --night-light: #182448;
  --red: #E63946;
  --white: #F7F7F2;
  --gray-green: #8AA29B;
  --border: rgba(255, 255, 255, 0.15);
  --font-display: "Arial Black", "Arial Bold", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Roboto Mono", "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --container: 1360px;
  --ease-out: cubic-bezier(0.22, 0.9, 0.32, 1);
  --shadow-card: 0 18px 40px -20px rgba(0, 0, 0, 0.65), 0 4px 14px rgba(0, 0, 0, 0.25);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

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

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

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  overflow-wrap: break-word;
}

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

/* ===== Accessibility ===== */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip-link {
  position: fixed;
  top: -60px;
  left: 24px;
  z-index: 300;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--night);
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 4px 4px;
  transition: top 0.3s var(--ease-out);
}

.skip-link:focus {
  top: 0;
}

/* ===== Scroll Progress ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 130;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--red));
  box-shadow: 0 0 14px rgba(245, 179, 1, 0.5);
}

/* ===== Header ===== */
.site-header {
  position: relative;
  z-index: 120;
}

.site-header__bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  padding-inline: 20px;
  z-index: 120;
}

.site-header__bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 28, 20, 0.96), rgba(7, 35, 25, 0.92));
  border-bottom: 1px solid rgba(245, 179, 1, 0.15);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.site-header.is-scrolled .site-header__bar::before {
  opacity: 1;
  transform: none;
}

.site-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

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

.brand__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--red) 130%);
  color: var(--green-dark);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 20px;
  color: var(--white);
  letter-spacing: 0.02em;
}

.brand__name em {
  font-style: normal;
  color: var(--gold);
}

.brand__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gray-green);
  margin-top: 3px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 14px;
  background: linear-gradient(120deg, var(--gold), var(--gold-soft) 60%, var(--gold));
  color: var(--green-dark);
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: filter 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.header-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.header-cta__icon {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
}

.nav-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(11, 16, 38, 0.35);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: background 0.3s, border-color 0.3s;
}

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

.nav-toggle__line {
  display: block;
  width: 22px;
  height: 2px;
  margin: 3px 0;
  background: currentColor;
  transition: transform 0.3s var(--ease-out);
}

.nav-toggle.is-active .nav-toggle__line:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__line:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-toggle__text {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===== Side Navigation Drawer ===== */
.side-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.side-nav.is-open {
  visibility: visible;
  pointer-events: auto;
}

.side-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 28, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.side-nav.is-open .side-nav__backdrop {
  opacity: 1;
}

.side-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(440px, 94vw);
  display: flex;
  flex-direction: column;
  padding: 28px 28px 28px 44px;
  background:
    radial-gradient(ellipse at 115% -5%, rgba(245, 179, 1, 0.16), transparent 46%),
    linear-gradient(155deg, var(--night), var(--night-soft) 52%, var(--green) 130%);
  border-left: 1px solid rgba(245, 179, 1, 0.28);
  box-shadow: -24px 0 60px -30px rgba(0, 0, 0, 0.8);
  clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%);
  transform: translateX(104%);
  transition: transform 0.45s var(--ease-out);
  overflow-y: auto;
}

.side-nav.is-open .side-nav__panel {
  transform: none;
}

.side-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-nav__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-green);
}

.side-nav__close {
  position: relative;
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.3s, background 0.3s;
}

.side-nav__close:hover {
  border-color: var(--red);
}

.side-nav__close-line {
  position: absolute;
  width: 16px;
  height: 2px;
  background: var(--white);
}

.side-nav__close-line:nth-child(1) {
  transform: rotate(45deg);
}

.side-nav__close-line:nth-child(2) {
  transform: rotate(-45deg);
}

.side-nav__list {
  flex: 1;
}

.side-nav__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.side-nav__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 4px;
  color: var(--white);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1.15;
  transition: color 0.3s, padding-left 0.3s;
}

.side-nav__link:hover,
.side-nav__link[aria-current="page"] {
  color: var(--gold);
  padding-left: 10px;
}

.side-nav__link[aria-current="page"]::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  align-self: center;
  background: var(--red);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.side-nav__index {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  color: var(--red);
}

.side-nav__label {
  display: block;
}

.side-nav__foot {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.side-nav__foot-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-green);
}

.side-nav__foot-link {
  font-size: 12px;
  color: var(--gold);
}

body.nav-locked {
  overflow: hidden;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(8, 34, 26, 0.92);
  border: 1px solid rgba(245, 179, 1, 0.45);
  border-radius: 50%;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), border-color 0.3s;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.back-to-top:hover {
  border-color: var(--gold);
}

.back-to-top__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.back-to-top__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 2.5;
}

.back-to-top__bar {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 125.7;
  stroke-dashoffset: 125.7;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 0.15s linear;
}

.back-to-top__arrow {
  position: relative;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--gold);
  line-height: 1;
}

/* ===== Header / Footer Responsive ===== */
@media (min-width: 768px) {
  .site-header__bar {
    height: 76px;
    padding-inline: 40px;
  }

  .brand__mark {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .brand__name {
    font-size: 24px;
  }

  .header-actions {
    gap: 16px;
  }

  .back-to-top {
    right: 32px;
    bottom: 32px;
  }
}

@media (max-width: 639px) {
  .header-cta {
    padding: 8px 12px 8px 10px;
    font-size: 12px;
    gap: 6px;
  }
}

@media (max-width: 479px) {
  .brand__tag {
    display: none;
  }

  .nav-toggle__text {
    display: none;
  }
}

@media (max-width: 419px) {
  .brand__mark {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .brand__name {
    font-size: 17px;
  }

  .header-cta {
    padding: 7px 10px;
    font-size: 11px;
  }
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--green-dark), var(--green-deep) 85%);
  border-top: 1px solid rgba(245, 179, 1, 0.3);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--red) 75%, transparent);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 64px 24px 48px;
  max-width: var(--container);
  margin-inline: auto;
}

.footer-brand__name {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 26px;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand__name em {
  font-style: normal;
  color: var(--gold);
}

.footer-brand__desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-green);
  max-width: 360px;
}

.footer-brand__badge {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid rgba(245, 179, 1, 0.4);
  background: rgba(245, 179, 1, 0.08);
}

.footer-nav {
  display: grid;
  gap: 32px;
}

.footer-nav__title,
.footer-contact__title {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-nav__list li + li {
  margin-top: 8px;
}

.footer-nav__list a {
  font-size: 14px;
  color: rgba(247, 247, 242, 0.8);
  transition: color 0.3s, padding-left 0.3s;
}

.footer-nav__list a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-contact-col {
  min-width: 0;
}

.footer-contact {
  margin: 0;
}

.footer-contact li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact li:first-child {
  padding-top: 0;
}

.footer-contact li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-green);
}

.footer-contact__value {
  font-size: 14px;
  color: var(--white);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 24px;
  max-width: var(--container);
  margin-inline: auto;
  text-align: center;
  font-size: 12px;
  color: var(--gray-green);
}

.site-footer__icp {
  font-family: var(--font-mono);
}

.site-footer__notice {
  color: rgba(138, 162, 155, 0.8);
  max-width: 480px;
}

@media (min-width: 640px) {
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (min-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1.4fr 1.8fr 1.3fr;
    gap: 56px;
    padding: 80px 40px 56px;
  }
}

@media (min-width: 768px) {
  .site-footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 18px 40px;
  }
}

/* ===== Layout Primitives ===== */
.site-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

#main-content {
  scroll-margin-top: 90px;
}

#main-content:focus {
  outline: none;
}

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 48px 0;
}

.section-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.section-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.04;
  color: var(--white);
  text-shadow: 0 4px 24px rgba(245, 179, 1, 0.08);
}

.section-title em {
  font-style: normal;
  color: var(--gold);
}

.section-desc {
  max-width: 640px;
  margin-top: 14px;
  font-size: 15px;
  color: var(--gray-green);
}

.page-hero {
  position: relative;
  padding: 120px 20px 48px;
  background: linear-gradient(180deg, rgba(10, 61, 46, 0.35), transparent);
}

.page-hero__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.05;
}

.page-hero__desc {
  max-width: 560px;
  margin-top: 12px;
  font-size: 15px;
  color: var(--gray-green);
}

.page-hero .breadcrumbs {
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .section {
    padding: 96px 0;
  }

  .page-hero {
    padding: 160px 40px 64px;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease-out), color 0.3s, transform 0.25s var(--ease-out), border-color 0.3s;
}

.btn--gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-soft));
  color: var(--green-dark);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.btn--gold:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(11, 16, 38, 0.4);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

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

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-green);
}

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

.breadcrumbs a {
  transition: color 0.3s;
}

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

.breadcrumbs [aria-current="page"] {
  color: var(--gold);
  font-weight: 700;
}

.breadcrumbs__sep {
  color: rgba(255, 255, 255, 0.25);
}

/* ===== Content Container ===== */
.content-container {
  max-width: 780px;
  margin-inline: auto;
}

.content-container p {
  margin-bottom: 1.4em;
  font-size: 16px;
  color: rgba(247, 247, 242, 0.82);
}

.content-container a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.content-container h2 {
  margin: 1.8em 0 0.7em;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.15;
}

.content-container h3 {
  margin: 1.6em 0 0.6em;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.content-container ul {
  padding-left: 1.2em;
  margin-bottom: 1.4em;
  list-style: square;
}

.content-container li {
  margin-bottom: 0.5em;
  color: rgba(247, 247, 242, 0.8);
}

/* ===== Grid ===== */
.site-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.site-grid > .span-4,
.site-grid > .span-6,
.site-grid > .span-8,
.site-grid > .span-12 {
  grid-column: span 1;
}

@media (min-width: 640px) {
  .site-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .site-grid > .span-4 {
    grid-column: span 4;
  }

  .site-grid > .span-6 {
    grid-column: span 6;
  }

  .site-grid > .span-8 {
    grid-column: span 8;
  }

  .site-grid > .span-12 {
    grid-column: span 12;
  }
}

/* ===== Data Card & Metric ===== */
.data-card {
  position: relative;
  padding: 28px 28px 24px;
  background: linear-gradient(155deg, rgba(19, 27, 58, 0.82), rgba(10, 61, 46, 0.72));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.data-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), rgba(245, 179, 1, 0));
}

.data-card__title {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-green);
  margin-bottom: 10px;
}

.metric {
  display: block;
  font-family: var(--font-mono);
  font-size: 36px;
  line-height: 1;
  color: var(--gold);
  font-weight: 700;
}

.metric--alert {
  color: var(--red);
}

.metric--xs {
  font-size: 22px;
}

.metric__label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-green);
}

/* ===== Tag ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray-green);
  border: 1px solid var(--border);
  background: rgba(10, 61, 46, 0.35);
}

.tag--active {
  color: var(--gold);
  border-color: rgba(245, 179, 1, 0.55);
  background: rgba(245, 179, 1, 0.1);
}

/* ===== Image Frame ===== */
.image-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(19, 27, 58, 0.6), rgba(10, 61, 46, 0.7));
  border: 1px solid var(--border);
}

.image-frame::before {
  content: attr(data-label);
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 247, 242, 0.65);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 40, 30, 0.6));
  pointer-events: none;
}

.image-frame--16x9 {
  aspect-ratio: 16 / 9;
}

.image-frame--4x3 {
  aspect-ratio: 4 / 3;
}

.image-frame--1x1 {
  aspect-ratio: 1;
}

.image-frame img,
.image-frame video {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Reveal ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  will-change: opacity, transform;
}

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

/* ===== Reduced Motion & Misc ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

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