/* ============================================================
   AuraBIOLABS — Brand Design System
   Palette: Maroon #6A0D2E · Gold #B8960C · Soft White #FFFFFF · Charcoal #1F1F1F
   Distribution: 70% White · 20% Maroon · 10% Gold
   Typography: Inter (UI) + Playfair Display (display headings)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --maroon:      #6A0D2E;
  --maroon-deep: #4D0920;
  --gold:        #B8960C;
  --gold-light:  #D4A800;
  --white:       #FFFFFF;
  --white-pure:  #FFFFFF;
  --charcoal:    #1A1A1A;
  --charcoal-mid:#2C2C2C;
  --grey:        #6B6B6B;
  --grey-light:  #F2F2F2;
  --border:      rgba(106,13,46,0.12);

  --font:         'Inter', Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --nav-h:       108px;
  --max-w:       1200px;
  --gutter:      clamp(20px, 5vw, 80px);
  --section-gap: clamp(64px, 8vw, 120px);

  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   16px;

  --shadow-sm:   0 1px 4px rgba(31,31,31,0.08);
  --shadow:      0 4px 24px rgba(31,31,31,0.10);
  --shadow-lg:   0 8px 48px rgba(31,31,31,0.14);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--charcoal);
  background-color: var(--white);
  background-image: radial-gradient(rgba(106,13,46,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
.t-display {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.t-heading {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.t-subheading {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  line-height: 1.4;
}
.t-body  { font-size: 16px; font-weight: 400; line-height: 1.7; }
.t-small { font-size: 14px; font-weight: 400; line-height: 1.6; color: var(--grey); }
.t-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.t-caption { font-size: 12px; font-weight: 400; color: var(--grey); }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding-block: var(--section-gap); }
.section--alt  { background: var(--grey-light); }
.section--dark { background: var(--maroon); color: var(--white); }
.section--dark .t-label   { color: var(--gold-light); }
.section--dark .t-heading,
.section--dark .t-display { color: var(--white); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  :root {
    --section-gap: clamp(40px, 6vw, 80px);
  }
}

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(106,13,46,0.08), 0 2px 16px rgba(31,31,31,0.04);
  z-index: 100;
  display: flex;
  align-items: center;
}
.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo img {
  height: 95px;
  width: auto;
  display: block;
  max-width: 420px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  opacity: 0.8;
  transition: opacity 0.2s;
  letter-spacing: 0.01em;
}
.nav__links a:hover { opacity: 1; }
.nav__links a.active { color: var(--maroon); opacity: 1; }
.nav__cta-group { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: 0.2s; }
@media (max-width: 768px) {
  .nav__links, .nav__cta-group { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    padding: 24px var(--gutter);
    border-bottom: 1px solid var(--border);
    gap: 20px;
  }
  .nav.open .nav__cta-group {
    display: flex;
    justify-content: flex-start;
    padding: 0 var(--gutter) 24px;
    position: absolute;
    top: calc(var(--nav-h) + 160px);
    left: 0; right: 0;
    background: var(--white);
  }
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--maroon);
  color: var(--white);
  letter-spacing: 0.04em;
}
.btn-primary:hover { background: var(--maroon-deep); box-shadow: 0 4px 16px rgba(106,13,46,0.3); }
.btn-outline {
  background: transparent;
  color: var(--maroon);
  border: 1.5px solid var(--maroon);
}
.btn-outline:hover { background: var(--maroon); color: var(--white); }
.btn-gold {
  background: var(--gold);
  color: var(--white-pure);
  letter-spacing: 0.03em;
}
.btn-gold:hover { background: #b8942d; box-shadow: 0 4px 16px rgba(201,168,76,0.35); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(250,248,245,0.4);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(250,248,245,0.08); }
.btn-sm { padding: 8px 16px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.btn-lg { padding: 14px 32px; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; }

/* ── IMAGE PLACEHOLDER ───────────────────────────────────── */
.img-placeholder {
  background: var(--grey-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--grey);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 24px;
  border-radius: var(--radius);
  min-height: 300px;
}
.img-placeholder::before {
  content: '＋';
  font-size: 28px;
  color: var(--grey-light);
  background: var(--grey);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(64px, 10vw, 120px);
  background: var(--white);
  overflow: hidden;
  position: relative;
}
.hero__eyebrow { margin-bottom: 20px; }
.hero__headline { margin-bottom: 24px; }
.hero__subline {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 400;
  color: var(--grey);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 40px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 768px) {
  .hero .img-placeholder {
    min-height: 220px;
    max-height: 260px;
  }
  .hero__media {
    margin-top: 32px;
  }
}

/* ── STANDARDS BAR ───────────────────────────────────────── */
.standards-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.standards-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--maroon);
}
.standards-bar__icon svg {
  display: block;
  stroke: #FFFFFF;
  fill: none;
}
@media (max-width: 768px) {
  .standards-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* ── BAND / DIVIDER ──────────────────────────────────────── */
.band-maroon {
  background: var(--maroon);
  color: var(--white);
  padding-block: var(--section-gap);
}
.band-charcoal {
  background: var(--charcoal);
  color: var(--white);
  padding-block: var(--section-gap);
}
.band-light {
  background: var(--grey-light);
  padding-block: var(--section-gap);
}

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--white-pure);
  border: 1px solid rgba(106,13,46,0.08);
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(106,13,46,0.10);
  border-color: rgba(106,13,46,0.2);
}
.card__number {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.card__title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--charcoal);
}
.card__body { font-size: 15px; color: var(--grey); line-height: 1.7; }

/* ── CREDENTIAL BADGE ────────────────────────────────────── */
.credential-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}
.credential-badge__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.credential-badge__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1.2;
}
.credential-badge__sub {
  font-size: 11px;
  color: var(--grey);
  margin-top: 2px;
}

/* ── STAT TILE ───────────────────────────────────────────── */
.stat { text-align: center; padding: 24px 16px; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }

/* ── BADGE ───────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}
.badge-pending  { background: #FFF3CD; color: #856404; }
.badge-approved { background: #D4EDDA; color: #155724; }
.badge-rejected { background: #F8D7DA; color: #721C24; }
.badge-tier1    { background: #E8F4FD; color: #0C5460; }
.badge-tier2    { background: #E2E3E5; color: #383D41; }
.badge-tier3    { background: #FDF3E8; color: #856404; }

/* ── FORMS ───────────────────────────────────────────────── */
.form-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maroon);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(106,13,46,0.10);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}
.form-label .required { color: var(--maroon); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--white-pure);
  border: 1.5px solid rgba(106,13,46,0.15);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(106,13,46,0.08);
}
.form-control::placeholder { color: #B0ABA4; }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%237A7A7A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-hint { font-size: 12px; color: var(--grey); margin-top: 4px; }
.form-error { font-size: 12px; color: #C0392B; margin-top: 4px; display: none; }
.form-error.visible { display: block; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* ── ALERT ───────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  display: none;
}
.alert.visible { display: block; }
.alert-success { background: #D4EDDA; color: #155724; border: 1px solid #C3E6CB; }
.alert-error   { background: #F8D7DA; color: #721C24; border: 1px solid #F5C6CB; }
.alert-info    { background: #D1ECF1; color: #0C5460; border: 1px solid #BEE5EB; }

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin-block: 20px;
  border-radius: 1px;
}
.divider-center { margin-inline: auto; }

/* ── PAGE HEADER ─────────────────────────────────────────── */
.page-header {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 60px;
  background: var(--maroon);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-header .t-display { color: var(--white); }
.page-header .t-label { color: var(--gold); }
.page-header > .container { position: relative; z-index: 2; }

/* ── TABLE ───────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 12px 16px;
  border-bottom: 1.5px solid var(--border);
}
td {
  padding: 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tr:hover td { background: rgba(106,13,46,0.03); }

/* ── STANDARDS TICKER ───────────────────────────────────── */
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-wrap { overflow: hidden; white-space: nowrap; }
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  animation: ticker 28s linear infinite;
  will-change: transform;
  padding-right: 56px;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.ticker-icon {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ticker-label { font-size: 11px; font-weight: 700; color: var(--charcoal); letter-spacing: 0.1em; text-transform: uppercase; }
.ticker-sub   { font-size: 11px; color: var(--grey); margin-top: 1px; }

/* ── VIDEO BACKGROUND ────────────────────────────────────── */
.vid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.vid-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.vid-overlay {
  position: absolute;
  inset: 0;
  background: rgba(106,13,46,0.84);
  z-index: 1;
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--maroon);
  color: rgba(250,248,245,0.7);
  padding-block: 60px 32px;
  border-top: 3px solid rgba(184,150,12,0.4);
  position: relative;
  overflow: hidden;
}
footer > .container { position: relative; z-index: 2; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__logo { margin-bottom: 16px; }
.footer__logo img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.footer__tagline { font-size: 14px; line-height: 1.65; opacity: 0.6; }
.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: rgba(250,248,245,0.6);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(250,248,245,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ── ADMIN SIDEBAR ───────────────────────────────────────── */
.admin-layout {
  display: flex;
  min-height: 100vh;
  padding-top: var(--nav-h);
}
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--charcoal);
  padding: 32px 0;
  position: fixed;
  top: var(--nav-h);
  bottom: 0;
  overflow-y: auto;
}
.admin-sidebar__section {
  margin-bottom: 32px;
  padding: 0 20px;
}
.admin-sidebar__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.7);
  margin-bottom: 8px;
}
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: rgba(250,248,245,0.7);
  transition: all 0.15s;
  margin-bottom: 2px;
}
.admin-sidebar a:hover { background: rgba(250,248,245,0.06); color: var(--white); }
.admin-sidebar a.active { background: var(--maroon); color: var(--white); }
.admin-content {
  flex: 1;
  margin-left: 240px;
  padding: 40px var(--gutter);
}
@media (max-width: 900px) {
  .admin-sidebar { display: none; }
  .admin-content { margin-left: 0; }
}

/* ── UTILITIES ───────────────────────────────────────────── */
.text-maroon { color: var(--maroon); }
.text-gold   { color: var(--gold); }
.text-grey   { color: var(--grey); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-4  { margin-bottom: 4px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* ── SPINNER ─────────────────────────────────────────────── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(250,248,245,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
.spinner-dark {
  border-color: rgba(106,13,46,0.2);
  border-top-color: var(--maroon);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── SCROLL ENTRANCE ANIMATIONS ─────────────────────────── */
@media (prefers-reduced-motion: no-preference) {

.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide in from right */
.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale in from slight shrink */
.scale-in {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Expanding gold line */
.line-expand {
  width: 0 !important;
  transition: width 0.7s cubic-bezier(0.22,1,0.36,1);
}
.line-expand.visible {
  width: 32px !important;
}
.line-expand-wide {
  width: 0 !important;
  transition: width 0.9s cubic-bezier(0.22,1,0.36,1) 0.1s;
}
.line-expand-wide.visible {
  width: 48px !important;
}

/* Stagger delays */
.fade-up-delay-1,
.slide-right-delay-1,
.scale-in-delay-1  { transition-delay: 0.08s; }
.fade-up-delay-2,
.slide-right-delay-2,
.scale-in-delay-2  { transition-delay: 0.16s; }
.fade-up-delay-3,
.slide-right-delay-3,
.scale-in-delay-3  { transition-delay: 0.24s; }
.fade-up-delay-4,
.scale-in-delay-4  { transition-delay: 0.32s; }
.fade-up-delay-5,
.scale-in-delay-5  { transition-delay: 0.40s; }

/* Hero headline stagger */
.hero__copy > * {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero__copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero__copy > *:nth-child(2) { animation-delay: 0.18s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.32s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.46s; }
.hero__copy > *:nth-child(5) { animation-delay: 0.60s; }

/* Page header entrance */
.page-header .t-display {
  opacity: 0;
  animation: heroIn 0.9s cubic-bezier(0.22,1,0.36,1) 0.2s forwards;
}
.page-header .t-label {
  opacity: 0;
  animation: heroIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.05s forwards;
}

/* Stat value pop */
.stat-reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.stat-reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Image parallax-hint on scroll */
.img-reveal {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 1.1s cubic-bezier(0.22,1,0.36,1);
}
.img-reveal.visible {
  opacity: 1;
  transform: scale(1);
}

} /* end prefers-reduced-motion */

/* Fallback: motion off — show everything */
@media (prefers-reduced-motion: reduce) {
  .fade-up, .slide-right, .scale-in, .line-expand, .line-expand-wide,
  .stat-reveal, .img-reveal { opacity: 1 !important; transform: none !important; width: auto !important; }
  .hero__copy > *, .page-header .t-display, .page-header .t-label {
    opacity: 1 !important; animation: none !important; transform: none !important;
  }
}

/* Counter animation for stat values */
.stat__value { transition: color 0.3s; }

/* Card hover lift */
.card {
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s cubic-bezier(0.22,1,0.36,1);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(106,13,46,0.12);
}

/* Nav scroll — glass blur */
.nav.scrolled {
  box-shadow: 0 2px 32px rgba(26,26,26,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Button hover lift */
.btn {
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              transform 0.2s cubic-bezier(0.22,1,0.36,1), box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(106,13,46,0.28);
}
.btn-outline:hover {
  box-shadow: 0 4px 16px rgba(106,13,46,0.12);
}

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Divider shimmer — subtle moving light across the gold bar */
@keyframes divShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.divider {
  background: linear-gradient(90deg, var(--gold) 0%, #e8c44a 40%, var(--gold) 60%, var(--gold-light) 100%);
  background-size: 300% auto;
  animation: divShimmer 4s linear infinite;
}

/* Image reveal will-change */
.img-reveal { will-change: opacity, transform; }
.scale-in   { will-change: opacity, transform; }
