/* =============================================================================
   ZYCONIX BIOLOGICS — style.css
   Fonts: Lora (headings) + Plus Jakarta Sans (body)
   Colors: Deep Clay Teal, Warm Sand, Terracotta, Charcoal, White
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

/* ─── Design Tokens ───────────────────────────────────────────────────────── */
:root {
  --teal:        #173F3A;
  --sand:        #FAF6F0;
  --terracotta:  #D46B47;
  --charcoal:    #222B29;
  --white:       #FFFFFF;

  /* Backward-compatible aliases */
  --color-brand-teal:       var(--teal);
  --color-brand-sand:       var(--sand);
  --color-brand-terracotta: var(--terracotta);
  --color-brand-charcoal:   var(--charcoal);
  --color-surface-white:    var(--white);
  --color-brand-muted:      rgba(34, 43, 41, 0.65);
  --color-border-thin:      rgba(23, 63, 58, 0.08);
  --color-border-medium:    rgba(23, 63, 58, 0.18);

  --font-heading: 'Lora', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --section-padding-desktop: 6rem 2rem;
  --section-padding-mobile:  3rem 1.5rem;

  --container-width:         1200px;
  --navbar-height:           104px;
  --navbar-height-scrolled:  80px;
  --utility-height:          36px;

  --radius-sm:   6px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-hero: 16px;
  --radius-full: 9999px;

  --transition: 0.22s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--sand);
}

body {
  background-color: var(--sand);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Push body below fixed navbar */
  padding-top: var(--navbar-height);
}

main {
  position: relative;
  width: 100%;
  overflow-x: hidden; /* prevents any child from causing horizontal scroll */
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--teal);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: 0.5rem; }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--charcoal);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--teal);
}

.overline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--terracotta); }

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

ul, ol { list-style: none; }

/* ─── Layout Helpers ──────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 2rem;
}

@media (max-width: 640px) {
  .container { padding-inline: 1.25rem; }
}

/* Sections */
.section {
  padding: var(--section-padding-desktop);
  width: 100%;
  position: relative;
}

@media (max-width: 768px) {
  .section { padding: var(--section-padding-mobile); }
}

/* Sand section (default) */
.section--sand, .section {
  background-color: var(--sand);
}

.section--sand h1, .section--sand h2,
.section--sand h3, .section--sand h4 {
  color: var(--teal);
}

/* Teal (dark) section — also matches legacy .section--dark */
.section--teal,
.section--dark {
  background-color: var(--teal);
  color: var(--sand);
}

.section--teal h1, .section--teal h2,
.section--teal h3, .section--teal h4,
.section--dark h1, .section--dark h2,
.section--dark h3, .section--dark h4 {
  color: var(--white);
}

.section--teal p,
.section--dark p {
  color: rgba(250, 246, 240, 0.88);
  opacity: 1;
}

.section--teal .lead,
.section--dark .lead {
  color: var(--white);
}

.section--teal .overline,
.section--dark .overline {
  color: var(--terracotta);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Section header intro block */
.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

/* ─── Navbar ──────────────────────────────────────────────────────────────── */
.navbar-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

/* Utility bar */
.navbar__utility {
  height: var(--utility-height);
  background-color: var(--teal);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar__utility-inner {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 2rem;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.navbar__utility-link {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(250, 246, 240, 0.82);
  font-family: var(--font-body);
  transition: color var(--transition);
}
.navbar__utility-link:hover { color: var(--white); }

/* Main nav bar */
.navbar {
  height: var(--navbar-height);
  background-color: var(--sand);
  border-bottom: 1px solid var(--color-border-thin);
  display: flex;
  align-items: center;
  transition: height var(--transition), box-shadow var(--transition);
}

/* Scrolled state: hide utility bar, compress nav */
.navbar-wrapper--scrolled .navbar__utility { display: none; }
.navbar-wrapper--scrolled .navbar {
  height: var(--navbar-height-scrolled);
  box-shadow: 0 2px 16px rgba(23, 63, 58, 0.06);
  border-bottom-color: var(--color-border-medium);
}

.navbar__inner {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-right: 1.5rem;
}

.navbar__logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .navbar__logo-img {
    height: 40px;
  }
}

.navbar__logo-mark { display: flex; align-items: center; }

.navbar__logo-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal);
}

.navbar__tagline {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--charcoal);
  opacity: 0.6;
  letter-spacing: 0.04em;
  font-family: var(--font-body);
}

/* Desktop nav links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar__link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding-block: 0.35rem;
  transition: color var(--transition);
}
.navbar__link:hover { color: var(--terracotta); }

/* Terracotta underline hover */
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--terracotta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}
.navbar__link:hover::after,
.navbar__link--active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar__link--active {
  color: var(--teal) !important;
  font-weight: 600;
}

/* Hamburger */
.navbar__toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 32px; height: 32px;
  position: relative;
  align-items: center;
  justify-content: center;
}

.navbar__toggle-bar {
  width: 20px; height: 2px;
  background-color: var(--teal);
  position: absolute;
  transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease;
}
.navbar__toggle-bar:nth-child(1) { transform: translateY(-6px); }
.navbar__toggle-bar:nth-child(2) { width: 14px; right: 6px; }
.navbar__toggle-bar:nth-child(3) { transform: translateY(6px); }

.navbar__toggle--active .navbar__toggle-bar:nth-child(1) { transform: rotate(45deg); }
.navbar__toggle--active .navbar__toggle-bar:nth-child(2) { opacity: 0; width: 0; }
.navbar__toggle--active .navbar__toggle-bar:nth-child(3) { transform: rotate(-45deg); }

/* Mobile drawer */
.navbar__mobile-menu {
  position: fixed;
  top: 0; bottom: 0; right: 0;
  width: 300px;
  background-color: var(--sand);
  border-left: 1px solid var(--color-border-thin);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px 1.5rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}
.navbar__mobile-menu--open {
  transform: translateX(0);
  box-shadow: -8px 0 30px rgba(23, 63, 58, 0.06);
}

.navbar__mobile-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border-thin);
  padding-bottom: 0.5rem;
}

.navbar__mobile-brand {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal);
}

.navbar__mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.navbar__mobile-link {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 0.35rem 0 0.35rem 0.75rem;
  border-left: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.navbar__mobile-link:hover,
.navbar__mobile-link--active {
  color: var(--teal);
  border-left-color: var(--terracotta);
}

.navbar__mobile-footer {
  margin-top: auto;
  border-top: 1px solid var(--color-border-thin);
  padding-top: 1.25rem;
}

.navbar__mobile-contact { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.25rem; }

.navbar__mobile-contact-link {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--color-brand-muted);
  font-family: var(--font-body);
}
.navbar__mobile-contact-link:hover { color: var(--terracotta); }

/* Drawer backdrop overlay */
.navbar__overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(23, 63, 58, 0.2);
  backdrop-filter: blur(3px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.navbar__overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .navbar__links { display: none; }
  .navbar__toggle { display: flex; }
}

/* ─── Page Hero — Bottom Teal Bar Layout ──────────────────────────────────── */

/* Shared shell for both home and inner page heros */
.home-hero,
.page-hero {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--sand);
  margin: 0;
  padding: 0;
  /* Hard guarantee: no gaps from inherited indent/padding */
  margin-inline: 0;
  padding-inline: 0;
}

/* Image wrapper — rounded top corners only, no overlay */
.home-hero__image-container,
.page-hero__image-container {
  width: 100%;
  height: 480px;
  overflow: hidden;
  border-radius: var(--radius-hero) var(--radius-hero) 0 0;
  position: relative;
  background-color: var(--teal); /* fallback while image loads */
  flex-shrink: 0;
  /* Guarantee edge-to-edge, kill any inherited margin */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.home-hero__image-container { height: 540px; }

.home-hero__image-container img,
.page-hero__image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-hero) var(--radius-hero) 0 0;
}

/* Solid Deep Teal title bar below image */
.home-hero__title-bar,
.page-hero__title-bar {
  background-color: var(--teal);
  color: var(--sand);
  padding: 2.5rem 2rem;
  width: 100%;
}

.home-hero__title-bar h1,
.page-hero__title-bar h1,
.page-hero__title,
.home-hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white) !important;
  margin: 0 0 0.5rem 0;
  line-height: 1.15;
  font-size: clamp(2rem, 4vw, 3rem);
}

.home-hero__title-bar h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }

.home-hero__subtitle,
.page-hero__subtitle {
  font-family: var(--font-body);
  color: rgba(250, 246, 240, 0.92);
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: rgba(250, 246, 240, 0.7);
  font-family: var(--font-body);
  margin-bottom: 0.75rem;
}
.page-hero__breadcrumb a { color: rgba(250, 246, 240, 0.7); }
.page-hero__breadcrumb a:hover { color: var(--white); }
.page-hero__breadcrumb-sep { color: rgba(250, 246, 240, 0.4); }
.page-hero__breadcrumb-current { color: var(--sand); font-weight: 500; }

/* Home hero CTA area */
.home-hero__description {
  color: rgba(250, 246, 240, 0.88);
  margin: 0.75rem 0 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 820px;
}

.home-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Quick-deck overlap */
.quick-deck-section {
  position: relative;
  z-index: 10;
  padding-top: 2.5rem;
}

/* Responsive hero heights */
@media (max-width: 768px) {
  .home-hero__image-container { height: 300px; }
  .page-hero__image-container { height: 240px; }
  .home-hero__title-bar,
  .page-hero__title-bar { padding: 1.75rem 1.25rem; }
}

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition);
  white-space: nowrap;
}

/* Primary: solid Teal, Sand text */
.btn--primary {
  background-color: var(--teal);
  color: var(--sand);
  border-color: var(--teal);
}
.btn--primary:hover {
  background-color: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
  transform: translateY(-1px);
}

/* Secondary/outline: Terracotta outline */
.btn--outline {
  background-color: transparent;
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.btn--outline:hover {
  background-color: var(--terracotta);
  color: var(--white);
  transform: translateY(-1px);
}

/* Accent: solid Terracotta */
.btn--accent {
  background-color: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}
.btn--accent:hover {
  background-color: #be5634;
  border-color: #be5634;
  transform: translateY(-1px);
}

/* Teal section button overrides */
.section--teal .btn--primary,
.section--dark .btn--primary {
  background-color: var(--sand);
  color: var(--teal);
  border-color: var(--sand);
}
.section--teal .btn--primary:hover,
.section--dark .btn--primary:hover {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--charcoal);
}

.section--teal .btn--outline,
.section--dark .btn--outline {
  border-color: var(--sand);
  color: var(--sand);
}
.section--teal .btn--outline:hover,
.section--dark .btn--outline:hover {
  background-color: var(--sand);
  color: var(--teal);
}

/* Hero title bar button overrides */
.home-hero__title-bar .btn--outline {
  border-color: var(--sand);
  color: var(--sand);
}
.home-hero__title-bar .btn--outline:hover {
  background-color: var(--sand);
  color: var(--teal);
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  transition: transform var(--transition);
}
.btn:hover .btn__icon { transform: translateX(3px); }

/* ─── Cards ───────────────────────────────────────────────────────────────── */
.trust-card,
.capability-card,
.value-card,
.insights-card,
.editorial-card,
.contact-card {
  background-color: var(--white);
  border: 1px solid var(--color-border-thin);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition);
}
.trust-card:hover,
.capability-card:hover,
.value-card:hover,
.insights-card:hover,
.editorial-card:hover {
  border-color: rgba(212, 107, 71, 0.3);
}

/* Cards on dark teal sections */
.section--teal .trust-card,
.section--dark .trust-card {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(250, 246, 240, 0.1);
  color: var(--sand);
}
.section--teal .trust-card h3,
.section--dark .trust-card h3,
.section--teal .trust-card h4,
.section--dark .trust-card h4 {
  color: var(--white);
}
.section--teal .trust-card p,
.section--dark .trust-card p {
  color: rgba(250, 246, 240, 0.8);
  opacity: 1;
}

/* Geometric icon box — max 48px, CSS only */
.trust-icon-box,
.geom-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 107, 71, 0.25);
  background-color: rgba(212, 107, 71, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  position: relative;
  color: var(--terracotta);
}

/* A small centred terracotta dot */
.trust-icon-box::after,
.geom-icon::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--terracotta);
}

/* Capsule pill */
.trust-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.85rem;
  background-color: rgba(23, 63, 58, 0.04);
  border: 1px solid var(--color-border-thin);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  transition: background-color var(--transition), border-color var(--transition);
}
.trust-pill:hover {
  background-color: rgba(212, 107, 71, 0.05);
  border-color: rgba(212, 107, 71, 0.2);
}

/* Image frame */
.image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Contact / Form ───────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
}

.form-input,
.form-textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-md);
  background-color: var(--white);
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--transition);
}
.form-input:focus,
.form-textarea:focus { border-color: var(--terracotta); }

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

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background-color: var(--teal);
  color: var(--sand);
  padding: 4rem 2rem 2rem;
  width: 100%;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  max-width: var(--container-width);
  margin-inline: auto;
  margin-bottom: 3rem;
}
@media (max-width: 1024px) {
  .footer__main { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 640px) {
  .footer__main { grid-template-columns: 1fr; gap: 1.5rem; }
}

.footer__col { display: flex; flex-direction: column; }

.footer__logo { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.75rem; }

.footer__logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer__brand-tagline {
  font-size: 0.8rem;
  color: rgba(250, 246, 240, 0.7);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  max-width: 240px;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 1.25rem;
}

.footer__list { display: flex; flex-direction: column; gap: 0.6rem; }

.footer__link {
  font-size: 0.875rem;
  color: rgba(250, 246, 240, 0.75);
  transition: color var(--transition);
}
.footer__link:hover { color: var(--terracotta); }
.footer__link--static { cursor: default; }

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(250, 246, 240, 0.75);
  margin-bottom: 0.6rem;
}
a.footer__contact-item:hover { color: var(--terracotta); }
.footer__contact-icon { color: var(--terracotta); flex-shrink: 0; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 246, 240, 0.1);
  max-width: var(--container-width);
  margin-inline: auto;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: rgba(250, 246, 240, 0.45);
}
.footer__quote { font-size: 0.75rem; font-style: italic; margin: 0; }
.footer__copyright { font-size: 0.75rem; margin: 0; }
@media (max-width: 640px) {
  .footer__bottom { flex-direction: column; text-align: center; align-items: center; }
}

/* ─── Scroll-reveal animations ─────────────────────────────────────────────── */
.reveal-up, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-up    { transform: translateY(28px); }
.reveal-left  { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal-scale { transform: scale(0.97); }

.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* ─── Page Scaled Overrides (+10% visual scale for designated pages) ─────── */
body.page-scaled .section {
  padding-top: 6.6rem;
  padding-bottom: 6.6rem;
}

@media (max-width: 768px) {
  body.page-scaled .section {
    padding-top: 3.3rem;
    padding-bottom: 3.3rem;
  }
}

/* Hero height & padding (+10%) */
body.page-scaled .page-hero__image-container {
  height: 530px;
}

body.page-scaled .page-hero__title-bar {
  padding: 2.75rem 2.2rem;
}

@media (max-width: 768px) {
  body.page-scaled .page-hero__image-container {
    height: 265px;
  }
  body.page-scaled .page-hero__title-bar {
    padding: 1.9rem 1.35rem;
  }
}

/* Headings (+10%) */
body.page-scaled h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.6rem);
}

body.page-scaled .page-hero__title-bar h1,
body.page-scaled .page-hero__title {
  font-size: clamp(2.2rem, 4.4vw, 3.3rem);
}

body.page-scaled h2 {
  font-size: clamp(1.95rem, 3.8vw, 2.75rem);
  margin-bottom: 1.4rem;
}

body.page-scaled h3 {
  font-size: clamp(1.32rem, 2.75vw, 1.65rem);
}

body.page-scaled h4 {
  font-size: 1.24rem;
}

/* Grids & Spacing (+10%) */
body.page-scaled .grid-2 {
  gap: 3.3rem;
}

body.page-scaled .grid-3 {
  gap: 2.2rem;
}

body.page-scaled .grid-4 {
  gap: 1.65rem;
}

@media (max-width: 768px) {
  body.page-scaled .grid-2,
  body.page-scaled .grid-3,
  body.page-scaled .grid-4 {
    gap: 2.2rem;
  }
}

body.page-scaled .section-header {
  margin-bottom: 3.3rem;
}

/* Component & Card Padding (+10%) */
body.page-scaled .trust-card,
body.page-scaled .capability-card,
body.page-scaled .value-card,
body.page-scaled .insights-card,
body.page-scaled .editorial-card,
body.page-scaled .contact-card {
  padding: 2.2rem;
}

body.page-scaled .trust-icon-box,
body.page-scaled .geom-icon {
  width: 44px;
  height: 44px;
}

/* Page-specific component scaling */
body.page-scaled .capability-strip,
body.page-scaled .tech-strip {
  padding: 4.4rem 0;
  gap: 3.3rem;
}

body.page-scaled .capability-strip__image {
  height: 375px;
}

body.page-scaled .tech-strip__image {
  height: 350px;
}

@media (max-width: 768px) {
  body.page-scaled .capability-strip,
  body.page-scaled .tech-strip {
    padding: 2.75rem 0;
    gap: 2.2rem;
  }
  body.page-scaled .capability-strip__image,
  body.page-scaled .tech-strip__image {
    height: 265px;
  }
}

body.page-scaled .coming-soon-panel {
  padding: 3.85rem 2.2rem;
}

body.page-scaled .stepper-item__badge {
  width: 62px;
  height: 62px;
  font-size: 1.05rem;
}

/* ─── Page Scaled Large Overrides (+12-15% further scale for about, technology, process, insights) ─── */
body.page-scaled-lg .section {
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}

@media (max-width: 768px) {
  body.page-scaled-lg .section {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }
}

/* Hero height & padding */
body.page-scaled-lg .page-hero__image-container {
  height: 600px;
}

body.page-scaled-lg .page-hero__title-bar {
  padding: 3.25rem 2.5rem;
}

@media (max-width: 768px) {
  body.page-scaled-lg .page-hero__image-container {
    height: 300px;
  }
  body.page-scaled-lg .page-hero__title-bar {
    padding: 2.25rem 1.5rem;
  }
}

/* Headings */
body.page-scaled-lg h1 {
  font-size: clamp(2.75rem, 6vw, 4rem);
}

body.page-scaled-lg .page-hero__title-bar h1,
body.page-scaled-lg .page-hero__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

body.page-scaled-lg h2 {
  font-size: clamp(2.15rem, 4.2vw, 3rem);
  margin-bottom: 1.6rem;
}

body.page-scaled-lg h3 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}

body.page-scaled-lg h4 {
  font-size: 1.35rem;
}

/* Grids & Spacing */
body.page-scaled-lg .grid-2 {
  gap: 3.7rem;
}

body.page-scaled-lg .grid-3 {
  gap: 2.5rem;
}

body.page-scaled-lg .grid-4 {
  gap: 1.85rem;
}

@media (max-width: 768px) {
  body.page-scaled-lg .grid-2,
  body.page-scaled-lg .grid-3,
  body.page-scaled-lg .grid-4 {
    gap: 2.5rem;
  }
}

body.page-scaled-lg .section-header {
  margin-bottom: 3.7rem;
  max-width: 800px;
}

/* Component & Card Padding */
body.page-scaled-lg .trust-card,
body.page-scaled-lg .capability-card,
body.page-scaled-lg .value-card,
body.page-scaled-lg .insights-card,
body.page-scaled-lg .editorial-card,
body.page-scaled-lg .contact-card {
  padding: 2.5rem;
}

body.page-scaled-lg .trust-icon-box,
body.page-scaled-lg .geom-icon {
  width: 48px;
  height: 48px;
}

/* Technology page strip scaling */
body.page-scaled-lg .tech-strip {
  padding: 5rem 0;
  gap: 3.7rem;
}

body.page-scaled-lg .tech-strip__image {
  height: 390px;
}

@media (max-width: 768px) {
  body.page-scaled-lg .tech-strip {
    padding: 3rem 0;
    gap: 2.5rem;
  }
  body.page-scaled-lg .tech-strip__image {
    height: 280px;
  }
}

/* Low content density enhancements for Insights & Process */
body.page-scaled-lg .coming-soon-panel {
  padding: 4.5rem 2.5rem;
  max-width: 720px;
  margin-top: 3rem;
}

body.page-scaled-lg .coming-soon-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 1.75rem;
}

body.page-scaled-lg .coming-soon-icon svg {
  width: 48px;
  height: 48px;
}

body.page-scaled-lg .coming-soon-heading {
  font-size: 1.65rem;
  margin-bottom: 1rem;
}

body.page-scaled-lg .stepper-item__badge {
  width: 72px;
  height: 72px;
  font-size: 1.2rem;
  border-width: 4px;
  margin-bottom: 1.25rem;
}

body.page-scaled-lg .stepper-item__name {
  font-size: 1.05rem;
  font-weight: 600;
}

body.page-scaled-lg .process-stepper::before {
  top: 36px;
  height: 3px;
}



