/* ==========================================================================
   LEX NEGATA LTD — Design System Stylesheet (Gold & Silver Heritage Edition)
   ========================================================================== */

/* 1. Design Tokens & Core Variables */
:root {
  /* Brand Colors */
  --color-bg-onyx: #0B0B0C;
  --color-surface-charcoal: #1C1F24;
  --color-bg-ivory: #FAF9F6;
  --color-surface-white: #FFFFFF;
  
  --color-text-dark: #111112;
  --color-text-muted-dark: #50555F;
  --color-text-light: #F4F5F6;
  --color-text-muted-light: #A3A8B3;

  /* Metallic Gradients */
  --gold-flat: #C9A227;
  --gold-gradient: linear-gradient(135deg, #F5E0A3 0%, #C9A227 50%, #8A6A16 100%);
  --silver-flat: #B8B8B8;
  --silver-gradient: linear-gradient(135deg, #F2F2F2 0%, #C7C7C7 50%, #8E8E8E 100%);
  
  /* Typography */
  --font-headings: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Easing & Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-micro: all 0.18s ease-out;
  
  /* Layout Spacing */
  --header-height: 80px;
  --header-height-shrunk: 65px;
  --max-width: 1200px;
  
  /* Shadow Systems */
  --shadow-light: 0 10px 30px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-dark: 0 20px 40px rgba(0, 0, 0, 0.55), 0 1px 6px rgba(0, 0, 0, 0.15);
  --shadow-gold-glow: 0 0 25px rgba(201, 162, 39, 0.16);
  --shadow-silver-glow: 0 0 25px rgba(184, 184, 184, 0.12);
}

/* 2. Global Resets & Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  background-color: var(--color-bg-onyx);
  color: var(--color-text-light);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body.loading {
  overflow: hidden; /* Lock scroll during brand intro */
}

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

ul {
  list-style: none;
}

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

/* 3. Typography Styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p {
  font-size: 1.05rem;
  font-weight: 400;
}

/* Structural Category tags (Eyebrows) */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.eyebrow-silver {
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.text-gradient-silver {
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Disclaimers & Notes */
.regulatory-disclaimer {
  font-size: 0.85rem;
  color: var(--color-text-muted-light);
  border-left: 2px solid var(--gold-flat);
  padding-left: 1rem;
  margin-top: 1rem;
}

/* 4. Brand Intro Animation Moment */
#brand-intro {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-color: var(--color-bg-onyx);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none; /* Let clicks pass after animation fades it out */
}

#brand-intro.fade-out {
  opacity: 0;
}

.intro-logo-container {
  width: min(85vw, 550px);
  padding: 2rem;
}

/* Inline SVG animations inside intro */
.brand-logo-svg.animated-draw .outline-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  stroke-linecap: round;
  fill: none;
  stroke-width: 1.5;
  animation: drawLines 2.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.brand-logo-svg.animated-draw .letter-l.outline-draw {
  stroke: url(#silver-grad);
  animation-delay: 0s;
}

.brand-logo-svg.animated-draw .column-group path,
.brand-logo-svg.animated-draw .column-group line,
.brand-logo-svg.animated-draw .letter-n-right.outline-draw,
.brand-logo-svg.animated-draw .letter-n-diagonal.outline-draw {
  stroke: url(#gold-grad);
  animation-delay: 0.25s;
}

/* Set flute stroke settings */
.brand-logo-svg.animated-draw .col-flute-1,
.brand-logo-svg.animated-draw .col-flute-2,
.brand-logo-svg.animated-draw .col-flute-3 {
  stroke-width: 1.2;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawLines 1.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0.6s forwards;
}

.brand-logo-svg.animated-draw .fade-in-text {
  opacity: 0;
  animation: fadeInOpacity 1.2s ease 1.7s forwards;
}

.brand-logo-svg.animated-draw .fade-in-text line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawLines 1.2s ease 1.7s forwards;
}

.brand-logo-svg.animated-draw .fade-in-text .div-line-left {
  stroke: url(#silver-grad);
  stroke-width: 1;
}

.brand-logo-svg.animated-draw .fade-in-text .div-line-right {
  stroke: url(#gold-grad);
  stroke-width: 1;
}

.brand-logo-svg.animated-draw .fade-in-text .div-diamond {
  stroke: url(#gold-grad);
  fill: none;
  stroke-width: 0.5;
  animation: drawLines 1s ease 1.7s forwards, fillDiamond 0.6s ease 2.3s forwards;
}

/* Gradients Fill-in after line drawings finishes */
.brand-logo-svg.animated-draw .letter-l {
  animation: fillSilverLetter 0.8s ease 2.1s forwards;
}
.brand-logo-svg.animated-draw .column-group path,
.brand-logo-svg.animated-draw .letter-n-right,
.brand-logo-svg.animated-draw .letter-n-diagonal {
  animation: fillGoldLetter 0.8s ease 2.1s forwards;
}

/* 5. Sticky Navigation Header */
#main-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: var(--header-height);
  background-color: transparent;
  z-index: 999;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
}

#main-header.scrolled {
  height: var(--header-height-shrunk);
  background-color: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 52px;
}

.header-logo-svg {
  height: 52px;
  width: auto;
  transition: var(--transition-smooth);
}

#main-header.scrolled .header-logo-svg {
  height: 44px;
}

/* Navigation Links */
#desktop-nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted-light);
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-text-light);
}

/* Centered gold line reveal on nav link hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; width: 0; height: 1px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

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

/* Navigation Dropdown Specialism */
.dropdown-item {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.65rem;
  margin-left: 0.25rem;
  vertical-align: middle;
  transition: var(--transition-micro);
  display: inline-block;
}

.dropdown-item:hover .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--gold-flat);
}

.dropdown-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--color-surface-charcoal);
  border: 1px solid rgba(201, 162, 39, 0.15);
  box-shadow: var(--shadow-dark);
  border-radius: var(--border-radius-md);
  width: 260px;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.dropdown-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

.dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  color: var(--color-text-muted-light);
  transition: var(--transition-micro);
}

.dropdown-menu a:hover {
  background-color: rgba(201, 162, 39, 0.08);
  color: var(--color-text-light);
  padding-left: 1.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Hamburger mobile toggle icon */
#mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-light);
  position: absolute;
  transition: var(--transition-smooth);
}

.hamburger-bar:nth-child(1) { top: 0; }
.hamburger-bar:nth-child(2) { top: 9px; }
.hamburger-bar:nth-child(3) { top: 18px; }

#mobile-nav-toggle.open .hamburger-bar:nth-child(1) { transform: rotate(45deg); top: 9px; }
#mobile-nav-toggle.open .hamburger-bar:nth-child(2) { opacity: 0; }
#mobile-nav-toggle.open .hamburger-bar:nth-child(3) { transform: rotate(-45deg); top: 9px; }

/* 6. Mobile Navigation Overlay */
#mobile-nav-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100vh;
  background-color: var(--color-bg-onyx);
  z-index: 998;
  display: flex;
  flex-direction: column;
  padding: 7.5rem 2.5rem 3rem 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

#mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-container {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.mobile-nav-menu > li {
  margin-bottom: 1.85rem;
}

.mobile-nav-link {
  font-family: var(--font-headings);
  font-size: 1.85rem;
  color: var(--color-text-light);
}

.mobile-nav-link:hover {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mobile-nav-section-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted-light);
  margin-bottom: 0.75rem;
}

.mobile-sub-menu {
  border-left: 1px solid rgba(201, 162, 39, 0.2);
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.mobile-sub-menu li {
  margin-bottom: 0.85rem;
}

.mobile-sub-menu a {
  font-size: 1rem;
  color: var(--color-text-muted-light);
}

.mobile-sub-menu a:hover {
  color: var(--color-text-light);
}

.mobile-nav-cta {
  margin-top: auto;
}

/* 7. Premium Core Sections & Themes */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Section Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.85rem; }

/* Onyx Dark Themes */
.theme-onyx {
  background-color: var(--color-bg-onyx);
  color: var(--color-text-light);
}

.theme-charcoal {
  background-color: var(--color-surface-charcoal);
  color: var(--color-text-light);
}

/* Ivory Light Themes */
.theme-ivory {
  background-color: var(--color-bg-ivory);
  color: var(--color-text-dark);
}

.theme-ivory h1, .theme-ivory h2, .theme-ivory h3, .theme-ivory h4 {
  color: var(--color-text-dark);
}

.theme-ivory p {
  color: var(--color-text-muted-dark);
}

/* Fine Gold/Silver Divider Rules */
.hairline-divider {
  width: 100%;
  height: 1px;
  background: var(--silver-gradient);
  position: relative;
  margin: 2.5rem 0;
}

.hairline-divider.gold {
  background: var(--gold-gradient);
}

/* Intersection observed hairline draw animation */
.hairline-draw {
  width: 0;
  height: 1px;
  background: var(--gold-gradient);
  transition: width 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.hairline-draw.active {
  width: 100%;
}

/* 8. Component Styles: Buttons, Inputs, Cards */

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.78rem;
}

/* Gold Gradient Button with Sheen Sweep Hover */
.btn-gold {
  background: var(--gold-gradient);
  color: #0b0b0c;
  border: 1px solid transparent;
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.25);
}

.btn-gold span {
  position: relative;
  z-index: 2;
}

/* Sheen-sweep animation sweep overlay */
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  z-index: 1;
}

.btn-gold:hover {
  box-shadow: var(--shadow-gold-glow), 0 6px 20px rgba(201, 162, 39, 0.35);
  transform: translateY(-2px);
}

.btn-gold:hover::after {
  left: 120%;
}

/* Silver Outlined Button - Fills Gold on Hover */
.btn-outline {
  background: transparent;
  color: var(--color-text-light);
  border: 1px solid var(--silver-flat);
}

.theme-ivory .btn-outline {
  color: var(--color-text-dark);
  border-color: var(--color-text-muted-dark);
}

.btn-outline::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--gold-gradient);
  z-index: 1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.btn-outline span {
  position: relative;
  z-index: 2;
}

.btn-outline:hover {
  border-color: transparent;
  color: #0b0b0c;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-glow);
}

.btn-outline:hover::after {
  opacity: 1;
}

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

/* Card Structures */
.card {
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  border: 1px solid transparent;
}

/* Light Card Style */
.card-light {
  background-color: var(--color-surface-white);
  border-color: rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-light);
}

.card-light:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), var(--shadow-gold-glow);
  border-color: rgba(201, 162, 39, 0.35);
}

.card-light::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
}

.card-light:hover::before {
  width: 100%;
}

/* Dark Card Style */
.card-dark {
  background-color: var(--color-surface-charcoal);
  border-color: rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.card-dark:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-dark), var(--shadow-gold-glow);
  border-color: rgba(201, 162, 39, 0.45);
}

.card-dark::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
}

.card-dark:hover::before {
  width: 100%;
}

/* Floating Input Forms */
.form-group {
  position: relative;
  margin-bottom: 1.85rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: rgba(11, 11, 12, 0.5);
  border: 1px solid rgba(184, 184, 184, 0.25);
  color: var(--color-text-light);
  border-radius: var(--border-radius-sm);
  outline: none;
  transition: var(--transition-smooth);
}

.theme-ivory .form-input {
  background-color: var(--color-surface-white);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--color-text-dark);
}

.form-label {
  position: absolute;
  top: 1.05rem; left: 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text-muted-light);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.theme-ivory .form-label {
  color: var(--color-text-muted-dark);
}

/* Form floating animations on focus or active state */
.form-input:focus, .form-input.has-value {
  border-color: var(--gold-flat);
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.2);
}

.form-input:focus ~ .form-label, .form-input.has-value ~ .form-label {
  top: -0.6rem;
  left: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0 0.4rem;
  background-color: var(--color-bg-onyx);
  color: var(--gold-flat);
}

.theme-ivory .form-input:focus ~ .form-label, .theme-ivory .form-input.has-value ~ .form-label {
  background-color: var(--color-surface-white);
}

/* Form Validation Indicators */
.form-error-msg {
  display: block;
  font-size: 0.8rem;
  color: #e53e3e;
  margin-top: 0.35rem;
  opacity: 0;
  transform: translateY(-5px);
  transition: var(--transition-micro);
}

.form-group.error .form-input {
  border-color: #e53e3e;
  box-shadow: 0 0 10px rgba(229, 62, 62, 0.15);
}

.form-group.error .form-error-msg {
  opacity: 1;
  transform: translateY(0);
}

/* GDPR Marketing Checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.85rem;
}

.checkbox-input {
  margin-top: 0.25rem;
  accent-color: var(--gold-flat);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--color-text-muted-light);
  line-height: 1.4;
  cursor: pointer;
}

.theme-ivory .checkbox-label {
  color: var(--color-text-muted-dark);
}

/* 9. Hero Section specific */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-height) + 2rem);
  overflow: hidden;
}

/* Subtle column background layout lines */
.hero-bg-lines {
  position: absolute;
  top: 0; left: 50%; width: 100%; height: 100%;
  transform: translateX(-50%);
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
  z-index: 1;
}

.hero-bg-line {
  height: 100%;
  border-left: 1px dashed rgba(201, 162, 39, 0.04);
}

.hero-bg-line:last-child {
  border-right: 1px dashed rgba(201, 162, 39, 0.04);
}

/* Ambient animated gold particle sweep */
.hero-ambient-dust {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 75% 25%, rgba(201, 162, 39, 0.035) 0%, transparent 55%);
  pointer-events: none;
  z-index: 2;
  animation: ambientFloat 8s infinite alternate ease-in-out;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-headings);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1.75rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--color-text-muted-light);
  max-width: 720px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4.5rem;
}

/* Trust indicator strips below hero */
.hero-trust-strip {
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  padding: 1.25rem 0;
  background-color: rgba(11, 11, 12, 0.4);
  backdrop-filter: blur(4px);
}

.trust-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.trust-item {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-icon-bullet {
  width: 6px;
  height: 6px;
  background: var(--gold-gradient);
  border-radius: 50%;
}

/* 10. Value Proposition and Timeline (Why Choose Us) */

/* Modern gold-illuminated timeline scroll system */
.timeline-container {
  max-width: 800px;
  margin: 3.5rem auto 0 auto;
  position: relative;
  padding-left: 2.5rem;
}

.timeline-line {
  position: absolute;
  top: 0; left: 7px; width: 2px; height: 100%;
  background: rgba(184, 184, 184, 0.2);
}

/* Intersection observed scroll divider sweep */
.timeline-fill {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 0%;
  background: var(--gold-gradient);
  transition: height 1s linear;
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Timeline node points */
.timeline-node {
  position: absolute;
  top: 0.25rem; left: -2.5rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-bg-ivory);
  border: 2px solid var(--silver-flat);
  transition: var(--transition-smooth);
  z-index: 5;
}

.timeline-item.active .timeline-node {
  background-color: var(--gold-flat);
  border-color: var(--gold-flat);
  box-shadow: 0 0 12px var(--gold-flat);
  transform: scale(1.2);
}

.timeline-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.95rem;
}

/* Numerical layout markers */
.timeline-marker {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  color: var(--color-text-muted-dark);
  margin-bottom: 0.25rem;
  display: block;
}

/* 11. Services Preview list style */
.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-flat);
  margin-top: 1.5rem;
}

.learn-more-link svg {
  transition: transform var(--transition-micro);
}

.learn-more-link:hover svg {
  transform: translateX(6px);
}

/* 12. Newsletter Subscription Section (Glassmorphism layout) */
.subscription-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.subscription-checklist {
  margin-top: 2rem;
}

.subscription-checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.subscription-checklist li::before {
  content: "✓";
  position: absolute;
  top: -0.05rem; left: 0;
  font-weight: bold;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass-effect container */
.glass-panel {
  background: rgba(28, 31, 36, 0.45);
  border: 1px solid rgba(201, 162, 39, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-dark);
}

.glass-title {
  margin-bottom: 1.75rem;
  font-family: var(--font-headings);
  font-size: 1.45rem;
  line-height: 1.3;
}

.form-success-state, .form-error-state {
  display: none;
  text-align: center;
  padding: 1.5rem;
  animation: fadeInOpacity 0.4s ease forwards;
}

.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(201, 162, 39, 0.1);
  border: 1px solid var(--gold-flat);
  color: var(--gold-flat);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem auto;
}

/* 13. Simulated Calendly Widget & Booking */
.calendly-mock-container {
  background-color: var(--color-surface-charcoal);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-dark);
}

.calendly-header {
  border-bottom: 1px solid rgba(184, 184, 184, 0.1);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.calendly-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}

/* Simulated mini calendar grid */
.calendar-widget {
  width: 100%;
}

.calendar-month {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  text-align: center;
}

.calendar-day-header {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-muted-light);
  padding-bottom: 0.5rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-micro);
  border: 1px solid transparent;
}

.calendar-day.disabled {
  color: rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.calendar-day.available {
  color: var(--color-text-light);
  background-color: rgba(201, 162, 39, 0.08);
  border-color: rgba(201, 162, 39, 0.25);
  font-weight: 500;
}

.calendar-day.available:hover {
  background-color: var(--gold-flat);
  color: #0b0b0c;
  transform: scale(1.05);
}

.calendar-day.selected {
  background: var(--gold-gradient);
  color: #0b0b0c;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.3);
}

/* Time slot selector panels */
.time-slots-widget {
  border-left: 1px solid rgba(184, 184, 184, 0.1);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
}

.time-slots-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted-light);
  margin-bottom: 1rem;
}

.time-slots-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 230px;
  overflow-y: auto;
}

.time-slot-btn {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(184, 184, 184, 0.15);
  color: var(--color-text-light);
  padding: 0.75rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.85rem;
  transition: var(--transition-micro);
  text-align: center;
}

.time-slot-btn:hover {
  border-color: var(--gold-flat);
  background-color: rgba(201, 162, 39, 0.06);
}

.time-slot-btn.selected {
  background: var(--gold-gradient);
  color: #0b0b0c;
  border-color: transparent;
  font-weight: 600;
}

.booking-confirm-panel {
  display: none;
  flex-direction: column;
  gap: 1rem;
  animation: fadeInOpacity 0.4s ease forwards;
}

/* 14. Insights & CMS Hub styling */
.search-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.filter-btn {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-muted-light);
  padding: 0.5rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-micro);
}

.theme-ivory .filter-btn {
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--color-text-muted-dark);
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold-flat);
  color: var(--color-text-light);
  background-color: rgba(201, 162, 39, 0.08);
}

.theme-ivory .filter-btn:hover, .theme-ivory .filter-btn.active {
  color: var(--color-text-dark);
}

.search-input-wrapper {
  position: relative;
  width: min(100%, 320px);
}

.search-input-field {
  width: 100%;
  background-color: rgba(255,255,255,0.03);
  border: 1px solid rgba(184, 184, 184, 0.25);
  color: var(--color-text-light);
  padding: 0.6rem 1rem 0.6rem 2.25rem;
  border-radius: 4px;
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-micro);
}

.theme-ivory .search-input-field {
  background-color: var(--color-surface-white);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--color-text-dark);
}

.search-input-field:focus {
  border-color: var(--gold-flat);
}

.search-icon-svg {
  position: absolute;
  top: 50%; left: 0.85rem;
  transform: translateY(-50%);
  color: var(--color-text-muted-light);
  pointer-events: none;
}

/* Whitepaper Showcase */
.whitepaper-showcase {
  background: linear-gradient(135deg, rgba(28, 31, 36, 0.85) 0%, rgba(11, 11, 12, 0.95) 100%);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5.5rem;
  box-shadow: var(--shadow-dark);
}

.whitepaper-book-cover {
  position: relative;
  aspect-ratio: 0.707; /* A4 Ratio */
  background: var(--color-bg-onyx);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 4px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), inset 0 0 40px rgba(0, 0, 0, 0.8);
}

/* Soft gold vertical binding line */
.whitepaper-book-cover::after {
  content: '';
  position: absolute;
  top: 0; left: 8px; width: 2px; height: 100%;
  background: var(--gold-gradient);
  opacity: 0.4;
}

.book-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-flat);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  padding-bottom: 0.5rem;
}

.book-title {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  color: var(--color-text-light);
  line-height: 1.3;
}

.book-footer {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver-flat);
  display: flex;
  justify-content: space-between;
}

/* Custom modal download manager */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-color: rgba(11, 11, 12, 0.85);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: var(--color-surface-charcoal);
  border: 1px solid rgba(201, 162, 39, 0.25);
  width: min(90vw, 500px);
  border-radius: var(--border-radius-md);
  padding: 3rem;
  position: relative;
  box-shadow: var(--shadow-dark), var(--shadow-gold-glow);
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-overlay.open .modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: none;
  border: none;
  color: var(--color-text-muted-light);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

/* 15. Cookie Consent Slide-in Banner */
.cookie-banner {
  position: fixed;
  bottom: -150px; left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 820px;
  background: rgba(28, 31, 36, 0.95);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--border-radius-md);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-dark), var(--shadow-silver-glow);
  z-index: 9999;
  backdrop-filter: blur(12px);
  transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  bottom: 2rem;
}

.cookie-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-text p {
  font-size: 0.88rem;
  color: var(--color-text-muted-light);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--gold-flat);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* 16. Sticky CTA Floating Button */
#sticky-cta-container {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

#sticky-cta-container.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-sticky-cta {
  box-shadow: var(--shadow-dark), 0 0 15px rgba(201,162,39,0.3);
  padding: 0.8rem 1.45rem;
  font-size: 0.8rem;
}

/* 17. Scroll-Triggered Reveal Engine Styles */

/* Base hidden state */
.reveal {
  opacity: 1;
  transform: translateY(22px);
  transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Active visible state */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal Variations */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays up to 10 items */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* 18. Premium Footer & Watermarks */
#main-footer {
  background-color: var(--color-bg-onyx);
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  padding: 6.5rem 0 3rem 0;
  position: relative;
  overflow: hidden;
}

.footer-watermark {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 400px;
  height: auto;
  opacity: 0.025;
  pointer-events: none;
  transform: rotate(-10deg);
}

.footer-watermark svg {
  width: 100%;
  height: 100%;
}

.footer-container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 5.5rem;
  margin-bottom: 5.5rem;
  position: relative;
  z-index: 3;
}

.footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-headings);
  font-size: 1.85rem;
  letter-spacing: 0.12em;
}

.logo-text-lex { color: var(--silver-flat); }
.logo-text-negata { color: var(--gold-flat); font-weight: bold; }

.footer-tagline {
  font-size: 0.95rem;
  color: var(--color-text-muted-light);
}

.footer-disclaimer-box {
  background-color: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(184, 184, 184, 0.08);
  border-radius: var(--border-radius-sm);
  padding: 1.15rem;
}

.footer-disclaimer-box p {
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--color-text-muted-light);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-flat);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.footer-column a {
  font-size: 0.9rem;
  color: var(--color-text-muted-light);
}

.footer-column a:hover {
  color: var(--color-text-light);
  padding-left: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(184, 184, 184, 0.08);
  padding-top: 2rem;
  position: relative;
  z-index: 3;
}

.footer-bottom-container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-info {
  font-size: 0.76rem;
  color: var(--color-text-muted-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.footer-divider {
  color: rgba(184, 184, 184, 0.2);
}

.social-link {
  color: var(--color-text-muted-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(184, 184, 184, 0.1);
  transition: var(--transition-micro);
}

.social-link:hover {
  color: var(--gold-flat);
  border-color: var(--gold-flat);
  background-color: rgba(201, 162, 39, 0.06);
  transform: translateY(-2px);
}

/* 19. Keyframe Animations */
@keyframes drawLines {
  to {
    stroke-dashoffset: 0;
  }
}

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

@keyframes fillSilverLetter {
  to {
    fill-opacity: 1;
    stroke-width: 0;
    fill: url(#silver-grad);
  }
}

@keyframes fillGoldLetter {
  to {
    fill-opacity: 1;
    stroke-width: 0;
    fill: url(#gold-grad);
  }
}

@keyframes fillDiamond {
  to {
    fill-opacity: 1;
    fill: url(#gold-grad);
  }
}

@keyframes ambientFloat {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-20px) scale(1.05);
    opacity: 1;
  }
}

/* 20. Easing Page transition fades */
.view-fade-transition {
  animation: viewFadeIn 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes viewFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.view-loading-placeholder {
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-spinner {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(201, 162, 39, 0.15);
  border-top-color: var(--gold-flat);
  border-radius: 50%;
  animation: spinnerRotate 0.9s linear infinite;
}

@keyframes spinnerRotate {
  to { transform: rotate(360deg); }
}

/* 21. Accessibility & Responsive Adjustments */

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .hairline-draw {
    width: 100% !important;
  }
  
  #brand-intro {
    display: none !important;
  }
  
  body.loading {
    overflow: auto !important;
  }
}

/* 22. New Components: Accordions, Testimonials, Partners, 404 Page */

/* Accordion FAQs */
.faq-accordion-item {
  background-color: var(--color-surface-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--border-radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
}

.theme-onyx .faq-accordion-item {
  background-color: var(--color-surface-charcoal);
  border-color: rgba(255, 255, 255, 0.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.faq-accordion-trigger {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--color-text-dark);
  font-family: var(--font-headings);
  font-size: 1.15rem;
  transition: var(--transition-micro);
  outline: none;
}

.theme-onyx .faq-accordion-trigger {
  color: var(--color-text-light);
}

.faq-accordion-trigger:hover {
  color: var(--gold-flat);
}

.faq-chevron {
  width: 16px;
  height: 16px;
  color: var(--gold-flat);
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
  margin-left: 1.5rem;
}

.faq-accordion-item.open {
  border-color: rgba(201, 162, 39, 0.3);
  box-shadow: var(--shadow-gold-glow);
}

.faq-accordion-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-accordion-inner {
  padding: 0 2rem 1.5rem 2rem;
  font-size: 0.98rem;
  color: var(--color-text-muted-dark);
  line-height: 1.7;
}

.theme-onyx .faq-accordion-inner {
  color: var(--color-text-muted-light);
}

/* Testimonials Layout */
.testimonial-quote-icon {
  font-family: var(--font-headings);
  font-size: 4rem;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: -1rem;
  display: block;
}

.testimonial-masonry {
  column-count: 3;
  column-gap: 2rem;
}

.testimonial-masonry-card {
  break-inside: avoid;
  margin-bottom: 2rem;
  display: inline-block;
  width: 100%;
}

@media (max-width: 1024px) {
  .testimonial-masonry {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .testimonial-masonry {
    column-count: 1;
  }
}

/* Partners Logo Grid */
.partners-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.partner-logo-card {
  background-color: var(--color-surface-white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--border-radius-sm);
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
}

.theme-onyx .partner-logo-card {
  background-color: var(--color-surface-charcoal);
  border-color: rgba(255, 255, 255, 0.03);
}

.partner-logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: var(--shadow-gold-glow);
}

.partner-logo-svg {
  width: 80px;
  height: auto;
  color: var(--silver-flat);
  opacity: 0.5;
  transition: var(--transition-smooth);
}

.partner-logo-card:hover .partner-logo-svg {
  color: var(--gold-flat);
  opacity: 1;
  transform: scale(1.05);
}

/* 404 Cracked Column Animation */
.cracked-column-svg {
  width: min(80vw, 220px);
  height: auto;
  margin-bottom: 2rem;
}

.cracked-column-svg .column-outline {
  stroke: url(#gold-grad);
  stroke-width: 1.5;
  stroke-dasharray: 1200;
  stroke-dashoffset: 0;
  fill: none;
}

.cracked-column-svg.animated .column-crack {
  stroke: url(#silver-grad);
  stroke-width: 2;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLines 2s ease forwards 0.5s;
}

/* Footer Link Grid 4 Columns Override */
.footer-links-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Responsive Media Queries */

/* Large Desktop Adjustments */
@media (max-width: 1200px) {
  .container { width: 92%; }
}

/* Tablets (landscape/portrait) */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  
  .subscription-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .whitepaper-showcase {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
  }
  
  .whitepaper-book-cover {
    width: min(80vw, 240px);
    margin: 0 auto;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

/* Mobile Portrait */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .section { padding: 4.5rem 0; }
  
  #desktop-nav, .btn-header-cta {
    display: none;
  }
  
  #mobile-nav-toggle {
    display: block;
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 3.5rem auto;
    gap: 1rem;
  }
  
  .btn { width: 100%; }
  
  .hero-trust-strip {
    padding: 1.5rem 0;
  }
  
  .trust-items {
    justify-content: center;
    text-align: center;
    gap: 1.15rem;
  }
  
  .trust-item {
    font-size: 0.74rem;
  }
  
  .glass-panel {
    padding: 2rem 1.5rem;
  }
  
  .calendly-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .time-slots-widget {
    border-left: none;
    border-top: 1px solid rgba(184, 184, 184, 0.1);
    padding-left: 0;
    padding-top: 1.5rem;
  }
  
  .search-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-input-wrapper {
    width: 100%;
  }
  
  .cookie-container {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.25rem;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
  
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}
