/**
 * SCAFELL WEBSITE STYLES
 * ======================
 * Brand Colors:
 * - Primary Dark: #053326
 * - Primary Light: #DAEFE1
 * - Secondary Warm: #E0D3C3
 * - Secondary Dark: #2E2E2E
 */

/* ========== FONT FACES ========== */
@font-face {
  font-family: 'TASA Orbiter';
  src: url('../fonts/TASA_Orbiter/static/TASAOrbiter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TASA Orbiter';
  src: url('../fonts/TASA_Orbiter/static/TASAOrbiter-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TASA Orbiter';
  src: url('../fonts/TASA_Orbiter/static/TASAOrbiter-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TASA Orbiter';
  src: url('../fonts/TASA_Orbiter/static/TASAOrbiter-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ========== CSS VARIABLES ========== */
:root {
  /* Brand Colors */
  --color-primary-dark: #053326;
  --color-primary-light: #DAEFE1;
  --color-secondary-warm: #E0D3C3;
  --color-secondary-dark: #2E2E2E;

  /* Functional Colors */
  --color-white: #FFFFFF;
  --color-black: #000000;

  /* Typography */
  --font-heading: 'TASA Orbiter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;

  /* Spacing */
  --section-padding: 6rem 2rem;
  --container-max-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Compass Animation */
  --compass-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition-fast);
}

a:hover {
  opacity: 0.8;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.35rem;
  line-height: 1.7;
}

/* ========== LAYOUT ========== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========== SECTION THEMES ========== */
/* "Panes of glass" effect - sections stack on top of each other */
section {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: var(--section-padding);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Z-index stacking - each section slides over the previous */
#hero { z-index: 1; }
#resilience { z-index: 2; }
#meet-scafell { z-index: 3; }
/* #compliance-problem z-index is on .compliance-scroll-region */
#impact { z-index: 5; }
#team { z-index: 6; }
#contact { z-index: 7; }

/* Dark Section */
.section-dark {
  background-color: var(--color-primary-dark);
  color: var(--color-primary-light);
}

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

.section-dark .subtitle {
  color: var(--color-secondary-warm);
}

/* Light Section */
.section-light {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}

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

/* Warm Section */
.section-warm {
  background-color: var(--color-secondary-warm);
  color: var(--color-secondary-dark);
}

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

/* ========== SECTION BACKGROUNDS ========== */
/* All sections use topographic backgrounds */
.section-dark {
  background-image: url('../Assets/dark_background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-light {
  background-image: url('../Assets/light_background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-warm {
  background-image: url('../Assets/light_background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ========== SECTION TRANSITIONS ========== */
/* With panes of glass effect, sections have subtle shadows for depth */
section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1));
  pointer-events: none;
}

/* ========== HEADER / NAVIGATION ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  transition: background-color var(--transition-medium),
              backdrop-filter var(--transition-medium);
}

.site-header.scrolled {
  background-color: rgba(5, 51, 38, 0.95);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  height: 40px;
  width: auto;
}

/* Compass Container - holds both symbols for crossfade */
.compass-container {
  position: relative;
  width: 160px;
  height: 200px;
  transform-origin: center bottom;
  animation: compass-idle 3s ease-in-out infinite;
}

/* Compass Symbols - stacked for crossfade */
.compass-symbol {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 160px;
  width: auto;
  transition: opacity 0.5s ease;
}

/* Light symbol (for dark backgrounds) - visible by default */
.compass-light {
  opacity: 1;
}

/* Dark symbol (for light backgrounds) - hidden by default */
.compass-dark {
  opacity: 0;
}

/* Idle jiggle animation */
@keyframes compass-idle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(3deg);
  }
  75% {
    transform: rotate(-3deg);
  }
}

/* When scrolling, override the idle animation */
.compass-container.scrolling {
  animation: none;
  transition: transform var(--transition-medium) var(--compass-spring);
}

/* ========== FLOATING CTA & COMPASS ========== */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.floating-cta-button {
  background-color: var(--color-secondary-warm);
  color: var(--color-primary-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
}

.floating-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
  opacity: 1;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-primary-light);
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.nav-active {
  color: var(--color-secondary-warm);
  opacity: 1;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary-light);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--color-secondary-warm);
  color: var(--color-primary-dark);
  border-color: var(--color-secondary-warm);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-secondary-warm);
  opacity: 1;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary-light);
  border-color: var(--color-primary-light);
}

.btn-outline:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  opacity: 1;
}

/* Dark section button variants */
.section-light .btn-primary {
  background-color: var(--color-primary-dark);
  color: var(--color-primary-light);
  border-color: var(--color-primary-dark);
}

.section-light .btn-primary:hover {
  background-color: transparent;
  color: var(--color-primary-dark);
}

/* ========== HERO SECTION ========== */
#hero {
  padding-top: 8rem;
  min-height: 100vh;
}

.hero-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.hero-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-centered .hero-text {
  max-width: 750px;
}

.hero-logo {
  max-width: 220px;
  margin: 0 auto 2.5rem;
}

.hero-tagline {
  margin-bottom: 1.5rem;
}

.hero-text .lead {
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ========== COMPLIANCE PROBLEM SECTION ========== */
.section-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.7;
}

.problem-solution-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}

.problem-half,
.solution-half {
  padding: 2.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.problem-half {
  background: rgba(46, 46, 46, 0.08);
}

.problem-half p:last-child,
.solution-half p:last-child {
  margin-bottom: 0;
}

.solution-half {
  background: var(--color-primary-dark);
  color: var(--color-primary-light);
}

/* ========== COMPLIANCE SCROLL-DRIVEN SECTION ========== */
/* Outer wrapper is a tall scroll region; inner section stays sticky */
.compliance-scroll-region {
  position: relative;
  height: 250vh;
  z-index: 4;
}

.compliance-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: var(--section-padding);
  overflow: hidden;
  background-image: url('../Assets/light_background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.compliance-sticky .container {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.compliance-sticky h2 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.compliance-body {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.7;
}

.compliance-body p:last-child {
  margin-bottom: 0;
}

.compliance-stage {
  position: relative;
  max-width: 1000px;
  margin: 2rem auto 0;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

.compliance-track {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  will-change: transform;
}

/* Spacers so first card starts centred and last card ends centred */
.compliance-track::before {
  content: '';
  display: block;
  height: var(--spacer-top, 0px);
  flex-shrink: 0;
}

.compliance-track::after {
  content: '';
  display: block;
  height: var(--spacer-bottom, 0px);
  flex-shrink: 0;
}

/* ========== PAIN POINT CARDS ========== */

.pain-point-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: opacity 0.15s ease;
}

.pain-point-glyph-col {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
}

.pain-point-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(46, 46, 46, 0.04);
  border: 1px solid rgba(5, 51, 38, 0.1);
  flex: 1;
  min-width: 0;
}

.pain-point-problem {
  padding: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.pain-point-glyph {
  width: 100px;
  height: 100px;
  object-fit: contain;
  opacity: 1;
}

.pain-point-name {
  margin-bottom: 0.25rem;
}

.pain-point-subtitle {
  display: block;
  font-size: 1rem;
  opacity: 0.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.pain-point-problem p {
  margin-bottom: 0;
}

.pain-point-solution {
  padding: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  background: var(--color-primary-dark);
  color: var(--color-primary-light);
  border-left: 4px solid var(--color-secondary-warm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.pain-point-solution-title {
  color: var(--color-primary-light) !important;
  margin-bottom: 0.75rem;
}

.pain-point-solution p {
  margin-bottom: 0;
}

/* ========== RESILIENCE SECTION ========== */
#resilience .container {
  max-width: 800px;
}

.resilience-body {
  font-size: 1.3rem;
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto 1rem;
  opacity: 0.9;
}

.resilience-closing {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  max-width: 700px;
  margin: 2.5rem auto 0;
  color: var(--color-primary-dark);
}

/* ========== MEET SCAFELL SECTION ========== */
.callout {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--color-secondary-warm);
}

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

.benefit-card {
  padding: 2rem;
  border-radius: 8px;
  background: rgba(218, 239, 225, 0.08);
  border: 1px solid rgba(218, 239, 225, 0.15);
  transition: all var(--transition-medium);
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefit-card h4 {
  margin-bottom: 0.75rem;
}

.benefit-card p {
  margin-bottom: 0;
  opacity: 0.85;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ========== IMPACT SECTION ========== */
.impact-hero-stat {
  margin: 3rem auto;
  transition: opacity 0.5s ease;
}

.impact-number {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-secondary-warm);
}

.impact-suffix {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--color-secondary-warm);
  vertical-align: super;
}

.impact-label {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500;
  margin-top: 0.5rem;
}

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

.impact-block {
  padding: 2rem;
  border-radius: 8px;
  background: rgba(218, 239, 225, 0.08);
  border: 1px solid rgba(218, 239, 225, 0.15);
}

.impact-block:hover {
  background: rgba(218, 239, 225, 0.12);
}

.impact-block h4 {
  margin-bottom: 0.75rem;
}

.impact-block p {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 0;
}

/* ========== TEAM SECTION ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
  text-align: center;
}

.team-photo-wrapper {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.team-photo-wrapper:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(5, 51, 38, 0.25);
}

.team-initial {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--color-secondary-warm);
  user-select: none;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h4 {
  margin-bottom: 0.25rem;
}

.team-title {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}

/* ========== BIO OVERLAY ========== */
.bio-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bio-overlay.active {
  opacity: 1;
  visibility: visible;
}

.bio-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 51, 38, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.bio-overlay-card {
  position: relative;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-radius: 16px;
  padding: 3rem 2.5rem 2.5rem;
  max-width: 440px;
  width: 90%;
  text-align: center;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bio-overlay.active .bio-overlay-card {
  transform: translateY(0) scale(1);
}

.bio-overlay-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--color-primary-dark);
  cursor: pointer;
  line-height: 1;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.bio-overlay-close:hover {
  opacity: 1;
}

.bio-overlay-photo-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-primary-dark);
}

.bio-overlay-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-overlay-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.bio-overlay-title {
  font-size: 0.95rem;
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

.bio-overlay-text {
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: left;
  margin-bottom: 0;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== CONTACT SECTION ========== */
#contact {
  text-align: center;
}

#contact h2 {
  margin-bottom: 1rem;
}

#contact .lead {
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.site-footer {
  position: relative;
  z-index: 9;
  background-color: var(--color-primary-dark);
  color: var(--color-primary-light);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(218, 239, 225, 0.2);
}

.footer-logo {
  height: 36px;
  margin-bottom: 1rem;
}

.footer-company {
  font-size: 0.85rem;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-attribution {
  text-align: right;
  font-size: 0.75rem;
  line-height: 1.6;
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered animations for grids */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-padding: 5rem 1.5rem;
  }

  .problem-solution-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pain-point-row {
    flex-direction: column;
    align-items: stretch;
  }

  .pain-point-glyph-col {
    width: auto;
  }

  .pain-point-card {
    grid-template-columns: 1fr;
  }

  .pain-point-solution {
    border-left: none;
    border-top: 4px solid var(--color-secondary-warm);
  }

  .impact-blocks {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 1rem;
  }

  /* Remove sticky "panes" effect on mobile - normal scrolling */
  section {
    position: relative !important;
    min-height: auto;
    padding: var(--section-padding);
    z-index: auto !important;
    overflow: visible;
  }

  /* Disable section shadow on mobile */
  section::after {
    display: none;
  }

  /* Compliance scroll region - disable on mobile, show all cards */
  .compliance-scroll-region {
    height: auto;
  }

  .compliance-sticky {
    position: relative;
    height: auto;
  }

  .compliance-sticky .container {
    flex: none;
  }

  .compliance-stage {
    overflow: visible;
    flex: none;
  }

  .compliance-track {
    transform: none !important;
  }

  /* Floating CTA - smaller on mobile */
  .floating-cta {
    bottom: 1rem;
    right: 1rem;
  }

  .compass-container {
    width: 80px;
    height: 100px;
  }

  .compass-symbol {
    height: 80px;
  }

  .floating-cta-button {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .site-header {
    padding: 1rem;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary-dark);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .main-nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  /* Benefit cards single column on mobile */
  .benefit-cards-grid {
    grid-template-columns: 1fr;
  }

  /* Team grid single column on mobile */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-photo-wrapper {
    width: 120px;
    height: 120px;
  }

  .team-initial {
    font-size: 2.5rem;
  }

  .footer-main {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-attribution {
    text-align: center;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .btn {
    width: 100%;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
  }
}

/* ========== UTILITY CLASSES ========== */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

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