/* Shared reading rhythm and page refinements. Loaded after each page's styles. */
:root { --color-border-strong: rgba(247, 241, 228, .18); }
:where(p, li) { text-wrap: pretty; }
:where(main, section, [id]) { scroll-margin-top: 2rem; }
::selection { background: #B8A77F; color: #0B0B0A; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.75rem; margin: 2.5rem auto 1rem; padding: 0 1.5rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; color: var(--color-muted); transition: color 180ms ease; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--color-text); text-decoration: underline; text-underline-offset: .35em; }
.mobile-menu { overflow-y: auto; padding: 5rem 1.5rem; }
.mobile-menu-links { gap: clamp(.5rem, 3vh, 2rem); margin-block: auto; }
.mobile-menu-link { min-height: 44px; }
@media (min-width: 769px) {
  .pill-nav-links { max-width: 620px; opacity: 1; padding: 0 .25rem; }
  .pill-nav-logo::after { width: 1px; margin-left: .75rem; opacity: 1; }
  .pill-nav-link { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Contact: put the brief, rather than the logo, at the centre of the layout. */
.cc-wrap { max-width: 1180px; }
.cc-card { box-shadow: none; }
.cc-info-panel, .cc-form-panel { padding: clamp(1.5rem, 4vw, 3.5rem); min-width: 0; }
.cc-item-value { overflow-wrap: anywhere; font-size: .82rem; line-height: 1.6; }
.cc-icon-wrap { border-radius: 0; }
.page-hero-title em { color: var(--color-accent); }
.page-hero-about { margin: 1.5rem auto 0; max-width: 45ch; color: var(--color-subtle); font-size: .85rem; }
.booking-first { border: 0; border-left: 2px solid var(--color-accent); padding: 0 0 0 1.25rem; background: transparent; }
.booking-first-cta:hover, .form-submit:hover:not(:disabled) { background: var(--color-text); }
.form-input { min-height: 48px; border-color: var(--color-border-strong); }
.form-error, .form-submit-error { font-size: .85rem; line-height: 1.5; }
.form-submit:disabled { cursor: wait; opacity: .65; }
.form-field-note { color: var(--color-subtle); }
@media (max-width: 600px) {
  .cc-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .cc-brand-logo { width: 200px; margin: .5rem auto 0; }
  .cc-item-value { font-size: .75rem; }
}
@media (min-width: 900px) {
  .cc-card { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .cc-info-panel { align-items: flex-start; }
  .cc-info-content { position: sticky; top: 3rem; }
}
@media (min-width: 768px) and (max-width: 899px) {
  .cc-card { grid-template-columns: 1fr; }
  .cc-form-panel { border-left: 0; border-top: 1px solid var(--color-border-strong); }
}

/* Pricing: compare packages on a shared baseline. */
.pricing-number { font-variant-numeric: tabular-nums; }
.pricing-grid--three { align-items: stretch; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1240px; }
.pricing-card-sep { display: none; }
.pricing-card--hero { margin-top: 0; border: 1px solid var(--color-accent); box-shadow: none; }
.pricing-card--hero::before { display: none; }
.pricing-cta { margin-top: auto; }
@media (min-width: 961px) {
  .pricing-grid--three .pricing-card { display: grid; grid-template-rows: subgrid; grid-row: span 3; gap: 2rem; }
  .pricing-card-top { position: relative; padding-top: 2.5rem; }
  .pricing-badge { position: absolute; top: 0; margin: 0; }
}
@media (max-width: 960px) {
  .pricing-grid--three { grid-template-columns: 1fr; max-width: 640px; gap: 1.5rem; }
}

/* Insights: useful guidance before the article archive grows. */
.planning-guide { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); padding-block: clamp(4rem, 8vw, 8rem); border-bottom: 1px solid var(--color-border-strong); }
.planning-guide h2 { font-family: var(--font-heading); font-weight: 300; font-size: clamp(2.5rem, 4.4vw, 4.4rem); line-height: 1.05; margin: 1.5rem 0; }
.planning-guide h2 em { color: var(--color-accent); }
.planning-guide-intro > p:last-of-type { max-width: 38ch; color: var(--color-muted); }
.planning-guide-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 48px; margin-top: 1.5rem; border-bottom: 1px solid var(--color-accent); }
.planning-guide-link:hover { color: var(--color-accent); }
.planning-questions { list-style: none; }
.planning-questions li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1.75rem 0; border-top: 1px solid var(--color-border-strong); }
.planning-questions li > span { color: var(--color-accent); font-size: .75rem; font-variant-numeric: tabular-nums; padding-top: .3rem; }
.planning-questions h3 { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 400; line-height: 1.2; margin-bottom: .75rem; }
.planning-questions p { color: var(--color-muted); font-size: .95rem; }
.insights-empty a { color: var(--color-text); text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 760px) {
  .planning-guide { grid-template-columns: 1fr; gap: 2.5rem; }
  .insights-hero { min-height: 0; padding-block: 7rem 4rem; }
}

/* Home: keep the hero readable on compact viewports. */
.cn-hero-kicker { font-size: clamp(.65rem, .9vw, .8rem); }
.cn-hero-cta { font-size: clamp(.68rem, .9vw, .8rem); min-height: 44px; }
.cn-hero-value { text-wrap: balance; }
.showcase-fallback { max-width: 42rem; padding: 2rem 0; }
.showcase-fallback h2 { font: 400 3rem/1.2 var(--font-heading); margin-block: 1rem; }
.showcase-fallback p { margin-bottom: 1rem; color: var(--color-muted); }
.showcase-fallback a { text-decoration: underline; text-underline-offset: .2em; }
html:not(.js) .faq-v2-list { opacity: 1; transform: none; filter: none; }
.sxr, .sxr-frame, .sxr-card { min-height: 640px; }
@media (max-height: 540px) and (max-width: 768px) {
  .mobile-menu-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
