/*
  Hora Notes
  Layout concept: the page is one ahoratra, a day and a night. It opens in daylight
  around a live dial of the 24 horas, deepens through the consultation, and passes
  through dusk into a plum night for booking and questions.
  Colours come from the logo: ivory ground, plum ink, moon gold, lotus pink.
*/
:root {
  --ivory: #FBF0E6;      /* day ground, the logo's own background */
  --parchment: #F4E2D3;  /* deeper daylight for the consultation band */
  --plum: #451027;       /* wordmark ink: text by day, ground by night */
  --plum-soft: #6E4257;  /* secondary text by day */
  --night: #2A0918;      /* night ground */
  --night-line: #5A2A40; /* hairlines by night */
  --gold: #C08A45;       /* rules, dial, stars */
  --gold-ink: #85561D;   /* small gold text on ivory */
  --gold-moon: #E4AE6F;  /* the moon's gold, used by night */
  --lotus: #DD999C;      /* the current hora */
  --moonlight: #F6E6D6;  /* text by night */
  --moon-soft: #CDB3B4;  /* secondary text by night */

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --f-body: "Jost", "Futura", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-deva: "Tiro Devanagari Sanskrit", "Noto Serif Devanagari", "Kohinoor Devanagari", serif;

  /* type scale, ratio 1.25 on an 18px base */
  --t-sm: 0.889rem;
  --t-base: 1.125rem;
  --t-md: 1.406rem;
  --t-lg: 1.758rem;
  --t-xl: clamp(2rem, 1.4rem + 2.2vw, 2.75rem);
  --t-xxl: clamp(2.5rem, 1.5rem + 4vw, 4.3rem);

  --gutter-x: 24px;
  --measure: 34rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--plum);
  font-family: var(--f-body);
  font-weight: 350;
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(var(--gutter-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter-x), env(safe-area-inset-right, 0px));
}
@media (max-width: 480px) { :root { --gutter-x: 18px; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--plum); color: var(--ivory); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  background: var(--plum); color: var(--ivory);
  font-family: var(--f-body); font-size: 1rem; font-weight: 450; letter-spacing: 0.03em;
  text-decoration: none; border: 1px solid var(--plum); border-radius: 2px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: #5E1838; border-color: #5E1838; }
.btn--quiet { min-height: 40px; padding: 0 18px; font-size: 0.95rem; background: transparent; color: var(--plum); }
.btn--quiet:hover { background: var(--plum); color: var(--ivory); }
.btn--line { background: transparent; color: var(--plum); }
.btn--line:hover { background: var(--plum); color: var(--ivory); }
.btn--gold { background: var(--gold-moon); border-color: var(--gold-moon); color: var(--night); font-weight: 500; }
.btn--gold:hover { background: var(--moonlight); border-color: var(--moonlight); }

.textlink {
  color: var(--plum); text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.textlink:hover { text-decoration-thickness: 2px; }
.textbtn {
  font: inherit; font-size: var(--t-sm); color: var(--gold-ink); background: none; border: 0; padding: 4px 0;
  cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.textbtn:disabled { cursor: progress; opacity: .7; }

/* ---------- masthead ---------- */
.masthead { padding-block: 18px; }
.masthead__in { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 52px; }
.brand__word { width: 132px; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 0.98rem; color: var(--plum-soft); padding-block: 6px; }
.nav a:hover { color: var(--plum); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
@media (max-width: 760px) {
  .masthead__in { flex-wrap: wrap; row-gap: 10px; }
  .nav { order: 3; width: 100%; gap: 22px; border-top: 1px solid rgba(192, 138, 69, .35); padding-top: 8px; }
  .brand__mark { width: 44px; }
  .brand__word { width: 112px; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(56px, 8vw, 104px); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__copy { min-width: 0; }
.hero h1 {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: var(--t-xxl); line-height: 1.04; letter-spacing: -0.012em;
  max-width: 11ch;
}
.lede { margin-top: 28px; max-width: var(--measure); font-size: var(--t-md); line-height: 1.5; color: var(--plum-soft); font-weight: 300; }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 14ch; }
}

/* ---------- the dial ---------- */
.dial { margin: 0; min-width: 0; justify-self: center; width: 100%; max-width: 460px; }
.dial__face { position: relative; width: 100%; aspect-ratio: 1; max-width: 100%; }
.dial__face svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.d-rim { fill: none; stroke: var(--gold); stroke-width: 1; opacity: .55; }
.d-seg path { stroke: var(--gold); stroke-width: .9; transition: fill .4s ease; }
.d-seg text { font-family: var(--f-deva); font-size: 15px; pointer-events: none; }
.d-seg.is-day path { fill: #FFF8F0; }
.d-seg.is-day text { fill: var(--plum); }
.d-seg.is-night path { fill: var(--plum); stroke: #7A4A2A; }
.d-seg.is-night text { fill: var(--gold-moon); }
.d-seg.is-now path { fill: var(--lotus); stroke: var(--gold); }
.d-seg.is-now text { fill: var(--night); font-weight: 700; }
.d-hub { fill: var(--ivory); stroke: var(--gold); stroke-width: .8; }
.d-star { fill: var(--gold); }
.d-sunset { fill: var(--gold-moon); stroke: var(--ivory); stroke-width: 2; }
.d-hand line { stroke: var(--plum); stroke-width: 1.6; stroke-linecap: round; }
.d-hand circle { fill: var(--plum); }

/* one orchestrated moment: the horas lay themselves out from sunrise, then the hand finds the hour */
.d-segs.is-intro .d-seg { animation: seg-in .5s ease both; animation-delay: calc(var(--i) * 45ms); }
.d-hand.is-intro { animation: hand-in 1.4s cubic-bezier(.2, .7, .2, 1) .5s both; transform-origin: 200px 200px; }
@keyframes seg-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hand-in { from { transform: rotate(0deg); opacity: 0; } 15% { opacity: 1; } to { transform: rotate(var(--deg)); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .d-segs.is-intro .d-seg, .d-hand.is-intro { animation: none; }
}

.dial__now {
  position: absolute; inset: 31%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  pointer-events: none;
}
.dial__kicker { font-size: clamp(0.72rem, 0.6rem + 0.4vw, 0.84rem); color: var(--gold-ink); letter-spacing: 0.04em; }
.dial__deva { font-family: var(--f-deva); font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem); line-height: 1.25; margin-top: 2px; }
.dial__name { font-family: var(--f-display); font-style: italic; font-size: clamp(1rem, 0.8rem + 0.9vw, 1.3rem); line-height: 1.15; }
.dial__until { font-size: clamp(0.72rem, 0.6rem + 0.4vw, 0.84rem); color: var(--plum-soft); margin-top: 4px; font-variant-numeric: tabular-nums; }

.dial__cap { margin-top: 22px; display: grid; gap: 6px; justify-items: center; text-align: center; }
.dial__cap #hora-use { font-family: var(--f-display); font-style: italic; font-size: var(--t-base); max-width: 30rem; text-wrap: balance; }
.dial__meta { font-size: var(--t-sm); color: var(--plum-soft); max-width: 30rem; text-wrap: balance; }

/* ---------- etymology ---------- */
.etym { padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid rgba(192, 138, 69, .4); }
.etym__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.etym__word {
  font-family: var(--f-deva); font-size: clamp(4.5rem, 2rem + 10vw, 10rem); line-height: 1.1;
  color: var(--plum); white-space: nowrap; letter-spacing: -0.01em;
}
.etym__drop { color: var(--gold); opacity: .38; }
.etym__text { display: grid; gap: 18px; max-width: var(--measure); min-width: 0; }
.etym h2, .notes h2, .consult h2, .faq h2 {
  font-family: var(--f-display); font-size: var(--t-xl); line-height: 1.12; letter-spacing: -0.005em; font-weight: 450;
}
.etym h2 { margin-bottom: 4px; }
.etym__text p { color: var(--plum-soft); }
.etym__text i { font-family: var(--f-display); color: var(--plum); }
@media (max-width: 860px) {
  .etym__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- consultation ---------- */
.consult { background: var(--parchment); padding-block: clamp(64px, 9vw, 120px); }
.consult__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.consult__main { min-width: 0; display: grid; gap: 22px; max-width: 36rem; }
.consult__intro { font-size: var(--t-md); font-weight: 300; line-height: 1.5; }
.includes { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid rgba(192, 138, 69, .55); }
.includes li {
  display: flex; gap: 16px; align-items: baseline;
  padding-block: 14px; border-bottom: 1px solid rgba(192, 138, 69, .55);
}
.includes li::before {
  content: ""; flex: none; width: 9px; height: 9px; transform: translateY(-1px) rotate(45deg);
  background: var(--gold);
}
.fine { font-size: var(--t-sm); color: var(--plum-soft); line-height: 1.55; }

.fee {
  min-width: 0; background: var(--ivory); border: 1px solid var(--gold);
  padding: clamp(28px, 4vw, 44px); display: grid; gap: 10px; justify-items: start;
  outline: 1px solid var(--gold); outline-offset: 6px;
  margin: 7px;
}
.fee__amount {
  font-family: var(--f-display); font-size: clamp(3rem, 2rem + 3.5vw, 4.4rem); line-height: 1;
  font-variant-numeric: lining-nums;
}
.fee__per { font-size: var(--t-base); }
.fee__intl { font-size: var(--t-base); color: var(--gold-ink); font-variant-numeric: lining-nums; }
.fee__note { font-size: var(--t-sm); color: var(--plum-soft); margin-bottom: 14px; }

.steps__title {
  margin-top: clamp(64px, 8vw, 104px);
  font-family: var(--f-display); font-style: italic; font-size: var(--t-lg); line-height: 1.2;
}
.steps {
  list-style: none; margin: 28px 0 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
}
.steps li { counter-increment: step; border-top: 1px solid var(--plum); padding-top: 18px; min-width: 0; display: grid; gap: 8px; align-content: start; }
.steps li::before {
  content: counter(step); font-family: var(--f-display); font-size: var(--t-lg); line-height: 1; color: var(--gold-ink);
  font-variant-numeric: lining-nums;
}
.steps h4 { font-family: var(--f-body); font-weight: 500; font-size: var(--t-base); }
.steps p { color: var(--plum-soft); font-size: 1rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 760px) { .consult__grid { grid-template-columns: minmax(0, 1fr); } .fee { justify-self: stretch; } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the notes: a contents page ---------- */
.notes { padding-block: clamp(64px, 9vw, 120px) clamp(48px, 7vw, 88px); }
.notes__head { display: grid; gap: 14px; max-width: var(--measure); }
.notes__head p { color: var(--plum-soft); }
.notes__head a { color: var(--plum); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.contents { list-style: none; margin: 40px 0 44px; padding: 0; max-width: 900px; }
.contents li {
  display: grid; grid-template-columns: 5.5rem auto minmax(24px, 1fr) auto;
  align-items: baseline; gap: 14px; padding-block: 12px;
}
.c__deva { font-family: var(--f-deva); font-size: var(--t-md); color: var(--gold-ink); line-height: 1.2; }
.c__name { font-family: var(--f-display); font-size: var(--t-lg); line-height: 1.15; }
.c__lead { border-bottom: 1.5px dotted var(--gold); transform: translateY(-6px); min-width: 24px; }
.c__desc { color: var(--plum-soft); font-size: 1rem; text-align: right; }
@media (max-width: 640px) {
  .contents li { grid-template-columns: 4.2rem minmax(0, 1fr); row-gap: 2px; padding-block: 14px; border-bottom: 1px dotted rgba(192, 138, 69, .7); }
  .c__lead { display: none; }
  .c__desc { grid-column: 2; text-align: left; }
  .c__deva { grid-row: span 2; }
}

/* ---------- dusk ---------- */
.dusk {
  height: clamp(110px, 16vw, 200px);
  background: linear-gradient(180deg, var(--ivory) 0%, #EBC9BD 38%, #9D5C6B 70%, var(--night) 100%);
}

/* ---------- night: booking ---------- */
.book, .faq, .foot { background: var(--night); color: var(--moonlight); }
.book { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 112px); }
.book__soon { display: grid; justify-items: center; text-align: center; gap: 18px; max-width: 40rem; margin-inline: auto; }
.book__star { width: 26px; height: 26px; fill: var(--gold-moon); }
.book h2 { font-family: var(--f-display); font-style: italic; font-size: var(--t-xl); line-height: 1.12; }
.countdown { font-family: var(--f-display); font-size: var(--t-md); color: var(--gold-moon); }
.countdown__n { font-size: clamp(3rem, 2rem + 4vw, 4.6rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; display: block; }
.book__soon > p:not(.countdown) { color: var(--moon-soft); max-width: 32rem; }
.book__soon .btn { margin-top: 10px; }
.book__open { display: grid; gap: 18px; }
.book__open > p { color: var(--moon-soft); }
.book__open > .btn { justify-self: start; }
.booking-frame { background: var(--ivory); border: 1px solid var(--gold); min-height: 720px; }
.booking-frame iframe { display: block; width: 100%; height: 760px; border: 0; }
.book .fine, .faq .fine { color: var(--moon-soft); }
.book .fine a { color: var(--gold-moon); }

/* ---------- night: questions ---------- */
.faq { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--night-line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq h2 { color: var(--moonlight); }
.faq__list { min-width: 0; border-top: 1px solid var(--night-line); }
.faq details { border-bottom: 1px solid var(--night-line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: baseline;
  padding-block: 20px; font-family: var(--f-display); font-size: var(--t-md); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--gold-moon); border-bottom: 1.5px solid var(--gold-moon);
  transform: translateY(-3px) rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { color: var(--moon-soft); padding-bottom: 22px; max-width: 38rem; }
@media (max-width: 760px) { .faq__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.foot { padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--night-line); }
.foot__grid { display: grid; grid-template-columns: auto 1fr; gap: 28px 40px; align-items: center; }
.foot__brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.foot__brand img:first-child { width: 64px; }
.foot__brand img:last-child { width: 140px; }
.foot__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 14px; justify-content: flex-end; }
.foot__links a { color: var(--moonlight); text-decoration-color: var(--gold-moon); text-underline-offset: 5px; }
.foot__links { align-items: center; }
.social {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--night-line); color: var(--moonlight);
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.social:hover { border-color: var(--gold-moon); color: var(--gold-moon); }
.social__icon {
  width: 20px; height: 20px; background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.social--ig { --icon: url("../assets/icons/instagram.svg"); }
.social--yt { --icon: url("../assets/icons/youtube.svg"); }
.social--yt .social__icon { width: 22px; }
.foot__legal { grid-column: 1 / -1; border-top: 1px solid var(--night-line); padding-top: 22px; display: grid; gap: 12px; }
.foot__policies { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--t-sm); }
.foot__policies a { color: var(--moon-soft); text-decoration-color: rgba(228, 174, 111, .45); text-underline-offset: 4px; }
.foot__policies a:hover { color: var(--gold-moon); text-decoration-color: var(--gold-moon); }
.foot__fine { font-size: var(--t-sm); color: var(--moon-soft); }
.foot :focus-visible, .book :focus-visible, .faq :focus-visible { outline-color: var(--gold-moon); }
@media (max-width: 560px) { .foot__grid { grid-template-columns: minmax(0, 1fr); } .foot__links { justify-content: flex-start; } }

/* ---------- policy & standalone pages ---------- */
.policy { padding-block: clamp(36px, 6vw, 72px) clamp(64px, 9vw, 112px); border-top: 1px solid rgba(192, 138, 69, .35); }
.policy__wrap { max-width: 46rem; display: grid; gap: 22px; }
.policy__crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--t-sm); color: var(--plum-soft); }
.policy__crumbs a { text-decoration-color: var(--gold); text-underline-offset: 4px; }
.policy h1 { font-family: var(--f-display); font-style: italic; font-size: var(--t-xl); line-height: 1.1; }
.policy__notice {
  background: var(--parchment); border-left: 3px solid var(--gold);
  padding: 12px 16px; font-size: var(--t-sm); color: var(--plum);
}
.policy__body { display: grid; gap: 28px; }
.policy__section { display: grid; gap: 10px; }
.policy__section h2 { font-family: var(--f-display); font-size: var(--t-md); font-weight: 500; }
.policy__section p { color: var(--plum-soft); }
.policy__nav {
  margin-top: 12px; padding-top: 20px; border-top: 1px solid rgba(192, 138, 69, .4);
  display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: var(--t-sm);
}
.policy__nav a { color: var(--plum); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.policy__nav span[aria-current="page"] { color: var(--gold-ink); font-weight: 500; }

/* ---------- admin shell & forms ---------- */
.admin-body { background: var(--ivory); min-height: 100vh; }
.admin-bar { border-bottom: 1px solid rgba(192, 138, 69, .45); background: var(--parchment); padding-block: 14px; }
.admin-bar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.admin-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; margin-right: auto; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 0.96rem; }
.admin-nav a { text-decoration: none; color: var(--plum-soft); padding-block: 4px; }
.admin-nav a[aria-current="page"], .admin-nav a:hover { color: var(--plum); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.admin-user { display: flex; align-items: center; gap: 12px; font-size: var(--t-sm); }
.admin-user__email { color: var(--plum-soft); }
.admin-btn-sm { min-height: 36px; padding: 0 14px; font-size: 0.9rem; cursor: pointer; }
.admin-main { padding-block: clamp(28px, 4vw, 52px) 72px; }
.admin-header { display: grid; gap: 8px; margin-bottom: 24px; max-width: 48rem; }
.admin-header h1 { font-family: var(--f-display); font-style: italic; font-size: var(--t-xl); line-height: 1.1; }
.admin-muted { color: var(--plum-soft); font-size: 0.98rem; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 24px; }
@media (max-width: 860px) { .admin-grid { grid-template-columns: minmax(0, 1fr); } }
.admin-card { background: #FFF9F3; border: 1px solid rgba(192, 138, 69, .55); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.admin-card--narrow { max-width: 28rem; margin-inline: auto; }
.admin-card h1 { font-family: var(--f-display); font-style: italic; font-size: var(--t-xl); }
.admin-card h2 { font-family: var(--f-display); font-size: var(--t-md); font-weight: 500; }
.admin-alert { padding: 12px 16px; border-left: 3px solid var(--gold); margin-bottom: 16px; font-size: 0.96rem; }
.admin-alert--error { background: #FCE8E6; border-left-color: #9A263A; color: #5C1222; }
.admin-alert--success { background: #EAF5EC; border-left-color: #2E6F40; color: #1D4A2A; }
.admin-status { border: 1px solid rgba(192, 138, 69, .6); background: #FFF9F3; padding: 20px 24px; display: grid; gap: 8px; }
.admin-status__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-status__rev { font-size: var(--t-sm); color: var(--plum-soft); }
.admin-status__detail { color: var(--plum); }
.admin-status__next, .admin-status__meta { font-size: var(--t-sm); color: var(--plum-soft); }
.status-pill { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; }
.status-pill--open { background: #DFF2E4; color: #1D4A2A; }
.status-pill--scheduled { background: #F5E8CE; color: #6E4710; }
.status-pill--paused { background: #F3DCE1; color: #6B1732; }
.status-pill--closed { background: #E7DFE2; color: #4A3740; }
.admin-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: 0.96rem; }
.field small, .checkbox-field small { display: block; color: var(--plum-soft); font-size: 0.86rem; line-height: 1.45; }
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="number"], .field input[type="date"], .field input[type="datetime-local"] {
  width: 100%; min-height: 44px; padding: 8px 12px; font: inherit; font-size: 1rem;
  color: var(--plum); background: #FFFFFF; border: 1px solid rgba(69, 16, 39, .32); border-radius: 2px;
}
.input-prefix { display: flex; align-items: center; border: 1px solid rgba(69, 16, 39, .32); background: #FFFFFF; border-radius: 2px; }
.input-prefix span { padding: 0 12px; color: var(--plum-soft); font-weight: 500; }
.input-prefix input { border: 0 !important; flex: 1; min-width: 0; }
.input-suffix { border-left: 1px solid rgba(69, 16, 39, .15); font-size: 0.9rem; }
.checkbox-field { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.checkbox-field input[type="checkbox"] { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--plum); flex: none; }
.admin-form__actions { padding-top: 6px; }
.admin-form .btn { cursor: pointer; }
.audit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.audit-list li { padding-bottom: 12px; border-bottom: 1px solid rgba(192, 138, 69, .3); display: grid; gap: 4px; }
.audit-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.audit-list__summary { font-size: 0.94rem; color: var(--plum); }
.audit-list__meta { font-size: 0.82rem; color: var(--plum-soft); }

/* ---------- admin slots & bookings ---------- */
.field select {
  width: 100%; min-height: 44px; padding: 8px 12px; font: inherit; font-size: 1rem;
  color: var(--plum); background: #FFFFFF; border: 1px solid rgba(69, 16, 39, .32); border-radius: 2px;
}
.status-pill--booked { background: #E3D6EC; color: #3D185C; }
.pill-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.date-picker-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; }
.date-picker-bar .field { min-width: 220px; }
.slot-windows-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .slot-windows-grid { grid-template-columns: minmax(0, 1fr); } }
.slot-window { display: grid; gap: 10px; align-content: start; }
.slot-window h3 { font-family: var(--f-display); font-size: 1.15rem; font-weight: 500; }
.slot-publish-actions, .slot-actions, .filter-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.table-wrap { width: 100%; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(192, 138, 69, .32); vertical-align: middle; }
.admin-table th { font-weight: 500; font-size: 0.86rem; color: var(--plum-soft); }
.col-check { width: 44px; }
.filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; align-items: end; }
.manual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .manual-grid { grid-template-columns: minmax(0, 1fr); } }
.detail-stack { display: grid; gap: 20px; align-content: start; }
.detail-dl { margin: 0; display: grid; gap: 12px; }
.detail-dl > div { display: grid; gap: 2px; border-bottom: 1px solid rgba(192, 138, 69, .24); padding-bottom: 10px; }
.detail-dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.detail-dl dt { font-size: 0.84rem; color: var(--plum-soft); text-transform: uppercase; letter-spacing: 0.04em; }
.detail-dl dd { margin: 0; color: var(--plum); }
.pre-wrap { white-space: pre-wrap; word-break: break-word; }
.danger-box { margin-top: 12px; padding-top: 16px; border-top: 1px solid rgba(154, 38, 58, .25); display: grid; gap: 12px; justify-items: start; }
.btn--danger { background: #8B1E32; border-color: #8B1E32; color: #FFF9F3; }
.btn--danger:hover { background: #6F1426; border-color: #6F1426; }

/* ---------- public /book flow ---------- */
.booking-page { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 9vw, 112px); border-top: 1px solid rgba(192, 138, 69, .35); }
.booking-wrap { max-width: 52rem; display: grid; gap: 24px; }
.booking-head { display: grid; gap: 12px; }
.booking-kicker { font-size: var(--t-sm); color: var(--gold-ink); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }
.booking-head h1 { font-family: var(--f-display); font-style: italic; font-size: var(--t-xl); line-height: 1.08; }
.booking-lede { color: var(--plum-soft); max-width: 44rem; }
.booking-stepper { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 0.94rem; }
.booking-stepper li { display: inline-flex; align-items: center; gap: 8px; color: var(--plum-soft); }
.booking-stepper li span {
  width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid var(--gold); font-size: 0.82rem; font-weight: 500;
}
.booking-stepper li[aria-current="step"] { color: var(--plum); font-weight: 500; }
.booking-stepper li[aria-current="step"] span { background: var(--plum); color: var(--ivory); border-color: var(--plum); }
.booking-card { background: #FFF9F3; border: 1px solid rgba(192, 138, 69, .55); padding: clamp(20px, 4vw, 36px); display: grid; gap: 20px; }
.booking-card h2 { font-family: var(--f-display); font-size: var(--t-lg); font-weight: 450; }
.booking-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 14px; }
.field textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 1rem;
  color: var(--plum); background: #FFFFFF; border: 1px solid rgba(69, 16, 39, .32); border-radius: 2px; resize: vertical;
}
.field input[type="tel"], .field input[type="time"] {
  width: 100%; min-height: 44px; padding: 8px 12px; font: inherit; font-size: 1rem;
  color: var(--plum); background: #FFFFFF; border: 1px solid rgba(69, 16, 39, .32); border-radius: 2px;
}
.booking-policy-strip { font-size: var(--t-sm); color: var(--plum-soft); }
.booking-policy-strip a { color: var(--plum); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.booking-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.public-slots { display: grid; gap: 22px; }
.public-slot-date { display: grid; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid rgba(192, 138, 69, .32); }
.public-slot-date:last-child { border-bottom: 0; padding-bottom: 0; }
.public-slot-date h3 { font-family: var(--f-display); font-size: var(--t-md); font-weight: 500; }
.public-slot-window { font-size: var(--t-sm); color: var(--plum-soft); font-weight: 500; }
.public-slot-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.slot-chip {
  min-height: 44px; padding: 8px 16px; font: inherit; font-size: 0.95rem;
  background: #FFFFFF; color: var(--plum); border: 1px solid rgba(69, 16, 39, .35); border-radius: 2px;
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.slot-chip:hover { border-color: var(--plum); background: var(--parchment); }
.slot-chip[aria-pressed="true"] { background: var(--plum); color: var(--ivory); border-color: var(--plum); }
.checkout-summary { padding: 18px 20px; background: var(--parchment); border: 1px solid var(--gold); display: grid; gap: 10px; }
.checkout-summary a { color: var(--plum); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.book-policies .foot__policies a { color: var(--plum-soft); text-decoration-color: var(--gold); }
.book-policies .foot__policies a:hover { color: var(--plum); }




