/* ====================================================
   ICAOTA 2027 - Shared Design System
   Aesthetic: Academic Luxury / Ivory & Gold (light, clear)
   Single global stylesheet for the whole site.
   ==================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

:root {
  --ivory:       #FCF9F2;
  --paper:       #FFFFFF;
  --cream:       #F4EDDD;
  --obsidian:    #16223D;
  --deep-navy:   #FCF9F2;
  --navy:        #F4EDDD;
  --navy-light:  #FFFFFF;
  
  --border:      rgba(22,34,61,0.12);
  --border-glow: rgba(168,126,43,0.45);
  --gold:        #A87E2B;
  --gold-light:  #7A5C17;   /* darker gold for text/labels — ~5.7:1 on ivory (AA) */
  --gold-deep:   #6B5015;   /* solid fills behind white text — ~6.5:1 (AA) */
  --gold-pale:   rgba(168,126,43,0.12);
  --ice:         #25324F;
  --ice-dim:     #4F5972;   /* stronger for hero sub-text */
  --text:        #26324A;
  --text-muted:  rgba(38,50,74,0.82);
  --text-dim:    rgba(38,50,74,0.58);
  --accent:      #2a6df0;
  --accent-glow: rgba(42,109,240,0.10);
  --ff-display:  'Lora', Georgia, 'Times New Roman', serif;
  --ff-body:     'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* Was a monospace label font; repointed to the body sans for a calmer,
     more grown-up look. Var name kept so every existing rule resolves. */
  --ff-mono:     'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-expo:   cubic-bezier(0.19, 1, 0.22, 1);
  --ease-back:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm:   0 1px 2px rgba(22,34,61,0.05);
  --shadow:      0 12px 32px -14px rgba(22,34,61,0.20);
  --shadow-lg:   0 24px 60px -22px rgba(22,34,61,0.24);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--ivory);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom cursor: only once includes/cosmos.php has found a real mouse
   (html.has-cursor). Touch screens, reduced motion or a script that never ran
   keep the normal pointer. */
html.has-cursor body { cursor: none; }
.cursor-dot, .cursor-ring { display: none; }
html.has-cursor .cursor-dot, html.has-cursor .cursor-ring { display: block; }

.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 32px; height: 32px;
  border: 1px solid rgba(168,126,43,0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.18s var(--ease-expo), width 0.25s, height 0.25s, border-color 0.25s;
  transform: translate(-50%, -50%);
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 48px; height: 48px;
  border-color: var(--gold);
}

#cosmos-canvas {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}
.noise-overlay {
  position: fixed; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.35;
  mix-blend-mode: multiply;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.page-wrapper { position: relative; z-index: 2; }

/* ============== NAVIGATION ============== */
nav {
  background: #15213B;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 2px 18px rgba(21,33,59,0.18);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: var(--ff-body);
}
nav .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 68px; flex-wrap: nowrap; gap: 1rem;
}
.navbar-brand { flex-shrink: 0; display: flex; align-items: center; }
.navbar-brand img {
  height: 46px; width: 46px; border-radius: 50%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25);
}
.navbar-brand img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px #D9C089, 0 0 18px rgba(217,192,137,0.3);
}
.menu-toggle{display:none;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:44px;height:44px;background:none;border:1px solid rgba(255,255,255,.28);border-radius:8px;cursor:pointer;flex-shrink:0;z-index:1001;padding:0;transition:border-color .25s,background .25s;}
.menu-toggle:hover,.menu-toggle.active{border-color:#D9C089;background:rgba(255,255,255,.10);}
.menu-toggle .burger-line{display:block;width:22px;height:2px;background:#fff;border-radius:2px;transition:transform .3s ease,opacity .2s ease;}
.menu-toggle.active .burger-line:nth-child(1){transform:translateY(7px) rotate(45deg);}
.menu-toggle.active .burger-line:nth-child(2){opacity:0;}
.menu-toggle.active .burger-line:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-links > a, .nav-links .dropdown > a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.03em;
  padding: 0.45rem 0.75rem; border-radius: 4px;
  display: flex; align-items: center; gap: 5px; white-space: nowrap;
  transition: color 0.22s, background 0.22s; cursor: pointer;
}
.nav-links > a:hover, .nav-links .dropdown > a:hover, .nav-links .dropdown:hover > a {
  color: #D9C089; background: rgba(255,255,255,0.08);
}
.nav-links > a.active, .nav-links .dropdown > a.active { color: #D9C089; }
.dropdown { position: relative; }

@media (min-width: 1024px) {
  .dropdown-content {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px);
    border: 1px solid rgba(168,126,43,0.18); border-radius: 8px;
    box-shadow: 0 16px 48px rgba(22,34,61,0.16), 0 0 0 1px rgba(168,126,43,0.05);
    padding: 6px 0; z-index: 2000;
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    display: flex !important; flex-direction: column; pointer-events: none;
  }
  .dropdown::after { content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 10px; }
  .dropdown:hover > .dropdown-content, .dropdown-content.show {
    visibility: visible; opacity: 1; transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
    pointer-events: auto;
  }
}
.dropdown-content a {
  display: block; padding: 9px 18px; font-size: 0.8rem; font-weight: 400;
  color: rgba(22,34,61,0.72); text-decoration: none; white-space: nowrap;
  transition: background 0.18s, color 0.18s, padding-left 0.18s;
  border-left: 2px solid transparent;
}
.dropdown-content a:hover {
  background: rgba(168,126,43,0.08); color: var(--gold-light);
  padding-left: 22px; border-left-color: var(--gold);
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .nav-links > a, .nav-links .dropdown > a { font-size: 0.8rem; padding: 0.4rem 0.6rem; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav-links { gap: 0.1rem; }
  .nav-links > a, .nav-links .dropdown > a { font-size: 0.75rem; padding: 0.35rem 0.45rem; }
}
@media (max-width: 1023px) {
  nav .container { flex-wrap: wrap; height: auto; padding: 0.75rem 1.25rem; align-items: center; }
  .menu-toggle { display: flex; }
  .nav-links {
    display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 0; padding: 0;
    max-height: 0; overflow: hidden; opacity: 0;
    background: #15213B; border-top: 0 solid rgba(255,255,255,0.12);
    transition: max-height .45s cubic-bezier(.16,1,.3,1), opacity .3s ease, margin-top .3s ease, padding .3s ease, border-top-width .3s ease;
  }
  .nav-links.active { max-height: 85vh; overflow-y: auto; opacity: 1; margin-top: 0.6rem; padding: 0.4rem 0 1rem; border-top-width: 1px; }
  .nav-links > a, .nav-links .dropdown > a {
    font-size: 0.9rem; padding: 0.85rem 1.5rem; width: 100%;
    border-radius: 0; justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.active > * { animation: navItemIn .4s ease both; }
  .nav-links.active > *:nth-child(1) { animation-delay: .04s; }
  .nav-links.active > *:nth-child(2) { animation-delay: .09s; }
  .nav-links.active > *:nth-child(3) { animation-delay: .14s; }
  .nav-links.active > *:nth-child(4) { animation-delay: .19s; }
  .nav-links.active > *:nth-child(5) { animation-delay: .24s; }
  .nav-links.active > *:nth-child(6) { animation-delay: .29s; }
  .nav-links.active > *:nth-child(7) { animation-delay: .34s; }
  @keyframes navItemIn { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } }
  .dropdown > a .fa-caret-down { transition: transform .3s ease; }
  .dropdown.open > a .fa-caret-down { transform: rotate(180deg); }
  .dropdown.open > a { color: #D9C089; }
  .dropdown-content {
    position: static; visibility: visible; opacity: 1; transform: none; pointer-events: auto;
    display: flex; flex-direction: column; max-height: 0; overflow: hidden;
    background: rgba(255,255,255,0.05); border: none;
    border-radius: 0; box-shadow: none; padding: 0;
    border-left: 2px solid #D9C089; margin-left: 1.5rem;
    transition: max-height .35s ease;
  }
  .dropdown-content.show { max-height: 420px; }
  .dropdown-content a { padding: 0.65rem 1.2rem; font-size: 0.82rem; border-left: none; color: rgba(255,255,255,0.78); }
  .dropdown-content a:hover { background: rgba(255,255,255,0.07); color: #D9C089; padding-left: 1.5rem; border-left: none; }
}

/* ============== INNER PAGE HERO ============== */
.inner-hero {
  position: relative; overflow: hidden;
  padding: 100px 48px 72px;
  background:
    radial-gradient(1200px 460px at 50% -20%, rgba(168,126,43,0.10), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--border);
}
.inner-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168,126,43,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,126,43,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.inner-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(42,109,240,0.04) 0%, transparent 70%);
}
.inner-hero-content {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto;
}
.inner-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 0.65rem;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-light); background: rgba(168,126,43,0.10);
  border: 1px solid rgba(168,126,43,0.28); padding: 6px 14px;
  border-radius: 2px; margin-bottom: 22px;
}
.inner-hero-eyebrow::before {
  content: ''; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  animation: pulse-gold 2s infinite;
}
@keyframes pulse-gold {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.6); }
}
.inner-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400; line-height: 1.12; color: var(--obsidian);
  letter-spacing: -0.01em; margin-bottom: 16px;
}
.inner-hero-title em { font-style: italic; color: var(--gold-light); }
.inner-hero-sub {
  font-family: var(--ff-display);
  font-size: 1.05rem; font-style: italic;
  color: var(--ice-dim); max-width: 640px; line-height: 1.6;
}

/* ============== SECTION SHELLS ============== */
.section-shell {
  position: relative; max-width: 1100px;
  margin: 0 auto; padding: 88px 48px;
}
.section-eyebrow {
  font-family: var(--ff-mono); font-size: 0.62rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1px;
  background: var(--gold); opacity: 0.7;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 400;
  color: var(--obsidian); line-height: 1.15; letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--gold-light); }

/* ============== CONTENT CARDS ============== */
.luxury-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 4px; padding: 36px 32px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, transform 0.4s var(--ease-expo), box-shadow 0.4s;
}
.luxury-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0);
  transition: transform 0.4s var(--ease-expo); transform-origin: left;
}
.luxury-card:hover {
  border-color: rgba(168,126,43,0.30);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.luxury-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 52px; height: 52px;
  background: var(--gold-pale);
  border: 1px solid rgba(168,126,43,0.22);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--gold-light);
  margin-bottom: 22px;
  transition: background 0.3s, box-shadow 0.3s;
}
.luxury-card:hover .card-icon {
  background: rgba(168,126,43,0.18);
  box-shadow: 0 0 18px rgba(168,126,43,0.18);
}
.card-num {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--ff-display); font-size: 3.5rem; font-weight: 700;
  color: rgba(168,126,43,0.10); line-height: 1;
  transition: color 0.3s;
}
.luxury-card:hover .card-num { color: rgba(168,126,43,0.18); }

.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 1024px) { .cards-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .cards-grid-3, .cards-grid-2 { grid-template-columns: 1fr; } }

.body-text {
  font-size: 1rem; line-height: 1.85;
  color: var(--text-muted);
}
.body-text strong { color: var(--text); font-weight: 600; }
.body-text p + p { margin-top: 18px; }

.section-divider {
  height: 1px; background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  margin: 0;
}

.pillar {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: var(--paper);
  border: 1px solid var(--border); border-radius: 3px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-expo), box-shadow 0.3s;
}
.pillar:hover {
  border-color: rgba(168,126,43,0.28);
  background: rgba(168,126,43,0.04);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.pillar-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-pale); border-radius: 2px;
  color: var(--gold-light); font-size: 0.9rem;
}
.pillar-text h5 { font-size: 0.82rem; font-weight: 600; color: var(--obsidian); margin-bottom: 3px; }
.pillar-text p { font-size: 0.72rem; color: var(--text-muted); line-height: 1.5; }
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
@media (max-width: 768px) { .pillars-grid { grid-template-columns: 1fr; } }

.detail-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.detail-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--text-muted);
}
.detail-list li:last-child { border-bottom: none; }
.detail-list li i { color: var(--gold-light); font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; width: 16px; }
.detail-list li strong { color: var(--text); font-weight: 600; }
.detail-list li a { color: var(--gold-light); text-decoration: none; }
.detail-list li a:hover { color: var(--gold); text-decoration: underline; }

.agenda-block {
  background: var(--paper);
  border: 1px solid rgba(168,126,43,0.18);
  border-radius: 3px; padding: 28px 32px; margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.agenda-block-title {
  font-family: var(--ff-mono); font-size: 0.68rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.agenda-block-title::before {
  content: ''; width: 24px; height: 1px;
  background: var(--gold); opacity: 0.7;
}
.agenda-block ul {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.agenda-block ul li {
  font-size: 0.88rem; color: var(--text-muted);
  padding-left: 16px; position: relative;
}
.agenda-block ul li::before {
  content: '\2192'; position: absolute; left: 0;
  color: var(--gold); opacity: 0.8; font-size: 0.75rem;
}
.agenda-block ul li strong { color: var(--text); }

.speaker-card {
  background: var(--paper);
  border: 1px solid var(--border); border-radius: 4px;
  padding: 28px 24px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, transform 0.4s var(--ease-expo), box-shadow 0.4s;
}
.speaker-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0);
  transition: transform 0.4s var(--ease-expo); transform-origin: left;
}
.speaker-card:hover {
  border-color: rgba(168,126,43,0.30);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.speaker-card:hover::before { transform: scaleX(1); }
.speaker-avatar {
  width: 48px; height: 48px;
  background: var(--gold-pale);
  border: 1px solid rgba(168,126,43,0.22);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--gold-light); margin-bottom: 18px;
}
.speaker-name {
  font-family: var(--ff-display);
  font-size: 1.15rem; font-weight: 600; color: var(--obsidian); margin-bottom: 6px;
}
.speaker-inst {
  font-family: var(--ff-mono); font-size: 0.62rem;
  letter-spacing: 0.1em; color: var(--gold-light); margin-bottom: 14px;
}
.speaker-bio {
  font-size: 0.85rem; line-height: 1.72; color: var(--text-muted); margin-bottom: 18px;
}
.speaker-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 0.62rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); border: 1px solid var(--border);
  background: transparent; padding: 7px 14px; border-radius: 2px;
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.speaker-link:hover {
  color: var(--gold-light); border-color: rgba(168,126,43,0.35);
  background: rgba(168,126,43,0.06);
}

.luxury-table-wrap {
  background: var(--paper);
  border: 1px solid var(--border); border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.luxury-table {
  width: 100%; border-collapse: collapse;
}
.luxury-table thead tr {
  background: rgba(168,126,43,0.10);
  border-bottom: 1px solid rgba(168,126,43,0.25);
}
.luxury-table thead th {
  font-family: var(--ff-mono); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-light); padding: 16px 20px; font-weight: 400;
  text-align: left;
}
.luxury-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.luxury-table tbody tr:last-child { border-bottom: none; }
.luxury-table tbody tr:hover { background: rgba(168,126,43,0.05); }
.luxury-table tbody td {
  padding: 14px 20px; font-size: 0.88rem; color: var(--text-muted);
}

.luxury-search {
  display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap;
}
.luxury-search input {
  flex: 1; min-width: 260px;
  font-family: var(--ff-body); font-size: 0.88rem;
  color: var(--text); background: var(--paper);
  border: 1px solid var(--border); border-radius: 3px;
  padding: 12px 18px; outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.luxury-search input::placeholder { color: var(--text-dim); }
.luxury-search input:focus {
  border-color: rgba(168,126,43,0.45);
  box-shadow: 0 0 0 3px rgba(168,126,43,0.12);
}

.luxury-pagination {
  display: flex; justify-content: center;
  gap: 6px; flex-wrap: wrap; margin-top: 28px;
}
.luxury-pagination .page-item .page-link {
  font-family: var(--ff-mono); font-size: 0.65rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); background: var(--paper);
  border: 1px solid var(--border); border-radius: 2px;
  padding: 8px 14px; transition: all 0.25s;
}
.luxury-pagination .page-item .page-link:hover,
.luxury-pagination .page-item.active .page-link {
  background: rgba(168,126,43,0.14);
  border-color: rgba(168,126,43,0.40);
  color: var(--gold-light);
}
.luxury-pagination .page-item.disabled .page-link {
  opacity: 0.4; pointer-events: none;
}

.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 600;
  color: #fff; background: linear-gradient(135deg, var(--gold-light), var(--gold-deep)); border: none;
  padding: 14px 28px; text-decoration: none; border-radius: 6px; cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(107,80,21,0.60);
  transition: filter 0.3s, transform 0.3s var(--ease-back), box-shadow 0.3s;
}
.btn-gold:hover {
  filter: brightness(1.08); color: #fff;
  transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(107,80,21,0.7);
}
.btn-gold:active { transform: translateY(0); }

/* ── Add to Calendar ── */
.addcal {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--ff-mono); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-light); background: rgba(168,126,43,0.08);
  border: 1px solid rgba(168,126,43,0.32); border-radius: 999px;
  padding: 6px 13px; cursor: pointer; line-height: 1; white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.addcal:hover { background: var(--gold); color: #fff; border-color: var(--gold); transform: translateY(-1px); }
.addcal i { font-size: 0.78rem; }
.addcal-icon { padding: 7px; border-radius: 8px; }
.addcal-menu {
  z-index: 5000; min-width: 216px; background: #fff;
  border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 22px 56px -20px rgba(22,34,61,0.45); padding: 7px;
  display: flex; flex-direction: column; animation: addcalIn 0.16s ease;
}
@keyframes addcalIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.addcal-menu a, .addcal-menu button {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 10px 12px; font-family: var(--ff-body); font-size: 0.85rem;
  color: var(--text); background: none; border: none; border-radius: 8px;
  text-align: left; text-decoration: none; cursor: pointer;
}
.addcal-menu a:hover, .addcal-menu button:hover { background: rgba(168,126,43,0.10); color: var(--gold-light); }
.addcal-menu i { width: 18px; text-align: center; color: var(--gold); font-size: 0.95rem; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono); font-size: 0.72rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text); background: transparent;
  border: 1px solid var(--border); padding: 14px 28px;
  text-decoration: none; border-radius: 2px; cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s var(--ease-back);
}
.btn-ghost:hover { color: var(--gold-light); border-color: var(--gold); background: rgba(168,126,43,0.08); transform: translateY(-2px); }

.gold-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 0.65rem; letter-spacing: 0.12em;
  color: var(--gold-light); background: var(--gold-pale);
  border: 1px solid rgba(168,126,43,0.28); padding: 6px 14px; border-radius: 2px;
}

.welcome-note {
  background: rgba(168,126,43,0.07);
  border: 1px solid rgba(168,126,43,0.20); border-radius: 2px;
  padding: 12px 20px; margin-top: 24px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.82rem; color: var(--text-muted);
}
.welcome-note i { color: var(--gold-light); }

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.no-js .reveal { opacity: 1; transform: none; }

.bg-deep-navy { background: var(--deep-navy); }
.bg-navy { background: var(--navy); }

#loadingIndicator {
  display: none; text-align: center; padding: 20px;
  font-family: var(--ff-mono); font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light);
}

.corner-frame { position: relative; }
.corner-frame::before {
  content: '';
  position: absolute; top: -16px; left: -16px;
  width: 48px; height: 48px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold); opacity: 0.7;
}
.corner-frame::after {
  content: '';
  position: absolute; bottom: -16px; right: -16px;
  width: 48px; height: 48px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold); opacity: 0.7;
}

@media (max-width: 768px) {
  .inner-hero { padding: 88px 24px 56px; }
  .section-shell { padding: 64px 24px; }
  html.has-cursor body { cursor: auto; }
  html.has-cursor .cursor-dot, html.has-cursor .cursor-ring { display: none; }
  .luxury-table-wrap { overflow-x: auto; }
}

/* ============== FOOTER ============== */
#site-footer {
  background: linear-gradient(180deg, var(--cream), var(--paper));
  color: var(--text);
  font-family: var(--ff-body); position: relative; overflow: hidden;
  border-top: 1px solid var(--border);
}
#site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}
#site-footer::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168,126,43,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,126,43,0.03) 1px, transparent 1px);
  background-size: 80px 80px; pointer-events: none;
}
.footer-container {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px;
  max-width: 1100px; margin: 0 auto; padding: 72px 48px 56px;
  position: relative; z-index: 1;
}
.footer-about h4, .footer-links h4, .footer-pages h4 {
  font-family: var(--ff-mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.footer-about h4::before, .footer-links h4::before, .footer-pages h4::before {
  content: ''; display: block; width: 20px; height: 1px;
  background: var(--gold); opacity: 0.7;
}
.footer-about p { font-size: 0.85rem; line-height: 1.85; color: var(--text-muted); max-width: 360px; }
.footer-about p strong { color: var(--text); font-weight: 600; }
.footer-links ul, .footer-pages ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.footer-links li a, .footer-pages li a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--text-muted); text-decoration: none;
  padding: 7px 0; transition: color 0.25s, gap 0.25s;
}
.footer-links li a::before, .footer-pages li a::before {
  content: '\2192'; font-size: 0.7rem; color: var(--gold);
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
}
.footer-links li a:hover, .footer-pages li a:hover { color: var(--gold-light); gap: 12px; }
.footer-links li a:hover::before, .footer-pages li a:hover::before { opacity: 1; transform: translateX(0); }
.footer-bottom {
  position: relative; z-index: 1; max-width: 1100px; margin: 0 auto;
  padding: 20px 48px 32px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-family: var(--ff-mono); font-size: 0.62rem; letter-spacing: 0.12em; color: var(--text-dim); }
.footer-bottom-logo { font-family: var(--ff-display); font-size: 1rem; font-weight: 600; color: var(--gold-light); letter-spacing: 0.05em; }
@media (max-width: 1024px) {
  .footer-container { grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px 32px 40px; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-container { grid-template-columns: 1fr; padding: 48px 24px 36px; }
  .footer-bottom { padding: 16px 24px 24px; flex-direction: column; text-align: center; }
}
/* ============== ACCESSIBILITY & POLISH (contrast + UX pass) ============== */
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 3px; }
a:focus-visible, button:focus-visible,
.btn-gold:focus-visible, .btn-ghost:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
nav a:focus-visible, .nav-register:focus-visible, .menu-toggle:focus-visible,
.dropdown-content a:focus-visible { outline-color: #E7CE92; }

/* Stronger, more legible mono labels / eyebrows on the ivory ground */
.section-eyebrow, .inner-hero-eyebrow, .agenda-block-title,
.footer-about h4, .footer-links h4, .footer-pages h4 { font-weight: 600; }

/* Ghost button: match gold button radius, clearer border */
.btn-ghost { border-radius: 6px; border-color: rgba(38,50,74,0.22); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* Badges: firmer border so they read cleanly on light backgrounds */
.gold-badge, .inner-hero-eyebrow { border-color: rgba(122,92,23,0.34); }

/* In-copy links get a clear affordance */
.body-text a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
.body-text a:hover { color: var(--gold-deep); }

/* Honour users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}