/* ==========================================================================
   Salt & Light Photography — Christmas Mini's
   Palette and type taken from the studio's existing promo artwork.
   ========================================================================== */

:root {
  --cream: #f8f1e7;
  --cream-2: #f1e5d6;
  --cream-3: #ead9c6;
  --paper: #fffdf9;
  --wine: #4a1216;
  --wine-mid: #6d2328;
  --wine-deep: #2e0a0c;
  --gold: #b08a5a;
  --gold-light: #d8b98c;
  --ink: #2a1f1c;
  --muted: #7c6a5e;
  --line: #e3d5c4;
  --line-strong: #cdb99f;
  --success: #3f6b4f;
  --danger: #a33a34;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --script: 'Parisienne', 'Brush Script MT', cursive;
  --shadow-soft: 0 18px 50px -30px rgba(74, 18, 22, 0.45);
  --radius: 3px;
  --measure: 62ch;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.005em;
  margin: 0;
}

p {
  margin: 0 0 1em;
}

::selection {
  background: var(--wine);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--wine);
  color: var(--cream);
  padding: 12px 18px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(820px, calc(100% - 48px));
  margin-inline: auto;
}

.script {
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.eyebrow--muted {
  color: var(--muted);
}

/* ---------- Buttons ---------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 15px 30px;
  border: 1px solid var(--wine);
  border-radius: var(--radius);
  background: var(--wine);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--wine-deep);
  border-color: var(--wine-deep);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -18px rgba(46, 10, 12, 0.8);
}

.btn--cream {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--wine);
}

.btn--cream:hover {
  background: #fff;
  border-color: #fff;
  color: var(--wine-deep);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  background: transparent;
  border-color: var(--wine);
  color: var(--wine);
  box-shadow: none;
}

.btn--small {
  min-height: 38px;
  padding: 9px 16px;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.text-link {
  color: var(--wine);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}

.text-link:hover {
  border-color: var(--wine);
}

/* ---------- Top bar ---------------------------------------------------- */

.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  padding: 22px 0;
}

.topbar > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--cream);
  text-decoration: none;
}

.brand__name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

.brand__name em {
  font-style: italic;
  color: var(--gold-light);
}

.brand__sub {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(248, 241, 231, 0.6);
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.topbar__link {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 241, 231, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.topbar__link:hover {
  color: #fff;
}

.topbar__cta {
  color: var(--wine);
  background: var(--cream);
  border-color: var(--cream);
  min-height: 44px;
  padding: 12px 22px;
}

.topbar__cta:hover {
  background: #fff;
  border-color: #fff;
  color: var(--wine-deep);
}

@media (max-width: 640px) {
  .topbar {
    padding: 16px 0;
  }
  .brand__name {
    font-size: 17px;
    letter-spacing: 0.12em;
  }
  .brand__sub {
    display: none;
  }
  .topbar__nav .topbar__link {
    display: none;
  }
  .topbar__cta {
    min-height: 40px;
    padding: 10px 16px;
    font-size: 10px;
  }
}

/* ---------- Hero ------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--wine-deep);
  color: var(--cream);
  padding: 148px 0 88px;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 55% at 18% -6%, rgba(146, 55, 61, 0.85) 0%, transparent 62%),
    radial-gradient(ellipse 55% 50% at 88% 2%, rgba(112, 33, 39, 0.9) 0%, transparent 60%),
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(23, 5, 6, 0.9) 0%, transparent 70%),
    linear-gradient(158deg, #4d1418 0%, #3a0e11 46%, #260809 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: -20% -10% 0;
  z-index: -1;
  opacity: 0.5;
  background:
    repeating-linear-gradient(
      100deg,
      rgba(0, 0, 0, 0.28) 0px,
      rgba(0, 0, 0, 0) 46px,
      rgba(255, 255, 255, 0.035) 74px,
      rgba(0, 0, 0, 0.2) 118px,
      rgba(0, 0, 0, 0) 160px
    );
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 25%, transparent 78%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 940px;
  margin-inline: auto;
  padding-inline: 24px;
  text-align: center;
}

.hero__script {
  font-size: clamp(30px, 4.4vw, 52px);
  color: var(--gold-light);
  margin: 0 0 6px;
  transform: rotate(-2deg);
}

.hero h1 {
  font-size: clamp(52px, 9.4vw, 112px);
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-transform: uppercase;
  color: #fbf4e8;
  text-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.hero h1 span {
  display: block;
}

.hero__price {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 26px 0 24px;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.12em;
  color: var(--gold-light);
}

.hero__price::before,
.hero__price::after {
  content: '';
  width: 46px;
  height: 1px;
  background: rgba(216, 185, 140, 0.55);
}

.hero__lead {
  max-width: 56ch;
  margin: 0 auto 32px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(248, 241, 231, 0.86);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 241, 231, 0.6);
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__meta li + li::before {
  content: '·';
  color: var(--gold);
}

@media (max-width: 640px) {
  .hero {
    padding: 112px 0 64px;
  }
  .hero__lead {
    font-size: 15px;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .hero__meta li + li::before {
    display: none;
  }
  .hero__meta {
    gap: 6px 20px;
  }
}

/* ---------- Fact strip ------------------------------------------------- */

.facts {
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 30px 26px;
  border-left: 1px solid var(--line);
  text-align: center;
}

.fact:first-child {
  border-left: 0;
}

.fact__value {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  color: var(--wine);
}

.fact__label {
  display: block;
  margin-top: 8px;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 720px) {
  .facts__grid {
    grid-template-columns: 1fr 1fr;
  }
  .fact {
    padding: 22px 12px;
    border-bottom: 1px solid var(--line);
  }
  .fact:nth-child(odd) {
    border-left: 0;
  }
  .fact:nth-child(3),
  .fact:nth-child(4) {
    border-bottom: 0;
  }
  .fact__value {
    font-size: 24px;
  }
}

/* ---------- Editorial section ------------------------------------------ */

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--paper {
  background: var(--paper);
}

.section--cream {
  background: var(--cream-2);
}

.section--wine {
  background: var(--wine);
  color: var(--cream);
}

.section__head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section__head .script {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--gold);
  margin-bottom: 10px;
}

.section__head h2 {
  font-size: clamp(34px, 4.4vw, 50px);
  color: var(--wine);
}

.section__head p {
  margin: 16px auto 0;
  max-width: 56ch;
  color: var(--muted);
}

.section--wine .section__head h2,
.section--wine .section__head p {
  color: var(--cream);
}

.section--wine .section__head .script {
  color: var(--gold-light);
}

/* Includes */

.includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.includes__copy h2 {
  font-size: clamp(32px, 3.8vw, 46px);
  color: var(--wine);
  margin-bottom: 20px;
}

.includes__copy p {
  color: var(--muted);
  max-width: 46ch;
}

.includes__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.includes__list li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}

.includes__list .num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0.1em;
  padding-top: 3px;
}

.includes__list strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
}

.includes__list span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.callout {
  margin-top: 30px;
  padding: 24px 26px;
  background: var(--cream-2);
  border-left: 2px solid var(--gold);
}

.callout p {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.45;
  color: var(--wine);
}

.callout small {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

@media (max-width: 820px) {
  .includes {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .section {
    padding: 64px 0;
  }
}

/* ---------- Timeslots -------------------------------------------------- */

.schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.day {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.day__head {
  padding: 26px 24px 22px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf9 0%, #fbf6ee 100%);
}

.day__weekday {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.day__date {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  font-family: var(--serif);
  color: var(--wine);
}

.day__number {
  font-size: 54px;
  line-height: 0.9;
}

.day__month {
  font-size: 22px;
  letter-spacing: 0.04em;
}

.day__period {
  display: inline-block;
  margin-top: 12px;
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 999px;
}

.day__body {
  padding: 20px;
}

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

.slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 8px 4px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.slot__time {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.slot__end {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 2px;
}

a.slot:hover {
  border-color: var(--wine);
  background: var(--wine);
  color: var(--cream);
  transform: translateY(-1px);
}

a.slot:hover .slot__end {
  color: rgba(248, 241, 231, 0.7);
}

.slot--booked,
.slot--held,
.slot--closed,
.slot--past {
  background-color: #e6d6c2;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(74, 18, 22, 0.035) 0px,
    rgba(74, 18, 22, 0.035) 2px,
    transparent 2px,
    transparent 7px
  );
  border: 1px dashed #cdb69c;
  color: #97826f;
  cursor: not-allowed;
  box-shadow: inset 0 1px 2px rgba(74, 18, 22, 0.06);
}

.slot--booked .slot__time,
.slot--held .slot__time,
.slot--closed .slot__time,
.slot--past .slot__time {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(120, 96, 77, 0.65);
  opacity: 0.62;
}

.slot--booked .slot__end,
.slot--held .slot__end,
.slot--closed .slot__end,
.slot--past .slot__end {
  color: #7f6957;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 8.5px;
  font-weight: 500;
}

.day__foot {
  padding: 0 20px 22px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.day--soldout .day__foot {
  color: var(--danger);
}

.schedule__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: center;
}

.schedule__note svg {
  flex: none;
  color: var(--gold);
}

.legend {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend i {
  width: 10px;
  height: 10px;
  border: 1px solid var(--line-strong);
  background: #fff;
  display: inline-block;
}

.legend i.is-sold {
  background: #e6d6c2;
  border-color: #cdb69c;
  border-style: dashed;
}

@media (max-width: 980px) {
  .schedule {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 660px) {
  .schedule {
    grid-template-columns: 1fr;
  }
  .slots {
    grid-template-columns: repeat(3, 1fr);
  }
  .legend {
    display: none;
  }
}

/* ---------- Studio / directions ---------------------------------------- */

.studio {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.studio__panel {
  padding: 48px;
}

.studio__panel + .studio__panel {
  border-left: 1px solid var(--line);
  background: var(--cream);
}

.studio h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  color: var(--wine);
  margin-bottom: 14px;
}

.studio__address {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 20px;
}

.studio__note {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.studio__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.studio__list li {
  position: relative;
  padding: 0 0 16px 26px;
  font-size: 15px;
  color: var(--ink);
}

.studio__list li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.studio__list strong {
  font-weight: 500;
}

@media (max-width: 820px) {
  .studio {
    grid-template-columns: 1fr;
  }
  .studio__panel {
    padding: 32px 26px;
  }
  .studio__panel + .studio__panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---------- Footer ----------------------------------------------------- */

.footer {
  background: var(--wine-deep);
  color: rgba(248, 241, 231, 0.7);
  padding: 56px 0 34px;
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}

.footer__brand {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
}

.footer__brand em {
  font-style: italic;
  color: var(--gold-light);
}

.footer__tag {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(248, 241, 231, 0.45);
  margin-top: 8px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__links a {
  color: rgba(248, 241, 231, 0.8);
  text-decoration: none;
}

.footer__links a:hover {
  color: #fff;
}

.footer__legal {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(248, 241, 231, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: rgba(248, 241, 231, 0.38);
}

/* ---------- Page header (inner pages) ---------------------------------- */

.page-head {
  background: var(--wine);
  color: var(--cream);
  padding: 128px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 90% at 15% 0%, rgba(146, 55, 61, 0.6), transparent 65%),
    radial-gradient(ellipse 50% 80% at 90% 10%, rgba(112, 33, 39, 0.55), transparent 60%);
}

.page-head__inner {
  position: relative;
}

.page-head .script {
  font-size: clamp(24px, 3vw, 34px);
  color: var(--gold-light);
  margin-bottom: 8px;
}

.page-head h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.page-head p {
  margin: 12px 0 0;
  color: rgba(248, 241, 231, 0.72);
  font-size: 15px;
  max-width: 60ch;
}

.page-head .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(248, 241, 231, 0.7);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

.page-head .back:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .page-head {
    padding: 104px 0 40px;
  }
}

/* ---------- Booking layout --------------------------------------------- */

.booking-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 44px;
  align-items: start;
  padding: 56px 0 88px;
}

.summary {
  position: sticky;
  top: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.summary__top {
  background: var(--wine);
  color: var(--cream);
  padding: 26px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.summary__top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 20% 0%, rgba(146, 55, 61, 0.7), transparent 70%);
}

.summary__top > * {
  position: relative;
}

.summary__label {
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.summary__date {
  font-family: var(--serif);
  font-size: 26px;
  margin-top: 8px;
  line-height: 1.15;
}

.summary__time {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--gold-light);
  line-height: 1.1;
  margin-top: 4px;
}

.summary__body {
  padding: 24px 28px 28px;
}

.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.summary__row span:first-child {
  color: var(--muted);
}

.summary__row span:last-child {
  text-align: right;
  color: var(--ink);
}

.summary__row--total {
  border-bottom: 0;
  padding-top: 18px;
  align-items: baseline;
}

.summary__row--total span:first-child {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
}

.summary__row--total span:last-child {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--wine);
}

.summary__includes {
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 12.5px;
  color: var(--muted);
}

.summary__includes li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 7px;
}

.summary__includes li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 9px;
  color: var(--gold);
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-soft);
}

.form-card h2 {
  font-size: 34px;
  color: var(--wine);
}

.form-card > p {
  color: var(--muted);
  margin: 8px 0 30px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(74, 18, 22, 0.08);
}

.field small {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
}

.field--half {
  max-width: 100%;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.check input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
  accent-color: var(--wine);
  flex: none;
}

.fieldset {
  border: 0;
  padding: 0;
  margin: 26px 0 0;
}

.fieldset legend {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 4px;
  padding: 0;
}

.fieldset > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 28px 0;
  border: 0;
}

.form-foot {
  margin-top: 26px;
}

.form-foot .btn {
  min-height: 56px;
  font-size: 12px;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: center;
}

.secure-note svg {
  flex: none;
  color: var(--gold);
}

.alert {
  padding: 16px 20px;
  border-radius: 2px;
  margin-bottom: 24px;
  font-size: 14px;
  border: 1px solid;
}

.alert--error {
  background: #fdf2f0;
  border-color: #eccbc6;
  color: #8a2f29;
}

.alert--info {
  background: #f7f1e6;
  border-color: var(--line);
  color: var(--ink);
}

.alert--success {
  background: #f0f6f1;
  border-color: #cfe2d5;
  color: #2f5b3d;
}

.alert ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

@media (max-width: 980px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
    order: -1;
  }
  .form-card {
    padding: 30px 24px;
  }
}

@media (max-width: 560px) {
  .field-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Confirmation ----------------------------------------------- */

.confirm-hero {
  text-align: center;
  padding: 56px 0 8px;
}

.confirm-hero__mark {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--paper);
}

.confirm-hero .script {
  font-size: 34px;
  color: var(--gold);
}

.confirm-hero h1 {
  font-size: clamp(38px, 5.4vw, 58px);
  color: var(--wine);
  margin-top: 4px;
}

.confirm-hero p {
  max-width: 54ch;
  margin: 14px auto 0;
  color: var(--muted);
}

.ticket {
  max-width: 720px;
  margin: 38px auto 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.ticket__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 26px 32px;
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}

.ticket__when {
  font-family: var(--serif);
  font-size: 23px;
  color: var(--wine);
  line-height: 1.3;
}

.ticket__ref {
  text-align: right;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.ticket__ref strong {
  display: block;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin-top: 4px;
}

.ticket__body {
  padding: 8px 32px 26px;
}

.ticket__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.ticket__row dt {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.ticket__row dd {
  margin: 0;
  color: var(--ink);
}

.ticket__row dd strong {
  font-weight: 500;
}

.ticket__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 32px 30px;
  border-top: 1px dashed var(--line-strong);
  background: #fffdf9;
}

.confirm-next {
  max-width: 720px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.next-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px 26px;
  border-radius: var(--radius);
}

.next-card h3 {
  font-size: 21px;
  color: var(--wine);
  margin-bottom: 8px;
}

.next-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

.next-card a {
  display: inline-block;
  margin-top: 12px;
}

.confirm-foot {
  text-align: center;
  margin: 34px auto 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 640px) {
  .ticket__top {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .ticket__ref {
    text-align: left;
  }
  .ticket__body {
    padding: 4px 22px 20px;
  }
  .ticket__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .ticket__actions {
    padding: 20px 22px 24px;
  }
  .ticket__actions .btn {
    width: 100%;
  }
  .confirm-next {
    grid-template-columns: 1fr;
  }
}

/* ---------- Terms / prose ---------------------------------------------- */

.prose {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 56px 0 88px;
}

.prose h2 {
  font-size: 27px;
  color: var(--wine);
  margin: 34px 0 10px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: #4c3f37;
  font-size: 15.5px;
}

.prose ul {
  padding-left: 20px;
}

.prose a {
  color: var(--wine);
}

/* ---------- Admin ------------------------------------------------------ */

.admin {
  padding: 40px 0 80px;
}

.admin-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.admin-bar h1 {
  font-size: 34px;
  color: var(--wine);
}

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

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px 22px;
  border-radius: var(--radius);
}

.stat span {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--wine);
  margin-top: 8px;
  line-height: 1;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 22px;
  overflow: hidden;
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #fbf6ee;
}

.panel__head h2 {
  font-size: 20px;
  color: var(--wine);
}

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

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
}

table.data th {
  text-align: left;
  padding: 10px 14px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

table.data td {
  padding: 13px 14px;
  border-bottom: 1px solid #f1e8dc;
  vertical-align: top;
}

table.data tr:last-child td {
  border-bottom: 0;
}

table.data td.wrap-cell {
  white-space: normal;
  min-width: 180px;
}

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid;
}

.badge--paid {
  color: #2f5b3d;
  background: #edf5ef;
  border-color: #cfe2d5;
}

.badge--pending {
  color: #8a6a1f;
  background: #fbf4e0;
  border-color: #e8d8a8;
}

.badge--expired,
.badge--cancelled,
.badge--refunded {
  color: #7c6a5e;
  background: #f4ece1;
  border-color: #e3d5c4;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.row-actions form {
  display: inline;
}

.row-actions .mini {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.row-actions .mini:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.slot-admin {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
  padding: 20px;
}

.slot-admin form {
  display: contents;
}

.slot-admin button {
  font-family: var(--sans);
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 11px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 12px;
  color: var(--ink);
}

.slot-admin button:hover {
  border-color: var(--wine);
}

.slot-admin button .st {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.slot-admin button.is-paid {
  background: #edf5ef;
  border-color: #cfe2d5;
}

.slot-admin button.is-held {
  background: #fbf4e0;
  border-color: #e8d8a8;
}

.slot-admin button.is-closed {
  background: #f4ece1;
  border-color: #e3d5c4;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 20px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  font-size: 13.5px;
  border-bottom: 1px solid #f1e8dc;
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist .tick {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #fff;
  flex: none;
  margin-top: 2px;
}

.checklist .ok .tick {
  background: var(--success);
}

.checklist .todo .tick {
  background: #cfae7a;
}

.checklist code {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted);
  word-break: break-all;
}

.login {
  max-width: 400px;
  margin: 80px auto;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.login h1 {
  font-size: 30px;
  color: var(--wine);
  margin-bottom: 8px;
}

.login p {
  font-size: 13.5px;
  color: var(--muted);
}

.login .field {
  margin: 20px 0;
}

.login .btn {
  width: 100%;
}

.admin-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Bookings table becomes readable cards on a phone or narrow pane. */
@media (max-width: 980px) {
  table.bookings,
  table.bookings tbody {
    display: block;
    white-space: normal;
  }
  table.bookings thead {
    display: none;
  }
  table.bookings tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }
  table.bookings tr:last-child {
    border-bottom: 0;
  }
  table.bookings td {
    padding: 0;
    border: 0;
    white-space: normal;
  }
  table.bookings td::before {
    content: attr(data-label);
    display: block;
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3px;
  }
  table.bookings td.b-client,
  table.bookings td.b-notes,
  table.bookings td.b-actions {
    grid-column: 1 / -1;
  }
  table.bookings td.b-actions::before {
    margin-bottom: 7px;
  }
  table.bookings td.b-notes {
    max-width: none !important;
  }
}

/* ---------- Utilities -------------------------------------------------- */

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

.mt-0 {
  margin-top: 0;
}

.center {
  text-align: center;
}

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

/* Recent activity (admin) */
.activity {
  list-style: none;
  margin: 0;
  padding: 0;
}

.activity li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid #f1e8dc;
  font-size: 13px;
  align-items: baseline;
}

.activity li:last-child {
  border-bottom: 0;
}

.activity__when {
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
}

.activity strong {
  font-weight: 500;
  text-transform: capitalize;
}

.activity__detail {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  margin-top: 2px;
  word-break: break-word;
}

@media (max-width: 600px) {
  .activity li {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px 16px;
  }
}
