/* ============================================
   SCU ADVISOR — MAIN STYLESHEET
   Monochrome Stark + Arctic Night Palette
   Est. 2022
   ============================================ */

/* --- CSS VARIABLES --- */
:root {
  --color-primary: #73DCF6;
  --color-secondary: #9FE7F9;
  --color-accent: #C39EDB;
  --color-bg: #0B1017;
  --color-surface: #12172A;
  --color-text: #D7E3F0;
  --color-text-light: #909FB4;
  --color-white: #fff;
  --color-black: #000;
  --color-muted: #666;

  --font-heading: Didot, 'Bodoni MT', 'Playfair Display', serif;
  --font-body: system-ui, -apple-system, sans-serif;

  /* Golden Ratio Typography Scale */
  --fs-h1: clamp(2.29rem, 5vw, 3.37rem);
  --fs-h2: 1.83rem;
  --fs-h3: 1.32rem;
  --fs-body: 1.0rem;
  --fs-small: 0.83rem;

  /* Spacing */
  --section-padding: 5.55rem 2rem;
  --container-max: 1191px;
  --card-gap: 2.37rem;
  --card-padding: 1.95rem;
  --btn-padding: 0.89rem 2.03rem;
  --btn-fs: 0.96rem;
  --border-radius-pill: 999px;
  --border-radius-card: 24px;
  --transition: all 150ms ease;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- GRID OVERLAY (Architectural Blueprint) --- */
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  overflow-x: hidden;
}

/* --- PAPER TEXTURE OVERLAY --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.01) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.01) 50%, rgba(255, 255, 255, 0.01) 75%, transparent 75%);
  background-size: 100% 100%, 4px 4px;
}

/* --- PAGE ENTRANCE ANIMATION --- */
main {
  animation: slideUp 0.5s ease-out;
  position: relative;
  z-index: 1;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- SKIP LINK --- */
.skip-link {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  color: var(--color-bg);
  background: var(--color-accent);
  padding: 0.75rem 1.5rem;
  font-size: var(--fs-body);
  text-decoration: none;
  z-index: 10000;
  border-radius: var(--border-radius-pill);
}

.skip-link:focus {
  position: fixed;
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  overflow: visible;
}

/* --- LOGO & BRAND --- */
.site-logo {
  max-height: 44px;
  width: auto;
  flex-shrink: 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.site-name {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--color-white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
}

/* --- NAVIGATION (Horizontal, Shrinking) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 300ms ease;
}

.site-header.scrolled {
  background: var(--color-surface);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.88rem 1.95rem;
  height: 65px;
  transition: all 300ms ease;
  overflow: visible;
}

.site-header.scrolled .nav-inner {
  height: 50px;
  padding: 0.4rem 1.95rem;
}

.site-header.scrolled .site-name {
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.05rem;
  list-style: none;
  flex-wrap: nowrap;
}

.site-header.scrolled .nav-links {
  gap: 1.4rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--color-text-light);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: color 150ms ease;
  letter-spacing: 0.02em;
}

.site-header.scrolled .nav-links a {
  font-size: 0.85rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 150ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
}

.nav-cta .btn-nav {
  font-size: 0.84rem;
  padding: 0.5rem 1.2rem;
  background: var(--color-accent);
  color: var(--color-bg);
  border: none;
  border-radius: var(--border-radius-pill);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.nav-cta .btn-nav:hover {
  background: var(--color-white);
  color: var(--color-bg);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
@media (max-width: 960px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1005;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.3rem;
    color: var(--color-white);
  }

  .nav-cta {
    display: none;
  }

  .nav-links .mobile-cta {
    display: inline-flex;
  }

  .hamburger {
    display: flex;
  }
}

@media (min-width: 961px) {
  .nav-links .mobile-cta {
    display: none;
  }
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--color-white);
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
}

h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  position: relative;
}

/* Accent Underline for H2 */
h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: var(--color-accent);
  margin-top: 0.75rem;
  border-radius: 2px;
}

h2.centered::after,
.text-center h2::after {
  margin-left: auto;
  margin-right: auto;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
}

p {
  margin-bottom: 1.618rem;
  line-height: 1.7;
}

small, .small-text {
  font-size: var(--fs-small);
  font-style: italic;
}

/* --- LINKS (General) --- */
a {
  color: var(--color-accent);
  text-decoration: none;
  position: relative;
  transition: color 150ms ease;
}

a:hover {
  color: var(--color-white);
}

.text-link {
  position: relative;
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 150ms ease;
}

.text-link:hover::after {
  width: 100%;
}

/* --- CUSTOM LIST MARKERS --- */
.custom-list {
  list-style: none;
  padding-left: 0;
}

.custom-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.custom-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-block;
  padding: var(--btn-padding);
  font-size: var(--btn-fs);
  font-family: var(--font-body);
  font-weight: 600;
  background: var(--color-accent);
  color: var(--color-bg);
  border: 2px solid var(--color-accent);
  border-radius: var(--border-radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-bg);
}

.btn-secondary {
  display: inline-block;
  padding: var(--btn-padding);
  font-size: var(--btn-fs);
  font-family: var(--font-body);
  font-weight: 600;
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  border-radius: var(--border-radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* Subtle CTA strategy */
.section-cta {
  margin-top: 2rem;
  text-align: left;
}

.section-cta .btn-primary {
  font-size: 0.88rem;
  padding: 0.7rem 1.6rem;
  background: rgba(195, 158, 219, 0.15);
  color: var(--color-accent);
  border-color: rgba(195, 158, 219, 0.3);
}

.section-cta .btn-primary:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}

/* --- LAYOUT CONTAINERS --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 2rem;
  position: relative;
}

.section-alt {
  background: var(--color-surface);
}

.section-dark {
  background: var(--color-bg);
}

.section-accent {
  background: var(--color-accent);
  color: var(--color-bg);
}

.section-accent h2,
.section-accent h3,
.section-accent p,
.section-accent a {
  color: var(--color-bg);
}

.section-accent h2::after {
  background: var(--color-bg);
}

/* Text on surface backgrounds */
.section-alt h2,
.section-alt h3 {
  color: var(--color-white);
}

.section-alt p {
  color: var(--color-text);
}

/* Header offset */
.header-offset {
  padding-top: 65px;
}

/* --- HERO (Stacked Full-Bleed Bands) --- */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
}

.hero-band {
  padding: 3.66rem 3.19rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-band .container {
  width: 100%;
  max-width: var(--container-max);
}

.hero-band-top {
  background: var(--color-accent);
  padding: 1.5rem 3.19rem;
}

.hero-band-top .category-label {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-bg);
  font-weight: 600;
}

.hero-band-middle {
  background: var(--color-surface);
  flex: 1;
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-band-middle h1 {
  font-size: clamp(2.29rem, 5vw, 3.37rem);
  color: var(--color-white);
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero-band-middle .hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 620px;
  line-height: 1.7;
}

.hero-band-bottom {
  background: var(--color-secondary);
  padding: 1.8rem 3.19rem;
}

.hero-band-bottom .container {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-band-bottom .btn-primary {
  background: var(--color-bg);
  color: var(--color-white);
  border-color: var(--color-bg);
}

.hero-band-bottom .btn-primary:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}

.hero-band-bottom .hero-supporting {
  font-size: var(--fs-small);
  color: var(--color-bg);
  font-weight: 500;
}

/* --- OVERLAPPING SQUARES MOTIF --- */
.motif-squares {
  position: relative;
}

.motif-squares::before,
.motif-squares::after {
  content: '';
  position: absolute;
  border: 2px solid rgba(195, 158, 219, 0.1);
  pointer-events: none;
  z-index: 0;
}

.motif-squares::before {
  width: 200px;
  height: 200px;
  top: -10px;
  right: -10px;
  transform: translate(10px, -10px);
}

.motif-squares::after {
  width: 150px;
  height: 150px;
  top: 10px;
  right: 10px;
  transform: translate(20px, -20px);
}

/* Heading partial rectangle frame */
.framed-heading {
  position: relative;
  padding-top: 0.5rem;
  padding-left: 1rem;
}

.framed-heading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: calc(100% + 4px);
  border-top: 2px solid var(--color-accent);
  border-left: 2px solid var(--color-accent);
  opacity: 0.3;
  pointer-events: none;
}

/* Card shadow-card behind */
.card-motif {
  position: relative;
}

.card-motif::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  border: 2px solid rgba(195, 158, 219, 0.12);
  border-radius: var(--border-radius-card);
  transform: translate(8px, 8px);
  z-index: -1;
  pointer-events: none;
}

/* --- SECTION DIVIDERS (Dot-Dash-Line) --- */
.section-divider {
  width: 80%;
  max-width: 600px;
  height: 1px;
  margin: 3rem auto;
  position: relative;
  border-top: 2px dashed rgba(195, 158, 219, 0.3);
}

.section-divider::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  margin-left: -5px;
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  transform: rotate(45deg);
}

/* --- SMALL COLORED SQUARE before section headings --- */
.sq-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.sq-heading::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--color-accent);
  margin-top: 0.5em;
  flex-shrink: 0;
}

/* --- CARDS (Borderless, Tinted BG) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(284px, 1fr));
  gap: var(--card-gap);
}

.card {
  background: var(--color-surface);
  padding: var(--card-padding);
  border-radius: var(--border-radius-card);
  transition: transform 150ms ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.card:hover {
  border-color: rgba(195, 158, 219, 0.15);
}

/* Card top accent border */
.card-accent-top {
  border-top: 4px solid var(--color-accent);
}

.card h3 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Card tilt perspective */
.tilt-container {
  perspective: 1000px;
}

.tilt-card {
  transition: transform 0.4s ease-out;
  will-change: transform;
}

/* --- DECORATIVE SHAPES (Outlined) --- */
.deco-circle {
  width: 48px;
  height: 48px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.deco-diamond {
  width: 32px;
  height: 32px;
  border: 2px solid var(--color-accent);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.deco-square {
  width: 32px;
  height: 32px;
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* --- TESTIMONIALS (Classic Cards) --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--card-gap);
}

.testimonial-card {
  background: var(--color-surface);
  padding: 2.5rem var(--card-padding) var(--card-padding);
  border-radius: var(--border-radius-card);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-accent);
  line-height: 1;
  position: absolute;
  top: 1rem;
  left: var(--card-padding);
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-style: italic;
  padding-top: 1rem;
}

.testimonial-card .testimonial-author {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  font-style: normal;
}

.testimonial-card .testimonial-author strong {
  color: var(--color-white);
  display: block;
  font-style: normal;
  margin-bottom: 0.2rem;
}

/* Large hero testimonial */
.testimonial-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--color-bg);
  position: relative;
}

.testimonial-hero::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 8rem;
  color: var(--color-accent);
  line-height: 1;
  opacity: 0.5;
}

.testimonial-hero blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--color-white);
  max-width: 800px;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-hero cite {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text-light);
  font-style: normal;
}

/* --- STATS (Vertical Stacked Counters) --- */
.stats-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.stats-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.stat-line {
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .stats-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-stack {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .stat-item {
    flex: 1;
    min-width: 140px;
  }
}

/* --- IMAGE PLACEHOLDERS (Abstract Wave Compositions) --- */
.image-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-card);
  background: var(--color-surface);
  min-height: 250px;
}

.image-placeholder .wave-shape {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: waveRotate 20s infinite linear;
}

.image-placeholder .wave-1 {
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: var(--color-primary);
  opacity: 0.1;
}

.image-placeholder .wave-2 {
  width: 100%;
  height: 100%;
  top: 5%;
  left: 5%;
  background: var(--color-secondary);
  opacity: 0.12;
  animation-direction: reverse;
  animation-duration: 25s;
}

.image-placeholder .wave-3 {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  background: var(--color-accent);
  opacity: 0.15;
  animation-duration: 18s;
}

@keyframes waveRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Grayscale filter for real images (monochrome mood) */
.img-mono {
  filter: grayscale(100%);
  transition: filter 300ms ease;
}

.img-mono:hover {
  filter: grayscale(60%);
}

/* --- FORMS (Boxed Sections) --- */
.form-box {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-card);
  padding: var(--card-padding);
  margin-bottom: 1.5rem;
  background: var(--color-surface);
}

.form-box legend,
.form-box h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.92rem;
  color: var(--color-text-light);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.92rem;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  background: var(--color-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-pill);
  color: var(--color-text);
  transition: border-color 150ms ease;
  outline: none;
}

.form-group textarea {
  border-radius: var(--border-radius-card);
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23909FB4' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.btn-submit {
  width: 100%;
  padding: var(--btn-padding);
  font-size: var(--btn-fs);
  font-family: var(--font-body);
  font-weight: 600;
  background: var(--color-accent);
  color: var(--color-bg);
  border: 2px solid var(--color-accent);
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-bg);
}

/* --- TWO COLUMN LAYOUTS --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--card-gap);
  align-items: start;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* --- CONTACT DETAILS CARD --- */
.contact-details-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-card);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-details-card h3 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}

.contact-item .contact-label {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  min-width: 80px;
  flex-shrink: 0;
}

.contact-item .contact-value {
  color: var(--color-text);
  font-size: 0.95rem;
}

/* --- SCROLLYTELLING CHAPTERS (About Page) --- */
.chapter {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 2rem;
  position: relative;
}

.chapter-content {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.chapter:nth-child(odd) {
  background: var(--color-bg);
}

.chapter:nth-child(even) {
  background: var(--color-surface);
}

/* --- PROCESS STEPS --- */
.process-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.process-step {
  counter-increment: step;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.process-step-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  flex-shrink: 0;
  width: 3rem;
  text-align: center;
  line-height: 1;
  padding-top: 0.2rem;
}

.process-step h3 {
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* --- TEAM GRID --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(284px, 1fr));
  gap: var(--card-gap);
}

.team-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-card);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.team-card .team-photo {
  height: 280px;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.team-card .team-info {
  padding: var(--card-padding);
}

.team-card .team-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.team-card .team-title {
  font-size: var(--fs-small);
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.team-card .team-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.7rem;
  border-radius: var(--border-radius-pill);
  margin-bottom: 0.75rem;
}

.team-card .team-bio {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* --- FAQ ACCORDION --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-white);
  transition: color 150ms ease;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-accent);
  transition: transform 150ms ease;
}

.faq-icon::before {
  width: 20px;
  height: 2px;
  top: 9px;
  left: 0;
}

.faq-icon::after {
  width: 2px;
  height: 20px;
  top: 0;
  left: 9px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
}

.faq-answer-inner {
  padding: 0 0 1.5rem 0;
  color: var(--color-text-light);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* --- BLOG / RESOURCE CARDS --- */
.blog-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-card);
  padding: var(--card-padding);
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  transition: border-color 150ms ease;
}

.blog-card:hover {
  border-color: rgba(195, 158, 219, 0.2);
}

.blog-card .blog-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.blog-card .blog-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-card .blog-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.blog-card .blog-date {
  font-size: var(--fs-small);
  color: var(--color-muted);
}

/* --- NEWSLETTER SECTION --- */
.newsletter-section {
  background: var(--color-accent);
  padding: 60px 2rem;
  text-align: center;
}

.newsletter-section h2,
.newsletter-section p {
  color: var(--color-bg);
}

.newsletter-section h2::after {
  background: var(--color-bg);
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 2rem auto 0;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 240px;
  padding: 0.92rem 1.5rem;
  border: 2px solid rgba(11, 16, 23, 0.2);
  border-radius: var(--border-radius-pill);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--color-bg);
}

.newsletter-form button {
  padding: 0.92rem 1.8rem;
  background: var(--color-bg);
  color: var(--color-white);
  border: 2px solid var(--color-bg);
  border-radius: var(--border-radius-pill);
  font-family: var(--font-body);
  font-size: var(--btn-fs);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--color-white);
  color: var(--color-bg);
  border-color: var(--color-white);
}

.newsletter-fine-print {
  font-size: var(--fs-small);
  color: rgba(11, 16, 23, 0.6);
  margin-top: 1rem;
}

/* --- CASE STUDY CARDS --- */
.case-study-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-card);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 2rem;
}

.case-study-card .case-industry {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.case-study-card h3 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.case-study-card .case-stat {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-top: 1rem;
}

.case-study-card .case-stat-label {
  font-size: var(--fs-small);
  color: var(--color-text-light);
}

/* --- RATES TABLE --- */
.rates-table-wrap {
  overflow-x: auto;
  border-radius: var(--border-radius-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.rates-table thead {
  background: var(--color-surface);
}

.rates-table th {
  padding: 1rem 1.2rem;
  text-align: left;
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: var(--fs-small);
  border-bottom: 2px solid var(--color-accent);
}

.rates-table td {
  padding: 1rem 1.2rem;
  color: var(--color-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.rates-table tbody tr:hover {
  background: rgba(195, 158, 219, 0.04);
}

/* --- LOCATIONS SPLIT VIEW --- */
.location-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--card-gap);
}

.location-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-card);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.location-card h3 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.location-detail {
  margin-bottom: 1.2rem;
}

.location-detail .loc-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.location-detail .loc-value {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .location-compare {
    grid-template-columns: 1fr;
  }
}

/* --- DISCLOSURE SECTION --- */
.disclosures {
  background: var(--color-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 2rem;
}

.disclosures .container {
  max-width: var(--container-max);
}

.disclosures h2 {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.disclosures h2::after {
  width: 30px;
  height: 2px;
}

.disclosures p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--color-bg);
  color: rgba(255, 255, 255, 0.8);
  padding: 3.2rem 3.02rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-col p {
  font-size: 0.84rem;
  line-height: 1.7;
  opacity: 0.7;
  max-width: 280px;
  margin-bottom: 1rem;
}

.footer-col .footer-heading {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
}

.footer-col .footer-heading::after {
  display: none;
}

.footer-col .footer-contact-item {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.footer-col .footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 150ms ease;
}

.footer-col .footer-contact-item a:hover {
  color: var(--color-accent);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.4;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer {
    padding: 2.5rem 1.5rem 0;
  }
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 2rem;
  z-index: 9999;
  display: none;
}

.cookie-banner.visible {
  display: block;
  animation: slideUp 0.3s ease-out;
}

.cookie-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.88rem;
  color: var(--color-text-light);
  flex: 1;
  min-width: 240px;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-accept {
  padding: 0.5rem 1.3rem;
  background: var(--color-accent);
  color: var(--color-bg);
  border: none;
  border-radius: var(--border-radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.cookie-accept:hover {
  background: var(--color-white);
}

.cookie-decline {
  padding: 0.5rem 1.3rem;
  background: transparent;
  color: var(--color-text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-pill);
  font-size: 0.84rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.cookie-decline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* --- BACK TO TOP BUTTON --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  color: var(--color-bg);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease, background 150ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-white);
}

/* --- STAGGERED CASCADE ANIMATIONS --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.visible:nth-child(1) { transition-delay: 0ms; }
.animate-on-scroll.visible:nth-child(2) { transition-delay: 100ms; }
.animate-on-scroll.visible:nth-child(3) { transition-delay: 200ms; }
.animate-on-scroll.visible:nth-child(4) { transition-delay: 300ms; }
.animate-on-scroll.visible:nth-child(5) { transition-delay: 400ms; }
.animate-on-scroll.visible:nth-child(6) { transition-delay: 500ms; }
.animate-on-scroll.visible:nth-child(7) { transition-delay: 600ms; }
.animate-on-scroll.visible:nth-child(8) { transition-delay: 700ms; }

/* --- FEATURED ARTICLE CARD --- */
.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--card-gap);
  align-items: center;
  background: var(--color-surface);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.featured-article-content {
  padding: 2.5rem;
}

.featured-article-content h2 {
  margin-bottom: 1.5rem;
}

.featured-article-content p {
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .featured-article {
    grid-template-columns: 1fr;
  }
}

/* --- LEGAL PAGES --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 2rem;
}

.legal-content h1 {
  margin-bottom: 0.5rem;
}

.legal-content .legal-date {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  margin-bottom: 3rem;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h2::after {
  width: 30px;
  height: 2px;
}

.legal-content h3 {
  font-size: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--color-text-light);
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* --- UTILITY CLASSES --- */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-white { color: var(--color-white); }
.text-muted { color: var(--color-text-light); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- OLD WAY / OUR WAY COMPARISON --- */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--card-gap);
}

.comparison-col {
  padding: 2rem;
  border-radius: var(--border-radius-card);
}

.comparison-col.old-way {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-col.our-way {
  background: rgba(195, 158, 219, 0.08);
  border: 1px solid rgba(195, 158, 219, 0.15);
}

.comparison-col h3 {
  margin-bottom: 1rem;
}

.comparison-col.old-way h3 {
  color: var(--color-text-light);
}

.comparison-col.our-way h3 {
  color: var(--color-accent);
}

.comparison-col p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .comparison {
    grid-template-columns: 1fr;
  }
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
  .section {
    padding: 60px 1.5rem;
  }

  .hero-band {
    padding: 2rem 1.5rem;
  }

  .hero-band-middle {
    min-height: 40vh;
  }

  h1 {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
  }

  h2 {
    font-size: 1.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .chapter {
    min-height: auto;
    padding: 60px 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-band-bottom .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    min-width: unset;
  }
}

/* === MANDATORY BASE RULES (auto-injected at end for max specificity) === */
html{overflow-x:hidden}
.skip-link{position:absolute!important;left:-9999px!important;top:auto;width:1px!important;height:1px!important;overflow:hidden!important;z-index:10000;clip:rect(0,0,0,0)!important}
.skip-link:focus{position:fixed!important;left:10px!important;top:10px!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;padding:.75rem 1.5rem;background:var(--color-primary,#333);color:#fff;font-size:1rem;font-weight:700;border-radius:4px;text-decoration:none;z-index:10000}
.site-logo,.site-logo img,img.site-logo{max-height:40px!important;width:auto!important;object-fit:contain;background:none!important;vertical-align:middle}
.footer-brand .site-logo{max-height:28px!important;width:auto!important}
.site-brand,a.site-brand{display:inline-flex!important;align-items:center;gap:.5rem;text-decoration:none;color:inherit}
.site-footer .site-brand,.footer-brand .site-brand{flex-wrap:wrap}
.site-footer .site-name,.footer-brand .site-name,.footer-col .site-name{white-space:normal!important;word-wrap:break-word}
.site-footer{max-height:none!important;overflow:visible!important}
/* NAV SAFETY — prevent overflow, misalignment, and z-index issues */
.site-nav,.site-header,header[role="banner"]{z-index:1000;width:100%;max-width:100vw!important}
.site-nav .nav-inner,.site-nav nav,.nav-inner,header nav{display:flex!important;align-items:center!important;flex-wrap:nowrap;gap:0.5rem;width:100%;max-width:100%!important;overflow:visible}
.nav-links,.nav-links-left,.nav-links-right,.nav-menu,[class*="nav-links"]{display:flex;align-items:center;gap:0.75rem;flex-wrap:nowrap;max-width:100%;margin:0;padding:0;list-style:none}
.nav-link,.nav-login-btn,.site-nav a,header nav a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-height:3rem;line-height:1.4;flex-shrink:1;min-width:0}
.nav-login-btn,.nav-cta,[class*="nav-cta"]{padding:0.4rem 1rem!important;font-size:0.85rem!important;border-radius:4px;flex-shrink:0}
@media(max-width:960px){.nav-links,.nav-links-left,.nav-links-right,.nav-menu,[class*="nav-links"]{display:none!important}}
.mobile-nav-overlay,.nav-overlay{display:none!important;position:fixed;inset:0;z-index:10001}
.mobile-nav-overlay.open,.nav-overlay.open{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem}
/* Prevent ANY element from causing horizontal scroll */
html,body{max-width:100vw!important;overflow-x:hidden!important}
/* Team portrait placeholders — ensure circles have dimensions even without images */
.team-portrait,.team-avatar,.team-photo{width:180px;height:180px;border-radius:50%;overflow:hidden;margin:0 auto 1rem;display:flex;align-items:center;justify-content:center}
.team-portrait img,.team-avatar img,.team-photo img{width:100%;height:100%;object-fit:cover;border-radius:50%}
/* Image placeholders — ensure they have dimensions and show images properly */
.image-placeholder{position:relative;overflow:hidden;min-height:200px}
.image-placeholder img{width:100%;height:100%;object-fit:cover;position:absolute;top:0;left:0;border-radius:inherit}
/* Content images injected by pipeline — no inline styles needed */
.content-img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
/* Animate fallback — if JS fails, content must still be visible after 2s */
.animate-in,.animate-on-scroll,.scroll-animate,.fade-in,.slide-in,[class*="animate-"]{animation:_aiFallback 0s 2s forwards}
@keyframes _aiFallback{to{opacity:1!important;transform:none!important}}
.animate-in.visible,.animate-on-scroll.visible,.scroll-animate.visible,.fade-in.visible,.slide-in.visible,[class*="animate-"].visible{animation:none}
/* Character animation fallback — if JS fails, chars must be visible */
.char,.char-space{opacity:1!important;transform:none!important}
.char.visible{animation:none}
/* Cookie banner — uses site palette via CSS variables for theme consistency */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:9999;padding:1rem 2rem;background:var(--color-text, #1a1a2e);color:var(--color-bg, #f0f0f0);display:none;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap;border-top:1px solid rgba(128,128,128,0.2);font-size:0.9rem}
.cookie-banner.visible,.cookie-banner.active,.cookie-banner.show,.cookie-banner.is-visible{display:flex}
.cookie-banner button,.cookie-accept,.cookie-decline,.cookie-btn,.cookie-link{padding:0.5rem 1.2rem;border-radius:6px;border:none;cursor:pointer;font-weight:600;font-size:0.85rem;color:var(--color-bg, #f0f0f0)}
.cookie-banner .cookie-accept,.cookie-banner .btn-primary,.cookie-banner [data-cookie="accept"]{background:var(--color-primary, #4ade80);color:var(--color-bg, #fff)}
.cookie-banner .cookie-decline,.cookie-banner .btn-ghost,.cookie-banner [data-cookie="decline"]{background:rgba(128,128,128,0.15);color:var(--color-text-light, #ccc)}
/* Footer minimum — ensure footer is visible even if custom CSS is truncated */
.site-footer{padding:3rem 2rem 1.5rem;position:relative}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;max-width:1200px;margin:0 auto}
.footer-col a{display:block;font-size:0.9rem;margin-bottom:0.4rem;text-decoration:none}
.footer-bottom,.footer-copy{text-align:center;font-size:0.8rem;opacity:0.5;margin-top:2rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,0.08)}
/* Interior page heroes must size to content, never clip text */
.hero--interior,[class*="hero-interior"],[class*="page-hero"]:not(.hero){min-height:auto!important;height:auto!important}
/* === END MANDATORY BASE RULES === */

/* === AUTO-FIX: fallback rules for HTML classes missing from CSS === */
/* === END AUTO-FIX === */
