:root {
  --ink: #231f1a;
  --muted: #6d6256;
  --paper: #f7f2ea;
  --cream: #fffaf2;
  --steel: #6f7f83;
  --barn: #9b2f24;
  --sage: #6d7f63;
  --gold: #c49a57;
  --line: rgba(35, 31, 26, 0.16);
  --shadow: 0 24px 70px rgba(23, 18, 14, 0.18);
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.site-header.scrolled {
  color: var(--ink);
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 8px 30px rgba(23, 18, 14, 0.1);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
}
.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
}
.brand small {
  display: block;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.76;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 0.92rem;
}
.nav a {
  text-decoration: none;
  opacity: 0.9;
}
.nav-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 9px 18px;
}
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}
.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  padding: 140px clamp(18px, 5vw, 72px) 52px;
  color: #fff;
  overflow: hidden;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 15, 12, 0.78), rgba(18, 15, 12, 0.34) 52%, rgba(18, 15, 12, 0.12)), linear-gradient(0deg, rgba(18, 15, 12, 0.56), rgba(18, 15, 12, 0.05) 45%);
}
.hero-content {
  position: relative;
  max-width: 780px;
  padding-bottom: 76px;
}
.eyebrow, .section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--barn); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
}
h1 {
  margin-bottom: 20px;
  font-size: clamp(4.3rem, 10vw, 10.5rem);
}
h2 {
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 5vw, 5rem);
}
h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}
.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}
.hero-actions, .form-actions, .dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button.primary {
  background: var(--barn);
  color: #fff;
  box-shadow: 0 12px 28px rgba(82, 22, 15, 0.28);
}
.button.secondary {
  border-color: rgba(255, 255, 255, 0.68);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.button.ghost {
  border-color: var(--line);
  background: var(--cream);
  color: var(--ink);
}
.button.danger { color: var(--barn); }
.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 860px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(18px);
}
.hero-panel div {
  padding: 18px;
  background: rgba(25, 21, 17, 0.32);
}
.hero-panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.hero-panel span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.section {
  padding: clamp(68px, 9vw, 124px) clamp(18px, 5vw, 72px);
}
.split, .details-grid, .booking-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}
.intro p, .section-heading p, .details p, .booking-copy p, .final-cta p {
  color: var(--muted);
  font-size: 1.05rem;
}
.feature-list {
  display: grid;
  gap: 18px;
}
.feature-list div, .details dl, .booking-form, .request-card {
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 0 14px 34px rgba(23, 18, 14, 0.06);
}
.feature-list div {
  padding: 24px;
}
.feature-list span {
  color: var(--barn);
  font-weight: 900;
  font-size: 0.8rem;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  min-height: 620px;
  background: #e9e0d3;
}
.story-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-band > div {
  display: grid;
  align-content: center;
  padding: clamp(44px, 6vw, 84px);
}
.text-link {
  width: fit-content;
  color: var(--barn);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}
.section-heading > div { max-width: 820px; }
.section-heading > p { max-width: 420px; }
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.event-grid article {
  background: var(--cream);
  border: 1px solid var(--line);
}
.event-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.event-grid h3, .event-grid p {
  padding: 0 22px;
}
.event-grid h3 { padding-top: 22px; }
.event-grid p {
  color: var(--muted);
  padding-bottom: 24px;
}

.photo-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #efe6d9;
}
.photo-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -9vw;
  bottom: 18px;
  width: min(520px, 46vw);
  aspect-ratio: 4 / 5;
  background: linear-gradient(90deg, rgba(239, 230, 217, 0.96), rgba(239, 230, 217, 0.52)), url("assets/gallery/gallery-12.jpg") center / cover;
  opacity: 0.44;
  filter: saturate(0.78);
  transform: rotate(2deg);
}
.mosaic {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.9fr;
  grid-auto-rows: 260px;
  grid-auto-flow: dense;
  gap: 12px;
}
.mosaic button {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  cursor: zoom-in;
}
.mosaic button:first-child { grid-row: span 2; }
.mosaic button:nth-child(4) { grid-column: span 2; }
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: var(--crop-fit, cover);
  object-position: var(--crop-x, 50%) var(--crop-y, 50%);
  transform: scale(var(--crop-zoom, 1));
  transition: transform 250ms ease;
}
.mosaic button:nth-child(1) img { --crop-x: 28%; --crop-y: 50%; }
.mosaic button:nth-child(2) img { --crop-x: 50%; --crop-y: 60%; }
.mosaic button:nth-child(3) img { --crop-x: 58%; --crop-y: 52%; }
.mosaic button:nth-child(4) img { --crop-x: 50%; --crop-y: 62%; }
.mosaic button:nth-child(5) img { --crop-x: 50%; --crop-y: 64%; }
.mosaic button:nth-child(6) img { --crop-x: 62%; --crop-y: 58%; }
.mosaic button:hover img { transform: scale(calc(var(--crop-zoom, 1) * 1.04)); }

.crop-editor {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 0 14px 34px rgba(23, 18, 14, 0.06);
}
.crop-editor[hidden] {
  display: none;
}
.crop-preview {
  min-height: 220px;
  aspect-ratio: var(--preview-cols, 1) / var(--preview-rows, 1);
  overflow: hidden;
  background: #1c1814;
}
.crop-preview img {
  width: 100%;
  height: 100%;
  object-fit: var(--preview-fit, cover);
  object-position: var(--preview-x, 50%) var(--preview-y, 50%);
  transform: scale(var(--preview-zoom, 1));
}
.crop-controls {
  display: grid;
  align-content: start;
  gap: 14px;
}
.crop-controls input[type="range"] {
  padding: 0;
  accent-color: var(--barn);
}
.crop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.details {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.details::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(35, 31, 26, 0.94), rgba(35, 31, 26, 0.76) 48%, rgba(35, 31, 26, 0.92)),
    url("assets/gallery/gallery-16.jpg") right center / min(760px, 58vw) auto no-repeat;
  opacity: 0.98;
}
.details::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -8vw;
  bottom: -120px;
  width: min(520px, 42vw);
  aspect-ratio: 1;
  background: url("assets/gallery/gallery-02.jpg") center / cover;
  opacity: 0.18;
  filter: grayscale(0.35);
}
.details .section-kicker { color: var(--gold); }
.details p, .details dd { color: rgba(255, 255, 255, 0.72); }
.details dl {
  margin: 0;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
}
.details dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.details dl div:last-child { border-bottom: 0; }
.details dt {
  color: var(--gold);
  font-weight: 900;
}
.details dd { margin: 0; }

.vendor-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #efe6d9;
}
.vendor-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 24px;
  left: -7vw;
  width: min(440px, 40vw);
  aspect-ratio: 5 / 4;
  background: linear-gradient(90deg, rgba(239, 230, 217, 0.26), rgba(239, 230, 217, 0.94)), url("assets/gallery/gallery-20.jpg") center / cover;
  opacity: 0.48;
  filter: saturate(0.75);
}
.vendor-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(18px, 5vw, 72px);
  bottom: 34px;
  width: min(280px, 24vw);
  aspect-ratio: 3 / 4;
  border: 10px solid rgba(255, 250, 242, 0.55);
  background: url("assets/gallery/gallery-11.jpg") center / cover;
  opacity: 0.24;
  transform: rotate(-1.5deg);
}
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.vendor-grid article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 0 14px 34px rgba(23, 18, 14, 0.06);
}
.vendor-grid span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--barn);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.vendor-grid p {
  color: var(--muted);
}

.booking-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f2ea, #ebe1d4);
}
.booking-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(560px, 42vw);
  background:
    linear-gradient(90deg, rgba(247, 242, 234, 0.32), rgba(247, 242, 234, 0.9)),
    url("assets/gallery/gallery-09.jpg") center / cover;
  opacity: 0.34;
}
.booking-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8vw;
  bottom: -80px;
  width: min(460px, 38vw);
  aspect-ratio: 4 / 3;
  background: url("assets/gallery/gallery-21.jpg") center / cover;
  opacity: 0.2;
  filter: saturate(0.72);
}
}
.booking-copy {
  position: sticky;
  top: 100px;
}
.quote-box {
  margin-top: 26px;
  padding: 24px;
  background: var(--ink);
  color: #fff;
}
.quote-box span, .quote-box small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
}
.quote-box strong {
  display: block;
  margin: 6px 0;
  font-family: var(--font-display);
  font-size: 2.2rem;
}
.booking-form {
  padding: clamp(18px, 3vw, 34px);
}
.form-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px;
  background: #ebe2d5;
}
.form-tabs button {
  border: 0;
  padding: 12px 10px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}
.form-tabs button.active {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(23, 18, 14, 0.08);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 12px;
  color: var(--ink);
  background: #fffdf8;
}
textarea { resize: vertical; }
.date-picker-field {
  align-content: start;
}
.booking-calendar-shell {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #f9f1e5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}
.booking-calendar-shell .date-picker-field {
  max-width: 320px;
}
.booking-date-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.booking-date-control .button {
  min-height: 0;
  padding: 10px 14px;
  white-space: nowrap;
}
.booking-calendar {
  margin: 0;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--line);
  background: #fffdf8;
}
.booking-calendar[hidden] {
  display: none;
}
.calendar-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.calendar-head strong {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.45rem;
}
.calendar-head button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-size: 1.8rem;
  cursor: pointer;
}
.calendar-weekdays, .calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.calendar-weekdays {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}
.calendar-day {
  position: relative;
  min-height: clamp(72px, 7vw, 104px);
  border: 1px solid var(--line);
  background: #fffaf2;
  color: var(--ink);
  text-align: left;
  padding: 9px;
  cursor: pointer;
}
.calendar-day.blank {
  border-color: transparent;
  background: transparent;
  cursor: default;
}
.calendar-day.past {
  color: rgba(35, 31, 26, 0.38);
  background: #efe8dc;
}
.calendar-day.has-confirmed {
  border-color: rgba(155, 47, 36, 0.55);
  background: #fff0ea;
}
.calendar-day.selected {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}
.calendar-day strong {
  display: block;
  font-size: 1.08rem;
}
.calendar-day small {
  display: block;
  margin-top: 7px;
  color: var(--barn);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.15;
}
.calendar-details {
  margin-top: 12px;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: #f7f2ea;
  color: var(--muted);
}
.calendar-details strong {
  display: block;
  color: var(--ink);
}
.calendar-details span {
  display: block;
  margin-top: 5px;
}
fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--line);
}
legend {
  padding: 0 8px;
  color: var(--muted);
  font-weight: 900;
}
fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
}
fieldset input {
  width: auto;
}
.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.human-check {
  margin-top: 18px;
}
.availability {
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: #fffdf8;
  color: var(--muted);
  font-weight: 800;
}
.availability.good { border-color: var(--sage); color: #3f5b38; }
.availability.bad { border-color: var(--barn); color: var(--barn); }
.confirmed-slots {
  display: grid;
  gap: 8px;
  margin: -4px 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--muted);
}
.confirmed-slots[hidden] {
  display: none;
}
.confirmed-slots strong {
  color: var(--ink);
}
.confirmed-slots span {
  display: block;
}
.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.dashboard {
  padding-top: 0;
  background: #ebe1d4;
}
.faq {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f7f2ea;
}
.faq::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 242, 234, 0.96), rgba(247, 242, 234, 0.72), rgba(247, 242, 234, 0.96)),
    url("assets/gallery/gallery-14.jpg") center / cover;
  opacity: 0.42;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.faq details {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 20px;
}
.faq summary {
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}
.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}
.request-list {
  display: grid;
  gap: 12px;
}
.request-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 18px;
}
.request-card p { margin-bottom: 4px; color: var(--muted); }
.request-card strong { display: block; font-size: 1.05rem; }
.request-card button {
  align-self: start;
  border: 1px solid var(--line);
  background: transparent;
  padding: 9px 12px;
  cursor: pointer;
}
.empty {
  padding: 24px;
  border: 1px dashed var(--line);
  color: var(--muted);
}

.final-cta {
  position: relative;
  min-height: 480px;
  display: grid;
  align-items: center;
  padding: clamp(52px, 8vw, 100px) clamp(18px, 5vw, 72px);
  color: #fff;
  overflow: hidden;
}
.final-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 18, 15, 0.78), rgba(22, 18, 15, 0.16));
}
.final-cta > div {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.final-cta p { color: rgba(255, 255, 255, 0.82); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: #17130f;
  color: #fff;
}
.footer span, .footer a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.owner-page {
  background: #17130f;
}
.owner-shell {
  min-height: 100vh;
  padding: clamp(24px, 5vw, 72px);
}
.owner-login, .owner-desk, .owner-panel {
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: var(--shadow);
}
.owner-login {
  max-width: 560px;
  margin: 8vh auto 0;
  padding: clamp(24px, 5vw, 48px);
}
.owner-login h1, .owner-desk h1 {
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 6rem);
}
.owner-login p, .owner-panel p {
  color: var(--muted);
}
.owner-login .button {
  margin-top: 18px;
}
.owner-desk {
  display: grid;
  gap: 22px;
  padding: clamp(18px, 4vw, 42px);
}
.owner-desk[hidden], .owner-login[hidden] {
  display: none;
}
.owner-panel {
  padding: clamp(18px, 3vw, 30px);
}
.confirmed-form {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}
.manager-form {
  display: grid;
  gap: 18px;
}
.color-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.manager-list {
  display: grid;
  gap: 12px;
  margin: 14px 0 20px;
}
.manager-row {
  display: grid;
  grid-template-columns: 90px minmax(150px, 0.75fr) minmax(180px, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fffdf8;
}
.manager-row.tall {
  grid-template-columns: 90px minmax(150px, 0.45fr) minmax(220px, 0.9fr) minmax(260px, 1.2fr);
  align-items: start;
}
.gallery-manager-row {
  grid-template-columns: 76px 80px minmax(220px, 0.9fr) minmax(220px, 1fr) auto;
}
.gallery-manager-row img {
  width: 66px;
  height: 54px;
  object-fit: cover;
  background: #1c1814;
}
.inline-add {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.8fr) auto;
  gap: 10px;
  margin-bottom: 12px;
}

.gallery-page {
  background: var(--paper);
}
.gallery-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
}
.gallery-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 800;
}
.gallery-nav a {
  text-decoration: none;
}
.gallery-hero {
  position: relative;
  min-height: 64vh;
  display: grid;
  align-items: end;
  padding: 132px clamp(18px, 5vw, 72px) 52px;
  color: #fff;
  overflow: hidden;
}
.gallery-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-hero > div:not(.hero-shade) {
  position: relative;
  max-width: 760px;
}
.gallery-hero h1 {
  margin-bottom: 14px;
}
.gallery-hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.06rem, 2vw, 1.32rem);
}
.full-gallery {
  padding-top: clamp(44px, 6vw, 76px);
}
.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.full-gallery-card {
  position: relative;
  min-height: 210px;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid var(--line);
  background: #1f1a15;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(23, 18, 14, 0.08);
}
.full-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, opacity 180ms ease;
}
.full-gallery-card span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 9px;
  color: #fff;
  background: rgba(20, 16, 12, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.full-gallery-card:hover img {
  transform: scale(1.035);
  opacity: 0.92;
}
.full-gallery-card.selected {
  outline: 4px solid var(--gold);
  outline-offset: 3px;
}

.lightbox {
  width: min(1060px, 92vw);
  border: 0;
  padding: 0;
  background: #111;
  color: #fff;
  box-shadow: var(--shadow);
}
.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
}
.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}
.lightbox p {
  margin: 0;
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.8);
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 8px;
  max-height: 170px;
  overflow: auto;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: #151515;
}
.gallery-thumbs button {
  height: 70px;
  padding: 0;
  border: 2px solid transparent;
  background: #222;
  cursor: pointer;
  overflow: hidden;
}
.gallery-thumbs button.active {
  border-color: var(--gold);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.close, .gallery-arrow {
  position: absolute;
  z-index: 2;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
}
.close {
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.8rem;
}
.gallery-arrow {
  top: 50%;
  width: 44px;
  height: 64px;
  transform: translateY(-50%);
  font-size: 2.8rem;
}
.gallery-arrow.prev { left: 0; }
.gallery-arrow.next { right: 0; }
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: 360px;
  padding: 14px 18px;
  background: var(--ink);
  color: #fff;
  transform: translateY(130%);
  transition: transform 180ms ease;
  box-shadow: var(--shadow);
}
.toast.visible { transform: translateY(0); }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .nav {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    color: var(--ink);
    background: var(--cream);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px; }
  .hero { min-height: 94vh; }
  .hero-content { padding-bottom: 28px; }
  .hero-panel { grid-template-columns: 1fr; }
  .split, .details-grid, .booking-section, .story-band {
    grid-template-columns: 1fr;
  }
  .booking-copy { position: static; }
  .event-grid { grid-template-columns: 1fr; }
  .vendor-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .color-grid, .manager-row, .manager-row.tall, .gallery-manager-row, .inline-add {
    grid-template-columns: 1fr;
  }
  .photo-section::before, .vendor-section::after, .booking-section::after {
    display: none;
  }
  .details::before {
    background:
      linear-gradient(90deg, rgba(35, 31, 26, 0.94), rgba(35, 31, 26, 0.88)),
      url("assets/gallery/gallery-16.jpg") center / cover;
  }
  .details::after, .vendor-section::before, .booking-section::before {
    opacity: 0.1;
  }
  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }
  .mosaic button:first-child, .mosaic button:nth-child(4) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .crop-editor {
    grid-template-columns: 1fr;
  }
  .crop-preview {
    height: 240px;
  }
  .section-heading, .footer {
    display: grid;
  }
  .gallery-header {
    position: absolute;
    align-items: flex-start;
  }
  .gallery-nav {
    gap: 12px;
  }
  .gallery-hero {
    min-height: 58vh;
  }
  .full-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .full-gallery-card {
    min-height: 170px;
  }
}

@media (max-width: 560px) {
  h1 { font-size: 4rem; }
  .form-grid { grid-template-columns: 1fr; }
  .booking-date-control { grid-template-columns: 1fr; }
  .calendar-day { min-height: 58px; padding: 7px; }
  .calendar-day small { font-size: 0.65rem; }
  .details dl div { grid-template-columns: 1fr; }
  .request-card { grid-template-columns: 1fr; }
  .gallery-header {
    display: grid;
    gap: 14px;
  }
  .gallery-hero {
    padding-top: 176px;
  }
  .full-gallery-grid {
    grid-template-columns: 1fr;
  }
  .full-gallery-card {
    min-height: 230px;
  }
  .hero-actions .button, .form-actions .button, .form-actions a {
    width: 100%;
  }
}
