/* ============================================================================
   CT NAILS — Design System (Phase 1)
   Luxury Black + Champagne Gold theme.
   Mobile-first, responsive. Serif headings, clean sans-serif body.
   Fonts are loaded from Google Fonts (see phase1-preview.html / Phase 2
   layout). If offline, the serif / sans-serif fallbacks still apply.
   No emojis are used in this design system.
   ============================================================================ */


/* --- Tokens ---------------------------------------------------------------- */
:root {
  --black: #141414;
  --gold: #c9a84c;
  --gold-light: #e3c878;
  --gold-dark: #a8893a;
  --beige: #f2ece3;
  --ivory: #fbf9f6;
  --brown: #262220;
  --brown-light: #3a332e;
  --text: #262220;
  --text-muted: #6f675e;
  --text-on-dark: #f2ece3;
  --text-on-dark-muted: #b8ad9f;
  --border: #e5ddd0;
  --border-gold: rgba(201, 168, 76, 0.45);
  --danger: #b3261e;
  --success: #2e7d32;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(20, 20, 20, 0.12);
  --shadow-gold: 0 10px 30px rgba(201, 168, 76, 0.25);
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Jost', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

/* --- Reset / base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold); }
::selection { background: var(--gold); color: var(--black); }

/* --- Typography ------------------------------------------------------------ */
h1, h2, h3, h4, .serif {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
  font-kerning: normal;
  font-optical-sizing: auto;
  color: var(--brown);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.015em; line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.01em; line-height: 1.12; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}
.lead { font-size: 1.15rem; color: var(--text-muted); }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }

/* Gold divider under section headings */
.divider-gold {
  width: 64px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: 0; margin: 1rem auto 2rem;
}

/* --- Layout ---------------------------------------------------------------- */
.container { width: min(100% - 2.5rem, var(--max-width)); margin-inline: auto; }
.section { padding: 4.5rem 0; }
.section-dark { background: var(--black); color: var(--text-on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--ivory); }
.section-dark .lead, .section-dark .text-muted { color: var(--text-on-dark-muted); }
.section-beige { background: var(--beige); }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 6rem 0; }
}

/* --- Navigation ------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-height);
  background: rgba(20, 20, 20, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-gold);
}
.nav-inner {
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem; font-weight: 700;
  letter-spacing: 0.14em; color: var(--ivory);
  white-space: nowrap;
}
.logo span { color: var(--gold); }
.nav-links { display: none; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text-on-dark);
  font-size: 0.92rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); border-color: var(--gold); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  font-family: var(--font-sans); font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: var(--black); box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--black); }
.btn-outline-gold { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: var(--black); }
.btn-dark { background: var(--black); color: var(--ivory); }
.btn-dark:hover { background: var(--brown); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--black); }
.btn-light:hover { background: #fff; }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.8rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* --- Cards ----------------------------------------------------------------- */
.card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-gold); }
.card-gold { border-top: 3px solid var(--gold); }
.card-dark { background: var(--brown); border-color: #3d362f; color: var(--text-on-dark); }
.card-dark h3 { color: var(--ivory); }
.card-dark p { color: var(--text-on-dark-muted); }
.card-img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.card-price { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold-dark); }
.card-meta { font-size: 0.88rem; color: var(--text-muted); letter-spacing: 0.04em; }

/* --- Badges ---------------------------------------------------------------- */
.badge {
  display: inline-block;
  padding: 0.28rem 0.8rem;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 999px; border: 1px solid var(--border-gold);
  color: var(--gold-dark); background: rgba(201, 168, 76, 0.08);
}
.badge-gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.badge-dark { background: var(--black); color: var(--ivory); border-color: var(--black); }
.badge-success { background: #e6f2e7; color: var(--success); border-color: #bcd8be; }
.badge-danger { background: #fbe9e7; color: var(--danger); border-color: #f0c4c0; }

/* --- Hero ------------------------------------------------------------------ */
.hero {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(201, 168, 76, 0.18), transparent 55%),
    linear-gradient(180deg, #1b1712 0%, var(--black) 100%);
  color: var(--ivory);
  text-align: center;
  padding: 5.5rem 0 5rem;
}
.hero h1 { color: var(--ivory); }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { color: var(--text-on-dark-muted); max-width: 560px; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Forms ----------------------------------------------------------------- */
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; margin-bottom: 0.4rem;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--brown);
}
.input, select.input, textarea.input {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 300;
  color: var(--text); background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.25);
}
.input::placeholder { color: #a89e90; }
textarea.input { min-height: 120px; resize: vertical; }
.form-error { color: var(--danger); font-size: 0.88rem; margin-top: 0.3rem; }
.form-help { color: var(--text-muted); font-size: 0.88rem; margin-top: 0.3rem; }

/* --- Alerts / flash messages ---------------------------------------------- */
.alert {
  padding: 0.9rem 1.1rem; border-radius: var(--radius-sm);
  border: 1px solid transparent; margin-bottom: 1.25rem;
}
.alert-success { background: #e6f2e7; color: var(--success); border-color: #bcd8be; }
.alert-error { background: #fbe9e7; color: var(--danger); border-color: #f0c4c0; }
.alert-info { background: #fdf6e3; color: #7a5c14; border-color: #ecd9a0; }

/* --- Tables (admin / bookings) -------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
table.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.table th {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted);
  background: var(--beige);
}
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fdfaf5; }

/* --- Palette swatches (design-system preview) ------------------------------ */
.swatch {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: #fff; text-align: left;
}
.swatch-color { height: 84px; }
.swatch-body { padding: 0.8rem 1rem; }
.swatch-body strong { display: block; font-weight: 500; }
.swatch-body code { font-size: 0.85rem; color: var(--text-muted); }

/* --- Footer ---------------------------------------------------------------- */
.footer { background: var(--black); color: var(--text-on-dark-muted); padding: 3.5rem 0 1.5rem; }
.footer h4 { color: var(--ivory); }
.footer a { color: var(--text-on-dark-muted); }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid #2e2822;
  margin-top: 2.5rem; padding-top: 1.25rem;
  font-size: 0.85rem; text-align: center;
}

/* --- Misc ------------------------------------------------------------------ */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }

/* ============================================================================
   CT NAILS — Phase 2 additions (Furniture-House style, nail studio)
   Filter pills, browse cards, service art tiles, modal, toast, lightbox,
   membership tiers, reviews, contact grid, mobile menu.
   ============================================================================ */

/* --- Mobile menu / nav toggle --------------------------------------------- */
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: transparent; border: 1px solid var(--border-gold); border-radius: 8px; color: var(--ivory); font-size: 1.4rem; cursor: pointer; }
.nav-book { display: none; }
@media (min-width: 900px) { .nav-toggle { display: none; } .nav-book { display: inline-flex; } }
.mobile-menu { background: var(--black); border-top: 1px solid var(--border-gold); padding: .75rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu a { color: var(--text-on-dark); padding: .6rem .25rem; letter-spacing: .12em; text-transform: uppercase; font-size: .92rem; border-bottom: 1px solid #2e2822; }
.mobile-menu a.active { color: var(--gold); }
.mobile-menu .btn { margin-top: .75rem; color: var(--black); }

/* --- Filter pills ---------------------------------------------------------- */
.filter-pills { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin: 0 0 2rem; }
.pill { padding: .55rem 1.25rem; border-radius: 999px; border: 1px solid var(--border-gold); background: #fff; color: var(--brown); font-family: var(--font-sans); font-size: .85rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.pill:hover { border-color: var(--gold); color: var(--gold-dark); }
.pill.active { background: var(--black); color: var(--gold); border-color: var(--black); }

/* --- Browse by Service (expandable, furniture "Browse by Room" style) ----- */
.browse-card { background: var(--brown); color: var(--text-on-dark); border: 1px solid #3d362f; border-radius: var(--radius); overflow: hidden; }
.browse-card.open { border-color: var(--gold); }
.browse-head { padding: 1.75rem; cursor: pointer; }
.browse-head h3 { color: var(--ivory); margin-bottom: .25rem; }
.browse-head p { color: var(--text-on-dark-muted); margin-bottom: 1rem; }
.browse-head .browse-count { color: var(--gold); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.browse-body { border-top: 1px solid #3d362f; padding: 1.25rem 1.75rem 1.75rem; background: #211c18; }
.browse-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.browse-body li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .6rem; border-bottom: 1px solid #332c26; }
.browse-body li:last-child { border-bottom: 0; padding-bottom: 0; }
.browse-body a { color: var(--ivory); }
.browse-body a:hover { color: var(--gold); }
.browse-body .browse-price { color: var(--gold); white-space: nowrap; }
.browse-toggle { background: transparent; border: 1px solid var(--gold); color: var(--gold); border-radius: 999px; padding: .5rem 1.2rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; font-family: var(--font-sans); }
.browse-toggle:hover { background: var(--gold); color: var(--black); }

/* --- Service cards --------------------------------------------------------- */
.card-service { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-art { height: 170px; display: flex; align-items: center; justify-content: center; position: relative; background: linear-gradient(135deg, #2b241d 0%, #141414 55%, #3a2f1e 100%); }
.service-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 20%, rgba(201,168,76,.35), transparent 55%); }
.service-art span:first-child { font-family: var(--font-serif); font-size: 3.2rem; font-weight: 700; color: var(--gold); letter-spacing: .14em; position: relative; z-index: 1; }
.service-art-label { position: absolute; bottom: .8rem; left: 1rem; z-index: 1; color: var(--text-on-dark-muted); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }
.service-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { margin-bottom: .4rem; font-size: 1.35rem; letter-spacing: -.005em; }
.badge-row { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; min-height: 1.6rem; }
.service-body .badge { align-self: flex-start; }
.card-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: auto; padding-top: 1rem; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }

/* --- Gradient gallery tiles (no hotlinked photos) -------------------------- */
.gallery-tile { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: linear-gradient(150deg, #262220 0%, #141414 60%, #3a2f1e 100%); min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.25rem; cursor: pointer; position: relative; transition: transform .25s, border-color .25s; }
.gallery-tile:hover { transform: translateY(-4px); border-color: var(--gold); }
.gallery-tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 15%, rgba(201,168,76,.35), transparent 50%); }
.gallery-tile .gallery-mono { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 700; color: var(--gold); position: relative; }
.gallery-tile h3 { color: var(--ivory); position: relative; margin-bottom: .2rem; }
.gallery-tile p { color: var(--text-on-dark-muted); position: relative; margin: 0; font-size: .92rem; }
.gallery-tile .badge { position: relative; align-self: flex-start; margin-bottom: .6rem; }

/* --- Modal / lightbox / toast ---------------------------------------------- */
.modal-overlay, .lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,20,20,.82); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal { background: var(--ivory); border-radius: var(--radius); max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: var(--shadow); }
.modal-close, .lightbox-close { position: absolute; top: .6rem; right: .8rem; z-index: 2; background: var(--black); color: var(--gold); border: 1px solid var(--gold); border-radius: 50%; width: 38px; height: 38px; font-size: 1.3rem; cursor: pointer; }
.modal-art { height: 150px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2b241d, #141414 55%, #3a2f1e); }
.modal-art span { font-family: var(--font-serif); font-size: 3rem; font-weight: 700; color: var(--gold); }
.modal-body { padding: 1.75rem; }
.lightbox { flex-direction: column; gap: 1rem; }
.lightbox-art { width: min(90vw, 420px); height: 300px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, #262220, #141414 60%, #3a2f1e); border: 1px solid var(--border-gold); }
.lightbox-art span { font-family: var(--font-serif); font-size: 4rem; font-weight: 700; color: var(--gold); }
.lightbox-caption { color: var(--ivory); font-family: var(--font-serif); font-size: 1.3rem; text-align: center; margin: 0; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 120; background: var(--black); color: var(--ivory); border: 1px solid var(--gold); border-radius: 999px; padding: .8rem 1.5rem; font-size: .95rem; box-shadow: var(--shadow-gold); max-width: calc(100vw - 2rem); text-align: center; }
.toast.show { animation: toast-in .25s ease; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* --- Membership tiers ------------------------------------------------------- */
.tier-card { text-align: center; }
.tier-card h3 { font-size: 1.8rem; }
.tier-discount { font-family: var(--font-serif); font-size: 2.6rem; color: var(--gold-dark); line-height: 1; margin: .5rem 0; }
.tier-card ul { list-style: none; margin: 1rem 0 1.5rem; padding: 0; display: grid; gap: .5rem; text-align: left; }
.tier-card ul li::before { content: "— "; color: var(--gold); }
.tier-platinum { border-top: 3px solid var(--gold); box-shadow: var(--shadow-gold); }
.tier-gold { border-top: 3px solid var(--gold); }

/* --- Reviews ---------------------------------------------------------------- */
.review-card blockquote { margin: 0 0 1rem; font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.5; color: var(--brown); }
.review-stars { color: var(--gold-dark); letter-spacing: .2em; font-size: 1.1rem; }
.review-name { font-weight: 500; letter-spacing: .06em; }
.review-service { color: var(--text-muted); font-size: .9rem; }

/* --- Contact / about -------------------------------------------------------- */
.contact-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; }
.contact-card strong { display: block; font-family: var(--font-serif); font-size: 1.1rem; }
.map-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 1.5rem; }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.25rem 4rem; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 1.25rem; top: 1.1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--gold); color: var(--black); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700; }
.steps li strong { display: block; font-family: var(--font-serif); font-size: 1.1rem; }
.footer-grid { text-align: left; }
.page-hero { background: linear-gradient(180deg, #1b1712 0%, var(--black) 100%); color: var(--ivory); text-align: center; padding: 3.5rem 0 3rem; }
.page-hero h1 { color: var(--ivory); font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { color: var(--text-on-dark-muted); max-width: 620px; margin: 0 auto; }
.price-row { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.price-row:last-child { border-bottom: 0; }
.price-row .price-name { font-weight: 500; }
.price-row .price-val { font-family: var(--font-serif); color: var(--gold-dark); font-size: 1.15rem; white-space: nowrap; }

/* --- Phase 4: guest booking -------------------------------------------------- */
.booking-steps { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin: 0 0 2rem; padding: 0; list-style: none; }
.booking-steps li { display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.booking-steps li::before { content: attr(data-n); width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid var(--border-gold); background: #fff; color: var(--gold-dark); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700; }
.booking-steps li.active { color: var(--brown); }
.booking-steps li.active::before { background: var(--gold); border-color: var(--gold); color: var(--black); }
.booking-steps li.done::before { background: var(--black); border-color: var(--black); color: var(--gold); }
.booking-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .booking-grid { grid-template-columns: 1.6fr 1fr; } }
.service-options { display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .service-options { grid-template-columns: 1fr 1fr; } }
.service-option { display: block; cursor: pointer; position: relative; }
.service-option input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
.service-option .card { display: block; height: 100%; margin: 0; }
.service-option input:checked + .card { border-color: var(--gold); box-shadow: var(--shadow-gold); outline: 2px solid rgba(201, 168, 76, .35); }
.service-option input:focus-visible + .card { outline: 3px solid rgba(201, 168, 76, .5); }
.slot-grid { display: grid; gap: .6rem; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 640px) { .slot-grid { grid-template-columns: repeat(4, 1fr); } }
.slot-pill { padding: .7rem .4rem; border-radius: var(--radius-sm); border: 1px solid var(--border-gold); background: #fff; color: var(--brown); font-family: var(--font-sans); font-size: .95rem; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.slot-pill:hover { border-color: var(--gold); color: var(--gold-dark); }
.slot-pill.active { background: var(--black); color: var(--gold); border-color: var(--black); }
.slot-pill.slot-booked { background: var(--beige); color: var(--text-muted); text-decoration: line-through; cursor: not-allowed; border-color: var(--border); }
.staff-options { display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .staff-options { grid-template-columns: 1fr 1fr; } }
.staff-option { display: flex; gap: .8rem; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem; cursor: pointer; }
.staff-option:has(input:checked) { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.staff-option strong { display: block; font-family: var(--font-serif); font-size: 1.1rem; }
.staff-option span { color: var(--text-muted); font-size: .9rem; }
.booking-summary { position: sticky; top: calc(var(--nav-height) + 1rem); }
.booking-summary dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 0 0 1rem; }
.booking-summary dt { color: var(--text-muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.booking-summary dd { margin: 0; font-weight: 500; text-align: right; }
.step-nav { display: flex; gap: .8rem; justify-content: space-between; margin-top: 1.5rem; flex-wrap: wrap; }
.ref-code { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; letter-spacing: .08em; color: var(--gold-dark); background: var(--beige); border: 1px dashed var(--gold); border-radius: var(--radius-sm); padding: .8rem 1.2rem; text-align: center; }
.confirm-card { text-align: center; }
.confirm-card .card-price { font-size: 1.8rem; }

/* --- Phase 5: Admin Dashboard ---------------------------------------------- */
.admin-body { background: var(--beige); }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 250px; flex: 0 0 250px; background: var(--black); color: var(--text-on-dark); padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 60; }
.admin-sidebar .logo { font-size: 1.4rem; }
.admin-sidebar-sub { color: var(--gold); font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; margin: 0; }
.admin-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.admin-nav a { display: block; padding: .65rem .9rem; border-radius: var(--radius-sm); color: var(--text-on-dark); font-size: .95rem; }
.admin-nav a:hover { background: #262220; color: var(--gold); }
.admin-nav a.active { background: var(--gold); color: var(--black); font-weight: 500; }
.admin-sidebar-foot { margin-top: auto; border-top: 1px solid #2e2822; padding-top: 1rem; }
.admin-sidebar-foot a { color: var(--text-on-dark-muted); }
.admin-sidebar-foot a:hover { color: var(--gold); }
.admin-main-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar { background: var(--black); color: var(--ivory); padding: 1rem 1.5rem; display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid var(--border-gold); position: sticky; top: 0; z-index: 50; }
.admin-topbar h1 { color: var(--ivory); font-size: 1.5rem; margin: 0; flex: 1; }
.admin-topbar .nav-toggle { display: inline-flex; }
@media (min-width: 900px) { .admin-topbar .nav-toggle { display: none; } }
.admin-main { padding: 1.5rem; flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; }
.admin-foot { text-align: center; color: var(--text-muted); font-size: .85rem; padding: 1rem; border-top: 1px solid var(--border); }
@media (max-width: 899px) {
  .admin-sidebar { position: fixed; left: 0; top: 0; transform: translateX(-105%); transition: transform .25s; box-shadow: var(--shadow); }
  .admin-sidebar.open { transform: translateX(0); }
}
.admin-cards { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin-bottom: 1.5rem; }
@media (min-width: 900px) { .admin-cards { grid-template-columns: repeat(4, 1fr); } }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; border-top: 3px solid var(--gold); }
.stat-card .stat-label { color: var(--text-muted); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .3rem; }
.stat-card .stat-value { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--brown); line-height: 1.1; margin: 0; }
.stat-card .stat-sub { color: var(--text-muted); font-size: .88rem; margin: .3rem 0 0; }
.bar-chart { display: grid; gap: .6rem; }
.bar-row { display: grid; grid-template-columns: 5.5rem 1fr 6rem; gap: .8rem; align-items: center; font-size: .92rem; }
.bar-track { background: var(--beige); border-radius: 999px; height: 14px; overflow: hidden; }
.bar-fill { background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark)); height: 100%; border-radius: 999px; min-width: 2%; }
.bar-row .bar-val { text-align: right; font-weight: 500; }
.admin-filters { display: flex; gap: .6rem; flex-wrap: wrap; align-items: flex-end; margin-bottom: 1.25rem; }
.admin-filters .form-group { margin-bottom: 0; flex: 1 1 160px; }
.admin-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: linear-gradient(180deg, #1b1712 0%, var(--black) 100%); }
.admin-login-card { width: 100%; max-width: 420px; }
.admin-login-card h1 { text-align: center; }



/* ============================================================================
   CT NAILS — "House" style (v3)
   Floating pill navigation, full-photo hero with bold uppercase display
   type, glass cards, expanding photo panels, marquee strip, dark footer.
   Same Black + Champagne Gold brand. Overrides the base system above, so
   booking, admin and every inner page share the new look (same class names).
   ========================================================================== */

/* --- Tokens ---------------------------------------------------------------- */
:root {
  --ivory: #f7f4ee;
  --beige: #ece6da;
  --ink: #161412;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(22, 20, 18, .08);
  --shadow-lg: 0 26px 60px rgba(22, 20, 18, .18);
  --shadow-gold: 0 10px 26px rgba(201, 168, 76, .30);
  --font-display: 'Archivo Black', 'Arial Black', 'Helvetica Neue', Impact, sans-serif;
  --font-serif: var(--font-display);
  --font-sans: 'Jost', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav-height: 64px;
  --photo: url("../img/hero-nails.jpg");
}
body { font-weight: 400; background: var(--ivory); }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; color: var(--ink); }
h3, h4 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -.005em; color: var(--ink); }
.container { width: min(100% - 2.5rem, var(--max-width)); }
.section { padding: 4rem 0; }
@media (min-width: 900px) { .section { padding: 5.5rem 0; } }
.eyebrow { font-weight: 600; letter-spacing: .22em; }

/* --- Floating pill navigation ----------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 60; height: 0; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; overflow: visible; }
.nav-inner { margin-top: 14px; height: 64px; padding: 0 .65rem 0 1.25rem; background: rgba(247, 244, 238, .90); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border: 1.5px solid var(--ink); border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.logo { display: inline-flex; align-items: center; gap: .65rem; }
.nav .logo { color: var(--ink); font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; letter-spacing: .02em; }
.logo-img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--gold); }
.logo-text b { font-weight: 400; color: var(--gold-dark); }
.admin-sidebar .logo-text b { color: var(--gold); }
.nav-links { gap: .15rem; padding: 4px; background: rgba(22, 20, 18, .06); border-radius: 999px; }
.nav-links a { display: block; padding: .5rem .85rem; border: 0; border-radius: 999px; color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .07em; transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(22, 20, 18, .08); color: var(--ink); }
.nav-links a.active { background: var(--ink); color: #fff; }
.nav .btn { padding: .7rem 1.35rem; }
.nav .nav-toggle { color: var(--ink); border: 1.5px solid var(--ink); background: transparent; border-radius: 50%; width: 44px; height: 44px; }
.nav-inner > nav { display: none; }
.nav-links, .nav-book { display: none; }
.nav-toggle { display: inline-flex; }
@media (min-width: 1100px) {
  .nav-inner > nav { display: block; }
  .nav-links, .nav-book { display: flex; }
  .nav-toggle { display: none; }
}
.mobile-menu { position: absolute; left: 50%; transform: translateX(-50%); top: 86px; width: min(100% - 2.5rem, 420px); padding: 1rem 1.1rem 1.2rem; background: var(--ivory); border: 1.5px solid var(--ink); border-radius: 24px; box-shadow: var(--shadow-lg); }
.mobile-menu a { color: var(--ink); font-weight: 700; font-size: .82rem; letter-spacing: .1em; border-bottom: 1px solid var(--border); }
.mobile-menu a.active { color: var(--gold-dark); }
.mobile-menu .btn { border-bottom: 0; color: #fff; }
@media (max-width: 420px) { .nav .logo { font-size: 1.05rem; } }

/* --- Buttons ---------------------------------------------------------------- */
.btn { border-radius: 14px; padding: .95rem 1.7rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .6rem 1.1rem; font-size: .72rem; }
.btn-lg { padding: 1.1rem 2.1rem; font-size: .82rem; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2c2824; color: #fff; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.btn-light:hover { background: var(--ivory); color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, .10); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.btn-outline-gold { color: var(--gold-dark); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--ink); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.page-hero .btn-outline-gold, .section-dark .btn-outline-gold, .h-cta .btn-outline-gold { color: var(--gold-light); }
.page-hero .btn-outline-gold:hover, .section-dark .btn-outline-gold:hover, .h-cta .btn-outline-gold:hover { color: var(--ink); }

/* --- Cards / photo art ------------------------------------------------------- */
.card { border-radius: var(--radius); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-gold); }
.service-art, .modal-art, .lightbox-art, .gallery-tile, .h-panel { background-image: var(--photo); background-repeat: no-repeat; background-color: #1a1512; }
.service-art { height: 200px; background-size: 300% auto; justify-content: flex-start; align-items: flex-start; }
.service-art::after { background: linear-gradient(180deg, rgba(10, 8, 7, .05) 35%, rgba(10, 8, 7, .62) 100%); }
.service-art span:first-child { position: absolute; top: .85rem; left: .85rem; z-index: 1; width: 2.4rem; height: 2.4rem; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: .8rem; letter-spacing: 0; color: var(--ink); opacity: 1; background: rgba(247, 244, 238, .92); border-radius: 50%; }
.service-art-label { color: #fff; font-weight: 700; letter-spacing: .16em; bottom: .9rem; }
.service-body h3 { font-size: 1.2rem; }
.card-price { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--ink); }
.badge { font-weight: 700; }
.badge-gold { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.modal { border-radius: 24px; }
.modal-art { height: 170px; background-size: 360% auto; background-position: 29% 60%; }
.modal-art span { color: #fff; font-family: var(--font-display); text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }
.modal-close, .lightbox-close { background: #fff; color: var(--ink); border-color: var(--border); }
.lightbox-art { background-size: 220% auto; background-position: 35% 70%; border-radius: 24px; border: 0; }
.lightbox-art span { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }
.pill { font-weight: 700; font-size: .74rem; letter-spacing: .1em; border-color: var(--ink); background: transparent; border-radius: 12px; }
.pill:hover { border-color: var(--ink); background: rgba(22, 20, 18, .06); color: var(--ink); }
.pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.art-0 { background-position: 38.0% 70.2%; }
.art-1 { background-position: 75.5% 13.3%; }
.art-2 { background-position: 18.5% 56.3%; }
.art-3 { background-position: 47.0% 89.2%; }
.art-4 { background-position: 9.5% 14.6%; }
.art-5 { background-position: 68.0% 47.5%; }

/* --- Gallery tiles: photo crops -------------------------------------------- */
.gallery-tile { background-size: 280% auto; border: 0; border-radius: var(--radius); min-height: 250px; color: #fff; }
.gallery-tile::before { background: linear-gradient(180deg, rgba(10, 8, 7, .05) 30%, rgba(10, 8, 7, .78) 100%); }
.gallery-tile .gallery-mono { display: none; }
.gallery-tile h3, .gallery-tile p { color: #fff; }
.gallery-tile p { opacity: .8; }
.gallery-tile .badge { background: rgba(247, 244, 238, .92); color: var(--ink); border-color: transparent; }
.gallery-tile:hover { box-shadow: var(--shadow-lg); }
.gallery-tile:nth-child(6n+1) { background-position: 37.6% 71.9%; }
.gallery-tile:nth-child(6n+2) { background-position: 76.4% 10.3%; }
.gallery-tile:nth-child(6n+3) { background-position: 17.3% 56.8%; }
.gallery-tile:nth-child(6n+4) { background-position: 46.9% 92.4%; }
.gallery-tile:nth-child(6n+5) { background-position: 8.0% 11.7%; }
.gallery-tile:nth-child(6n+6) { background-position: 68.7% 47.3%; }

/* --- Inner page header ------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; text-align: left; padding: calc(var(--nav-height) + 14px + 3.5rem) 0 3.5rem; background: linear-gradient(90deg, rgba(10, 8, 7, .96) 0%, rgba(10, 8, 7, .80) 55%, rgba(10, 8, 7, .55) 100%), var(--photo) 70% 40% / cover no-repeat, #0d0b0a; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.02; margin-bottom: .35em; }
.page-hero p { margin: 0; max-width: 620px; color: rgba(255, 255, 255, .78); }
.page-hero .eyebrow { display: inline-flex; padding: .45rem 1rem; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff !important; font-size: .7rem; letter-spacing: .18em; margin-bottom: 1.1rem; }

/* --- Footer ------------------------------------------------------------------ */
.footer { background: #12100e; padding: 4.5rem 0 1.5rem; }
.footer h4 { font-family: var(--font-display); font-weight: 400; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.footer .footer-brand { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; letter-spacing: .02em; color: #fff; text-transform: none; }
.footer-logo { width: 60px; height: 60px; border-radius: 50%; margin-bottom: .9rem; box-shadow: 0 0 0 1.5px var(--gold); }
.footer-bottom { border-top-color: #2a2521; }
.footer-grid { gap: 2.5rem; }
@media (min-width: 900px) { .footer-grid.grid-3 { grid-template-columns: 1.3fr 1fr 1.2fr; } }

/* ============================================================================
   HOME
   ========================================================================== */
.h-wrap { width: min(100% - 2.5rem, var(--max-width)); margin-inline: auto; }
.h-sec { padding: 4.5rem 0; }
@media (min-width: 900px) { .h-sec { padding: 6rem 0; } }
.h-sec-alt { background: var(--beige); }
.h-head { margin: 0 0 2.5rem; max-width: 820px; }
.h-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 5.2vw, 3.6rem); line-height: 1; letter-spacing: -.01em; margin: 0 0 .5rem; }
.h-sub { color: var(--text-muted); margin: 0; font-size: 1rem; }
.h-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.h-head-row .h-head { margin: 0; }
.h-link { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--gold); padding-bottom: .2rem; }
.h-link:hover { color: var(--gold-dark); }
.h-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.h-actions-center { justify-content: center; margin: 3.5rem 0 0; }

/* Hero */
.h-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: #0d0b0a; overflow: hidden; padding-top: calc(var(--nav-height) + 14px + 2rem); }
.h-hero-bg { position: absolute; inset: 0; z-index: 0; }
.h-hero-bg img { position: absolute; top: 0; right: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
@media (min-width: 1000px) {
  .h-hero-bg img { width: 74%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
}
.h-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 8, 7, .55) 0%, rgba(10, 8, 7, .15) 50%, rgba(10, 8, 7, 0) 100%), linear-gradient(0deg, rgba(10, 8, 7, .85) 0%, transparent 34%); }
.h-hero-body { position: relative; z-index: 1; padding: 2rem 0 1.5rem; }
.h-badge { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1.1rem; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(255, 255, 255, .10); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.5rem; }
.h-badge i { font-style: normal; color: var(--gold-light); }
.h-hero h1 { color: #fff; text-transform: uppercase; font-size: clamp(2.7rem, 7.4vw, 5.8rem); line-height: .98; letter-spacing: -.015em; margin: 0 0 1.2rem; max-width: 11em; }
.h-hero h1 span { color: var(--gold-light); }
.h-lead { max-width: 33em; font-size: 1.08rem; color: rgba(255, 255, 255, .86); margin-bottom: 1.9rem; }
.h-feature { position: absolute; right: 0; bottom: 1.5rem; width: min(100%, 320px); padding: 1.2rem 1.4rem; border-radius: 22px; background: rgba(247, 244, 238, .93); color: var(--ink); box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.h-feature small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .35rem; }
.h-feature strong { display: block; font-size: 1.15rem; line-height: 1.25; margin-bottom: .8rem; }
.h-feature div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.h-feature b { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; }
.h-quick { position: relative; z-index: 1; display: flex; gap: .9rem; padding: .5rem 0 2rem; overflow-x: auto; scrollbar-width: none; }
.h-quick::-webkit-scrollbar { display: none; }
.h-quick a { flex: 1 0 230px; display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.2rem; border-radius: 18px; background: rgba(247, 244, 238, .92); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .5); transition: transform .25s, background .25s; }
.h-quick a:hover { transform: translateY(-4px); background: #fff; color: var(--ink); }
.h-quick small { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); }
.h-quick strong { font-size: .98rem; line-height: 1.25; }
.h-quick span { font-weight: 600; font-size: .95rem; }
@media (max-width: 760px) { .h-feature { position: static; width: 100%; margin: 1.8rem 0 0; } .h-hero-bg::after { background: linear-gradient(0deg, rgba(10, 8, 7, .92) 5%, rgba(10, 8, 7, .55) 100%); } }

/* Marquee strip */
.h-marquee { background: var(--ink); color: #fff; overflow: hidden; border-top: 1px solid #2a2521; }
.h-marquee-track { display: flex; width: max-content; animation: h-marquee 38s linear infinite; }
.h-marquee-track span { flex: none; padding: 1rem 2rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.h-marquee-track span::after { content: "\2726"; margin-left: 2rem; color: var(--gold); }
@keyframes h-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .h-marquee-track { animation: none; } }

/* Browse by service: expanding photo panels */
.h-panels { display: flex; gap: .8rem; height: 460px; }
.h-panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 22px; border: 1.5px solid var(--ink); cursor: pointer; background-size: auto 200%; transition: flex-grow .6s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; outline: none; }
.h-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 7, .0) 35%, rgba(10, 8, 7, .78) 100%); }
.h-panel.active { flex-grow: 5; box-shadow: var(--shadow-lg); }
.h-panel:focus-visible { box-shadow: 0 0 0 3px var(--gold); }
.h-panel-label { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; padding: 1rem .6rem; border-radius: 999px; background: rgba(247, 244, 238, .95); color: var(--ink); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: opacity .25s; max-height: calc(100% - 2rem); overflow: hidden; text-overflow: ellipsis; }
.h-panel.active .h-panel-label { opacity: 0; pointer-events: none; }
.h-panel-info { position: absolute; left: 1.6rem; right: 1.6rem; bottom: 1.5rem; color: #fff; opacity: 0; transform: translateY(14px); transition: opacity .4s .15s, transform .4s .15s; pointer-events: none; }
.h-panel.active .h-panel-info { opacity: 1; transform: none; pointer-events: auto; }
.h-panel-info h3 { color: #fff; font-size: 1.5rem; margin-bottom: .3rem; }
.h-panel-info p { color: rgba(255, 255, 255, .85); max-width: 28em; margin-bottom: 1rem; font-size: .95rem; }
.h-panel-info .meta { display: block; margin-bottom: .9rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
@media (max-width: 800px) {
  .h-panels { flex-direction: column; height: auto; }
  .h-panel { flex: none; height: 76px; background-size: 220% auto; transition: height .5s cubic-bezier(.2, .8, .2, 1); }
  .h-panel.active { height: 340px; }
  .h-panel-label { writing-mode: horizontal-tb; left: 1.1rem; transform: none; bottom: 50%; margin-bottom: -1.05rem; padding: .5rem 1rem; max-height: none; }
}


/* panel crops (macro shots of the hero photo) */
.h-panel.p0 { background-position: 36.1% 82.0%; }
.h-panel.p1 { background-position: 79.6% 0.0%; }
.h-panel.p2 { background-position: 13.5% 60.0%; }
.h-panel.p3 { background-position: 46.5% 100.0%; }
.h-panel.p4 { background-position: 3.0% 0.0%; }
.h-panel.p5 { background-position: 70.9% 46.0%; }

/* Collection grid */
.h-filters { display: flex; gap: .6rem; flex-wrap: wrap; margin: 0 0 2rem; }

/* How it works */
.h-how { display: grid; gap: 2rem; grid-template-columns: 1fr; counter-reset: how; margin: 0; padding: 0; }
@media (min-width: 800px) { .h-how { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.h-how li { list-style: none; counter-increment: how; position: relative; padding-top: 4.4rem; }
.h-how li::before { content: "0" counter(how); position: absolute; top: 0; left: 0; font-family: var(--font-display); font-size: 3.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.h-how h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.h-how p { color: var(--text-muted); margin: 0; }

/* Offers + membership */
.h-offers { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .h-offers { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.h-panel-box { border-radius: 26px; padding: 2.3rem; display: flex; flex-direction: column; }
.h-panel-box .h-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.h-panel-dark { background: var(--ink); color: rgba(255, 255, 255, .85); background-image: radial-gradient(circle at 90% 0%, rgba(201, 168, 76, .28), transparent 52%); }
.h-panel-dark .h-title { color: #fff; }
.h-panel-light { background: #fff; border: 1.5px solid var(--ink); }
.h-tickets { display: grid; gap: .9rem; margin: 1.2rem 0 1.6rem; }
.h-ticket { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border: 1px dashed var(--gold); border-radius: 16px; background: rgba(255, 255, 255, .04); }
.h-ticket b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--gold-light); }
.h-ticket small { color: rgba(255, 255, 255, .65); font-size: .85rem; }
.h-code { font-family: var(--font-sans); font-weight: 700; letter-spacing: .14em; font-size: .78rem; padding: .6rem 1rem; border-radius: 12px; border: 1px solid var(--gold); background: transparent; color: var(--gold-light); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
button.h-code:hover { background: var(--gold); color: var(--ink); }
.h-tiers { display: grid; gap: .8rem; margin: 1.2rem 0 1.6rem; }
.h-tier { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--border); border-radius: 16px; background: var(--ivory); }
.h-tier strong { font-size: 1.1rem; }
.h-tier span { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-dark); }
.h-tier small { display: block; color: var(--text-muted); font-size: .82rem; }
.h-panel-box .btn { align-self: flex-start; margin-top: auto; }

/* Reviews */
.h-reviews { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .h-reviews { grid-template-columns: repeat(3, 1fr); } }
.h-review { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.7rem; margin: 0; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.h-review blockquote { margin: .6rem 0 1.4rem; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.h-review figcaption { margin-top: auto; display: flex; align-items: center; gap: .8rem; font-size: .85rem; color: var(--text-muted); }
.h-review figcaption strong { display: block; color: var(--ink); font-weight: 700; font-size: .95rem; }
.h-avatar { flex: none; width: 2.7rem; height: 2.7rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--gold-light); font-family: var(--font-display); font-size: 1rem; }
.h-note { font-size: .85rem; color: var(--text-muted); margin: 1.5rem 0 0; }

/* Gallery */
.h-gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .h-gallery { grid-template-columns: repeat(3, 1fr); } }
.h-gallery .gallery-tile { min-height: 220px; }
@media (min-width: 900px) { .h-gallery .gallery-tile { min-height: 280px; } }

/* Visit / contact strip */
.h-visit { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .h-visit { grid-template-columns: repeat(3, 1fr); } }
.h-visit-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.h-visit-card small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .6rem; }
.h-visit-card p { margin: 0; font-weight: 500; }

/* Closing call to action */
.h-cta { position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(10, 8, 7, .95), rgba(10, 8, 7, .7)), var(--photo) 70% 45% / cover no-repeat, #0d0b0a; color: #fff; padding: 5.5rem 0; }
.h-cta .h-title { color: #fff; font-size: clamp(2.2rem, 5.6vw, 4.4rem); }
.h-cta p { color: rgba(255, 255, 255, .8); max-width: 34em; margin: 0 0 2rem; }

/* Scroll reveal (only when JS is running; never hides content otherwise) */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .h-panel, .h-panel-info { transition: none; } }

/* ============================================================================
   Single-page booking (services page picks the service; this page does the rest)
   Date chips, time groups, artist cards, payment cards, live summary,
   mobile confirm bar. Reuses the site tokens (ink, gold, ivory, border).
   ========================================================================== */
.b-section { padding-top: 2.5rem; }
.b-layout { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .b-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; } }

/* Selected service banner */
.b-service { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1.1rem 1.4rem; margin-bottom: 1.25rem; }
.b-service-art { flex: 0 0 auto; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1rem; }
.b-service-info { flex: 1 1 200px; min-width: 0; }
.b-service-info .badge { background: rgba(255, 255, 255, .1); color: var(--gold-light); border-color: rgba(255, 255, 255, .25); margin-bottom: .3rem; }
.b-service-info h2 { color: #fff; font-size: clamp(1.25rem, 3.4vw, 1.7rem); margin: 0; line-height: 1.15; }
.b-service-meta { margin: .25rem 0 0; color: rgba(255, 255, 255, .72); font-size: .95rem; }
.b-service-meta strong { color: var(--gold-light); font-weight: 600; }
.b-service-change { flex: 0 0 auto; color: #fff; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: .5rem 1.1rem; font-size: .8rem; font-weight: 600; transition: background .2s, color .2s; }
.b-service-change:hover { background: #fff; color: var(--ink); }

/* Section cards */
.b-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; scroll-margin-top: 96px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .b-card { padding: 1.9rem 2rem; } }
.b-card-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.b-card-head h2 { font-size: clamp(1.25rem, 3vw, 1.55rem); margin: 0 0 .15rem; }
.b-card-head p { margin: 0; color: var(--text-muted); font-size: .92rem; }
.b-num { flex: 0 0 auto; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--ink); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: .9rem; transition: background .25s; }
.b-card.is-done .b-num { background: var(--gold); font-size: 0; }
.b-card.is-done .b-num::after { content: "\2713"; font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.b-opt { font-family: var(--font-sans); font-weight: 400; font-size: .78rem; color: var(--text-muted); border: 1px solid var(--border); border-radius: 999px; padding: .1rem .55rem; margin-left: .35rem; vertical-align: middle; }
.b-label { font-weight: 600; font-size: .9rem; margin: 0 0 .6rem; color: var(--ink); }
.b-hint { color: var(--text-muted); font-size: .88rem; }

/* Date chips */
.date-strip { display: flex; gap: .5rem; overflow-x: auto; padding: .15rem .1rem .6rem; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.date-chip { flex: 0 0 auto; width: 68px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .6rem 0 .55rem; border: 1px solid var(--border); border-radius: 14px; background: #fff; color: var(--ink); font-family: var(--font-sans); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.date-chip:hover:not(:disabled) { border-color: var(--ink); }
.date-chip .dc-dow { font-size: .76rem; font-weight: 600; color: var(--text-muted); }
.date-chip .dc-day { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; }
.date-chip .dc-mon { font-size: .74rem; color: var(--text-muted); }
.date-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.date-chip.active .dc-dow, .date-chip.active .dc-mon { color: var(--gold-light); }
.date-chip.is-closed { opacity: .5; border-style: dashed; cursor: not-allowed; background: var(--beige); }
@media (min-width: 640px) { .date-strip { display: grid; grid-template-columns: repeat(7, 1fr); overflow: visible; } .date-chip { width: auto; } }
.b-more-date { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: .6rem; }
.b-more-date label { font-size: .88rem; color: var(--text-muted); margin: 0; }
.b-more-date .input { max-width: 190px; padding: .55rem .8rem; }

/* Time slots (grouped) */
.slot-groups .slot-group + .slot-group { margin-top: 1.1rem; }
.slot-group-title { margin: 0 0 .5rem; font-size: .82rem; font-weight: 600; color: var(--text-muted); }
.slot-groups .slot-grid { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); }
.slot-pill { border-color: var(--border); border-radius: 12px; }
.slot-pill:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.slot-pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Artist + payment option cards */
.artist-grid, .pay-grid { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .artist-grid { grid-template-columns: 1fr 1fr; } .pay-grid { grid-template-columns: 1fr 1fr; } }
.artist-card, .pay-card { position: relative; display: block; cursor: pointer; }
.artist-card input, .pay-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.artist-body, .pay-body { display: flex; gap: .8rem; align-items: center; height: 100%; padding: .9rem 1rem; border: 1px solid var(--border); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s, background .2s; }
.pay-body { flex-direction: column; align-items: flex-start; gap: .15rem; padding: 1rem 1.1rem; }
.artist-card:hover .artist-body, .pay-card:hover .pay-body { border-color: var(--ink); }
.artist-card input:checked + .artist-body, .pay-card input:checked + .pay-body { border-color: var(--ink); background: var(--ivory); box-shadow: 0 0 0 2px var(--gold); }
.artist-card input:focus-visible + .artist-body, .pay-card input:focus-visible + .pay-body { outline: 3px solid rgba(201, 168, 76, .55); outline-offset: 2px; }
.artist-avatar { flex: 0 0 auto; width: 2.7rem; height: 2.7rem; border-radius: 50%; background: var(--ink); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: .82rem; }
.artist-avatar.artist-any { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink); font-size: 1.1rem; }
.artist-text strong, .pay-body strong { display: block; font-size: 1rem; color: var(--ink); line-height: 1.25; }
.artist-text > span, .pay-body > span { display: block; color: var(--text-muted); font-size: .85rem; line-height: 1.4; }
.deposit-choice { margin-top: 1.1rem; }
.b-extras { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px dashed var(--border); }
.b-extras summary { cursor: pointer; font-weight: 600; color: var(--gold-dark); }
.input-error { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }

/* Confirm */
.b-confirm { text-align: center; padding: .5rem 0 0; }
.b-confirm .btn { width: 100%; max-width: 420px; }
.b-confirm .b-hint { margin: .8rem auto 0; max-width: 460px; }

/* Summary */
.b-summary { display: none; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
@media (min-width: 960px) { .b-summary { display: block; position: sticky; top: calc(var(--nav-height) + 40px); } }
.b-summary h3 { margin: 0 0 1rem; font-size: 1.1rem; }
.b-summary dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0 0 1.1rem; }
.b-summary dt { color: var(--text-muted); font-size: .88rem; }
.b-summary dd { margin: 0; font-weight: 600; text-align: right; font-size: .95rem; }
.b-total { border-top: 1px solid var(--border); padding-top: 1rem; }
.b-total > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .4rem; color: var(--text-muted); font-size: .92rem; }
.b-total > div strong { color: var(--ink); font-weight: 600; }
.b-total .b-total-pay { margin-top: .6rem; color: var(--ink); font-weight: 600; }
.b-total .b-total-pay strong { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }
.b-checklist { list-style: none; margin: 1.1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--border); display: grid; gap: .5rem; }
.b-checklist li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--text-muted); }
.b-checklist li::before { content: ""; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1.5px solid var(--border); flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; }
.b-checklist li.done { color: var(--ink); }
.b-checklist li.done::before { content: "\2713"; background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* Mobile confirm bar */
.b-mobilebar { position: sticky; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 -1.25rem; padding: .8rem 1.25rem calc(.8rem + env(safe-area-inset-bottom, 0px)); background: rgba(247, 244, 238, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(22, 20, 18, .08); }
.b-mobilebar span { display: block; font-size: .78rem; color: var(--text-muted); line-height: 1.2; }
.b-mobilebar strong { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; color: var(--ink); }
@media (min-width: 960px) { .b-mobilebar { display: none; } }
.page-booking .toast { bottom: 5.5rem; }
@media (min-width: 960px) { .page-booking .toast { bottom: 1.5rem; } }
.b-confirm .btn[disabled], .b-mobilebar .btn[disabled] { opacity: .65; cursor: wait; }

/* Services page "choose your service" banner */
.pick-banner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin-bottom: 2rem; }
.pick-banner strong { color: var(--ink); }
.pick-banner p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.pick-steps { display: flex; gap: .5rem; align-items: center; font-size: .85rem; font-weight: 600; margin-left: auto; }
.pick-steps span { padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--border); color: var(--text-muted); }
.pick-steps span.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* --- My Booking: phone lookup + live list ---------------------------------- */
.mb-wrap { max-width: 800px; }
.mb-search { padding: 1.6rem; }
.mb-label { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--gold-dark); margin-bottom: .55rem; }
.mb-search-row { display: flex; gap: .7rem; flex-wrap: wrap; }
.mb-search-row .input { flex: 1 1 220px; font-size: 1.1rem; letter-spacing: .04em; }
.mb-search-row .btn { flex: 0 0 auto; }
.mb-remember { display: inline-flex; gap: .5rem; align-items: center; font-size: .88rem; color: var(--text-muted); margin-top: .4rem; cursor: pointer; }
.mb-alert { margin-top: 1rem; }
.input-error { border-color: var(--danger) !important; }
.mb-results { margin-top: 2rem; }
.mb-results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.mb-results-head h2 { margin: 0; font-size: 1.8rem; }
.mb-results-head .eyebrow { margin: 0 0 .2rem; display: flex; align-items: center; gap: .4rem; }
.mb-loyalty { background: var(--black); color: var(--gold); border-radius: 999px; padding: .4rem 1rem; font-size: .82rem; letter-spacing: .06em; }
.mb-tabs { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .3rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border); }
.mb-tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: .7rem 1rem; font: 500 .92rem var(--font-sans); color: var(--text-muted); cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.mb-tab span { display: inline-block; min-width: 1.4rem; padding: 0 .4rem; margin-left: .25rem; border-radius: 999px; background: var(--beige); color: var(--brown); font-size: .75rem; line-height: 1.4rem; text-align: center; }
.mb-tab:hover { color: var(--brown); }
.mb-tab.active { color: var(--brown); border-bottom-color: var(--gold); }
.mb-tab.active span { background: var(--gold); color: var(--black); }
.mb-list { display: grid; gap: .8rem; }
.mb-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.mb-item.is-open { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.mb-item.mb-cancelled .mb-main strong { text-decoration: line-through; color: var(--text-muted); }
.mb-head { display: flex; align-items: center; gap: 1rem; width: 100%; text-align: left; background: none; border: 0; padding: 1rem 1.2rem; cursor: pointer; font-family: var(--font-sans); color: var(--text); }
.mb-head:hover { background: var(--ivory); }
.mb-date { flex: 0 0 56px; height: 62px; border-radius: 10px; background: var(--black); color: var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.mb-date b { font: 700 1.4rem var(--font-serif); }
.mb-date i { font-style: normal; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.mb-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.mb-main strong { font: 600 1.1rem var(--font-serif); color: var(--brown); }
.mb-main span { font-size: .88rem; color: var(--text-muted); }
.mb-side { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; flex: 0 0 auto; }
.mb-rel { font-size: .78rem; color: var(--gold-dark); font-weight: 500; }
.mb-body { padding: 0 1.2rem 1.3rem; border-top: 1px dashed var(--border-gold); }
.mb-dl { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.4rem; margin: 1.1rem 0; }
.mb-dl dt { color: var(--text-muted); font-size: .85rem; }
.mb-dl dd { margin: 0; }
.mb-ref { font-family: var(--font-serif); letter-spacing: .08em; color: var(--gold-dark); }
.mb-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .6rem; }
.mb-panel { padding-top: 1.1rem; }
.mb-panel h4 { margin: 0 0 .4rem; font-size: 1.25rem; }
.mb-empty { text-align: center; padding: 2rem; }
.mb-note { display: flex; align-items: center; gap: .5rem; justify-content: center; margin-top: 1.2rem; font-size: .8rem; color: var(--text-muted); }
.mb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: mb-pulse 2s infinite; }
@keyframes mb-pulse { 0% { box-shadow: 0 0 0 0 rgba(46,125,50,.5); } 70% { box-shadow: 0 0 0 7px rgba(46,125,50,0); } 100% { box-shadow: 0 0 0 0 rgba(46,125,50,0); } }
.mb-flash { animation: mb-flash 1.6s ease; }
@keyframes mb-flash { 0% { background: #fdf3d0; box-shadow: var(--shadow-gold); } 100% { background: #fff; } }
@media (max-width: 560px) {
  .mb-head { flex-wrap: wrap; gap: .7rem; }
  .mb-side { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .mb-dl { grid-template-columns: 1fr; gap: .1rem; }
  .mb-dl dd { margin-bottom: .6rem; }
  .mb-search-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .mb-dot, .mb-flash { animation: none; } }
