:root {
  --ink: #0b0f0d;
  --ink-2: #121916;
  --panel: #18211c;
  --panel-2: #1f2a24;
  --line: rgba(214, 196, 160, 0.14);
  --mist: #9aa89c;
  --paper: #e7ece8;
  --paper-dim: #c5cec7;
  --accent: #c4a35a;
  --accent-hot: #e0bf6a;
  --accent-deep: #8a7035;
  --good: #6fbf8a;
  --warn: #d4a017;
  --bad: #d36b5f;
  --radius: 14px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --font-display: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--paper);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(196, 163, 90, 0.16), transparent 55%),
    radial-gradient(900px 600px at -10% 20%, rgba(60, 90, 70, 0.28), transparent 50%),
    linear-gradient(165deg, #090c0b 0%, #121816 42%, #0d1210 100%);
  line-height: 1.55;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--accent-hot);
  text-decoration: none;
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.4rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--paper);
}

.brand:hover {
  color: var(--paper);
}

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 8px 18px rgba(0, 0, 0, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand-text em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  color: var(--paper-dim);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: #fff;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--accent-hot), var(--accent-deep));
  color: #14110a !important;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 10px 30px rgba(196, 163, 90, 0.25);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  color: #14110a !important;
}

.btn-ghost {
  background: transparent;
  color: var(--paper) !important;
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff !important;
}

.btn-small {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}

.hero {
  position: relative;
  min-height: clamp(30rem, 72svh, 42rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 6.25rem 1.25rem 3rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 9, 0.25) 0%, rgba(8, 10, 9, 0.55) 45%, rgba(8, 10, 9, 0.92) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(196, 163, 90, 0.18), transparent 45%),
    url("../img/hero.svg") center/cover no-repeat,
    #0b0f0d;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  max-width: 14ch;
  animation: riseIn 0.9s ease both;
}

.hero-brand span {
  display: block;
  color: var(--accent-hot);
}

.hero-lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--paper-dim);
  margin: 0 0 1.75rem;
  animation: riseIn 1s ease 0.12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 1s ease 0.22s both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--mist);
  font-size: 1.05rem;
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 1.5rem;
  align-items: end;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  transition: background 0.25s ease, padding 0.25s ease;
}

.service-row:last-child {
  border-bottom: 1px solid var(--line);
}

.service-row:hover {
  background: rgba(255, 255, 255, 0.02);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.service-row h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
}

.service-row p {
  margin: 0;
  color: var(--mist);
  max-width: 48rem;
}

.service-meta {
  text-align: right;
  white-space: nowrap;
}

.service-meta .price {
  display: block;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent-hot);
}

.service-meta .duration {
  color: var(--mist);
  font-size: 0.9rem;
}

.cta-band {
  margin: 0 1.25rem 4rem;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, rgba(196, 163, 90, 0.12), transparent 45%),
    var(--panel);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-band p {
  margin: 0;
  color: var(--mist);
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--mist);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.footer-meta,
.footer-locale {
  margin-top: 0.65rem;
  font-size: 0.95rem;
  color: var(--mist);
}

/* Booking */
.page-hero {
  padding: 7.5rem 1.25rem 2rem;
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 0.98;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.page-hero p {
  margin: 0;
  color: var(--mist);
  max-width: 36rem;
  font-size: 1.1rem;
}

/* Shop */
.shop-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.5rem 1.25rem 4rem;
}

.shop-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
}

.shop-cats a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper-dim);
  font-size: 0.92rem;
  font-weight: 600;
}

.shop-cats a:hover,
.shop-cats a.is-active {
  color: #14110a;
  background: linear-gradient(135deg, var(--accent-hot), var(--accent-deep));
  border-color: transparent;
}

.shop-blurb {
  margin: 0 0 1.5rem;
  max-width: 40rem;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  gap: 1rem;
}

.shop-item {
  padding: 1.15rem 1.15rem 1.25rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 55%);
}

.shop-item-media {
  display: block;
  margin: 0 0 0.9rem;
  border-radius: 12px;
  overflow: hidden;
  background: #0d1210;
}

.shop-item-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.06), transparent 55%),
    #111814;
  padding: 0.85rem;
}

.shop-item h2 a {
  color: inherit;
}

.shop-item h2 a:hover {
  color: var(--accent-hot);
}

.shop-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.page-hero--compact {
  padding-bottom: 1rem;
}

.shop-crumb {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
}

.shop-crumb a {
  color: var(--mist);
}

.shop-crumb a:hover {
  color: var(--accent-hot);
}

.shop-product {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.5rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: start;
}

.shop-product-media {
  border-radius: 16px;
  overflow: hidden;
  background: #0d1210;
  border: 1px solid var(--line);
}

.shop-product-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.06), transparent 55%),
    #111814;
  padding: 1.25rem;
}

.shop-product-summary {
  font-size: 1.05rem;
  color: var(--paper-dim);
  margin: 0.35rem 0 0.75rem;
}

.shop-order-panel h2 {
  margin-top: 0;
}

.shop-order-form .field {
  margin-bottom: 0.85rem;
}

@media (max-width: 820px) {
  .shop-product {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.shop-brand {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hot);
  font-weight: 700;
}

.shop-tag {
  font-size: 0.78rem;
  color: var(--mist);
  border-bottom: 1px solid transparent;
}

.shop-tag:hover {
  color: var(--paper);
  border-bottom-color: var(--line);
}

.shop-item h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.shop-item p {
  margin: 0 0 1rem;
  color: var(--mist);
  font-size: 0.95rem;
}

.shop-item-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.shop-item-meta .price {
  font-weight: 700;
  color: var(--paper);
}

.booking-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.booking-layout--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 42rem;
  width: 100%;
}

.booking-layout--single .panel,
.booking-layout--single .field,
.booking-layout--single .calendar,
.booking-layout--single .slot-grid,
.booking-layout--single .service-options {
  min-width: 0;
  width: 100%;
}

.panel {
  background: rgba(24, 33, 28, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}

.panel h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.95rem;
}

.field label {
  font-size: 0.85rem;
  color: var(--paper-dim);
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--paper);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(196, 163, 90, 0.45);
  outline-offset: 1px;
}

.calendar {
  display: grid;
  gap: 0.75rem;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cal-head strong {
  font-family: var(--font-display);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.cal-dow {
  text-align: center;
  font-size: 0.72rem;
  color: var(--mist);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0;
}

.cal-day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--paper);
  font: inherit;
  cursor: pointer;
}

.cal-day:hover:not(:disabled) {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.cal-day.is-muted,
.cal-day:disabled {
  color: rgba(154, 168, 156, 0.35);
  cursor: default;
}

.cal-day.is-selected {
  background: linear-gradient(135deg, var(--accent-hot), var(--accent-deep));
  color: #14110a;
  font-weight: 700;
}

.dropoff-field {
  width: 100%;
}

.dropoff-help,
.slot-status {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: none;
  white-space: normal;
}

.slot-status {
  margin-top: 0.55rem;
}

.slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
  width: 100%;
}

.slot-grid[hidden] {
  display: none;
}

.slot {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  flex: 0 0 auto;
  min-width: 4.75rem;
}

.slot:hover {
  border-color: var(--accent);
}

.slot.is-selected {
  background: var(--accent);
  color: #14110a;
  border-color: var(--accent);
  font-weight: 700;
}

.service-picker {
  border: 0;
  padding: 0;
  margin: 0 0 1.1rem;
}

.service-picker legend {
  font-size: 0.85rem;
  color: var(--paper-dim);
  font-weight: 600;
  padding: 0;
  margin-bottom: 0.35rem;
}

.service-options {
  display: grid;
  gap: 0.55rem;
}

.service-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-2);
  cursor: pointer;
}

.service-option:has(input:checked) {
  border-color: rgba(196, 163, 90, 0.55);
  background: rgba(196, 163, 90, 0.08);
}

.service-option input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.service-option-body {
  display: grid;
  gap: 0.15rem;
}

.service-option-body strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.service-option-body em {
  font-style: normal;
  color: var(--mist);
  font-size: 0.9rem;
}

.booking-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.85rem;
  margin-top: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(196, 163, 90, 0.35);
  background: rgba(196, 163, 90, 0.1);
}

.booking-total span {
  color: var(--mist);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.booking-total strong {
  font-size: 1.15rem;
  color: var(--accent-hot);
}

.booking-total em {
  font-style: normal;
  color: var(--paper-dim);
}

.dropoff-ready {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}

.alert-success {
  background: rgba(111, 191, 138, 0.12);
  border-color: rgba(111, 191, 138, 0.35);
  color: #c8efd5;
}

.alert-error {
  background: rgba(211, 107, 95, 0.12);
  border-color: rgba(211, 107, 95, 0.35);
  color: #f0c2bc;
}

.muted {
  color: var(--mist);
}

/* Admin */
.admin-body {
  background:
    radial-gradient(800px 500px at 100% 0%, rgba(196, 163, 90, 0.1), transparent 50%),
    var(--ink);
}

.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-side {
  border-right: 1px solid var(--line);
  background: rgba(18, 25, 22, 0.95);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-side nav {
  display: grid;
  gap: 0.25rem;
}

.admin-side nav a {
  color: var(--paper-dim);
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-weight: 500;
}

.admin-side nav a:hover,
.admin-side nav a.is-active {
  background: rgba(196, 163, 90, 0.12);
  color: #fff;
}

.admin-user {
  margin-top: auto;
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.9rem;
}

.admin-main {
  padding: 1.5rem;
}

.admin-main h1 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
  font-size: 2rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.stat .label {
  color: var(--mist);
  font-size: 0.85rem;
}

.stat .value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-top: 0.2rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

table.data th,
table.data td {
  text-align: left;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.data th {
  color: var(--mist);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

table.data tr:last-child td {
  border-bottom: 0;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.06);
}

.badge-pending { color: #f0d48a; background: rgba(212, 160, 23, 0.15); }
.badge-confirmed { color: #b8e7c6; background: rgba(111, 191, 138, 0.15); }
.badge-completed { color: #c5cec7; background: rgba(255, 255, 255, 0.08); }
.badge-cancelled { color: #f0c2bc; background: rgba(211, 107, 95, 0.15); }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.login-panel {
  width: min(420px, 100%);
}

.login-panel h1 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
}

.split-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 900px) {
  .booking-layout,
  .admin-shell,
  .stats,
  .split-form {
    grid-template-columns: 1fr;
  }

  .admin-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-meta {
    text-align: left;
  }
}
