/* ==========================================================================
   Dr Cassie & Associates — Site Styles
   Shared across all pages.
   ========================================================================== */

:root {
  --brand: #20988a;
  --brand-light: #2cb8a7;
  --brand-dim: rgba(32,152,138,0.08);
  --brand-border: rgba(32,152,138,0.2);
  --brand-rgb: 32,152,138;
  --accent: #df1484;
  --accent-light: #e83a9a;
  --accent-dim: rgba(223,20,132,0.08);
  --bg: #faf9f7;
  --bg2: #f3f1ed;
  --card: #ffffff;
  --border: rgba(0,0,0,0.07);
  --text: #1a1a1a;
  --dark: #0e3f38;
  --muted: #5a5a5a;
  --muted2: #8a8a8a;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 64px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 64px; }
@media (max-width: 768px) { .container, .container-narrow { padding: 0 24px; } }

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

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

/* ==========================================================================
   LOADER
   ========================================================================== */
#loader { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: flex; align-items: center; justify-content: center; transition: opacity 0.4s ease; }
#loader.fade-out { opacity: 0; pointer-events: none; }
.spin-arc { color: var(--brand); animation: spin 0.75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#page { opacity: 0; transition: opacity 0.4s ease; }
#page.visible { opacity: 1; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav-wrap { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.nav-pill { display: flex; align-items: center; gap: 24px; background: rgba(250,249,247,0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 10px 20px; font-size: 13px; font-weight: 500; color: var(--muted); }
.nav-logo-pill { border: none; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; position: fixed; top: 12px; left: 0; z-index: 101; }
.nav-logo-pill a { cursor: pointer; display: flex; align-items: center; }
.nav-logo-img { height: 140px; width: auto; display: block; }
.nav-logo-pill .logo-short { display: none; }
.nav-links-pill a { color: var(--muted); transition: color 0.2s; cursor: pointer; position: relative; }
.nav-links-pill a:hover, .nav-links-pill a.active { color: var(--text); }
.nav-cta-pill { background: var(--brand); color: #fff; font-weight: 700; border-color: var(--brand); padding: 10px 22px; transition: background 0.2s, transform 0.15s; cursor: pointer; }
.nav-cta-pill:hover { background: var(--brand-light); transform: translateY(-1px); }

/* Dropdown */
.nav-has-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown-trigger::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-1px, -1px); transition: transform 0.2s; }
.nav-has-dropdown.open .nav-dropdown-trigger::after { transform: rotate(225deg) translate(-1px, -1px); }
.nav-start-here { color: var(--accent) !important; font-weight: 700 !important; }
.nav-dropdown { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(-6px); background: rgba(250,249,247,0.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 12px; min-width: 240px; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; display: flex; flex-direction: column; gap: 2px; }
.nav-has-dropdown.open .nav-dropdown { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.nav-dropdown a { padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; color: var(--muted); transition: background 0.15s, color 0.15s; }
.nav-dropdown a:hover { background: var(--brand-dim); color: var(--brand); }
.nav-dropdown-title { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted2); padding: 8px 14px 4px; }
.nav-dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }

@media (max-width: 768px) { .nav-links-pill { display: none; } }

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */
.mobile-menu-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(250,249,247,0.88); backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: 50%; cursor: pointer; }
.mobile-menu-toggle svg { width: 18px; height: 18px; color: var(--text); }
.mobile-menu { position: fixed; inset: 0; z-index: 9998; background: var(--bg); padding: 100px 32px 48px; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity 0.3s; overflow-y: auto; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-close { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; background: var(--card); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu-section { margin-bottom: 28px; }
.mobile-menu-title { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-links a { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 400; color: var(--text); padding: 8px 0; cursor: pointer; }
.mobile-menu-links a.sub { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500; color: var(--muted); padding: 6px 0 6px 16px; border-left: 1px solid var(--border); }
.mobile-menu-cta { margin-top: auto; padding-top: 32px; }
.mobile-menu-cta .btn-primary { width: 100%; justify-content: center; padding: 18px 24px; }

@media (max-width: 768px) {
  .mobile-menu-toggle { display: flex; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: var(--brand); color: #fff; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 700; border-radius: var(--radius-pill); border: none; cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; }
.btn-primary:hover { background: var(--brand-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(32,152,138,0.25); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: transparent; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; border-radius: var(--radius-pill); border: 1px solid var(--border); cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.btn-secondary:hover { border-color: var(--brand-border); color: var(--brand); }
.btn-inner { display: inline-block; transition: transform 0.45s cubic-bezier(0.23,1,0.32,1); }

/* ==========================================================================
   HERO — Homepage (L3 Centred Editorial)
   ========================================================================== */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; background: var(--bg); }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(32,152,138,0.06), transparent 70%); pointer-events: none; }
.hero-inner { max-width: 780px; padding: 120px 40px 80px; position: relative; z-index: 1; }
.hero-label { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 28px; }
.hero-label::before, .hero-label::after { content: ''; width: 24px; height: 1px; background: var(--brand); }
.hero-headline { font-family: 'Playfair Display', serif; font-size: clamp(42px, 5.5vw, 72px); font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; color: var(--brand); margin-bottom: 24px; }
.hero-headline em { font-style: italic; color: var(--accent); }
.hero-rule { width: 48px; height: 1px; background: var(--accent); margin: 0 auto 28px; }
.hero-sub { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 560px; margin: 0 auto 40px; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

.hero { clip-path: polygon(-8% 0, 2% 0, 12% 100%, -8% 100%); }
.hero.wipe-in { clip-path: polygon(-8% 0, 130% 0, 140% 100%, -8% 100%); transition: clip-path 0.9s cubic-bezier(0.86,0,0.07,1); }
.hero.wipe-in.wipe-done { clip-path: none; }

/* ==========================================================================
   PAGE HERO — Sub-pages
   ========================================================================== */
.page-hero { padding: 160px 0 80px; background: var(--bg); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 1200px; height: 600px; background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(32,152,138,0.08), transparent 70%); pointer-events: none; }
.page-hero-inner { position: relative; z-index: 1; max-width: 880px; }
.page-hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.page-hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--brand); }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(38px, 5vw, 64px); font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; color: var(--brand); margin-bottom: 24px; }
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero-sub { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 680px; }
.page-hero.center { text-align: center; }
.page-hero.center .page-hero-eyebrow { justify-content: center; }
.page-hero.center .page-hero-eyebrow::before { display: none; }
.page-hero.center .page-hero-sub { margin: 0 auto; }

/* Breadcrumbs */
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted2); margin-bottom: 32px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--muted2); transition: color 0.2s; cursor: pointer; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs span.sep { color: var(--muted2); opacity: 0.5; }
.breadcrumbs span.current { color: var(--text); font-weight: 600; }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; padding: 20px 64px; background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 28px; }
.trust-item svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }
.trust-divider { width: 1px; height: 24px; background: var(--border); }

/* ==========================================================================
   TICKER
   ========================================================================== */
.ticker-wrap { overflow: hidden; padding: 14px 0; background: var(--brand); }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-item { display: flex; align-items: center; gap: 14px; padding: 0 36px; font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.4); flex-shrink: 0; }

/* ==========================================================================
   SECTION COMMON
   ========================================================================== */
.section { padding: 100px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--brand); }
.section-headline { font-family: 'Playfair Display', serif; font-size: clamp(30px, 4vw, 48px); font-weight: 400; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 16px; color: var(--brand); }
.section-sub { font-size: 16px; color: var(--muted); max-width: 560px; line-height: 1.7; }
.section-header-center { text-align: center; margin-bottom: 64px; }
.section-header-center .section-label { justify-content: center; }
.section-header-center .section-label::before { display: none; }
.section-header-center .section-sub { margin: 0 auto; }

/* ==========================================================================
   PROSE — Long-form article content
   ========================================================================== */
.prose { font-size: 16px; line-height: 1.8; color: var(--muted); }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3vw, 36px); font-weight: 400; line-height: 1.2; letter-spacing: -0.02em; color: var(--brand); margin-top: 56px; margin-bottom: 8px; }
.prose h3 { font-family: 'DM Sans', sans-serif; font-size: 20px; font-weight: 700; color: var(--brand); margin-top: 40px; margin-bottom: 4px; letter-spacing: -0.01em; }
.prose h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-top: 28px; margin-bottom: 4px; }
.prose p { font-size: 16px; line-height: 1.8; color: var(--muted); }
.prose strong { color: var(--text); font-weight: 600; }
.prose em { font-style: italic; }
.prose a { color: var(--brand); border-bottom: 1px solid var(--brand-border); transition: border-color 0.2s; }
.prose a:hover { border-bottom-color: var(--brand); }
.prose ul, .prose ol { padding-left: 24px; }
.prose ul li, .prose ol li { margin-bottom: 10px; line-height: 1.75; }
.prose ul li::marker { color: var(--brand); }
.prose ol li::marker { color: var(--brand); font-weight: 700; }
.prose blockquote { border-left: 3px solid var(--brand); padding: 8px 0 8px 24px; margin: 32px 0; font-family: 'Playfair Display', serif; font-size: 22px; font-style: italic; line-height: 1.5; color: var(--text); }
.prose hr { border: 0; height: 1px; background: var(--border); margin: 48px 0; }

/* ==========================================================================
   CONTENT CARDS / CALLOUTS
   ========================================================================== */
.callout { background: var(--brand-dim); border: 1px solid var(--brand-border); border-left: 3px solid var(--brand); border-radius: var(--radius); padding: 28px 32px; margin: 32px 0; }
.callout-title { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.callout-body { font-size: 15px; line-height: 1.7; color: var(--text); }
.callout-body p + p { margin-top: 12px; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 32px 0; }
.info-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; }
.info-card:hover { border-color: var(--brand-border); transform: translateY(-3px); box-shadow: var(--shadow); }
.info-card-icon { width: 40px; height: 40px; background: var(--brand-dim); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--brand); margin-bottom: 16px; }
.info-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.info-card p { font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 32px; position: relative; overflow: hidden; transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s; cursor: pointer; display: block; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 0.4s cubic-bezier(0.23,1,0.32,1); }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--brand-border); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 48px; height: 48px; background: var(--brand-dim); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--brand); }
.service-card h3 { font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.02em; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.service-card-link { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.service-card-link::after { content: '→'; transition: transform 0.2s; }
.service-card:hover .service-card-link::after { transform: translateX(4px); }

/* ==========================================================================
   PATHWAY GRID (homepage primary entry points)
   ========================================================================== */
.pathway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pathway-card { background: var(--card); border: 2px solid var(--border); border-radius: var(--radius); padding: 48px 36px; position: relative; overflow: hidden; transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s; cursor: pointer; display: flex; flex-direction: column; }
.pathway-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.23,1,0.32,1); }
.pathway-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--brand-border); }
.pathway-card:hover::before { transform: scaleX(1); }
.pathway-icon { width: 72px; height: 72px; background: linear-gradient(135deg, var(--brand-dim), var(--accent-dim)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; color: var(--brand); }
.pathway-card h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 500; margin-bottom: 16px; letter-spacing: -0.02em; color: var(--text); line-height: 1.2; }
.pathway-card p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; flex: 1; }
.pathway-link { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; }
.pathway-card:hover .pathway-link { color: var(--accent); }

/* ==========================================================================
   ABOUT / SPLIT LAYOUT
   ========================================================================== */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-image { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--bg2); }
.split-image::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--border); border-radius: var(--radius); pointer-events: none; }
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-image-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted2); font-size: 13px; font-weight: 600; background: linear-gradient(135deg, var(--brand-dim), var(--accent-dim)); }
.split-image-placeholder svg { width: 48px; height: 48px; opacity: 0.4; }

.highlights { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.highlight { display: flex; align-items: flex-start; gap: 14px; }
.highlight-icon { width: 32px; height: 32px; min-width: 32px; background: var(--brand-dim); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--brand); margin-top: 2px; }
.highlight-text { font-size: 15px; color: var(--muted); line-height: 1.6; }
.highlight-text strong { color: var(--text); font-weight: 600; }

/* ==========================================================================
   STATS
   ========================================================================== */
#stats, .stats-band { background: var(--dark); padding: 96px 0; position: relative; overflow: hidden; }
#stats::before, .stats-band::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 24px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; z-index: 1; }
.stat-item { text-align: center; padding: 0 24px; position: relative; }
.stat-item + .stat-item::before { content: ''; position: absolute; left: 0; top: 10%; height: 80%; width: 1px; background: rgba(255,255,255,0.1); }
.stat-num { font-family: 'Playfair Display', serif; font-size: clamp(42px, 5vw, 68px); font-weight: 400; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.stat-suffix { font-size: clamp(20px, 2.5vw, 32px); color: var(--brand); }
.stat-label { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 14px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-scroll-wrap { overflow-x: auto; padding: 48px 0 32px; scrollbar-width: none; cursor: grab; }
.testi-scroll-wrap:active { cursor: grabbing; }
.testi-scroll-wrap::-webkit-scrollbar { display: none; }
.testi-track { display: flex; gap: 20px; padding: 8px 64px 20px; width: max-content; }
.testi-card { width: 380px; flex-shrink: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 20px; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; }
.testi-card:hover { border-color: var(--brand-border); transform: translateY(-4px); box-shadow: var(--shadow); }
.testi-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; }
.testi-body { font-size: 15px; line-height: 1.75; color: var(--muted); font-style: italic; flex: 1; }
.testi-attr { font-size: 12px; font-weight: 700; color: var(--text); letter-spacing: 0.02em; }
.testi-attr span { color: var(--muted2); font-weight: 500; }

/* Static testimonials grid (testimonials page) */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.testi-grid .testi-card { width: auto; }

/* ==========================================================================
   APPROACH STEPS
   ========================================================================== */
.approach-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.approach-step { text-align: center; position: relative; }
.approach-step-num { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 300; color: var(--brand-border); line-height: 1; margin-bottom: 20px; }
.approach-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.approach-step p { font-size: 14px; color: var(--muted); line-height: 1.65; }
@media (min-width: 769px) {
  .approach-step + .approach-step::before { content: ''; position: absolute; top: 24px; left: -16px; width: 32px; height: 1px; background: var(--border); }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 0; font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 700; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color 0.2s; }
.faq-q:hover { color: var(--brand); }
.faq-q::after { content: '+'; font-size: 22px; color: var(--brand); transition: transform 0.3s; font-weight: 400; }
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 22px; font-size: 15px; line-height: 1.75; color: var(--muted); }
.faq-a.open { display: block; }
.faq-a p + p { margin-top: 12px; }

/* Stacked FAQ (single col, full width) */
.faq-stacked { max-width: 880px; margin: 0 auto; }

/* ==========================================================================
   FEES TABLE
   ========================================================================== */
.fees-section { margin: 48px 0; }
.fees-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.fees-table caption { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 400; color: var(--brand); padding: 24px 28px 0; text-align: left; letter-spacing: -0.02em; caption-side: top; }
.fees-table th, .fees-table td { padding: 18px 28px; text-align: left; font-size: 15px; }
.fees-table thead th { background: var(--bg2); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted2); border-bottom: 1px solid var(--border); }
.fees-table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.2s; }
.fees-table tbody tr:last-child { border-bottom: none; }
.fees-table tbody tr:hover { background: var(--brand-dim); }
.fees-table .fee-name { font-weight: 600; color: var(--text); }
.fees-table .fee-desc { font-size: 13px; color: var(--muted); margin-top: 4px; }
.fees-table .fee-amount { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 500; color: var(--brand); white-space: nowrap; text-align: right; }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 56px; }
.team-filter { padding: 10px 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-pill); font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all 0.2s; }
.team-filter:hover { border-color: var(--brand-border); color: var(--brand); }
.team-filter.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.team-card:hover { border-color: var(--brand-border); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-photo { aspect-ratio: 1/1; overflow: hidden; background: linear-gradient(135deg, var(--brand-dim), var(--accent-dim)); position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-photo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 48px; color: var(--brand); opacity: 0.4; }
.team-info { padding: 24px; }
.team-name { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 500; color: var(--text); margin-bottom: 4px; letter-spacing: -0.01em; }
.team-role { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--brand); }
.team-group-badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted2); margin-top: 8px; }

/* Team modal */
.team-modal-overlay { position: fixed; inset: 0; z-index: 9990; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.team-modal-overlay.open { opacity: 1; pointer-events: auto; }
.team-modal { background: var(--bg); border-radius: var(--radius); max-width: 720px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 24px 80px rgba(0,0,0,0.4); transform: translateY(20px); transition: transform 0.3s; }
.team-modal-overlay.open .team-modal { transform: translateY(0); }
.team-modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; background: var(--card); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.team-modal-header { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 40px; border-bottom: 1px solid var(--border); }
.team-modal-photo { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--brand-dim), var(--accent-dim)); }
.team-modal-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-modal-name { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; color: var(--text); margin-bottom: 6px; }
.team-modal-role { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.team-modal-group { font-size: 12px; color: var(--muted2); }
.team-modal-body { padding: 40px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.team-modal-body p + p { margin-top: 16px; }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner { background: var(--dark); padding: 96px 0; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(32,152,138,0.04) 0, rgba(32,152,138,0.04) 1px, transparent 1px, transparent 20px); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; position: relative; z-index: 1; }
.cta-headline { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3.5vw, 48px); font-weight: 400; letter-spacing: -0.03em; color: #fff; line-height: 1.1; margin-bottom: 12px; }
.cta-headline span { color: var(--accent); }
.cta-sub { font-size: 16px; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-info-icon { width: 40px; height: 40px; min-width: 40px; background: var(--brand-dim); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--brand); }
.contact-info-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted2); margin-bottom: 4px; }
.contact-info-value { font-size: 15px; color: var(--text); font-weight: 500; }
.contact-info-value a { color: var(--brand); transition: color 0.2s; cursor: pointer; }
.contact-info-value a:hover { color: var(--brand-light); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted2); }
.form-group input, .form-group select, .form-group textarea { padding: 14px 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-dim); outline: none; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238a8a8a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-submit { align-self: flex-start; }
.form-success { display: none; padding: 40px; background: var(--brand-dim); border: 1px solid var(--brand-border); border-radius: var(--radius); text-align: center; }
.form-success h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 500; margin-bottom: 8px; color: var(--brand); }
.form-success p { color: var(--muted); font-size: 15px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { background: var(--dark); padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 500; color: #fff; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 280px; }
.footer-badge { display: block; max-width: 240px; width: 100%; height: auto; margin-top: 24px; border-radius: 8px; opacity: 0.95; transition: opacity 0.2s; }
.footer-badge:hover { opacity: 1; }
.footer-col-title { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color 0.2s; cursor: pointer; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.25); flex-wrap: wrap; gap: 8px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.3); transition: color 0.2s; cursor: pointer; }
.footer-social a:hover { color: var(--brand); }

/* ==========================================================================
   SCROLL TO TOP
   ========================================================================== */
#scrolltop { position: fixed; bottom: 28px; right: 24px; z-index: 100; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.2s; box-shadow: 0 4px 16px rgba(32,152,138,0.3); }
#scrolltop.visible { opacity: 1; pointer-events: auto; }
#scrolltop:hover { transform: translateY(-2px); }

/* ==========================================================================
   MOBILE CTA BAR
   ========================================================================== */
.mobile-cta-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; box-shadow: 0 -4px 24px rgba(0,0,0,0.12); }
.mobile-cta-call { flex: 1; background: var(--card); border-top: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; text-decoration: none; cursor: pointer; }
.mobile-cta-quote { flex: 1.5; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; padding: 16px; text-decoration: none; cursor: pointer; }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   GRAIN
   ========================================================================== */
.grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9000; mix-blend-mode: multiply; opacity: 0.022; }

/* ==========================================================================
   RESPONSIVE — TABLET & MOBILE
   ========================================================================== */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pathway-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
  .footer-grid > div:nth-child(4), .footer-grid > div:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 900px) {
  .split-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .approach-steps { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .team-modal-header { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
  .team-modal-photo { max-width: 200px; }
}

/* Logo responsive */
.logo-short { display: none; }
@media (max-width: 480px) { .logo-full { display: none; } .logo-short { display: inline; } }

/* Desktop-only line breaks */
@media (max-width: 768px) { .desktop-br { display: none; } }

@media (max-width: 768px) {
  html, body { overflow-x: hidden; }
  .container, .container-narrow { padding: 0 20px; }

  /* Nav */
  .nav-wrap { top: 12px; left: 12px; right: 12px; transform: none; gap: 6px; justify-content: space-between; max-width: calc(100vw - 24px); }
  .nav-pill { padding: 9px 16px; font-size: 12px; }
  .nav-logo-pill { top: 0; left: 50%; transform: translateX(-50%); }
  .nav-logo-img { height: 100px; }
  .nav-cta-pill { padding: 9px 16px; font-size: 12px; flex-shrink: 0; }

  /* Hero */
  .hero { min-height: auto; padding-top: 90px; padding-bottom: 60px; }
  .hero-inner { padding: 40px 4px 20px; max-width: 100%; }
  .hero-headline { font-size: clamp(32px, 9vw, 44px); line-height: 1.15; }
  .hero-sub { font-size: 15px; margin-bottom: 32px; padding: 0 4px; }
  .hero-label { font-size: 10px; margin-bottom: 20px; }
  .hero-rule { margin: 20px auto; }
  .hero-ctas { flex-direction: column; gap: 12px; width: 100%; }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary { width: 100%; justify-content: center; padding: 16px 24px; font-size: 14px; }

  /* Page hero */
  .page-hero { padding: 110px 0 56px; }
  .page-hero h1 { font-size: clamp(30px, 8vw, 42px); }
  .page-hero-sub { font-size: 16px; }

  /* Sections */
  .section { padding: 64px 0; }
  #stats, .stats-band, .cta-banner { padding: 64px 0; }
  .section-header-center { margin-bottom: 40px; }
  .section-headline { font-size: clamp(26px, 6.5vw, 34px); line-height: 1.2; }
  .section-sub { font-size: 15px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .pathway-card { padding: 36px 28px; }
  .pathway-card h3 { font-size: 22px; }
  .pathway-icon { width: 60px; height: 60px; }
  .service-card { padding: 28px 24px; }
  .service-card h3 { font-size: 17px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
  .stat-item { padding: 0 8px; }
  .stat-item + .stat-item::before { display: none; }
  .stat-num { font-size: clamp(38px, 11vw, 56px); }
  .stat-label { font-size: 10px; margin-top: 10px; }

  /* Testimonials */
  .testi-track { padding: 8px 24px 20px; }
  .testi-card { width: 290px; padding: 28px 24px; }
  .testi-scroll-wrap { padding: 32px 0 24px; }

  /* Approach */
  .approach-step-num { font-size: 40px; margin-bottom: 14px; }

  /* FAQ */
  .faq-q { font-size: 15px; padding: 18px 0; }
  .faq-a { font-size: 14px; }

  /* CTA banner */
  .cta-headline { font-size: clamp(24px, 6vw, 32px); }
  .cta-sub { font-size: 14px; margin-bottom: 24px; }
  .cta-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .cta-banner .btn-primary { width: 100%; justify-content: center; }

  /* Contact form */
  .contact-info { gap: 24px; }
  .contact-info-value { font-size: 14px; word-break: break-word; }
  .form-row { grid-template-columns: 1fr; }
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; padding: 13px 16px; }
  .form-group label { font-size: 11px; }

  /* Team */
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .team-info { padding: 16px; }
  .team-name { font-size: 16px; }
  .team-role { font-size: 11px; }
  .team-filters { gap: 6px; margin-bottom: 32px; }
  .team-filter { padding: 8px 14px; font-size: 12px; }

  /* Fees table */
  .fees-table caption { font-size: 20px; padding: 20px 20px 0; }
  .fees-table th, .fees-table td { padding: 14px 18px; font-size: 14px; }
  .fees-table .fee-amount { font-size: 18px; }

  /* Prose */
  .prose h2 { font-size: clamp(22px, 5vw, 28px); margin-top: 40px; }
  .prose h3 { font-size: 18px; margin-top: 32px; }

  /* Trust strip */
  .trust-strip { padding: 14px 12px; }
  .trust-item { padding: 6px 10px; font-size: 11px; gap: 6px; }
  .trust-item svg { width: 14px; height: 14px; }

  /* Ticker */
  .ticker-item { padding: 0 24px; font-size: 10px; }

  /* Footer */
  footer { padding: 48px 0 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Mobile CTA bar */
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 56px; }
  #scrolltop { bottom: 72px; right: 16px; }
}

@media (max-width: 380px) {
  .container, .container-narrow { padding: 0 16px; }
  .nav-pill { padding: 8px 12px; font-size: 11px; }
  .nav-logo-pill { top: 0; left: 50%; transform: translateX(-50%); }
  .nav-logo-img { height: 80px; }
  .hero-headline { font-size: 30px; }
  .section-headline { font-size: 24px; }
  .stat-num { font-size: 36px; }
  .service-card { padding: 24px 20px; }
  .team-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
