:root {
  --cream: #f3e7d3;
  --white: #ffffff;
  --beige: #dfc8aa;
  --wood: #7b5238;
  --wood-dark: #4f3426;
  --ink: #2b221b;
  --muted: #76665a;
  --line: rgba(79, 52, 38, 0.16);
  --gold: #b9934b;
  --gold-light: #d6b46d;
  --shadow: 0 24px 70px rgba(79, 52, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.83);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(176, 138, 88, 0.48);
  border-radius: 50%;
  background: var(--cream);
  object-fit: cover;
  object-position: center;
  padding: 2px;
  box-shadow: 0 8px 20px rgba(79, 52, 38, 0.12);
}

.brand strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  line-height: 1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

.nav-pill,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(45, 37, 34, 0.15);
  padding: 0 20px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 250ms ease, box-shadow 250ms ease, background 250ms ease;
}

.button:hover,
.nav-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(93, 57, 51, 0.16);
}

.primary {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold), var(--wood));
  color: var(--white);
}

.ghost {
  background: rgba(255, 255, 255, 0.72);
}

.wide {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.section {
  padding: clamp(78px, 9vw, 132px) clamp(18px, 5vw, 72px);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 118px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero-media img {
  transform: scale(1.08);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-media video {
  display: block;
  transform: scale(1);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(243,231,211,0.86) 44%, rgba(185,147,75,0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.98;
}

h1 {
  max-width: 650px;
  font-size: clamp(76px, 12vw, 158px);
  font-weight: 700;
}

h2 {
  max-width: 820px;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 700;
}

h3 {
  font-size: 31px;
}

.hero-copy {
  max-width: 590px;
  margin: 22px 0 0;
  color: var(--wood-dark);
  font-size: clamp(16px, 2vw, 21px);
}

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

.hero-card {
  position: absolute;
  right: clamp(18px, 5vw, 74px);
  bottom: clamp(22px, 8vw, 72px);
  z-index: 1;
  width: min(310px, calc(100% - 36px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card span,
.hero-card small {
  display: block;
  color: var(--muted);
}

.hero-card strong {
  display: block;
  margin: 8px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  line-height: 1;
}

.section-grid,
.location-band,
.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.about-band,
.booking-band,
.location-band {
  background: linear-gradient(135deg, var(--cream), #fbf5ea 48%, var(--white));
}

.section-copy p,
.section-heading p {
  max-width: 720px;
  color: var(--muted);
}

.section-copy a {
  color: var(--wood);
  font-weight: 800;
}

.founder-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.founder-photo {
  display: grid;
  place-items: center;
  min-height: 96px;
  border: 1px dashed rgba(176, 138, 88, 0.6);
  border-radius: 8px;
  background: #fbf5ea;
  color: var(--wood);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.founder-photo {
  width: 180px;
  height: 220px;
  min-height: 220px;
  object-fit: cover;
  object-position: center 18%;
  border-style: solid;
  background: var(--cream);
}

.image-stack {
  position: relative;
}

.tilt-frame,
.sample-main {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.tilt-frame img,
.sample-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  animation: imageFloat 14s ease-in-out infinite alternate;
}

.soft-panel {
  position: relative;
  width: min(360px, 88%);
  margin: -52px auto 0;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.soft-panel strong,
.soft-panel span {
  display: block;
}

.soft-panel strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
}

.soft-panel span {
  color: var(--muted);
}

.section-heading {
  margin-bottom: 34px;
}

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

.service-card,
.price-table,
.booking-form,
.location-card,
.placeholder-grid article,
.sample-card,
.policy-grid p,
.modal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 55px rgba(76, 48, 40, 0.09);
}

.service-card {
  min-height: 286px;
  padding: 26px;
}

.service-card span {
  color: var(--gold);
  font-weight: 900;
}

.service-card p {
  color: var(--muted);
}

.service-card strong {
  display: block;
  margin-top: 28px;
}

.price-table {
  margin-top: 20px;
  overflow: hidden;
}

.price-table h3 {
  padding: 24px 24px 8px;
}

.price-row {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr 0.45fr;
  gap: 16px;
  padding: 15px 24px;
  border-top: 1px solid var(--line);
}

.price-row.header {
  background: #fbf3e5;
  color: var(--wood);
  font-weight: 900;
}

.booking-form {
  padding: clamp(18px, 4vw, 34px);
}

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

label {
  display: grid;
  gap: 8px;
  color: #5c4b45;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(45, 37, 34, 0.16);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 0 14px;
}

input:focus,
select:focus {
  outline: 2px solid rgba(185, 147, 75, 0.34);
  border-color: var(--gold);
}

.time-fieldset {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.time-fieldset legend {
  padding: 0 8px;
  font-weight: 900;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 10px;
}

.time-slots label {
  position: relative;
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  text-transform: none;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.time-slots input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.time-slots label:has(input:checked) {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold), var(--wood));
  color: var(--white);
}

.time-slots label.disabled {
  color: #aa9b8c;
  background: #eee4d7;
  cursor: not-allowed;
  text-decoration: line-through;
}

.slot-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.split-band {
  background: #fbf5ea;
}

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

.placeholder-grid article {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(145deg, rgba(243,231,211,0.86), rgba(255,255,255,0.95));
}

.placeholder-grid span,
.sample-card span {
  color: var(--wood);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.sample-card {
  overflow: hidden;
}

.sample-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 700ms ease;
}

.sample-card:hover img {
  transform: scale(1.08);
}

.sample-card div {
  padding: 20px;
}

.sample-card strong {
  display: block;
  margin-top: 4px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.location-card {
  display: grid;
  gap: 14px;
  padding: 30px;
}

.location-card strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
}

.location-card a {
  color: var(--wood);
  font-weight: 900;
}

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

.policy-grid p {
  min-height: 126px;
  margin: 0;
  padding: 20px;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  padding: 18px;
}

.modal.is-open {
  display: grid;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 37, 34, 0.48);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(780px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: clamp(20px, 4vw, 34px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-size: 24px;
  cursor: pointer;
}

.booking-summary,
.payment-box,
.reminder-box,
.receipt-note {
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
  background: #fbf5ea;
}

.receipt-panel {
  width: min(760px, 100%);
}

.e-receipt h2 {
  font-size: clamp(48px, 8vw, 86px);
}

.receipt-number {
  width: fit-content;
  margin: 14px 0 20px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--wood);
  font-weight: 900;
}

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

.receipt-lines span {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
}

.receipt-lines strong {
  display: block;
  color: var(--ink);
}

.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.upload-grid,
.payment-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.upload-card {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.upload-card:hover,
.upload-card:focus-within {
  border-color: var(--gold);
  box-shadow: 0 14px 32px rgba(120, 85, 49, 0.12);
  transform: translateY(-1px);
}

.upload-title {
  display: block;
  margin-bottom: 10px;
  color: var(--wood);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.upload-control {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px;
  border-radius: 8px;
  background: var(--cream);
}

.upload-button {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--wood));
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.upload-file {
  min-width: 0;
  color: var(--muted);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.payment-qr {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1;
  justify-self: center;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.site-footer span,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255,255,255,0.72);
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: 360px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 250ms ease, transform 250ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.16) translate3d(24px, -16px, 0); }
}

@keyframes imageFloat {
  from { transform: scale(1.05) translateY(0); }
  to { transform: scale(1.12) translateY(-18px); }
}

@media (max-width: 1040px) {
  .site-nav {
    position: fixed;
    top: 77px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

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

  .nav-toggle {
    display: block;
  }

  .section-grid,
  .location-band,
  .split-band {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .sample-gallery,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .time-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 92vh;
    align-items: flex-start;
  }

  .hero-media img {
    object-position: 60% center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(243,231,211,0.88) 50%, rgba(185,147,75,0.2) 100%);
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .form-grid,
  .founder-card,
  .receipt-lines,
  .upload-grid,
  .payment-box {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    width: 100%;
    max-width: 260px;
    height: 300px;
  }

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

  .price-row.header {
    display: none;
  }

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

  .time-slots {
    grid-template-columns: 1fr 1fr;
  }

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

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  html,
  body {
    width: auto;
    height: auto;
    margin: 0 !important;
    overflow: visible !important;
    background: #fff !important;
  }

  body > :not(#receiptModal) {
    display: none !important;
  }

  #receiptModal {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    background: #fff !important;
  }

  #receiptModal .modal-backdrop,
  #receiptModal .modal-close,
  #receiptModal .receipt-actions {
    display: none !important;
  }

  #receiptModal .modal-panel {
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: #fff !important;
  }

  .e-receipt h2 {
    font-size: 44px;
  }

  .receipt-lines {
    gap: 8px;
  }

  .receipt-lines span {
    padding: 10px;
  }
}

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