/* Looks. A studio picks one in Settings; each is the same pages and the same booking flow
   with different tokens, type and a different hero. "stone" is the base stylesheet.
   Only the guest-facing pages load this file; the back office keeps its own look. */

/* ===== Ember: dark room, warm light. For studios that feel like an evening out. ===== */
html[data-theme="ember"] {
  --stone-50: #110c09; --stone-100: #17100c; --stone-200: #261b14; --stone-300: #3d2c21; --white: #1d1510;
  --ink: #f7ede2; --ink-soft: #bba999;
  --glacier: #ff8242; --glacier-soft: #3b2113; --cedar: #e9b06a; --cedar-soft: #33261a;
  --moss: #86cfa2; --moss-soft: #16281e; --amber: #e9bb57; --amber-soft: #2f260f; --signal: #ff7466;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --r-s: 2px; --r-m: 4px; --r-l: 6px;
  --shadow-card: 0 0 0 1px #3d2c21, 0 30px 80px -30px rgba(255, 130, 66, 0.35);
  color-scheme: dark;
}
html[data-theme="ember"] h1, html[data-theme="ember"] h2, html[data-theme="ember"] h3 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
html[data-theme="ember"] h1 { font-size: clamp(46px, 8.6vw, 124px); line-height: 0.88; }
html[data-theme="ember"] h2 { font-size: clamp(32px, 4.6vw, 64px); line-height: 0.95; }
html[data-theme="ember"] .mark { color: var(--glacier); letter-spacing: 0.24em; font-weight: 500; }
html[data-theme="ember"] .logo img { filter: invert(1) brightness(1.6); }
html[data-theme="ember"] .site-header { background: transparent; border-bottom-color: transparent; position: absolute; left: 0; right: 0; top: 0; z-index: 5; }
html[data-theme="ember"] body { padding-top: 72px; }
html[data-theme="ember"] body:has(.hero) { padding-top: 0; }
html[data-theme="ember"] .nav.open { background: var(--stone-50); padding: 12px; border-radius: var(--r-l); }
html[data-theme="ember"] .btn { border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; padding: 15px 24px; }
html[data-theme="ember"] .btn:hover { background: #fff; }
html[data-theme="ember"] .btn.water:hover { background: #ff9a66; }
html[data-theme="ember"] .btn.warm:hover { background: #f2c489; }
html[data-theme="ember"] .btn.ghost { color: var(--ink); border-color: rgba(247, 237, 226, 0.45); }
html[data-theme="ember"] .btn.ghost:hover { background: rgba(247, 237, 226, 0.12); }
html[data-theme="ember"] .nav a.cta { border-radius: var(--r-pill); background: var(--glacier); }
html[data-theme="ember"] .notice, html[data-theme="ember"] .notice.ok, html[data-theme="ember"] .notice.info, html[data-theme="ember"] .status { color: var(--ink); }
html[data-theme="ember"] .pay label.offer { background: var(--glacier-soft); }
/* the hero is the photo, edge to edge, with the words on top of it */
html[data-theme="ember"] .hero { position: relative; max-width: none; min-height: min(100vh, 900px); grid-template-columns: minmax(0, 1fr); align-items: end; padding-top: 140px; padding-bottom: var(--s8); isolation: isolate; }
html[data-theme="ember"] .hero > div:first-child { max-width: 1104px; width: 100%; margin: 0 auto; }
html[data-theme="ember"] .hero .photo { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; max-height: none; border-radius: 0; }
html[data-theme="ember"] .hero .photo img { filter: saturate(0.9) contrast(1.05); }
html[data-theme="ember"] .hero .photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 20% 100%, rgba(255, 110, 40, 0.38), transparent 60%), linear-gradient(180deg, rgba(17, 12, 9, 0.72) 0%, rgba(17, 12, 9, 0.25) 32%, rgba(17, 12, 9, 0.86) 78%, #110c09 100%); }
/* the words sit on whatever photo the studio uploads, so the dark wash under them has to carry the contrast, not the photo */
html[data-theme="ember"] .hero .photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(17, 12, 9, 0.7) 0%, rgba(17, 12, 9, 0.45) 45%, rgba(17, 12, 9, 0) 75%); }
@media (max-width: 820px) { html[data-theme="ember"] .hero .photo::before { background: linear-gradient(180deg, rgba(17, 12, 9, 0.35) 0%, rgba(17, 12, 9, 0.6) 35%, rgba(17, 12, 9, 0.7) 100%); } }
html[data-theme="ember"] .hero .lead { font-size: 20px; }
html[data-theme="ember"] .hero .muted { color: rgba(247, 237, 226, 0.88); }
html[data-theme="ember"] .pill { background: rgba(29, 21, 16, 0.72); backdrop-filter: blur(6px); border-color: var(--stone-300); }
html[data-theme="ember"] .band.stone { background: var(--stone-100); border-color: var(--stone-200); }
html[data-theme="ember"] .menu a, html[data-theme="ember"] .event, html[data-theme="ember"] .card { border: 1px solid var(--stone-200); }
html[data-theme="ember"] .menu a:hover { border-color: var(--glacier); }
html[data-theme="ember"] .menu .num, html[data-theme="ember"] .steps .num { font-weight: 800; font-size: 56px; }
html[data-theme="ember"] .photo { border-radius: var(--r-l); }
html[data-theme="ember"] .photo.blank { background: radial-gradient(90% 90% at 30% 100%, #a8451c, #2a160d 60%, #110c09); }
html[data-theme="ember"] .confirm .code { background: var(--glacier); color: #110c09; }
/* a free spot has to show on the dark tile (3:1 at least); booked and yours keep their own colours */
html[data-theme="ember"] .dots i:not(.taken):not(.mine), html[data-theme="ember"] .legend i:not(.taken):not(.mine) { background: #85705f; }

/* ===== Bathhouse: light, quiet, expensive. Serif headlines, hairlines, lots of air. ===== */
html[data-theme="bathhouse"] {
  --stone-50: #faf8f4; --stone-100: #f4f1ea; --stone-200: #ebe6dc; --stone-300: #d9d2c5; --white: #ffffff;
  --ink: #1c1a17; --ink-soft: #6b665d;
  --glacier: #2a2824; --glacier-soft: #ebe6dc; --cedar: #8b6a43; --cedar-soft: #f1e8da;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, sans-serif;
  --r-s: 0px; --r-m: 0px; --r-l: 0px;
  --shadow-card: 0 0 0 1px #d9d2c5;
  font-variant-numeric: lining-nums;      /* the serif's old-style figures make "10" read as "IO": durations and prices use lining figures */
}
html[data-theme="bathhouse"] h1, html[data-theme="bathhouse"] h2, html[data-theme="bathhouse"] h3 { font-weight: 500; letter-spacing: -0.005em; }
html[data-theme="bathhouse"] h1 { font-size: clamp(46px, 7.4vw, 104px); line-height: 0.98; }
html[data-theme="bathhouse"] h2 { font-size: clamp(34px, 4.2vw, 58px); }
html[data-theme="bathhouse"] h3 { font-size: 28px; }
html[data-theme="bathhouse"] .mark { font-family: var(--sans); letter-spacing: 0.3em; font-size: 12px; }
html[data-theme="bathhouse"] .num, html[data-theme="bathhouse"] .event .when { font-weight: 500; }
html[data-theme="bathhouse"] .product .min { font-weight: 600; }      /* the length is what tells the rows apart */
html[data-theme="bathhouse"] .site-header { background: var(--stone-50); border-bottom-color: var(--stone-200); }
html[data-theme="bathhouse"] .nav a { text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; }
html[data-theme="bathhouse"] .nav a[aria-current="page"] { background: none; text-decoration: underline; text-underline-offset: 6px; }
html[data-theme="bathhouse"] .btn { text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 500; padding: 17px 28px; }
html[data-theme="bathhouse"] .btn.sm { padding: 10px 14px; letter-spacing: 0.1em; }
html[data-theme="bathhouse"] .btn.ghost { border-width: 1px; border-color: var(--ink); }
html[data-theme="bathhouse"] .hero { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; gap: var(--s8); padding-top: var(--s9); }
html[data-theme="bathhouse"] .hero .lead { margin-left: auto; margin-right: auto; }
html[data-theme="bathhouse"] .nav a.cta { background: var(--ink); color: var(--white); }
html[data-theme="bathhouse"] .hero .ctas, html[data-theme="bathhouse"] .tonight { justify-content: center; }
html[data-theme="bathhouse"] .hero .photo { width: 100%; aspect-ratio: 16 / 8; max-height: none; }
@media (max-width: 820px) { html[data-theme="bathhouse"] .hero .photo { aspect-ratio: 4 / 5; } }
html[data-theme="bathhouse"] .band { padding-top: var(--s9); padding-bottom: var(--s9); }
html[data-theme="bathhouse"] .band.stone { background: var(--stone-50); border-color: var(--stone-200); }
html[data-theme="bathhouse"] .menu { gap: 0; border-top: 1px solid var(--stone-300); border-left: 1px solid var(--stone-300); }
html[data-theme="bathhouse"] .menu a { background: none; border: 0; border-right: 1px solid var(--stone-300); border-bottom: 1px solid var(--stone-300); padding: var(--s6) var(--s5); }
html[data-theme="bathhouse"] .menu a:hover { background: var(--white); }
html[data-theme="bathhouse"] .menu .num, html[data-theme="bathhouse"] .steps .num { font-size: 60px; color: var(--ink); }
html[data-theme="bathhouse"] .event, html[data-theme="bathhouse"] .card, html[data-theme="bathhouse"] .pill { border: 1px solid var(--stone-300); }
html[data-theme="bathhouse"] .product, html[data-theme="bathhouse"] .seg button, html[data-theme="bathhouse"] .day, html[data-theme="bathhouse"] .time, html[data-theme="bathhouse"] .pay label { background: var(--white); border: 1px solid var(--stone-300); }
html[data-theme="bathhouse"] .product[aria-pressed="true"], html[data-theme="bathhouse"] .seg button[aria-pressed="true"], html[data-theme="bathhouse"] .day[aria-pressed="true"], html[data-theme="bathhouse"] .time[aria-pressed="true"], html[data-theme="bathhouse"] .pay label:has(input:checked) { background: var(--ink); color: var(--white); border-color: var(--ink); }
html[data-theme="bathhouse"] [aria-pressed="true"] .muted, html[data-theme="bathhouse"] [aria-pressed="true"] small, html[data-theme="bathhouse"] [aria-pressed="true"] .blurb, html[data-theme="bathhouse"] [aria-pressed="true"] .dow, html[data-theme="bathhouse"] [aria-pressed="true"] .mon, html[data-theme="bathhouse"] [aria-pressed="true"] .left, html[data-theme="bathhouse"] .pay label:has(input:checked) .muted { color: rgba(255, 255, 255, 0.72); }
html[data-theme="bathhouse"] .time[aria-pressed="true"] .dots i { background: rgba(255, 255, 255, 0.3); }
html[data-theme="bathhouse"] .time[aria-pressed="true"] .dots i.taken { background: rgba(255, 255, 255, 0.6); }
html[data-theme="bathhouse"] .time[aria-pressed="true"] .dots i.mine { background: #fff; }
html[data-theme="bathhouse"] .dots i.taken, html[data-theme="bathhouse"] .legend i.taken { background: var(--cedar); }
html[data-theme="bathhouse"] .pay label.offer { background: var(--cedar-soft); }
html[data-theme="bathhouse"] .photo.blank { background: linear-gradient(160deg, #ebe6dc, #d9d2c5); }

/* ===== Grove: soft, green, rounded. For studios that sell calm. ===== */
html[data-theme="grove"] {
  --stone-50: #f4f2e8; --stone-100: #ecebdd; --stone-200: #e0dfcd; --stone-300: #c9c9b2; --white: #fbfaf4;
  --ink: #1f2a22; --ink-soft: #535d50;
  --glacier: #3f5e48; --glacier-soft: #d8e4d2; --cedar: #b5623a; --cedar-soft: #f2dccd;
  --display: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --r-s: 12px; --r-m: 18px; --r-l: 32px;
  --shadow-card: 0 24px 60px -30px rgba(31, 42, 34, 0.4);
}
html[data-theme="grove"] h1, html[data-theme="grove"] h2, html[data-theme="grove"] h3 { font-weight: 500; letter-spacing: -0.02em; }
html[data-theme="grove"] h1 { font-size: clamp(42px, 6.6vw, 88px); line-height: 1; }
html[data-theme="grove"] .mark { font-family: var(--sans); color: var(--glacier); letter-spacing: 0.2em; font-weight: 700; }
html[data-theme="grove"] .site-header { background: var(--stone-50); border-bottom: 0; }
html[data-theme="grove"] .btn, html[data-theme="grove"] .nav a, html[data-theme="grove"] .mini { border-radius: var(--r-pill); }
html[data-theme="grove"] .btn { background: var(--glacier); padding: 15px 26px; }
html[data-theme="grove"] .btn:hover { background: #33503c; }
html[data-theme="grove"] .btn.water:hover { background: #33503c; }
html[data-theme="grove"] .btn.ghost { background: transparent; }
html[data-theme="grove"] .nav a.cta { background: var(--glacier); }
html[data-theme="grove"] .hero { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; }
html[data-theme="grove"] .hero .photo { order: -1; border-radius: 999px 999px var(--r-l) var(--r-l); aspect-ratio: 4 / 5; max-height: 640px; }
@media (max-width: 820px) { html[data-theme="grove"] .hero { grid-template-columns: minmax(0, 1fr); } html[data-theme="grove"] .hero .photo { order: 0; aspect-ratio: 4 / 5; } }
html[data-theme="grove"] .band.stone { background: var(--glacier); color: #f4f2e8; border: 0; border-radius: var(--r-l); margin: 0 var(--gutter); }
html[data-theme="grove"] .band.stone .muted, html[data-theme="grove"] .band.stone > .wrap > .panel-head a, html[data-theme="grove"] .band.stone dt { color: rgba(244, 242, 232, 0.78); }
/* the pale text above is for words on the green itself; every kind of card in the band keeps its own dark text */
html[data-theme="grove"] .band.stone :is(.menu a, .event, .card, .plan, .pill) { color: var(--ink); }
html[data-theme="grove"] .band.stone :is(.menu a, .event, .card, .plan, .pill) :is(.muted, dt) { color: var(--ink-soft); }
html[data-theme="grove"] .band.stone .plan.member { color: var(--white); }
html[data-theme="grove"] .band.stone .plan.member :is(.muted, p, dt) { color: color-mix(in srgb, var(--white) 78%, var(--ink)); }
html[data-theme="grove"] .photo.square { border-radius: 50%; }
html[data-theme="grove"] .menu .num, html[data-theme="grove"] .steps .num { font-weight: 500; font-size: 52px; }
html[data-theme="grove"] .field input, html[data-theme="grove"] .field textarea, html[data-theme="grove"] .promo-row input, html[data-theme="grove"] .copy-row input { border-radius: 14px; }
html[data-theme="grove"] .photo.blank { background: linear-gradient(160deg, #d8e4d2, #f2dccd); }
html[data-theme="grove"] .site-footer { background: var(--stone-100); border-top: 0; }

/* ---- every look: a full start time stays readable; it is told apart by a flat, dashed tile, not by fading it out ---- */
html[data-theme] .time:disabled { opacity: 1; background: transparent; border: 2px dashed var(--stone-300); color: var(--ink-soft); }
html[data-theme="bathhouse"] .time:disabled { border-width: 1px; }

/* ---- the bar for flipping between looks in a demo ---- */
.lookbar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 50; display: flex; gap: 2px; align-items: center; padding: 5px; background: #111; border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6); font: 600 13px/1 system-ui, sans-serif; max-width: calc(100vw - 16px); overflow-x: auto; }
.lookbar span { color: #999; padding: 0 8px 0 12px; white-space: nowrap; }
.lookbar a { color: #eee; text-decoration: none; padding: 0 14px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 999px; white-space: nowrap; }
.lookbar a[aria-current="true"] { background: #fff; color: #111; }
.lookbar a.x { color: #bbb; padding: 0 12px; }
body:has(> .lookbar) { padding-bottom: 72px; }      /* the bar floats over the page: keep the end of the page clear of it */
@media (max-width: 520px) { .lookbar span { display: none; } }
html[data-theme="bathhouse"] .hero .tonight-wrap p { margin-left: auto; margin-right: auto; }
