/* =============================================
   LAKELAND TANGERINE — Master Stylesheet
   Health Services Compliance, Accreditation & QA
   Est. 2022 — Surrey, British Columbia
   ============================================= */

/* ----- CSS VARIABLES ----- */
:root {
  --color-primary: #2A3442;
  --color-secondary: #516580;
  --color-accent: #E5C500;
  --color-bg: #EFF2F3;
  --color-surface: #FFFFFF;
  --color-text: #202A2F;
  --color-text-light: #66767F;

  --color-primary-tint: rgba(42, 52, 66, 0.04);
  --color-accent-tint: rgba(229, 197, 0, 0.08);
  --color-accent-dark: #C4A800;
  --color-primary-light: rgba(42, 52, 66, 0.15);

  --font-heading: Cambria, Georgia, serif;
  --font-body: Verdana, Geneva, Tahoma, sans-serif;

  --radius-soft: 16px;
  --radius-pill: 100px;

  --transition: 150ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-bounce: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-height: 73px;
  --container-max: 1162px;
}

/* ----- SVG GRAIN TEXTURE ----- */
svg.grain-filter {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* ----- 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.84;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.3;
  filter: url(#grain);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: text-decoration var(--transition);
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  list-style: disc;
  padding-left: 1.5rem;
}

/* ----- SKIP LINK ----- */
.skip-link {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  overflow: visible;
  background: var(--color-accent);
  color: var(--color-text);
  padding: 0.68rem 1.55rem;
  border-radius: var(--radius-soft);
  z-index: 10000;
  font-weight: 700;
  font-size: 0.98rem;
}

/* ----- PAGE ENTRANCE ANIMATION ----- */
@keyframes pageEntrance {
  from {
    filter: blur(4px);
    opacity: 0;
  }
  to {
    filter: blur(0);
    opacity: 1;
  }
}

main {
  animation: pageEntrance 0.3s ease-out;
}

/* ----- TYPOGRAPHY: BOLD BRUTALIST ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.41rem, 5vw, 3.58rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
}

/* All-caps-with-rule heading style */
h2 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-primary-light);
}

/* Diagonal slash motif on h2 */
h2::before {
  content: '';
  width: 12px;
  height: 3px;
  background: var(--color-accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}

h3 {
  font-size: 1.44rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.small-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

blockquote {
  position: relative;
  padding: 2rem 0 1rem 0;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.44rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text);
}

blockquote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--color-accent);
  position: absolute;
  top: -0.5rem;
  left: 0;
  line-height: 1;
  font-style: normal;
}

/* ----- LOGO & BRAND ----- */
.site-logo {
  max-height: 33px;
  width: auto;
  flex-shrink: 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.site-brand:hover {
  text-decoration: none;
}

.site-name {
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ----- FLOATING GLASS PILL NAVIGATION ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  background: transparent;
  pointer-events: none;
}

.nav-pill {
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 2.33rem;
  position: relative;
  top: 0.5rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  padding: 0.53rem 0.53rem 0.53rem 1.74rem;
  overflow: visible;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.33rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--transition);
  display: inline-block;
}

.nav-links a:hover {
  text-decoration: underline;
  color: var(--color-primary);
}

.nav-cta {
  background: var(--color-primary);
  color: var(--color-surface) !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.83rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background var(--transition), transform var(--transition-bounce);
  display: inline-block;
}

.nav-cta:hover {
  background: var(--color-secondary);
  text-decoration: none !important;
  transform: scale(1.04);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  flex-shrink: 0;
  pointer-events: all;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  margin: 5px auto;
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.nav-overlay.active {
  display: flex;
}

.nav-overlay a {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  text-decoration: none;
}

.nav-overlay a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.nav-overlay .nav-cta-mobile {
  background: var(--color-primary);
  color: var(--color-surface);
  padding: 0.68rem 1.55rem;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  margin-top: 1rem;
}

/* ----- BODY SPACER FOR FIXED NAV ----- */
body {
  padding-top: calc(var(--nav-height) + 1rem);
}

/* ----- CONTAINER ----- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 680px;
}

.container--medium {
  max-width: 720px;
}

/* ----- SECTIONS ----- */
.section {
  padding: 4.64rem 2rem;
  position: relative;
  z-index: 1;
  background: var(--color-surface);
}

.section--alt {
  background: var(--color-primary-tint);
}

.section--primary {
  background: var(--color-primary);
  color: var(--color-surface);
}

.section--primary h1,
.section--primary h2,
.section--primary h3,
.section--primary p,
.section--primary a:not(.btn),
.section--primary .small-label {
  color: var(--color-surface);
}

.section--primary h2::after {
  background: rgba(255, 255, 255, 0.2);
}

.section--primary h2::before {
  background: var(--color-accent);
}

/* Diagonal clip-path dividers */
.section--clip {
  clip-path: polygon(0 0, 100% 4rem, 100% 100%, 0 calc(100% - 4rem));
  margin-top: -4rem;
  padding-top: calc(4.64rem + 4rem);
  padding-bottom: calc(4.64rem + 4rem);
}

.section--clip-first {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 4rem));
  padding-bottom: calc(4.64rem + 4rem);
}

.section--clip-last {
  clip-path: polygon(0 0, 100% 4rem, 100% 100%, 0 100%);
  margin-top: -4rem;
  padding-top: calc(4.64rem + 4rem);
}

/* Section inner container */
.section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ----- DIAGONAL LINES DECORATION ----- */
.section--diagonal-lines {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(42, 52, 66, 0.03) 40px,
    rgba(42, 52, 66, 0.03) 41px
  );
}

.section--primary.section--diagonal-lines {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.05) 40px,
    rgba(255, 255, 255, 0.05) 41px
  );
  background-color: var(--color-primary);
}

/* ----- DIAGONAL SLASH VISUAL MOTIF ----- */
.diagonal-slash {
  display: inline-block;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  transform: rotate(45deg);
  margin: 1rem 0;
}

/* ----- HERO ----- */
.hero {
  min-height: 70vh;
  padding: 6.3rem 2.3rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  overflow: hidden;
  background: var(--color-primary);
}

/* Diagonal split background */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  clip-path: polygon(0 0, 55% 0, 45% 100%, 0 100%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  clip-path: polygon(55% 0, 100% 0, 100% 100%, 45% 100%);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-right: 2rem;
}

.hero__content .small-label {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  display: block;
}

.hero__content h1 {
  color: var(--color-surface);
  margin-bottom: 1.5rem;
}

.hero__content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.02rem;
  max-width: 540px;
}

.hero__visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Decorative circle at diagonal intersection */
.hero__circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.4);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
}

/* Hero diagonal stripe motif */
.hero__stripe {
  position: absolute;
  top: -50%;
  left: 20%;
  width: 200px;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.04) 40px,
    rgba(255, 255, 255, 0.04) 41px
  );
  transform: rotate(0deg);
  z-index: 1;
  pointer-events: none;
}

/* Simple hero (for inner pages) */
.hero--simple {
  min-height: auto;
  display: block;
  padding: 5rem 2.3rem 4rem;
  background: var(--color-primary);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3rem), 0 100%);
}

.hero--simple h1 {
  color: var(--color-surface);
  max-width: var(--container-max);
  margin: 0 auto 1rem;
}

.hero--simple p {
  color: rgba(255, 255, 255, 0.8);
  max-width: var(--container-max);
  margin: 0 auto;
}

.hero--simple .small-label {
  color: var(--color-accent);
  max-width: var(--container-max);
  margin: 0 auto 1rem;
  display: block;
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-block;
  padding: 0.68rem 1.55rem;
  font-size: 0.98rem;
  font-weight: 700;
  font-family: var(--font-body);
  border-radius: var(--radius-soft);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition-bounce);
  border: 2px solid transparent;
  text-align: center;
  line-height: 1.4;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-text);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: scale(1.04);
}

.btn--secondary {
  background: transparent;
  color: var(--color-surface);
  border-color: var(--color-surface);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.04);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-surface);
  transform: scale(1.04);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ----- CARDS ----- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.68rem;
}

.card {
  background: var(--color-surface);
  border-top: 6px solid var(--color-primary);
  border-radius: 0 0 var(--radius-soft) var(--radius-soft);
  padding: 1.93rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-2px);
}

/* Card diagonal corner accent motif */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 32px 32px 0;
  border-color: transparent var(--color-accent) transparent transparent;
  opacity: 0.5;
}

.card--accent {
  border-top-color: var(--color-accent);
}

.card--secondary {
  border-top-color: var(--color-secondary);
}

/* Cycle card colors */
.card-grid .card:nth-child(3n+1) { border-top-color: var(--color-primary); }
.card-grid .card:nth-child(3n+2) { border-top-color: var(--color-accent); }
.card-grid .card:nth-child(3n) { border-top-color: var(--color-secondary); }

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.card__separator {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 0.75rem 0;
}

.card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ----- PROBLEM CARDS ----- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.68rem;
}

/* ----- CONTRAST BLOCKS ----- */
.contrast-grid {
  display: grid;
  gap: 2rem;
}

.contrast-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 1.93rem;
  background: var(--color-surface);
  border-radius: var(--radius-soft);
}

.contrast-block__others {
  color: var(--color-text-light);
  font-style: italic;
  padding-right: 1rem;
  border-right: 2px solid rgba(0, 0, 0, 0.06);
}

.contrast-block__ours {
  font-weight: 600;
  color: var(--color-text);
}

/* ----- DECORATIVE COLORED SQUARES/DOTS ----- */
.dot-marker {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.dot-marker--primary { background: var(--color-primary); }
.dot-marker--secondary { background: var(--color-secondary); }

/* ----- STATS: BIG NUMBER CARDS ----- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.68rem;
  margin: 2.5rem 0;
}

.stat-card {
  background: var(--color-surface);
  border-top: 6px solid var(--color-accent);
  border-radius: 0 0 var(--radius-soft) var(--radius-soft);
  padding: 2.5rem 1.93rem;
  text-align: center;
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1.1;
  display: block;
  margin-bottom: 0.5rem;
  /* Ensure accent text is readable */
  text-shadow: 0 0 0 transparent;
}

.stat-card__label {
  font-size: 0.83rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ----- TESTIMONIALS: MINIMAL WITH LEFT BORDER ----- */
.testimonial {
  border-left: 3px solid var(--color-accent);
  padding: 1.5rem 0 1.5rem 2rem;
  margin-bottom: 2.5rem;
}

.testimonial p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.testimonial__attribution {
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-style: normal;
  font-weight: 700;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ----- BLOG PREVIEW CARDS ----- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.68rem;
}

.blog-card {
  background: var(--color-surface);
  border-top: 6px solid var(--color-secondary);
  border-radius: 0 0 var(--radius-soft) var(--radius-soft);
  padding: 1.93rem;
  position: relative;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.blog-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.blog-card a {
  font-size: 0.83rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}

/* ----- TIMELINE (Services page) ----- */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-primary-light);
}

.timeline-node {
  position: relative;
  margin-bottom: 3rem;
  padding: 1.93rem;
  background: var(--color-surface);
  border-radius: var(--radius-soft);
  border-left: 4px solid var(--color-primary);
}

.timeline-node:nth-child(3n+2) { border-left-color: var(--color-accent); }
.timeline-node:nth-child(3n) { border-left-color: var(--color-secondary); }

.timeline-node::before {
  content: '';
  position: absolute;
  left: calc(-3rem - 1px - 6px);
  top: 2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-bg);
}

.timeline-node:nth-child(3n+2)::before { background: var(--color-accent); }
.timeline-node:nth-child(3n)::before { background: var(--color-secondary); }

.timeline-node__number {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.timeline-node h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.timeline-node p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.timeline-node .small-label {
  display: block;
  margin-top: 1rem;
  color: var(--color-text-light);
}

/* ----- CASE STUDY CARDS ----- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.68rem;
}

.case-card {
  background: var(--color-surface);
  border-radius: var(--radius-soft);
  overflow: hidden;
}

.case-card__image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.case-card__body {
  padding: 1.93rem;
}

.case-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.case-card__type {
  font-size: 0.83rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.case-card__result {
  font-weight: 700;
  color: var(--color-text);
  font-size: 0.95rem;
}

.case-card__metric {
  font-size: 0.83rem;
  color: var(--color-accent-dark);
  font-weight: 700;
  margin-top: 0.5rem;
}

/* ----- ABSTRACT WAVE IMAGE PLACEHOLDERS ----- */
@keyframes waveRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.wave-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
  overflow: hidden;
  background: var(--color-bg);
  border-radius: var(--radius-soft);
}

.wave-placeholder__shape {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: waveRotate 20s linear infinite;
}

.wave-placeholder__shape:nth-child(1) {
  width: 130%;
  height: 130%;
  top: -15%;
  left: -15%;
  background: rgba(42, 52, 66, 0.1);
}

.wave-placeholder__shape:nth-child(2) {
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  background: rgba(81, 101, 128, 0.12);
  animation-duration: 25s;
  animation-direction: reverse;
}

.wave-placeholder__shape:nth-child(3) {
  width: 90%;
  height: 90%;
  top: 5%;
  left: 5%;
  background: rgba(229, 197, 0, 0.15);
  animation-duration: 18s;
}

/* ----- CONTACT CARDS ----- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.68rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: var(--color-surface);
  border-top: 6px solid var(--color-accent);
  border-radius: 0 0 var(--radius-soft) var(--radius-soft);
  padding: 1.93rem;
  text-align: center;
}

.contact-card h3 {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.contact-card__detail {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.contact-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* ----- FORMS: MINIMAL UNDERLINE STYLE ----- */
.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-primary-light);
  border-radius: 0;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--color-accent);
  border-bottom-width: 2px;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2366767F' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 20px;
}

.form-note {
  font-size: 0.83rem;
  color: var(--color-text-light);
  margin-top: 1.5rem;
}

/* ----- ABOUT PAGE: MAGAZINE EDITORIAL ----- */
.editorial {
  max-width: 680px;
  margin: 0 auto;
}

.editorial p {
  font-size: 1.08rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

/* Drop cap */
.editorial .drop-cap::first-letter {
  font-family: var(--font-heading);
  float: left;
  font-size: 4rem;
  font-weight: 900;
  line-height: 0.8;
  margin: 0.1em 0.15em 0 0;
  color: var(--color-primary);
}

/* Pull quote */
.pull-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
  padding: 2.5rem 0;
  border-top: 3px solid var(--color-accent);
  border-bottom: 3px solid var(--color-accent);
  margin: 2.5rem 0;
  text-align: center;
}

/* Inline stat callout */
.inline-stat {
  text-align: center;
  padding: 3rem 0;
  margin: 2.5rem 0;
}

.inline-stat__number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--color-accent);
  display: block;
  line-height: 1;
}

.inline-stat__label {
  font-size: 0.83rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-top: 0.5rem;
}

/* ----- TEAM SPOTLIGHT (Our Team page) ----- */
.team-spotlight {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.team-spotlight:nth-child(even) {
  direction: rtl;
}

.team-spotlight:nth-child(even) > * {
  direction: ltr;
}

.team-spotlight__photo {
  border-radius: var(--radius-soft);
  overflow: hidden;
  min-height: 320px;
}

.team-spotlight__bio h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.team-spotlight__title {
  font-size: 0.83rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-dark);
  margin-bottom: 1.5rem;
}

.team-spotlight__bio p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.team-spotlight__credentials {
  font-size: 0.83rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.team-spotlight__quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-primary);
  border-left: 3px solid var(--color-accent);
  padding-left: 1.5rem;
  margin-top: 1.5rem;
}

.team-spotlight__personal {
  font-size: 0.83rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-top: 1rem;
}

/* ----- DIFFERENTIATOR BLOCKS ----- */
.differentiator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.68rem;
}

.differentiator {
  padding: 1.93rem;
  background: var(--color-surface);
  border-radius: var(--radius-soft);
}

.differentiator h3 {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.differentiator p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ----- FAQ PAGE ----- */
.faq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}

.faq-toc {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-soft);
}

.faq-toc h3 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.faq-toc ul {
  list-style: none;
  padding: 0;
}

.faq-toc li {
  margin-bottom: 0.5rem;
}

.faq-toc a {
  font-size: 0.83rem;
  color: var(--color-text-light);
}

.faq-toc a:hover {
  color: var(--color-primary);
}

.faq-category {
  margin-bottom: 3rem;
}

.faq-category h3 {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.faq-item {
  margin-bottom: 2.5rem;
}

.faq-item h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
}

.faq-item p {
  color: var(--color-text-light);
  font-size: 0.98rem;
  line-height: 1.8;
}

/* ----- ACCORDION FAQ (for homepage or other pages) ----- */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--color-primary-light);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.accordion-header:hover {
  color: var(--color-primary);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 1rem;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--color-primary);
  transition: transform var(--transition);
}

.accordion-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.accordion-icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.accordion-item.active .accordion-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.accordion-body__inner {
  padding: 0 0 1.5rem 0;
  color: var(--color-text-light);
  font-size: 0.98rem;
  line-height: 1.8;
}

/* ----- PRIVACY Q&A BLOCKS ----- */
.privacy-qa {
  margin-bottom: 2.5rem;
}

.privacy-qa h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  text-transform: none;
  letter-spacing: normal;
}

.privacy-qa p {
  color: var(--color-text-light);
  font-size: 0.98rem;
  line-height: 1.8;
}

/* ----- TERMS CARD BLOCKS ----- */
.terms-grid {
  display: grid;
  gap: 1.68rem;
}

.terms-card {
  background: var(--color-surface);
  border: 1px solid rgba(42, 52, 66, 0.1);
  border-radius: var(--radius-soft);
  padding: 1.93rem;
}

.terms-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.terms-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ----- DISCLOSURES SECTION ----- */
.disclosures {
  background: var(--color-surface);
  border-top: 3px solid var(--color-accent);
  padding: 2.5rem 2rem;
  margin-top: 3rem;
}

.disclosures__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.disclosures h2 {
  font-size: 0.83rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.disclosures p,
.disclosures li {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.disclosures ul {
  list-style: disc;
  padding-left: 1.5rem;
}

/* ----- WATERMARK FOOTER ----- */
.site-footer {
  background: var(--color-surface);
  padding: 4.55rem 3.22rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.site-footer::before {
  content: 'LAKELAND';
  font-family: var(--font-heading);
  font-size: 15vw;
  font-weight: 900;
  position: absolute;
  opacity: 0.03;
  color: var(--color-primary);
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  z-index: 1;
}

.footer-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.footer-brand .site-name {
  font-size: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  padding: 0;
}

.footer-links a {
  font-size: 0.81rem;
  color: var(--color-text-light);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.footer-contact {
  font-size: 0.81rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.footer-copyright {
  font-size: 0.81rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

/* ----- BACK TO TOP ----- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-soft);
  background: var(--color-primary);
  color: var(--color-surface);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition-bounce);
  z-index: 900;
  font-size: 1.2rem;
  line-height: 1;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: scale(1.08);
}

/* ----- COOKIE CONSENT ----- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  color: var(--color-surface);
  padding: 1.5rem 2rem;
  z-index: 9998;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--color-surface);
  flex: 1;
  min-width: 250px;
  margin: 0;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner .btn--accept {
  background: var(--color-accent);
  color: var(--color-text);
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-soft);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}

.cookie-banner .btn--accept:hover {
  background: var(--color-accent-dark);
}

.cookie-banner .btn--necessary {
  background: transparent;
  color: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-soft);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}

.cookie-banner .btn--necessary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ----- CTA BAND ----- */
.cta-band {
  text-align: center;
  padding: 5rem 2rem;
}

.cta-band h2 {
  justify-content: center;
  font-size: 1.2rem;
}

.cta-band h2::after {
  display: none;
}

.cta-band p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-band .secondary-link {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Section--primary overrides for CTA band text */
.section--primary .cta-band h2 {
  color: var(--color-surface);
}

.section--primary .cta-band h2::before {
  background: var(--color-accent);
}

.section--primary .cta-band p {
  color: rgba(255, 255, 255, 0.85);
}

.section--primary .cta-band .secondary-link {
  color: rgba(255, 255, 255, 0.7);
}

/* ----- TWO-COLUMN SPLIT ----- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* ----- MAP PLACEHOLDER ----- */
.map-placeholder {
  width: 100%;
  min-height: 300px;
  border-radius: var(--radius-soft);
  overflow: hidden;
  background: var(--color-bg);
}

/* ----- UTILITY ----- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.sr-only { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ----- RESPONSIVE ----- */
@media (max-width: 1100px) {
  .nav-links {
    gap: 1.5rem;
  }
  .nav-links a {
    font-size: 0.78rem;
  }
  .nav-cta {
    font-size: 0.78rem;
    padding: 0.45rem 1rem;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 60vh;
    padding: 5rem 1.5rem;
  }

  .hero__visual {
    display: none;
  }

  .hero__circle {
    width: 200px;
    height: 200px;
    opacity: 0.3;
  }

  .hero::after {
    clip-path: polygon(60% 0, 100% 0, 100% 100%, 40% 100%);
  }

  .split {
    grid-template-columns: 1fr;
  }

  .team-spotlight {
    grid-template-columns: 1fr;
  }

  .team-spotlight:nth-child(even) {
    direction: ltr;
  }

  .team-spotlight__photo {
    min-height: 250px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-toc {
    position: static;
  }

  .contrast-block {
    grid-template-columns: 1fr;
  }

  .contrast-block__others {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-right: 0;
    padding-bottom: 1rem;
  }

  .section--clip,
  .section--clip-first,
  .section--clip-last {
    clip-path: none;
    margin-top: 0;
    padding-top: 4.64rem;
    padding-bottom: 4.64rem;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  body {
    padding-top: calc(var(--nav-height) + 0.5rem);
  }

  .nav-links {
    display: none;
  }

  .nav-cta-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-pill {
    width: calc(100% - 2rem);
    justify-content: space-between;
    padding: 0.5rem 1rem;
    gap: 0;
  }

  h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  .hero--simple {
    padding: 4rem 1.5rem 3rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .card-grid,
  .stats-grid,
  .blog-grid,
  .contact-grid,
  .case-grid,
  .differentiator-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 3rem 1.5rem;
  }

  .footer-links {
    gap: 1rem;
    justify-content: center;
  }

  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .timeline {
    padding-left: 2rem;
  }

  .timeline::before {
    left: 0.5rem;
  }

  .timeline-node::before {
    left: calc(-2rem - 1px - 5px);
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4rem 1rem;
    min-height: 50vh;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .stat-card__number {
    font-size: 2.5rem;
  }

  .pull-quote {
    font-size: 1.3rem;
  }
}

/* ----- PRINT ----- */
@media print {
  .site-header,
  .cookie-banner,
  .back-to-top,
  .nav-overlay {
    display: none !important;
  }

  body {
    padding-top: 0;
    color: #000;
    background: #fff;
  }

  .section {
    clip-path: none !important;
    page-break-inside: avoid;
  }
}

/* === MANDATORY BASE RULES (auto-injected at end for max specificity) === */
.skip-link{position:absolute!important;left:-9999px!important;top:auto;width:1px!important;height:1px!important;overflow:hidden!important;z-index:10000;clip:rect(0,0,0,0)!important}
.skip-link:focus{position:fixed!important;left:10px!important;top:10px!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;padding:.75rem 1.5rem;background:var(--color-primary,#333);color:#fff;font-size:1rem;font-weight:700;border-radius:4px;text-decoration:none;z-index:10000}
.site-logo,.site-logo img,img.site-logo{max-height:40px!important;width:auto!important;object-fit:contain;background:none!important;vertical-align:middle}
.footer-brand .site-logo{max-height:28px!important;width:auto!important}
.site-brand,a.site-brand{display:inline-flex!important;align-items:center;gap:.5rem;text-decoration:none;color:inherit}
.site-footer .site-brand,.footer-brand .site-brand{flex-wrap:wrap}
.site-footer .site-name,.footer-brand .site-name,.footer-col .site-name{white-space:normal!important;word-wrap:break-word}
.site-footer{max-height:none!important;overflow:visible!important}
/* NAV SAFETY — prevent overflow, misalignment, and z-index issues */
.site-nav,.site-header,header[role="banner"]{position:relative;z-index:1000;width:100%;max-width:100vw!important;overflow-x:hidden!important}
.site-nav .nav-inner,.site-nav nav,.nav-inner,header nav{display:flex!important;align-items:center!important;flex-wrap:wrap;gap:0.5rem;width:100%;max-width:100%!important;overflow:hidden}
.nav-links,.nav-links-left,.nav-links-right,.nav-menu,[class*="nav-links"]{display:flex;align-items:center;gap:0.75rem;flex-wrap:wrap;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}
/* 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 — hardcoded dark so it works on any palette */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:9999;padding:1rem 2rem;background:#1a1a2e;color:#f0f0f0;display:none;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,0.1);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:#f0f0f0}
.cookie-banner .cookie-accept,.cookie-banner .btn-primary,.cookie-banner [data-cookie="accept"]{background:#4ade80;color:#111}
.cookie-banner .cookie-decline,.cookie-banner .btn-ghost,.cookie-banner [data-cookie="decline"]{background:rgba(255,255,255,0.12);color:#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: prevent fixed header from overlapping content */
main,.main-content,[role='main']{padding-top:80px}
