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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ─── Design Tokens — Regal Maltese ─── */
:root {
  --primary:        #2C4A7C;   /* Royal Navy Blue */
  --primary-hover:  #1E3560;
  --primary-tint:   rgba(44, 74, 124, 0.08);
  --primary-glow:   rgba(44, 74, 124, 0.25);
  --secondary:      #C8A96E;   /* Champagne Gold */
  --secondary-hover:#B89558;
  --dark:           #1A1F2E;   /* Deep Navy Night */
  --dark-2:         #2A3040;
  --light:          #FDFAF6;   /* Warm White/Cream */
  --light-grey:     #F5F0E8;   /* Cream tint */
  --white:          #FFFFFF;
  --text-body:      #4A4040;
  --text-light:     #EDE8E0;
  --text-muted:     #8A7F70;
  --red:            #DC2626;
  --font-heading:   'Fraunces', Georgia, serif;
  --font-body:      'Source Sans 3', sans-serif;
  --btn-text:       #FFFFFF;
  --primary-text:   var(--primary-hover);
}

/* ─── Base ─── */
body {
  font-family: var(--font-body, sans-serif);
  background: var(--dark);
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--dark-2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ─── Layout ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 800px;
}

/* ─── Typography ─── */
h1, h2 {
  font-family: var(--font-heading, serif);
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-text);
  font-family: var(--font-body, sans-serif);
  margin-bottom: 12px;
}

.eyebrow-dark {
  color: var(--primary);
}

.text-primary {
  color: var(--primary-text);
}

.text-gold {
  color: var(--secondary);
}

/* ─── Paw Print Accent (brand motif) ─── */
.note-accent {
  position: relative;
  padding-top: 36px;
}

.note-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cellipse cx='20' cy='18' rx='6' ry='8' fill='%23000'/%3E%3Cellipse cx='44' cy='18' rx='6' ry='8' fill='%23000'/%3E%3Cellipse cx='12' cy='32' rx='5' ry='7' fill='%23000'/%3E%3Cellipse cx='52' cy='32' rx='5' ry='7' fill='%23000'/%3E%3Cpath d='M32 26 C18 26 10 36 10 44 C10 52 18 56 32 56 C46 56 54 52 54 44 C54 36 46 26 32 26Z' fill='%23000'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cellipse cx='20' cy='18' rx='6' ry='8' fill='%23000'/%3E%3Cellipse cx='44' cy='18' rx='6' ry='8' fill='%23000'/%3E%3Cellipse cx='12' cy='32' rx='5' ry='7' fill='%23000'/%3E%3Cellipse cx='52' cy='32' rx='5' ry='7' fill='%23000'/%3E%3Cpath d='M32 26 C18 26 10 36 10 44 C10 52 18 56 32 56 C46 56 54 52 54 44 C54 36 46 26 32 26Z' fill='%23000'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.45;
}

[style*="--dark"] .note-accent::before,
.hero-section .note-accent::before {
  color: var(--white);
}

/* ─── Brush-stroke Underline (brand motif from logo lettering) ─── */
.brush-underline {
  position: relative;
  display: inline;
}

.brush-underline::after {
  content: '';
  position: absolute;
  left: -2%;
  bottom: -4px;
  width: 104%;
  height: 0.2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M4 9 Q20 4 50 8 Q80 12 110 6 Q140 2 165 7 Q180 9 190 7 Q196 6 198 6.5' stroke='%232C4A7C' stroke-width='3' fill='none' stroke-linecap='round' opacity='0.5'/%3E%3Cpath d='M190 7 Q196 6 200 7' stroke='%232C4A7C' stroke-width='1' fill='none' stroke-linecap='round' opacity='0.2'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.brush-underline-gold::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M4 9 Q20 4 50 8 Q80 12 110 6 Q140 2 165 7 Q180 9 190 7 Q196 6 198 6.5' stroke='%23C8A96E' stroke-width='3' fill='none' stroke-linecap='round' opacity='0.5'/%3E%3Cpath d='M190 7 Q196 6 200 7' stroke='%23C8A96E' stroke-width='1' fill='none' stroke-linecap='round' opacity='0.2'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* On light text over dark backgrounds */
.brush-underline-light::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M4 9 Q20 4 50 8 Q80 12 110 6 Q140 2 165 7 Q180 9 190 7 Q196 6 198 6.5' stroke='%23ffffff' stroke-width='3' fill='none' stroke-linecap='round' opacity='0.2'/%3E%3Cpath d='M190 7 Q196 6 200 7' stroke='%23ffffff' stroke-width='1' fill='none' stroke-linecap='round' opacity='0.1'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ─── Brush-stroke Section Divider ─── */
/* Overlaps the section boundary with a wavy SVG edge.                    */
/* Add .brush-divider-down to a section to put a wave at its bottom.      */
/* Color variants control which background color fills the wave shape.    */
.brush-divider-down {
  position: relative;
}

.brush-divider-down::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 32' preserveAspectRatio='none'%3E%3Cpath d='M0 20 Q150 8 300 18 Q450 28 600 16 Q750 4 900 18 Q1050 30 1200 14 L1200 32 L0 32Z' fill='%23F5F0E8'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
  z-index: 2;
  pointer-events: none;
}

/* Wave fills with the NEXT section's background color */
.brush-divider-to-light::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 32' preserveAspectRatio='none'%3E%3Cpath d='M0 20 Q150 8 300 18 Q450 28 600 16 Q750 4 900 18 Q1050 30 1200 14 L1200 32 L0 32Z' fill='%23FDFAF6'/%3E%3C/svg%3E");
}

.brush-divider-to-grey::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 32' preserveAspectRatio='none'%3E%3Cpath d='M0 20 Q150 8 300 18 Q450 28 600 16 Q750 4 900 18 Q1050 30 1200 14 L1200 32 L0 32Z' fill='%23F5F0E8'/%3E%3C/svg%3E");
}

.brush-divider-to-dark::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 32' preserveAspectRatio='none'%3E%3Cpath d='M0 20 Q150 8 300 18 Q450 28 600 16 Q750 4 900 18 Q1050 30 1200 14 L1200 32 L0 32Z' fill='%231A1F2E'/%3E%3C/svg%3E");
}

/* Long-form content (privacy page, terms, blog posts) */
.prose {
  color: var(--text-body);
  line-height: 1.75;
}

.prose h2 {
  font-size: 1.35rem;
  color: var(--dark-2);
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.prose p {
  margin-bottom: 1em;
}

.prose ul, .prose ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose a {
  color: var(--primary-text);
}

.prose a:hover {
  text-decoration: underline;
}

.prose strong {
  color: var(--dark-2);
}

.section-pad {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-top: 12px;
}

.section-title.dark { color: var(--dark-2); }
.section-title.light { color: var(--white); }

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

.section-subtext {
  font-size: 17px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body, sans-serif);
  line-height: 1.6;
}

/* ─── Service Cards (Style A — hover accent bar) ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: 12px;
  padding: 40px 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  border-radius: 4px 0 0 0;
  transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.service-card:hover::before {
  height: 100%;
  border-radius: 4px 0 0 4px;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-tint);
  border-radius: 12px;
  margin-bottom: 20px;
}

.service-card-title {
  font-family: var(--font-heading, serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--dark-2);
  margin-bottom: 12px;
}

.service-card-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: gap 0.15s ease;
}

.service-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service-card {
  cursor: pointer;
}

.service-card:hover .service-link {
  gap: 9px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 16px;
  font-family: var(--font-body, sans-serif);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--btn-text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2),
    0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--btn-text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2),
    0 6px 28px var(--primary-glow);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.25),
    0 2px 8px var(--primary-tint);
}

.btn-ghost {
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 16px;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 14px;
  border-radius: 12px;
}

/* ─── Navigation ─── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease, border-bottom 0.3s ease;
  animation: slideDown 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#site-header.scrolled {
  padding: 12px 0;
  background: rgba(26, 31, 46, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  height: 70px;
  width: auto;
  border-radius: 12px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: height 0.3s ease, filter 0.3s ease;
}

#site-header.scrolled .nav-logo-img {
  height: 38px;
}

.nav-logo-text {
  font-family: var(--font-heading, serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-tagline {
  font-family: var(--font-body, sans-serif);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 1px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a:not(.btn) {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
  font-family: var(--font-body, sans-serif);
}

.desktop-nav a:not(.btn):hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 4px;
}

/* ─── Mobile Overlay ─── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 28px;
  font-weight: 600;
  font-family: var(--font-body, sans-serif);
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--primary);
}

.mobile-nav a.active {
  color: var(--primary);
}

/* ─── Hero Section ─── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--dark);
}

/* Hero background video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,31,46,0.82) 0%, rgba(26,31,46,0.65) 45%, rgba(26,31,46,0.88) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
  width: 100%;
}

.hero-grid {
  display: block;
  text-align: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
  font-family: var(--font-body, sans-serif);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── Hero Image (full-bleed overlay) ─── */
.hero-phone {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin-right: 0;
}

.hero-phone-wrap {
  height: 100%;
}

.phone-mockup-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0.4;
}

/* ─── Hero E — Tag pill + alternating headline colors ─── */
.hero-tag {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--primary-tint);
  border: 1px solid rgba(123, 114, 233, 0.2);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body, sans-serif);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-line {
  display: block;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
}

.hero-line-white { color: var(--white); }
.hero-line-gold { color: var(--secondary); }
.hero-line-primary { color: var(--primary); }

/* ─── Gold CTA button (used on dark sections) ─── */
.btn-gold {
  background: var(--secondary);
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(232, 184, 74, 0.3);
}

.btn-gold:hover {
  background: var(--secondary-hover);
  box-shadow: 0 6px 24px rgba(232, 184, 74, 0.4);
}

/* ─── Section Wave Transitions ─── */
/* Absolutely positioned so flex/grid parent layout doesn't affect it */
.section-wave-end {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}
.section-wave-end svg {
  display: block;
  width: 100%;
  height: 72px;
}

/* ─── Paw Print Backdrop (subtle texture on dark sections) ─── */
.music-notes-backdrop {
  position: relative;
}
.music-notes-backdrop::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 64 64'%3E%3Cellipse cx='20' cy='18' rx='6' ry='8' fill='white'/%3E%3Cellipse cx='44' cy='18' rx='6' ry='8' fill='white'/%3E%3Cellipse cx='12' cy='32' rx='5' ry='7' fill='white'/%3E%3Cellipse cx='52' cy='32' rx='5' ry='7' fill='white'/%3E%3Cpath d='M32 26 C18 26 10 36 10 44 C10 52 18 56 32 56 C46 56 54 52 54 44 C54 36 46 26 32 26Z' fill='white'/%3E%3C/svg%3E");
  background-size: 80px auto;
  background-repeat: repeat;
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}
.music-notes-backdrop > * {
  position: relative;
  z-index: 1;
}

/* ─── Problem Section (dark bg) ─── */
.problem-body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-light);
  font-family: var(--font-body, sans-serif);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.problem-quote {
  margin-top: 48px;
  padding: 0;
  border: none;
  font-family: var(--font-heading, serif);
  font-size: clamp(18px, 2.5vw, 22px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
  color: var(--secondary);
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.problem-quote cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-style: normal;
  font-family: var(--font-body, sans-serif);
  color: var(--text-muted);
  font-weight: 400;
}

/* ─── Timeline (Style B — Vertical) ─── */
.krb-timeline {
  position: relative;
  padding-left: 52px;
  max-width: 640px;
  margin: 0 auto;
}

.krb-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 2px;
}

.krb-timeline-step {
  position: relative;
  padding-bottom: 48px;
}

.krb-timeline-step:last-child {
  padding-bottom: 0;
}

.krb-timeline-number {
  position: absolute;
  left: -52px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading, serif);
  font-weight: 700;
  font-size: 14px;
  z-index: 1;
}

.krb-timeline-title {
  font-family: var(--font-heading, serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--dark-2);
  margin-bottom: 8px;
}

.krb-timeline-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  font-family: var(--font-body, sans-serif);
}

/* ─── Steps (Horizontal) ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 48px;
  counter-reset: step;
}

.step {
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading, serif);
  font-weight: 700;
  font-size: 22px;
  margin: 0 auto 20px;
}

.step-title {
  font-family: var(--font-heading, serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--dark-2);
  margin-bottom: 10px;
}

.step-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  font-family: var(--font-body, sans-serif);
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ─── Process Section ─── */
.process-section {
  background: var(--light);
  padding: 100px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.process-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.step-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading, serif);
  margin-bottom: 16px;
  opacity: 0.8;
}

.process-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-2);
  margin-bottom: 12px;
  font-family: var(--font-body, sans-serif);
}

.process-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  font-family: var(--font-body, sans-serif);
}

/* ─── Portfolio Section ─── */
.portfolio-section {
  position: relative;
  background: var(--light-grey);
  padding: 100px 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-4px);
}

.portfolio-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-info {
  padding: 24px 28px;
}

.portfolio-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-2);
  margin-bottom: 4px;
  font-family: var(--font-body, sans-serif);
}

.portfolio-info p {
  font-size: 14px;
  color: var(--text-muted);
  font-family: var(--font-body, sans-serif);
}

/* ─── Audit Section ─── */
.audit-section {
  position: relative;
  overflow: hidden;
  background-color: var(--dark);
}

.audit-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 100px;
}

.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.audit-form-col .section-header {
  text-align: left;
}

.audit-form-col .contact-form {
  margin-left: 0;
}

.audit-proof-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
}

.audit-proof-caption {
  font-size: 14px;
  color: var(--text-muted);
  font-family: var(--font-body, sans-serif);
  font-style: italic;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
  text-align: center;
}

.audit-proof-img {
  width: 100%;
  height: auto;
  display: block;
  mask-image: radial-gradient(ellipse 72% 65% at 50% 56%, black 30%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse 72% 65% at 50% 56%, black 30%, transparent 65%);
}

/* ─── Contact Section ─── */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 60px;
  text-align: center;
}

.contact-headline {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}

.contact-body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-muted);
  font-family: var(--font-body, sans-serif);
  max-width: 580px;
  margin: 0 auto 32px;
}

.contact-body p { margin-bottom: 16px; }
.contact-body p:last-child { margin-bottom: 0; }

.contact-service-area {
  font-size: 14px;
  color: var(--text-muted);
  font-family: var(--font-body, sans-serif);
  margin-bottom: 40px;
}

/* ─── Footer ─── */
/* ─── Testimonial (Style D — Featured quote with side accent) ─── */
.testimonial-section {
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-tint) 0%, transparent 60%);
  opacity: 0.6;
}

.testimonial-section > .container {
  position: relative;
  z-index: 1;
}

.testimonial-featured {
  max-width: 700px;
  margin: 0 auto;
  padding-left: 32px;
  position: relative;
}

.testimonial-accent {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 4px;
}

.testimonial-accent::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 50 C24 44 30 42 30 46 C30 50 24 52 24 50Z'/%3E%3Cline x1='30' y1='46' x2='30' y2='14'/%3E%3Cpath d='M30 14 C30 14 42 10 42 18 C42 24 34 22 30 24'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 50 C24 44 30 42 30 46 C30 50 24 52 24 50Z'/%3E%3Cline x1='30' y1='46' x2='30' y2='14'/%3E%3Cpath d='M30 14 C30 14 42 10 42 18 C42 24 34 22 30 24'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.7;
}

.testimonial-quote {
  font-family: var(--font-heading, serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  color: var(--dark-2);
  margin-bottom: 16px;
  border: none;
  padding: 0;
}

.testimonial-cite {
  font-size: 15px;
  color: var(--text-muted);
  font-family: var(--font-body, sans-serif);
  font-style: normal;
}

/* Testimonial cards (about page) */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  border-left: 4px solid var(--primary);
}

.testimonial-card blockquote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  font-family: var(--font-body, sans-serif);
  font-style: italic;
  margin-bottom: 16px;
  border: none;
  padding: 0;
}

.testimonial-card cite {
  font-size: 14px;
  color: var(--text-muted);
  font-family: var(--font-body, sans-serif);
  font-style: normal;
  font-weight: 600;
}

/* ─── CTA Split (Style B — guide photo + content) ─── */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.cta-split-photo img {
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
}

.cta-quote {
  font-family: var(--font-heading, serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-light);
  margin: 24px 0 12px;
  border: none;
  padding: 0;
}

.cta-cite {
  font-size: 14px;
  color: var(--text-muted);
  font-family: var(--font-body, sans-serif);
  font-style: normal;
  display: block;
  margin-bottom: 32px;
}

.cta-split-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand-mark {
  display: block;
  margin: 0 auto 16px;
  width: 200px;
  height: auto;
  border-radius: 16px;
  opacity: 0.85;
}

.site-footer {
  background: var(--dark);
  padding: 60px 24px 40px;
  text-align: center;
}

.footer-tagline {
  font-family: var(--font-body, sans-serif);
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-link {
  font-size: 13px;
  font-family: var(--font-body, sans-serif);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-link:hover {
  color: var(--primary);
}

.footer-divider {
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
}

.footer-privacy {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-family: var(--font-body, sans-serif);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-privacy:hover {
  color: var(--primary);
}

.footer-built-by {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-family: var(--font-body, sans-serif);
  color: rgba(255, 255, 255, 0.55);
}

.footer-built-by a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-built-by a:hover {
  color: var(--primary-hover);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body, sans-serif);
  margin-bottom: 12px;
}

.footer-disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body, sans-serif);
  max-width: 480px;
  margin: 0 auto;
}

/* ─── Contact Form (dark variant) ─── */
.contact-form {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-body, sans-serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-caption {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-body, sans-serif);
  line-height: 1.5;
  margin-top: -2px;
  opacity: 0.75;
}

.form-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.65;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--white);
  font-family: var(--font-body, sans-serif);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(255, 255, 255, 0.55); /* Update to primary color at ~55% */
  background: rgba(255, 255, 255, 0.1);
}

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

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ─── Animations ─── */
@keyframes slideDown {
  from { transform: translateY(-80px); }
  to   { transform: translateY(0); }
}

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

.animate-hero {
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--hero-delay, 0s);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity  0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--stagger-delay, 0s);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Ken Burns Keyframes ─── */
@keyframes ken-burns-zoom {
  0%   { transform: scale(1);    }
  100% { transform: scale(1.08); }
}

@keyframes ken-burns-drift {
  0%   { transform: scale(1.02) translate(0, 0);      }
  100% { transform: scale(1.06) translate(-1%, -1%);   }
}

/* Ken Burns drift on headshot photos */
.cta-split-photo,
.story-photo {
  overflow: hidden;
}

.cta-split-photo img,
.story-photo img {
  animation: ken-burns-drift 20s ease-in-out infinite alternate;
}

/* Accessibility: disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animate-hero,
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  #site-header {
    animation: none;
  }
  .hero-video {
    display: none; /* fall back to poster/bg color */
  }
  .cta-split-photo img,
  .story-photo img {
    animation: none;
  }
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: block; }

  .hero-body { text-align: center; }
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .cta-split { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .cta-split-photo img { margin: 0 auto; max-width: 300px; }
  .cta-split-buttons { justify-content: center; }
  .process-grid { grid-template-columns: 1fr; }

  .audit-grid { grid-template-columns: 1fr; gap: 40px; }
  .audit-proof-col { text-align: center; }
  .audit-proof-img { max-width: 50%; margin: 0 auto; }
}

@media (max-width: 768px) {
  /* Reduce vertical padding on all sections */
  .section-pad { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  /* Hero breathing room */
  .hero-section { min-height: 90svh; min-height: 90vh; }
  .hero-content { padding-top: 100px; padding-bottom: 60px; }

  /* Inner page hero */
  .page-hero { min-height: 240px; }

  /* Story grid: reset reverse order so photo comes first on mobile */
  .story-grid--reverse .story-photo { order: 0; }
  .story-grid--reverse .story-text { order: 0; }

  /* Testimonial featured — less squeeze */
  .testimonial-featured { padding-left: 24px; }

  /* Note accent — tighter on mobile */
  .note-accent { padding-top: 28px; }
  .note-accent::before { width: 22px; height: 22px; }

  /* FAQ tap target */
  .faq-question { min-height: 48px; }

  /* Cookie banner — bigger tap targets */
  .cookie-btn { padding: 12px 24px; font-size: 0.85rem; }

  /* Footer contact links — bigger tap area */
  .footer-contact { flex-direction: column; gap: 4px; }
  .footer-divider { display: none; }
  .footer-contact-link { font-size: 15px; padding: 6px 0; }
}

@media (max-width: 600px) {
  .hero-grid { gap: 0; }
  .hero-buttons { justify-content: center; }
  .hero-line { font-size: clamp(36px, 10vw, 52px); }

  /* Even tighter section padding on small phones */
  .section-pad { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }

  /* Hide brush dividers on small screens — sections are tight enough */
  .brush-divider-down::after { display: none; }
}

@media (max-width: 480px) {
  /* Hide nav tagline on very narrow screens */
  .nav-tagline { display: none; }

  /* Buttons stack full-width */
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { justify-content: center; }
  .cta-split-buttons { flex-direction: column; align-items: stretch; }
  .cta-split-buttons .btn { justify-content: center; }
}

/* ─── Portfolio screenshots ─── */
.portfolio-image {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: var(--light-grey);
}

.portfolio-desktop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-desktop {
  transform: scale(1.03);
}

.portfolio-mobile-peek {
  position: absolute;
  bottom: 12px;
  right: 16px;
  width: 62px;
  height: 112px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* ─── Contact photo background ─── */
.contact-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-bg-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 130%;
  display: block;
}

.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
}

/* ─── Contact avatar (real photo) ─── */
.avatar-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 32px;
  border: 3px solid rgba(255, 255, 255, 0.3); /* Update to primary color at ~40% */
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}

/* ─── Active nav link ─── */
.desktop-nav a.active:not(.btn) {
  color: var(--primary) !important;
}

/* ─── Scroll cue ─── */
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
  transition: opacity 0.4s ease;
}

.scroll-cue.hidden {
  opacity: 0 !important;
}

.scroll-cue span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body, sans-serif);
  font-weight: 500;
}

.scroll-cue svg {
  width: 26px;
  height: 26px;
  animation: bounce 1.6s ease infinite;
}

@keyframes fadeIn {
  to { opacity: 0.8; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ─── Guide Section ─── */
.guide-section {
  background: var(--light);
  padding: 0 0 100px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.guide-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  padding-top: 80px;
  max-width: 720px;
  margin: 0 auto;
}

.guide-photo-wrap {
  width: 100%;
}

.guide-text {
  width: 100%;
}

.guide-headline {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--dark-2);
  line-height: 1.2;
  margin-top: 12px;
  margin-bottom: 20px;
}

.guide-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  font-family: var(--font-body, sans-serif);
}

.guide-photo-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

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

/* ─── About Section (dark bg, homepage) ─── */
.about-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--dark);
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}

.about-photo-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
  aspect-ratio: 3/2;
  order: 2;
  width: 100%;
}

.about-text {
  order: 1;
  width: 100%;
}

.about-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 40%;
}

.about-logo {
  display: block;
  margin-top: 32px;
  border-radius: 12px;
}

.about-headline {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-top: 12px;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
  font-family: var(--font-body, sans-serif);
  margin-bottom: 16px;
}

.about-text p:last-child { margin-bottom: 0; }

/* ─── FAQ Section ─── */
.faq-section {
  position: relative;
  background: var(--light);
  padding: 100px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item:first-of-type {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
  cursor: pointer;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--dark-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  font-family: var(--font-body, sans-serif);
  user-select: none;
}

/* Remove default triangle in all browsers */
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

.faq-chevron {
  flex-shrink: 0;
  color: var(--primary-text);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 22px;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  font-family: var(--font-body, sans-serif);
}

/* ─── Why Choose Us Section ─── */
.why-section {
  background: var(--light);
  padding: 100px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.why-card-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-tint);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-2);
  margin-bottom: 10px;
  font-family: var(--font-body, sans-serif);
}

.why-card-body {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
  font-family: var(--font-body, sans-serif);
}

/* ─── Cost of Waiting Section ─── */
.wait-section {
  position: relative;
  background: var(--light-grey);
  padding: 100px 0;
}

.wait-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
}

.wait-timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(220, 38, 38, 0.35) 0%, rgba(220, 38, 38, 0.1) 100%);
}

.wt-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 20px 0;
}

.wt-marker {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.07);
  border: 2px solid rgba(220, 38, 38, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.wt-content {
  padding-top: 10px;
}

.wt-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-2);
  margin-bottom: 8px;
  font-family: var(--font-body, sans-serif);
}

.wt-body {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
  font-family: var(--font-body, sans-serif);
}

/* ═══════════════════════════════════════════════
   INNER PAGE STYLES
   ═══════════════════════════════════════════════ */

/* ─── Inner Page Hero ─── */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
  text-align: center;
  padding: 140px 24px 80px;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  font-family: var(--font-heading, serif);
}

.page-hero-subtitle {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.65;
  font-family: var(--font-body, sans-serif);
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Services Page ─── */
.service-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-pillar {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  border-radius: 20px 0 0 0;
  transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-pillar:hover::before {
  height: 100%;
  border-radius: 20px 0 0 20px;
}

.service-pillar-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-tint);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-pillar-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-2);
  margin-bottom: 12px;
  font-family: var(--font-heading, serif);
}

.service-pillar-body {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  font-family: var(--font-body, sans-serif);
  margin-bottom: 20px;
}

.service-pillar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-pillar-list li {
  font-size: 14px;
  font-family: var(--font-body, sans-serif);
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.service-pillar-list li::before {
  content: '✓';
  color: var(--primary-text);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── Feature row (alternating text + image) ─── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-text);
  font-family: var(--font-body, sans-serif);
  margin-bottom: 16px;
}

.feature-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--dark-2);
  line-height: 1.2;
  margin-bottom: 16px;
  font-family: var(--font-heading, serif);
}

.feature-body {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.75;
  font-family: var(--font-body, sans-serif);
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.feature-list li {
  font-size: 15px;
  font-family: var(--font-body, sans-serif);
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.feature-list li::before {
  content: '✓';
  color: var(--primary-text);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-visual {
  background: var(--light-grey);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Stats strip ─── */
.stat-strip {
  display: flex;
  gap: 0;
  justify-content: center;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin: 48px 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 36px 24px;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

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

.stat-number {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: var(--primary-text);
  font-family: var(--font-heading, serif);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-body);
  font-family: var(--font-body, sans-serif);
  font-weight: 500;
}

/* ─── About page ─── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-grid--reverse .story-photo {
  order: 2;
}

.story-grid--reverse .story-text {
  order: 1;
}

.story-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.story-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.story-text .section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  font-family: var(--font-body, sans-serif);
  margin-bottom: 16px;
}

.story-headline {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--dark-2);
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: var(--font-heading, serif);
}

.story-body p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.75;
  font-family: var(--font-body, sans-serif);
  margin-bottom: 16px;
}

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

.story-cta {
  margin-top: 28px;
}

/* ─── Values grid ─── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.value-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-tint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.value-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-2);
  margin-bottom: 10px;
  font-family: var(--font-body, sans-serif);
}

.value-body {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
  font-family: var(--font-body, sans-serif);
}

/* ─── Portfolio page ─── */
.portfolio-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.testimonial-placeholder {
  background: var(--light-grey);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  border: 2px dashed rgba(0, 0, 0, 0.12);
}

.testimonial-placeholder p {
  font-size: 15px;
  color: var(--text-muted);
  font-family: var(--font-body, sans-serif);
  font-style: italic;
}

/* ─── Contact page ─── */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-page-info h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--dark-2);
  margin-bottom: 16px;
  font-family: var(--font-heading, serif);
}

.contact-page-info p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.75;
  font-family: var(--font-body, sans-serif);
  margin-bottom: 32px;
}

.contact-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-tint);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-text {
  font-size: 15px;
  font-family: var(--font-body, sans-serif);
  color: var(--dark-2);
  font-weight: 500;
}

.contact-detail-text a {
  color: var(--dark-2);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-detail-text a:hover {
  color: var(--primary);
}

.contact-service-note {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-body, sans-serif);
  background: var(--light-grey);
  border-radius: 10px;
  padding: 14px 18px;
  line-height: 1.6;
}

.contact-form-box {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-form-box h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-2);
  margin-bottom: 24px;
  font-family: var(--font-heading, serif);
}

/* Base form-group layout (contact page light variant) */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

form .btn[type="submit"] {
  margin-top: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body, sans-serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  font-family: var(--font-body, sans-serif);
  font-size: 15px;
  background: var(--light-grey);
  color: var(--dark-2);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  cursor: pointer;
}

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

/* Light form variant (for contact.html white card) */
.form-light .form-group label {
  color: var(--text-muted);
}

.form-light .form-group input,
.form-light .form-group textarea,
.form-light .form-group select {
  background: var(--light-grey);
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  color: var(--dark-2);
}

.form-light .form-group input:focus,
.form-light .form-group textarea:focus,
.form-light .form-group select:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--primary-tint);
  outline: none;
}

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

/* ─── Inner page responsive ─── */
@media (max-width: 900px) {
  .service-pillars {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }

  .feature-row.reverse {
    direction: ltr;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .stat-strip {
    flex-direction: column;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

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

  .portfolio-page-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-box {
    padding: 28px 20px;
  }
}


/* ─── Cookie Consent Banner ─── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--dark-2, #1f1f1f);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-light, #E8E8E8);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
  line-height: 1.5;
  max-width: 600px;
}

.cookie-banner a {
  color: var(--text-light);
  text-decoration: underline;
}

.cookie-btn {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--primary);
  color: var(--btn-text);
}

.cookie-btn-accept:hover {
  background: var(--primary-hover);
  color: var(--btn-text);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn-decline:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text-light);
}

/* ─── Focus States ─── */
.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.cookie-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ─── Skip Link ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 999;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--btn-text);
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ─── Print ─── */
@media print {
  #site-header, .mobile-overlay, .cookie-banner, .sticky-mobile-cta,
  .scroll-cue, .skip-link, .promo-banner { display: none !important; }
  body { background: #fff; color: #000; }
  .section-light, .faq-section { background: #fff; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
}
