@charset "UTF-8";

/* ==========================================================================
   UCI Web Design System & UI Architecture
   ========================================================================== */

/* --------------------------------------------------
 * Color Tokens
 * -------------------------------------------------- */
:root {
  /* Base Canvas Colors */
  --color-bg-dark: #040A15;
  --color-bg-dark-surface: #070F1E;
  --color-bg-dark-card: #0A192F;
  --color-bg-dark-deepest: #02050A;
  
  --color-bg-light: #F9F8F3;
  --color-bg-light-card: #FFFFFF;

  /* Sovereign Gold Palette */
  --color-gold-primary: #D4AF37;
  --color-gold-light: #F3E5AB;
  --color-gold-muted: #C5A059;
  --color-gold-dark: #8C701E;
  --color-gold-hover: #E4C563;

  /* Text & Foreground Colors */
  --color-text-dark-primary: #F8F9FA;
  --color-text-dark-secondary: #CBD5E1;
  --color-text-light-primary: #1A1D20;
  --color-text-light-secondary: #525B64;

  /* Status Colors */
  --color-status-success: #2E5C40;
  --color-status-warning: #8C6A20;
  --color-status-error: #7A2E2E;

  /* Borders & Glassmorphism */
  --border-gold-subtle: rgba(212, 175, 55, 0.20);
  --border-gold-medium: rgba(212, 175, 55, 0.45);
  --border-gold-bright: rgba(243, 229, 171, 0.80);

  /* Overlays & Backdrops */
  --overlay-dark: rgba(4, 10, 21, 0.6);
  --overlay-light: rgba(249, 248, 243, 0.6);
  --glass-bg-dark: rgba(10, 25, 47, 0.75);
  --glass-bg-light: rgba(255, 255, 255, 0.85);
  --glass-blur: blur(16px) saturate(180%);

  /* Dynamic Gradients */
  --gradient-gold: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #8C701E 100%);
  --gradient-gold-text: linear-gradient(135deg, #FFF5D0 0%, #D4AF37 50%, #B89028 100%);
  --gradient-gold-border: linear-gradient(90deg, rgba(212,175,55,0) 0%, rgba(212,175,55,0.6) 50%, rgba(212,175,55,0) 100%);
  --gradient-card-dark: linear-gradient(180deg, rgba(14, 32, 60, 0.85) 0%, rgba(7, 15, 30, 0.95) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.20);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);
  --shadow-gold-glow: 0 0 24px rgba(212, 175, 55, 0.20);
  --shadow-gold-glow-hover: 0 0 40px rgba(212, 175, 55, 0.35);

  /* Animation & Transition */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-reveal: 800ms;

  /* Z-Index */
  --z-base: 0;
  --z-card: 10;
  --z-sticky: 100;
  --z-header: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-tooltip: 500;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --header-height: 72px;
  --header-height-mobile: 60px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;

  /* Spacing */
  --space-2xs: 0.25rem;  /* 4px */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 0.75rem;   /* 12px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  --space-4xl: 6rem;     /* 96px */
  --space-section: 8rem; /* 128px */
  --space-section-mobile: 4rem; /* 64px */

  /* Typography */
  --font-family-serif: 'Cormorant Garamond', 'Shippori Mincho', Georgia, serif;
  --font-family-sans: 'Inter', 'Noto Sans JP', -apple-system, sans-serif;
  --fs-hero: clamp(2.25rem, 5vw + 1rem, 3.75rem);
  --fs-h1: clamp(1.875rem, 4vw + 1rem, 2.75rem);
  --fs-h2: clamp(1.5rem, 3vw + 0.5rem, 2rem);
  --fs-h3: clamp(1.25rem, 2vw + 0.5rem, 1.5rem);
  --fs-base: 1rem;
  --fs-sm: 0.875rem;
}

/* --------------------------------------------------
 * Reset & Base
 * -------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-sans);
  background-color: var(--color-bg-dark);
  color: var(--color-text-dark-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-out-quart);
}

ul {
  list-style: none;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-spacing {
  padding: var(--space-section) 0;
}
@media (max-width: 768px) {
  .section-spacing {
    padding: var(--space-section-mobile) 0;
  }
}

.text-center { text-align: center; }
.text-gold {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-serif { font-family: var(--font-family-serif); }

.bg-dark { background-color: var(--color-bg-dark); color: var(--color-text-dark-primary); }
.bg-dark-surface { background-color: var(--color-bg-dark-surface); color: var(--color-text-dark-primary); }
.bg-light { background-color: var(--color-bg-light); color: var(--color-text-light-primary); }

/* --------------------------------------------------
 * Typography
 * -------------------------------------------------- */
h1, h2, h3, .font-display {
  font-family: var(--font-family-serif);
  font-weight: 500;
  line-height: 1.2;
}

h2.section-title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
}

/* --------------------------------------------------
 * UI Components
 * -------------------------------------------------- */

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  z-index: var(--z-header);
  background: transparent;
  transition: background var(--duration-normal) var(--ease-out-quart),
              backdrop-filter var(--duration-normal) var(--ease-out-quart),
              border-bottom var(--duration-normal) var(--ease-out-quart);
  display: flex;
  align-items: center;
}
.site-header.is-scrolled {
  background: var(--glass-bg-dark);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-gold-subtle);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity var(--duration-fast) var(--ease-out-quart);
}
.logo:hover {
  opacity: 0.85;
}
.logo img, .logo-mark {
  height: 36px;
  width: auto;
  display: block;
}
.logo-text {
  font-family: var(--font-family-serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #ffffff;
  white-space: nowrap;
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}
.nav-links a {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}
.nav-links a:hover {
  opacity: 1;
  color: var(--color-gold-hover);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.lang-switch a {
  font-size: var(--fs-sm);
  opacity: 0.6;
  transition: opacity var(--duration-fast), color var(--duration-fast);
}
.lang-switch a:hover {
  opacity: 1;
  color: var(--color-gold-hover);
}
.lang-switch a.is-active {
  opacity: 1;
  color: var(--color-gold-primary);
  border-bottom: 1px solid var(--color-gold-primary);
}
.lang-switch span {
  opacity: 0.5;
  user-select: none;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-dark-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links, .lang-switch { display: none; }
  .mobile-nav-toggle { display: block; }
  .site-header { height: var(--header-height-mobile); }
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-bg-dark);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal) var(--ease-out-quart),
              visibility var(--duration-normal) var(--ease-out-quart);
}
.mobile-nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}
.mobile-nav-overlay .nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  text-align: center;
  font-size: 1.25rem;
}
.mobile-nav-overlay .lang-switch {
  display: flex;
  margin-top: var(--space-2xl);
  gap: var(--space-md);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--color-bg-dark);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--border-radius-sm);
  padding: var(--space-sm) var(--space-xl);
  transition: transform var(--duration-normal) var(--ease-out-expo), box-shadow var(--duration-normal) var(--ease-out-quart);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-glow);
}
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--color-gold-primary);
  border: 1px solid var(--border-gold-medium);
  border-radius: var(--border-radius-sm);
  padding: var(--space-sm) var(--space-xl);
  transition: background var(--duration-normal) var(--ease-out-quart), border-color var(--duration-normal) var(--ease-out-quart);
}
.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--color-gold-primary);
}
.btn-text {
  display: inline-block;
  color: var(--color-gold-primary);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--duration-normal) var(--ease-out-quart);
}
.btn-text:hover {
  border-color: var(--color-gold-primary);
}

/* Elements */
.diamond-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--gradient-gold);
  transform: rotate(45deg);
  margin-right: var(--space-sm);
}

.section-divider {
  height: 1px;
  background: var(--gradient-gold-border);
  border: none;
  margin: var(--space-section) auto;
  max-width: var(--max-width);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(10,25,47,0.4) 0%, rgba(4,10,21,1) 100%);
  z-index: -1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('../assets/images/bg-pattern.svg');
  background-repeat: repeat;
  background-size: 240px 240px;
  opacity: 0.20;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.85) 15%, rgba(0,0,0,0.12) 85%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,0.85) 15%, rgba(0,0,0,0.12) 85%);
}
.hero-tag {
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  color: var(--color-gold-primary);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}
.hero-title {
  font-size: var(--fs-hero);
  margin-bottom: var(--space-lg);
}
.hero-lead {
  font-size: var(--fs-h3);
  color: var(--color-text-dark-secondary);
  max-width: 800px;
  margin-bottom: var(--space-2xl);
  font-weight: 300;
}
.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Page Header (for non-top pages) */
.page-header {
  position: relative;
  padding: calc(var(--header-height) + var(--space-section)) 0 var(--space-2xl);
  background: var(--color-bg-dark-surface);
  border-bottom: 1px solid var(--border-gold-subtle);
  text-align: center;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('../assets/images/bg-pattern.svg');
  background-repeat: repeat;
  background-size: 100px 100px;
  opacity: 0.18;
  pointer-events: none;
}
.page-title {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-md);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  border-top: 1px solid var(--border-gold-subtle);
  border-bottom: 1px solid var(--border-gold-subtle);
  padding: var(--space-xl) 0;
}
.stat-item h3 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-xs);
}
.stat-item p {
  font-size: var(--fs-sm);
  color: var(--color-text-dark-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Section Background Patterns (Subtle Accent on Dark Sections Only) */
#why, #services {
  position: relative;
  overflow: hidden;
}
#why::before, #services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('../assets/images/section-pattern.svg');
  background-repeat: repeat;
  background-size: 160px 160px;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
#why .container, #services .container {
  position: relative;
  z-index: 1;
}

/* Mission */
.pillar-card {
  position: relative;
  overflow: hidden;
  border-left: 3px solid var(--color-gold-primary);
  padding: var(--space-lg) var(--space-lg) var(--space-lg) var(--space-xl);
  background: rgba(212, 175, 55, 0.03);
  transition: background var(--duration-normal) var(--ease-out-quart);
  font-size: 1.125rem;
  line-height: 1.8;
}
.pillar-card:hover {
  background: rgba(212, 175, 55, 0.07);
}
.mission-quote {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-lg);
  color: var(--color-gold-dark);
}

/* Cards Grid */
.grid-4, .grid-3 {
  display: grid;
  gap: var(--space-xl);
}
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.why-card, .service-card {
  background: var(--gradient-card-dark);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--border-radius-md);
  padding: var(--space-2xl) var(--space-xl);
  transition: transform var(--duration-normal) var(--ease-out-expo),
              border-color var(--duration-normal) var(--ease-out-quart),
              box-shadow var(--duration-normal) var(--ease-out-quart);
  position: relative;
  overflow: hidden;
}
.why-card:hover, .service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold-medium);
  box-shadow: var(--shadow-gold-glow);
}
.service-card:hover {
  border-color: var(--border-gold-bright);
  box-shadow: var(--shadow-gold-glow-hover);
}
.why-card h3, .service-card h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-gold-primary);
}
.why-card p, .service-card p {
  color: var(--color-text-dark-secondary);
  font-size: var(--fs-sm);
}

/* Philosophy */
.philosophy-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}
.philosophy-item {
  position: relative;
  padding: var(--space-xl);
  background: var(--color-bg-light-card);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
}
.philosophy-number {
  font-family: var(--font-family-serif);
  font-size: 4rem;
  font-weight: 700;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.15;
  position: absolute;
  top: -10px;
  right: var(--space-lg);
  pointer-events: none;
}
.philosophy-item h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
  color: var(--color-text-light-primary);
}
.philosophy-item p {
  color: var(--color-text-light-secondary);
}

/* Process */
.process-timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: var(--space-2xl);
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 28px; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-gold-border);
  z-index: 0;
}
.process-step {
  flex: 1;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--space-sm);
}
.process-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--color-bg-dark);
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}
.process-step h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  color: var(--color-gold-dark);
}
.process-step p {
  font-size: var(--fs-sm);
  color: var(--color-text-light-secondary);
}
@media (max-width: 768px) {
  .process-timeline {
    flex-direction: column;
    gap: var(--space-xl);
  }
  .process-timeline::before {
    top: 0; bottom: 0; left: 28px;
    width: 1px; height: auto;
  }
  .process-step {
    display: flex;
    text-align: left;
    align-items: flex-start;
    gap: var(--space-md);
  }
  .process-number { margin: 0; flex-shrink: 0; }
}

/* Portfolio */
.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.portfolio-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--border-radius-md);
  background: var(--gradient-card-dark);
  transition: transform var(--duration-normal) var(--ease-out-quart),
              border-color var(--duration-normal) var(--ease-out-quart);
}
.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold-medium);
}
.portfolio-date {
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gold-primary);
}
.portfolio-content h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}
.portfolio-content p {
  font-size: var(--fs-sm);
  color: var(--color-text-dark-secondary);
}
@media (max-width: 600px) {
  .portfolio-card {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

/* News List */
.news-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.news-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  background: var(--color-bg-dark-card);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255,255,255,0.05);
  scroll-margin-top: calc(var(--header-height) + 24px);
  transition: transform var(--duration-normal), background var(--duration-normal), border-color var(--duration-normal), box-shadow var(--duration-normal);
}
.news-card:hover {
  transform: translateY(-4px);
  background: var(--color-bg-dark-surface);
  border-color: var(--border-gold-medium);
}
.news-card.is-highlighted {
  animation: cardHighlightGlow 2.5s var(--ease-out-expo) forwards;
}

@keyframes cardHighlightGlow {
  0% {
    border-color: var(--color-gold-primary);
    box-shadow: 0 0 32px rgba(212, 175, 55, 0.45);
    transform: translateY(-2px);
  }
  60% {
    border-color: var(--color-gold-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.07);
    box-shadow: none;
    transform: translateY(0);
  }
}
.news-meta {
  display: flex;
  gap: var(--space-md);
  font-size: 0.75rem;
  color: var(--color-text-dark-secondary);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
}
.news-category {
  color: var(--color-gold-primary);
}
.news-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text-dark-primary);
}
.news-summary {
  font-size: var(--fs-sm);
  color: var(--color-text-dark-secondary);
  line-height: 1.7;
}

/* News Detailed Card */
.news-card-detailed {
  padding: var(--space-xl);
  background: var(--color-bg-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.news-card-detailed:hover {
  border-color: var(--border-gold-medium);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  /* Narrow container & card padding only on dedicated news page for larger photos */
  .news-page-section .container-narrow {
    padding: 0 var(--space-md);
  }
  .news-card-detailed {
    padding: var(--space-md);
  }
  .news-gallery {
    margin-top: var(--space-md);
  }
  .news-gallery-2,
  .news-gallery-3,
  .news-gallery-4,
  .news-gallery-5 {
    gap: 6px;
  }
}

/* ==========================================================================
   News Gallery Layouts (Responsive & Adaptive Collage)
   ========================================================================== */
.news-gallery {
  margin-top: var(--space-lg);
  width: 100%;
}

.news-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.3);
}

.news-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

.news-card:hover .news-gallery-item img,
.news-gallery-item:hover img {
  transform: scale(1.03);
}

/* 1 Image: Elegant Wide Showcase */
.news-gallery-1 .news-gallery-item {
  width: 100%;
  height: 280px;
}
@media (min-width: 768px) {
  .news-gallery-1 .news-gallery-item {
    height: 420px;
  }
}

/* 2 Images: Balanced 2-Column Split */
.news-gallery-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
.news-gallery-2 .news-gallery-item {
  height: 190px;
}
@media (min-width: 768px) {
  .news-gallery-2 .news-gallery-item {
    height: 290px;
  }
}

/* 3 Images: Featured Hero Banner (Top 1 Full-Width + Bottom 2 Columns) */
.news-gallery-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
.news-gallery-3 .news-gallery-item:nth-child(1) {
  grid-column: span 2;
  height: 160px;
}
.news-gallery-3 .news-gallery-item:nth-child(2),
.news-gallery-3 .news-gallery-item:nth-child(3) {
  height: 210px;
}
@media (min-width: 768px) {
  .news-gallery-3 .news-gallery-item:nth-child(1) {
    height: 240px;
  }
  .news-gallery-3 .news-gallery-item:nth-child(2),
  .news-gallery-3 .news-gallery-item:nth-child(3) {
    height: 320px;
  }
}

/* 4 Images: Symmetrical 2x2 Grid */
.news-gallery-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
.news-gallery-4 .news-gallery-item {
  height: 180px;
}
@media (min-width: 768px) {
  .news-gallery-4 .news-gallery-item {
    height: 270px;
  }
}

/* 5 Images: Refined Multi-Tier Grid (Top 2 + Bottom 3) */
.news-gallery-5 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-sm);
}
.news-gallery-5 .news-gallery-item:nth-child(1),
.news-gallery-5 .news-gallery-item:nth-child(2) {
  grid-column: span 3;
  height: 180px;
}
.news-gallery-5 .news-gallery-item:nth-child(3),
.news-gallery-5 .news-gallery-item:nth-child(4),
.news-gallery-5 .news-gallery-item:nth-child(5) {
  grid-column: span 2;
  height: 150px;
}
@media (min-width: 768px) {
  .news-gallery-5 .news-gallery-item:nth-child(1),
  .news-gallery-5 .news-gallery-item:nth-child(2) {
    height: 270px;
  }
  .news-gallery-5 .news-gallery-item:nth-child(3),
  .news-gallery-5 .news-gallery-item:nth-child(4),
  .news-gallery-5 .news-gallery-item:nth-child(5) {
    height: 210px;
  }
}

/* 6+ Images: Smooth Horizontal Scroll Track */
.news-gallery-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-xs);
  scrollbar-width: thin;
  scrollbar-color: var(--border-gold-subtle) transparent;
}
.news-gallery-scroll::-webkit-scrollbar {
  height: 4px;
}
.news-gallery-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.news-gallery-scroll::-webkit-scrollbar-thumb {
  background: var(--border-gold-subtle);
  border-radius: 2px;
}
.news-gallery-track {
  display: flex;
  gap: var(--space-sm);
  width: max-content;
}
.news-gallery-scroll .news-gallery-item {
  flex: 0 0 200px;
  height: 140px;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .news-gallery-scroll .news-gallery-item {
    flex: 0 0 260px;
    height: 180px;
  }
}

/* About Specs Table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table tr {
  border-bottom: 1px solid var(--border-gold-subtle);
}
.spec-table td {
  padding: var(--space-md) 0;
}
.spec-table td:first-child {
  color: var(--color-text-light-secondary);
  width: 30%;
}
.spec-table td:last-child {
  font-weight: 600;
  color: var(--color-text-light-primary);
}
@media (max-width: 600px) {
  .spec-table td { display: block; width: 100% !important; padding: var(--space-xs) 0; }
  .spec-table tr { padding: var(--space-sm) 0; }
  .spec-table td:first-child { font-size: var(--fs-sm); padding-bottom: 0; border: none;}
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-dark-deepest);
  border-top: 1px solid var(--border-gold-subtle);
  padding: var(--space-2xl) 0;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--color-text-dark-secondary);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('../assets/images/bg-pattern.svg');
  background-repeat: repeat;
  background-size: 100px 100px;
  opacity: 0.18;
  pointer-events: none;
}
.site-footer .logo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-lg);
}
.site-footer .logo img, .site-footer .logo-mark {
  height: 28px;
  width: auto;
}
.site-footer .logo-text {
  font-size: 0.95rem;
}
.site-footer p { margin-bottom: var(--space-sm); }
.disclaimer {
  max-width: 800px;
  margin: var(--space-xl) auto 0;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* --------------------------------------------------
 * Motion & Animations (Reveal)
 * -------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-reveal) var(--ease-out-expo),
              transform var(--duration-reveal) var(--ease-out-expo);
  will-change: transform, opacity;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }
.stagger-4 { transition-delay: 400ms; }
