:root {
  color-scheme: dark;
  --ink: #171410;
  --night: #100e0c;
  --cream: #faf2e4;
  --muted: #d0c1ae;
  --gold: #e8c580;
  --stroke: #e2bf7c42;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--cream); font: 1rem/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
section, #contact { scroll-margin-top: 1.5rem; }
.shell { width: min(100% - 5rem, 77rem); margin-inline: auto; }
.header { background: #171410; border-bottom: 1px solid var(--stroke); }
.top, .foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.top { min-height: 5.25rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--gold); font: 1.45rem/1.05 var(--serif); }
.brand img { border-radius: 50%; object-fit: cover; background: #363636; border: 1px solid var(--stroke); }
.brand span span { display: block; margin-top: .35rem; font: .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
nav { display: flex; gap: clamp(1rem, 4vw, 3rem); }
nav a, .foot > a:last-child { color: var(--muted); }
nav a:hover, .foot a:hover, address a:hover { color: var(--gold); }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.9rem; padding: .64rem 1.25rem; border: 1px solid transparent;
  font: 600 .9375rem/1.4 var(--sans); text-align: center; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.primary { background: var(--gold); color: #20170a; }
.primary:hover { background: #f9dfac; }
.outline { border-color: #e8c58080; color: var(--cream); background: #15100b42; }
.outline:hover { background: #e8c58024; border-color: var(--gold); }
.hero {
  background-color: #231912;
  background-image: linear-gradient(90deg, #130e0a 0%, #130e0af0 23%, #130e0aa2 49%, #130e0a17 83%), url('assets/wedding-stage.webp');
  background-size: cover;
  background-position: center, center 47%;
}
.hero-inner { position: relative; display: flex; align-items: center; min-height: clamp(34rem, 69vh, 47rem); padding-block: 5rem; }
.hero-copy { max-width: 39rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1rem; color: var(--gold); font-size: .8125rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { width: 1.6rem; height: 1px; background: currentColor; }
h1, h2 { margin: 0; font: 400 clamp(2.5rem, 4.5vw, 4.3rem)/1.04 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(3.5rem, 7.4vw, 7rem); line-height: .96; text-wrap: initial; }
h1 em, h2 em { color: var(--gold); font-weight: 400; }
h1 em { display: block; }
.hero-description { max-width: 28rem; margin: 1.5rem 0 1.8rem; font-size: 1.075rem; color: #e2d5c4; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.photo-label { position: absolute; right: 0; bottom: .85rem; padding: .18rem .55rem; background: #15100cd9; color: #efe1cb; font-size: .75rem; }
.occasion { background: #231b14; border-block: 1px solid var(--stroke); padding-block: 3.25rem; }
.occasion-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.occasion h2 { font-size: clamp(2.1rem, 3.5vw, 3.45rem); }
.occasion-options { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.occasion-options a { display: flex; align-items: center; gap: .65rem; padding: .72rem .85rem; border: 1px solid var(--stroke); }
.occasion-options a::before { content: ""; flex: 0 0 .3rem; width: .3rem; height: .3rem; border: 1px solid var(--gold); transform: rotate(45deg); margin-inline: .25rem; }
.occasion-options a:hover { color: var(--gold); border-color: var(--gold); }
.enquire { padding-block: clamp(3.75rem, 8vw, 7rem); background: var(--ink); }
.enquiry-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); }
.enquiry-copy > p:not(.eyebrow) { max-width: 27rem; margin: 1.3rem 0 1.65rem; color: var(--muted); }
address { display: grid; gap: 1.1rem; font-style: normal; }
address div { display: flex; align-items: flex-start; flex-direction: column; gap: .15rem; }
address span { color: var(--gold); font-size: .875rem; }
.enquiry-form { padding: clamp(1.1rem, 3vw, 2rem); background: #211b16; border: 1px solid var(--stroke); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; min-width: 0; font-size: .9375rem; }
label span, .form-note { color: var(--muted); font-size: .875rem; }
.full { grid-column: 1 / -1; }
input, select, textarea { display: block; width: 100%; min-width: 0; min-height: 2.8rem; margin-top: .35rem; padding: .65rem .7rem; border: 1px solid #725d44; border-radius: 0; background: #15110e; color: var(--cream); font: 1rem/1.25 var(--sans); }
select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 16px) center, calc(100% - 11px) center; background-size: 5px 5px; background-repeat: no-repeat; }
input::placeholder, textarea::placeholder { color: #b3a596; opacity: 1; }
textarea { resize: vertical; }
.form-note { margin: .65rem 0 0; }
.enquiry-draft { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--stroke); }
.enquiry-actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: .8rem; }
.enquiry-actions [hidden] { display: none; }
.enquiry-whatsapp-web { color: var(--gold); text-decoration: underline; }
.enquiry-status:empty { display: none; }

footer { border-top: 1px solid var(--stroke); }
.foot { min-height: 6rem; color: var(--muted); font-size: .875rem; }
.copyright-notice { padding-block: 1rem 1.6rem; border-top: 1px solid var(--stroke); color: var(--muted); font-size: .875rem; }
.copyright-notice p { margin: 0; }
.copyright-notice p:first-child { margin-bottom: .3rem; color: var(--cream); }
.skip { position: fixed; z-index: 1; top: .6rem; left: .6rem; padding: .6rem; background: var(--gold); color: var(--night); transform: translateY(-200%); }
.skip:focus { transform: none; }
@media (max-width: 760px) {
  .shell { width: calc(100% - 2.25rem); }
  .top { gap: 1rem; min-height: 4.5rem; }
  .top-cta { display: none; }
  .hero { background-position: center, 63% center; background-image: linear-gradient(90deg, #130e0aeb 0%, #130e0ab8 57%, #130e0a67 100%), url('assets/wedding-stage.webp'); }
  .hero-inner { min-height: 33rem; padding-block: 3.5rem; }
  h1 { font-size: clamp(3.15rem, 10vw, 5.25rem); }
  .occasion-inner, .enquiry-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .foot { flex-wrap: wrap; justify-content: flex-start; padding-block: 1rem; gap: 1rem 1.5rem; }
}
@media (max-width: 390px) {
  .fields, .occasion-options { grid-template-columns: 1fr; }
  .actions { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.gallery { padding-block: clamp(3.75rem, 7vw, 6rem); border-bottom: 1px solid var(--stroke); }
.gallery-heading { margin-bottom: 1.5rem; }
.gallery-heading p { margin: .8rem 0 0; color: var(--muted); }
.gallery-filters, .gallery-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.gallery-filters button {
  min-height: 2.75rem;
  padding: .45rem .8rem;
  border: 1px solid var(--stroke);
  background: var(--ink);
  color: var(--cream);
  font: 600 .875rem/1.25 var(--sans);
  cursor: pointer;
}
.gallery-filters button:hover { border-color: var(--gold); }
.gallery-filters button[aria-pressed="true"] { background: var(--gold); color: var(--night); }
.gallery-status { margin: 1rem 0 .6rem; color: var(--muted); font-size: .875rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.gallery-card { display: block; height: 100%; border: 1px solid var(--stroke); background: var(--ink); }
.gallery-card:hover { border-color: var(--gold); }
.gallery-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #2a2118; }
.gallery-card span { display: block; padding: .675rem .8rem; }
.gallery-more { margin-top: 1.4rem; }
.gallery [hidden] { display: none; }
.gallery-viewer {
  width: min(70rem, calc(100% - 1.25rem));
  max-height: calc(100% - 1.25rem);
  padding: clamp(.65rem, 2vw, 1.35rem);
  border: 1px solid var(--stroke);
  background: var(--night);
  color: var(--cream);
  overscroll-behavior: contain;
}
body:has(.gallery-viewer[open]) { overflow: hidden; }
.gallery-viewer::backdrop { background: #090705e8; }
.gallery-close { display: flex; justify-content: flex-end; margin-bottom: .75rem; }
.gallery-viewer figure { margin: 0; text-align: center; }
.gallery-viewer img { display: block; max-width: 100%; max-height: 66dvh; margin: auto; object-fit: contain; }
.gallery-viewer figcaption { padding: .65rem 0; }
.gallery-controls { justify-content: center; }
.gallery-position { min-width: 4rem; text-align: center; color: var(--muted); }
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .top .brand { gap: .45rem; font-size: 1.25rem; }
  .top .brand img { width: 2rem; height: 2rem; }
  .top .brand span span { letter-spacing: .1em; }
  .top nav { gap: .75rem; font-size: .875rem; }
}
@media (max-width: 360px) {
  .top { gap: .55rem; }
  .top nav { gap: .5rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}
