:root {
  --ink: #f4efe7;
  --muted: #b8aca0;
  --charcoal: #12100f;
  --charcoal-2: #1c1917;
  --panel: #221f1c;
  --panel-light: #fffaf2;
  --paper: #f6efe5;
  --line: rgba(255, 250, 242, 0.14);
  --dark-line: rgba(18, 16, 15, 0.14);
  --accent: #c93545;
  --accent-dark: #9e2633;
  --gold: #d5a94f;
  --green: #1d7f6f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 250, 242, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 242, 0.025) 1px, transparent 1px),
    var(--charcoal);
  background-size: 34px 34px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.42)),
    radial-gradient(circle at 15% 8%, rgba(201, 53, 69, 0.16), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(213, 169, 79, 0.12), transparent 24%);
  z-index: -1;
}

a {
  color: inherit;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 14px;
  min-height: 124px;
  padding: 22px 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 16, 15, 0.84);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff8ef;
  font-size: 1.22rem;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.brand::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.topbar nav a {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-button {
  border: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  font-size: 1.05rem;
  font-weight: 850;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-button:hover,
.nav-button.active {
  color: var(--ink);
}

.topbar nav a:hover {
  color: var(--ink);
}

main {
  display: grid;
  gap: 56px;
  padding: 0 30px 30px;
}

.hero {
  position: relative;
  display: flex;
  align-items: end;
  min-height: calc(100vh - 124px);
  width: calc(100% + 60px);
  margin: 0 -30px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(18, 16, 15, 0.94), rgba(18, 16, 15, 0.72) 50%, rgba(18, 16, 15, 0.44)),
    url("https://images.unsplash.com/photo-1565058379802-bbe93b2f703a?auto=format&fit=crop&w=1600&q=80") center right / cover,
    linear-gradient(135deg, rgba(255, 250, 242, 0.06), rgba(255, 250, 242, 0)),
    var(--charcoal-2);
  box-shadow: var(--shadow);
}

.hero-copy {
  align-self: end;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px;
}

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

.hero h1 {
  max-width: 820px;
  margin: 0 0 20px;
  color: #fff7ed;
  font-size: clamp(2.8rem, 4.6vw, 5.25rem);
  line-height: 0.96;
}

.hero p,
.section-title p,
.service-card p,
.request-card p,
.calendar-item p,
.booking-note span {
  color: var(--muted);
  line-height: 1.55;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 17px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 250, 242, 0.08);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.proof-strip span {
  min-height: 66px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: #fff7ed;
  background: rgba(255, 250, 242, 0.05);
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.section,
.booking-section,
.admin-section {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.section-title {
  margin-bottom: 20px;
}

.section-title h2 {
  margin: 0;
  color: #fff7ed;
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  line-height: 1;
}

.split-title,
.row-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.split-title > p,
.row-title p {
  max-width: 430px;
  margin-bottom: 0;
}

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

.service-card,
.artist-card,
.form-card,
.login-card,
.calendar-card,
.requests-card,
.request-card,
.calendar-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.055);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.artist-card {
  overflow: hidden;
}

.artist-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
}

.artist-card > div {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.artist-card h3 {
  margin: 0;
  color: #fff7ed;
  font-size: 1.55rem;
}

.artist-card strong {
  color: var(--gold);
}

.artist-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.artist-card a {
  color: #fff7ed;
  font-weight: 950;
  text-decoration: none;
}

.service-card {
  position: relative;
  min-height: 340px;
  display: grid;
  align-content: end;
  gap: 12px;
  overflow: hidden;
  padding: 18px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--service-image);
  background-size: cover;
  background-position: center;
  filter: saturate(0.7) contrast(1.05);
  transform: scale(1.02);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 16, 15, 0.04), rgba(18, 16, 15, 0.9));
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.service-card h3,
.request-card h3,
.calendar-card h3,
.requests-card h3 {
  margin: 0;
  color: #fff7ed;
}

.service-card h3 {
  font-size: 1.5rem;
}

.service-card p {
  margin: 0;
}

.service-card strong {
  color: #fff7ed;
}

.pill {
  flex: 0 0 auto;
  align-self: start;
  border-radius: 999px;
  padding: 6px 10px;
  color: #12100f;
  background: var(--gold);
  font-size: 0.82rem;
  font-weight: 950;
}

.booking-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 30px;
  align-items: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 53, 69, 0.14), transparent 34%),
    rgba(255, 250, 242, 0.04);
}

.booking-note {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 16px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.booking-note strong {
  color: #fff7ed;
}

.form-card,
.login-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
  background: var(--paper);
  border-color: var(--dark-line);
}

.login-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin-bottom: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: #312923;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(18, 16, 15, 0.18);
  border-radius: 8px;
  padding: 12px 13px;
  color: #1e1a17;
  background: #fffdf8;
}

textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.status {
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-weight: 950;
}

.admin-section {
  padding: 30px;
  border-radius: 8px;
  background: #eee5d8;
  color: #1e1a17;
}

.admin-body main {
  min-height: calc(100vh - 124px);
  align-content: start;
}

.standalone-admin {
  margin-top: 28px;
}

.admin-section h1 {
  margin: 0;
  color: #1e1a17;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 0.95;
}

.admin-section .eyebrow {
  color: var(--accent);
}

.mini-label {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-section .section-title h2,
.admin-section h3 {
  color: #1e1a17;
}

.admin-section .section-title p,
.admin-section .request-card p,
.admin-section .calendar-item p {
  color: #62584e;
}

.admin-section .button.secondary {
  color: #1e1a17;
  border-color: rgba(18, 16, 15, 0.18);
  background: #fffaf2;
}

.dashboard {
  display: grid;
  gap: 18px;
}

.content-manager {
  display: grid;
  gap: 20px;
}

.manager-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 14px 0 4px;
  border-top: 1px solid rgba(18, 16, 15, 0.12);
  border-bottom: 1px solid rgba(18, 16, 15, 0.12);
}

.subnav .nav-button {
  color: #6b5f54;
}

.subnav .nav-button.active,
.subnav .nav-button:hover {
  color: #1e1a17;
}

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

.content-list {
  display: grid;
  gap: 10px;
}

.content-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(18, 16, 15, 0.1);
  border-radius: 8px;
  background: #fffdf8;
}

.content-row img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
}

.content-row h4,
.content-row p {
  margin: 0;
}

.content-row p {
  color: #62584e;
}

.month-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.calendar-shell {
  overflow-x: auto;
}

.month-toolbar h3 {
  text-align: center;
}

.month-weekdays,
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.month-weekdays span {
  color: #6b5f54;
  font-size: 0.78rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.month-cell {
  min-height: 128px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(18, 16, 15, 0.1);
  border-radius: 8px;
  background: #fffdf8;
}

.month-cell > strong {
  color: #1e1a17;
}

.empty-month {
  background: rgba(255, 255, 255, 0.32);
}

.month-bookings {
  display: grid;
  gap: 6px;
}

.month-bookings button {
  display: grid;
  gap: 2px;
  width: 100%;
  border: 0;
  padding: 7px;
  border-radius: 8px;
  color: #fffaf2;
  background: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.month-bookings span {
  font-size: 0.72rem;
  opacity: 0.82;
}

.calendar-card,
.requests-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  background: #fffaf2;
  border-color: rgba(18, 16, 15, 0.12);
  box-shadow: 0 16px 34px rgba(18, 16, 15, 0.08);
}

.calendar-list,
.request-list {
  display: grid;
  gap: 12px;
}

.calendar-item,
.request-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #fffdf8;
  border-color: rgba(18, 16, 15, 0.1);
  box-shadow: none;
}

.request-card h3,
.calendar-item h3 {
  color: #1e1a17;
}

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

.meta span {
  border-radius: 999px;
  padding: 6px 10px;
  color: #213c38;
  background: #dcece6;
  font-size: 0.84rem;
  font-weight: 950;
}

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

.empty {
  padding: 18px;
  border: 1px dashed rgba(18, 16, 15, 0.2);
  border-radius: 8px;
  color: #62584e;
  background: rgba(255, 255, 255, 0.5);
}

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

.contact-panel {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.055);
}

.contact-panel a {
  color: #fff7ed;
  font-size: 1.35rem;
  font-weight: 950;
  text-decoration: none;
}

.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.wide-contact {
  grid-column: 1 / -1;
}

.contact-panel iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 8px;
  filter: grayscale(0.35) contrast(1.05);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 16, 15, 0.7);
  backdrop-filter: blur(10px);
}

.modal-panel {
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(18, 16, 15, 0.14);
  border-radius: 8px;
  color: #1e1a17;
  background: #eee5d8;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.modal-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

@media (max-width: 1000px) {
  .booking-section,
  .dashboard {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artist-grid,
  .manager-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .topbar {
    align-items: start;
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
  }

  main {
    gap: 36px;
    padding: 18px;
  }

  .hero-copy,
  .booking-section,
  .admin-section {
    padding: 22px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .proof-strip,
  .service-grid,
  .artist-grid,
  .form-card,
  .login-card,
  .manager-form {
    grid-template-columns: 1fr;
  }

  .content-row {
    grid-template-columns: 1fr;
  }

  .month-weekdays {
    display: none;
  }

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

  .month-cell {
    min-height: auto;
  }

  .wide-contact {
    grid-column: auto;
  }

  .split-title,
  .row-title {
    align-items: start;
    flex-direction: column;
  }

  .wide {
    grid-column: auto;
  }
}
