/* ==========================================================================
   SMC PROPERTY HOLDINGS & MANAGEMENT — MASTER DESIGN SYSTEM (LIGHT THEME)
   Established 1998 • Republic of Ireland • Residential Stewardship
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ROOT VARIABLES & PALETTE (LIGHT ARCHITECTURAL LUXURY)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette — Ivory Limestone, Warm Gold & Irish Emerald */
  --bg-base: #F8F6F0;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F2EFE8;
  --bg-surface-card: #FFFFFF;
  --bg-surface-hover: #ECE8DE;
  --bg-glass: rgba(255, 255, 255, 0.94);

  --text-primary: #0F201B;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-gold: #9A7B20;

  --gold-primary: #B8860B;
  --gold: #B8860B;
  --gold-light: #D4AF37;
  --gold-dark: #7A5B10;
  --gold-subtle: rgba(184, 134, 11, 0.08);
  --gold-glow: rgba(184, 134, 11, 0.25);

  --emerald-deep: #E8F5F1;
  --emerald-primary: #0E4D3E;
  --emerald-light: #10B981;
  --emerald-glow: rgba(14, 77, 62, 0.15);

  --border-subtle: rgba(15, 32, 27, 0.08);
  --border-highlight: rgba(184, 134, 11, 0.4);
  --border-emerald: rgba(14, 77, 62, 0.25);

  --hero-glow-1: rgba(184, 134, 11, 0.1);
  --hero-glow-2: rgba(14, 77, 62, 0.08);
  --noise-opacity: 0.02;

  /* Typography */
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Shadows & Borders */
  --glass-border: 1px solid rgba(15, 32, 27, 0.08);
  --glass-border-gold: 1px solid rgba(184, 134, 11, 0.3);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-elevated: 0 20px 45px rgba(0, 0, 0, 0.07);
  --shadow-gold: 0 15px 35px rgba(184, 134, 11, 0.15);

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-base);
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

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

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-primary) 0%, var(--gold-light) 50%, var(--emerald-primary) 100%);
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 0 10px var(--gold-glow);
  transition: width 0.1s linear;
}

/* Custom Cursor Elements */
.cursor-dot, .cursor-ring {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.15s ease, width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold-dark);
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(184, 134, 11, 0.4);
  background: rgba(184, 134, 11, 0.03);
}

body.cursor-active .cursor-dot,
body.cursor-active .cursor-ring {
  opacity: 1;
}

body.cursor-hover .cursor-ring {
  width: 54px;
  height: 54px;
  border-color: var(--gold-primary);
  background: rgba(184, 134, 11, 0.08);
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring {
    display: none !important;
  }
}

/* Canvas & Texture Overlays */
.ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: var(--noise-opacity);
}

/* --------------------------------------------------------------------------
   3. CLEAN MINIMALIST HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  width: 100%;
  z-index: 900;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--border-subtle);
  padding: 24px 24px;
}

.header-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.logo-crest {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(184, 134, 11, 0.25));
}

.crest-svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-primary);
  margin-top: 2px;
}

.brand-heritage {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   4. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 96px 24px 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: -1;
}

.hero-glow-1 {
  width: 550px;
  height: 550px;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--hero-glow-1) 0%, transparent 70%);
}

.hero-glow-2 {
  width: 450px;
  height: 450px;
  bottom: 5%;
  right: 15%;
  background: radial-gradient(circle, var(--hero-glow-2) 0%, transparent 70%);
}

.hero-container {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Status Pill */
.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  background: var(--bg-surface);
  border: var(--glass-border-gold);
  border-radius: var(--radius-full);
  margin-bottom: 32px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-status-pill::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.8) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: shimmerAnim 5s infinite;
}

@keyframes shimmerAnim {
  0% { transform: translateX(-100%); }
  30%, 100% { transform: translateX(100%); }
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: var(--emerald-primary);
  border-radius: 50%;
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.status-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

.status-sep {
  color: var(--gold-primary);
  opacity: 0.5;
}

.status-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
}

/* Hero Titles */
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.headline-light {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.52em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.headline-serif {
  display: block;
  color: var(--text-primary);
}

.headline-accent {
  display: block;
  color: var(--gold-primary);
  font-style: italic;
  font-family: var(--font-editorial);
  font-weight: 400;
}

.hero-lead {
  max-width: 820px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 52px;
}

/* --------------------------------------------------------------------------
   5. 3D TILT CARDS & SPOTLIGHT ENGINE (ENGINEERING FLAIR)
   -------------------------------------------------------------------------- */
.tilt-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle 240px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(184, 134, 11, 0.15), transparent 70%);
  transition: opacity 0.3s ease;
  z-index: 10;
}

.tilt-card:hover .card-spotlight {
  opacity: 1;
}

/* Metrics Grid */
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 1100px;
}

@media (min-width: 768px) {
  .hero-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-metrics-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.metric-card {
  background: var(--bg-surface);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.metric-card:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-elevated);
}

.highlight-metric {
  border-color: var(--border-highlight);
  background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(184, 134, 11, 0.05) 100%);
}

.metric-descriptor {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--gold-dark);
  line-height: 1.2;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.metric-detail {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Scroll Prompt */
.scroll-prompt {
  margin-top: 48px;
}

.scroll-prompt a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.scroll-prompt-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--text-muted);
}

.scroll-prompt-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--gold-primary), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-prompt-ball {
  width: 3px;
  height: 6px;
  background: var(--gold-primary);
  position: absolute;
  top: 0;
  left: -1px;
  border-radius: 2px;
  animation: scrollBall 2s infinite ease-in-out;
}

@keyframes scrollBall {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(32px); opacity: 0; }
}

/* --------------------------------------------------------------------------
   6. SECTIONS SHARED UTILITIES
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding: 100px 24px;
  z-index: 2;
}

.section-container {
  max-width: 1320px;
  margin: 0 auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-surface);
  border: var(--glass-border-gold);
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}

.badge-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.badge-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subheading {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   7. OVERVIEW / RESIDENTIAL PROFILE
   -------------------------------------------------------------------------- */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .overview-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
  }
}

.editorial-copy {
  margin-top: 24px;
}

.lead-paragraph {
  font-family: var(--font-editorial);
  font-size: 1.22rem;
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.editorial-copy p {
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.focus-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.focus-badge {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: var(--bg-surface);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.focus-badge:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-elevated);
}

.focus-icon {
  font-size: 1.5rem;
}

.focus-badge strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.focus-badge span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Dossier Card Visual */
.architectural-dossier-card {
  background: var(--bg-surface);
  border: var(--glass-border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.dossier-header {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.dossier-tag {
  color: var(--gold-dark);
  letter-spacing: 0.1em;
}

.dossier-id {
  color: var(--text-muted);
}

.dossier-visual {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.dossier-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.architectural-dossier-card:hover .dossier-img {
  transform: scale(1.05);
}

.dossier-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 32, 27, 0.88) 100%);
  display: flex;
  justify-content: space-between;
}

.dossier-spec-row {
  display: flex;
  flex-direction: column;
}

.dossier-spec-row span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gold-primary);
}

.dossier-spec-row strong {
  font-size: 0.85rem;
  color: #fff;
}

.dossier-body {
  padding: 24px;
}

.dossier-body h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.dossier-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.dossier-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: var(--border-subtle);
  text-align: center;
}

.dossier-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(0.78rem, 1.1vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-dark);
}

.dossier-lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}



/* --------------------------------------------------------------------------
   9. INSTITUTIONAL PILLARS SECTION
   -------------------------------------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

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

@media (min-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar-card {
  background: var(--bg-surface);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}

.pillar-card:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-elevated);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 16px;
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.pillar-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: var(--border-subtle);
}

.pillar-checklist li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pillar-checklist li::before {
  content: '✓';
  color: var(--emerald-primary);
  font-weight: bold;
}

/* Institutional Quote Box */
.institutional-quote-box {
  margin-top: 72px;
  background: var(--bg-surface);
  border: var(--glass-border-gold);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow-elevated);
}

.quote-symbol {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold-primary);
  line-height: 1;
  opacity: 0.3;
  margin-bottom: 12px;
}

.quote-text {
  font-family: var(--font-editorial);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--text-primary);
  max-width: 860px;
  margin: 0 auto 24px;
}

.quote-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
}

.author-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   10. HERITAGE & TIMELINE SECTION
   -------------------------------------------------------------------------- */
.heritage-section {
  background: var(--bg-surface-elevated);
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 48px auto 0;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-primary) 0%, var(--emerald-primary) 50%, var(--gold-primary) 100%);
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .timeline-item {
    width: 50%;
  }

  .timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 48px;
    text-align: right;
  }

  .timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 48px;
    text-align: left;
  }
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.timeline-marker span {
  display: none;
}

@media (min-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-marker {
    right: -13px;
    left: auto;
  }
  .timeline-item:nth-child(even) .timeline-marker {
    left: -13px;
  }
}

.active-marker {
  background: var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-glow);
}

.timeline-card {
  margin-left: 48px;
  background: var(--bg-surface);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-card {
    margin-left: 0;
  }
  .timeline-item:nth-child(even) .timeline-card {
    margin-left: 0;
  }
}

.timeline-card:hover {
  border-color: var(--border-highlight);
}

.highlight-card {
  border-color: var(--border-highlight);
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(184, 134, 11, 0.05) 100%);
}

.timeline-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.gold-tag {
  color: var(--gold-dark);
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.timeline-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.timeline-stat {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.timeline-stat span {
  color: var(--text-muted);
}

.timeline-stat strong {
  color: var(--text-primary);
}

.gold-text {
  color: var(--gold-dark) !important;
}

/* --------------------------------------------------------------------------
   11. MINIMALIST FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-surface);
  border-top: var(--border-subtle);
  padding: 70px 24px 32px;
  position: relative;
  z-index: 2;
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
}

.footer-notice-box {
  background: var(--bg-surface-elevated);
  border: var(--glass-border-gold);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 56px;
}

.notice-icon {
  font-size: 2rem;
}

.notice-content h4 {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.notice-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: var(--border-subtle);
}

@media (min-width: 768px) {
  .footer-main-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-crest {
  width: 32px;
  height: 32px;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.f-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.f-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.footer-heritage-stamp {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-mono);
}

.footer-heritage-stamp span {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.footer-heritage-stamp strong {
  font-size: 0.78rem;
  color: var(--gold-dark);
}

.footer-heritage-stamp small {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list li span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-metrics-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-metrics-list li {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
}

.footer-metrics-list li span {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.footer-metrics-list li strong {
  font-size: 0.82rem;
  color: var(--gold-dark);
  margin-top: 2px;
}

.footer-bottom-bar {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.powered-by-tag {
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
}

.powered-by-tag strong {
  color: var(--gold-dark);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   12. ANIMATIONS & ACCESSIBILITY
   -------------------------------------------------------------------------- */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(24px);
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeIn {
  to { opacity: 1; }
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .tilt-card {
    transform: none !important;
  }
}
