*, *::before, *::after { box-sizing: border-box; }
:root {
  --brand: #792F9E;
  --brand-dark: #5E2380;
  --brand-darker: #46195f;
  --brand-tint: #f6effa;
  --brand-tint-2: #ecdcf5;
  --ink: #1d1526;
  --ink-soft: #4b3d59;
  --line: #e6dcee;
  --bg: #ffffff;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(70, 25, 95, 0.08);
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body { overflow-x: hidden;
  margin: 0;
  font-family: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-dark); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--brand-dark);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand-dark); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar { background: var(--brand-darker); color: #fff; font-size: 0.875rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; justify-content: center; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; }
.topbar svg { flex: none; }
.open-dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa; display: inline-block; }
.open-now .open-dot { background: #5ee38b; }
.closed-now .open-dot { background: #f0a35e; }
@media (max-width: 700px) { .tb-hours { display: none; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 6px rgba(70,25,95,0.06);
}
.site-header .container { display: flex; align-items: center; gap: 18px; padding-top: 10px; padding-bottom: 10px; }
h1, h2, h3, h4, h5, h6, .btn, .hero-sticker, .kicker { font-family: 'Figtree', system-ui, sans-serif; }

.logo-link { display: inline-flex; align-items: center; flex: none; }
.logo-link img { height: 88px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.primary-nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; min-height: 44px; border: 0; background: none;
  font: inherit; font-weight: 600; color: var(--ink); text-decoration: none;
  border-radius: 8px; cursor: pointer;
}
.primary-nav > a:hover, .nav-drop > button:hover { background: var(--brand-tint); color: var(--brand-dark); }
.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); width: min(560px, calc(100vw - 24px));
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; margin: 0; list-style: none; display: none; z-index: 110;
  grid-template-columns: 1fr 1fr; gap: 0 8px;
}
.nav-drop.open .nav-drop-menu { display: grid; }
.nav-drop-menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 44px;
  text-decoration: none; color: var(--ink); border-radius: 8px; font-weight: 500;
}
.nav-drop-menu a:hover { background: var(--brand-tint); color: var(--brand-dark); }
.nav-drop-menu svg { color: var(--brand); flex: none; }
.header-ctas { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--brand); color: var(--brand-dark); background: #fff; }
.btn-outline:hover { background: var(--brand-tint); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--brand-tint-2); }
.header-phone { display: none; }
.hamburger {
  display: none; border: 0; background: none; cursor: pointer; padding: 10px;
  min-width: 44px; min-height: 44px; color: var(--ink);
}
@media (max-width: 1023px) {
  .primary-nav, .header-ctas { display: none; }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .header-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-dark); font-weight: 700; text-decoration: none; min-height: 44px; padding: 0 8px; }
  .logo-link img { height: 64px; }
}

/* Drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(29, 21, 38, 0.5); z-index: 140;
  opacity: 0; pointer-events: none; transition: opacity 150ms ease;
}
.drawer-backdrop.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 150;
  width: min(400px, 100%); background: #fff; overflow-y: auto;
  transform: translateX(100%); transition: transform 200ms ease-out;
  padding: 16px 20px 32px; box-shadow: -8px 0 30px rgba(0,0,0,0.15);
}
.drawer.open { transform: translateX(0); }
.drawer-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.drawer-top img { height: 44px; width: auto; }
.drawer-close { border: 0; background: none; cursor: pointer; min-width: 44px; min-height: 44px; color: var(--ink); }
.drawer nav a, .drawer .drawer-svc-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 48px; padding: 12px 8px; font: inherit; font-weight: 600; color: var(--ink);
  text-decoration: none; border: 0; background: none; cursor: pointer; border-bottom: 1px solid var(--line);
}
.drawer-svc-list { list-style: none; margin: 0; padding: 0 0 0 12px; display: none; }
.drawer-svc-list.open { display: block; }
.drawer-svc-list a { font-weight: 500; }
.drawer-ctas { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.drawer-ctas .btn { width: 100%; }
.drawer-hours { background: var(--brand-tint); border-radius: var(--radius); padding: 14px 16px; font-size: 0.95rem; }

/* Hero */
.hero { background: linear-gradient(180deg, #faf6fd 0%, #fff 100%); padding: 48px 0 56px; }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--brand-tint-2); color: var(--brand-darker);
  border-radius: 999px; padding: 8px 16px; font-size: 0.9rem; font-weight: 600; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero p.lede { font-size: 1.125rem; color: var(--ink-soft); margin: 0 0 26px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-call { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; min-height: 44px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 16px; padding: 0; list-style: none; color: var(--ink-soft); font-size: 0.875rem; }
@media (min-width: 900px) { .hero-points { flex-wrap: nowrap; } }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hero-points svg { color: var(--brand); }
.hero-media { position: relative; }
.hero-media img { border-radius: 20px; box-shadow: var(--shadow); display: block; width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero-sticker {
  position: absolute; left: -14px; bottom: -18px; background: var(--brand-darker); color: #fff;
  border-radius: 14px; padding: 14px 20px; box-shadow: var(--shadow); transform: rotate(-2deg);
  border: 2px dashed rgba(255,255,255,0.5);
}
.hero-sticker .small { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9; }
.hero-sticker .big { font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { order: 2; }
}

/* Sections */
section { padding: 56px 0; }
.section-alt { background: #faf7fc; }
.kicker { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; margin: 0 0 8px; text-align: center; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.25rem); text-align: center; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-sub { text-align: center; color: var(--ink-soft); max-width: 44em; margin: 0 auto 36px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px;
}
.card .icon-chip {
  width: 48px; height: 48px; border-radius: 12px; background: var(--brand-tint-2); color: var(--brand-dark);
  display: inline-flex; align-items: center; justify-content: center;
}
.card h3 { margin: 4px 0 0; font-size: 1.15rem; }
.card p { margin: 0; color: var(--ink-soft); }
.card .card-link { margin-top: auto; font-weight: 600; color: var(--brand-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.card .card-link:hover { text-decoration: underline; }
a.card-wrap { text-decoration: none; color: inherit; }

/* Hours */
.hours-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 800px) { .hours-wrap { grid-template-columns: 1fr; } }
table.hours { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.hours caption { text-align: left; font-weight: 700; font-size: 1.2rem; padding: 0 0 12px; }
table.hours th, table.hours td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); }
table.hours tr:last-child th, table.hours tr:last-child td { border-bottom: 0; }
table.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.today-row { background: var(--brand-tint); font-weight: 700; }

/* Reviews */
.review-card blockquote { margin: 0; color: var(--ink-soft); }
.review-card cite { font-style: normal; font-weight: 700; color: var(--ink); display: block; margin-top: 12px; }
.review-cta { text-align: center; margin-top: 28px; }

/* Page hero band */
.page-hero { background: linear-gradient(120deg, var(--brand-darker), var(--brand)); color: #fff; padding: 48px 0; }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 10px; letter-spacing: -0.01em; }
.page-hero p { margin: 0; max-width: 46em; font-size: 1.06rem; opacity: 0.95; }
.breadcrumbs { font-size: 0.85rem; margin-bottom: 14px; opacity: 0.9; }
.breadcrumbs a { color: #fff; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }

/* Service page */
.svc-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; } }
.svc-img { border-radius: 16px; box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 3/2; display: block; }
.svc-aside { background: var(--brand-tint); border-radius: var(--radius); padding: 24px; position: sticky; top: 96px; }
.svc-aside h2 { margin-top: 0; font-size: 1.15rem; }
.svc-aside .btn { width: 100%; margin-top: 8px; }
.svc-aside ul { padding-left: 0; list-style: none; margin: 0 0 8px; }
.svc-aside li { padding: 6px 0; display: flex; gap: 8px; align-items: flex-start; }
.content h2 { font-size: 1.5rem; margin-top: 36px; }
.content ul { padding-left: 22px; }
.content li { margin: 6px 0; }
.check-list { list-style: none; padding-left: 0 !important; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { color: var(--brand); flex: none; margin-top: 5px; }

/* FAQ accordion */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq-item summary {
  cursor: pointer; font-weight: 600; padding: 16px 20px; min-height: 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { padding: 0 20px 18px; color: var(--ink-soft); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 10px; }
.cta-band p { margin: 0 auto 24px; max-width: 40em; opacity: 0.95; }
.cta-band .btn-outline { border-color: #fff; color: #fff; background: transparent; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.map-embed { border: 0; width: 100%; height: 420px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Footer */
.site-footer { background: var(--brand-darker); color: #e9ddf2; padding: 56px 0 0; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 8px 0; }
.footer-logo { background: #fff; border-radius: 12px; display: inline-block; padding: 10px 14px; margin-bottom: 14px; }
.footer-logo img { height: 44px; width: auto; display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.18); padding: 18px 0; font-size: 0.85rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Sticky mobile CTA bar */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: none;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-cta-bar a { flex: 1; min-height: 48px; }
@media (max-width: 1023px) {
  .mobile-cta-bar.visible { display: flex; }
  body.drawer-open .mobile-cta-bar { display: none; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 130;
  background: #2a1838; color: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: none; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 0.875rem;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; flex: 1 1 320px; }
.cookie-banner a { color: #dcbdf0; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { min-height: 44px; padding: 8px 18px; font-size: 0.9rem; }
body.has-cookie-banner .mobile-cta-bar { bottom: 76px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* Team grid (About page) */
.team-grid { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
.team-card { text-align: center; }
.team-card img { width: 100%; height: auto; border-radius: 50%; margin-bottom: 8px; }
.team-card strong { display: block; }
.team-card span { font-size: 0.9rem; color: var(--muted, #4b3d59); }

/* Embedded transfer form */
.transferApp iframe { border: 0; width: 100%; }

/* Millstadt-style page structure */
.svc-rail { display: grid; gap: 28px; align-content: start; position: sticky; top: 96px; }
@media (max-width: 900px) { .svc-rail { position: static; } }
.feature-rows { list-style: none; padding: 0 !important; margin: 16px 0 0; display: grid; gap: 14px; }
.feature-rows li { background: var(--brand-tint, #f5f2f8); border-radius: 10px; padding: 14px 18px; margin: 0; }
.feature-rows li strong { display: block; margin-bottom: 2px; }
.chip-list { list-style: none; padding: 0 !important; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li { background: var(--brand-tint, #f5f2f8); color: var(--brand-dark); font-weight: 600; border-radius: 999px; padding: 10px 18px; margin: 0; }
.aside-cta { background: var(--brand-dark); color: #fff; border-radius: var(--radius); padding: 26px 24px; }
.aside-cta h2 { margin: 0 0 8px; font-size: 1.25rem; color: #fff; }
.aside-cta p { margin: 0 0 10px; }
.aside-cta a:not(.btn) { color: #fff; }
.aside-cta .btn { width: 100%; margin-top: 10px; }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* Review marquee */
.review-marquee { overflow: hidden; margin-top: 30px; width: 100vw; margin-left: calc(50% - 50vw); }
.review-track { display: flex; width: max-content; animation: review-scroll 80s linear infinite; }
.review-track:hover, .review-track:focus-within { animation-play-state: paused; }
.review-set { display: flex; }
.review-set .review-card { width: min(360px, 82vw); flex: none; margin-right: 18px; display: flex; flex-direction: column; }
.review-set .review-card blockquote { flex: 1; }
.review-stars { color: var(--brand); letter-spacing: 2px; margin: 0 0 10px; font-size: 1.05rem; }
@keyframes review-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .review-track { animation: none; width: auto; }
  .review-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .review-set[aria-hidden="true"] { display: none; }
}

/* Gift shop photo marquee */
.photo-marquee { overflow: hidden; margin: 28px 0 0; }
.photo-track { display: flex; width: max-content; animation: review-scroll 60s linear infinite; }
.photo-track:hover { animation-play-state: paused; }
.photo-set { display: flex; }
.photo-set img { height: min(300px, 44vw); width: auto; flex: none; margin-right: 14px; border-radius: 12px; box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) {
  .photo-track { animation: none; width: auto; }
  .photo-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .photo-set[aria-hidden="true"] { display: none; }
}
