/* ==========================================================================
   NOBEL PRINT PRESS — DESIGN SYSTEM & CORE STYLESHEET
   Aesthetic: Editorial Industrial Luxury / Swiss Precision Craftsmanship
   Domain: nobelprint.press
   ========================================================================== */

/* --- 1. CSS VARIABLES & DESIGN TOKENS --- */
:root {
  /* Color Palette: Deep tactile dark mode with warm ink & gold foil accents */
  --bg-primary: #0D0E11;
  --bg-surface: #14161C;
  --bg-surface-elevated: #1B1E26;
  --bg-card: #16181F;
  --bg-card-hover: #1E212A;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.18);
  --border-accent: rgba(197, 168, 128, 0.35);

  /* Typography Colors */
  --text-high: #F3F4F6;
  --text-mid: #9CA3AF;
  --text-dim: #6B7280;
  --text-muted: #4B5563;

  /* Luxury Accent: Warm Gold Foil / Tactile Brass */
  --accent-gold: #C5A880;
  --accent-gold-hover: #D4BC98;
  --accent-gold-dim: rgba(197, 168, 128, 0.12);
  --accent-gold-border: rgba(197, 168, 128, 0.25);

  /* Status / Indicator */
  --status-live: #10B981;
  --status-alert: #EF4444;

  /* Typography Stacks */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', 'SF Mono', Consolas, Menlo, monospace;
  --font-arabic: 'Cairo', 'Segoe UI', Tahoma, sans-serif;

  /* Fluid Spacing Scale */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 36px;
  --space-xl: 56px;
  --space-2xl: 88px;
  --space-3xl: 120px;

  /* Structural Radii */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 30px rgba(197, 168, 128, 0.15);
}

/* RTL Override for Arabic */
[dir="rtl"] {
  --font-heading: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

[dir="rtl"] .hero-title,
[dir="rtl"] .section-title,
[dir="rtl"] .matrix-name,
[dir="rtl"] .brand-name {
  letter-spacing: 0 !important;
  line-height: 1.35;
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-high);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Atmospheric Noise & Subtle Radial Vignette */
.ambient-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.ambient-glow {
  position: fixed;
  top: -15vh;
  right: -10vw;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.05) 0%, rgba(13, 14, 17, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Headings */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-high);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

/* --- 3. REUSABLE BUTTON & COMPONENT SYSTEM --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: #0D0E11;
  border-color: var(--accent-gold);
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.25);
}

.btn-secondary {
  background-color: var(--bg-surface-elevated);
  color: var(--text-high);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-active);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-high);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background-color: var(--accent-gold-dim);
}

.btn-text {
  background: transparent;
  color: var(--text-mid);
  padding: 12px 18px;
}

.btn-text:hover {
  color: var(--accent-gold);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
}

/* Status Indicators */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--status-live);
  display: inline-block;
  box-shadow: 0 0 10px var(--status-live);
  animation: pulse 2s infinite ease-in-out;
}

.pulse-dot.red {
  background-color: var(--status-alert);
  box-shadow: 0 0 10px var(--status-alert);
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* --- 4. HEADER & NAVIGATION --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(13, 14, 17, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-symbol svg {
  display: block;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-high);
}

.brand-subline {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-gold);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--accent-gold);
  transition: width var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-high);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Language Switcher */
.lang-switch-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 6px 14px;
  color: var(--text-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.lang-switch-btn:hover {
  border-color: var(--border-active);
  color: var(--text-high);
}

.lang-code.active {
  color: var(--accent-gold);
}

.lang-divider {
  color: var(--text-dim);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
}

.mobile-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-high);
  transition: all var(--transition-smooth);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  width: 100%;
  height: calc(100vh - 65px);
  background: rgba(13, 14, 17, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  border-bottom: 1px solid var(--border-subtle);
  padding: 32px 24px;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform var(--transition-smooth);
}

.mobile-drawer.open {
  transform: translateY(0);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-high);
}

/* --- 5. HERO SECTION --- */
.hero-section {
  position: relative;
  padding: 72px 28px 96px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-mid);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  color: var(--text-mid);
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: 40px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1.1;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.metric-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

/* Featured Hero Visual Card */
.hero-visual-slot {
  position: relative;
}

.hero-media-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.hero-media-card:hover {
  border-color: var(--accent-gold-border);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: translateY(-4px);
}

.hero-media-card .media-container {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.media-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-media-card:hover .media-fill {
  transform: scale(1.04);
}

.media-overlay-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 14, 17, 0.1) 0%, rgba(13, 14, 17, 0.75) 100%);
}

.media-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 14, 17, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-high);
  border: 1px solid var(--border-subtle);
}

[dir="rtl"] .media-badge {
  left: auto;
  right: 16px;
}

.card-expand-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(13, 14, 17, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-high);
  transition: all var(--transition-fast);
}

[dir="rtl"] .card-expand-icon {
  right: auto;
  left: 16px;
}

.hero-media-card:hover .card-expand-icon {
  background: var(--accent-gold);
  color: #0D0E11;
  border-color: var(--accent-gold);
}

.card-caption-bar {
  padding: 18px 22px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
}

.caption-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-high);
}

.caption-sub {
  font-size: 0.8rem;
  color: var(--text-mid);
  margin-top: 2px;
}

/* --- 6. TICKER SECTION --- */
.ticker-section {
  width: 100%;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  padding: 16px 0;
  position: relative;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 40s linear infinite;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  padding-right: 28px;
}

[dir="rtl"] .ticker-wrap {
  padding-right: 0;
  padding-left: 28px;
}

.ticker-item {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-mid);
}

.ticker-item .accent {
  color: var(--accent-gold);
}

.ticker-bullet {
  color: var(--border-active);
  font-size: 0.7rem;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- 7. SECTION CONTAINERS & HEADERS --- */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 96px 28px;
  position: relative;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.space-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  max-width: 800px;
}

.filter-tip {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* --- 8. ABOUT & EDITORIAL PHILOSOPHY --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
}

.about-lead-paragraph {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-high);
  margin-bottom: 24px;
}

.about-secondary-paragraph {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 40px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
}

.feature-card:hover {
  border-color: var(--border-active);
}

.feature-icon {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-content p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* About Side Stat Column */
.about-metrics-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-box {
  padding: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-high);
  margin-bottom: 8px;
}

.stat-caption {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.55;
}

.stat-highlight {
  background: linear-gradient(145deg, #181A22 0%, #13141A 100%);
  border-color: var(--accent-gold-border);
}

.stat-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

/* --- 9. FACILITY FLOOR MASONRY GRID --- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 20px;
}

.media-item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.media-item.col-span-2 {
  grid-column: span 2;
}

.media-item.row-span-2 {
  grid-row: span 2;
}

.media-item:hover {
  border-color: var(--accent-gold-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.media-img-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.media-img-wrapper img,
.media-img-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.media-item:hover .media-img-wrapper img,
.media-item:hover .media-img-wrapper video {
  transform: scale(1.05);
}

.item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 14, 17, 0.05) 0%, rgba(13, 14, 17, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: all var(--transition-smooth);
}

.item-zoom-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: rgba(13, 14, 17, 0.7);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  width: fit-content;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition-fast);
}

.media-item:hover .item-zoom-cta {
  opacity: 1;
  transform: translateY(0);
}

.video-live-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 14, 17, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  border: 1px solid var(--border-subtle);
}

[dir="rtl"] .video-live-pill {
  left: auto;
  right: 16px;
}

/* --- 10. MACHINERY & CAPABILITIES MATRIX --- */
.capabilities-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.matrix-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
}

.matrix-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background-color var(--transition-smooth);
}

.matrix-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.matrix-card:hover::before {
  background: var(--accent-gold);
}

.matrix-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.matrix-number {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.matrix-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.matrix-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-high);
  margin-bottom: 12px;
  line-height: 1.25;
}

.matrix-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 24px;
}

.matrix-specs {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.spec-label {
  color: var(--text-dim);
}

.spec-value {
  color: var(--text-high);
  font-weight: 500;
}

.matrix-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag {
  font-size: 0.72rem;
  padding: 4px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-mid);
}

/* --- 11. SUBSTRATES & FINISHES GALLERY --- */
.substrates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.substrate-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.substrate-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.sub-swatch {
  height: 120px;
  width: 100%;
  position: relative;
}

.swatch-fedrigoni {
  background: linear-gradient(135deg, #F0EDE5 0%, #D8D2C2 100%);
}

.swatch-kraft {
  background: linear-gradient(135deg, #A77B53 0%, #7A5734 100%);
}

.swatch-cast {
  background: linear-gradient(135deg, #2A2F3D 0%, #0F1218 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.swatch-greyboard {
  background: linear-gradient(135deg, #5C626C 0%, #3B3F47 100%);
}

.sub-body {
  padding: 20px;
}

.sub-origin {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 6px;
}

.sub-body h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.sub-body p {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 14px;
}

.sub-weight {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
}

/* --- 12. SPECIFICATIONS & RFQ FORM --- */
.specs-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 56px 48px;
}

.specs-desc {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 32px;
}

.specs-verification-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.verification-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.v-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-gold-dim);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.verification-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-high);
}

.verification-item span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.direct-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-pill {
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pill-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.pill-value {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
}

/* Industrial Form Styling */
.specs-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 32px;
}

.form-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.terminal-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
}

.terminal-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-high);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  color: var(--text-high);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 1px var(--accent-gold);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.dispatch-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.form-footnote {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 14px;
}

/* --- 13. DIRECT CONTACT / IMPRINT CARDS --- */
.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.card-icon {
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.info-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.card-lead {
  font-size: 0.95rem;
  color: var(--text-high);
  margin-bottom: 12px;
  line-height: 1.5;
}

.card-subtext {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.55;
  margin-top: auto;
}

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

.schedule-list li {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
}

.schedule-list li span {
  color: var(--text-dim);
}

.schedule-list li strong {
  color: var(--text-high);
  font-weight: 600;
  margin-top: 2px;
}

.imprint-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.imprint-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.imprint-label {
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.imprint-val {
  color: var(--text-high);
  font-weight: 500;
}

.imprint-val.accent-val {
  color: var(--accent-gold);
}

/* --- 14. LIGHTBOX MODAL --- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 12, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox-container {
  position: relative;
  z-index: 10;
  width: 90vw;
  max-width: 1200px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-media-wrapper {
  max-width: 100%;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

.lightbox-media-wrapper img,
.lightbox-media-wrapper video {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--text-high);
  text-align: center;
  max-width: 700px;
  line-height: 1.5;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--text-high);
  cursor: pointer;
  padding: 8px;
  transition: color var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--accent-gold);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(22, 24, 31, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-high);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn.prev {
  left: -64px;
}

.lightbox-nav-btn.next {
  right: -64px;
}

.lightbox-nav-btn:hover {
  background: var(--accent-gold);
  color: #0D0E11;
  border-color: var(--accent-gold);
}

/* --- 15. QR MODAL --- */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.qr-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.qr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 12, 0.92);
  backdrop-filter: blur(14px);
}

.qr-content-card {
  position: relative;
  z-index: 10;
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.qr-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-mid);
  cursor: pointer;
}

.qr-close:hover {
  color: var(--text-high);
}

.qr-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 8px;
}

.qr-header h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.qr-header p {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 24px;
}

.qr-code-display {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.qr-svg {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  border-radius: var(--radius-sm);
}

.qr-target-url {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.qr-target-url strong {
  color: var(--accent-gold);
}

/* --- 16. MINIMALIST FOOTER --- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 64px 28px 40px;
}

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

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
  max-width: 480px;
}

.brand-domain {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  display: block;
  margin-top: 2px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-top: 14px;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 28px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-nav a:hover {
  color: var(--accent-gold);
}

.sep {
  color: var(--border-active);
}

/* --- 17. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .capabilities-matrix {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }

  .specs-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 36px 24px;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-drawer {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .substrates-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capabilities-matrix {
    grid-template-columns: 1fr;
  }

  .media-item.col-span-2 {
    grid-column: span 2;
  }

  .lightbox-nav-btn.prev {
    left: 8px;
  }

  .lightbox-nav-btn.next {
    right: 8px;
  }
}

@media (max-width: 580px) {
  .hero-section {
    padding: 40px 16px 64px;
  }

  .section-container {
    padding: 64px 16px;
  }

  .media-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .media-item.col-span-2 {
    grid-column: span 1;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .metric-divider {
    display: none;
  }

  .footer-top-row {
    flex-direction: column;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-cta span {
    display: none;
  }

  .header-cta {
    padding: 8px 10px;
  }
}
