/* ==========================================================================
   Majora Studio — site styles
   Palette is built around the black logo mark: ink, warm paper, one brass accent.
   ========================================================================== */

:root {
  --ink: #0f0f0e;
  --ink-soft: #1c1b19;
  --paper: #f5f2ec;
  --paper-deep: #ebe6dc;
  --card: #fbfaf7;
  --white: #ffffff;
  --muted: #655f56;
  --line: rgba(15, 15, 14, 0.12);
  --line-strong: rgba(15, 15, 14, 0.26);

  --on-ink: #f5f2ec;
  --on-ink-muted: rgba(245, 242, 236, 0.66);
  --line-on-ink: rgba(245, 242, 236, 0.16);

  --brass: #b08a4f;
  --brass-text: #7a5c2c;   /* brass that passes contrast on paper */
  --brass-light: #dcbd88;  /* brass that passes contrast on ink */
  --danger: #a3341f;

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 68px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, dl, dd, ol, ul, fieldset, table { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--paper); color: var(--ink); font-weight: 600;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass-text);
}
.eyebrow--on-ink { color: var(--brass-light); }

h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.02; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease;
}
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #2b2a27; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--white); }
.btn--ghost { border-color: rgba(245, 242, 236, 0.36); color: var(--on-ink); background: transparent; }
.btn--ghost:hover { border-color: var(--on-ink); }
.btn--outline { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }
.btn--text { padding-inline: 10px; background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.btn--text:hover { text-decoration-color: var(--ink); }
.btn--danger { background: var(--danger); color: var(--white); }
.btn--danger:hover { background: #8a2a18; }
.btn[disabled] { opacity: .38; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(15, 15, 14, 0.9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-on-ink);
  color: var(--on-ink);
}
.site-header__inner {
  max-width: 1120px; height: 100%; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: var(--on-ink); white-space: nowrap;
}
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--on-ink-muted);
  padding: 8px 0; transition: color .15s ease;
}
.nav a:hover { color: var(--on-ink); }
.site-header .btn { margin-left: 4px; }

@media (max-width: 760px) {
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
  .brand { letter-spacing: 0.16em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: var(--header-h);
  background: var(--ink); color: var(--on-ink);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(55% 65% at 80% 45%, rgba(176, 138, 79, 0.24), transparent 70%);
}
.hero__inner {
  max-width: 1120px; margin-inline: auto;
  padding: clamp(56px, 9vw, 112px) var(--gutter) clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 5vw, 72px); align-items: center;
}
.hero h1 {
  margin-top: 20px;
  font-size: clamp(46px, 7.4vw, 96px); line-height: 0.96;
}
.hero h1 em { font-style: italic; color: var(--brass-light); }
.hero__lede {
  margin-top: 24px; max-width: 46ch;
  font-size: clamp(16px, 1.5vw, 18px); color: var(--on-ink-muted);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  margin-top: clamp(40px, 6vw, 72px); padding-top: 24px;
  border-top: 1px solid var(--line-on-ink);
}
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-muted); }
.facts dd { margin-top: 6px; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.15; }

.hero__mark {
  position: relative; justify-self: end;
  width: 100%; max-width: 420px; aspect-ratio: 1;
  display: grid; place-items: center;
}
.hero__mark::before, .hero__mark::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--line-on-ink);
}
.hero__mark::before { inset: 0; }
.hero__mark::after { inset: -10%; border-style: dashed; opacity: .7; }
.hero__mark img { width: 70%; animation: turn 200s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__mark {
    position: absolute; z-index: -1; top: calc(var(--header-h) + 8px); right: -28%;
    width: 86vw; max-width: 460px; opacity: .16;
  }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:last-child { grid-column: 1 / -1; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--paper-deep); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section__head { margin-bottom: clamp(28px, 4vw, 48px); }
.section__head h2 { margin-top: 12px; }
.section__lede { margin-top: 14px; max-width: 52ch; color: var(--muted); }

/* ---------- Service menu ---------- */
.menu { border-top: 1px solid var(--line-strong); }
.menu__item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center;
  gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--line);
}
.menu__text h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.1; }
.menu__text p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.menu__meta { display: grid; justify-items: end; gap: 2px; text-align: right; }
.menu__price { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.menu__time { font-size: 13px; color: var(--muted); }

@media (max-width: 620px) {
  .menu__item { grid-template-columns: minmax(0, 1fr) auto; }
  .menu__meta { grid-column: 1; grid-row: 2; display: flex; align-items: baseline; gap: 12px; text-align: left; margin-top: 4px; }
  .menu__item .btn { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- Booking shell ---------- */
.booking {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.booking__main {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(20px, 3.4vw, 36px);
  container: booking-main / inline-size;
  box-shadow: 0 1px 2px rgba(15, 15, 14, 0.04), 0 18px 40px -24px rgba(15, 15, 14, 0.22);
}

/* Steps */
.steps { display: flex; align-items: center; gap: 6px; margin-bottom: 28px; }
.steps__item { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.steps__item:not(:last-child) { flex: 0 1 auto; min-width: 0; }
.steps__inner { flex: none; }
.steps__item:not(:last-child)::after {
  content: ""; flex: 1 1 32px; min-width: 8px; max-width: 32px; width: 32px; height: 1px; background: var(--line-strong); margin-left: 4px;
}
.steps__inner { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 2px; border-radius: 999px; font-weight: inherit; }
button.steps__inner { cursor: pointer; }
button.steps__inner:hover .steps__label { text-decoration: underline; text-underline-offset: 4px; }
.steps__num {
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); font-size: 13px; font-variant-numeric: tabular-nums;
}
.steps__item.is-current { color: var(--ink); }
.steps__item.is-current .steps__num { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.steps__item.is-done .steps__num { background: var(--brass); border-color: var(--brass); color: var(--white); }
.steps__item.is-done { color: var(--ink); }
/* When the card is too narrow for every label, keep only the current one. */
@container booking-main (max-width: 540px) {
  .steps__item:not(.is-current) .steps__label { display: none; }
}

/* Panel */
.panel { min-height: 240px; }
.panel__title {
  font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3vw, 34px); line-height: 1.1;
  margin-bottom: 20px; outline: none;
}
.notice {
  margin-bottom: 16px; padding: 12px 16px; border-radius: 10px;
  background: rgba(163, 52, 31, 0.08); color: var(--danger); font-weight: 600; font-size: 14px;
}

/* Option cards (services, stylists) */
.options { display: grid; gap: 10px; }
.options--two { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.option {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 14px;
  padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--white);
  cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.option:hover { border-color: var(--ink); }
.option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.option__dot {
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  display: grid; place-items: center; transition: border-color .15s ease;
}
.option__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .15s ease; }
.option__avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-deep); font-family: var(--serif); font-size: 22px; font-weight: 600;
  transition: background-color .15s ease, color .15s ease;
}
.option__avatar img { width: 26px; height: 26px; }
.option__name { display: block; font-weight: 700; font-size: 16px; line-height: 1.3; }
.option__desc { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; }
.option__meta { display: grid; justify-items: end; gap: 2px; text-align: right; }
.option__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.option__time { font-size: 13px; color: var(--muted); }
.option:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--paper); }
.option:has(input:checked) .option__dot { border-color: var(--ink); }
.option:has(input:checked) .option__dot::after { transform: scale(1); }
.option:has(input:checked) .option__avatar { background: var(--ink); color: var(--paper); }
.option:has(input:checked) .option__avatar img { filter: invert(1); }
.option:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: 3px; }

/* Date + time */
.when { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
@container booking-main (max-width: 500px) {
  .when { grid-template-columns: 1fr; }
  .cal { max-width: 360px; }
}

.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__month { font-weight: 700; }
.cal__nav {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent;
  display: grid; place-items: center; cursor: pointer; transition: border-color .15s ease;
}
.cal__nav:hover:not([disabled]) { border-color: var(--ink); }
.cal__nav[disabled] { opacity: .3; cursor: not-allowed; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__dow span { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); padding: 6px 0; }
.cal__day {
  position: relative; aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 50%; background: transparent;
  font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background-color .12s ease, color .12s ease;
}
.cal__day:hover:not([disabled]):not(.is-selected) { background: var(--paper-deep); }
.cal__day[disabled] { color: rgba(15, 15, 14, 0.28); font-weight: 400; cursor: not-allowed; }
.cal__day.is-today::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--brass);
}
.cal__day.is-selected { background: var(--ink); color: var(--paper); }

.slots__date { font-weight: 700; margin-bottom: 14px; }
.slots__empty { color: var(--muted); padding: 12px 0; }
.slots__group + .slots__group { margin-top: 18px; }
.slots__group h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot {
  min-height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--white);
  font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; cursor: pointer;
  transition: border-color .12s ease, background-color .12s ease, color .12s ease;
}
.slot:hover:not([disabled]) { border-color: var(--ink); }
.slot.is-selected { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.slot[disabled] { background: transparent; border-color: var(--line); color: rgba(15, 15, 14, 0.34); text-decoration: line-through; cursor: not-allowed; }

/* Details form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }
.field label { font-size: 14px; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--white);
  font-size: 16px; line-height: 1.4; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input { min-height: 48px; }
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(176, 138, 79, 0.35); }
.field.has-error input { border-color: var(--danger); }
.field__error { font-size: 13px; font-weight: 600; color: var(--danger); }
.field__hint { font-size: 13px; color: var(--muted); }

/* Recap (small screens) + actions */
.recap { margin-top: 20px; padding: 12px 14px; border-radius: 10px; background: var(--paper-deep); font-size: 14px; font-weight: 600; display: none; }
.booking__actions {
  display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line);
}
.booking__hint { margin-left: auto; font-size: 13px; color: var(--muted); text-align: right; }
@media (max-width: 520px) {
  .booking__hint { display: none; }
  .booking__actions .btn--dark { margin-left: auto; }
}

/* Summary card */
.summary {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--ink); color: var(--on-ink); border-radius: 20px; padding: 28px 24px; overflow: hidden;
}
.summary__mark { position: absolute; right: -34px; top: -34px; width: 132px; opacity: .1; pointer-events: none; }
.summary h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.1; }
.summary dl { margin-top: 20px; display: grid; }
.summary dl > div { padding: 14px 0; border-top: 1px solid var(--line-on-ink); }
.summary dt { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-ink-muted); }
.summary dd { margin-top: 4px; font-weight: 600; line-height: 1.35; }
.summary dd small { display: block; font-size: 13px; font-weight: 400; color: var(--on-ink-muted); }
.summary dd.is-empty { font-weight: 400; color: var(--on-ink-muted); }
.summary__total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 4px; padding-top: 18px; border-top: 1px solid rgba(245, 242, 236, 0.4); }
.summary__total span { font-size: 13px; color: var(--on-ink-muted); }
.summary__total strong { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1; color: var(--brass-light); }

@media (max-width: 960px) {
  .booking { grid-template-columns: 1fr; }
  .summary { display: none; }
  .recap:not([hidden]) { display: block; }
}

/* Confirmation */
.done { text-align: center; max-width: 520px; margin-inline: auto; padding-block: 8px; }
.done__mark { width: 56px; height: 56px; margin: 0 auto 16px; }
.done .panel__title { font-size: clamp(32px, 4vw, 44px); margin-bottom: 10px; }
.done__lede { color: var(--muted); }
.done__lede strong { color: var(--ink); }
.receipt { margin-top: 24px; text-align: left; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.receipt > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; }
.receipt > div + div { border-top: 1px solid var(--line); }
.receipt dt { color: var(--muted); font-size: 14px; }
.receipt dd { font-weight: 600; text-align: right; }
.receipt .ref { font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.done__note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- My bookings ---------- */
.mine { display: grid; gap: 12px; }
.mine__item {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card);
}
.mine__date { width: 64px; height: 64px; border-radius: 14px; background: var(--ink); color: var(--paper); display: grid; place-content: center; text-align: center; }
.mine__day { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1; }
.mine__mon { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 2px; }
.mine__text h3 { font-size: 17px; font-weight: 700; }
.mine__text p { font-size: 14px; color: var(--muted); }
.mine__ref { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.mine__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.mine__ask { font-size: 14px; font-weight: 600; }
@media (max-width: 700px) {
  .mine__item { grid-template-columns: auto minmax(0, 1fr); }
  .mine__actions { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } }
.visit h2 { margin-top: 12px; }
.contact { margin-top: 28px; display: grid; }
.contact > div { padding: 14px 0; border-top: 1px solid var(--line-on-ink); }
.contact dt { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-ink-muted); }
.contact dd { margin-top: 4px; font-size: 17px; }
.contact a { text-decoration-color: rgba(245, 242, 236, 0.4); text-underline-offset: 4px; }
.contact a:hover { text-decoration-color: var(--on-ink); }
.contact__empty { margin-top: 24px; color: var(--on-ink-muted); }
.visit__sub { font-family: var(--serif); font-weight: 600; font-size: 28px; margin-bottom: 12px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 12px 0; border-top: 1px solid var(--line-on-ink); font-weight: 400; text-align: left; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--on-ink-muted); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--brass-light); font-weight: 600; }
.hours .tag { margin-left: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); border-top: 1px solid var(--line-on-ink); padding-block: 28px; font-size: 14px; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer .brand img { width: 28px; height: 28px; }

.site-footer__link { text-underline-offset: 4px; text-decoration-color: rgba(245, 242, 236, 0.3); }
.site-footer__link:hover { color: var(--on-ink); }

/* ---------- Small shared bits ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }  /* bot trap, never shown */
.badge {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  background: rgba(163, 52, 31, 0.1); color: var(--danger);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
}
.mine__item.is-cancelled .mine__date { background: var(--muted); }
.mine__item.is-cancelled h3 { text-decoration: line-through; color: var(--muted); }
.mine__error { flex-basis: 100%; text-align: right; font-size: 13px; font-weight: 600; color: var(--danger); }
.panel > .btn { margin-top: 4px; }

/* ---------- Studio bookings page (/admin) ---------- */
.admin__main { padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px)); padding-bottom: clamp(48px, 8vw, 96px); min-height: 100vh; }
.nav--always { display: flex; }
.admin h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; }

.login {
  max-width: 420px; margin-inline: auto; padding: clamp(24px, 5vw, 40px);
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; text-align: center;
  box-shadow: 0 1px 2px rgba(15, 15, 14, 0.04), 0 18px 40px -24px rgba(15, 15, 14, 0.22);
}
.login__mark { width: 56px; height: 56px; margin: 0 auto 16px; }
.login__lede { margin-top: 10px; color: var(--muted); }
.login__form { display: grid; gap: 16px; margin-top: 24px; text-align: left; }

.board__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.board__head h1 { margin-top: 8px; outline: none; }
.board__tools { display: flex; align-items: center; gap: 14px; }
.board__updated { font-size: 13px; color: var(--muted); }
.board__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); }
.board__stats > div { padding: 18px 20px; border-radius: 16px; background: var(--ink); color: var(--on-ink); }
.board__stats dt { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-ink-muted); }
.board__stats dd { margin-top: 4px; font-family: var(--serif); font-size: clamp(30px, 4vw, 40px); font-weight: 600; line-height: 1; color: var(--brass-light); font-variant-numeric: tabular-nums; }
.board__empty { padding: 32px; border: 1px dashed var(--line-strong); border-radius: 16px; color: var(--muted); text-align: center; }

.day + .day { margin-top: 36px; }
.day__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); }
.day__head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3vw, 30px); line-height: 1.1; letter-spacing: 0; }
.day__head p { font-size: 14px; color: var(--muted); white-space: nowrap; }
.day__head .tag { margin-left: 8px; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-text); vertical-align: middle; }

.appt {
  display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: start; gap: 8px 24px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.appt__time strong { display: block; font-size: 17px; font-variant-numeric: tabular-nums; }
.appt__time span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.appt h3 { font-size: 16px; font-weight: 700; line-height: 1.35; }
.appt p { font-size: 14px; color: var(--muted); }
.appt a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.appt__notes { margin-top: 4px; font-style: italic; }
.appt__ref { margin-top: 4px; font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.appt__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.appt__ask { font-size: 14px; font-weight: 600; }
.appt.is-cancelled .appt__time, .appt.is-cancelled .appt__what, .appt.is-cancelled .appt__who { opacity: .5; }
.appt.is-cancelled .appt__what h3, .appt.is-cancelled .appt__time strong { text-decoration: line-through; }

@media (max-width: 820px) {
  .appt { grid-template-columns: 96px minmax(0, 1fr); }
  .appt__who { grid-column: 2; }
  .appt__actions { grid-column: 2; justify-content: flex-start; }
}
@media (max-width: 520px) {
  .board__stats { gap: 8px; }
  .board__stats > div { padding: 14px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
