/* ============================================
   TANGERINE INSURANCE — MASTER STYLESHEET
   Corporate Premium + Magazine-Editorial
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #ea7024;
  --color-secondary: #006fd6;
  --color-accent: #d50000;
  --color-bg: #faf9ec;
  --color-surface: #fafafa;
  --color-text: #141414;
  --color-text-light: #6b7280;
  --color-white: #ffffff;

  --font-heading: 'Franklin Gothic Medium', 'Arial Narrow', sans-serif;
  --font-body: Georgia, 'Times New Roman', serif;

  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --transition: 200ms cubic-bezier(0.22, 1, 0.36, 1);

  --nav-height: 74px;
  --container-max: 1174px;

  counter-reset: section;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.61;
  color: var(--color-text);
  background-color: var(--color-bg);
  /* Paper texture overlay */
  background-image:
    linear-gradient(45deg, rgba(120, 100, 80, 0.015) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(120, 100, 80, 0.015) 25%, transparent 25%),
    radial-gradient(ellipse at 20% 50%, rgba(200, 180, 140, 0.03), transparent 70%),
    radial-gradient(ellipse at 80% 20%, rgba(200, 180, 140, 0.02), transparent 60%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: all var(--transition);
}

a:hover {
  background-color: rgba(0, 111, 214, 0.06);
}

ul, ol {
  list-style: none;
}

/* Custom accent-colored list markers */
.content-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
}

.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: var(--color-white);
  background: var(--color-text);
  padding: 0.89rem 2.41rem;
  z-index: 100000;
  text-decoration: none;
}

.skip-link:focus {
  position: fixed;
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  overflow: visible;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  z-index: 10001;
  transition: none;
}

/* --- Typography Scale (Large Dramatic) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  letter-spacing: 0.04em;
  text-transform: none;
}

h1 {
  font-size: clamp(2.34rem, 5vw, 3.46rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h2 {
  font-size: 1.76rem;
  font-weight: 700;
  line-height: 1.15;
}

h3 {
  font-size: 1.27rem;
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}

small, .text-small {
  font-size: 0.81rem;
  line-height: 1.4;
}

.text-caption {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-heading);
}

/* --- Containers & Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 680px;
  margin: 0 auto;
}

/* --- Section Styles --- */
main {
  counter-reset: section;
}

section {
  padding: 4.93rem 2rem;
}

/* Staggered section reveal */
main > section {
  animation: fadeInSection 0.4s ease both;
}

main > section:nth-child(1) { animation-delay: 0.1s; }
main > section:nth-child(2) { animation-delay: 0.2s; }
main > section:nth-child(3) { animation-delay: 0.3s; }
main > section:nth-child(4) { animation-delay: 0.4s; }
main > section:nth-child(5) { animation-delay: 0.5s; }
main > section:nth-child(6) { animation-delay: 0.6s; }
main > section:nth-child(7) { animation-delay: 0.7s; }
main > section:nth-child(8) { animation-delay: 0.8s; }
main > section:nth-child(9) { animation-delay: 0.9s; }
main > section:nth-child(10) { animation-delay: 1.0s; }

@keyframes fadeInSection {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Numbered section headings */
.numbered-section {
  counter-increment: section;
}

.numbered-section h2::before {
  content: counter(section, decimal-leading-zero);
  display: block;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(213, 0, 0, 0.15);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

/* Section heading partial rectangle frame (overlapping squares motif) */
.numbered-section h2 {
  position: relative;
  padding-top: 0.75rem;
  padding-left: 1rem;
}

.numbered-section h2::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: calc(100% - 0.5rem);
  border-top: 2px solid rgba(234, 112, 36, 0.15);
  border-left: 2px solid rgba(234, 112, 36, 0.15);
  pointer-events: none;
}

/* Background alternation */
.section--surface {
  background-color: var(--color-surface);
}

.section--bg {
  background-color: var(--color-bg);
}

.section--dark {
  background-color: var(--color-text);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark p,
.section--dark span,
.section--dark .stat-label {
  color: var(--color-white);
}

.section--dark h2::before {
  color: rgba(255, 255, 255, 0.15);
}

.section--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section--primary h2,
.section--primary h3,
.section--primary p,
.section--primary span {
  color: var(--color-white);
}

.section--secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.section--secondary h2,
.section--secondary h3,
.section--secondary p,
.section--secondary span {
  color: var(--color-white);
}

/* Dot grid background pattern */
.section--dotgrid {
  background-image: radial-gradient(circle, rgba(20, 20, 20, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Thin horizontal rule separator (magazine style) */
.section-rule {
  border: none;
  border-top: 1px solid currentColor;
  opacity: 0.15;
  width: 60%;
  margin: 2rem 0;
}

/* --- HEADER / NAVIGATION --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: var(--color-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2.15rem;
}

/* Push content below fixed header */
body {
  padding-top: var(--nav-height);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1280px;
  height: var(--nav-height);
  gap: 1.71rem;
  flex-wrap: nowrap;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.71rem;
  flex: 1;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.nav-left a,
.nav-right a:not(.btn) {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  white-space: nowrap;
  transition: all var(--transition);
  background: none;
}

.nav-left a:hover,
.nav-right a:not(.btn):hover {
  color: var(--color-primary);
  background-color: rgba(234, 112, 36, 0.06);
}

.nav-left a.active,
.nav-right a.active {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}

/* Site brand / logo */
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
  padding: 0 1rem;
}

.site-brand:hover {
  background: none;
}

.site-logo {
  max-height: 43px;
  width: auto;
  flex-shrink: 0;
}

.site-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* Nav CTA button */
.btn-nav {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-nav:hover {
  background-color: #cf6118;
  border-bottom: 3px solid var(--color-accent);
  color: var(--color-white);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10002;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: all 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 overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-white);
  z-index: 9998;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem 2rem;
  gap: 0.25rem;
  overflow-y: auto;
}

.nav-overlay.active {
  display: flex;
}

.nav-overlay a {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  width: 100%;
  text-align: center;
  transition: all var(--transition);
  background: none;
}

.nav-overlay a:hover {
  color: var(--color-primary);
  background-color: rgba(234, 112, 36, 0.06);
}

.nav-overlay .btn-nav {
  margin-top: 1rem;
  display: inline-block;
  width: auto;
  padding: 0.89rem 2.41rem;
}

/* Mobile breakpoint — triggered by class (JS auto-detect) OR media query fallback */
.site-header.nav-collapsed .nav-left,
.site-header.nav-collapsed .nav-right {
  display: none;
}

.site-header.nav-collapsed .hamburger {
  display: flex;
  position: absolute;
  right: 2.15rem;
  top: 50%;
  transform: translateY(-50%);
}

.site-header.nav-collapsed .site-brand {
  padding: 0;
}

.site-header.nav-collapsed .nav-inner {
  justify-content: center;
}

/* Fallback media query for no-JS */
@media (max-width: 960px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  .hamburger {
    display: flex;
    position: absolute;
    right: 2.15rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .site-brand {
    padding: 0;
  }

  .nav-inner {
    justify-content: center;
  }
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 90vh;
  padding: 5.25rem 2.14rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Diagonal split background */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background-color: var(--color-primary);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: var(--color-bg);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

/* Decorative circle at diagonal intersection */
.hero-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  z-index: 3;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-circle {
    width: 180px;
    height: 180px;
  }
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  max-width: 90%;
}

.hero-text h1 {
  font-size: clamp(2.34rem, 5vw, 3.46rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 0;
}

.hero-rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  width: 60%;
  margin: 2rem 0;
}

.hero-standfirst {
  font-size: 1.06rem;
  line-height: 1.65;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-cta .cta-arrow {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-white);
  text-decoration: none;
  border-bottom: 2px solid var(--color-white);
  padding-bottom: 0.25rem;
  background: none;
}

.hero-cta .cta-arrow:hover {
  border-bottom-color: var(--color-accent);
  background: none;
}

.hero-cta .cta-secondary {
  font-family: var(--font-heading);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  background: none;
}

.hero-cta .cta-secondary:hover {
  color: var(--color-white);
  background: none;
}

.hero-visual {
  position: relative;
  z-index: 4;
}

/* Overlapping squares motif on hero */
.hero-visual::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  z-index: -1;
  pointer-events: none;
}

.hero-visual::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: -12px;
  bottom: -12px;
  border: 2px solid rgba(234, 112, 36, 0.15);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 6rem 1.5rem 4rem;
  }

  .hero::before {
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
  }

  .hero::after {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .hero-text {
    max-width: 100%;
  }
}

/* Interior page hero (no diagonal) */
.hero--interior {
  min-height: 50vh;
  background-color: var(--color-primary);
  padding: 5.25rem 2.14rem;
}

.hero--interior::before,
.hero--interior::after {
  display: none;
}

.hero--interior .hero-content {
  grid-template-columns: 1fr;
  max-width: 680px;
}

.hero--interior h1 {
  color: var(--color-white);
}

.hero--interior .hero-standfirst {
  color: rgba(255, 255, 255, 0.9);
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.89rem 2.41rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all var(--transition);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #cf6118;
  border-bottom-color: var(--color-accent);
  color: var(--color-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: rgba(234, 112, 36, 0.06);
  border-bottom: 3px solid var(--color-accent);
}

.btn-dark {
  background-color: var(--color-text);
  color: var(--color-white);
}

.btn-dark:hover {
  background-color: #2a2a2a;
  border-bottom-color: var(--color-primary);
  color: var(--color-white);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-text);
}

.btn-white:hover {
  background-color: var(--color-surface);
  border-bottom-color: var(--color-primary);
  color: var(--color-text);
}

.btn-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Arrow link CTA (editorial style) */
.cta-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 0.2rem;
  background: none;
}

.cta-link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
  background: none;
}

/* Dual CTA wrapper */
.dual-cta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* --- CARDS --- */
.card {
  background-color: var(--color-surface);
  padding: 1.5rem;
  border-radius: 0;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}

/* Overlapping square motif on cards */
.card::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: -8px;
  bottom: -8px;
  border: 2px solid rgba(234, 112, 36, 0.08);
  pointer-events: none;
  z-index: -1;
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card:hover::before {
  top: 10px;
  left: 10px;
}

/* Card on tinted section */
.section--surface .card,
.section--dotgrid .card {
  background-color: var(--color-white);
}

/* --- GRID LAYOUTS --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.63rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.63rem;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.63rem;
}

@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Magazine-editorial feature grid (borderless) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.feature-grid .feature-item {
  padding: 0;
}

.feature-item .feature-category {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature-item .feature-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.feature-item .feature-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- MONOGRAM IMAGE PLACEHOLDERS --- */
.monogram {
  position: relative;
  background-color: rgba(234, 112, 36, 0.06);
  border: 1px solid rgba(234, 112, 36, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.monogram-char {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 700;
  color: rgba(234, 112, 36, 0.12);
  text-transform: uppercase;
  line-height: 1;
  user-select: none;
}

.monogram--square {
  aspect-ratio: 1;
}

.monogram--portrait {
  aspect-ratio: 3 / 4;
}

/* Team monogram (initials) */
.monogram--team {
  aspect-ratio: 3 / 4;
  max-width: 280px;
}

.monogram--team .monogram-char {
  font-size: clamp(3rem, 6vw, 5rem);
}

/* Small monograms for cards */
.monogram--small {
  aspect-ratio: 16 / 9;
  min-height: 160px;
}

.monogram--small .monogram-char {
  font-size: 3rem;
}

/* --- TRUST BADGES / LOGO BAR --- */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.trust-badge {
  width: 80px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(20, 20, 20, 0.04);
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-radius: 0;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.trust-badge:hover {
  opacity: 0.8;
}

.trust-badge span {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

/* --- TESTIMONIALS (Highlighted Pull Quote) --- */
.testimonial {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem;
  position: relative;
  background: linear-gradient(135deg, rgba(234, 112, 36, 0.04), rgba(0, 111, 214, 0.04));
  border-radius: 0;
}

.testimonial::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--color-primary);
  opacity: 0.6;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.testimonial-attribution {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.04em;
}

.testimonial-attribution::before {
  content: '— ';
}

.testimonial-role {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.81rem;
  color: var(--color-text-light);
  font-style: normal;
  margin-top: 0.25rem;
}

/* Testimonial carousel/grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.63rem;
}

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* --- STATS (Icon + Number Inline) --- */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  flex-shrink: 0;
}

.section--dark .stat-icon {
  border-color: rgba(255, 255, 255, 0.25);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section--dark .stat-number {
  color: var(--color-white);
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.81rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .stats-row {
    gap: 1.5rem;
  }

  .stat-item {
    flex: 1 1 45%;
  }
}

@media (max-width: 480px) {
  .stat-item {
    flex: 1 1 100%;
  }
}

/* Stats banner (about page) */
.stats-banner {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 3rem 2rem;
}

.stats-banner .stat-big {
  text-align: center;
}

.stats-banner .stat-big-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stats-banner .stat-big-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* --- PULL QUOTES (Oversized Accent Text) --- */
.pull-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  padding: 2rem 0;
  border-top: 3px solid var(--color-primary);
  border-bottom: 1px solid rgba(234, 112, 36, 0.2);
  margin: 2rem 0;
}

/* --- MANIFESTO STATEMENTS --- */
.manifesto-item {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--color-text);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  max-width: 680px;
  margin: 0 auto;
}

.manifesto-item:last-child {
  border-bottom: none;
}

/* --- TEAM CARDS --- */
.team-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.team-card .monogram--team {
  margin-bottom: 0.5rem;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
}

.team-role {
  font-family: var(--font-heading);
  font-size: 0.81rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.team-credentials {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.team-funfact {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.5;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(20, 20, 20, 0.06);
}

/* --- CASE STUDY CARDS --- */
.case-card {
  padding: 2rem;
  background-color: var(--color-surface);
  border-left: 4px solid var(--color-primary);
  border-radius: 0;
}

.case-card h3 {
  margin-bottom: 0.75rem;
}

.case-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* --- PROCESS STEPS --- */
.process-steps {
  counter-reset: step;
}

.process-step {
  counter-increment: step;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  position: relative;
  padding-left: 4rem;
}

.process-step:last-child {
  border-bottom: none;
}

.process-step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-primary);
  border-radius: 0;
}

.process-step h3 {
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--color-text-light);
  line-height: 1.65;
}

/* --- FAQ ACCORDION --- */
.faq-item {
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1.25rem 2.5rem 1.25rem 0;
  cursor: pointer;
  position: relative;
  color: var(--color-text);
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* --- RESOURCE CARDS --- */
.resource-card {
  background-color: var(--color-white);
  border-radius: 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: -8px;
  bottom: -8px;
  border: 2px solid rgba(234, 112, 36, 0.08);
  pointer-events: none;
  z-index: -1;
}

.resource-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.resource-type {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-block;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.75rem;
}

.resource-type--guide {
  background-color: rgba(0, 111, 214, 0.1);
  color: var(--color-secondary);
}

.resource-type--article {
  background-color: rgba(234, 112, 36, 0.1);
  color: var(--color-primary);
}

.resource-type--report {
  background-color: rgba(213, 0, 0, 0.1);
  color: var(--color-accent);
}

.resource-type--checklist {
  background-color: rgba(20, 20, 20, 0.06);
  color: var(--color-text);
}

.resource-card-body {
  padding: 1.5rem;
}

.resource-card h3 {
  margin-bottom: 0.5rem;
}

.resource-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Resource category filters */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid rgba(20, 20, 20, 0.15);
  border-radius: 0;
  cursor: pointer;
  color: var(--color-text);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* --- INDUSTRY CARDS (Hub-and-Spoke) --- */
.industry-hub {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.63rem;
}

@media (max-width: 960px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }
}

.industry-card {
  background-color: var(--color-white);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border-radius: 0;
  position: relative;
  transition: all var(--transition);
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: -8px;
  bottom: -8px;
  border: 2px solid rgba(234, 112, 36, 0.08);
  pointer-events: none;
  z-index: -1;
}

.industry-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.industry-stat {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.industry-card h3 {
  margin-bottom: 0.75rem;
}

.industry-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.industry-highlight {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--color-text);
  border-left: 3px solid var(--color-primary);
  padding-left: 1rem;
  margin: 1rem 0;
}

/* --- FORMS (Minimal Underline) --- */
.form-group {
  margin-bottom: 1.75rem;
  position: relative;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
  transition: color var(--transition);
  text-align: left;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  padding: 0.73rem 0;
  border: none;
  border-bottom: 1px solid rgba(20, 20, 20, 0.2);
  border-radius: 0;
  background: transparent;
  transition: all var(--transition);
  outline: none;
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
}

/* Focus glow micro-interaction */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-bottom-color: var(--color-primary);
  box-shadow: 0 2px 0 0 var(--color-primary);
  background-color: rgba(234, 112, 36, 0.02);
}

.form-group:focus-within .form-label {
  color: var(--color-primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(20, 20, 20, 0.3);
  transition: all var(--transition);
}

.form-input:focus::placeholder,
.form-textarea:focus::placeholder {
  opacity: 0;
  transform: translateY(-5px);
}

/* Radio group */
.radio-group {
  display: flex;
  gap: 2rem;
  padding-top: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  cursor: pointer;
}

.radio-label input[type="radio"] {
  accent-color: var(--color-primary);
}

/* --- CONTACT SPLIT LAYOUT --- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-height));
}

.contact-info-panel {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 5.25rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-panel h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.contact-info-panel p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--color-white);
  font-size: 1rem;
}

.contact-detail-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-detail a {
  color: var(--color-white);
  text-decoration: none;
  background: none;
}

.contact-detail a:hover {
  text-decoration: underline;
  background: none;
}

.contact-detail strong {
  font-family: var(--font-heading);
  font-weight: 700;
}

.contact-form-panel {
  background-color: var(--color-white);
  padding: 5.25rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-panel h2 {
  margin-bottom: 0.5rem;
}

.contact-form-panel > p {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .contact-split {
    grid-template-columns: 1fr;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 3rem 1.5rem;
  }
}

/* --- GLOSSARY GRID --- */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.glossary-item dt {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.04em;
}

.glossary-item dd {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .glossary-grid {
    grid-template-columns: 1fr;
  }
}

/* --- TERMS PAGE (Card-style blocks) --- */
.terms-block {
  background-color: var(--color-white);
  border: 1px solid rgba(20, 20, 20, 0.08);
  padding: 2rem;
  border-radius: 0;
  margin-bottom: 1.25rem;
}

.terms-block h3 {
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.terms-block p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* --- COVERAGE PROCESS --- */
.coverage-service {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.coverage-service:last-child {
  border-bottom: none;
}

.coverage-service .feature-category {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.coverage-service h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.coverage-process-steps {
  font-family: var(--font-heading);
  font-size: 0.81rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.coverage-process-steps span {
  color: var(--color-text-light);
  font-weight: 400;
}

.coverage-service p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-light);
  max-width: 680px;
}

/* --- DISCLOSURES SECTION --- */
.disclosures {
  background-color: #f5f4e8;
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(20, 20, 20, 0.08);
}

.disclosures .container {
  max-width: var(--container-max);
}

.disclosures h2 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 1rem;
}

/* No ::before counter for disclosures heading */
.disclosures h2::before {
  display: none;
}
.disclosures h2::after {
  display: none;
}

.disclosures p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.disclosures p:last-child {
  margin-bottom: 0;
}

/* --- FOOTER --- */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 3.15rem 3.2rem;
  font-size: 0.86rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.9;
  color: var(--color-white);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 0.86rem;
}

.footer-about .site-brand {
  margin-bottom: 1rem;
}

.footer-about .site-name {
  color: var(--color-white);
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.86rem;
  line-height: 2;
  text-decoration: none;
  background: none;
  transition: opacity var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-white);
  background: none;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  font-size: 0.86rem;
  line-height: 1.5;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  background: none;
}

.footer-contact a:hover {
  color: var(--color-white);
  background: none;
}

.footer-contact .contact-icon {
  flex-shrink: 0;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.75rem;
  opacity: 0.5;
  color: var(--color-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom a {
  color: var(--color-white);
  background: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
  background: none;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer {
    padding: 2.5rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- COOKIE CONSENT --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-text);
  color: var(--color-white);
  padding: 1.25rem 2rem;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-banner.active {
  display: flex;
}

.cookie-banner p {
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-btn {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.cookie-accept {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.cookie-accept:hover {
  background-color: #cf6118;
}

.cookie-decline {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-decline:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }

  .cookie-banner .cookie-btns {
    display: flex;
    gap: 0.75rem;
  }
}

/* --- BACK TO TOP BUTTON --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background-color: var(--color-text);
  color: var(--color-white);
  border: none;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
}

/* --- ANIMATIONS (Fade up on scroll) --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- EYEBROW TEXT --- */
.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section--dark .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

/* --- MOSAIC LAYOUT (About page) --- */
.mosaic-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.mosaic-grid--reverse {
  grid-template-columns: 1fr 1.2fr;
}

@media (max-width: 768px) {
  .mosaic-grid,
  .mosaic-grid--reverse {
    grid-template-columns: 1fr;
  }
}

/* --- QUALITY CONTROL LIST --- */
.quality-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text);
}

.quality-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--color-primary);
}

/* --- DELIVERABLES LIST --- */
.deliverables-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.deliverables-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

/* --- ADDITIONAL COVERAGE GRID --- */
.coverage-grid-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.63rem;
}

.coverage-grid-compact .coverage-mini {
  padding: 1.5rem;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  border-radius: 0;
}

.coverage-mini h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.coverage-mini p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .coverage-grid-compact {
    grid-template-columns: 1fr;
  }
}

/* --- PRIVACY PAGE --- */
.privacy-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.privacy-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
  max-width: 680px;
}

.privacy-content h2::before {
  display: none;
}

.privacy-content h2::after {
  display: none;
}

/* --- TERMS PAGE --- */
.terms-content h2::before {
  display: none;
}

.terms-content h2::after {
  display: none;
}

/* --- PAGE LAST UPDATED --- */
.last-updated {
  font-family: var(--font-heading);
  font-size: 0.81rem;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
}

/* --- SECTION SPACER / AIRY PADDING --- */
.section--spacious {
  padding: 100px 2rem;
}

@media (max-width: 768px) {
  .section--spacious {
    padding: 60px 1.5rem;
  }

  section {
    padding: 3rem 1.5rem;
  }
}

/* --- UTILITY CLASSES --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: var(--color-white); }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-light); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 3rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- BLOCKQUOTE --- */
blockquote {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-text);
  padding: 1.5rem 0 1.5rem 2rem;
  border-left: 4px solid var(--color-primary);
  margin: 1.5rem 0;
}

blockquote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.75rem;
  color: var(--color-text-light);
}

blockquote cite::before {
  content: '— ';
}

/* --- PRINT STYLES --- */
@media print {
  .site-header,
  .cookie-banner,
  .back-to-top,
  .scroll-progress {
    display: none !important;
  }

  body {
    padding-top: 0;
  }
}

/* === 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{position:relative;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{position:fixed;inset:0;z-index:10001}
.mobile-nav-overlay.open,.mobile-nav-overlay.active,.nav-overlay.open,.nav-overlay.active{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem}
/* Auto-collapse: when JS adds .nav-collapsed, switch to hamburger layout */
.site-header.nav-collapsed .nav-left,.site-header.nav-collapsed .nav-right{display:none!important}
.site-header.nav-collapsed .hamburger{display:flex!important}
/* 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)}
/* === END MANDATORY BASE RULES === */

/* === AUTO-FIX: fallback rules for HTML classes missing from CSS === */
/* === END AUTO-FIX === */

/* AUTO-FIX: removed — body padding-top already handles fixed header offset */
