/* Bath & Crafts — polish layer
   Sits on top of styles.css. One typeface (Manrope), one motion curve,
   a floating glass nav, scroll reveals, and the sections that carry a
   visitor from browsing to booking: why visit, tagline, FAQ, final call. */

:root {
  --f: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hdr: 88px;
}

body { font-variation-settings: normal; }
h1, h2, h3 { font-variation-settings: normal; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
h3 { letter-spacing: -0.015em; }
p, li, dd, summary { text-wrap: pretty; }
.hero h1 { font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.grad {
  background: linear-gradient(90deg, #0a3352 0%, #1173b9 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow { font-size: .75rem; line-height: 1rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }

/* Buttons: physical feedback and a soft lift */
.btn { transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn-blue:hover { box-shadow: 0 14px 28px -12px rgba(17,115,185,.75); }

/* ---------- Floating glass nav ---------- */
.hdr, .hdr.is-solid { background: transparent; box-shadow: none; backdrop-filter: none; top: 12px; }
.hdr.is-hidden { transform: translateY(calc(-100% - 16px)); }
.hdr-in {
  height: 64px; width: min(1280px, calc(100% - 24px)); padding: 0 10px 0 20px; border-radius: 999px;
  background: rgba(255,255,255,.72); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border: 1px solid rgba(255,255,255,.8); box-shadow: 0 1px 0 rgba(10,51,82,.04), 0 12px 32px -18px rgba(10,51,82,.35);
  transition: background-color .3s var(--ease), box-shadow .5s var(--ease);
}
.hdr.is-solid .hdr-in { background: rgba(255,255,255,.86); box-shadow: 0 1px 0 rgba(10,51,82,.06), 0 16px 40px -20px rgba(10,51,82,.45); }
.hdr-logo img { height: 40px; }
.hdr-nav a { font-size: .875rem; font-weight: 500; }
.hdr-act .btn-cta { min-height: 44px; }
.saved-pill { background: rgba(255,255,255,.7); }

/* full height mobile menu */
.drawer {
  position: fixed; inset: 0; z-index: -1; padding: 104px 24px 40px; border: 0;
  background: rgba(243,245,246,.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; gap: 0; overflow-y: auto;
}
.drawer a:not(.btn) { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -0.02em; padding: 16px 0; border-bottom: 1px solid var(--grout); }
.drawer a { animation: linkIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
.drawer .btn { margin-top: 32px; }
@keyframes linkIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Hero proof row ---------- */
.hero-proof { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .875rem; line-height: 1.25rem; color: var(--ink-2); }
.hero-proof li { display: flex; align-items: baseline; gap: 6px; }
.hero-proof b { font-size: 1.125rem; font-weight: 700; color: var(--tide); font-variant-numeric: tabular-nums; }
.hero-proof li + li { padding-left: 24px; border-left: 1px solid var(--grout); }
.hero-copy > * { animation: heroIn .9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Why visit ---------- */
.why { background: var(--white); padding: 96px 0; }
.why h2 { max-width: 22ch; font-size: clamp(2rem, 1.2rem + 2.4vw, 3rem); line-height: 1.05; }
.why-grid { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { position: relative; padding: 32px 24px; border-radius: 16px; background: var(--porcelain); border: 1px solid transparent; overflow: hidden; transition: transform .5s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease), opacity .7s var(--ease); }
.why-card::after { content: ''; position: absolute; inset: auto -40% -60% auto; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(17,115,185,.14), transparent 70%); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.why-card:hover { transform: translateY(-6px); border-color: var(--grout); background: #fff; }
.why-card:hover::after { opacity: 1; }
.why-ic { width: 40px; height: 40px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 24px; transition: transform .5s var(--ease); }
.why-card:hover .why-ic { transform: rotate(-8deg) scale(1.08); }
.why-card h3 { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 8px; }
.why-card p { font-size: .875rem; line-height: 1.25rem; color: var(--ink-2); }

/* ---------- Tagline reveal ---------- */
.tagline { background: var(--white); padding: 160px 24px; display: grid; place-items: center; border-top: 1px solid var(--grout); }
.tagline-text { max-width: 900px; text-align: center; font-size: clamp(2.25rem, 1.2rem + 3.4vw, 3.75rem); line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; color: var(--tide); }
.tagline-text .w { display: inline-block; opacity: .22; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .6s var(--ease); }
.tagline-text .w.on { opacity: 1; transform: none; }
.tagline-text .w.hl.on { color: var(--blue); }

/* ---------- FAQ ---------- */
.faq { background: var(--white); padding: 120px 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--hdr) + 24px); }
.faq-head h2 { font-size: clamp(2rem, 1.2rem + 2vw, 3rem); }
.faq-sub { margin-top: 16px; color: var(--ink-2); max-width: 36ch; }
.faq-sub a, .faq-list a { color: var(--blue); text-underline-offset: 3px; }
.faq-list details { border-bottom: 1px solid var(--grout); }
.faq-list details:first-child { border-top: 1px solid var(--grout); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; transition: color .3s var(--ease); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--grout); background: no-repeat center / 12px linear-gradient(var(--ink), var(--ink)), no-repeat center / 1.5px 12px linear-gradient(var(--ink), var(--ink)); transition: transform .5s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease); background-size: 12px 1.5px, 1.5px 12px; }
.faq-list summary:hover { color: var(--blue); }
.faq-list details[open] summary::after { transform: rotate(135deg); border-color: var(--blue); }
.faq-list details p { padding: 0 56px 24px 0; color: var(--ink-2); animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Final call ---------- */
.final { position: relative; overflow: hidden; background: #0a1f30; color: #fff; padding: 160px 0; text-align: center; isolation: isolate; }
.final-bg { position: absolute; inset: -10% 0; z-index: -1; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; transform: translateY(var(--py, 0)) scale(1.08); will-change: transform; }
.final-in { display: grid; justify-items: center; gap: 24px; }
.final h2 { color: #fff; max-width: 16ch; font-size: clamp(2.25rem, 1.2rem + 3.4vw, 3.75rem); line-height: 1.02; }
.final p { color: #c8d7e2; max-width: 44ch; font-size: 1.125rem; line-height: 1.75rem; }
.final .btn { margin-top: 8px; }

/* ---------- Footer ---------- */
.ftr-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.ftr-nav a { color: #fff; text-decoration: none; font-size: .875rem; font-weight: 500; opacity: .8; transition: opacity .3s var(--ease); }
.ftr-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Exit nudge ---------- */
.nudge { border: 0; padding: 0; border-radius: 24px; width: min(720px, calc(100vw - 32px)); overflow: hidden; display: none; grid-template-columns: 5fr 6fr; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(6,24,38,.6); }
.nudge[open] { display: grid; animation: nudgeIn .6s var(--ease); }
.nudge::backdrop { background: rgba(6,20,32,.55); backdrop-filter: blur(4px); }
.nudge img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.nudge-body { padding: 40px 32px; display: grid; align-content: center; gap: 12px; }
.nudge-body h3 { font-size: 1.875rem; line-height: 2.25rem; }
.nudge-body p { color: var(--ink-2); }
.nudge-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
@keyframes nudgeIn { from { opacity: 0; transform: translateY(32px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-head { position: static; }
}
@media (max-width: 820px) {
  :root { --hdr: 76px; }
  .hdr { top: 8px; }
  .hdr-in { height: 56px; width: calc(100% - 16px); padding: 0 6px 0 16px; }
  .hdr-logo img { height: 32px; }
  .hero-proof { gap: 8px 16px; }
  .hero-proof li + li { padding-left: 0; border-left: 0; }
  .why { padding: 80px 0; }
  .why-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .tagline { padding: 96px 24px; }
  .faq { padding: 80px 0; }
  .faq-list details p { padding-right: 0; }
  .final { padding: 96px 0; }
  .nudge { grid-template-columns: 1fr; }
  .nudge img { min-height: 160px; max-height: 200px; }
  .nudge-body { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .tagline-text .w { opacity: 1 !important; transform: none !important; transition: opacity .3s linear; }
  .hero-copy > *, .drawer a, .nudge[open], .faq-list details p { animation: none; }
  .final-bg img { transform: none; }
  .btn:hover, .why-card:hover { transform: none; }
}
