/* Source Serif 4 webfonts from Google Fonts, licensed under SIL OFL 1.1. */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../assets/fonts/source-serif-4-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../assets/fonts/source-serif-4-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("../assets/fonts/source-serif-4-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("../assets/fonts/source-serif-4-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Baskervville";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/baskervville.woff2") format("woff2");
}

:root {
  scrollbar-gutter: stable;
  color-scheme: light;
  --paper: #f8f6f1;
  --ink: #343c33;
  --muted: #666b60;
  --line: #d9dbd0;
  --heading-font: "Source Serif 4", serif;
  --body-font: "Baskervville", serif;
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --content-max-width: 84rem;
  --content-inset: calc(var(--gutter) + max(0px, (100% - var(--content-max-width)) / 2));
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-copy p,
.page-lead,
.package-price strong,
.package-price--individual {
  font-family: var(--heading-font);
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
}

body > main {
  flex: 1;
}

a {
  color: inherit;
  text-underline-offset: 0.4em;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: var(--gutter);
  z-index: 2;
  padding: 0.75rem 1rem;
  transform: translateY(-200%);
  background: var(--paper);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem var(--content-inset);
}

.brand {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 5.125rem;
  height: auto;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.25rem, 3.5vw, 3.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-grid;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  text-decoration: none;
}

.nav-links a::after {
  grid-area: 1 / 1;
  content: attr(data-label);
  visibility: hidden;
}

@property --nav-stroke {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

.nav-label {
  -webkit-text-stroke-width: var(--nav-stroke);
  grid-area: 1 / 1;
}

.nav-links a::after {
  font-weight: 600;
}

.nav-links a[aria-current="page"] .nav-label {
  --nav-stroke: 0.5px;
}

.nav-underline {
  position: absolute;
  inset-inline: 0;
  bottom: 0.45rem;
  height: 1px;
  background: currentColor;
  visibility: hidden;
}

.nav-links a:is(:hover, [aria-current="page"]) .nav-underline {
  visibility: visible;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 28rem;
  min-height: clamp(28rem, 72svh, 48rem);
  padding: 5rem var(--gutter);
  isolation: isolate;
  background: #242736;
  color: var(--paper);
  text-align: center;
}

.hero-image,
.hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: 50% 58%;
}

.hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgb(16 20 26 / 25%), rgb(16 20 26 / 48%));
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.75rem, 9vw, 9rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

#offer-title {
  font-size: clamp(2.75rem, 9vw, 9rem);
}

.hero-copy p {
  margin: 1.125rem 0 0;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  font-style: italic;
  line-height: 1.4;
}

.introduction,
.gallery,
.packages-section,
.enquiry-section {
  max-width: var(--content-max-width);
  margin-inline: auto;
}

.introduction {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(3.5rem, 8vw, 7.5rem) var(--gutter);
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.introduction--reverse {
  grid-template-columns: 1.1fr 1fr;
}

.introduction--reverse .section-title {
  order: 1;
}

.introduction h2 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.introduction-copy {
  max-width: 57ch;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.85;
}

main:has(.gallery) .introduction-copy {
  max-width: none;
}

.introduction-copy p {
  margin: 0 0 1.25rem;
}

.introduction-copy p,
.package-note {
  text-align: justify;
}

.introduction-copy p:last-child {
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin-inline: var(--content-inset);
  padding-block: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.footer-signature {
  display: grid;
}

.footer-privacy {
  justify-self: end;
  text-align: right;
}

/* Brand icons adapted from Font Awesome Free 6.7.2, CC BY 4.0.
   https://fontawesome.com/license/free */
.social-links {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

.social-links a:hover {
  opacity: 0.7;
}

.inner-page,
.inner-page + .enquiry-section {
  max-width: 72rem;
  margin-inline: auto;
}

.inner-page {
  width: 100%;
  padding: clamp(3.5rem, 8vw, 7rem) var(--gutter);
}

.inner-page h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.page-lead {
  max-width: 40ch;
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.5;
}

.contact-intro {
  display: grid;
  grid-template-columns: clamp(4.75rem, 11vw, 8rem) minmax(0, 1fr);
  grid-template-areas: ". name" "photo bio";
  gap: 0.75rem clamp(0.75rem, 3vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.contact-intro .section-heading {
  grid-area: name;
  margin: 0;
}

.contact-intro .introduction-copy {
  grid-area: bio;
  max-width: none;
}

.contact-photo {
  grid-area: photo;
  display: grid;
  place-items: center;
  contain: size;
  padding-inline: 0.375rem;
  border: 1px solid var(--line);
  background: #eeece4;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.3;
  text-align: center;
}

.packages-section {
  padding: 0 var(--gutter) clamp(3.5rem, 8vw, 7.5rem);
}

.packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.package {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}

.package h3 {
  min-height: 2.5em;
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.package-price {
  margin: 0 0 2rem;
  line-height: 2.5rem;
}

.package-price strong {
  font-size: 2.5rem;
  font-weight: 400;
}

.package-price--individual {
  font-size: 1.5rem;
}

.package ul {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.package li + li {
  margin-top: 0.5rem;
}

.package-note {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--paper);
  color: var(--ink);
}

.package .button {
  margin-top: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

button:disabled {
  cursor: default;
  opacity: 0.35;
}

[hidden] {
  display: none !important;
}

body:has(dialog[open]) {
  overflow: hidden;
}

.gallery {
  padding-inline: var(--gutter);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.lightbox-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.icon-button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
}

.icon-button:hover:enabled {
  background: rgb(110 110 100 / 12%);
}

.gallery-track {
  container-type: inline-size;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3rem) / 3);
  gap: 1.5rem;
  margin: 0;
  padding: 0.5rem 0 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  list-style: none;
  cursor: grab;
  user-select: none;
}

.gallery-track.is-dragging {
  cursor: grabbing;
}

.gallery-track.is-dragging,
.gallery-track.is-auto-scrolling {
  scroll-snap-type: none;
  overflow-anchor: none;
}

.gallery-track li {
  min-width: 0;
  scroll-snap-align: start;
}

.gallery-loop-end {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: inherit;
  gap: inherit;
  width: 100cqw;
  overflow: clip;
}

.gallery-track a {
  display: block;
  cursor: inherit;
}

.gallery-track img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 1.25rem;
  border: 0;
  background: transparent;
  color: var(--paper);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1rem;
}

.lightbox::backdrop {
  background: rgb(10 13 12 / 94%);
  animation: fade-in 320ms ease both;
}

.lightbox[open] .lightbox-image {
  animation: photo-zoom-in 360ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.lightbox[open] .lightbox-toolbar,
.lightbox[open] .lightbox-caption,
.lightbox[open] .lightbox-controls {
  animation: fade-in 320ms ease both;
}

.lightbox.is-closing::backdrop,
.lightbox.is-closing .lightbox-toolbar,
.lightbox.is-closing .lightbox-caption,
.lightbox.is-closing .lightbox-controls {
  animation: fade-out 220ms ease both;
}

.lightbox.is-closing .lightbox-image {
  animation: photo-zoom-out 240ms ease both;
}

.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lightbox-counter {
  margin: 0;
  font-size: 0.875rem;
}

.lightbox-figure {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1rem;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 15rem);
  max-height: calc(100dvh - 15rem);
  object-fit: contain;
}

.lightbox-caption {
  max-width: 65ch;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
}

.lightbox .icon-button:focus-visible {
  outline-color: currentColor;
}

.enquiry-section {
  padding: 0 var(--gutter) clamp(3.5rem, 8vw, 7.5rem);
  scroll-margin-top: 2rem;
}

.enquiry-heading {
  margin-bottom: 2.5rem;
}

.enquiry-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.enquiry-form {
  --placeholder-color: #72766d;
  display: grid;
  gap: 1.75rem;
  min-width: 0;
}

.form-notice,
.field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

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

.form-field {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  min-width: 0;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.form-field label,
.enquiry-form legend {
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-field input,
.form-field textarea,
.form-field select,
.form-select-button {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 0.875rem 1rem;
  border: 1px solid #dddfd6;
  border-radius: 1rem;
  background: #fdfcf9;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: 0 2px 6px rgb(52 60 51 / 2%);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover,
.form-select-button:hover {
  border-color: #acb4a6;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus,
.form-select-button:focus {
  border-color: #7b8975;
  outline: none;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgb(123 137 117 / 13%);
}

.form-field select,
.form-select-button {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("../assets/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
}

.form-select-button {
  text-align: start;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--placeholder-color);
  opacity: 1;
}

.form-date {
  position: relative;
}

.form-date input {
  padding-inline-end: 3.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.calendar-trigger {
  position: absolute;
  inset: 50% 0.375rem auto auto;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
}

.calendar-trigger:hover {
  background: #eef0e9;
}

.calendar {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0.75rem 1rem;
  border: 0;
  background: rgb(19 24 20 / 62%);
  color: var(--ink);
}

.calendar[open] {
  display: grid;
  place-items: center;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}

.calendar::backdrop {
  background: transparent;
}

.calendar-panel {
  --day-height: clamp(1.75rem, 7dvh, 3rem);
  width: min(27rem, 100%);
  max-height: 100%;
  padding: clamp(1rem, 4vmin, 2rem);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1.5rem 5rem rgb(20 25 18 / 24%);
}


.calendar-heading,
.calendar-month {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar-heading {
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.calendar-month {
  margin-block: clamp(0.375rem, 2vh, 1.25rem);
}

.calendar-month h2 {
  margin: 0;
  font: 400 clamp(1.35rem, 5vmin, 2rem)/1.15 var(--heading-font);
  text-align: center;
}

.calendar-month h2::first-letter {
  text-transform: uppercase;
}

.calendar .icon-button {
  width: 2.5rem;
  height: 2.5rem;
  border-color: var(--line);
}

.calendar-week,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
}

.calendar-week {
  margin-bottom: 0.375rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

.calendar-days {
  grid-template-rows: repeat(6, var(--day-height));
}

.calendar-days button {
  justify-self: center;
  width: min(100%, var(--day-height));
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.calendar-days button:enabled:hover {
  background: #e5e9df;
}

.calendar-days button[aria-pressed="true"],
.calendar-days button[aria-pressed="true"]:hover {
  background: var(--ink);
  color: var(--paper);
}

.calendar-days button:focus-visible {
  outline-offset: -3px;
  outline-color: currentColor;
}

@media (max-height: 24rem) {
  .calendar-panel {
    --day-height: clamp(1.5rem, 8dvh, 1.75rem);
    padding-block: 0.5rem;
  }

  .calendar-month {
    margin-block: 0.25rem;
  }
}

.form-field select:invalid,
.form-select-button[data-empty] {
  color: var(--placeholder-color);
}

.form-select-button[aria-expanded="true"] {
  border-radius: 1rem 1rem 0 0;
}

.form-select-button[aria-expanded="true"][data-above] {
  border-radius: 0 0 1rem 1rem;
}

.form-select-options {
  position: fixed;
  visibility: hidden;
  inset: auto;
  max-width: none;
  margin: 0;
  padding: 0.25rem 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  border: 1px solid #7b8975;
  border-top: 0;
  border-radius: 0 0 1rem 1rem;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: 0 8px 16px rgb(52 60 51 / 10%);
}

.form-select-options[data-above] {
  --picker-closed: inset(100% 0 0);
  border-top: 1px solid #7b8975;
  border-bottom: 0;
  border-radius: 1rem 1rem 0 0;
}

.form-select-options[data-ready]:popover-open {
  visibility: visible;
  animation: picker-reveal 160ms ease-out;
}

.form-select-options [role="option"] {
  min-height: 44px;
  padding: 0.625rem 1rem;
  cursor: pointer;
}

.form-select-options [data-active],
.form-select-options [role="option"]:hover {
  background: #eef0e9;
}

.form-select-options [aria-selected="true"] {
  font-weight: 600;
}

.enquiry-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 1.5rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.enquiry-form legend {
  padding: 0 1rem 0 0;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.form-consent label {
  font: inherit;
  cursor: pointer;
}

.form-consent input {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.125rem 0 0;
  accent-color: var(--ink);
}

.enquiry-form > .button {
  justify-self: start;
}

.form-status {
  margin: 0;
  line-height: 1.7;
}

.form-status:empty {
  display: none;
}

.enquiry-dialog {
  width: calc(100% - 2rem);
  max-width: 56rem;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--paper);
  color: var(--ink);
  overscroll-behavior: contain;
}

.enquiry-dialog::backdrop {
  background: rgb(10 13 12 / 72%);
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes picker-reveal {
  from { clip-path: var(--picker-closed, inset(0 0 100%)); }
  to { clip-path: inset(0); }
}

@keyframes fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes photo-zoom-in {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes photo-zoom-out {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.92); }
}

@media (max-width: 48rem) {
  .packages {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .package h3 {
    min-height: 0;
  }

  .introduction--reverse .section-title {
    order: -1;
  }

  .gallery-track {
    grid-auto-columns: calc((100% - 1.5rem) / 2);
  }

  .introduction {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .introduction h2 {
    max-width: 26ch;
  }
}

@media (max-width: 34rem) {
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .social-links {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-privacy {
    grid-column: 2;
    grid-row: 1;
  }

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

  .gallery-track {
    grid-auto-columns: 82%;
    gap: 1rem;
  }

  .site-header {
    flex-direction: column;
    gap: 0.75rem;
    padding-block: 0.875rem 0.25rem;
  }

  .nav-links {
    justify-content: center;
    gap: 0 clamp(0.75rem, 3vw, 1.75rem);
  }

  .hero {
    min-height: 30rem;
    min-height: clamp(27rem, 65svh, 36rem);
  }
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  .site-header {
    view-transition-name: site-header;
  }

  .nav-links a[aria-current="page"] .nav-underline {
    view-transition-name: nav-underline;
  }

  ::view-transition-group(root),
  ::view-transition-new(root),
  ::view-transition-group(site-header),
  ::view-transition-new(site-header),
  ::view-transition-new(nav-underline) {
    animation: none;
  }

  ::view-transition-old(root),
  ::view-transition-old(site-header),
  ::view-transition-old(nav-underline) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-select-options[data-ready]:popover-open,
  .lightbox[open] .lightbox-image,
  .lightbox[open] .lightbox-toolbar,
  .lightbox[open] .lightbox-caption,
  .lightbox[open] .lightbox-controls,
  .lightbox::backdrop {
    animation: none;
  }

  .button,
  .form-field input,
  .form-field textarea,
  .form-field select,
  .form-select-button {
    transition: none;
  }
}
