/* Home page */

/* ── hero: a dawn landscape drawn from the palette ── */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-start; overflow: hidden; isolation: isolate; margin-top: -64px; padding-top: 64px; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.sky-a { stop-color: #B9DACF; } .sky-b { stop-color: #CAE4DB; } .sky-c { stop-color: #F2EBCB; }
.glow-a { stop-color: #FFF3C4; stop-opacity: .95; } .glow-b { stop-color: #F4E2A0; stop-opacity: .45; } .glow-c { stop-color: #CAE4DB; stop-opacity: 0; }
.sun { fill: #DCAE1D; }
.hill-far { fill: #A9C6BE; } .hill-mid { fill: #7A9D96; } .hill-near { fill: #4C746D; } .ground { fill: #00303F; }

:root[data-theme="dark"] .sky-a { stop-color: #001F29; }
:root[data-theme="dark"] .sky-b { stop-color: #0B3B47; }
:root[data-theme="dark"] .sky-c { stop-color: #3D5B4F; }
:root[data-theme="dark"] .glow-a { stop-color: #E9C24A; stop-opacity: .55; }
:root[data-theme="dark"] .glow-b { stop-color: #8F7A2C; stop-opacity: .25; }
:root[data-theme="dark"] .hill-far { fill: #2E5652; } :root[data-theme="dark"] .hill-mid { fill: #1E4643; }
:root[data-theme="dark"] .hill-near { fill: #0F3434; } :root[data-theme="dark"] .ground { fill: #001F29; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sky-a { stop-color: #001F29; }
  :root:not([data-theme="light"]) .sky-b { stop-color: #0B3B47; }
  :root:not([data-theme="light"]) .sky-c { stop-color: #3D5B4F; }
  :root:not([data-theme="light"]) .glow-a { stop-color: #E9C24A; stop-opacity: .55; }
  :root:not([data-theme="light"]) .glow-b { stop-color: #8F7A2C; stop-opacity: .25; }
  :root:not([data-theme="light"]) .hill-far { fill: #2E5652; } :root:not([data-theme="light"]) .hill-mid { fill: #1E4643; }
  :root:not([data-theme="light"]) .hill-near { fill: #0F3434; } :root:not([data-theme="light"]) .ground { fill: #001F29; }
}

.hero-inner { position: relative; padding-top: clamp(56px, 11vh, 120px); padding-bottom: 220px; }
.hero-kicker { margin: 0 0 18px; font-size: 1rem; font-weight: 500; color: var(--mist-ink); }
:root[data-theme="dark"] .hero-kicker { color: var(--honey); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-kicker { color: var(--honey); } }
.hero-title {
  font-size: clamp(3rem, 8.4vw, 6.5rem);
  font-weight: 350;
  max-width: 9.5em;
  color: var(--cerulean);
  text-wrap: balance;
}
:root[data-theme="dark"] .hero-title { color: #F1F7F4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-title { color: #F1F7F4; } }
.hero-lead { margin: 22px 0 0; color: #2E4B4C; max-width: 30em; }
:root[data-theme="dark"] .hero-lead { color: var(--ink-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-lead { color: var(--ink-2); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-call { background: rgba(255,255,255,.35); border-color: rgba(0,48,63,.25); }
:root[data-theme="dark"] .hero-call { background: rgba(0,31,41,.6); border-color: var(--line-strong); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-call { background: rgba(0,31,41,.6); border-color: var(--line-strong); } }

/* live "next opening" card sits on the hills like a sign */
.next-card {
  position: absolute; right: var(--gutter); bottom: 120px;
  display: grid; gap: 10px; width: min(340px, calc(100% - 2 * var(--gutter)));
  padding: 18px 20px; border-radius: var(--r-l);
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 20px 40px -18px rgba(0, 48, 63, .45);
  color: var(--cerulean); text-decoration: none;
  transition: transform var(--t-fast) ease-out, box-shadow var(--t-med) var(--spring);
}
.next-card:hover { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 26px 50px -18px rgba(0, 48, 63, .55); }
.next-card:active { transform: scale(0.98); }
.next-card .pill { justify-self: start; background: rgba(47, 107, 79, .12); }
.next-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.9375rem; }
.next-label { color: #3B5A57; }
.next-val { font-weight: 600; text-align: right; }
:root[data-theme="dark"] .next-card { background: rgba(3, 43, 55, .62); border-color: rgba(202,228,219,.16); color: var(--ink); }
:root[data-theme="dark"] .next-label { color: var(--ink-2); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .next-card { background: rgba(3, 43, 55, .62); border-color: rgba(202,228,219,.16); color: var(--ink); }
  :root:not([data-theme="light"]) .next-label { color: var(--ink-2); }
}
@media (prefers-reduced-transparency: reduce) { .next-card { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero-inner { padding-bottom: 40px; }
  .next-card { position: relative; right: auto; bottom: auto; margin-top: 36px; width: 100%; }
  .hero-art { height: 100%; }
}

/* ── bands ── */
.band { padding: clamp(72px, 10vw, 128px) 0; }
.band .h2 { max-width: 14em; }

.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.monogram {
  aspect-ratio: 4 / 5; border-radius: var(--r-l); position: relative; overflow: hidden;
  background: linear-gradient(180deg, #CAE4DB 0%, #E9EFD6 62%, #7A9D96 62.2%, #7A9D96 78%, #00303F 78.2%);
  display: grid; place-items: center;
}
.monogram::before { content: ""; position: absolute; width: 44%; aspect-ratio: 1; border-radius: 50%; background: #DCAE1D; top: 39%; left: 50%; transform: translate(-50%, -50%); }
.monogram span { position: relative; font-family: var(--font-display); font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 300; color: #00303F; letter-spacing: -0.03em; transform: translateY(-14%); }
.about .lead { margin: 20px 0 32px; }
.creds { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.creds div { padding: 14px 0; border-top: 1px solid var(--line); }
.creds dt { font-size: 0.8125rem; color: var(--mist-ink); margin-bottom: 4px; }
.creds dd { margin: 0; font-weight: 500; line-height: 1.4; }
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .monogram { aspect-ratio: 16 / 10; }
  .creds { grid-template-columns: 1fr; }
}

.care { background: var(--surface-2); }
.care-list { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.care-list li { padding: 22px 0 26px; border-top: 1.5px solid var(--mist); }
.care-list p { margin: 8px 0 0; color: var(--ink-2); max-width: 26em; }
@media (max-width: 900px) { .care-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .care-list { grid-template-columns: 1fr; } }

.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.addr { font-style: normal; font-size: 1.125rem; line-height: 1.55; margin: 24px 0 20px; }
.addr strong { font-weight: 600; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.facts { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink-2); }
.facts li { padding-left: 22px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--honey); }

.hours-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; box-shadow: var(--shadow-1); }
.hours-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.week { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.week li { display: grid; grid-template-columns: 3.4em 1fr; align-items: center; gap: 12px; padding: 7px 0; font-size: 0.9375rem; }
.week .d { color: var(--ink-2); font-weight: 500; }
.week .track { position: relative; height: 30px; border-radius: 8px; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 9 - 1px), var(--line) calc(100% / 9 - 1px) calc(100% / 9)); }
.week .bar { position: absolute; top: 3px; bottom: 3px; border-radius: 6px; background: var(--sky); color: var(--cerulean); font-size: 0.8125rem; font-weight: 600; display: flex; align-items: center; padding: 0 10px; white-space: nowrap; overflow: hidden; }
:root[data-theme="dark"] .week .bar { background: #1E4A50; color: var(--sky); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .week .bar { background: #1E4A50; color: var(--sky); } }
.week .closed { color: var(--ink-2); font-size: 0.8125rem; padding-left: 4px; line-height: 30px; }
.week li.today .d { color: var(--ink); font-weight: 700; }
.week li.today .bar { background: var(--honey); color: var(--cerulean); }
.week-axis { display: flex; justify-content: space-between; margin-top: 6px; padding-left: calc(3.4em + 12px); font-size: 0.75rem; color: var(--ink-2); }
@media (max-width: 760px) { .visit-grid { grid-template-columns: 1fr; } }

.faq { background: var(--surface-2); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 6vw, 80px); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--mist); border-bottom: 2px solid var(--mist);
  transform: rotate(45deg); transition: transform var(--t-med) var(--spring);
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0 0 22px; color: var(--ink-2); max-width: 38em; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }

.closing { background: var(--cerulean); color: #fff; padding: clamp(64px, 9vw, 112px) 0; }
.closing-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.closing-title { font-size: clamp(2.25rem, 5.4vw, 4rem); max-width: 11em; font-weight: 300; color: #F1F7F4; }
:root[data-theme="dark"] .closing { background: #073745; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .closing { background: #073745; } }

/* the one orchestrated moment: the sun rises once on load */
@media (prefers-reduced-motion: no-preference) {
  .sun { animation: rise 1400ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  @keyframes rise { from { transform: translateY(70px); } to { transform: none; } }
}
