/* ==========================================================================
   COOK DIRECT TRADE — Master Stylesheet
   Corporate Premium | Crimson Professional | Overlapping Layers
   ========================================================================== */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
  /* Crimson Professional Palette */
  --color-primary: #8B1A1A;
  --color-secondary: #C0392B;
  --color-accent: #2C3E50;
  --color-bg: #FDF6F6;
  --color-surface: #FFFFFF;
  --color-text: #2C1810;
  --color-text-light: #7A6B65;

  /* Derived Colors */
  --color-primary-dark: #6B1414;
  --color-primary-light: rgba(139, 26, 26, 0.08);
  --color-accent-light: rgba(44, 62, 80, 0.08);
  --color-secondary-light: rgba(192, 57, 43, 0.06);
  --color-band-1: #FDF0F0;
  --color-band-2: #F0EDE8;
  --color-band-3: #F5F0EE;
  --color-band-4: #EDE8E6;

  /* Typography — Golden Ratio (1.618) */
  --font-heading: 'Bookman Old Style', 'URW Bookman', Georgia, serif;
  --font-body: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
  --fs-h1: 2.618rem;
  --fs-h2: 1.618rem;
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --lh-body: 1.7;

  /* Spacing — Airy */
  --section-padding: 100px;
  --card-gap: 32px;
  --content-max: 1000px;
  --hero-card-max: 800px;

  /* Border Radius — Medium (8px) */
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;

  /* Shadows — Heavy */
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.15);
  --shadow-hero: 0 12px 48px rgba(0, 0, 0, 0.12);
  --shadow-nav: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.18);
  --shadow-inset: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  --shadow-overlap: 0 4px 24px rgba(0, 0, 0, 0.06);

  /* Transitions */
  --transition-base: 0.3s ease;
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-stagger: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Gradient Mesh Background Texture */
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(139, 26, 26, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 60%, rgba(44, 62, 80, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(192, 57, 43, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 10%, rgba(139, 26, 26, 0.025) 0%, transparent 40%);
  background-attachment: fixed;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-secondary);
}

ul, ol {
  list-style: none;
}

/* ---------- SCROLL PROGRESS BAR ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  z-index: 10002;
  transition: none;
}

/* ---------- PAGE TRANSITION OVERLAY ---------- */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-surface);
  z-index: 10000;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.page-transition-overlay.fade-out {
  opacity: 0;
}

.page-transition-overlay.fade-in {
  opacity: 1;
  pointer-events: all;
}

/* ---------- TYPOGRAPHY — Golden Ratio ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4vw, var(--fs-h1));
  font-weight: 600;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.3rem, 3vw, var(--fs-h2));
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

p.text-light {
  color: var(--color-text-light);
}

small, .text-small {
  font-size: var(--fs-small);
  font-style: italic;
}

.text-light-on-dark {
  color: #FFFFFF;
}

/* ---------- COOKIE CONSENT BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 1.25rem 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s var(--transition-smooth);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner.hidden {
  transform: translateY(100%);
}

.cookie-banner p {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--color-text);
  max-width: 600px;
  line-height: 1.5;
}

.cookie-banner .cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ---------- NAVIGATION — Slide-Down ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(-100%);
  background: var(--color-surface);
  padding: 0.75rem 2rem;
  box-shadow: var(--shadow-nav);
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav.visible {
  transform: translateY(0);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition-base);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-links .nav-login {
  background: linear-gradient(90deg, var(--color-primary) 50%, var(--color-accent) 50%);
  color: #FFFFFF;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: var(--fs-small);
  transition: all var(--transition-base);
}

.nav-links .nav-login:hover {
  background: linear-gradient(90deg, var(--color-accent) 50%, var(--color-primary) 50%);
  color: #FFFFFF;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: all var(--transition-base);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-surface);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-mobile-menu.active {
  display: flex;
  opacity: 1;
}

.nav-mobile-menu a {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: var(--color-text);
  text-decoration: none;
}

.nav-mobile-menu a:hover {
  color: var(--color-primary);
}

/* ---------- HERO — Overlapping Layers + Editorial Masthead ---------- */
.hero {
  position: relative;
  width: 100%;
}

.hero-bg {
  width: 100%;
  min-height: 60vh;
  background: var(--color-accent);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-watermark {
  position: absolute;
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 8rem);
  color: #FFFFFF;
  opacity: 0.05;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  user-select: none;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-card {
  max-width: var(--hero-card-max);
  margin: -8rem auto 0;
  position: relative;
  z-index: 2;
  background: var(--color-surface);
  border-radius: var(--radius-2xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-hero);
  text-align: center;
}

.hero-card .hero-rule {
  width: 60%;
  height: 1px;
  background: var(--color-text-light);
  margin: 1rem auto;
  border: none;
}

.hero-card .hero-rule-thin {
  width: 100%;
  height: 1px;
  background: var(--color-primary);
  margin: 0 auto 1.5rem;
  border: none;
}

.hero-card .hero-brand {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--color-text);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0;
}

.hero-card .hero-tagline {
  font-variant: small-caps;
  letter-spacing: 0.2em;
  color: var(--color-text-light);
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
}

.hero-card .hero-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--color-text);
  line-height: 1.6;
  max-width: 600px;
  margin: 1.5rem auto;
}

.hero-card .hero-attribution {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-cta-link {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-cta-link:hover {
  color: var(--color-secondary);
}

.hero-cta-link .arrow {
  transition: transform var(--transition-base);
}

.hero-cta-link:hover .arrow {
  transform: translateX(4px);
}

/* ---------- SECTION LAYOUT — Overlapping Cards ---------- */
.section-band {
  width: 100%;
  padding: 6rem 2rem 8rem;
  position: relative;
  overflow: hidden;
}

.section-band:nth-child(odd) {
  background: var(--color-band-1);
}

.section-band:nth-child(even) {
  background: var(--color-band-2);
}

.section-band.band-primary {
  background: var(--color-accent);
}

.section-band.band-accent {
  background: var(--color-accent);
}

.section-band.band-warm {
  background: var(--color-band-3);
}

.section-band.band-light {
  background: var(--color-band-1);
}

.section-card {
  max-width: var(--content-max);
  margin: -3rem auto 0;
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-overlap);
  z-index: 1;
}

.section-band:nth-child(1) .section-card { z-index: 2; }
.section-band:nth-child(2) .section-card { z-index: 3; }
.section-band:nth-child(3) .section-card { z-index: 4; }
.section-band:nth-child(4) .section-card { z-index: 5; }
.section-band:nth-child(5) .section-card { z-index: 6; }
.section-band:nth-child(6) .section-card { z-index: 7; }
.section-band:nth-child(7) .section-card { z-index: 8; }
.section-band:nth-child(8) .section-card { z-index: 9; }

/* ---------- ASYMMETRIC SLOPE DIVIDERS ---------- */
.section-band.slope-ltr {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), 0 calc(100% - 20px));
}

.section-band.slope-rtl {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 0 calc(100% - 80px));
}

.section-band.slope-ltr + .section-band,
.section-band.slope-rtl + .section-band {
  margin-top: -60px;
  padding-top: 80px;
}

/* ---------- GRADIENT ORBS ---------- */
.section-band.has-orbs::before,
.section-band.has-orbs::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.section-band.has-orbs::before {
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  top: -100px;
  right: -100px;
}

.section-band.has-orbs::after {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  bottom: -50px;
  left: -80px;
}

/* Additional orb variant */
.section-band.has-orbs-alt::before {
  width: 350px;
  height: 350px;
  background: var(--color-secondary);
  top: -80px;
  left: -120px;
}

.section-band.has-orbs-alt::after {
  width: 280px;
  height: 280px;
  background: var(--color-primary);
  bottom: -60px;
  right: -100px;
}

.section-card,
.section-band > * {
  position: relative;
  z-index: 1;
}

/* ---------- ORGANIC BOTANICAL MOTIF ---------- */
/* Leaf shapes near section headings */
.botanical-leaf {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border-radius: 0% 80% 0% 80%;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.botanical-leaf.leaf-1 {
  transform: rotate(20deg);
  top: -10px;
  right: 30px;
}

.botanical-leaf.leaf-2 {
  transform: rotate(-25deg);
  bottom: 10px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--color-accent);
}

.botanical-leaf.leaf-3 {
  transform: rotate(35deg);
  top: 20px;
  left: -20px;
  width: 50px;
  height: 50px;
  background: var(--color-secondary);
}

/* Wavy botanical divider for sections */
.botanical-wave::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 30px;
  background: var(--color-bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 1;
}

/* Card hover with botanical feel */
.card-botanical:hover {
  transform: translateY(-4px) rotate(0.5deg);
}

/* ---------- FEATURE / SERVICE GRIDS ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  position: relative;
  box-shadow: var(--shadow-inset);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: var(--color-surface);
  transition: all var(--transition-base);
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 40px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
}

.feature-item:hover {
  transform: translateY(-4px) rotate(0.5deg);
  box-shadow: var(--shadow-card);
}

.feature-item h3 {
  margin-top: 0.75rem;
  color: var(--color-text);
}

.feature-item p {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.feature-item a {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-primary);
}

/* ---------- CARDS — Elevated ---------- */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  transition: all var(--transition-base);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-small {
  padding: 1.5rem;
}

/* ---------- BUTTONS — Split-Tone + Dual CTA ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(90deg, var(--color-primary) 50%, var(--color-accent) 50%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary:hover {
  background-position: 100% 0%;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 26, 26, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-text-light);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.dual-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.dual-cta.centered {
  justify-content: center;
}

/* ---------- IMAGE PLACEHOLDERS — Duotone Gradient Blend ---------- */
.img-placeholder {
  position: relative;
  aspect-ratio: 3 / 2;
  background-color: var(--color-primary);
  background-image: radial-gradient(ellipse at 30% 40%, rgba(255,255,255,0.15) 0%, transparent 60%);
  border-radius: var(--radius);
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  mix-blend-mode: overlay;
  opacity: 0.6;
  transition: all 0.8s ease;
}

.img-placeholder:hover::before {
  background: linear-gradient(225deg, var(--color-secondary), var(--color-accent));
}

.img-placeholder.square {
  aspect-ratio: 1 / 1;
}

.img-placeholder.portrait {
  aspect-ratio: 3 / 4;
}

/* ---------- STATS — Vertical Stacked Counters ---------- */
.stats-vertical {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(44, 62, 80, 0.12);
}

.stat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.618rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  line-height: 1.4;
}

/* Stats in dark section */
.band-accent .stat-number,
.stats-on-dark .stat-number {
  color: #FFFFFF;
}

.band-accent .stat-label,
.stats-on-dark .stat-label {
  color: rgba(255, 255, 255, 0.75);
}

.band-accent .stat-item,
.stats-on-dark .stat-item {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

/* Stats + content layout */
.stats-content-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--card-gap);
  align-items: start;
}

/* ---------- TESTIMONIALS — Highlighted Pull Quote ---------- */
.pull-quote {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
  border-radius: var(--radius-lg);
}

.pull-quote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-secondary);
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  line-height: 1;
  opacity: 0.5;
}

.pull-quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem;
}

.pull-quote cite {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--color-text-light);
  font-style: normal;
  display: block;
}

/* ---------- FORMS — Stacked Classic ---------- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid rgba(44, 62, 80, 0.2);
  border-radius: 4px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.12);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group .password-wrapper {
  position: relative;
}

.form-group .password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-light);
  font-size: var(--fs-small);
  padding: 0.25rem;
}

.form-group .password-toggle:hover {
  color: var(--color-primary);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.form-checkbox label {
  font-size: var(--fs-small);
  color: var(--color-text);
  cursor: pointer;
  margin-bottom: 0;
}

.form-note {
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--color-text-light);
  margin-top: 1rem;
}

.form-link {
  font-size: var(--fs-small);
  color: var(--color-secondary);
  text-decoration: none;
}

.form-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ---------- TABBED CONTENT PANELS ---------- */
.tabs {
  margin-bottom: 2rem;
}

.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 2px solid rgba(44, 62, 80, 0.1);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text-light);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-base);
  margin-bottom: -2px;
}

.tab-btn:hover {
  color: var(--color-text);
}

.tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-secondary);
}

.tab-panel {
  display: none;
  padding-top: 2rem;
}

.tab-panel.active {
  display: block;
}

/* ---------- TIMELINE ---------- */
.timeline {
  position: relative;
  padding-left: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  text-align: right;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  text-align: left;
}

.timeline-content {
  width: calc(50% - 2rem);
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  background: var(--color-secondary);
  border: 3px solid var(--color-surface);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 1.5rem;
  z-index: 2;
  box-shadow: 0 0 0 3px var(--color-secondary);
}

/* ---------- MOSAIC GRID (About Page) ---------- */
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

.mosaic-item {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.mosaic-item:hover {
  transform: translateY(-4px) rotate(0.5deg);
  box-shadow: var(--shadow-hover);
}

.mosaic-item.span-2 {
  grid-column: span 2;
}

.mosaic-item.mosaic-stat {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.mosaic-item.mosaic-stat .stat-number {
  color: #FFFFFF;
}

.mosaic-item.mosaic-stat .stat-label {
  color: rgba(255, 255, 255, 0.8);
}

.mosaic-item.mosaic-quote {
  background: var(--color-band-1);
  border-left: 4px solid var(--color-secondary);
}

/* ---------- TEAM PROFILES — Alternating ---------- */
.team-profile {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--card-gap);
  align-items: start;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(44, 62, 80, 0.08);
}

.team-profile:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.team-profile:nth-child(even) {
  grid-template-columns: 2fr 1fr;
}

.team-profile:nth-child(even) .team-photo {
  order: 2;
}

.team-profile:nth-child(even) .team-bio {
  order: 1;
}

.team-photo .img-placeholder {
  aspect-ratio: 3/4;
}

.team-name {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.team-title {
  font-size: var(--fs-small);
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 1rem;
  font-style: italic;
}

.team-credentials {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(44, 62, 80, 0.08);
}

/* ---------- CAREER POSITIONS — Filterable Grid ---------- */
.filter-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--color-text-light);
  background: var(--color-surface);
  border: 1px solid rgba(44, 62, 80, 0.15);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--card-gap);
}

.position-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  transition: all var(--transition-base);
}

.position-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.position-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.position-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.application-form {
  display: none;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(44, 62, 80, 0.1);
}

.application-form.active {
  display: block;
}

/* ---------- CONTACT SPLIT-SCREEN ---------- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.contact-info-panel {
  background: var(--color-accent);
  color: #FFFFFF;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-panel h2 {
  color: #FFFFFF;
  margin-bottom: 2rem;
}

.contact-info-panel p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.contact-info-panel .contact-detail {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.contact-info-panel .contact-note {
  font-size: var(--fs-small);
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 1.5rem;
}

.contact-form-panel {
  background: var(--color-surface);
  padding: 3rem;
}

/* ---------- LOGIN — Split Screen ---------- */
.login-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.login-decorative {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.login-decorative::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  top: -150px;
  right: -150px;
  filter: blur(40px);
}

.login-decorative::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0% 80% 0% 80%;
  bottom: 15%;
  left: 10%;
  transform: rotate(25deg);
}

.login-decorative .login-brand {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.login-decorative .login-tagline {
  font-variant: small-caps;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.login-decorative .login-stats {
  margin-top: 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.login-decorative .login-stats p {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-small);
  margin-bottom: 0.5rem;
}

.login-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: var(--color-surface);
}

.login-form-container {
  max-width: 400px;
  width: 100%;
}

.login-form-container h1 {
  margin-bottom: 0.5rem;
}

.login-form-container .login-subtitle {
  color: var(--color-text-light);
  margin-bottom: 2rem;
  font-size: var(--fs-small);
}

.login-help {
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--color-text-light);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(44, 62, 80, 0.08);
}

/* ---------- FOOTER — Newsletter-Focused ---------- */
.footer-newsletter {
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 3rem;
  text-align: center;
  border-radius: var(--radius-xl);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  top: -3rem;
  z-index: 10;
}

.footer-newsletter h2 {
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-small);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.newsletter-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 0.8rem 1.2rem;
  border: none;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--color-accent);
  color: #FFFFFF;
  padding: 0.8rem 1.5rem;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-small);
  cursor: pointer;
  transition: background var(--transition-base);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: #1a2a3a;
}

/* Disclosures Section */
.footer-disclosures {
  background: var(--color-accent);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 2rem;
}

.footer-disclosures .disclosures-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-disclosures h3 {
  color: #FFFFFF;
  font-style: normal;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-disclosures ul {
  list-style: none;
}

.footer-disclosures li {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  position: relative;
  color: rgba(255, 255, 255, 0.8);
}

.footer-disclosures li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
}

/* Minimal Footer */
.footer-minimal {
  background: var(--color-bg);
  padding: 2rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: block;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-links a {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-contact-info {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}

.footer-copyright {
  font-size: var(--fs-small);
  color: var(--color-text-light);
}

/* ---------- STAGGER-REVEAL ANIMATIONS ---------- */
.stagger-container .stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-stagger), transform var(--transition-stagger);
}

.stagger-container.revealed .stagger-item:nth-child(1) { transition-delay: 0s; }
.stagger-container.revealed .stagger-item:nth-child(2) { transition-delay: 0.08s; }
.stagger-container.revealed .stagger-item:nth-child(3) { transition-delay: 0.16s; }
.stagger-container.revealed .stagger-item:nth-child(4) { transition-delay: 0.24s; }
.stagger-container.revealed .stagger-item:nth-child(5) { transition-delay: 0.32s; }
.stagger-container.revealed .stagger-item:nth-child(6) { transition-delay: 0.40s; }
.stagger-container.revealed .stagger-item:nth-child(7) { transition-delay: 0.48s; }
.stagger-container.revealed .stagger-item:nth-child(8) { transition-delay: 0.56s; }
.stagger-container.revealed .stagger-item:nth-child(9) { transition-delay: 0.64s; }
.stagger-container.revealed .stagger-item:nth-child(10) { transition-delay: 0.72s; }

.stagger-container.revealed .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

/* Section-level fade in */
.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- FAQ ACCORDION ---------- */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid rgba(44, 62, 80, 0.1);
  padding: 1.25rem 0;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform var(--transition-base);
}

.faq-question.active::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding-top: 0;
}

.faq-answer.active {
  max-height: 500px;
  padding-top: 1rem;
}

.faq-answer p {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ---------- RESEARCH / ARTICLE CARDS ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--card-gap);
}

.article-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition-base);
}

.article-card:hover {
  transform: translateY(-4px) rotate(0.5deg);
  box-shadow: var(--shadow-hover);
}

.article-card .article-image {
  aspect-ratio: 16 / 9;
  background-color: var(--color-primary);
  background-image: radial-gradient(ellipse at 30% 40%, rgba(255,255,255,0.15) 0%, transparent 60%);
  position: relative;
}

.article-card .article-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  mix-blend-mode: overlay;
  opacity: 0.6;
}

.article-card .article-body {
  padding: 1.5rem;
}

.article-card .article-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.article-card .article-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}

.article-card .article-read-time {
  font-size: 0.7rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
}

.article-card h3 {
  font-style: normal;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.article-card p {
  font-size: var(--fs-small);
  color: var(--color-text-light);
}

/* ---------- VALUES GRID ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.value-card {
  padding: 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-inset);
  position: relative;
  transition: all var(--transition-base);
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 40px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
}

.value-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.value-card .value-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: var(--fs-small);
  color: var(--color-text-light);
}

/* ---------- PROCESS STEPS ---------- */
.process-steps {
  counter-reset: step;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-heading);
  font-size: 1.618rem;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.process-step-content h3 {
  font-style: normal;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.process-step-content p {
  font-size: var(--fs-small);
  color: var(--color-text-light);
}

/* ---------- SECTION HEADINGS ---------- */
.section-heading {
  position: relative;
  margin-bottom: 1.5rem;
}

/* ---------- SERVICE DETAIL (Tab Panels) ---------- */
.service-detail {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(44, 62, 80, 0.08);
}

.service-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-detail .service-problem {
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 3px solid var(--color-secondary);
}

.service-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--color-band-1);
  border-radius: var(--radius);
}

.service-spec-item strong {
  display: block;
  font-size: var(--fs-small);
  color: var(--color-text);
  margin-bottom: 0.15rem;
}

.service-spec-item span {
  font-size: var(--fs-small);
  color: var(--color-text-light);
}

/* ---------- FEATURED INSIGHT ---------- */
.featured-insight {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
  border-radius: var(--radius-xl);
  padding: 3rem;
  position: relative;
}

.featured-insight .insight-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

.featured-insight h2 {
  margin-bottom: 1rem;
}

.featured-insight .insight-key {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--color-primary);
}

.featured-insight .insight-key p {
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  font-size: var(--fs-small);
}

/* ---------- WHAT TO EXPECT STEPS ---------- */
.expect-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--card-gap);
}

.expect-step {
  text-align: center;
  padding: 1.5rem;
}

.expect-step .step-number {
  font-family: var(--font-heading);
  font-size: 2.618rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.expect-step h3 {
  font-style: normal;
  margin-bottom: 0.5rem;
}

.expect-step p {
  font-size: var(--fs-small);
  color: var(--color-text-light);
}

/* ---------- SECTOR GRID ---------- */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.sector-card {
  box-shadow: var(--shadow-inset);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  transition: all var(--transition-base);
}

.sector-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 40px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
}

.sector-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px) rotate(0.5deg);
}

.sector-card h3 {
  margin-top: 0.5rem;
}

.sector-card p {
  font-size: var(--fs-small);
  color: var(--color-text-light);
}

/* ---------- DEAL PARAMETERS ---------- */
.deal-params {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.deal-param {
  padding: 1.25rem;
  background: var(--color-band-1);
  border-radius: var(--radius);
  text-align: center;
}

.deal-param .param-value {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.deal-param .param-label {
  font-size: var(--fs-small);
  color: var(--color-text-light);
}

/* ---------- LEGAL PAGES ---------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(44, 62, 80, 0.08);
}

.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.8;
}

/* ---------- UTILITY CLASSES ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-card {
    margin: -5rem 2rem 0;
    padding: 2.5rem;
  }

  .section-card {
    margin: -2rem 1.5rem 0;
    padding: 2.5rem;
  }

  .stats-content-row {
    grid-template-columns: 1fr;
  }

  .mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mosaic-item.span-2 {
    grid-column: span 1;
  }

  .contact-split {
    grid-template-columns: 1fr;
  }

  .login-split {
    grid-template-columns: 1fr;
  }

  .login-decorative {
    min-height: 30vh;
    padding: 2rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: column;
    padding-left: 50px;
    text-align: left;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-dot {
    left: 20px;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
    --card-gap: 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: block;
  }

  .hero-bg {
    min-height: 40vh;
  }

  .hero-card {
    margin: -4rem 1rem 0;
    padding: 2rem;
    border-radius: var(--radius-xl);
  }

  .hero-card .hero-brand {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .section-band {
    padding: 4rem 1rem 5rem;
  }

  .section-card {
    margin: -2rem 1rem 0;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .section-band.slope-ltr {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 calc(100% - 10px));
  }

  .section-band.slope-rtl {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 40px));
  }

  .section-band.slope-ltr + .section-band,
  .section-band.slope-rtl + .section-band {
    margin-top: -30px;
    padding-top: 50px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .mosaic-grid {
    grid-template-columns: 1fr;
  }

  .team-profile,
  .team-profile:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .team-profile:nth-child(even) .team-photo,
  .team-profile:nth-child(even) .team-bio {
    order: unset;
  }

  .tab-bar {
    gap: 0;
  }

  .tab-btn {
    padding: 0.6rem 0.75rem;
    font-size: 0.75rem;
  }

  .positions-grid {
    grid-template-columns: 1fr;
  }

  .dual-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .dual-cta .btn-primary,
  .dual-cta .btn-secondary {
    text-align: center;
    justify-content: center;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"] {
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
  }

  .newsletter-form button {
    border-radius: var(--radius);
  }

  .footer-newsletter {
    margin: 0 1rem;
    top: -2rem;
    padding: 2rem;
  }

  .footer-disclosures {
    padding: 2rem 1rem;
  }

  .pull-quote {
    padding: 1.5rem;
  }

  .pull-quote::before {
    font-size: 3.5rem;
    top: -0.25rem;
    left: 0.5rem;
  }

  .contact-split {
    border-radius: var(--radius-lg);
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 2rem;
  }

  .deal-params {
    grid-template-columns: repeat(2, 1fr);
  }

  .expect-steps {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .sector-grid {
    grid-template-columns: 1fr;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-card .hero-brand {
    font-size: clamp(1.5rem, 10vw, 2.5rem);
  }

  .hero-card {
    margin: -3rem 0.75rem 0;
    padding: 1.5rem;
  }

  .section-card {
    margin: -1.5rem 0.75rem 0;
    padding: 1.25rem;
  }

  .deal-params {
    grid-template-columns: 1fr;
  }
}

/* ---------- PRINT STYLES ---------- */
@media print {
  .site-nav,
  .cookie-banner,
  .scroll-progress,
  .page-transition-overlay,
  .footer-newsletter {
    display: none !important;
  }

  .section-band {
    clip-path: none !important;
  }

  body {
    background: white;
  }

  .section-card,
  .hero-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}