/* ==========================================================================
   Conference Network Vargas — 2026 Design System ("Swiss Acoustic Precision")
   Zero-dependency modern CSS3 (View Transitions, Bento Grids, Light/Dark Theme)
   ========================================================================== */

@view-transition {
  navigation: auto;
}

:root {
  --font-sans: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Brand & Accent */
  --brand-50: #eff8ff;
  --brand-100: #dbeffe;
  --brand-400: #38bdf8;
  --brand-500: #0ea5e9;
  --brand-600: #0284c7;
  --brand-700: #0369a1;
  --brand-900: #0c4a6e;
  --signal-green: #10b981;

  /* Light Surfaces */
  --bg: #f6f8fc;
  --bg-elevated: #ffffff;
  --bg-subtle: #edf2f7;
  --bg-glass: rgba(255, 255, 255, 0.78);
  --text: #0b1324;
  --text-muted: #475569;
  --text-soft: #64748b;
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.16);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.09), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 54px -18px rgba(11, 19, 36, 0.16);
  --hero-surface: linear-gradient(135deg, #07111e 0%, #0d2138 55%, #073353 100%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  --bg: #070c16;
  --bg-elevated: #0e1626;
  --bg-subtle: #141f35;
  --bg-glass: rgba(11, 18, 32, 0.78);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-soft: #64748b;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.26);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px -12px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 28px 60px -18px rgba(0, 0, 0, 0.7);
  --hero-surface: linear-gradient(135deg, #040912 0%, #0b192c 55%, #062b47 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 420px at 12% -5%, rgba(14, 165, 233, 0.08), transparent 60%),
    radial-gradient(800px 420px at 88% 4%, rgba(2, 132, 199, 0.07), transparent 60%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--brand-600);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

main {
  flex: 1;
}

/* ==========================================================================
   Top Utility & Glass Navigation Bar
   ========================================================================== */

.top-utility {
  background: #07111e;
  color: rgba(241, 245, 249, 0.86);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-utility__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.45rem;
}

.top-utility__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  font-variant-numeric: tabular-nums;
}

.top-utility__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s var(--ease);
}

.top-utility__contacts a:hover {
  color: var(--brand-400);
}

.top-utility__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(241, 245, 249, 0.65);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  max-width: 1340px;
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-lockup__mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.brand-lockup__text {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  line-height: 1.15;
}

.brand-lockup__name {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}

.brand-lockup__name span {
  color: var(--brand-600);
}

.brand-lockup__sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav__link {
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}

.site-nav__link:hover {
  color: var(--text);
  background: var(--bg-subtle);
}

.site-nav__link[aria-current="page"] {
  color: #ffffff;
  background: var(--brand-600);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem;
  gap: 0.15rem;
}

.lang-switcher a {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all 0.2s var(--ease);
}

.lang-switcher a:hover {
  color: var(--text);
}

.lang-switcher a[aria-current="true"] {
  background: var(--bg-elevated);
  color: var(--brand-600);
  box-shadow: var(--shadow-sm);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.icon-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

@media (max-width: 1180px) {
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem clamp(1rem, 3vw, 2rem) 1.5rem;
    gap: 0.35rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav__link {
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .brand-lockup__sub {
    display: none;
  }
  .lang-switcher a {
    padding: 0.25rem 0.42rem;
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   Typography & Common Components
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.22);
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
}

.hero-dark .eyebrow {
  color: var(--brand-400);
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.28);
}

.display-title {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 3.65rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
}

.section-title {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.lead {
  font-size: clamp(1.03rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #ffffff;
  box-shadow: 0 8px 24px -6px rgba(2, 132, 199, 0.5);
}

.btn--primary:hover {
  box-shadow: 0 12px 28px -6px rgba(2, 132, 199, 0.65);
}

.btn--secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  background: var(--bg-subtle);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.section {
  padding-block: clamp(2.75rem, 6vw, 4.75rem);
}

.section--tight {
  padding-block: clamp(1.75rem, 3.5vw, 3rem);
}

/* ==========================================================================
   Cards, Bento Grids & Framed Media
   ========================================================================== */

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.card--interactive:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 165, 233, 0.35);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-7 { grid-column: span 7; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }

@media (max-width: 900px) {
  .col-8, .col-7, .col-6, .col-5, .col-4, .col-3 {
    grid-column: span 12;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

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

/* Cleanly crop out legacy 2010 baked rounded white corners on photos */
.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #0d1b2e;
  border: 1px solid var(--border);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.045);
  transition: transform 0.55s var(--ease);
}

.photo-frame--contain {
  background: radial-gradient(circle at 50% 40%, #102a49 0%, #07111e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-frame--contain img {
  object-fit: contain;
  transform: none;
}

.card--interactive:hover .photo-frame img {
  transform: scale(1.09);
}

/* ==========================================================================
   Hero Banners (Root Gateway + Internal Section Hero)
   ========================================================================== */

.hero-dark {
  position: relative;
  overflow: hidden;
  background: var(--hero-surface);
  color: #f8fafc;
  padding-block: clamp(2.75rem, 6vw, 4.75rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-dark::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 120%;
  background:
    radial-gradient(circle at 22% 30%, rgba(14, 165, 233, 0.25), transparent 48%),
    radial-gradient(circle at 82% 70%, rgba(16, 185, 129, 0.14), transparent 45%);
  pointer-events: none;
}

.hero-dark__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-dark__grid {
    grid-template-columns: 1fr;
  }
}

.hero-dark__lead {
  color: rgba(226, 232, 240, 0.84);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  max-width: 58ch;
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-surface);
  color: #f8fafc;
  padding-block: clamp(2.25rem, 4.5vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: rgba(226, 232, 240, 0.7);
  margin-bottom: 0.85rem;
}

.breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   Root Language Gateway Specific
   ========================================================================== */

.lang-gateway-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 960px) {
  .lang-gateway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .lang-gateway-grid {
    grid-template-columns: 1fr;
  }
}

.lang-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  color: #f8fafc;
  backdrop-filter: blur(12px);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lang-card:hover {
  transform: translateY(-4px);
  background: rgba(14, 165, 233, 0.16);
  border-color: rgba(56, 189, 248, 0.55);
}

.lang-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.lang-card__flag {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.lang-card__code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--brand-400);
}

.lang-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.lang-card__greeting {
  font-size: 0.875rem;
  color: rgba(226, 232, 240, 0.82);
  margin: 0.25rem 0 0;
}

.lang-card__cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-400);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.video-shell {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #040912;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.video-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-facade {
  position: absolute;
  inset: 0;
  display: block;
  cursor: pointer;
  overflow: hidden;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: brightness(0.72) saturate(0.95);
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
}

.video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(4, 9, 18, 0.55) 100%);
}

.video-facade:hover img,
.video-facade:focus-visible img {
  transform: scale(1.1);
  filter: brightness(0.85) saturate(1.05);
}

.video-facade__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 80px;
  height: 80px;
  translate: -50% -50%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 12px rgba(56, 189, 248, 0.14), 0 22px 44px -12px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.video-facade__play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -35% -50%;
  border-style: solid;
  border-width: 14px 0 14px 23px;
  border-color: transparent transparent transparent #ffffff;
}

.video-facade:hover .video-facade__play {
  transform: scale(1.08);
  background: rgba(14, 165, 233, 0.55);
}

/* ==========================================================================
   Formula Equation Card (Optimism + Quality + Discretion = Success)
   ========================================================================== */

.formula-card {
  background: linear-gradient(145deg, var(--bg-elevated) 0%, var(--bg-subtle) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-md);
}

@media (max-width: 720px) {
  .formula-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.formula-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.formula-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
}

.formula-pill__plus {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.14);
  color: var(--signal-green);
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.formula-brace {
  font-size: 3.5rem;
  font-weight: 200;
  color: var(--signal-green);
  line-height: 1;
  user-select: none;
}

.formula-outcome {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

@media (max-width: 720px) {
  .formula-outcome {
    align-items: center;
  }
  .formula-brace {
    transform: rotate(90deg);
  }
}

.formula-outcome__word {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--brand-500), var(--signal-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.05;
}

/* ==========================================================================
   Feature Lists & Pillars
   ========================================================================== */

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.check-list__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.14);
  color: var(--signal-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

/* ==========================================================================
   Equipment Inspector & Spec Catalog (equipment.html)
   ========================================================================== */

.inspector-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .inspector-grid {
    grid-template-columns: 1fr;
  }
}

.thumb-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.thumb-tile {
  padding: 0;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #ffffff;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.thumb-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.thumb-tile:hover {
  transform: translateY(-2px);
  border-color: var(--brand-400);
}

.thumb-tile.is-active {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.22);
}

.inspector-stage {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.inspector-stage__img {
  aspect-ratio: 294 / 301;
  width: 100%;
  max-width: 390px;
  margin-inline: auto;
  background: #ffffff;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-pill {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.filter-pill:hover {
  border-color: var(--brand-400);
  color: var(--text);
}

.filter-pill.is-active {
  background: var(--brand-600);
  color: #ffffff;
  border-color: var(--brand-600);
}

.spec-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 820px) {
  .spec-cards {
    grid-template-columns: 1fr;
  }
}

.spec-card__badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-600);
  background: rgba(14, 165, 233, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.spec-list {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.spec-list li + li {
  margin-top: 0.35rem;
}

.spec-note {
  margin-top: 0.85rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  font-size: 0.875rem;
  color: var(--text);
  border-left: 3px solid var(--brand-500);
}

/* ==========================================================================
   References Directory
   ========================================================================== */

.search-input {
  width: 100%;
  max-width: 380px;
  padding: 0.68rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text);
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.85rem;
}

.ref-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.ref-item:hover {
  transform: translateY(-2px);
  border-color: var(--brand-500);
}

.ref-item__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal-green);
  flex-shrink: 0;
}

/* ==========================================================================
   Unified 36-Photo Gallery & Lightbox
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-elevated);
  cursor: pointer;
  padding: 0;
  text-align: left;
  aspect-ratio: 4 / 3;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.gallery-card.is-portrait {
  aspect-ratio: 4 / 3;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.45s var(--ease);
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-500);
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-card__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 0.9rem 0.75rem;
  background: linear-gradient(to top, rgba(6, 13, 24, 0.88), rgba(6, 13, 24, 0));
  color: #f8fafc;
  font-size: 0.8125rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4, 9, 18, 0.92);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__panel {
  position: relative;
  max-width: min(980px, 94vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.lightbox__img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  background: #0b1324;
}

.lightbox__bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #e2e8f0;
  font-size: 0.9rem;
}

.lightbox__controls {
  display: flex;
  gap: 0.5rem;
}

.lightbox__btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox__btn:hover {
  background: rgba(14, 165, 233, 0.45);
}

/* ==========================================================================
   Modern Contact & Quote Form
   ========================================================================== */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  padding: 0.72rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.form-status {
  margin-top: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--text);
  font-size: 0.92rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #07111e;
  color: rgba(241, 245, 249, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: clamp(2.25rem, 4vw, 3.25rem) 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-400);
  margin: 0 0 0.85rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: rgba(226, 232, 240, 0.78);
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(226, 232, 240, 0.6);
}

/* ==========================================================================
   Subtle Reveal Animations
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    scroll-behavior: auto !important;
  }
}


/* ==========================================================================
   2026 Refresh Layer
   Floating glass navigation · cinematic hero · spotlight cards · marquee
   ========================================================================== */

:root {
  --header-h: 64px;
  --nav-offset: 0.75rem;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --hero-base: #050c17;
  --hero-surface:
    radial-gradient(70% 85% at 76% 42%, #0b3456 0%, rgba(8, 28, 50, 0.6) 45%, transparent 75%),
    linear-gradient(160deg, #060f1d 0%, #071528 55%, #050c17 100%);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

html[data-theme="dark"] {
  --hero-surface:
    radial-gradient(70% 85% at 76% 42%, #08304f 0%, rgba(6, 22, 40, 0.6) 45%, transparent 75%),
    linear-gradient(160deg, #040a15 0%, #050f1f 55%, #03070f 100%);
}

html {
  scroll-padding-top: calc(var(--header-h) + 2rem);
}

::selection {
  background: rgba(14, 165, 233, 0.28);
}

/* ---------- Floating glass navigation ---------- */

.top-utility {
  position: relative;
  z-index: 101;
  background: var(--hero-base);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.site-header {
  top: var(--nav-offset);
  height: var(--header-h);
  margin-block: var(--nav-offset) calc(-1 * (var(--header-h) + var(--nav-offset)));
  background: transparent;
  border: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  pointer-events: none;
}

.site-header .site-header__inner {
  pointer-events: auto;
  width: calc(100% - 2rem);
  max-width: 1320px;
  padding: 0 0.55rem 0 1.15rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  box-shadow: 0 12px 40px -16px rgba(2, 8, 23, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-scrolled .site-header__inner {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px -18px rgba(2, 8, 23, 0.4), 0 0 0 1px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html[data-theme="dark"] .site-header .site-header__inner {
  background: rgba(10, 18, 32, 0.72);
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 16px 44px -16px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brand-lockup__mark svg {
  width: 60px;
  height: auto;
}

.site-nav__link[aria-current="page"] {
  background: linear-gradient(180deg, #1aa9ec 0%, #0284c7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 16px -6px rgba(2, 132, 199, 0.6);
}

.icon-btn {
  width: 40px;
  height: 40px;
}

@media (max-width: 1180px) {
  .site-nav {
    inset: calc(var(--header-h) + 0.6rem) 0 auto 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
  }
}

/* First section slides under the floating nav */
main > section:first-child {
  padding-top: calc(var(--header-h) + var(--nav-offset) * 2 + clamp(2.25rem, 5vw, 4rem));
}

/* ---------- Cinematic dark surfaces ---------- */

.hero-dark,
.page-hero {
  isolation: isolate;
  background: var(--hero-surface);
  background-color: var(--hero-base);
  border-bottom: 0;
}

.hero-dark::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 18% 28%, rgba(14, 165, 233, 0.22), transparent 70%),
    radial-gradient(35% 45% at 88% 80%, rgba(16, 185, 129, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-dark::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    var(--grain),
    linear-gradient(rgba(148, 197, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 197, 255, 0.055) 1px, transparent 1px);
  background-size: 180px 180px, 64px 64px, 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 25%, transparent 80%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 25%, transparent 80%);
}

.page-hero {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.page-hero::after {
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

/* ---------- Typography ---------- */

.display-title {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-dark .display-title,
.page-hero .display-title {
  background: linear-gradient(180deg, #ffffff 30%, #bfe3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}

.section-title {
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-dark__lead,
.lead {
  text-wrap: pretty;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

/* ---------- Buttons ---------- */

.btn {
  padding: 0.85rem 1.5rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.btn--primary {
  background: linear-gradient(180deg, #2bb3f0 0%, #0284c7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 30px -10px rgba(14, 165, 233, 0.75);
}

.btn--primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 18px 38px -10px rgba(14, 165, 233, 0.9);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ---------- Homepage hero ---------- */

.hero-home {
  min-height: min(900px, 100svh);
  display: flex;
  align-items: center;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hero-home .hero-dark__grid {
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-home .display-title {
  margin-top: 1.1rem;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
}

.hero-home .hero-actions {
  margin-top: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  justify-content: start;
  gap: 1rem clamp(1.25rem, 3vw, 2.5rem);
  margin: 2.75rem 0 0;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-stats dt {
  order: 2;
  font-size: 0.78rem;
  color: rgba(203, 213, 225, 0.68);
}

.hero-stats dd {
  margin: 0;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Lectern visual — "lighten" blending drops the photo's dark studio backdrop
   so only the illuminated acrylic shows on top of the hero surface. */
.hero-visual {
  position: relative;
  height: clamp(460px, 50vw, 660px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual__glow {
  position: absolute;
  inset: 6% 4% 2%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(14, 165, 233, 0.32), rgba(14, 165, 233, 0.08) 55%, transparent 100%);
  filter: blur(14px);
}

.hero-visual__rings {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 125%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 52px, rgba(125, 211, 252, 0.1) 52px 53px);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 66%);
  mask-image: radial-gradient(circle, #000 18%, transparent 66%);
  animation: cnv-rings 7s ease-in-out infinite;
}

.hero-visual__floor {
  position: absolute;
  bottom: 3%;
  left: 50%;
  width: 62%;
  height: 56px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.38), transparent);
  filter: blur(8px);
}

.hero-visual__img {
  position: relative;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  mix-blend-mode: lighten;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 99%);
  animation: cnv-float 8s ease-in-out infinite;
}

@media (max-width: 900px) {
  .hero-home .hero-dark__grid {
    grid-template-columns: 1fr;
  }

  .hero-home {
    min-height: 0;
  }

  .hero-visual {
    height: clamp(380px, 95vw, 520px);
  }
}

/* Compact floating nav on phones: logo mark only, tighter controls */
@media (max-width: 520px) {
  .site-header .site-header__inner {
    width: calc(100% - 1rem);
    padding: 0 0.4rem 0 0.9rem;
    gap: 0.5rem;
  }

  .brand-lockup__text {
    display: none;
  }

  .brand-lockup__mark svg {
    width: 52px;
  }

  .header-controls {
    gap: 0.35rem;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }
}

html,
body {
  overflow-x: clip;
}

@keyframes cnv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes cnv-rings {
  0%, 100% { opacity: 0.65; scale: 1; }
  50% { opacity: 1; scale: 1.04; }
}

/* ---------- Cards with cursor spotlight ---------- */

.card {
  position: relative;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

html[data-theme="dark"] .card {
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.card:not(.hero-dark):hover {
  background-image: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(14, 165, 233, 0.08), transparent 42%);
}

.card--interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.photo-frame {
  border-radius: calc(var(--radius-lg) - 10px);
}

/* ---------- References marquee ---------- */

.marquee-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.85rem 1.5rem;
  margin-bottom: 1.75rem;
}

.marquee-section__head .eyebrow {
  grid-column: 1 / -1;
  justify-self: start;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  animation: cnv-marquee 55s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  white-space: nowrap;
}

@keyframes cnv-marquee {
  to { transform: translateX(calc(-50% - 0.375rem)); }
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.marquee__item--logo {
  padding-left: 0.5rem;
}

/* Logos sit on a small white plate so dark marks stay legible in dark mode */
.marquee__logo {
  box-sizing: content-box;
  height: 26px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--hero-base);
  overflow: hidden;
}

.footer-wordmark {
  margin-top: 2.5rem;
  font-size: clamp(4.5rem, 19vw, 16rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.78;
  text-align: center;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.24) 0%, rgba(56, 189, 248, 0) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

.footer-bottom {
  margin-top: 0;
}

/* ---------- 20th anniversary (2006–2026) ---------- */

.eyebrow--anniv {
  gap: 0.55rem;
  padding-left: 0.3rem;
}

.eyebrow--anniv::before {
  display: none;
}

.eyebrow--anniv__num {
  display: inline-grid;
  place-items: center;
  min-width: 1.9rem;
  height: 1.35rem;
  padding: 0 0.42rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #34d399);
  color: #04111f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18), 0 0 18px rgba(56, 189, 248, 0.45);
}

.anniv {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(0.5rem, 1.5vw, 1rem);
}

.anniv-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border-radius: var(--radius-xl);
  background: var(--hero-surface);
  background-color: var(--hero-base);
  color: #f8fafc;
  border: 1px solid rgba(148, 197, 255, 0.16);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.anniv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(42% 70% at 20% 50%, rgba(56, 189, 248, 0.28), transparent 70%),
    radial-gradient(35% 60% at 96% 100%, rgba(16, 185, 129, 0.16), transparent 70%);
}

.anniv-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 197, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 197, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 85% at 22% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 85% at 22% 50%, #000 20%, transparent 75%);
}

.anniv-card__visual {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}

.anniv-card__visual::before {
  content: "";
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  border: 1px solid rgba(148, 197, 255, 0.22);
  background: radial-gradient(circle, rgba(14, 165, 233, 0.24), rgba(14, 165, 233, 0) 72%);
  box-shadow: inset 0 0 40px rgba(56, 189, 248, 0.15), 0 0 60px -10px rgba(56, 189, 248, 0.35);
}

.anniv-seal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: cnv-spin 45s linear infinite;
}

.anniv-seal text {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  fill: rgba(186, 230, 253, 0.88);
}

.anniv-card__num {
  position: relative;
  padding-right: 0.06em;
  font-size: clamp(5.5rem, 10vw, 8.25rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.07em;
  background: linear-gradient(180deg, #ffffff 12%, #7dd3fc 58%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 30px rgba(56, 189, 248, 0.35));
}

.anniv-card .eyebrow {
  color: var(--brand-400);
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.28);
}

.anniv-card .section-title {
  margin-top: 0.85rem;
  color: #ffffff;
}

.anniv-card__text {
  margin: 1rem 0 0;
  max-width: 62ch;
  color: rgba(226, 232, 240, 0.84);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  text-wrap: pretty;
}

.anniv-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.9rem 0;
  padding: 0;
  list-style: none;
}

.anniv-timeline::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.6), rgba(52, 211, 153, 0.6));
}

.anniv-timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1.15rem;
}

.anniv-timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #0b1f35;
  border: 2px solid #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
}

.anniv-timeline li:last-child::before {
  background: #34d399;
  border-color: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2), 0 0 16px rgba(52, 211, 153, 0.6);
}

.anniv-timeline strong {
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.anniv-timeline span {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(203, 213, 225, 0.72);
}

@media (max-width: 900px) {
  .anniv-card {
    grid-template-columns: 1fr;
  }

  .anniv-card__visual {
    width: min(70%, 260px);
  }
}

@media (max-width: 560px) {
  .anniv-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.5rem;
  }

  .anniv-timeline::before {
    display: none;
  }
}

@keyframes cnv-spin {
  to { rotate: 360deg; }
}

/* ---------- Motion preferences ---------- */

/* Content is always visible by default (no JS dependency, crawler-friendly).
   Browsers with scroll-driven animations get a native reveal on scroll. */
[data-reveal],
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
      animation: cnv-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 20%;
    }
  }
}

@keyframes cnv-reveal {
  from { opacity: 0; translate: 0 28px; }
  to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual__img,
  .hero-visual__rings,
  .anniv-seal,
  .marquee__track {
    animation: none !important;
  }
}

/* "New" badge for the latest photo batch in the gallery */
.gallery-card__new {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #04121f;
  background: linear-gradient(135deg, #7dd3fc, #34d399);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

/* Video cards in the gallery (native controls, no lightbox) */
.gallery-card--video {
  margin: 0;
  cursor: default;
  background: #000;
}

.gallery-card--video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.gallery-card--video:hover {
  transform: none;
}

.gallery-card__vcap {
  position: absolute;
  inset: 0 0 auto 0;
  padding: 2.6rem 0.9rem 1.6rem;
  background: linear-gradient(to bottom, rgba(6, 13, 24, 0.85), rgba(6, 13, 24, 0));
  color: #f8fafc;
  font-size: 0.8125rem;
  font-weight: 500;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.gallery-card__vtag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3fc;
}
