/* site.css — shared by every page with the site nav and footer. Generated from the pages' identical inline styles on 2026-11-12; edit here, then run python3 tools/stamp_assets.py. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --purple: #3C0C6B; --purple-light: #6b2fa0; --gold: #e8a135; --gold-dark: #986415; --white: #ffffff; --cream: #fafafa; --dark: #0e0a1a; --text: #1a0e2b; --text-mid: #4a3d5e; --border: #DDD8E6; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 88px; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 22px 56px; display: flex; align-items: center; justify-content: space-between; transition: background 0.35s, box-shadow 0.35s, padding 0.35s; }
.nav.scrolled { background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--border); padding: 14px 56px; }
.nav-logo { position: relative; display: inline-flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; display: block; transition: height 0.4s ease, opacity 0.4s ease; }
.nav.scrolled .nav-logo img { height: 28px; }
.nav-logo .logo-light { filter: drop-shadow(0 1px 6px rgba(0,0,0,0.55)); }
.nav-logo .logo-dark { position: absolute; top: 0; left: 0; opacity: 0; }
.nav.scrolled .nav-logo .logo-light { opacity: 0; }
.nav.scrolled .nav-logo .logo-dark { opacity: 1; }
.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; letter-spacing: 0.02em; text-decoration: none; color: rgba(255,255,255,0.7); padding: 8px 16px; border-radius: 100px; transition: color 0.2s, background 0.2s; }
.nav.scrolled .nav-links a { color: var(--text-mid); }
.nav-links a:hover { color: var(--gold) }
.nav.scrolled .nav-links a:hover { color: var(--gold-dark); }
.nav-links a.active, .nav.scrolled .nav-links a.active { color: #fff; background: var(--purple); }
.nav-cta { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; padding: 10px 24px; border-radius: 100px; background: var(--gold); color: var(--dark); transition: background 0.2s, transform 0.15s; }
.nav-cta:hover { background: var(--gold); transform: translateY(-1px); }
.nav-dd { position: relative; }
.nav-dd-caret { width: 12px; height: 12px; margin: -2px 0 0 4px; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.nav-dd:hover .nav-dd-caret, .nav-dd:focus-within .nav-dd-caret { transform: rotate(180deg); }
.nav-dd-menu { position: absolute; top: 100%; left: 50%; margin-top: 12px; min-width: 248px; list-style: none; padding: 8px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 44px rgba(14,10,26,0.18); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s; }
.nav-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .nav-links .nav-dd-menu a { display: block; padding: 11px 14px; border-radius: 9px; white-space: nowrap; font-size: 14px; font-weight: 500; letter-spacing: 0.01em; color: var(--text); background: none; }
.nav .nav-links .nav-dd-menu a:hover, .nav .nav-links .nav-dd-menu a:focus-visible, .nav .nav-links .nav-dd-menu a[aria-current="page"] { color: var(--purple); background: #F0ECF8; }
.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-right: -10px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.25s ease, opacity 0.2s ease, background 0.35s; }
.nav.scrolled .nav-toggle span, .nav.menu-open .nav-toggle span { background: var(--text); }
.nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav.menu-open { background: rgba(255,255,255,0.98); box-shadow: 0 1px 0 var(--border); }
.nav.menu-open .nav-logo .logo-light { opacity: 0; }
.nav.menu-open .nav-logo .logo-dark { opacity: 1; }
.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 72px); overflow-y: auto; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 18px 40px rgba(14,10,26,0.18); padding: 6px 24px 26px; }
.mobile-menu[hidden] { display: none; }
.mm-link { display: block; padding: 15px 0; border-bottom: 1px solid var(--border); font-size: 16px; font-weight: 500; color: var(--text); text-decoration: none; }
.mm-link:hover, .mm-link[aria-current="page"] { color: var(--purple); }
.mm-link svg { display: none; }
.mm-link.mm-sub { padding: 12px 0 12px 18px; font-size: 15px; color: var(--text-mid); }
.mm-link[aria-current="page"] { font-weight: 600; }
.mm-cta { display: block; margin-top: 22px; padding: 15px 24px; border-radius: 100px; background: var(--gold); color: var(--dark); text-align: center; font-size: 15px; font-weight: 600; text-decoration: none; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 961px) {
  .mobile-menu { display: none !important; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .nav, .nav.scrolled { padding-left: 28px; padding-right: 28px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 8px 10px; }
  .nav-links a, .nav-cta { white-space: nowrap; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
[data-anim] { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
[data-anim].in-view { opacity: 1; transform: translateY(0); }
[data-anim-delay="1"] { transition-delay: 0.08s; }
[data-anim-delay="2"] { transition-delay: 0.16s; }
[data-anim-delay="3"] { transition-delay: 0.24s; }
[data-anim-delay="4"] { transition-delay: 0.32s; }
.cta-band { background: var(--gold); padding: 84px 56px; }
.cta-inner { max-width: 940px; margin: 0 auto; text-align: left; display: grid; grid-template-columns: 0.82fr 1.18fr; align-items: stretch; background: var(--purple); border: 2px solid rgba(255,255,255,0.9); border-radius: 24px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), 0 30px 74px rgba(40,8,80,0.5); position: relative; }
.cta-photo { position: relative; min-height: 100%; }
.cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.cta-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, rgba(60,12,107,0) 0%, rgba(60,12,107,0) 64%, rgba(60,12,107,0.55) 100%); }
.cta-body { padding: 56px 52px; background: radial-gradient(120% 130% at 50% 0%, rgba(232,161,53,0.2) 0%, transparent 55%); }
.cta-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.cta-headline { font-family: 'DM Serif Display', serif; font-size: clamp(30px, 3.4vw, 44px); color: white; line-height: 1.15; margin-bottom: 18px; }
.cta-sub { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.78); line-height: 1.72; margin-bottom: 36px; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.btn-white { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: 0.01em; text-decoration: none; padding: 19px 44px; border-radius: 100px; background: #fff; color: var(--purple); box-shadow: 0 12px 34px rgba(0,0,0,0.3); transition: background 0.2s, transform 0.15s, box-shadow 0.2s; animation: ctaGlow 2.8s ease-in-out 3; }
.btn-white:hover { background: var(--cream); transform: translateY(-2px); box-shadow: 0 16px 42px rgba(0,0,0,0.36); animation: none; }
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 12px 34px rgba(0,0,0,0.3), 0 0 0 0 rgba(255,255,255,0); }
  50% { box-shadow: 0 12px 34px rgba(0,0,0,0.3), 0 0 0 9px rgba(255,255,255,0.12); }
}
.cta-call { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.62); text-decoration: none; transition: color 0.2s; }
.cta-call:hover { color: var(--gold); }
.cta-call strong { color: rgba(255,255,255,0.92); font-weight: 600; }
.wave-hero { position: relative; overflow: hidden; background-color: var(--dark); }
.wave-hero::before, .wave-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.wave-hero::before { background: url('/images/newharbor-background-hq.jpg') left center / cover no-repeat; transform: scaleX(-1); }
.wave-hero::after { background: linear-gradient(to bottom, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 110px, transparent 210px), linear-gradient(to right, rgba(8,4,18,0.92) 0%, rgba(8,4,18,0.66) 42%, rgba(8,4,18,0.1) 80%, transparent 100%); }
@media (max-width: 960px) {
  .wave-hero::after { background: linear-gradient(to bottom, rgba(8,4,18,0.85) 0%, rgba(8,4,18,0.66) 40%, rgba(8,4,18,0.86) 100%); }
}
footer { background: var(--dark); padding: 64px 56px 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; flex-wrap: wrap; gap: 40px 56px; }
.footer-brand { max-width: 320px; }
.footer-tagline { font-size: 12.5px; color: rgba(255,255,255,0.7); margin-top: 12px; font-weight: 300; }
.footer-place { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.footer-reach { margin-top: 20px; }
.footer-reach a, .footer-cols a { display: block; color: rgba(255,255,255,0.74); text-decoration: none; font-size: 13.5px; margin-bottom: 9px; transition: color 0.2s; }
.footer-reach a:hover, .footer-cols a:hover { color: var(--gold); }
.footer-li { display: inline-flex !important; align-items: center; gap: 7px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, auto); gap: 32px 56px; }
.footer-h { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 11.5px; color: rgba(255,255,255,0.56); }
.footer-copy a { color: inherit; text-decoration: none; transition: color 0.2s; }
.footer-copy a:hover { color: var(--gold); }
@media (max-width: 760px) {
  .footer-cols { grid-template-columns: repeat(2, auto); gap: 28px 44px; }
}
.btn-gold { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; padding: 15px 32px; border-radius: 100px; background: var(--gold); color: var(--dark); box-shadow: 0 4px 24px rgba(232,161,53,0.38); transition: background 0.2s, transform 0.15s, box-shadow 0.2s; }
.btn-gold:hover { background: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(232,161,53,0.45); }
/* Keyboard focus: a visible ring on every link, button, and FAQ question. The ring takes the element's
   text color, so it reads on light and dusk grounds alike; gold buttons ring in gold, white buttons
   (on the purple booking card) ring in white, and whole-card links ring in purple. */
:where(a, button, summary, [tabindex]):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
:where(.btn-gold, .nav-cta, .offer-link, .hw-bridge-cta):focus-visible { outline-color: var(--gold); }
:where(.btn-white):focus-visible { outline-color: #fff; }
:where(.ind-card, .cs-feature, .cs-compact, .in-hub-card):focus-visible { outline-color: var(--purple); }
:where(.nav-logo, .nav-toggle, .rv-dot):focus-visible { outline-color: #fff; }
:where(.nav.scrolled .nav-logo, .nav.scrolled .nav-toggle, .nav.menu-open .nav-toggle):focus-visible { outline-color: var(--purple); }
/* Reduced motion: finish every animation and transition at once, and show scroll-reveal content
   immediately. html raises specificity over pages' own [data-anim] rules. */
@media (prefers-reduced-motion: reduce) {
  html *, html *::before, html *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; animation-delay: 0s !important; scroll-behavior: auto !important; }
  html [data-anim] { opacity: 1 !important; transform: none !important; }
}
/* Secondary offer panel at the foot of the closing booking card (intro-call pages offer the checkup here). */
.cta-alt { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-alt p { font-size: 14.5px; font-weight: 300; line-height: 1.65; color: rgba(255,255,255,0.78); max-width: 520px; }
.cta-alt strong { color: #fff; font-weight: 600; }
.btn-outline-light { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; padding: 11.5px 22px; border-radius: 100px; border: 1.5px solid rgba(255,255,255,0.7); color: #fff; transition: background 0.2s, border-color 0.2s; }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
/* Sticky booking bar (phones only; built by js/stick.js). */
.nh-stick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 10px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--border), 0 -8px 24px rgba(26,14,43,0.08); transform: translateY(110%); transition: transform 0.3s ease; }
.nh-stick.show { transform: none; }
.nh-stick-btn { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 18px; border-radius: 100px; background: var(--gold); color: var(--dark); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; }
.nh-stick-call { flex: none; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; }
.nh-stick-call svg { width: 20px; height: 20px; stroke: var(--purple); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:where(.nh-stick-btn, .nh-stick-call):focus-visible { outline-color: var(--purple); }
@media (max-width: 960px) {
  .nh-stick { display: flex; }
  /* Tap targets: phone and footer links at least 44px tall. */
  .cta-call, .in-call, .hero-call { display: inline-block; padding: 12px 0; line-height: 20px; }
  .footer-reach a, .footer-cols a { display: flex; align-items: center; min-height: 44px; margin-bottom: 0; }
}
/* Client-voice case-study cards (homepage and /case-studies/): the client's quote and name on white, the story on Purple Tint. */
.mc-feature { display: grid; grid-template-columns: 0.9fr 1.1fr; background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--text); margin-bottom: 18px; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.mc-feature-photo { display: block; min-height: 100%; background: var(--dark); }
.mc-feature-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; display: block; }
.mc-feature-body { display: flex; flex-direction: column; }
.mc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 28px; }
.mc-card { display: grid; grid-template-columns: 0.75fr 1.25fr; background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.mc-card-photo { display: block; background: var(--dark); }
.mc-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-card-body { display: flex; flex-direction: column; }
.mc-feature:hover, .mc-card:hover { border-color: var(--purple); box-shadow: 0 20px 50px rgba(40,8,80,0.08); transform: translateY(-3px); }
.mc-quote { font-family: 'DM Serif Display', serif; font-size: 18px; line-height: 1.42; color: var(--text); }
.mc-quote--lg { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.35; }
.mc-attr { font-size: 13.5px; color: var(--text-mid); line-height: 1.5; }
.mc-attr strong { display: block; color: var(--text); font-weight: 600; font-size: 14px; }
.mc-story { font-size: 14.5px; font-weight: 300; line-height: 1.65; color: var(--text-mid); }
.mc-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--purple); transition: gap 0.2s, color 0.2s; }
.mc-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mc-feature:hover .mc-link, .mc-card:hover .mc-link { gap: 12px; color: var(--gold-dark); }
@media (max-width: 1080px) {
  .mc-row { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .mc-feature { grid-template-columns: 1fr; }
  .mc-feature-photo { aspect-ratio: 4 / 3; }
  .mc-card { grid-template-columns: 1fr; }
  .mc-card-photo { aspect-ratio: 16 / 9; }
}
.mc-main { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 30px 30px 26px; background: #fff; }
.mc-foot { display: flex; flex-direction: column; gap: 12px; padding: 22px 30px 26px; background: #F0ECF8; }
.mc-feature .mc-main { padding: 46px 48px 34px; gap: 18px; justify-content: center; }
.mc-feature .mc-foot { padding: 26px 48px 32px; }
@media (max-width: 960px) {
  .mc-main, .mc-feature .mc-main { padding: 26px 24px 22px; }
  .mc-foot, .mc-feature .mc-foot { padding: 20px 24px 24px; }
}
.mc-head { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 22px; line-height: 1.25; color: var(--text); }
.mc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 20px; margin: 2px 0 4px; }
.mc-stats span { font-size: 13px; color: var(--text-mid); line-height: 1.4; }
.mc-stats strong { display: block; font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 22px; color: var(--purple); line-height: 1.1; }
