:root {
  --black: #111111;
  --ink: #1f2428;
  --paper: #f6f2ea;
  --muted: #787068;
  --line: rgba(31, 36, 40, 0.14);
  --gold: #c99a4a;
  --rust: #8f4b2f;
  --green: #405d4a;
  --steel: #56616a;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(17, 17, 17, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(17, 17, 17, 0.88);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  object-fit: contain;
  background: #080808;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.site-nav {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
}

.site-nav a:hover {
  color: var(--white);
}

.nav-admin {
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  cursor: pointer;
}

.nav-admin:hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.46) 45%, rgba(10, 10, 10, 0.2)),
    linear-gradient(0deg, rgba(17, 17, 17, 0.62), rgba(17, 17, 17, 0.05) 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 86px);
  padding-top: 70px;
}

.hero-logo {
  width: clamp(118px, 14vw, 178px);
  height: clamp(118px, 14vw, 178px);
  margin-bottom: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  object-fit: contain;
  background: #080808;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.32);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 570px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.9vw, 1.25rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 0 20px;
  font-weight: 800;
  cursor: pointer;
}

.primary-action {
  color: #1b1510;
  background: var(--gold);
}

.primary-action:hover {
  filter: brightness(1.06);
}

.secondary-action {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.intro {
  background: var(--black);
  color: var(--white);
}

.intro-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0;
}

.intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.quick-stats span {
  padding: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
}

.quick-stats strong {
  display: block;
  color: var(--white);
  font-size: 1.5rem;
}

.section,
.gallery-band {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 104px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.service-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-item span {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
}

.service-item.featured span {
  color: #1b1510;
  background: var(--gold);
}

.gallery-band {
  width: 100%;
  max-width: none;
  background: #e9e1d5;
}

.gallery-band .section-heading,
.gallery-grid {
  width: min(1160px, calc(100% - 36px));
  margin-inline: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

figure {
  margin: 0;
}

.gallery-tile {
  min-height: 310px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.08), rgba(255, 255, 255, 0.08)),
    var(--steel);
}

.tile-one {
  background:
    radial-gradient(circle at 70% 20%, rgba(201, 154, 74, 0.56), transparent 28%),
    linear-gradient(135deg, var(--ink), var(--steel));
}

.tile-two {
  background:
    radial-gradient(circle at 30% 25%, rgba(246, 242, 234, 0.44), transparent 24%),
    linear-gradient(135deg, var(--rust), #2c2624);
}

.tile-three {
  background:
    radial-gradient(circle at 55% 25%, rgba(201, 154, 74, 0.4), transparent 28%),
    linear-gradient(135deg, var(--green), #222624);
}

figcaption {
  padding-top: 12px;
  color: var(--ink);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.section-copy {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.contact-panel a {
  font-size: 1.15rem;
  font-weight: 850;
}

.contact-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.panel-label {
  color: var(--gold) !important;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.full {
  width: 100%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--black);
}

.farewell-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
}

.farewell-popup[hidden] {
  display: none;
}

.farewell-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
}

.farewell-popup-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100svh - 36px);
  overflow: auto;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(201, 154, 74, 0.35);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.farewell-popup-logo {
  display: block;
  width: 82px;
  height: 82px;
  margin: 0 auto 22px;
  border-radius: 50%;
  object-fit: contain;
  background: #080808;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.farewell-popup-card .eyebrow {
  text-align: center;
}

.farewell-popup-card h2 {
  margin: 0 0 20px;
  text-align: center;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
}

.farewell-popup-message {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.farewell-popup-message p {
  margin: 0 0 16px;
}

.farewell-popup-message .farewell-signature {
  margin: 22px 0 0;
  color: var(--ink);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(8px);
}

.booking-box {
  position: relative;
  width: min(760px, 100%);
  max-height: min(820px, calc(100svh - 36px));
  overflow: auto;
  padding: 28px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  cursor: pointer;
}

.booking-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.booking-form label,
.admin-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.booking-form input,
.booking-form select,
.admin-panel input,
.admin-panel select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
}

.honey-field {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hidden-submit-form,
.hidden-submit-frame {
  display: none;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.booking-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-bottom: 22px;
  padding: 4px;
  border-radius: 8px;
  background: rgba(31, 36, 40, 0.08);
}

.booking-tab {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  font-weight: 850;
  cursor: pointer;
}

.booking-tab.is-active {
  color: var(--white);
  background: var(--ink);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.calendar-card,
.slot-section,
.admin-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}

.calendar-head {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.calendar-head strong {
  text-align: center;
  text-transform: capitalize;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.weekday-row,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.weekday-row {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.calendar-day {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-weight: 850;
}

.calendar-day:hover:not(:disabled),
.calendar-day.is-selected {
  color: #1b1510;
  border-color: rgba(201, 154, 74, 0.72);
  background: var(--gold);
}

.calendar-day:disabled {
  color: rgba(31, 36, 40, 0.32);
  background: rgba(31, 36, 40, 0.06);
  cursor: not-allowed;
}

.slot-section {
  display: grid;
  gap: 12px;
}

.booking-step {
  display: grid;
  gap: 10px;
}

.service-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.service-choice {
  display: grid;
  gap: 6px;
  min-height: 92px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  background: var(--white);
  text-align: left;
  cursor: pointer;
}

.service-choice:hover,
.service-choice.is-selected {
  border-color: rgba(201, 154, 74, 0.78);
  background: #fff8eb;
  box-shadow: 0 12px 34px rgba(31, 36, 40, 0.1);
}

.service-choice strong {
  font-size: 0.98rem;
}

.service-choice span {
  color: var(--muted);
  font-weight: 850;
}

.slot-title,
.slot-subtitle {
  margin: 0;
}

.slot-title {
  font-weight: 900;
}

.slot-subtitle {
  color: var(--muted);
  font-size: 0.92rem;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 8px;
}

.slot-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-weight: 850;
}

.slot-button:hover:not(:disabled),
.slot-button.is-selected {
  color: #1b1510;
  border-color: rgba(201, 154, 74, 0.72);
  background: var(--gold);
}

.slot-button:disabled {
  color: rgba(31, 36, 40, 0.34);
  background: rgba(31, 36, 40, 0.07);
  cursor: not-allowed;
  text-decoration: line-through;
}

.secondary-dark {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  color: var(--white);
  background: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.admin-panel {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.admin-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.date-preview {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.admin-tools {
  display: grid;
  gap: 12px;
}

.admin-tools[hidden] {
  display: none;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.weekly-schedule {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.recurring-booking {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(201, 154, 74, 0.5);
  border-radius: 8px;
  background: #fff8eb;
}

.recurring-fields {
  grid-template-columns: repeat(3, 1fr);
}

.weekly-grid {
  display: grid;
  gap: 8px;
}

.weekly-row {
  display: grid;
  grid-template-columns:
    minmax(92px, 1fr)
    84px
    minmax(92px, 112px)
    minmax(92px, 112px)
    84px
    minmax(92px, 112px)
    minmax(92px, 112px);
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

@media (max-width: 760px) {
  .weekly-row {
    grid-template-columns: 1fr 1fr;
  }

  .weekly-row strong {
    grid-column: 1 / -1;
  }
}

.weekly-row strong {
  color: var(--ink);
}

.weekly-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.admin-slot.is-blocked {
  color: var(--white);
  background: var(--rust);
}

.admin-slot.is-booked {
  color: rgba(31, 36, 40, 0.44);
  background: rgba(31, 36, 40, 0.08);
  text-decoration: none;
}

.booking-list {
  display: grid;
  gap: 12px;
  padding-top: 6px;
}

.booking-items {
  display: grid;
  gap: 8px;
}

.booking-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.booking-item div {
  display: grid;
  gap: 4px;
}

.booking-item strong {
  color: var(--ink);
}

.booking-item span,
.empty-bookings {
  color: var(--muted);
  font-size: 0.9rem;
}

.recurring-badge {
  width: fit-content;
  border-radius: 999px;
  padding: 3px 8px;
  color: #76521c !important;
  background: #fff0cf;
  font-size: 0.76rem !important;
  font-weight: 900;
}

.recurring-preview {
  color: #76521c !important;
  font-size: 0.82rem !important;
  font-weight: 800;
}

.booking-actions {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px !important;
}

.empty-bookings {
  margin: 0;
}

.cancel-button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--white);
  background: var(--rust);
  font-weight: 850;
  cursor: pointer;
}

.repeat-button {
  min-height: 38px;
  border: 1px solid rgba(201, 154, 74, 0.7);
  border-radius: 6px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff8eb;
  font-weight: 850;
  cursor: pointer;
}

.stop-series-button {
  color: var(--ink);
  background: #eadfcf;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 18px;
    display: none;
    width: min(260px, calc(100vw - 36px));
    flex-direction: column;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    color: var(--white);
    background: rgba(17, 17, 17, 0.94);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-admin {
    min-height: 48px;
    padding: 0 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    width: min(calc(100% - 36px), 620px);
    margin-inline: auto;
  }

  .intro-inner,
  .split,
  .gallery-grid,
  .field-grid,
  .service-choice-grid,
  .recurring-fields,
  .weekly-row {
    grid-template-columns: 1fr;
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .gallery-tile {
    min-height: 210px;
  }

  .site-footer {
    flex-direction: column;
  }
}
