/* ── Meridian Care Group — Premium Stylesheet ── */
/* Fonts are loaded via <link rel="preconnect"> + <link rel="stylesheet"> in each page's <head> for faster rendering. */

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

/* ── ACCESSIBILITY: skip link & focus ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  font-weight: 700;
  font-family: 'Inter', Arial, sans-serif;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
}
.skip-link:focus { left: 0; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}
.nav-links a:focus-visible { outline-color: var(--gold-light); }

:root {
  /* Palette A — Coastal Clinical
     ocean blue + sky + softened gold + cream + white */
  --navy:        #0F4C75;
  --navy-deep:   #093552;
  --navy-mid:    #1F6394;
  --navy-light:  #5BA4D8;
  --gold:        #C9883A;
  --gold-warm:   #A87029;
  --gold-light:  #E8B770;
  --gold-pale:   #FAF1E0;
  --cream:       #F4EDE0;
  --white:       #FFFFFF;
  --off-white:   #F8FAFC;
  --grey:        #EEF2F6;
  --ink:         #0F2A40;
  --text:        #1F3A52;
  --muted:       #5A6B7E;
  --border:      #DCE3EB;
  --border-soft: #ECEFF3;
  --green:       #166534;
  --green-light: #DCFCE7;

  /* Fluid display sizing */
  --display-xl: clamp(2.6rem, 6.5vw, 5.4rem);
  --display-lg: clamp(2.2rem, 4.6vw, 3.6rem);
  --display-md: clamp(1.65rem, 2.8vw, 2.4rem);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-light); text-decoration: none; transition: color 0.2s ease; }
a:hover { text-decoration: none; color: var(--navy); }
h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-feature-settings: "ss01" on, "salt" on, "ss03" on;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
}
::selection { background: var(--gold); color: var(--navy); }

/* Animated underline for inline links */
.link-underline,
.lead a,
.section p a:not(.btn):not(.nav-cta) {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.35s var(--ease-out);
  padding-bottom: 1px;
}
.link-underline:hover,
.lead a:hover,
.section p a:not(.btn):not(.nav-cta):hover {
  background-size: 100% 1px;
  text-decoration: none;
}

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  z-index: 200;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ── FLOATING CTA (visible after scroll) ── */
.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  background: var(--gold);
  color: var(--navy) !important;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  box-shadow: 0 12px 36px rgba(15,76,117,0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), background 0.2s ease;
  text-decoration: none;
}
.floating-cta::after {
  content: '→';
  transition: transform 0.25s var(--ease-out);
}
.floating-cta:hover { background: var(--gold-warm); text-decoration: none; }
.floating-cta:hover::after { transform: translateX(4px); }
.floating-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── NAV ── */
nav {
  background: rgba(7, 21, 42, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(201,136,58,0.18);
  min-height: 76px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-main { color: var(--white); font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 700; letter-spacing: 0.3px; }
.nav-logo-sub  { color: var(--gold); font-family: 'Inter', sans-serif; font-size: 0.65rem; letter-spacing: 2.5px; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: #C5D5E8;
  font-size: 0.83rem;
  padding: 9px 14px;
  border-radius: 3px;
  transition: color 0.25s var(--ease-out);
  font-weight: 500;
  letter-spacing: 0.4px;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--white); text-decoration: none; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  margin-left: 14px;
  font-size: 0.83rem !important;
  letter-spacing: 0.5px !important;
  transition: background 0.2s ease, transform 0.2s var(--ease-out) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-warm) !important; transform: translateY(-1px); }

/* Hamburger toggle — hidden by default, revealed at ≤640px */
.nav-toggle-checkbox { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 14px 10px;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-label span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  border-radius: 2px;
}
.nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(2) {
  opacity: 0;
}
.nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── BUTTONS ── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 1.5px solid transparent;
  letter-spacing: 0.4px;
  overflow: hidden;
  text-decoration: none;
}
.btn::after {
  content: '→';
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
  font-weight: 700;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(15,76,117,0.22); text-decoration: none; }
.btn:hover::after { transform: translateX(4px); }
.btn-gold    { background: var(--gold); color: var(--navy); font-weight: 700; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-warm); border-color: var(--gold-warm); color: var(--navy); }
.btn-navy    { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); margin-left: 12px; }
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.85); color: var(--white); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ── HERO ── */
.hero {
  background:
    radial-gradient(circle at 18% 22%, rgba(201,136,58,0.22) 0%, transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(91,164,216,0.55) 0%, transparent 50%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #2A6997 100%);
  color: var(--white);
  padding: 130px 48px 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.07'/></svg>");
  pointer-events: none;
  mix-blend-mode: overlay;
}
.hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 620px;
  height: 620px;
  background: url('logo.png') center / contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
  filter: brightness(1.6);
}
.hero-inner { max-width: 920px; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: var(--display-xl);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  color: var(--white);
  font-feature-settings: "ss01" on;
}
.hero h1 em {
  color: var(--gold-light);
  font-style: italic;
  font-weight: 300;
}
.hero h1 .accent { color: var(--gold-light); font-style: italic; font-weight: 300; }
.hero-sub {
  font-size: clamp(1.05rem, 1.25vw, 1.22rem);
  max-width: 660px;
  color: #B8D5EA;
  line-height: 1.6;
  margin-bottom: 44px;
  font-weight: 400;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid rgba(201,136,58,0.18);
  padding-top: 44px;
  flex-wrap: wrap;
}
.stat {
  flex: 1;
  min-width: 170px;
  padding-right: 36px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat:last-child { border-right: none; padding-right: 0; padding-left: 40px; }
.stat:first-child { padding-left: 0; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 3.6vw, 3.2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.74rem; color: #A0B6CD; text-transform: uppercase; letter-spacing: 1.4px; line-height: 1.5; font-weight: 500; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 48px;
  overflow: hidden;
}
.trust-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8B6E2F;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.trust-item span { font-size: 1.05rem; }

/* ── MARQUEE TICKER ── */
.marquee {
  background: var(--navy-deep);
  border-top: 1px solid rgba(201,136,58,0.22);
  border-bottom: 1px solid rgba(201,136,58,0.22);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy-deep), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--navy-deep), transparent); }
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee-scroll 36s linear infinite;
  width: max-content;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 38px;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.marquee-item::after {
  content: '✦';
  color: var(--gold);
  font-style: normal;
  font-size: 0.7rem;
  margin-left: 38px;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── WHAT WE DO STRIP ── */
.what-we-do {
  background: var(--off-white);
  padding: 90px 48px;
  border-bottom: 1px solid var(--border);
}
.what-we-do-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.what-we-do-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.what-we-do-head h2 {
  font-size: var(--display-md);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: 'Fraunces', serif;
}
.what-we-do-head h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-warm);
}
.what-we-do-head p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.wwd-step {
  padding: 38px 30px 38px 0;
  border-right: 1px solid var(--border);
  position: relative;
}
.wwd-step:last-child { border-right: none; padding-right: 0; }
.wwd-step:not(:first-child) { padding-left: 30px; }
.wwd-num {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--gold-warm);
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.wwd-step h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.wwd-step p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ── SECTIONS ── */
.section { padding: 110px 48px; }
.section-light { background: var(--off-white); }
.section-grey  { background: var(--grey); }
.section-navy  { background: var(--navy); color: var(--white); }
.section-gold  { background: var(--cream); }
.container { max-width: 1180px; margin: 0 auto; }
.container-narrow { max-width: 860px; margin: 0 auto; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-warm);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow-navy { color: var(--navy-light); }
.eyebrow-navy::before { background: var(--navy-light); }
h2 {
  font-family: 'Fraunces', serif;
  font-size: var(--display-lg);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 22px;
  line-height: 1.06;
  letter-spacing: -0.025em;
}
h2 em { font-style: italic; font-weight: 300; color: var(--gold-warm); }
h2.white { color: var(--white); }
h2.white em { color: var(--gold-light); }
.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 56px;
  line-height: 1.7;
  font-weight: 400;
}
.lead.white { color: #C5D5E8; }
.text-center { text-align: center; }
.text-center .eyebrow { display: inline-flex; }
.text-center .lead { margin-left: auto; margin-right: auto; }

/* ── IN-PERSON SECTION ── */
.inperson-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15,76,117,0.18);
  position: relative;
}
.inperson-left {
  background:
    radial-gradient(circle at 0% 0%, rgba(201,136,58,0.15) 0%, transparent 50%),
    var(--navy);
  padding: 76px 60px;
  color: white;
  position: relative;
}
.inperson-left h2 { color: white; font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 24px; line-height: 1.1; }
.inperson-left p { color: #B8D5EA; margin-bottom: 22px; line-height: 1.72; }
.inperson-right {
  background: var(--cream);
  padding: 76px 60px;
}
.inperson-right h3 {
  font-family: 'Fraunces', serif;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 26px;
  letter-spacing: -0.01em;
  font-style: italic;
}
.inperson-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.inperson-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 0.97rem;
  color: inherit;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(201,136,58,0.18);
}
.inperson-list li:last-child { border-bottom: none; padding-bottom: 0; }
.inperson-list li::before {
  content: '';
  width: 10px;
  height: 1px;
  background: var(--gold);
  margin-top: 12px;
  flex-shrink: 0;
}

/* ── SERVICE CARDS (Elective / Necessity / Aesthetic) ── */
.service-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.service-tabs.two-up { grid-template-columns: 1fr 1fr; gap: 32px; }
.service-card {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  border: 1px solid var(--border-soft);
  background: white;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(15,76,117,0.16); }
.service-card-header {
  padding: 40px 40px 28px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
}
.service-card-header.elective  { background: var(--navy); }
.service-card-header.non-elective { background: var(--navy-mid); }
.service-card-header.aesthetic { background: linear-gradient(140deg, #2A6997 0%, #0F4C75 100%); position: relative; }
.service-card-header.aesthetic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(201,136,58,0.22), transparent 50%);
  pointer-events: none;
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}
.service-icon.elective-icon { background: rgba(201,136,58,0.18); }
.service-icon.non-elective-icon { background: rgba(255,255,255,0.08); }
.service-icon.aesthetic-icon { background: rgba(240,217,138,0.18); }
.service-card-header h3 { font-family: 'Fraunces', serif; color: white; font-size: 1.5rem; font-weight: 400; margin-bottom: 8px; letter-spacing: -0.01em; }
.service-card-header p { color: #B8D5EA; font-size: 0.92rem; line-height: 1.55; }
.service-card-body { background: white; padding: 32px 40px 36px; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 0; margin-bottom: 28px; }
.service-list li {
  display: flex; gap: 14px; align-items: center;
  font-size: 0.95rem; color: var(--text);
  padding: 13px 0;
  border-bottom: 1px solid var(--border-soft);
  transition: padding-left 0.25s var(--ease-out);
}
.service-list li:last-child { border-bottom: none; }
.service-list li:hover { padding-left: 6px; }
.service-list li::before { content: '→'; color: var(--gold); font-weight: 700; flex-shrink: 0; transition: transform 0.25s var(--ease-out); }
.service-list li:hover::before { transform: translateX(3px); }

/* ── TAILORED SECTION ── */
.tailored-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.tailored-card {
  background: white;
  border-radius: 4px;
  padding: 44px 36px 38px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  border: 1px solid var(--border-soft);
  border-top: 2px solid var(--gold);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  position: relative;
}
.tailored-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(15,76,117,0.12); }
.tailored-num {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold-warm);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.tailored-card h3 { font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 400; color: var(--navy); margin-bottom: 14px; line-height: 1.25; letter-spacing: -0.01em; }
.tailored-card p { color: var(--muted); font-size: 0.94rem; line-height: 1.7; }

/* ── PROCESS STEPS ── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 820px;
  margin: 60px auto 0;
}
.process-step {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-soft);
  transition: padding-left 0.4s var(--ease-out);
}
.process-step:hover { padding-left: 8px; }
.process-step:last-child { border-bottom: none; }
.process-num {
  width: 56px; height: 56px;
  background: transparent;
  color: var(--gold-warm);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}
.process-step:hover .process-num { background: var(--gold); color: var(--navy); }
.process-step h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.process-step p { color: var(--muted); font-size: 0.97rem; line-height: 1.7; }
.process-tag {
  display: inline-block;
  background: transparent;
  color: var(--gold-warm);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0;
  border-bottom: 1px solid var(--gold);
  margin-bottom: 14px;
  padding-bottom: 4px;
}

/* ── CHECKLIST ── */
.checklist { list-style: none; margin-top: 24px; }
.checklist li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex; gap: 16px; align-items: flex-start;
  font-size: 0.96rem;
  color: var(--text);
  line-height: 1.6;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '';
  width: 12px;
  height: 1px;
  background: var(--gold);
  margin-top: 14px;
  flex-shrink: 0;
}

/* ── COMPARISON TABLE ── */
.comparison {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  font-size: 0.95rem;
  box-shadow: 0 2px 24px rgba(15,76,117,0.06);
  border-radius: 4px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--border-soft);
}
.comparison th {
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
  text-align: left;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}
.comparison th:first-child {
  font-family: 'Fraunces', serif;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  font-weight: 400;
}
.comparison td { padding: 18px 24px; border-bottom: 1px solid var(--border-soft); }
.comparison tr:last-child td { border-bottom: none; }
.comparison tr:nth-child(even) td { background: var(--off-white); }
.comparison .yes { color: var(--green); font-weight: 600; }
.comparison .no  { color: #93A5BC; }

/* ── TWO COL ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* ── CTA BAND ── */
.cta-band {
  background:
    radial-gradient(circle at 20% 30%, rgba(201,136,58,0.18) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(91,164,216,0.4) 0%, transparent 45%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  text-align: center;
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.06'/></svg>");
  pointer-events: none;
  mix-blend-mode: overlay;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 20px; }
.cta-band p  { color: #B8D5EA; max-width: 580px; margin: 0 auto 44px; font-size: 1.1rem; line-height: 1.7; }

/* ── FOOTER ── */
footer {
  background: #082238;
  color: #7689A0;
  padding: 80px 48px 36px;
  border-top: 1px solid rgba(201,136,58,0.18);
}
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand p { margin-top: 18px; font-size: 0.92rem; max-width: 340px; line-height: 1.75; color: #859AAF; }
.footer-col h4 { color: var(--white); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 22px; font-family: 'Inter', sans-serif; font-weight: 600; }
.footer-col a  {
  display: inline-block; color: #95A8BC; font-size: 0.92rem; margin-bottom: 12px;
  position: relative; transition: color 0.2s ease, padding-left 0.25s var(--ease-out);
}
.footer-col a:hover { color: var(--gold-light); text-decoration: none; padding-left: 6px; }
.footer-col span { display: block; font-size: 0.88rem; color: #7286A0; margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(201,136,58,0.18);
  padding-top: 28px; font-size: 0.8rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #5E748D;
  letter-spacing: 0.3px;
}
.footer-logo { color: var(--white); font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 400; letter-spacing: -0.01em; }
.footer-gold { color: var(--gold); font-size: 0.68rem; letter-spacing: 2.5px; text-transform: uppercase; display: block; margin-top: 4px; font-weight: 600; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background:
    radial-gradient(circle at 15% 25%, rgba(201,136,58,0.16) 0%, transparent 45%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, #2A6997 100%);
  color: var(--white);
  padding: 110px 48px 100px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.06'/></svg>");
  pointer-events: none;
  mix-blend-mode: overlay;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero .eyebrow::before { background: var(--gold); }
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: var(--display-lg);
  font-weight: 400;
  margin-bottom: 22px;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 880px;
}
.page-hero h1 em { font-style: italic; font-weight: 300; color: var(--gold-light); }
.page-hero p  { color: #B8D5EA; font-size: 1.1rem; max-width: 660px; line-height: 1.65; }

/* ── CONTACT FORM ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
input, select, textarea {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.96rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  background: var(--white);
}
input::placeholder, textarea::placeholder { color: #93A5BC; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,136,58,0.15);
}
textarea { resize: vertical; min-height: 150px; line-height: 1.6; }

/* ── ABOUT / FOUNDER ── */
.founder-card {
  background: white;
  border-radius: 4px;
  padding: 60px;
  display: flex;
  gap: 56px;
  align-items: flex-start;
  box-shadow: 0 30px 80px rgba(15,76,117,0.08);
  border: 1px solid var(--border-soft);
}
.founder-avatar {
  width: 200px; height: 240px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(15,76,117,0.18);
  transition: transform 0.6s var(--ease-out);
}
.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.02) saturate(0.98);
  transition: transform 0.8s var(--ease-out);
}
.founder-avatar::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(201,136,58,0.55);
  pointer-events: none;
  border-radius: 2px;
}
.founder-card:hover .founder-avatar img { transform: scale(1.04); }

/* ── CINEMATIC IMAGE COMPONENTS (CAE-style) ── */

/* Full-bleed scene banner with caption overlay */
.scene {
  position: relative;
  width: 100%;
  height: clamp(380px, 56vh, 620px);
  overflow: hidden;
  background: var(--navy-deep);
}
.scene-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.scene-media svg, .scene-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out);
}
.scene:hover .scene-media svg,
.scene:hover .scene-media img { transform: scale(1.06); }
.scene::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(9,53,82,0.05) 0%,
    rgba(9,53,82,0.4) 60%,
    rgba(9,53,82,0.92) 100%
  );
  pointer-events: none;
}
.scene-caption {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 48px;
  color: white;
}
.scene-caption .eyebrow { color: var(--gold-light); margin-bottom: 18px; }
.scene-caption .eyebrow::before { background: var(--gold); }
.scene-caption h2 {
  color: white;
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}
.scene-caption h2 em { color: var(--gold-light); font-style: italic; font-weight: 300; }
.scene-caption p {
  color: #B8D5EA;
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Image / text alternating split */
.image-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  align-items: stretch;
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15,76,117,0.1);
  border: 1px solid var(--border-soft);
}
.image-split.flip { grid-template-columns: 1fr 1.05fr; }
.image-split.flip .image-split-media { order: 2; }
.image-split.flip .image-split-body { order: 1; }
.image-split-media {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: var(--navy);
}
.image-split-media svg, .image-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 0.9s var(--ease-out);
}
.image-split:hover .image-split-media svg,
.image-split:hover .image-split-media img { transform: scale(1.04); }
.image-split-body {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.image-split-body h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 18px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.image-split-body h3 em { font-style: italic; font-weight: 300; color: var(--gold-warm); }
.image-split-body p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.image-split-body p:last-of-type { margin-bottom: 0; }

/* Three-up image mosaic */
.image-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 60px;
}
.image-mosaic-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy);
}
.image-mosaic-tile svg, .image-mosaic-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease-out), filter 0.6s ease;
  filter: saturate(0.88);
}
.image-mosaic-tile:hover svg,
.image-mosaic-tile:hover img {
  transform: scale(1.06);
  filter: saturate(1);
}
.image-mosaic-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(9,53,82,0.85) 100%);
  pointer-events: none;
  z-index: 2;
}
.image-mosaic-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 3;
  color: white;
}
.image-mosaic-caption .num {
  font-family: 'Fraunces', serif;
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  display: block;
  margin-bottom: 6px;
}
.image-mosaic-caption h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: white;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Coverage section — Canada map + Victoria anchor */
.coverage {
  background: var(--off-white);
  padding: 110px 48px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.coverage-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.coverage-map {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: 0 24px 60px rgba(15,76,117,0.18);
  aspect-ratio: 4 / 3;
}
.coverage-map svg { width: 100%; height: 100%; display: block; }

/* ── CREDENTIAL BADGES ── */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.cred-card {
  background: white;
  border-radius: 4px;
  padding: 36px 32px;
  box-shadow: 0 2px 16px rgba(15,76,117,0.05);
  border: 1px solid var(--border-soft);
  border-left: 2px solid var(--gold);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.cred-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,76,117,0.1); }
.cred-icon { font-size: 1.7rem; flex-shrink: 0; }
.cred-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.cred-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.65; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .tailored-grid { grid-template-columns: 1fr 1fr; }
  .service-tabs, .service-tabs.two-up { grid-template-columns: 1fr; gap: 28px; }
  .inperson-block { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 50px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-stats { gap: 0; }
  .stat { padding: 0 20px; }
  .image-split, .image-split.flip { grid-template-columns: 1fr; }
  .image-split.flip .image-split-media { order: 1; }
  .image-split.flip .image-split-body { order: 2; }
  .image-split-media { min-height: 320px; }
  .image-split-body { padding: 52px 44px; }
  .image-mosaic { grid-template-columns: 1fr 1fr; }
  .coverage { padding: 90px 36px; }
  .coverage-inner { grid-template-columns: 1fr; gap: 48px; }
  .scene { height: clamp(320px, 50vh, 480px); }
  .scene-caption { padding: 40px 36px; }
  .what-we-do-head { grid-template-columns: 1fr; gap: 30px; }
  .what-we-do-grid { grid-template-columns: 1fr 1fr; }
  .wwd-step { padding: 32px 24px; border-bottom: 1px solid var(--border); }
  .wwd-step:nth-child(2n) { border-right: none; }
  .wwd-step:nth-last-child(-n+2) { border-bottom: none; }
  .founder-card { padding: 44px; gap: 36px; }
}
@media (max-width: 640px) {
  nav { padding: 0 20px; flex-wrap: wrap; position: sticky; }
  .nav-toggle-label { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    flex-basis: 100%;
    background: var(--navy);
    padding: 12px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-toggle-checkbox:checked ~ .nav-links { display: flex; }
  .nav-links a { padding: 14px 8px; font-size: 0.95rem; border-radius: 4px; }
  .nav-links a::after { display: none; }
  .nav-links a.nav-cta { margin: 12px 16px 0; text-align: center; }

  .hero { padding: 80px 20px 70px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-actions .btn-outline { margin-left: 0; }

  .page-hero { padding: 70px 20px 60px; }

  .section { padding: 70px 20px; }
  .cta-band { padding: 80px 20px; }

  .image-split-body { padding: 40px 28px; }
  .image-mosaic { grid-template-columns: 1fr; }
  .coverage { padding: 70px 20px; }
  .scene-caption { padding: 32px 24px; }
  .what-we-do { padding: 70px 20px; }
  .what-we-do-grid { grid-template-columns: 1fr; }
  .wwd-step { padding: 28px 0; border-right: none; border-bottom: 1px solid var(--border); }
  .wwd-step:not(:first-child) { padding-left: 0; }
  .wwd-step:last-child { border-bottom: none; }

  .marquee-item { padding: 0 24px; font-size: 0.95rem; }
  .marquee-item::after { margin-left: 24px; }

  .floating-cta { right: 16px; bottom: 16px; padding: 12px 18px; font-size: 0.85rem; }
  .floating-cta-text-long { display: none; }

  .founder-card { flex-direction: column; padding: 32px; gap: 28px; }
  .founder-avatar { width: 100%; max-width: 280px; height: auto; aspect-ratio: 5 / 6; }

  .trust-bar { padding: 16px 20px; gap: 24px; }
  .trust-item { font-size: 0.7rem; }

  .cred-grid, .tailored-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }

  .hero-stats { flex-direction: column; gap: 28px; padding-top: 36px; margin-top: 56px; }
  .stat { border-right: none; padding: 0; min-width: auto; }
  .stat:last-child { padding-left: 0; }

  .inperson-left, .inperson-right { padding: 48px 28px; }
}
