:root {
  /* True black & white — stark brutalist gallery */
  --bg: #000000;
  --bg-raised: #0a0a0a;
  --bg-alt: #000000;
  --surface: #0a0a0a;
  --surface-2: #121212;
  --border: rgba(255, 255, 255, 0.22);
  --border-strong: #ffffff;
  --text: #ffffff;
  --text-muted: #b8b8b8;
  --text-faint: #7a7a7a;

  /* Red is reserved for booking actions — not decoration */
  --accent: #e0233f;
  --accent-hover: #ff3b56;
  --accent-soft: rgba(224, 35, 63, 0.14);

  /* Semantic status colors — functional, not decorative */
  --success: #4fd17a;
  --success-soft: rgba(79, 209, 122, 0.14);
  --warning: #e0b84f;
  --warning-soft: rgba(224, 184, 79, 0.14);
  --neutral-status: #9a9a9a;

  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;
  --max-width: 1120px;

  --border-w: 2px;
  --shadow-sm: none;
  --shadow-md: none;

  --ease: linear;
  --ease-out: cubic-bezier(0.2, 0, 0, 1);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --space-9: 112px;

  --font-display: 'Bebas Neue', 'Inter', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Roboto Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .logo, .footer-logo {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

a { color: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}
.icon svg { display: block; width: 100%; height: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 0;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  background: none;
  border: var(--border-w) solid transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background-color 0.1s var(--ease), color 0.1s var(--ease), border-color 0.1s var(--ease), box-shadow 0.1s var(--ease);
}
.btn[hidden] { display: none; }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: #000; color: var(--accent); box-shadow: inset 0 0 0 var(--border-w) var(--accent); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: #fff; color: #000; }
.btn:disabled { opacity: 0.4; cursor: default; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: var(--border-w) solid var(--border-strong);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { color: var(--text); font-size: 1.4rem; text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.1s var(--ease);
}
.main-nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { padding: 10px 20px !important; color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 0 auto; transition: transform 0.15s var(--ease), opacity 0.15s var(--ease); }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.82) 60%, #000 100%),
    url('../images/hero.jpg') 32% 22% / cover no-repeat,
    var(--bg);
  text-align: center;
  overflow: hidden;
}
.hero-inner { position: relative; margin: 0 auto; z-index: 1; }
.eyebrow {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  margin-bottom: var(--space-5);
}
.hero h1 {
  font-size: clamp(4rem, 15vw, 9.5rem);
  letter-spacing: 0;
  margin-bottom: var(--space-4);
}
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: var(--space-4);
  transition: color 0.1s var(--ease);
}
.hero-location:hover { color: #fff; text-decoration: underline; }
.hero-sub { color: var(--text-muted); max-width: 520px; margin: 0 auto var(--space-6); font-size: 1.1rem; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: var(--space-9) 0; }
.section-alt { border-top: var(--border-w) solid var(--border-strong); }
.section-head { margin-bottom: var(--space-6); }
.section-index {
  display: inline-block;
  border: 1px solid var(--border-strong);
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-4);
}
.section h2 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: 10px; }
.section-sub { color: var(--text-muted); max-width: 600px; }
.section-sub code {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 0.85em;
}

/* Work grid — asymmetric gallery wall */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 2px;
  background: var(--border-strong);
  border: var(--border-w) solid var(--border-strong);
}
.work-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.work-tile:nth-child(6) { grid-column: span 2; }
.work-tile:nth-child(9) { grid-row: span 2; }
.work-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface);
}
.work-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 0 var(--accent);
  transition: box-shadow 0.12s var(--ease);
  pointer-events: none;
}
.work-tile:hover::after { box-shadow: inset 0 0 0 4px var(--accent); }

/* About */
.about-inner { display: flex; gap: var(--space-7); align-items: center; flex-wrap: wrap; }
.portrait-tile { flex: 0 0 300px; width: 300px; aspect-ratio: 1 / 1; border: var(--border-w) solid var(--border-strong); }
.about-text { flex: 1; min-width: 260px; }
.about-text h2 { margin-bottom: var(--space-4); }
.about-text p { color: var(--text-muted); margin-bottom: var(--space-3); max-width: 560px; }

/* Calendar (shared by public booking + admin overview) */
.cal-card {
  background: var(--surface);
  border: var(--border-w) solid var(--border-strong);
  padding: var(--space-5);
}
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); }
.cal-title { font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.03em; }
.cal-nav {
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  transition: background-color 0.1s var(--ease), color 0.1s var(--ease);
}
.cal-nav:hover:not(:disabled) { background: #fff; color: #000; }
.cal-nav:disabled { opacity: 0.3; cursor: default; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-weekdays { margin-bottom: var(--space-2); }
.cal-weekday { text-align: center; font-size: 0.68rem; color: var(--text-faint); font-weight: 700; font-family: var(--font-mono); letter-spacing: 0.05em; }

.cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  transition: border-color 0.1s var(--ease), background-color 0.1s var(--ease);
}
.cal-day-empty { background: none; border: none; }
.cal-day-past { opacity: 0.35; }
.cal-day-today { border-color: var(--text-faint); border-width: 2px; }
.cal-day-has-items { color: var(--text); cursor: pointer; }
.cal-day-has-items:hover { border-color: #fff; background: var(--surface-2); }

.cal-dots { display: flex; gap: 3px; height: 6px; }
.cal-dot { width: 6px; height: 6px; border-radius: 0; }
.cal-dot-open { background: var(--accent); }
.cal-dot-pending { background: var(--warning); }
.cal-dot-booked { background: var(--success); }
.cal-dot-blocked { background: var(--neutral-status); }
.cal-day-blocked { opacity: 0.55; }
.cal-day-blocked .cal-day-num { text-decoration: line-through; }

.cal-legend { display: flex; gap: 18px; margin-top: var(--space-4); font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; }
.cal-legend-item { display: flex; align-items: center; gap: 6px; }

.cal-day-highlight-row { outline: 2px solid var(--accent); outline-offset: 2px; }

.cal-day-selectable { border-color: var(--accent); }
.cal-day-selected { background: #fff; color: #000; border-color: #fff; }
.cal-day-selected:hover { background: #fff; color: #000; }

/* Booking */
.booking-layout { display: flex; gap: var(--space-6); flex-wrap: wrap; align-items: flex-start; }
.booking-layout .cal-card { flex: 1 1 320px; max-width: 380px; }
.booking-day-panel { flex: 1 1 320px; min-width: 280px; }

.slots-day-label { font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.85rem; margin-bottom: var(--space-3); }
.slots-day-list { display: flex; flex-wrap: wrap; gap: 10px; }

.slots-container { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--space-2); }
.slots-status { color: var(--text-muted); }
.slot-btn {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 12px 18px;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: background-color 0.1s var(--ease), color 0.1s var(--ease);
}
.slot-btn:hover { background: #fff; color: #000; }
.slot-btn:disabled,
.slot-btn-taken {
  color: var(--text-faint);
  border-style: dashed;
  border-color: var(--border);
  cursor: default;
  opacity: 0.6;
  text-decoration: line-through;
}
.slot-btn:disabled:hover { background: none; color: var(--text-faint); }

.duration-container { margin-top: var(--space-5); }
.duration-container[hidden] { display: none; }
.duration-label { font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.85rem; margin-bottom: var(--space-3); }
.duration-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--space-3); }

.duration-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.1s var(--ease), color 0.1s var(--ease);
}
.duration-btn:hover { background: #fff; color: #000; }
.duration-price { color: #fff; font-weight: 700; font-family: var(--font-mono); }
.duration-btn:hover .duration-price { color: #000; }

.duration-btn-full-day {
  width: 100%;
  justify-content: space-between;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  margin-bottom: 4px;
}
.duration-btn-full-day .duration-price { color: #fff; }
.duration-btn-full-day:hover { background: #000; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.duration-btn-full-day:hover .duration-price { color: var(--accent); }

.duration-disclaimer { color: var(--text-faint); font-size: 0.82rem; font-style: italic; }

.booking-form {
  max-width: 480px;
  background: var(--surface);
  border: var(--border-w) solid var(--border-strong);
  padding: var(--space-5);
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.booking-form[hidden] { display: none; }
.booking-form-slot { font-weight: 700; color: #fff; }
.booking-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.booking-form input,
.booking-form textarea {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  padding: 11px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: normal;
  transition: border-color 0.1s var(--ease);
}
.booking-form input:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.booking-form input[type="file"] {
  padding: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.booking-form input[type="file"]::file-selector-button {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 7px 12px;
  margin-right: 10px;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.booking-form input[type="file"]::file-selector-button:hover {
  background: #fff;
  color: #000;
}
.booking-form-actions { display: flex; gap: 12px; }

.booking-confirmation { margin-top: var(--space-5); font-weight: 700; }
.booking-confirmation.success { color: var(--success); }
.booking-confirmation.error { color: var(--accent); }

.booking-alt { margin-top: var(--space-5); margin-bottom: 0; }
.booking-alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.booking-alt a:hover { color: var(--accent); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: #fff; transition: transform 0.15s var(--ease-out); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { color: var(--text-muted); margin-top: var(--space-3); }

/* Footer */
.site-footer { padding: var(--space-7) 0; border-top: var(--border-w) solid var(--border-strong); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); text-align: center; }
.footer-logo { font-size: 1.2rem; }
.footer-links { display: flex; gap: var(--space-5); flex-wrap: wrap; justify-content: center; color: var(--text-muted); }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-copy { color: var(--text-faint); font-size: 0.85rem; }
.footer-copy a { text-decoration: underline; }
.footer-copy a:hover { color: #fff; }

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-raised);
    border-bottom: var(--border-w) solid var(--border-strong);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-5) 24px;
    gap: var(--space-4);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.15s var(--ease-out);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-cta { align-self: flex-start; }
  .about-inner { flex-direction: column; text-align: center; }
  .about-inner .about-text { text-align: left; }
  .portrait-tile { width: 220px; flex-basis: 220px; }
  .section { padding: var(--space-7) 0; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .work-tile:nth-child(6),
  .work-tile:nth-child(9) { grid-column: span 1; grid-row: span 1; }
}
