/* Shared finishing touches; loaded after each page's visual styles. */
html { -webkit-text-size-adjust: 100%; }
.button { max-width: 100%; white-space: normal; }
.button > span { flex-shrink: 0; }
.main-nav a, .header-cta, .motion-toggle, .closing-links a, .footer-main nav a { min-height: 44px; align-content: center; }
.footer-main nav { flex-wrap: wrap; }
.footer-bottom { flex-wrap: wrap; }
.journey-hero-copy, .journey-art, .hecate-offer-copy, .ritual-form, .hecate-questions-list { min-width: 0; }
.ritual-form input, .privacy-copy { overflow-wrap: anywhere; }
.ritual-form input:focus { background: #fff; border-color: var(--purple); }
.ritual-form button:disabled { opacity: .6; cursor: not-allowed; }
.hecate-questions summary { padding: 8px 0; }
.breathing-reset { min-height: 44px; }

@media (min-width: 761px) and (max-width: 1000px) {
  .site-header { padding-inline: 4%; gap: 16px; }
  .main-nav { gap: 20px; }
  .header-cta { padding: 12px; gap: 10px; }
  .footer-main { flex-wrap: wrap; }
  .footer-main nav { margin-left: auto; }
  .hecate-questions { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .site-header { padding-inline: max(6%, env(safe-area-inset-left)); }
  .menu-toggle { flex: 0 0 44px; width: 44px; height: 44px; align-items: center; }
  .main-nav { max-height: calc(100svh - 82px); max-height: calc(100dvh - 82px); overflow-y: auto; overscroll-behavior: contain; padding: 20px 7% 28px; gap: 4px; }
  .main-nav a { width: 100%; padding: 12px 0; font-size: 27px; line-height: 1.25; }
  .main-nav a::after { bottom: 6px; }
  .site-header .header-cta { min-height: 44px; font-size: 11px; }
  .button, .hero-content .button, .hestia-copy .button, .universe-content .button { min-height: 50px; font-size: 13px; line-height: 1.5; padding: 14px 18px; gap: 18px; }
  .motion-toggle { font-size: 11px; padding: 10px; }
  .eyebrow, .section-label, .journey-main .section-label,
  .hero-content .eyebrow, .paths-heading .eyebrow,
  .hestia-copy .eyebrow, .journey-hero-copy .eyebrow,
  .universe-content .eyebrow, .ritual-form .eyebrow { font-size: 10px; letter-spacing: .12em; line-height: 1.7; }
  .hero { height: auto; min-height: 900px; }
  .hero-content { padding: 36px 6% 390px; }
  .hero h1 { font-size: clamp(44px, 12.3vw, 82px); }
  .hero-description { font-size: 15px; line-height: 1.75; max-width: 370px; }
  .hero-note { font-size: 9px; line-height: 1.8; letter-spacing: .1em; }
  .hero-hestia-link { font-size: 14px; min-height: 44px; }
  .hero .hands-scene { top: auto; bottom: 100px; }
  .hero-landscape { top: auto; height: 65%; }
  .hero-wash { background: linear-gradient(180deg, #29113f 15%, #29113ff0 37%, #29113f88 56%, transparent 72%, #29113f 100%); }
  .hero-bottom { left: 6%; right: 6%; bottom: 18px; flex-wrap: wrap; gap: 8px; }
  .scroll-cue { font-size: 9px; line-height: 1.5; letter-spacing: .06em; min-height: 44px; }
  .hero .scene-caption { bottom: 122px; font-size: 9px; }
  .essence-body p, .paths-heading > p, .path-card > p,
  .hestia-copy > p:not(.eyebrow), .hecate-feature p:not(.eyebrow),
  .universe-content p:not(.eyebrow), .closing > p,
  .journey-lead, .journey-intro > p:last-child,
  .journey-steps p, .apometria-principles p, .apometria-path-note,
  .breathing-copy > p:not(.section-label), .tarot-experience-heading > p:last-child,
  .tarot-result > p:not(.tarot-result-label):not(.tarot-result-invitation),
  .hecate-offer-copy > p:not(.section-label), .hecate-questions details p { font-size: 15px; line-height: 1.75; }
  .journey-lead { max-width: 400px; }
  .journey-hero-note, .breathing-caption { font-size: 14px; line-height: 1.6; }
  .journey-art-caption { font-size: 9px; letter-spacing: .12em; line-height: 1.6; }
  .journey-scroll { font-size: 10px; letter-spacing: .08em; min-height: 44px; margin-top: 24px; }
  .journey-main .journey-hero h1 { font-size: clamp(42px, 10.5vw, 65px); }
  .journey-main h2, .essence h2 { font-size: clamp(34px, 9vw, 48px); }
  .values-line { font-size: 12px; justify-content: center; gap: 12px; }
  .values-line span:last-child, .values-line i:last-of-type { display: inline; }
  .hestia-values { flex-wrap: wrap; gap: 14px; font-size: 10px; line-height: 1.5; }
  .hestia-figure figcaption, .hecate-feature-figure figcaption { font-size: 10px; line-height: 1.6; letter-spacing: .1em; }
  .path-image { height: auto; aspect-ratio: .85; }
  .path-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .path-meta .eyebrow { font-size: 10px; letter-spacing: .08em; }
  .path-link { font-size: 13px; min-height: 32px; }
  .path-card h3 { font-size: clamp(32px, 9vw, 42px); }
  .universe-coordinate { font-size: 9px; letter-spacing: .08em; }
  .closing-links { align-items: stretch; gap: 8px; }
  .closing-links a { font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }
  .closing-links span { margin: 0; }
  .footer-main > p { margin-left: 0; font-size: 16px; }
  .footer-main nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 13px; gap: 4px 20px; }
  .footer-main nav a { padding: 10px 0; }
  .footer-bottom { gap: 10px 16px; font-size: 9px; line-height: 1.6; }
  .footer-bottom > span:first-child { font-size: 11px; }
  .footer-bottom > span:last-child { max-width: 100%; }
  .tarot-result-label { font-size: 10px; line-height: 1.6; }
  .tarot-card-choice { font-size: 11px; }
  .tarot-result { min-height: 0; padding-bottom: 20px; }
  .tarot-result .tarot-result-question { font-size: 18px; }
  .breathing-copy > p.breathing-small, .form-note, .hecate-offer-copy > .hecate-offer-note { font-size: 13px; }
  .breathing-reset { font-size: 14px; padding: 10px; }
  .hecate-offer-signature > span:last-child { font-size: 10px; line-height: 1.9; }
  .ritual-form label { font-size: 14px; }
  .ritual-form input[type=email] { min-height: 52px; font-size: 16px; }
  .ritual-form .button { min-height: 52px; font-size: 13px; padding: 15px; }
  .form-note { line-height: 1.7; }
  .hecate-questions summary { font-size: 21px; }
  .privacy-copy { padding: 36px 7% 55px; }
  .privacy-copy > a { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 20px; }
  .privacy-copy h1 { font-size: clamp(36px, 10vw, 48px); line-height: 1.15; }
  .privacy-copy p { font-size: 16px; }
}
@media (max-width: 480px) {
  .site-header .header-cta { display: none; }
  .site-header .menu-toggle { margin-left: auto; }
  .site-header .brand { font-size: 35px; }
  .hero .scene-caption { display: none; }
  .hero-bottom .motion-toggle { margin-left: auto; }
}
@media (max-width: 360px) {
  .hero-content { padding-bottom: 340px; }
  .hero .hands-scene { bottom: 125px; }
  .hero-bottom { justify-content: space-between; }
  .hero-bottom .motion-toggle { margin-left: 0; }
  .journey-hero { padding-inline: 6%; }
  .ritual-form { padding-inline: 23px; }
  .journey-art-caption { font-size: 8px; }
  .breathing-controls { gap: 10px; }
  .breathing-controls .button { min-width: 0; width: 100%; }
}
