/* ==========================================================================
   Voyage Financial Planning — Apple-inspired design system
   Accent: #A0DBCB (never shaded, tinted, or made transparent)
   ========================================================================== */

:root {
  color-scheme: light;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.18);
  --accent: #A0DBCB;
  --on-accent: #1d1d1f;
  --nav-bg: rgba(255, 255, 255, 0.72);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.10);
  --thumb: #ffffff;
  --track: #e8e8ed;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 96px;

  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --nav-h: 56px;
  --wide: 1080px;
  --narrow: 680px;

  /* Service calendar categories (Apple Calendar system colors; planning uses the brand mint) */
  --cat-planning: #A0DBCB;
  --cat-meeting: #007AFF;
  --cat-tax: #FF3B30;
  --cat-estate: #A2845E;
  --cat-invest: #5856D6;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font: 400 17px/1.5 var(--font);
  letter-spacing: -0.01em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 var(--space-md); }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.022em; text-wrap: balance; }
.lead { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--accent); color: var(--on-accent); padding: 10px 18px; border-radius: 980px; font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.text-hero { font-size: clamp(38px, 6vw, 64px); line-height: 1.06; font-weight: 600; letter-spacing: -0.03em; }
.text-title { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.12; letter-spacing: -0.028em; }
.text-subtitle { font-size: 21px; line-height: 1.3; letter-spacing: -0.02em; }
.lead { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.45; color: var(--text-2); letter-spacing: -0.016em; }
.muted { color: var(--text-2); }
.caption { font-size: 13px; line-height: 1.4; color: var(--text-2); letter-spacing: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 var(--space-lg); }
.narrow { max-width: calc(var(--narrow) + 2 * var(--space-lg)); }
.section { padding: var(--space-2xl) 0; }
.section-alt { background: var(--bg-2); }
.section-ink { background: #1d1d1f; }
.section-ink .section-head .text-title { color: #fff; }
.section-ink .section-head .lead { color: #a1a1a6; }
.section-ink .card { border-color: transparent; }
.section-ink .feature p { color: var(--text); }
.section-mint { background: #A0DBCB; }
.section-head { text-align: center; max-width: var(--narrow); margin: 0 auto var(--space-xl); }
.section-head .lead { margin: var(--space-md) 0 0; }
.stack > * + * { margin-top: var(--space-md); }
main { display: block; }

@media (max-width: 734px) {
  .container { padding: 0 var(--space-md); }
  .narrow { max-width: calc(var(--narrow) + 2 * var(--space-md)); }
  .section { padding: 72px 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 24px;
  border-radius: 980px; border: 1px solid transparent;
  font: 500 17px/1.15 var(--font); letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--text); }
/* One button size sitewide (matches voyage-wm.com and Apple UI): 44px min, 12px 24px, 17px. */
.btn-sm, .btn-lg { min-height: 44px; padding: 12px 24px; font-size: 17px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; text-decoration: none; min-height: 44px; }
.link-arrow::after { content: '›'; font-size: 1.25em; line-height: 1; transition: transform 0.2s var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover::after { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
/* Full-width bar with the same edge padding as voyage-wm.com's header (.gn-bar): clamp(22px, 3.5vw, 64px) */
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); margin: 0 auto; padding: 0 clamp(22px, 3.5vw, 64px); }
.nav-logo { display: flex; align-items: center; min-height: 44px; flex: none; }
.nav-logo img { height: 28px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: var(--space-xs); }
.nav-menu > a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: 14px; text-decoration: none; color: var(--text); opacity: 0.8;
  transition: opacity 0.2s var(--ease);
}
.nav-menu > a:not(.btn):hover, .nav-menu > a[aria-current] { opacity: 1; }
.nav-menu > a[aria-current] { font-weight: 500; }
.nav-menu .btn { margin-left: var(--space-sm); }
/* Desktop header buttons match voyage-wm.com's compact header CTAs: 36px tall, 14px text, 0 16px padding. */
@media (min-width: 861px) { .nav-menu .btn { min-height: 36px; height: 36px; padding: 0 16px; font-size: 14px; gap: 6px; } }
.nav-toggle { display: none; }

/* Hamburger below 861px: logo lockup + five nav items need ~820px on one row */
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; margin-right: -10px; padding: 0 11px;
    background: none; border: 0; cursor: pointer; color: var(--text);
  }
  .nav-toggle span { display: block; height: 1.5px; width: 22px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease); }
  .nav-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--space-sm) var(--space-md) var(--space-lg);
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
  .nav-menu > a:not(.btn) { font-size: 21px; font-weight: 600; padding: 10px 4px; opacity: 1; border-bottom: 1px solid var(--line); }
  .nav-menu .btn { margin: var(--space-md) 0 0; min-height: 48px; font-size: 17px; }
}

/* ---------- Hero ---------- */
.hero { padding: 88px 0 var(--space-2xl); text-align: center; }
.hero .lead { max-width: 640px; margin: var(--space-lg) auto 0; }
.hero .cta-row { margin-top: 36px; }
.hero-media { margin-top: 64px; }
@media (max-width: 734px) { .hero { padding: 56px 0 72px; } .hero-media { margin-top: 48px; } }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 32px;
}
.glass {
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}
.grid { display: grid; gap: var(--space-lg); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 734px) { .grid-2 { grid-template-columns: 1fr; } .card { padding: 24px; } }

.feature h3 { font-size: 21px; line-height: 1.25; margin: 20px 0 8px; }
.feature p { color: var(--text-2); margin: 0; }
.features-centered .feature { text-align: center; }
.features-centered .icon { margin: 0 auto; }
.icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent);
}
.icon svg { width: 24px; height: 24px; }

/* Bento grid: wide and tall cards break up the rows, with the copy resting at the bottom of each card */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(260px, auto); gap: var(--space-lg); }
.bento-card { display: flex; flex-direction: column; }
.bento-card h3 { margin-top: auto; padding-top: var(--space-lg); }
.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }
@media (min-width: 735px) {
  .bento-wide h3, .bento-tall h3 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -0.01em; }
  .bento-wide p, .bento-tall p { font-size: 19px; max-width: 520px; }
  .bento-wide .icon, .bento-tall .icon { width: 64px; height: 64px; border-radius: 18px; }
  .bento-wide .icon svg, .bento-tall .icon svg { width: 32px; height: 32px; }
}
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); }
  .bento-card:last-child { grid-column: auto; }
}
@media (max-width: 734px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-wide, .bento-tall { grid-column: auto; grid-row: auto; }
  .bento-card { min-height: 200px; }
}

/* Sticky stacking cards: each card pins a little lower than the last, so the top edges stay visible */
.stack { display: grid; gap: var(--space-xl); }
.stack-card {
  position: sticky;
  top: calc(var(--nav-h) + var(--stack-head-h, 180px) + var(--i) * 12px);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl);
  min-height: clamp(220px, 34vh, 300px);
  padding: clamp(28px, 4vw, 48px);
}
/* The section header pins under the nav while the cards stack beneath it; main.js sets --stack-head-h to its height */
.stack-head {
  position: sticky; top: var(--nav-h); z-index: 5;
  margin-bottom: 0; padding: var(--space-lg) 0 var(--space-xl);
  background: var(--bg);
  box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax);
}
.stack-section .section-head.stack-head { margin-top: calc(var(--space-lg) * -1); }
.stack-copy { max-width: 560px; }
.stack-card h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 12px; }
.stack-card p { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.45; }
@media (max-width: 734px) {
  .stack { gap: var(--space-lg); }
  .stack-card { flex-direction: column; align-items: flex-start; justify-content: center; padding: 28px; }
}
/* Too short to pin a card without cutting it off */
@media (max-height: 560px) { .stack-card, .stack-head { position: static; min-height: 0; } }

/* ---------- Check list ---------- */
.check-list { display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; line-height: 1.45; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.dot-list { display: grid; gap: 10px; }
.dot-list li { position: relative; padding-left: 20px; }
.dot-list li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--text-2); }

/* ---------- Accordion ---------- */
.accordion { border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.accordion-item + .accordion-item { border-top: 1px solid var(--line); }
.accordion-item h3 { font-size: inherit; }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  min-height: 72px; padding: 20px 28px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: 600 21px/1.25 var(--font); letter-spacing: -0.02em; color: var(--text);
}
.accordion-icon {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg-2);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}
.accordion-icon svg { width: 14px; height: 14px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); }
.accordion-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.4s var(--ease); }
.accordion-panel > div { overflow: hidden; }
.accordion-panel .dot-list { padding: 0 28px 28px; color: var(--text-2); }
.js .accordion-item:not(.is-open) .accordion-panel { grid-template-rows: 0fr; }
.js .accordion-item:not(.is-open) .accordion-panel > div { visibility: hidden; transition: visibility 0s 0.4s; }
@media (max-width: 734px) {
  .accordion-trigger { padding: 18px 20px; font-size: 19px; }
  .accordion-panel .dot-list { padding: 0 20px 24px; }
}

/* ---------- Split / text blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--space-xl); } }
.prose p { color: var(--text-2); font-size: 19px; line-height: 1.55; }
.prose p strong { color: var(--text); font-weight: 600; }

/* ---------- CTA card ---------- */
.cta-card { text-align: center; padding: 64px 48px; }
.cta-card .lead { margin: var(--space-md) auto 0; max-width: 560px; }
.cta-card .check-list { display: inline-grid; text-align: left; margin: 32px auto 36px; }
@media (max-width: 734px) { .cta-card { padding: 48px 24px; } }

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.compare th, .compare td { padding: 20px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 17px; font-weight: 600; padding-top: 24px; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td { line-height: 1.4; }
.compare .us { background: var(--card); }
.compare thead .us { border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.compare tbody tr:last-child .us { border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius); }
.compare .them { color: var(--text-2); }
.compare td.us span, .compare td.them span { position: relative; display: block; padding-left: 32px; }
.compare td.us span::before, .compare td.them span::before {
  content: ''; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
}
.compare td.us span::before {
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.compare td.them span::before { border: 1.5px solid var(--line-strong); }
.compare-wrap { border-radius: var(--radius); background: var(--bg-2); padding: 8px; }
@media (max-width: 734px) {
  .compare th, .compare td { padding: 16px 14px; font-size: 15px; }
  .compare td.us span, .compare td.them span { padding-left: 0; padding-top: 30px; }
}

/* ---------- Profile ---------- */
.profile-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-2);
  box-shadow: var(--shadow); position: relative; max-width: 440px;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo .fallback { display: none; }
.profile-photo.is-missing img { display: none; }
.profile-photo.is-missing .fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 72px; font-weight: 600; letter-spacing: -0.03em; color: var(--text-2);
}
.profile .text-title { margin-bottom: var(--space-lg); }

/* ---------- Pricing ---------- */
.segmented {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 2px; border-radius: 980px; background: var(--track);
  margin: 0 auto;
}
.segmented button {
  position: relative; z-index: 1; min-height: 30px; min-width: 88px; padding: 6px 14px;
  border: 0; background: none; border-radius: 980px; cursor: pointer;
  font: 500 13px/1 var(--font); color: var(--text-2);
  transition: color 0.25s var(--ease);
}
.segmented button[aria-pressed="true"] { color: var(--text); }
.segmented-thumb {
  position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc(50% - 2px);
  border-radius: 980px; background: var(--thumb);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 1px 1px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s var(--ease);
}
.segmented[data-period="annual"] .segmented-thumb { transform: translateX(100%); }
.pricing-toggle { text-align: center; margin-bottom: var(--space-xl); }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); align-items: stretch; }
.tier {
  display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0;
  padding: 36px 32px;
}
.tier-name { font-size: 28px; letter-spacing: -0.025em; }
.tier-desc { color: var(--text-2); margin: 10px 0 0; }
.tier-price { padding: 28px 0 24px; }
.price-amount { display: block; font-size: clamp(28px, 2.7vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price-period { display: block; margin-top: 6px; }
.tier-cta { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.tier-features { padding-top: 28px; }
.tier-features-intro { font-weight: 600; margin-bottom: 16px; }
.price-amount, .price-period { transition: opacity 0.2s var(--ease); }
.is-switching .price-amount, .is-switching .price-period { opacity: 0; }
.pricing-note { text-align: center; margin-top: var(--space-lg); }
.service-disclosures { max-width: 760px; margin: 64px auto 0; text-align: left; }
.service-disclosures p + p { margin-top: 12px; }
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* Other services: large card on the left spans two rows, two cards stack on the right */
.other-services { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-lg); max-width: 980px; margin: 0 auto; }
.other-card { display: flex; flex-direction: column; padding: 36px 32px; }
.other-card .tier-desc { color: var(--text); }
.other-card .tier-price { padding: 24px 0 20px; }
.other-card .tier-cta--last { padding-bottom: 0; border-bottom: 0; margin-top: auto; padding-top: 24px; }
.other-card .tier-price + .tier-cta--last { padding-top: 0; }
.other-card--lg { grid-row: span 2; }
/* Ink cards (pricing tiers, Other Services): Apple near-black with light text */
.card--ink { background: #1d1d1f; border-color: #1d1d1f; color: #f5f5f7; }
.card--ink .tier-name, .card--ink .price-amount { color: #f5f5f7; }
.card--ink .tier-desc { color: #fff; }
.card--ink .price-period { color: #a1a1a6; }
.card--ink .tier-cta, .card--ink .tier-features { border-color: rgba(255, 255, 255, 0.16); }
.other-card--lg .tier-features { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.other-card--lg .tier-price { margin-top: auto; padding-top: 32px; }
.other-card--lg .tier-cta { padding-bottom: 0; border-bottom: 0; }
@media (max-width: 900px) {
  .other-services { grid-template-columns: 1fr; max-width: 480px; }
  .other-card--lg { grid-row: auto; }
}

/* ---------- Service calendar ---------- */
[data-cat="planning"] { --cat: var(--cat-planning); --cat-on: #1d1d1f; }
[data-cat="tax"] { --cat: var(--cat-tax); }
[data-cat="estate"] { --cat: var(--cat-estate); }
[data-cat="invest"] { --cat: var(--cat-invest); }
[data-cat="meeting"] { --cat: var(--cat-meeting); }

.cal-window {
  display: grid; grid-template-columns: 232px minmax(0, 1fr);
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.cal-sidebar { background: var(--bg-2); border-right: 1px solid var(--line); padding: 18px 12px 24px; }
.cal-lights { display: flex; gap: 8px; padding: 0 8px 22px; }
.cal-lights span { width: 12px; height: 12px; border-radius: 50%; background: var(--line-strong); }
.cal-legend { display: grid; gap: 2px; }
.cal-cat {
  display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px 10px;
  border-radius: 8px; font-size: 14px; line-height: 1.3; color: var(--text); cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.cal-cat:hover { background: var(--line); }
.cal-cat input { position: absolute; opacity: 0; pointer-events: none; }
.cal-check {
  flex: none; position: relative; width: 16px; height: 16px; border-radius: 4px;
  border: 1.5px solid var(--cat); background: transparent; transition: background-color 0.2s var(--ease);
}
.cal-check::after {
  content: ''; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px;
  border: solid var(--cat-on, #ffffff); border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0;
}
.cal-cat input:checked + .cal-check { background: var(--cat); }
.cal-cat input:checked + .cal-check::after { opacity: 1; }
.cal-cat input:focus-visible + .cal-check { outline: 3px solid var(--accent); outline-offset: 2px; }

.cal-main { min-width: 0; }
.cal-title { margin: 0; padding: 20px 24px 18px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
.cal-title strong { font-weight: 700; }
.calendar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.month { padding: 14px 16px 20px; background: var(--card); min-height: 168px; }
.month h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.month.is-current h3 { display: inline-block; margin-left: -10px; padding: 1px 10px; border-radius: 980px; background: var(--accent); color: var(--on-accent); }
.cal-events { display: grid; gap: 6px; }
.cal-events li { display: flex; gap: 8px; font-size: 14px; line-height: 1.35; color: var(--text); }
.cal-events li::before { content: ''; flex: none; width: 3px; border-radius: 2px; background: var(--cat); }
.cal-events li[hidden] { display: none; }
/* Meetings read like Apple's all-day events: a tinted block above the rest */
.cal-events li[data-cat="meeting"] { margin: 0 -6px 2px; padding: 3px 6px; border-radius: 5px; background: color-mix(in srgb, var(--cat) 14%, transparent); font-weight: 500; }

@media (max-width: 900px) {
  .cal-window { grid-template-columns: 1fr; }
  .cal-sidebar { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px; }
  .cal-lights { padding: 0 0 14px; }
  .cal-legend { display: flex; flex-wrap: wrap; gap: 6px; }
  .cal-cat { background: var(--card); border: 1px solid var(--line); border-radius: 980px; padding: 6px 12px; }
  .calendar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 734px) { .calendar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .month { padding: 12px 14px 16px; min-height: 0; } .cal-title { padding: 16px; } }
@media (max-width: 420px) { .calendar { grid-template-columns: 1fr; } }
@media (pointer: coarse) { .cal-cat { min-height: 44px; } }

/* ---------- Insights feed ---------- */
.feed { display: grid; gap: var(--space-xl); max-width: 760px; margin: 0 auto; }
.post-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card-media { display: block; aspect-ratio: 1200 / 630; background: var(--bg-2); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.03); }
.post-card-body { padding: 32px 36px 24px; display: flex; flex-direction: column; }
.post-card-body h2 { font-size: 28px; line-height: 1.2; margin: 8px 0 12px; }
.post-card-body h2 a { color: inherit; text-decoration: none; }
.post-card-body h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Preview: first five lines of the article */
.post-card-excerpt {
  color: var(--text-2); margin: 0; line-height: 1.55;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden;
}
.post-card-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 734px) { .post-card-body { padding: 24px 20px 16px; } .post-card-body h2 { font-size: 24px; } }

.feed-disclosures { max-width: 760px; margin: var(--space-2xl) auto 0; padding-top: var(--space-lg); border-top: 1px solid var(--line); }
.feed-disclosures-label { font-size: 15px; font-weight: 600; margin: 0 0 8px; letter-spacing: 0; }
.feed-disclosures p { font-size: 14px; line-height: 1.6; color: var(--text-2); margin: 0 0 10px; }

/* ---------- Share buttons ---------- */
.share { display: flex; gap: 4px; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; color: var(--text-2); text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.share-btn svg { width: 18px; height: 18px; }
.share-btn:hover { background: var(--bg-2); color: var(--text); }
.share-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
@media (pointer: coarse) { .share-btn { width: 44px; height: 44px; } }
/* Article pages: floating share bar, bottom left */
.share-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 40;
  display: flex; flex-direction: column; gap: 2px; padding: 6px;
  border-radius: 980px; background: var(--nav-bg); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.share-float .share-btn { color: var(--text); }
.share-float .share-btn:hover { background: var(--line); }
.share-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (max-width: 734px) { .share-float { left: 12px; bottom: 12px; flex-direction: row; } }

/* ---------- Article ---------- */
.article-hero {
  position: relative; min-height: 62vh; display: flex; align-items: center; justify-content: center;
  padding: 64px 0; overflow: hidden; background: #1d1d1f;
}
.article-hero-bg { position: absolute; inset: 0; }
.article-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.2); }
.article-hero .container { position: relative; z-index: 1; display: flex; justify-content: center; }
/* Liquid glass panel — matches voyage-wm.com article hero */
.article-hero-glass {
  max-width: 760px; padding: 48px;
  background: rgba(52, 50, 49, 0.3);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #ffffff; text-align: center;
}
.article-hero-glass h1 {
  font-size: clamp(36px, 5vw, 56px); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em;
  margin: 0 0 20px;
}
/* Category pill */
.article-category {
  display: inline-block; margin-bottom: 20px; padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 980px;
  color: #ffffff; font-size: 13px; font-weight: 500; letter-spacing: 0; line-height: 1.4;
}
.byline { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
/* Apple-style metadata line: By Name · Date · Read time */
.byline > * + *::before { content: '\00B7'; margin-right: 10px; }
@media (max-width: 734px) { .byline > :first-child { flex-basis: 100%; } .byline > :nth-child(2)::before { content: none; } }
.byline strong { color: #ffffff; font-weight: 600; }
.article-hero-glass .lead { color: rgba(255, 255, 255, 0.9); margin: 0; }
.article-hero-glass h1:last-child { margin-bottom: 0; }

/* Page photo heroes (Index, Services, About): same photo + liquid glass panel as voyage-wm.com */
.page-hero--home { min-height: min(88vh, 860px); }
.page-hero--home .article-hero-glass { max-width: 900px; }
.page-hero--short { min-height: 0; padding: 120px 0; }
.page-hero--about .article-hero-bg img { object-position: 65% center; }
.page-hero .article-hero-glass, .article-hero > .container > .article-hero-glass { animation: fadeUp 0.9s var(--ease) both; }
.article-hero-glass .cta-row { margin-top: 32px; }
.btn-glass {
  background: rgba(255, 255, 255, 0.14); color: #ffffff; border-color: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.24); }
@media (max-width: 734px) {
  .page-hero--home { min-height: 0; padding: 56px 0; }
  .page-hero--short { padding: 64px 0; }
  .page-hero--about .article-hero-bg img { object-position: 70% center; }
  .article-hero-glass .cta-row { margin-top: 24px; }
}
.article-body { padding: 72px 0 var(--space-2xl); }
/* Blog text column grows with the screen (side margins shrink); type scales up so lines stay readable */
.article-body .narrow { max-width: clamp(808px, 80vw, 1440px); }
/* Desktop: back to the Apple UI reading column (~680px text, 19px type) */
@media (min-width: 1200px) { .article-body .narrow { max-width: calc(var(--narrow) + 2 * var(--space-lg)); } }
@media (max-width: 734px) { .article-body .container { padding: 0 24px; } }
.article-body p { font-size: 19px; line-height: 1.65; color: var(--text); }
.article-body .narrow > p:first-child { font-size: 22px; line-height: 1.5; color: var(--text-2); }
.article-foot { margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--line); }

/* ---------- Article content (migrated Insights posts) ---------- */
.prose-article { font-size: clamp(19px, 0.6vw + 12.5px, 24px); line-height: 1.65; }
@media (min-width: 1200px) { .prose-article { font-size: 19px; } }
.prose-article > :first-child { margin-top: 0; }
.prose-article p { margin: 0 0 1.2em; font-size: inherit; }
/* Inset grouped list (iOS Settings style) for short quoted lines */
.prose-article .quote-card { list-style: none; margin: 8px 0 32px; padding: 4px 24px; background: var(--bg-2); border-radius: var(--radius); }
.prose-article .quote-card li { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.prose-article .quote-card li:last-child { border-bottom: 0; }
/* Callout box (modeled on voyage-wm.com example-box, neutral instead of blue; no label (no eyebrow text)) */
.prose-article .callout-box { margin: 24px 0 32px; padding: 20px 24px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose-article .callout-box p { margin: 0; }
.prose-article .callout-box p + p { margin-top: 0.6em; }
.prose-article h2 { font-size: clamp(26px, 3.2vw, 32px); line-height: 1.2; margin: 56px 0 16px; }
.prose-article h3 { font-size: 22px; line-height: 1.3; margin: 36px 0 12px; }
.prose-article ul, .prose-article ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose-article ul { list-style: disc; }
.prose-article ol { list-style: decimal; }
.prose-article li { margin-bottom: 0.5em; padding-left: 0.2em; }
.prose-article li::marker { color: var(--text-2); }
/* In-text links: Apple's default link blue, underlined on hover */
.prose-article a:not(.btn), .article-body .narrow > p a { color: #0066cc; text-decoration: none; }
.prose-article a:not(.btn):hover, .article-body .narrow > p a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prose-article strong { font-weight: 600; }
.prose-article .text-center { text-align: center; }
.prose-article blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-size: 23px; line-height: 1.45; letter-spacing: -0.015em; }
.prose-article blockquote p { margin: 0; }

.prose-article .key-questions { background: var(--bg-2); border-radius: var(--radius); padding: 28px 32px; margin: 0 0 40px; }
.prose-article .key-questions-heading { font-size: 21px; margin: 0 0 16px; }
.prose-article .kq-item { padding: 16px 0; border-top: 1px solid var(--line); }
.prose-article .kq-item h3 { font-size: 18px; margin: 0 0 6px; }
.prose-article .kq-item p { font-size: 17px; color: var(--text-2); margin: 0; }

.prose-article .reason-card { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; margin: 20px 0; }
.prose-article .reason-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 17px; }
.prose-article .reason-content h3 { margin: 6px 0 8px; }
.prose-article .reason-content p { color: var(--text-2); margin: 0; }

.prose-article .article-table-wrap, .prose-article .loan-table-wrap { overflow-x: auto; margin: 24px 0 8px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.prose-article table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.prose-article th, .prose-article td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose-article th { background: var(--bg-2); font-weight: 600; }
.prose-article tbody tr:last-child td { border-bottom: 0; }
.prose-article td:first-child { font-weight: 600; }
.prose-article .loan-table th.stacey-col { background: var(--accent); color: var(--on-accent); }
.prose-article .table-caption, .prose-article .chart-caption { font-size: 14px; line-height: 1.5; color: var(--text-2); margin: 8px 0 28px; }

.prose-article .pro-con-list, .prose-article .scenario-list, .prose-article .questions-list { list-style: none; padding: 0; margin: 16px 0 28px; border-top: 1px solid var(--line); }
.prose-article .pro-con-list li, .prose-article .scenario-list li, .prose-article .questions-list li { position: relative; margin: 0; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); }
.prose-article .pro-con-list li::before, .prose-article .scenario-list li::before { position: absolute; left: 4px; top: 13px; font-weight: 700; }
.prose-article .pro-con-list.pros li::before { content: '+'; }
.prose-article .pro-con-list.cons li::before { content: '–'; color: var(--text-2); }
.prose-article .scenario-list li::before { content: '›'; font-size: 1.2em; top: 10px; }
.prose-article .questions-list li { display: flex; gap: 12px; padding-left: 0; }
.prose-article .q-arrow { flex: none; font-weight: 600; }

.prose-article .video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #1d1d1f; margin: 24px 0 8px; }
.prose-article .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* The comparison chart is drawn for a light background: keep it on white in dark mode too */
.prose-article .article-figure { margin: 36px 0; padding: 16px; background: #ffffff; border-radius: var(--radius); border: 1px solid var(--line); }
.prose-article .article-figure svg { width: 100%; height: auto; display: block; }

.prose-article .article-cta { margin: 28px 0; }
.prose-article .article-cta-card { margin: 40px 0 0; padding: 40px 32px; text-align: center; background: var(--bg-2); border-radius: var(--radius); }
.prose-article .article-cta-card h3 { margin: 0 auto 24px; max-width: 520px; font-size: 24px; }

.prose-article .article-disclosures { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose-article .article-disclosures-label { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.prose-article .article-disclosures p { font-size: 14px; line-height: 1.6; color: var(--text-2); margin: 0 0 10px; }

@media (max-width: 734px) {
  .prose-article { font-size: 18px; }
  .prose-article .reason-card { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .prose-article .key-questions { padding: 22px 20px; }
  .prose-article .article-figure { padding: 8px; }
  .prose-article table { font-size: 15px; }
  .prose-article th, .prose-article td { padding: 12px 10px; }
}
@media (max-width: 734px) {
  .article-hero { min-height: 56vh; padding: 40px 0; }
  .article-hero-glass { padding: 28px 24px; }
}

/* ---------- Client portals ---------- */
.portal { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; text-align: center; padding: 36px 32px; }
.portal-logo { height: 64px; display: grid; place-items: center; margin-bottom: 20px; }
.portal-logo img { max-height: 48px; max-width: 200px; width: auto; height: auto; }
.portal-logo .fallback { display: none; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.portal-logo.is-missing img { display: none; }
.portal-logo.is-missing .fallback { display: block; }
.portal p { color: var(--text-2); margin: 0 0 28px; }
.portal .btn { align-self: end; }
.help-note { text-align: center; margin-top: var(--space-xl); color: var(--text-2); }
.help-note a { color: var(--text); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 14px; color: var(--text-2); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-xl); }
.footer-brand img { height: 26px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 360px; line-height: 1.55; }
.footer h2 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 12px; letter-spacing: 0; }
.footer-links { display: grid; gap: 4px; }
.footer a { text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; }
.footer-legal p { margin: 0 0 8px; }
@media (max-width: 734px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero > .container > * { animation: fadeUp 0.8s var(--ease) both; }
.hero > .container > *:nth-child(2) { animation-delay: 0.08s; }
.hero > .container > *:nth-child(3) { animation-delay: 0.16s; }
.hero > .container > *:nth-child(4) { animation-delay: 0.24s; }
.js-reveal .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Footer map (Apple Maps style) ---------- */
.footer-map { position: relative; margin-bottom: var(--space-xl); height: 220px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--track); }
.footer-map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.75) contrast(0.95); pointer-events: none; }
.footer-map-card { position: absolute; left: 12px; bottom: 12px; right: 12px; max-width: 360px; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 16px; background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.footer-map-pin { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #ff3b30 radial-gradient(circle, #fff 0 5px, transparent 5.5px); box-shadow: 0 2px 6px rgba(255, 59, 48, 0.45); }
.footer-map-text { display: grid; line-height: 1.25; min-width: 0; flex: 1; }
.footer-map-text strong { color: var(--text); font-weight: 600; font-size: 14px; }
.footer-map-text span { font-size: 12px; }
.footer a.footer-map-btn { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 12px 24px; border-radius: 980px; background: #0a84ff; color: #fff; font-size: 17px; font-weight: 500; white-space: nowrap; }
.footer a.footer-map-btn:hover { color: #fff; text-decoration: none; filter: brightness(1.08); }
@media (max-width: 734px) { .footer-map { height: 200px; } }
.footer-address { font-style: normal; line-height: 1.55; margin-bottom: 8px; }
@media (min-width: 735px) { .hero-line { display: block; } }

/* ---------- About: philosophy ---------- */
.philosophy { align-items: start; }
.philosophy-text { margin-top: var(--space-lg); text-align: left; }
.philosophy-text .lead { margin: 0 0 var(--space-md); }
.philosophy-text .lead strong { color: var(--text); font-weight: 600; }
.job-title { margin: 8px 0 var(--space-lg); }

/* ---------- Nav: logo lockup ---------- */
.nav-logo { gap: 10px; text-decoration: none; }
.nav-logo-slash { width: 1px; height: 26px; background: var(--text); opacity: 0.35; flex: none; }
.nav-logo-text { color: var(--text); font-size: 20px; font-weight: 200; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; position: relative; top: -1px; }
@media (max-width: 400px) { .nav-logo { gap: 8px; } .nav-logo-text { font-size: 16px; } .nav-logo-slash { height: 22px; } }
.flat-fee .card p { margin: 0; }
@media (max-width: 900px) { .flat-fee > div:first-child { text-align: center; } }

/* ---------- Pricing: payment options ---------- */
.payment-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: var(--space-lg); }
.payment-label { font-size: 14px; font-weight: 500; color: var(--text); }
.payment-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.payment-list li { padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 980px; font-size: 14px; color: var(--text-2); }

/* Footer: link to the Voyage Wealth Management site (its blue accent) */
.footer a.footer-link-wm, .footer a.footer-link-wm:hover, .footer a.footer-link-wm:visited, .footer a.footer-link-wm:active { color: #6FA8DC; }
.footer a.footer-link-wm::after { content: '\2197' / ''; margin-left: 4px; font-size: 0.95em; }

/* Calendly popup: Calendly caps it at 1000px, which squeezes the time column once a date is picked */
@media (min-width: 976px) {
  .calendly-popup { max-width: 1200px !important; width: calc(100% - 40px) !important; }
}

/* Family of brands (About): two boxes, mirrored from voyage-wm.com/about */
.brand-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0 0 8px; text-align: left; }
.brand-box { display: block; padding: 32px 28px; border-radius: 18px; text-decoration: none; }
.brand-box h3 { font-size: 1.35rem; line-height: 1.2; margin: 0 0 6px; font-weight: 600; }
.brand-box .brand-url { font-size: .95rem; margin: 0 0 14px; }
.brand-box p:last-child { font-size: 1rem; line-height: 1.55; margin: 0; }
.brand-box--wm { background: #d2d2d7; color: #000; }
.brand-box--wm h3, .brand-box--wm p { color: #000; }
.brand-box--wm .brand-url { opacity: .85; }
.brand-box--fp { background: #000; }
.brand-box--fp h3, .brand-box--fp .brand-url { color: #A0DBCB; }
.brand-box--fp p:last-child { color: #fff; }
.brand-note { margin-top: 24px; text-align: center; color: var(--text-2); }
/* About page: body paragraphs in black (the photo hero keeps its own white text) */
.page-about .section .lead, .page-about .brand-note { color: var(--text); }
@media (max-width: 700px) { .brand-boxes { grid-template-columns: 1fr; } }

/* ---------- Contact split (Get In Touch + form) ---------- */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.contact-intro { background: #000; border-radius: 28px; display: flex; align-items: center; justify-content: center; padding: 48px 32px; }
.contact-intro h2 { color: transparent; -webkit-text-stroke: 2px #fff; font-weight: 700; text-transform: uppercase; line-height: 0.95; letter-spacing: 0; text-align: center; margin: 0; font-size: clamp(2.75rem, 6vw, 5.5rem); }
.contact-intro h2 span { display: block; font-size: 1.5em; }
.contact-card { padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 500; color: var(--text); }
.form-field label .optional { color: var(--text-2); font-weight: 400; }
.form-field input, .form-field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; font: inherit; font-size: 17px; color: var(--text);
  background: #fff; border: 1px solid #d2d2d7; border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.form-field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(160, 219, 203, 0.35); }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: #e30000; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-actions .caption { max-width: 360px; margin: 0; }
.form-recaptcha { margin-top: 20px; min-height: 78px; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-size: 15px; line-height: 1.5; }
.form-status--error { color: #c4001a; }
.form-success { text-align: center; padding: 24px 0; }
.form-success svg { width: 48px; height: 48px; color: #34c759; margin-bottom: 12px; }
@media (max-width: 800px) { .contact-split { grid-template-columns: 1fr; } .contact-intro { padding: 40px 24px; } }
@media (max-width: 734px) { .contact-card { padding: 24px; } .form-grid { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; } }

/* Black contact card */
.contact-card { background: #000; border-color: #000; color: #fff; }
.contact-card .form-field label { color: #fff; }
.contact-card .form-field label .optional,
.contact-card .caption { color: rgba(255, 255, 255, 0.7); }
.contact-card .form-status--error { color: #ff6b6b; }
.contact-card .form-status a { color: #fff; text-decoration: underline; }
.contact-card .form-field input[aria-invalid="true"], .contact-card .form-field textarea[aria-invalid="true"] { border-color: #ff6b6b; }

/* White "Get In Touch" panel, black outline */
.contact-intro { background: #fff; border: 2px solid #000; }
.contact-intro h2 { -webkit-text-stroke-color: #000; }

/* White glow on focused fields */
.contact-card .form-field input:focus, .contact-card .form-field textarea:focus { border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.45), 0 0 14px 2px rgba(255, 255, 255, 0.6); }

/* Solid "Get In Touch" heading */
.contact-intro h2 { color: #000; -webkit-text-stroke: 0; }

/* ---------- FAQ ---------- */
.faq-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 36px auto 0; max-width: 760px; }
.faq-jump a { font-size: 14px; text-decoration: none; color: var(--text); border: 1px solid var(--line-strong); border-radius: 980px; padding: 8px 16px; transition: border-color 0.2s var(--ease); }
.faq-jump a:hover { border-color: var(--text); }
.faq-group + .faq-group { margin-top: 72px; }
.faq-group > h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.022em; font-weight: 600; margin: 0 0 20px; }
.faq-list { padding: 0 28px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 19px; line-height: 1.35; font-weight: 600; letter-spacing: -0.014em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: translateY(-3px) rotate(45deg); transition: transform 0.25s var(--ease); }
.faq-item[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq-answer { padding: 0 0 24px; color: var(--text); }
.faq-answer > :last-child { margin-bottom: 0; }
.faq-answer ul, .faq-answer ol { margin: 0 0 16px; padding-left: 22px; }
.faq-answer li + li { margin-top: 6px; }
.faq-answer a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 734px) { .faq-list { padding: 0 20px; } .faq-item summary { font-size: 17px; padding: 18px 0; } }

/* ---------- Blog strip (Index, Services, About) — matches the article strips on voyage-wm.com ---------- */
.blog-strip { background: #1d1d1f; }
.container--strip { max-width: 1600px; margin: 0 auto; padding: 0 clamp(16px, 3.5vw, 64px); }
.strip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.strip-card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border-radius: var(--radius); padding: 36px 32px;
  box-shadow: var(--shadow); text-decoration: none; color: var(--text);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.strip-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1); }
.strip-card-label { font-size: 13px; font-weight: 600; color: var(--text-2); letter-spacing: -0.005em; }
.strip-card-title { font-size: 22px; font-weight: 600; line-height: 1.22; letter-spacing: -0.018em; color: var(--text); margin: 0; }
.strip-card-excerpt { flex: 1; font-size: 16px; line-height: 1.55; color: var(--text-2); margin: 0; }
.strip-card-read { margin-top: 6px; font-size: 15px; color: #0066cc; }
.strip-card-read::after { content: ' ›'; }
@media (max-width: 900px) { .strip-grid { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; gap: 20px; } }
