/* ==========================================================================
   BRIGHTSVAULTBUNDLE OBSERVATORY — PRODUCTION STYLESHEET
   Aesthetic: Pristine Light Glassmorphism on Pure White Background
   Card Style: Glass Overlay (full-bleed media + translucent frosted panel)
   Color Palette: White (#FFFFFF), Deep Slate (#0F172A), Muted Slate (#475569), 
                  Emerald (#008A56), Magenta (#BE185D), Surface Light (#F8FAFC)
   Spacing Scale: 4, 8, 16, 24, 40, 64px
   ========================================================================== */

:root {
  --color-white: #FFFFFF;
  --color-bg-base: #FFFFFF;
  --color-surface: #F8FAFC;
  --color-surface-hover: #F1F5F9;
  --color-slate-900: #0F172A;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-400: #94A3B8;
  --color-border: rgba(15, 23, 42, 0.12);
  --color-border-subtle: rgba(15, 23, 42, 0.07);
  
  --color-emerald: #008A56;
  --color-emerald-light: #00A86B;
  --color-emerald-glow: rgba(0, 168, 107, 0.2);
  --color-emerald-bg: rgba(0, 168, 107, 0.08);

  --color-magenta: #BE185D;
  --color-magenta-light: #DB2777;
  --color-magenta-glow: rgba(190, 24, 93, 0.2);
  --color-magenta-bg: rgba(190, 24, 93, 0.08);

  --color-glass-panel: rgba(255, 255, 255, 0.94);
  --color-glass-border: rgba(15, 23, 42, 0.1);
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-card-hover: 0 12px 32px rgba(15, 23, 42, 0.12), 0 0 12px var(--color-emerald-glow);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  font-size: 16px;
  background-color: var(--color-bg-base);
  color: var(--color-slate-900);
  font-family: var(--font-sans);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--color-bg-base);
  color: var(--color-slate-900);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
}

main {
  flex: 1 0 auto;
  width: 100%;
  background-color: var(--color-bg-base);
}

/* Typography & Word Wrapping */
h1, h2, h3, h4, h5, h6,
.brand-name,
.site-header,
.site-footer,
.primary-nav,
a {
  overflow-wrap: anywhere;
  word-break: normal;
}

h1, h2, h3, h4 {
  color: var(--color-slate-900);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--color-slate-600);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: var(--space-4);
  overflow-wrap: anywhere;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-4);
  color: var(--color-slate-600);
}

li {
  margin-bottom: var(--space-2);
  overflow-wrap: anywhere;
}

a {
  color: var(--color-emerald);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover {
  color: var(--color-magenta);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-emerald);
  outline-offset: 3px;
}

/* Layout Utilities */
.section-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  min-width: 0;
  box-sizing: border-box;
}

.legal-container {
  max-width: 880px;
}

/* ==========================================================================
   IMAGES & MEDIA STYLING (Descriptive Class Mapping)
   ========================================================================== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Glass media card images */
.card-glass-media img,
.hero-frontier-model-image,
.card-image-gemini-multimodal,
.card-image-robotics-vla,
.card-image-audio-lyria,
.card-image-vision-veo,
.card-image-world-genie,
.article-feature-image,
.sidebar-feature-image,
.static-map-hq-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card-glass-overlay:hover .card-glass-media img {
  transform: scale(1.04);
}

.article-card-feature .card-glass-media {
  min-height: 240px;
  max-height: 320px;
  overflow: hidden;
}

.sidebar-card .card-glass-media {
  min-height: 160px;
  max-height: 200px;
  overflow: hidden;
}

.hero-visual-card .card-glass-media {
  min-height: 220px;
  max-height: 280px;
  overflow: hidden;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  min-height: 64px;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-glass-border);
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  width: 100%;
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.5vw, 20px);
  min-width: 0;
  min-height: 64px;
}

.brand-logo {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo:hover {
  text-decoration: none;
}

.brand-mark {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: block;
}

.brand-name {
  font-weight: 700;
  font-size: clamp(0.95rem, 1.25vw, 1.12rem);
  letter-spacing: -0.02em;
  color: var(--color-slate-900);
  white-space: nowrap;
}

/* Primary Navigation Desktop */
.primary-nav {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.8vw, 12px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-item {
  margin: 0;
  flex-shrink: 0;
}

.nav-link {
  color: var(--color-slate-600);
  font-size: clamp(0.76rem, 0.9vw, 0.87rem);
  font-weight: 500;
  white-space: nowrap;
  padding: 6px clamp(6px, 0.7vw, 10px);
  border-radius: 6px;
  letter-spacing: -0.01em;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-slate-900);
  background-color: var(--color-surface);
  text-decoration: none;
}

.nav-link.is-active {
  color: var(--color-emerald);
  font-weight: 600;
  background-color: var(--color-emerald-bg);
}

/* Header Small Text CTA Button */
.header-action {
  order: 3;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.cta-button-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: clamp(0.72rem, 0.8vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-emerald);
  border-radius: 999px;
  border: 1px solid var(--color-emerald);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px var(--color-emerald-glow);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-button-compact:hover {
  background: var(--color-emerald-light);
  color: var(--color-white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--color-emerald-glow);
}

/* Hamburger Toggle Button */
.nav-toggle {
  order: 4;
  display: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background-color: var(--color-surface-hover);
  border-color: var(--color-emerald);
}

.toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--color-slate-900);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   BUTTONS & CONTROLS
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-white);
  background: var(--color-emerald);
  border: 1px solid var(--color-emerald);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px var(--color-emerald-glow);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  text-align: center;
}

.btn-primary:hover {
  background: var(--color-emerald-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--color-emerald-glow);
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-slate-900);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  max-width: 100%;
  text-align: center;
}

.btn-secondary:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-slate-700);
  color: var(--color-slate-900);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Small Text Button that Fits inside Any Card Layout */
.btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  padding: 9px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-emerald);
  background: var(--color-emerald-bg);
  border: 1px solid rgba(0, 138, 86, 0.3);
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.35;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-card:hover {
  background: var(--color-emerald);
  color: var(--color-white);
  border-color: var(--color-emerald);
  text-decoration: none;
  transform: translateY(-1px);
}

.card-cta-wrap {
  margin-top: auto;
  padding-top: var(--space-2);
  width: 100%;
}

/* ==========================================================================
   GLASS OVERLAY CARD (Light Theme Refined)
   ========================================================================== */
.card-glass-overlay {
  position: relative;
  background-color: var(--color-white);
  border-radius: 12px;
  border: 1px solid var(--color-glass-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.card-glass-overlay:hover {
  border-color: rgba(0, 138, 86, 0.4);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.card-glass-media {
  position: relative;
  width: 100%;
  min-height: 190px;
  background-color: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-glass-panel {
  padding: clamp(18px, 2.5vw, 24px);
  background: var(--color-glass-panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-grow: 1;
  box-sizing: border-box;
  min-width: 0;
}

.card-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-emerald);
  overflow-wrap: anywhere;
}

.card-title {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.3;
  color: var(--color-slate-900);
  overflow-wrap: anywhere;
}

.card-summary {
  font-size: 0.94rem;
  color: var(--color-slate-600);
  margin-bottom: 0;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

/* Stats Row Contained Inside Layout */
.card-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  width: 100%;
  box-sizing: border-box;
}

.stat-unit {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stat-val {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--color-slate-900);
  font-family: var(--font-mono);
  margin-bottom: 4px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.stat-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-emerald);
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* Card Visual Media Fillers */
.card-bg-gemini,
.card-bg-robotics,
.card-bg-audio,
.card-bg-vision,
.card-bg-world {
  position: relative;
  background-color: var(--color-surface);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: var(--space-5);
  padding-bottom: var(--space-6);
  position: relative;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--color-border-subtle);
  width: 100%;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, var(--space-6));
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 4px 12px;
  background: var(--color-emerald-bg);
  border: 1px solid rgba(0, 138, 86, 0.25);
  border-radius: 999px;
  font-size: clamp(0.72rem, 1.8vw, 0.82rem);
  font-weight: 600;
  color: var(--color-emerald);
  margin-bottom: var(--space-4);
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-emerald);
  box-shadow: 0 0 8px var(--color-emerald);
  flex-shrink: 0;
}

.hero-heading {
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  color: var(--color-slate-900);
}

.hero-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--color-slate-600);
  margin-bottom: var(--space-5);
  max-width: 620px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.hero-visual-card {
  width: 100%;
}

/* ==========================================================================
   EXHIBITS SECTION (Main Grid)
   ========================================================================== */
.exhibits-section {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  background-color: var(--color-bg-base);
  width: 100%;
}

.section-header {
  max-width: 760px;
  margin-bottom: var(--space-5);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-magenta);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
  color: var(--color-slate-900);
}

.section-subtitle {
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  color: var(--color-slate-600);
  margin-bottom: 0;
  line-height: 1.6;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
  width: 100%;
}

/* ==========================================================================
   TIMELINE SECTION
   ========================================================================== */
.timeline-section {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
  background: var(--color-surface);
  width: 100%;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
  width: 100%;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
  width: 100%;
}

.timeline-marker {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-emerald);
  padding-left: var(--space-1);
}

.timeline-title {
  font-size: 1.12rem;
  margin-bottom: var(--space-2);
  color: var(--color-slate-900);
}

.timeline-text {
  font-size: 0.92rem;
  color: var(--color-slate-600);
  margin-bottom: 0;
}

/* ==========================================================================
   SUBPAGE & ARTICLE LAYOUT
   ========================================================================== */
.page-hero {
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-glass-border);
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  width: 100%;
}

.breadcrumbs {
  font-size: 0.84rem;
  font-family: var(--font-mono);
  color: var(--color-slate-600);
  margin-bottom: var(--space-3);
  overflow-wrap: anywhere;
}

.breadcrumbs a {
  color: var(--color-emerald);
}

.page-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: var(--space-3);
  color: var(--color-slate-900);
}

.page-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--color-slate-600);
  max-width: 820px;
  margin-bottom: 0;
  line-height: 1.6;
}

.content-section {
  padding-top: var(--space-5);
  padding-bottom: var(--space-6);
  background-color: var(--color-bg-base);
  width: 100%;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(24px, 3.5vw, var(--space-5));
  align-items: start;
  width: 100%;
}

.article-main {
  min-width: 0;
  width: 100%;
}

.article-main h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin-top: var(--space-5);
  margin-bottom: var(--space-3);
  color: var(--color-slate-900);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-2);
}

.article-main h2:first-of-type {
  margin-top: 0;
}

.article-main h3 {
  font-size: 1.25rem;
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
  color: var(--color-slate-900);
}

.article-card-feature {
  margin-top: var(--space-5);
  margin-bottom: var(--space-5);
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
  width: 100%;
}

.sidebar-card .card-glass-panel {
  padding: clamp(16px, 2vw, 22px);
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: 0.88rem;
  width: 100%;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding-bottom: var(--space-1);
  border-bottom: 1px solid var(--color-border-subtle);
  overflow-wrap: anywhere;
}

.spec-item span {
  color: var(--color-slate-600);
}

.spec-item strong {
  color: var(--color-slate-900);
  text-align: right;
}

.sidebar-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav-list li {
  margin-bottom: var(--space-3);
}

.sidebar-link {
  display: block;
  font-weight: 600;
  color: var(--color-emerald);
  font-size: 0.92rem;
  line-height: 1.4;
}

.sidebar-link:hover {
  color: var(--color-magenta);
}

/* Data Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: var(--space-4);
  margin-bottom: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  box-sizing: border-box;
}

.data-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.data-table th {
  background: var(--color-surface);
  color: var(--color-slate-900);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table td {
  color: var(--color-slate-700);
  line-height: 1.5;
}

.data-table strong {
  color: var(--color-slate-900);
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-card {
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 3.5vw, var(--space-5));
  background: var(--color-white);
  width: 100%;
  box-sizing: border-box;
}

.legal-card h2 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  margin-top: var(--space-5);
  margin-bottom: var(--space-3);
  color: var(--color-slate-900);
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: var(--space-2);
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.cookie-reset-wrap {
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}

/* ==========================================================================
   CONTACT PAGE & FORMS
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 3.5vw, var(--space-5));
  align-items: start;
  width: 100%;
}

.contact-form-wrap {
  padding: clamp(20px, 3vw, var(--space-5));
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  background: var(--color-white);
  width: 100%;
  box-sizing: border-box;
}

.section-title-sm {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin-bottom: var(--space-2);
  color: var(--color-slate-900);
}

.contact-desc {
  font-size: 0.94rem;
  margin-bottom: var(--space-4);
  line-height: 1.55;
  color: var(--color-slate-600);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
  width: 100%;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-slate-900);
}

.req-star {
  color: var(--color-magenta);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-slate-900);
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-emerald);
  box-shadow: 0 0 0 3px var(--color-emerald-bg);
}

.form-input.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--color-magenta);
  box-shadow: 0 0 0 3px var(--color-magenta-bg);
}

.field-error {
  display: none;
  font-size: 0.8rem;
  color: var(--color-magenta);
  font-weight: 600;
}

.field-error.is-visible {
  display: block;
}

.checkbox-group {
  gap: var(--space-2);
}

.pref-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.86rem;
  color: var(--color-slate-600);
  cursor: pointer;
  line-height: 1.45;
}

.pref-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--color-emerald);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.form-submit-btn {
  width: 100%;
  margin-top: var(--space-2);
}

.form-feedback {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.form-feedback.is-success {
  background: var(--color-emerald-bg);
  border: 1px solid var(--color-emerald);
  color: var(--color-emerald);
}

.form-feedback.is-error {
  background: var(--color-magenta-bg);
  border: 1px solid var(--color-magenta);
  color: var(--color-magenta);
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
  width: 100%;
}

.contact-details-card {
  padding: clamp(20px, 3vw, var(--space-5));
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  background: var(--color-white);
  width: 100%;
  box-sizing: border-box;
}

.contact-meta-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.contact-meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-emerald);
}

.meta-value {
  font-size: 0.92rem;
  color: var(--color-slate-900);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.static-map-card .card-glass-media {
  min-height: 200px;
  background: var(--color-surface);
}

/* ==========================================================================
   FOOTER (Clean Light Style on White Site)
   ========================================================================== */
.site-footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  color: var(--color-slate-600);
  font-size: 0.9rem;
  width: 100%;
}

.footer-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: clamp(24px, 4vw, var(--space-5));
  min-width: 0;
  box-sizing: border-box;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.footer-brand .brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-slate-900);
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--color-emerald);
  font-weight: 600;
  font-family: var(--font-mono);
}

.footer-text {
  font-size: 0.86rem;
  margin-bottom: 0;
  color: var(--color-slate-600);
  line-height: 1.55;
}

.footer-legal-line {
  font-size: 0.85rem;
  color: var(--color-slate-900);
  font-weight: 600;
  margin-bottom: 0;
}

.footer-company-info {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--color-slate-600);
  margin-bottom: 0;
}

.footer-email-link {
  color: var(--color-emerald);
  font-weight: 600;
}

.footer-nav-block {
  min-width: 0;
}

.footer-heading {
  font-size: 0.88rem;
  color: var(--color-slate-900);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: var(--color-slate-600);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-emerald);
  text-decoration: underline;
}

/* ==========================================================================
   COOKIE BANNER (Light High Contrast Card)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 2px solid var(--color-emerald);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.12);
  z-index: 9999;
  padding: clamp(12px, 2vw, 16px) 0;
  width: 100%;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-width: 0;
  box-sizing: border-box;
}

.cookie-text-block {
  min-width: 0;
  flex: 1 1 auto;
}

.cookie-heading {
  font-size: 0.98rem;
  color: var(--color-slate-900);
  margin-bottom: 2px;
}

.cookie-description {
  font-size: 0.84rem;
  color: var(--color-slate-600);
  margin-bottom: 0;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-cookie {
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-cookie-accept {
  background: var(--color-emerald);
  color: var(--color-white);
  border: 1px solid var(--color-emerald);
}

.btn-cookie-accept:hover {
  background: var(--color-emerald-light);
  transform: translateY(-1px);
}

.btn-cookie-reject {
  background: var(--color-surface);
  color: var(--color-slate-900);
  border: 1px solid var(--color-border);
}

.btn-cookie-reject:hover {
  background: var(--color-surface-hover);
}

.btn-cookie-pref {
  background: transparent;
  color: var(--color-magenta);
  border: 1px solid rgba(190, 24, 93, 0.4);
}

.btn-cookie-pref:hover {
  background: var(--color-magenta-bg);
}

.cookie-prefs-panel {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: var(--space-3) var(--space-4) 0 var(--space-4);
  border-top: 1px solid var(--color-border-subtle);
  margin-top: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  box-sizing: border-box;
}

.cookie-prefs-panel[hidden] {
  display: none !important;
}

.prefs-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.btn-cookie-save {
  align-self: flex-start;
  background: var(--color-emerald);
  color: var(--color-white);
  border: 1px solid var(--color-emerald);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet & Mobile Nav Toggle (Below 992px) */
@media (max-width: 991px) {
  .site-header {
    min-height: 56px;
  }

  .header-inner {
    min-height: 56px;
    gap: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-4);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
    z-index: 1001;
    width: 100%;
    box-sizing: border-box;
  }

  .primary-nav.is-visible {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    width: 100%;
  }

  .nav-link {
    font-size: 0.96rem;
    padding: 10px 14px;
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-meta {
    grid-column: span 2;
  }
}

/* Mobile Screens (Below 768px) */
@media (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .footer-meta {
    grid-column: span 1;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .cookie-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .btn-cookie {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* Small Smartphone (Below 480px) */
@media (max-width: 480px) {
  .header-inner {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
    gap: 8px;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .cta-button-compact {
    padding: 5px 10px;
    font-size: 0.72rem;
    letter-spacing: 0.01em;
  }

  .nav-toggle {
    width: 34px;
    height: 34px;
  }

  .toggle-bar {
    width: 16px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Breakpoint Below 400px */
@media (max-width: 399px) {
  .section-container {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }

  .hero-heading {
    font-size: 1.7rem;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .page-title {
    font-size: 1.7rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .card-stats-row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-cookie {
    width: 100%;
  }
}

/* Reduced Motion */
@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;
  }
}