/* ═══════════════════════════════════════════════════════════════
   ANN NODE — Luxury Trading Dashboard
   Design Language: Chanel · Hermès · Cartier

   Typography whispers. Space breathes. Gold accents.
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --black:      #0A0A0A;
  --charcoal:   #1A1A1A;
  --ivory:      #F4EADE;
  --warm-white: #FAFAF8;
  --gold:       #C69B3C;
  --gold-light: #D4AF37;
  --taupe:      #8A7968;
  --green:      #7A9E7E;
  --red:        #A6706B;
  --muted:      rgba(250,250,248,0.35);
  --muted-mid:  rgba(250,250,248,0.55);
  --border:     rgba(198,155,60,0.12);
  --border-sub: rgba(250,250,248,0.06);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--warm-white);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Scrollbar — barely there ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(198,155,60,0.2); }

/* ═══════════════════════════════════════════
   TYPOGRAPHY — Whispers, never shouts
   ═══════════════════════════════════════════ */
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: var(--warm-white);
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--warm-white);
}
h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--warm-white);
}

/* Navigation & label text */
.nav-text, .label-text {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   LAYOUT — Extreme breathing room
   ═══════════════════════════════════════════ */
.lux-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}
.lux-container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 60px;
}
.lux-section {
  padding: 100px 0;
}
.lux-section-hero {
  padding: 140px 0 100px;
}

@media (max-width: 768px) {
  .lux-container, .lux-container-narrow { padding: 0 24px; }
  .lux-section { padding: 60px 0; }
  .lux-section-hero { padding: 80px 0 60px; }
}

/* ── Gold decorative rule ── */
.gold-rule {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0;
}
[dir="rtl"] .gold-rule-end {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0 24px auto;
}

/* ── Section eyebrow (small caps label) ── */
.eyebrow {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

/* ═══════════════════════════════════════════
   NAVIGATION — Ultra-thin, Chanel-style
   ═══════════════════════════════════════════ */
.luxury-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 72px;
  background: transparent;
  transition: background 0.6s ease, border-color 0.6s ease;
  border-bottom: 1px solid transparent;
}
.luxury-nav.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--warm-white);
  text-decoration: none;
}
.nav-logo-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-left: 10px;
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
  0%,100% { opacity: 1; }
  50%     { opacity: 0.3; }
}

/* Desktop nav links */
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(250,250,248,0.5);
  position: relative;
  transition: color 0.4s ease;
  padding: 4px 0;
}
.nav-links a:hover,
.nav-links a.active { color: var(--warm-white); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
[dir="rtl"] .nav-links a::after { transform-origin: left; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Nav portfolio badge */
.nav-portfolio {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted-mid);
  padding: 6px 20px;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════
   SIDEBAR — Desktop only, minimal
   ═══════════════════════════════════════════ */
.luxury-sidebar {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 260px;
  padding-top: 72px;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  display: none;
  flex-direction: column;
  z-index: 40;
}

.sidebar-portfolio {
  padding: 40px 32px;
  border-bottom: 1px solid var(--border);
}
.sidebar-portfolio-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.sidebar-portfolio-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.8rem;
  letter-spacing: 0.03em;
  color: var(--warm-white);
}
.sidebar-portfolio-pct {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  margin-top: 8px;
}

.sidebar-nav {
  padding: 24px 0;
  flex: 1;
}
.sidebar-link {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  text-decoration: none;
  color: rgba(250,250,248,0.35);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.4s ease, background 0.4s ease;
  border-right: 2px solid transparent;
}
.sidebar-link:hover { color: var(--warm-white); background: rgba(250,250,248,0.02); }
.sidebar-link.active {
  color: var(--gold);
  border-right-color: var(--gold);
}
.sidebar-link .mat { color: inherit; font-size: 18px; }

.sidebar-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .luxury-sidebar { display: flex; }
}

/* ═══════════════════════════════════════════
   MOBILE DRAWER
   ═══════════════════════════════════════════ */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 200;
  pointer-events: none;
}
.mobile-drawer.open { pointer-events: all; }

.drawer-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.75);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.mobile-drawer.open .drawer-overlay { opacity: 1; }

.drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--black);
  border-left: 1px solid var(--border);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.mobile-drawer.open .drawer-panel { transform: translateX(0); }

.drawer-link {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 12px;
  color: rgba(250,250,248,0.4);
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  transition: color 0.4s;
}
.drawer-link:hover { color: var(--warm-white); }
.drawer-link.active { color: var(--gold); }
.drawer-link .mat { font-size: 18px; }

/* Hamburger — three thin gold lines */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--gold);
  transition: all 0.5s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1023px) { .hamburger { display: flex; } }

/* ── Bottom nav (mobile) ── */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 56px;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 150;
}
.bottom-nav-items { display: flex; align-items: stretch; height: 100%; }
.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: rgba(250,250,248,0.3);
  font-family: 'Raleway', sans-serif;
  font-size: 0.52rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.4s;
}
.bottom-nav-item .mat { font-size: 20px; }
.bottom-nav-item.active { color: var(--gold); }
@media (max-width: 1023px) { .bottom-nav { display: flex; } body { padding-bottom: 56px; } }

/* ═══════════════════════════════════════════
   HERO — Cinematic Portfolio Display
   ═══════════════════════════════════════════ */
.hero-section {
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 80px;
  position: relative;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: radial-gradient(ellipse at 70% 30%, rgba(198,155,60,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-portfolio-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--warm-white);
}
.hero-pnl {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin-top: 12px;
}

/* ═══════════════════════════════════════════
   CARDS — Glass with gold border
   ═══════════════════════════════════════════ */
.lux-card {
  background: rgba(250,250,248,0.02);
  border: 1px solid var(--border);
  padding: 40px;
  transition: border-color 0.6s ease, transform 0.8s ease;
}
.lux-card:hover {
  border-color: rgba(198,155,60,0.25);
  transform: translateY(-3px);
}
.lux-card-flush { padding: 0; overflow: hidden; }
.lux-card-compact { padding: 28px 32px; }

/* ═══════════════════════════════════════════
   KPI — Large serif numbers
   ═══════════════════════════════════════════ */
.kpi-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
}
.kpi-grid-5 { grid-template-columns: repeat(5, 1fr); }
.kpi-grid-4 { grid-template-columns: repeat(4, 1fr); }
.kpi-grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) { .kpi-grid-5, .kpi-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kpi-grid-5, .kpi-grid-4, .kpi-grid-3 { grid-template-columns: 1fr; } }

.kpi-cell {
  background: var(--black);
  padding: 36px 32px;
  text-align: right;
  transition: background 0.6s ease;
}
.kpi-cell:hover { background: rgba(250,250,248,0.015); }

.kpi-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.kpi-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--warm-white);
}
.kpi-sub {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 10px;
}

/* ═══════════════════════════════════════════
   DATA TABLE — Editorial, not spreadsheet
   ═══════════════════════════════════════════ */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lux-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}
.lux-table thead { border-bottom: 1px solid var(--border); }
.lux-table th {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 18px 24px;
  white-space: nowrap;
}
.lux-table td {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-sub);
  vertical-align: middle;
  color: var(--warm-white);
}
.lux-table tbody tr {
  transition: background 0.4s ease;
}
.lux-table tbody tr:hover {
  background: rgba(198,155,60,0.03);
}
.lux-table tbody tr:last-child td { border-bottom: none; }

/* Sticky header */
.lux-table thead th {
  position: sticky; top: 0;
  background: var(--charcoal);
  z-index: 2;
}

/* Best row accent */
.lux-table tr.best-row td { background: rgba(122,158,126,0.04); }

/* ═══════════════════════════════════════════
   BADGES — Minimal, no border-radius
   ═══════════════════════════════════════════ */
.lux-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-buy  { border: 1px solid rgba(122,158,126,0.3); color: var(--green); }
.badge-sell { border: 1px solid rgba(166,112,107,0.3); color: var(--red); }
.badge-gold { border: 1px solid var(--border); color: var(--gold); }
.badge-open { border: 1px solid rgba(138,121,104,0.3); color: var(--taupe); }
.badge-win  { border: 1px solid rgba(122,158,126,0.2); color: var(--green); }
.badge-loss { border: 1px solid rgba(166,112,107,0.2); color: var(--red); }

/* Color utilities */
.c-green { color: var(--green) !important; }
.c-red   { color: var(--red) !important; }
.c-gold  { color: var(--gold) !important; }
.c-muted { color: var(--muted) !important; }
.c-taupe { color: var(--taupe) !important; }

/* ═══════════════════════════════════════════
   POSITION CARDS — Asymmetric editorial
   ═══════════════════════════════════════════ */
.position-card {
  background: rgba(250,250,248,0.015);
  border: 1px solid var(--border-sub);
  padding: 32px;
  position: relative;
  transition: border-color 0.6s ease;
}
.position-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 2px; height: 100%;
}
.position-card.buy-card::before { background: var(--green); }
.position-card.sell-card::before { background: var(--red); }
.position-card:hover { border-color: var(--border); }

/* ═══════════════════════════════════════════
   FEATURED TRADES — Gold accent
   ═══════════════════════════════════════════ */
.trade-featured {
  background: rgba(250,250,248,0.015);
  border: 1px solid var(--border-sub);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.8s ease;
}
.trade-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
}
.trade-featured.gold::before { background: var(--gold); }
.trade-featured.silver::before { background: var(--taupe); }
.trade-featured.bronze::before { background: rgba(138,121,104,0.5); }
.trade-featured:hover { transform: translateY(-3px); }

/* ═══════════════════════════════════════════
   FILTER BUTTONS — Outlined, no radius
   ═══════════════════════════════════════════ */
.lux-filter {
  padding: 8px 24px;
  border: 1px solid var(--border-sub);
  background: transparent;
  color: var(--muted);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
}
.lux-filter:hover { border-color: var(--border); color: var(--warm-white); }
.lux-filter.active { border-color: var(--gold); color: var(--gold); }

/* ═══════════════════════════════════════════
   STRATEGY BAR — Thin gold line
   ═══════════════════════════════════════════ */
.strat-row { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.strat-name {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  min-width: 120px;
  text-align: right;
  color: var(--muted-mid);
}
.strat-bar { flex: 1; height: 1px; background: var(--border-sub); overflow: hidden; }
.strat-bar-fill {
  height: 100%;
  background: var(--gold);
  transition: width 1.4s cubic-bezier(0.16,1,0.3,1);
}
.strat-val {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--gold);
  min-width: 36px;
  text-align: left;
}

/* ═══════════════════════════════════════════
   INSIGHT CARDS
   ═══════════════════════════════════════════ */
.insight-card {
  padding: 32px 36px;
  border: 1px solid var(--border-sub);
  border-right: 2px solid var(--gold);
  margin-bottom: 16px;
  transition: border-color 0.6s ease;
}
.insight-card:hover { border-color: var(--border); border-right-color: var(--gold); }

/* ═══════════════════════════════════════════
   LEARNING CYCLE — Connected diamonds
   ═══════════════════════════════════════════ */
.cycle-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.cycle-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--gold);
  transform: rotate(45deg);
  transition: border-color 0.4s ease;
}
.cycle-icon > * { transform: rotate(-45deg); }
.cycle-icon:hover { border-color: var(--gold); }
.cycle-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-white);
}
.cycle-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 100px;
}
.cycle-connector-line {
  width: 40px; height: 1px;
  background: var(--border);
  margin: 0 4px;
  margin-bottom: 40px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cycle-step { flex-direction: row; text-align: right; gap: 14px; }
  .cycle-icon { width: 36px; height: 36px; font-size: 0.9rem; }
  .cycle-connector-line { width: 1px; height: 20px; margin: 4px auto; }
}

/* ═══════════════════════════════════════════
   LIVE DOT & PILL
   ═══════════════════════════════════════════ */
.live-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: breathe 4s ease-in-out infinite;
}
.live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 16px;
  border: 1px solid rgba(122,158,126,0.15);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
}

/* ═══════════════════════════════════════════
   SHIMMER SKELETON
   ═══════════════════════════════════════════ */
.shimmer {
  background: linear-gradient(90deg,
    rgba(250,250,248,0.015) 25%,
    rgba(250,250,248,0.03) 50%,
    rgba(250,250,248,0.015) 75%);
  background-size: 200% 100%;
  animation: shimmer 2.5s infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════
   NO DATA — Elegant empty state
   ═══════════════════════════════════════════ */
.no-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}
.no-data-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  transform: rotate(45deg);
  margin-bottom: 24px;
  opacity: 0.3;
}
.no-data-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════
   CHART WRAPPER
   ═══════════════════════════════════════════ */
.chart-wrap { position: relative; height: 280px; }
.chart-wrap canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }

/* ═══════════════════════════════════════════
   SCROLL REVEAL — Slow, cinematic
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered children */
.reveal-group > * { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-group.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.reveal-group.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.12s; }
.reveal-group.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.24s; }
.reveal-group.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.36s; }
.reveal-group.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.48s; }

/* ═══════════════════════════════════════════
   ASYMMETRIC GRIDS — Editorial layouts
   ═══════════════════════════════════════════ */
.grid-editorial {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
}
.grid-2-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.grid-3-equal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) {
  .grid-editorial, .grid-2-equal, .grid-3-equal { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   MATERIAL SYMBOLS
   ═══════════════════════════════════════════ */
.mat {
  font-family: 'Material Symbols Outlined';
  font-size: 18px;
  line-height: 1;
  vertical-align: middle;
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

/* ═══════════════════════════════════════════
   MANAGEMENT PAGE EXTRAS
   ═══════════════════════════════════════════ */
.grade-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border: 1px solid;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1rem;
}
