/* ==========================================================================
   THE REAL WORK (TRW) — COMPONENTS STYLESHEET
   Navbar, Footer, Cards, Badges, Modals, Forms & Widgets
   ========================================================================== */

/* ==========================================================================
   1. NAVIGATION BAR (Floating Detached Island Pill)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  background: transparent;
  pointer-events: none;
  transition: padding 0.3s ease;
}

.site-header .container {
  pointer-events: auto;
}

.site-header.scrolled {
  padding: 0.65rem 0;
  background: transparent;
}

.nav-island {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 240, 235, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  padding: 0.5rem 0.85rem 0.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.site-header.scrolled .nav-island {
  background: rgba(253, 251, 247, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-color: var(--color-border-warm);
  box-shadow: 0 12px 30px -8px rgba(100, 60, 30, 0.14), 0 4px 12px -2px rgba(100, 60, 30, 0.04);
}

/* Brand Logo Link */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: rotate(-3deg) scale(1.04);
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-charcoal);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand-creds {
  font-size: 0.72rem;
  color: var(--color-charcoal-faint);
  letter-spacing: 0.04em;
  font-weight: 500;
  text-transform: uppercase;
}

/* Nav Links Menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.35rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-charcoal-muted);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--color-sun-core);
  background: rgba(200, 90, 39, 0.06);
}

.nav-link.active {
  color: var(--color-sun-core);
  font-weight: 700;
  background: rgba(200, 90, 39, 0.08);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-nav-cta {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-sand);
  border: 1px solid var(--color-border-subtle);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-charcoal);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: rgba(253, 251, 247, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease-spring);
  pointer-events: none;
}

.mobile-drawer.is-open {
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.mobile-drawer-link {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--color-charcoal);
  font-weight: 600;
  transition: var(--transition-fast);
}

.mobile-drawer-link:hover,
.mobile-drawer-link.active {
  color: var(--color-sun-core);
  padding-left: 0.5rem;
}

/* ==========================================================================
   2. MISSION & VISION STRIP / CALLOUT
   ========================================================================== */
.mission-strip {
  background: var(--color-sand);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  padding: 3.5rem 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}

.mission-col {
  position: relative;
}

.mission-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.25rem;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--color-border-warm);
}

.mission-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200, 90, 39, 0.1);
  color: var(--color-sun-core);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* ==========================================================================
   3. ACCEPTED INSURANCE & TRUST BAR
   ========================================================================== */
.insurance-bar {
  background: var(--color-white);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-sm);
}

.insurance-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

.insurance-badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.insurance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-sand);
  border: 1px solid var(--color-border-subtle);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-charcoal);
  transition: var(--transition-fast);
}

.insurance-badge:hover {
  background: var(--color-canvas);
  border-color: var(--color-sun-core);
  transform: translateY(-1px);
}

.insurance-check-icon {
  color: var(--color-sun-core);
  display: inline-flex;
}

.hsa-fsa-pill {
  background: var(--color-sun-arch-soft);
  border: 1px solid var(--color-border-amber);
  color: var(--color-sun-core);
}

/* ==========================================================================
   4. AUDIENCE PILLARS & CARDS
   ========================================================================== */
.audience-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.audience-card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--color-sun-core);
  margin-bottom: 0.65rem;
}

.audience-card h3 {
  margin-bottom: 0.85rem;
}

.audience-card p {
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.audience-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-sun-core);
  font-size: 0.92rem;
  margin-top: auto;
}

.audience-link:hover {
  color: var(--color-sun-core-hover);
  transform: translateX(4px);
}

/* ==========================================================================
   5. TONI MORRISON QUOTE CONTAINER
   ========================================================================== */
.quote-container {
  background: var(--color-sand);
  border: 1px solid var(--color-border-warm);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  text-align: center;
  margin: 3.5rem 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 6.5rem;
  color: rgba(200, 90, 39, 0.12);
  line-height: 0;
  position: absolute;
  top: 3.5rem;
  left: 3rem;
  pointer-events: none;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2.15rem);
  font-style: italic;
  color: var(--color-charcoal);
  line-height: 1.45;
  max-width: 820px;
  margin: 0 auto 1.5rem auto;
  position: relative;
  z-index: 1;
}

.quote-author {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sun-core);
}

/* ==========================================================================
   6. PRICING & SERVICE SPEC TILES
   ========================================================================== */
.service-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-price-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--color-sun-core);
}

.price-duration {
  font-size: 0.92rem;
  color: var(--color-charcoal-muted);
}

.feature-list {
  list-style: none;
  margin: 1.5rem 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-charcoal);
}

.feature-icon {
  color: var(--color-sun-core);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   7. FORM ARCHITECTURE (High-Contrast, Accessible)
   ========================================================================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  font-size: 0.98rem;
  color: var(--color-charcoal);
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-sun-core);
  box-shadow: 0 0 0 3px rgba(200, 90, 39, 0.15);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.form-helper {
  font-size: 0.82rem;
  color: var(--color-charcoal-muted);
}

/* Form Audience Pill Selector */
.audience-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.audience-radio-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--color-white);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.audience-radio-label:hover {
  border-color: var(--color-sun-core);
  background: rgba(200, 90, 39, 0.04);
}

.audience-radio-label input[type="radio"]:checked + span {
  font-weight: 700;
  color: var(--color-sun-core);
}

/* ==========================================================================
   8. CAL.COM EMBED WRAPPER & FALLBACK
   ========================================================================== */
.cal-embed-card {
  background: var(--color-sand);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  min-height: 520px;
}

.cal-frame-container {
  background: var(--color-white);
  border-radius: calc(var(--radius-xl) - 0.5rem);
  overflow: hidden;
  min-height: 560px;
}

/* ==========================================================================
   9. MEDIA PLAYER & PRESS CARDS
   ========================================================================== */
.press-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.press-source {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-sun-core);
  margin-bottom: 0.5rem;
}

.press-headline {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.video-player-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-subtle);
}

.video-player-frame video {
  width: 100%;
  max-height: 480px;
  display: block;
}

/* ==========================================================================
   10. MODAL DIALOG (Waitlist & Quick Action)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 28, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-dialog {
  background: var(--color-canvas);
  border: 1px solid var(--color-border-warm);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: fadeInUp 0.3s var(--ease-spring);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-charcoal);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-sun-core);
  color: var(--color-white);
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-sand);
  border-top: 1px solid var(--color-border-subtle);
  padding: 4.5rem 0 2rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 3.5rem;
}

.footer-brand-col p {
  font-size: 0.95rem;
  margin: 1rem 0 1.5rem 0;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-charcoal);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--color-charcoal-muted);
}

.footer-links a:hover {
  color: var(--color-sun-core);
  padding-left: 3px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  margin-bottom: 0.85rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(28, 28, 28, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--color-charcoal-faint);
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Toast notification */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 300;
  transform: translateY(120%);
  transition: transform 0.35s var(--ease-spring);
}

.toast-notice.is-visible {
  transform: translateY(0);
}

/* ==========================================================================
   12. REUSABLE UTILITIES & SEMANTIC HELPER CLASSES
   (Eliminates inline styles across all HTML templates)
   ========================================================================== */
.w-full { width: 100% !important; }
.d-block { display: block; }
.d-inline-flex { display: inline-flex; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-italic { font-style: italic; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Spacing */
.mb-0 { margin-bottom: 0 !important; }
.mb-xs { margin-bottom: 0.35rem; }
.mb-sm { margin-bottom: 0.75rem; }
.mb-md { margin-bottom: 1.25rem; }
.mb-lg { margin-bottom: 1.75rem; }
.mb-xl { margin-bottom: 2.5rem; }
.mb-2xl { margin-bottom: 3.5rem; }

.mt-0 { margin-top: 0 !important; }
.mt-xs { margin-top: 0.35rem; }
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 1.5rem; }
.mt-xl { margin-top: 2rem; }
.mt-auto { margin-top: auto; }

.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.p-md { padding: 1.25rem; }
.p-lg { padding: 1.75rem; }

.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 1.5rem; }

/* Flex Containers */
.flex-row-wrap { display: flex; flex-wrap: wrap; gap: 1rem; }
.flex-col { display: flex; flex-direction: column; }
.flex-col-gap-1 { display: flex; flex-direction: column; gap: 1rem; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-items-center { display: flex; align-items: center; }

/* Constrained Layout Widths */
.max-w-hero-text { max-width: 580px; }
.max-w-hero-lead { max-width: 780px; }
.max-w-section-header { max-width: 680px; }
.max-w-section-header-wide { max-width: 720px; }
.max-w-section-header-narrow { max-width: 650px; }
.max-w-quote-card { max-width: 820px; }
.max-w-card-grid { max-width: 900px; }
.max-w-press-grid { max-width: 960px; }
.max-w-pricing { max-width: 440px; }
.max-w-form-btn { max-width: 380px; }
.max-w-photo-frame { max-width: 480px; }

/* Section Header Preset Block */
.section-header-block {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

/* Aspect Ratios & Framing */
.aspect-4-5 { aspect-ratio: 4/5; }
.aspect-1-1 { aspect-ratio: 1/1; }
.aspect-4-3 { aspect-ratio: 4/3; }
.aspect-ebook {
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
}
.img-contain { object-fit: contain; }

/* Hero specific grid alignments */
.hero-grid-align {
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--color-charcoal-muted);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* Card Padding Presets */
.card-padding-lg { padding: clamp(2rem, 4vw, 3rem); }
.card-padding-xl { padding: clamp(2rem, 5vw, 3.5rem); }
.card-padding-hero { padding: clamp(2.5rem, 5vw, 4rem); }

/* About Staggered Photos */
.two-photo-stagger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.photo-stagger-offset { margin-top: 1.5rem; }

/* Credentials Bar */
.credentials-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-subtle);
  padding: 2rem 2.5rem;
}

.credentials-badges-wrap {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.headway-btn {
  font-size: 0.88rem;
  padding: 0.6rem 1.2rem;
}

/* Not Another Crisis Specifics */
.price-box-highlight {
  background: var(--color-canvas);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-width: 440px;
  margin: 0 auto 2.25rem auto;
  border: 1px solid var(--color-border-warm);
}

.price-display-lg {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-sun-core);
}

.btn-waitlist-lg {
  font-size: 1.05rem;
  padding: 1rem 2.25rem;
}

.quote-card-accent {
  border-left: 4px solid var(--color-sun-core);
  padding: 1.5rem;
}

/* Contact Page Specifics */
.contact-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-sand);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-warm);
}

.contact-phone-number {
  font-weight: 700;
  color: var(--color-sun-core);
  font-size: 1.05rem;
}

/* Press & Media Specifics */
.press-card-action {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-subtle);
}

.press-card-btn {
  width: 100%;
  justify-content: space-between;
}

.video-meta-bar {
  padding: 1.25rem 0.5rem 0.5rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Insurance Checker Specifics */
.insurance-helper-box {
  color: var(--color-charcoal-muted);
  font-size: 0.92rem;
  background: var(--color-canvas);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border-warm);
}

.insurance-terms-note {
  font-size: 0.82rem;
  color: var(--color-charcoal-faint);
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 0.75rem;
}

/* Footer Semantic Presets */
.footer-tagline-text {
  color: var(--color-charcoal-muted);
  font-size: 0.92rem;
}

.footer-service-area {
  font-size: 0.88rem;
  color: var(--color-charcoal-muted);
}

.footer-tel-link {
  font-weight: 600;
  color: var(--color-charcoal);
}

.footer-pt-embed {
  margin-top: 1.25rem;
}

.footer-headway-link {
  margin-top: 1rem;
}

.footer-headway-anchor {
  font-size: 0.85rem;
  color: var(--color-sun-core);
  font-weight: 600;
}

.footer-ins-badge {
  font-size: 0.82rem;
  background: var(--color-canvas);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-subtle);
}

.footer-hsa-badge {
  font-size: 0.82rem;
  background: var(--color-sun-arch-soft);
  color: var(--color-sun-core);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-amber);
  font-weight: 600;
}

/* Booking Embed & Dynamic Card Elements */
.cal-placeholder-wrap {
  width: 100%;
  height: 100%;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.cal-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(200, 90, 39, 0.1);
  color: var(--color-sun-core);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.cal-grid-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 680px;
  margin-bottom: 1.75rem;
}

.insurance-result-card {
  background: var(--color-sand);
  border: 1px solid var(--color-border-warm);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.insurance-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ==========================================================================
   STAGGERED SKELETON LOADER & LOADED ENTRY ANIMATIONS
   ========================================================================== */

/* Shimmer Animation across warm cream/sand canvas */
@keyframes trwSkeletonShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Fullscreen Skeleton Overlay Container */
.skeleton-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-canvas);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1rem 1.5rem;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s ease;
  pointer-events: auto;
}

.skeleton-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Base Skeleton Animated Element */
.sk-block {
  background: linear-gradient(
    90deg,
    #ECE5DC 0%,
    rgba(245, 240, 235, 0.95) 30%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(245, 240, 235, 0.95) 70%,
    #ECE5DC 100%
  );
  background-size: 200% 100%;
  animation: trwSkeletonShimmer 2.2s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

/* Staggered Shimmer Delays for Wave Effect */
.sk-delay-1 { animation-delay: 0s; }
.sk-delay-2 { animation-delay: 0.14s; }
.sk-delay-3 { animation-delay: 0.28s; }
.sk-delay-4 { animation-delay: 0.42s; }
.sk-delay-5 { animation-delay: 0.56s; }
.sk-delay-6 { animation-delay: 0.70s; }

/* Skeleton Top Header Bar */
.sk-header {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto 3rem auto;
}

.sk-nav-pill {
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--color-border-subtle);
  background: rgba(245, 240, 235, 0.85);
  box-shadow: var(--shadow-sm);
}

.sk-logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sk-logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.sk-logo-text {
  width: 120px;
  height: 16px;
  border-radius: var(--radius-full);
}

.sk-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sk-nav-link-item {
  width: 58px;
  height: 12px;
  border-radius: var(--radius-full);
}

.sk-nav-btn {
  width: 145px;
  height: 40px;
  border-radius: var(--radius-full);
}

/* Skeleton Hero Section */
.sk-hero-wrap {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  flex: 1;
}

.sk-hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sk-eyebrow {
  width: 240px;
  height: 26px;
  border-radius: var(--radius-full);
}

.sk-title-line-1 {
  width: 85%;
  height: 50px;
  border-radius: var(--radius-sm);
}

.sk-title-line-2 {
  width: 65%;
  height: 50px;
  border-radius: var(--radius-sm);
}

.sk-p-line-1 {
  width: 95%;
  height: 16px;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

.sk-p-line-2 {
  width: 88%;
  height: 16px;
  border-radius: var(--radius-sm);
}

.sk-p-line-3 {
  width: 68%;
  height: 16px;
  border-radius: var(--radius-sm);
}

.sk-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.sk-btn-primary {
  width: 210px;
  height: 48px;
  border-radius: var(--radius-full);
}

.sk-btn-secondary {
  width: 140px;
  height: 48px;
  border-radius: var(--radius-full);
}

.sk-portrait-card {
  height: 440px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-md);
}

/* Loaded Staggered Entry Transitions */
.stagger-nav {
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.6s var(--ease-spring), transform 0.6s var(--ease-spring);
}

.stagger-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-spring), transform 0.65s var(--ease-spring);
}

.stagger-portrait {
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  transition: opacity 0.75s var(--ease-spring), transform 0.75s var(--ease-spring);
}

/* Once Loaded: Trigger Stagger Sequence */
body.is-loaded .stagger-nav {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.04s;
}

body.is-loaded .stagger-1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

body.is-loaded .stagger-2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.22s;
}

body.is-loaded .stagger-3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.32s;
}

body.is-loaded .stagger-4 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.42s;
}

body.is-loaded .stagger-5 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.52s;
}

body.is-loaded .stagger-portrait {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.26s;
}

/* Ambient Pulse Micro-Animation on Accent Dot */
.ambient-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-sun-core);
  box-shadow: 0 0 0 0 rgba(200, 90, 39, 0.4);
  animation: ambientDotPulse 2.4s infinite cubic-bezier(0.45, 0, 0.55, 1);
  vertical-align: middle;
}

@keyframes ambientDotPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(200, 90, 39, 0.5);
  }
  70% {
    transform: scale(1.18);
    box-shadow: 0 0 0 8px rgba(200, 90, 39, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(200, 90, 39, 0);
  }
}

/* Responsive Skeleton adjustments */
@media (max-width: 900px) {
  .sk-hero-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .sk-nav-links {
    display: none;
  }
  .sk-portrait-card {
    height: 280px;
  }
  .sk-header {
    margin-bottom: 1.5rem;
  }
}

/* Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .skeleton-screen {
    display: none !important;
  }
  .stagger-nav,
  .stagger-item,
  .stagger-portrait {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .ambient-pulse-dot {
    animation: none !important;
  }
}



