/* ═══════════════════════════════════════════════════════════════════
   ACCELER8 COMMERCIAL - MAIN STYLESHEET
   Consolidated from all pages for better caching & performance
   ═══════════════════════════════════════════════════════════════════ */

/* ── ROOT VARIABLES & RESET ── */
*,*::before,*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color Palette - Updated for Better Contrast */
  --navy: #1C2D4F;
  --navy-deep: #0F1B31;
  --navy-mid: #243560;
  --gold: #C49A3C;           /* IMPROVED: Darker gold for better readability */
  --gold-light: #D4AF62;     /* Kept for dark background accents */
  --gold-pale: #F0E4C4;
  --cream: #F8F7F4;
  --white: #fff;

  /* Text Colors */
  --text-navy: #1C2D4F;
  --text-mid: #4A5A6A;
  --text-light: #7A8A9A;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-navy);
  overflow-x: hidden;
}

/* RESPONSIVE IMAGES - IMPROVED: Ensures images scale properly on mobile */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ════════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

/* ════════════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════════════ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--spacing-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, box-shadow 0.4s, max-height 0.3s ease;
  background: transparent;
  width: 100%;
  overflow: hidden;
}

nav.scrolled {
  background: var(--navy-deep);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 101;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-main {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-logo-sub {
  font-size: 8.5px;
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);  /* IMPROVED: More visible */
  font-size: 12.5px;
  letter-spacing: 0.06em;
  transition: color var(--transition-fast);
  font-weight: 500;  /* IMPROVED: Slightly heavier for clarity */
}

.nav-links a:hover {
  color: var(--gold);  /* IMPROVED: Uses darker gold */
}

/* Keyboard Focus States - ACCESSIBILITY IMPROVEMENT */
.nav-links a:focus {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

.nav-cta {
  padding: 0.45rem 1.25rem;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  border-radius: 2px;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  transition: background var(--transition-fast), color var(--transition-fast) !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
}

/* Mobile Menu Toggle Button - NEW */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 102;
  padding: 8px;
  border-radius: 4px;
  transition: background-color var(--transition-fast);
}

.mobile-menu-toggle:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.mobile-menu-toggle:hover {
  background-color: rgba(196, 154, 60, 0.2);
}

.mobile-menu-toggle.active {
  background-color: rgba(196, 154, 60, 0.3);
}

.logo-svg {
  width: 44px;
  height: 44px;
}

/* ════════════════════════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════════════════════════ */

#hero {
  min-height: 100vh;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 3rem 5rem;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(196, 154, 60, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(196, 154, 60, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-content {
  text-align: center;
  max-width: 960px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);  /* IMPROVED: Darker gold */
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s ease forwards;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 600;
  line-height: 0.95;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s ease forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

/* Hero heading for Results and Contact pages */
.hero-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 86px);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s ease forwards;
}

.hero-h em {
  font-style: italic;
  color: var(--gold);
}

.hero-rule {
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 1.75rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s ease forwards;
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  max-width: 700px;
  margin: 0 auto 2.75rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.75s ease forwards;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.95s ease forwards;
}

.btn-gold {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--gold);
  color: var(--navy-deep);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  border: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-gold:hover,
.btn-gold:focus {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* Keyboard Focus - ACCESSIBILITY */
.btn-gold:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  transition: border-color var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
  min-height: 44px;
}

.btn-ghost:hover,
.btn-ghost:focus {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-ghost:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.8s ease forwards;
}

.scroll-hint span {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: pulse 2s ease infinite;
}

/* ════════════════════════════════════════════════════════════════
   QUESTIONS SECTION
   ════════════════════════════════════════════════════════════════ */

#questions {
  background: var(--navy);
  padding: 6rem 3rem;
  position: relative;
}

#questions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.qs-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.section-eye {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);  /* IMPROVED: Darker gold */
  margin-bottom: 1rem;
}

.section-h-light {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.qs-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.q-item {
  padding: 2.75rem 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  transition: background var(--transition-normal);
}

.q-item:hover {
  background: rgba(196, 154, 60, 0.05);
}

.q-item:nth-child(even) {
  border-right: none;
}

.q-item.q-last {
  grid-column: 1/-1;
  border-bottom: none;
  border-right: none;
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem 0;
}

.q-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 400;
  color: var(--gold);  /* IMPROVED: Darker gold */
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.q-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.q-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);  /* IMPROVED: Darker gold */
  border: 1px solid var(--gold);  /* IMPROVED: Darker gold */
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
}

/* ════════════════════════════════════════════════════════════════
   PIVOT SECTION
   ════════════════════════════════════════════════════════════════ */

#pivot {
  background: var(--cream);
  padding: 5.5rem 3rem;
  text-align: center;
  position: relative;
}

.pivot-line {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.8vw, 46px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.35;
  max-width: 820px;
  margin: 0 auto 1.5rem;
}

.pivot-line em {
  font-style: italic;
  color: var(--gold);
}

.pivot-sub {
  font-size: 15.5px;
  font-weight: 300;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ════════════════════════════════════════════════════════════════
   ABOUT SECTION
   ════════════════════════════════════════════════════════════════ */

#about {
  background: #fff;
  padding: 6rem 3rem;
}

.about-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);  /* IMPROVED: Darker gold */
  margin-bottom: 1rem;
  font-weight: 500;
}

.about-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-h em {
  font-style: italic;
  color: var(--gold);
}

.about-p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-mid);
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.about-p strong {
  color: var(--navy);
  font-weight: 500;
}

.creds {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cred {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 13px;
  color: var(--text-mid);
}

.cred::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.usp-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.usp {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.75rem;
  border-radius: 0 2px 2px 0;
}

.usp h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.usp p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-mid);
  font-weight: 300;
}

/* ════════════════════════════════════════════════════════════════
   STATS SECTION
   ════════════════════════════════════════════════════════════════ */

#stats {
  background: var(--navy-deep);
  padding: 5rem 3rem;
  position: relative;
}

#stats::before,
#stats::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

#stats::before {
  top: 0;
}

#stats::after {
  bottom: 0;
}

.stats-row {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  padding: 2rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat:last-child {
  border-right: none;
}

.stat-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-l {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════════════════
   SERVICES SECTION
   ════════════════════════════════════════════════════════════════ */

#services {
  background: var(--cream);
  padding: 6.5rem 3rem;
}

.svc-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-h-dark {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-top: 0.5rem;
}

.svc-sub {
  font-size: 15.5px;
  font-weight: 300;
  color: var(--text-mid);
  max-width: 580px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

.svc-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.svc-card {
  background: #fff;
  border: 1px solid rgba(28, 45, 79, 0.1);
  padding: 2.75rem;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  text-decoration: none;
  color: inherit;
  display: block;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s;
}

.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(28, 45, 79, 0.1);
  border-color: rgba(196, 154, 60, 0.25);
}

.svc-card:hover::before {
  height: 100%;
}

.svc-card:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.svc-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 60px;
  font-weight: 300;
  color: rgba(196, 154, 60, 0.12);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.svc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.svc-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-mid);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);  /* IMPROVED: Darker gold */
  border: 1px solid rgba(196, 154, 60, 0.4);
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
}

/* ════════════════════════════════════════════════════════════════
   CLIENTS SECTION
   ════════════════════════════════════════════════════════════════ */

#clients {
  background: #fff;
  padding: 5rem 3rem;
  text-align: center;
}

.clients-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.clients-note {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-light);
  margin-top: 2.5rem;
  font-style: italic;
}

.clients-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  margin-top: 2.5rem;
}

.client-n {
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(28, 45, 79, 0.28);
  transition: color var(--transition-normal);
  cursor: default;
}

.client-n:hover {
  color: var(--navy);
}

/* ════════════════════════════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════════════════════════════ */

#cta {
  background: var(--navy);
  padding: 6.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(196, 154, 60, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(196, 154, 60, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 500;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.cta-h em {
  font-style: italic;
  color: var(--gold);
}

.cta-p {
  font-size: 15.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.cta-email {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  text-decoration: none;
  margin-top: 1.25rem;
  transition: color var(--transition-fast);
}

.cta-email:hover {
  color: #fff;
}

.cta-email:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */

footer {
  background: var(--navy-deep);
  padding: 2.25rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-in {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
}

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

.footer-links a {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-links a:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ════════════════════════════════════════════════════════════════
   TOUCH-OPTIMIZED HOVER STATES - IMPROVED: Only apply on devices with hover
   ════════════════════════════════════════════════════════════════ */

@media (hover: hover) {
  .q-item:hover {
    background: rgba(196, 154, 60, 0.05);
  }

  .svc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(28, 45, 79, 0.1);
    border-color: rgba(196, 154, 60, 0.25);
  }

  .result-card:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 154, 60, 0.25);
    box-shadow: 0 12px 40px rgba(28, 45, 79, 0.1);
  }

  .client-n:hover {
    color: var(--navy);
  }

  .client-cell:hover {
    background: var(--cream);
  }

  .client-cell:hover .client-name {
    color: var(--navy);
  }
}

/* ════════════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════════════ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE DESIGN
   ════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  /* Tablets and smaller - IMPROVED: Logo text now visible on iPad (768px) */
  nav {
    padding: 1rem 2rem;
  }

  /* Logo text stays visible at this breakpoint - only hide at 480px and below */

  .nav-links {
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 11px;
  }

  #hero {
    padding: 7rem 2rem 4rem;
  }

  #questions {
    padding: 5rem 2rem;
  }

  .qs-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .q-item {
    border-right: none !important;
  }

  .q-item.q-last {
    grid-column: 1;
    max-width: 100%;
    padding: 2rem;
  }

  #about {
    padding: 5rem 2rem;
  }

  .about-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  #stats {
    padding: 4rem 2rem;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 0;
    overflow: visible;
    width: 100%;
  }

  .stat {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem;
  }

  .stat:last-child {
    border-bottom: none;
  }

  #services {
    padding: 5rem 2rem;
  }

  .svc-grid {
    grid-template-columns: 1fr;
  }

  .svc-card {
    padding: 2rem;
  }

  #cta {
    padding: 5rem 2rem;
  }

  .cta-h {
    font-size: clamp(28px, 4vw, 42px);
  }

  footer {
    padding: 1.5rem 2rem;
  }

  .footer-in {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 768px) {
  /* Mobile devices */

  /* Show mobile menu button */
  .mobile-menu-toggle {
    display: block;
  }

  /* Hide navigation on mobile (show with JavaScript) */
  nav.closed .nav-links {
    display: none;
  }

  nav.closed .nav-cta {
    display: none;
  }

  nav.open .nav-links {
    display: flex;
  }

  nav.open .nav-cta {
    display: block;
  }

  /* Mobile navigation styling */
  nav.open {
    flex-direction: column;
    background: var(--navy-deep) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
    padding: 0.75rem 0;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    width: 100vw;
    position: fixed;
    left: 0;
    right: 0;
  }

  nav.open .nav-logo {
    width: 100%;
    justify-content: center;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
  }

  nav.open .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0;
    margin: 0;
  }

  nav.open .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  nav.open .nav-links li:last-child {
    border-bottom: none;
  }

  nav.open .nav-links a {
    display: block;
    padding: 0.85rem 1rem;
    text-align: center;
    font-size: 13px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  nav.open .nav-cta {
    margin: 0.75rem;
    min-height: 44px;
  }

  .nav-logo-text {
    display: none;
  }

  #hero {
    min-height: auto;
    padding: 3.5rem 1.5rem 2.5rem;
    margin-top: 0;
  }

  .hero-eyebrow {
    font-size: 10px;
  }

  .hero-title {
    font-size: clamp(42px, 9vw, 64px);
  }

  .hero-sub {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 2rem;
  }

  .hero-btns {
    gap: 0.75rem;
  }

  .btn-gold,
  .btn-ghost {
    padding: 0.9rem 1.75rem;
    font-size: 10px;
    min-height: 44px;
  }

  .scroll-hint {
    display: none;
  }

  #questions {
    padding: 3.5rem 1.5rem;
  }

  .qs-header {
    margin-bottom: 2.5rem;
  }

  .section-h-light {
    font-size: clamp(22px, 4.5vw, 34px);
  }

  .q-item {
    padding: 1.25rem 1rem;
  }

  .q-num {
    font-size: clamp(18px, 2vw, 22px);
  }

  .q-text {
    font-size: clamp(16px, 1.9vw, 22px);
  }

  .q-tag {
    font-size: 9px;
    padding: 0.2rem 0.6rem;
  }

  #pivot {
    padding: 4rem 1.5rem;
  }

  .pivot-line {
    font-size: clamp(22px, 3.5vw, 36px);
  }

  .pivot-sub {
    font-size: 14px;
    max-width: 100%;
  }

  #about {
    padding: 4rem 1.5rem;
  }

  .about-wrap {
    gap: 2rem;
  }

  .about-h {
    font-size: clamp(24px, 3.5vw, 36px);
  }

  .about-p {
    font-size: 14px;
  }

  .usp-cards {
    gap: 1rem;
  }

  .usp {
    padding: 1.25rem 1.5rem;
  }

  .usp h4 {
    font-size: 17px;
  }

  .usp p {
    font-size: 12.5px;
  }

  #stats {
    padding: 2.75rem 1.5rem;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stat {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 1rem;
    text-align: center;
  }

  .stat:last-child {
    border-bottom: none;
  }

  .stat-n {
    font-size: clamp(28px, 3.5vw, 44px);
    margin-bottom: 0.4rem;
  }

  .stat-l {
    font-size: 10px;
    line-height: 1.4;
  }

  #services {
    padding: 3.5rem 1.5rem;
  }

  .svc-header {
    margin-bottom: 2.5rem;
  }

  .section-h-dark {
    font-size: clamp(22px, 3.8vw, 38px);
    margin-top: 0.5rem;
  }

  .svc-sub {
    font-size: 13.5px;
    margin: 0.75rem auto 0;
  }

  .svc-grid {
    gap: 1rem;
  }

  .svc-card {
    padding: 1.25rem;
  }

  .svc-num {
    font-size: 36px;
    margin-bottom: 0.2rem;
  }

  .svc-title {
    font-size: 18px;
    margin-bottom: 0.85rem;
  }

  .svc-body {
    font-size: 13px;
    line-height: 1.8;
  }

  .tag {
    font-size: 8px;
    padding: 0.15rem 0.5rem;
  }

  #clients {
    padding: 4rem 1.5rem;
  }

  .clients-row {
    gap: 1rem 2rem;
  }

  .client-n {
    font-size: 13px;
  }

  #cta {
    padding: 3.5rem 1.5rem;
  }

  .cta-inner {
    max-width: 100%;
  }

  .cta-h {
    font-size: clamp(24px, 3.8vw, 38px);
    margin-bottom: 0.85rem;
  }

  .cta-p {
    font-size: 13.5px;
    margin-bottom: 2rem;
    line-height: 1.7;
  }

  .btn-gold {
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    font-size: 11px;
  }

  footer {
    padding: 2rem 1.5rem;
  }

  .footer-in {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-copy,
  .footer-links {
    font-size: 12px;
  }

  .footer-links {
    gap: 1rem;
  }

  /* Results page responsive */
  #hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
  }

  .hero-intro {
    font-size: clamp(14px, 2.5vw, 18px);
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    overflow: hidden;
    width: 100%;
  }

  .result-card {
    overflow: visible;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .card-stat {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .card-body {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .result-card.wide {
    grid-column: span 1;
  }

  .result-card.wide .card-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card-stat {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .card-body {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .stat {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1.25rem;
  }

  .stat:last-child {
    border-bottom: none;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    border: 1px solid rgba(28, 45, 79, 0.07);
  }

  .client-cell {
    border-right: 1px solid rgba(28, 45, 79, 0.07);
    border-bottom: 1px solid rgba(28, 45, 79, 0.07);
    padding: 1.75rem 1rem;
  }

  .client-cell:nth-child(odd) {
    border-right: 1px solid rgba(28, 45, 79, 0.07);
  }

  .client-cell:nth-child(even) {
    border-right: none;
  }

  .client-cell:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .client-name {
    font-size: 16px;
  }

  .client-sector {
    font-size: 8px;
  }

  .section-header {
    flex-direction: column;
  }

  .section-note {
    text-align: left;
  }

  /* Contact page responsive */
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-checks {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .form-submit {
    flex-direction: column;
    gap: 1rem;
  }

  .check-item {
    gap: 0.7rem;
    padding: 0.3rem;
    margin-bottom: 0.4rem;
  }

  .check-item input[type="checkbox"] {
    min-width: 24px;
    min-height: 24px;
  }

  .btn-submit {
    width: 100%;
    padding: 0.8rem 1.5rem;
    min-height: 44px;
    font-size: 11px;
  }
}

@media (max-width: 375px) {
  /* Standard iPhone optimization (iPhone SE) - IMPROVED: Better spacing and sizing for 375px width */

  nav {
    padding: 0.65rem 0.85rem;
  }

  .nav-logo-main {
    font-size: 12px;
  }

  .nav-logo-sub {
    font-size: 7px;
  }

  .nav-links a {
    font-size: 10px;
  }

  #hero {
    padding: 3rem 0.85rem 2rem;
  }

  .hero-title {
    font-size: clamp(28px, 7vw, 44px);
  }

  .hero-sub {
    font-size: clamp(13px, 1.7vw, 16px);
    margin-bottom: 1.5rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn-gold,
  .btn-ghost {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 10px;
  }

  .section-h-light {
    font-size: clamp(20px, 3.8vw, 30px);
  }

  .q-item {
    padding: 1rem 0.85rem;
  }

  .q-text {
    font-size: clamp(15px, 1.8vw, 20px);
  }

  .svc-card {
    padding: 1rem;
  }

  .about-h {
    font-size: clamp(18px, 2.8vw, 24px);
  }

  .story-h {
    font-size: clamp(20px, 3vw, 32px);
  }

  .form-h {
    font-size: clamp(20px, 2.8vw, 30px);
  }

  .check-item {
    gap: 0.6rem;
    padding: 0.25rem;
  }

  .check-item input[type="checkbox"] {
    min-width: 22px;
    min-height: 22px;
    width: 22px;
    height: 22px;
  }

  .btn-submit {
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  /* Extra small phones - IMPROVED: Logo text hidden only on very small phones, fixes for all grids */

  nav {
    padding: 0.75rem 1rem;
  }

  .nav-logo-text {
    display: none;
  }

  #hero {
    padding: 4rem 1rem 2rem;
    max-width: 100%;
    overflow: hidden;
  }

  /* Results page grids - IMPROVED: Ensure proper mobile collapse */
  .results-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    overflow: hidden;
    width: 100%;
  }

  .result-card {
    overflow: hidden;
    min-width: 0;
    padding: 1.5rem;
  }

  .result-card.wide {
    grid-column: 1;
  }

  .result-card.wide .card-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card-stat {
    font-size: clamp(24px, 4vw, 40px);
    word-break: break-word;
  }

  .card-body {
    font-size: 13px;
    word-break: break-word;
  }

  .card-company-name {
    font-size: 9px;
    word-break: break-word;
  }

  /* Stats grid - IMPROVED: 2x2 layout instead of 1x4 */
  .stats-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    overflow: hidden;
    width: 100%;
  }

  .stat {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
  }

  .stat:last-child {
    border-bottom: none;
  }

  .stat-n {
    font-size: clamp(28px, 5vw, 44px);
  }

  .stat-l {
    font-size: 10px;
  }

  /* Clients grid - IMPROVED: Single column, show all clients */
  .clients-grid {
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    width: 100%;
  }

  .client-cell {
    border-right: none !important;
    border-bottom: 1px solid rgba(28, 45, 79, 0.07);
    padding: 1.5rem 1rem;
  }

  .client-cell:last-child {
    border-bottom: none;
  }

  .client-name {
    font-size: 16px;
  }

  .client-sector {
    font-size: 8px;
  }

  /* General overflow fixes */
  body, main, section {
    overflow-x: hidden;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(32px, 7vw, 48px);
    line-height: 0.9;
  }

  .hero-sub {
    font-size: clamp(14px, 1.8vw, 18px);
    margin-bottom: 1.75rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn-gold,
  .btn-ghost {
    width: 100%;
    padding: 0.85rem 1.5rem;
    min-height: 44px;
    font-size: 10px;
  }

  #questions {
    padding: 3rem 1rem;
  }

  .q-item {
    padding: 1.25rem 1rem;
  }

  #about {
    padding: 3rem 1rem;
  }

  .about-h {
    font-size: clamp(20px, 3vw, 28px);
  }

  .usp {
    padding: 1rem;
  }

  #services {
    padding: 3rem 1rem;
  }

  .svc-card {
    padding: 1.25rem;
  }

  #cta {
    padding: 3rem 1rem;
  }

  footer {
    padding: 1.25rem 1rem;
  }

  .footer-in {
    gap: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-copy,
  .footer-links {
    font-size: 11px;
  }

  .footer-links {
    gap: 0.75rem;
    flex-wrap: wrap;
  }
}

/* ════════════════════════════════════════════════════════════════
   SKIP TO MAIN CONTENT LINK (Accessibility)
   ════════════════════════════════════════════════════════════════ */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 200;
  font-weight: 600;
  border-radius: 2px;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--navy);
}

/* ════════════════════════════════════════════════════════════════
   CONTACT PAGE STYLES
   ════════════════════════════════════════════════════════════════ */

#contact {
  background: var(--white);
  padding: 7rem 3rem;
}

.contact-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 7rem;
  align-items: start;
}

.form-head {
  margin-bottom: 2.75rem;
}

.form-label-top {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.875rem;
}

.form-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.form-h em {
  font-style: italic;
  color: var(--gold);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.field label span {
  color: var(--gold);
  margin-left: 2px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.875rem 1.1rem;
  border: 1px solid rgba(28, 45, 79, 0.15);
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 300;
  color: var(--navy);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-light);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A8A9A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 3rem;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

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

.form-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.35rem;
}

.check-item input[type="checkbox"] {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(28, 45, 79, 0.2);
  border-radius: 2px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
  min-width: 24px;
  min-height: 24px;
}

.check-item input[type="checkbox"]:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}

.check-item span {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-mid);
}

.form-submit {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-submit {
  padding: 1rem 2.75rem;
  background: var(--navy);
  color: #fff;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-submit:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.form-note {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.6;
}

#form-success {
  display: none;
  padding: 2.5rem;
  background: rgba(196, 154, 60, 0.08);
  border: 1px solid rgba(196, 154, 60, 0.3);
  border-radius: 2px;
  text-align: center;
}

#form-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

#form-success p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
}

.contact-right {
  padding-top: 0.5rem;
}

.contact-detail-block {
  margin-bottom: 3rem;
}

.detail-eye {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.detail-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(28, 45, 79, 0.1);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.detail-item:hover .detail-icon {
  border-color: var(--gold);
  background: rgba(196, 154, 60, 0.06);
}

.detail-text-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 0.2rem;
}

.detail-text-value {
  font-size: 15px;
  font-weight: 400;
  color: var(--navy);
  transition: color 0.2s;
}

.detail-item:hover .detail-text-value {
  color: var(--gold);
}

.contact-divider {
  width: 100%;
  height: 1px;
  background: rgba(28, 45, 79, 0.08);
  margin: 2.5rem 0;
}

.expect-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.expect-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: rgba(196, 154, 60, 0.35);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
}

.step-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.step-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.65;
}

.promise {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
}

.promise p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════════
   RESULTS PAGE STYLES
   ════════════════════════════════════════════════════════════════ */

/* Results page hero - smaller like other section pages */
#hero:has(.hero-right) {
  min-height: 52vh;
}

/* Results page hero layout - two column ONLY (has .hero-right element) */
#hero:has(.hero-right) .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-end;
}

.hero-right {
  opacity: 0;
  animation: fadeUp 0.7s 0.5s ease forwards;
}

.hero-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
}

/* Left-align hero rule on Results page only (has .hero-right) */
#hero:has(.hero-right) .hero-rule {
  margin-left: 0;
  margin-right: auto;
}

#stats {
  background: var(--navy);
  position: relative;
}

#stats::before,
#stats::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

#stats::before {
  top: 0;
}

#stats::after {
  bottom: 0;
}

.stats-row {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat:last-child {
  border-right: none;
}

.stat-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-l {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.results-section {
  padding: 6.5rem 3rem;
  position: relative;
}

.results-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(28, 45, 79, 0.1), transparent);
}

.results-section.light {
  background: var(--white);
}

.results-section.cream {
  background: var(--cream);
}

.results-section.dark {
  background: var(--navy-deep);
}

.results-section.dark::before {
  background: linear-gradient(90deg, transparent, rgba(196, 154, 60, 0.2), transparent);
}

.section-header {
  max-width: 1100px;
  margin: 0 auto 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-eye {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.section-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
}

.section-h-light {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.section-note {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 320px;
  text-align: right;
}

.results-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  overflow: hidden;
  width: 100%;
}

.result-card {
  background: var(--cream);
  padding: 2.25rem;
  border-radius: 2px;
  border: 1px solid rgba(28, 45, 79, 0.07);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s ease;
}

.result-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 154, 60, 0.25);
  box-shadow: 0 12px 40px rgba(28, 45, 79, 0.1);
}

.result-card:hover::before {
  height: 100%;
}

.results-section.cream .result-card {
  background: var(--white);
}

.results-section.dark .result-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.results-section.dark .result-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(196, 154, 60, 0.3);
}

.card-company {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.card-company-name {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
}

.results-section.dark .card-company-name {
  color: rgba(255, 255, 255, 0.35);
}

.card-badge {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(196, 154, 60, 0.35);
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
}

.card-stat {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.results-section.dark .card-stat {
  color: #fff;
}

.card-stat-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}

.card-body {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-mid);
  font-weight: 300;
}

.results-section.dark .card-body {
  color: rgba(255, 255, 255, 0.5);
}

.card-body strong {
  color: var(--navy);
  font-weight: 500;
}

.results-section.dark .card-body strong {
  color: rgba(255, 255, 255, 0.8);
}

.result-card.wide {
  grid-column: span 2;
}

.result-card.wide .card-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
}

.result-card.wide .card-stat {
  font-size: clamp(52px, 6vw, 80px);
}

#clients {
  background: var(--white);
  padding: 5.5rem 3rem;
  position: relative;
}

#clients::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(28, 45, 79, 0.1), transparent);
}

.clients-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  border: 1px solid rgba(28, 45, 79, 0.07);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 3rem;
}

.client-cell {
  padding: 2.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-right: 1px solid rgba(28, 45, 79, 0.07);
  background: var(--white);
  transition: background 0.3s;
}

.client-cell:last-child {
  border-right: none;
}

.client-cell:hover {
  background: var(--cream);
}

.client-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: rgba(28, 45, 79, 0.35);
  transition: color 0.3s;
  letter-spacing: 0.02em;
}

.client-cell:hover .client-name {
  color: var(--navy);
}

.client-sector {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
}

.clients-note {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-light);
  margin-top: 2rem;
  font-style: italic;
}

#cta {
  background: var(--navy-deep);
  padding: 7rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(196, 154, 60, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(196, 154, 60, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

#cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-eye {
  display: block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.cta-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-h em {
  font-style: italic;
  color: var(--gold);
}

.cta-p {
  font-size: 15.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.cta-email {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  text-decoration: none;
  margin-top: 1.25rem;
  transition: color 0.2s;
}

.cta-email:hover {
  color: #fff;
}

/* ════════════════════════════════════════════════════════════════
   ABOUT PAGE SPECIFIC STYLES
   ════════════════════════════════════════════════════════════════ */

/* All section pages (except Home) have smaller hero - applies to Services, About, Results, Contact */
#hero:not(:has(.scroll-hint)) {
  min-height: 52vh;
}

/* All section page underlines are left-aligned - applies to Services, About, Results, Contact */
#hero:not(:has(.scroll-hint)) .hero-rule {
  margin-left: 0;
  margin-right: auto;
}

/* About page hero - must use ID selector to override global #hero */
#hero.about-hero {
  min-height: 52vh;
}

/* Contact page hero - smaller like About and other section pages */
#hero:has(+ #contact) {
  min-height: 52vh;
}

/* Contact page underline - left-aligned like other section pages */
#hero:has(+ #contact) .hero-rule {
  margin-left: 0;
  margin-right: auto;
}

/* Base hero-inner styling - applies to both About and Results pages */
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.about-hero .hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 600;
  line-height: 0.95;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.35s ease forwards;
  white-space: nowrap;
}

/* About page specific hero title styling */
.about-hero .hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: fadeUp 0.7s 0.5s ease forwards;
}

/* Fix hero-rule positioning on About page - align with text instead of centering */
.about-hero .hero-rule {
  margin-left: 0;
  margin-right: auto;
}

#story {
  background: #fff;
  padding: 6.5rem 3rem;
}

.story-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.photo-block {
  position: sticky;
  top: 7rem;
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--navy);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(196, 154, 60, 0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(196, 154, 60, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.photo-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(196, 154, 60, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.photo-icon svg {
  opacity: 0.5;
}

.photo-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 1;
}

.photo-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 1;
}

.photo-caption-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  display: block;
}

.photo-caption-role {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.7;
}

.story-content {
  padding-top: 0.5rem;
}

.story-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.story-h em {
  font-style: italic;
  color: var(--gold);
}

.story-p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-mid);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.story-p strong {
  color: var(--navy);
  font-weight: 500;
}

.story-p em {
  color: var(--navy);
  font-style: italic;
}

.story-pull {
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  border-left: 3px solid var(--gold);
  background: var(--cream);
}

.story-pull p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  line-height: 1.55;
}

#timeline {
  background: var(--cream);
  padding: 6.5rem 3rem;
  position: relative;
}

#timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(28, 45, 79, 0.12), transparent);
}

.timeline-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 5rem;
}

.timeline-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
  margin-top: 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

.timeline-wrap {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold) 5%, var(--gold) 95%, transparent);
}

.tl-entry {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.75rem;
  position: relative;
}

.tl-entry:last-child {
  margin-bottom: 0;
}

.tl-left {
  flex-shrink: 0;
  width: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 1.55rem;
}

.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
  z-index: 1;
  position: relative;
  flex-shrink: 0;
}

.tl-dot.current {
  box-shadow: 0 0 0 5px rgba(196, 154, 60, 0.18);
}

.tl-right {
  flex: 1;
  background: #fff;
  padding: 1.5rem 1.75rem;
  border-radius: 2px;
  border: 1px solid rgba(28, 45, 79, 0.07);
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.tl-right:hover {
  border-color: rgba(196, 154, 60, 0.3);
  transform: translateX(4px);
}

.tl-company {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tl-company-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}

.tl-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.tl-year {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

.tl-badge {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);  /* IMPROVED: Darker gold */
  border: 1px solid rgba(196, 154, 60, 0.4);
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
}

.tl-role {
  font-size: 12.5px;
  color: var(--text-mid);
  margin-bottom: 0.875rem;
  font-style: italic;
}

.tl-achievement {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-mid);
  font-weight: 300;
  padding-left: 1rem;
  border-left: 2px solid rgba(196, 154, 60, 0.3);
}

#credentials {
  background: #fff;
  padding: 6rem 3rem;
  position: relative;
}

#credentials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(28, 45, 79, 0.1), transparent);
}

.creds-header {
  text-align: center;
  margin-bottom: 4rem;
}

.creds-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cred-card {
  text-align: center;
  padding: 2.5rem 1.75rem;
  border: 1px solid rgba(28, 45, 79, 0.08);
  border-radius: 2px;
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.cred-card:hover {
  border-color: rgba(196, 154, 60, 0.3);
  transform: translateY(-3px);
}

.cred-card:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.cred-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(196, 154, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.cred-qual {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.cred-inst {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.cred-year {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold);  /* IMPROVED: Darker gold */
  border: 1px solid rgba(196, 154, 60, 0.4);
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
  text-transform: uppercase;
}

#style {
  background: var(--navy-deep);
  padding: 6.5rem 3rem;
  position: relative;
}

#style::before,
#style::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

#style::before {
  top: 0;
}

#style::after {
  bottom: 0;
}

.style-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.section-h-light {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  margin-top: 0.5rem;
}

.style-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.style-card {
  padding: 2.75rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  transition: border-color var(--transition-normal), background var(--transition-normal);
}

.style-card:hover {
  border-color: rgba(196, 154, 60, 0.3);
  background: rgba(255, 255, 255, 0.02);
}

.style-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  color: rgba(196, 154, 60, 0.15);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.style-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.style-body {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
}

.style-rule {
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.25rem;
  opacity: 0.6;
}

/* Tablet & Mobile Responsive for About Page */
@media (max-width: 1024px) {
  .story-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .photo-block {
    position: static;
  }

  .creds-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .style-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #timeline {
    padding: 4rem 2rem;
  }

  #credentials {
    padding: 4rem 2rem;
  }

  #style {
    padding: 4rem 2rem;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    padding: 0 1.5rem;
  }

  .hero-name {
    font-size: clamp(36px, 7vw, 56px);
  }

  #story {
    padding: 3rem 1.5rem;
  }

  .story-p {
    font-size: 14px;
  }

  .story-pull {
    padding: 1.5rem;
  }

  .story-pull p {
    font-size: 18px;
  }

  .creds-grid {
    grid-template-columns: 1fr;
  }

  .style-grid {
    grid-template-columns: 1fr;
  }

  .timeline-wrap {
    max-width: 100%;
  }

  .tl-right {
    padding: 1.25rem 1.5rem;
  }
}
