:root {
  --bg: #f3efe8;
  --bg-accent: #ece6dd;
  --surface: rgba(255, 252, 247, 0.92);
  --surface-strong: #f8f3eb;
  --surface-muted: #eee7dc;
  --ink: #241f1a;
  --ink-soft: #665f58;
  --line: rgba(112, 93, 74, 0.18);
  --line-strong: rgba(112, 93, 74, 0.28);
  --accent: #6c7f6d;
  --accent-deep: #546654;
  --accent-soft: #dde6da;
  --danger: #9b5b52;
  --danger-deep: #7e463e;
  --success-soft: #edf2eb;
  --error-soft: #f8ece8;
  --shadow: 0 24px 60px rgba(46, 36, 28, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.78), transparent 26%),
    radial-gradient(circle at top right, rgba(223, 217, 205, 0.65), transparent 24%),
    linear-gradient(180deg, #f8f4ed 0%, var(--bg) 48%, #ece5da 100%);
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.page-content {
  padding-bottom: 48px;
}

.site-header {
  padding: 24px 0 20px;
}

.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  background: rgba(255, 251, 246, 0.55);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(59, 44, 31, 0.04);
}

.brand-block {
  display: grid;
  gap: 6px;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  margin: 0;
  max-width: 30rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 6px;
}

.nav-link,
.link-button {
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-size: 0.95rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.link-button,
.nav-link {
  transition: opacity 160ms ease;
}

.link-button:hover,
.nav-link:hover {
  opacity: 0.66;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.45fr minmax(270px, 0.75fr);
  gap: 24px;
  align-items: stretch;
  margin: 24px 0 28px;
}

.hero-copy {
  padding: 34px 8px 16px 2px;
}

.hero-copy h1,
h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.9rem, 7vw, 4.8rem);
  line-height: 0.95;
}

.lead {
  max-width: 36rem;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-notes span {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 252, 247, 0.7);
  border: 1px solid rgba(112, 93, 74, 0.12);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.card {
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.soft-card {
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(243, 237, 229, 0.9));
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: start;
}

.booking-card,
.bookings-card {
  padding: 34px;
}

.info-card {
  position: sticky;
  top: 24px;
}

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

.compact-heading {
  margin-bottom: 10px;
}

.detail-label,
.field-label,
.slot-caption,
.small-text {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.detail-label {
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.detail-value {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.6;
}

.booking-form,
.date-filter-form {
  display: grid;
  gap: 20px;
}

.compact-form {
  align-items: end;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 9px;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(108, 127, 109, 0.7);
  box-shadow: 0 0 0 4px rgba(108, 127, 109, 0.13);
  background: #fff;
}

textarea {
  resize: vertical;
  min-height: 118px;
}

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

.slot-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

.slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.slot-option {
  position: relative;
}

.slot-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.slot-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.slot-option span:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.slot-option input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #f9f7f3;
  box-shadow: 0 12px 24px rgba(84, 102, 84, 0.18);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 136px;
  padding: 13px 20px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #f8f4ee;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 10px 22px rgba(84, 102, 84, 0.16);
}

.button:hover {
  transform: translateY(-1px);
  background: var(--accent-deep);
}

.secondary-button {
  background: var(--surface-muted);
  color: var(--ink);
  box-shadow: none;
}

.secondary-button:hover {
  background: #e5ddd1;
}

.danger-button {
  background: var(--danger);
  box-shadow: none;
}

.danger-button:hover {
  background: var(--danger-deep);
}

.alert {
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.alert-error {
  background: var(--error-soft);
  color: #7a4037;
  border: 1px solid rgba(155, 91, 82, 0.14);
}

.success-card {
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(237, 242, 235, 0.96));
}

.confirmation-card,
.auth-card {
  padding: 34px;
}

.confirmation-grid,
.info-list {
  display: grid;
  gap: 14px;
}

.dashboard-shell {
  padding: 30px 34px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.empty-state {
  padding: 18px 6px;
}

.table-wrapper {
  overflow-x: auto;
}

.desktop-table {
  display: block;
}

.mobile-bookings {
  display: none;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(112, 93, 74, 0.14);
  vertical-align: top;
}

th {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  text-transform: capitalize;
  font-size: 0.82rem;
}

.status-scheduled {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.status-cancelled {
  background: #f1ded8;
  color: #8c4c44;
}

.booking-stack {
  display: grid;
  gap: 14px;
}

.booking-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
}

.booking-item-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.booking-time {
  margin: 0 0 6px;
  color: var(--ink-soft);
}

.muted,
.table-note {
  color: var(--ink-soft);
}

.small-text {
  max-width: 28rem;
}

@media (max-width: 920px) {
  .hero-panel,
  .booking-layout,
  .dashboard-header,
  .section-heading,
  .form-footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .info-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 20px, 1120px);
  }

  .site-header {
    padding-top: 14px;
  }

  .header-inner,
  .header-nav,
  .slot-header,
  .booking-item-top {
    display: grid;
  }

  .card,
  .booking-card,
  .bookings-card,
  .dashboard-shell,
  .confirmation-card,
  .auth-card {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-copy {
    padding: 12px 2px 4px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .grid-two {
    grid-template-columns: 1fr;
  }

  .desktop-table {
    display: none;
  }

  .mobile-bookings {
    display: grid;
  }
}
