:root {
  --ink: #15130f;
  --ink-soft: #26221c;
  --ivory: #f5f1e8;
  --paper: #fbf9f4;
  --white: #ffffff;
  --gold: #b88936;
  --gold-light: #d7ad64;
  --sage: #737c6b;
  --muted: #756f66;
  --line: rgba(21, 19, 15, 0.16);
  --light-line: rgba(255, 255, 255, 0.22);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shell: min(88rem, calc(100vw - 8rem));
  --header-height: 7rem;
  --ease: cubic-bezier(0.2, 0.65, 0.25, 1);
}

.apb-cookie-consent {
  position: fixed;
  z-index: 12000;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  width: min(560px, calc(100vw - 28px));
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(215, 181, 111, 0.55);
  background: rgba(20, 18, 14, 0.97);
  color: #f7f2e8;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.apb-cookie-consent[hidden],
.apb-cookie-settings[hidden] {
  display: none !important;
}

.apb-cookie-copy h2 {
  margin: 0 0 10px;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 400;
  line-height: 1.05;
}

.apb-cookie-copy p {
  margin: 0;
  color: rgba(247, 242, 232, 0.78);
  font-size: 0.94rem;
  line-height: 1.62;
}

.apb-cookie-copy a {
  display: inline-block;
  margin-top: 10px;
  color: #d7b56f;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apb-cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.apb-cookie-actions .button {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font-size: 0.72rem;
}

.apb-cookie-reject {
  border: 1px solid rgba(247, 242, 232, 0.55);
  background: transparent;
  color: #f7f2e8;
}

.apb-cookie-settings {
  position: fixed;
  z-index: 11990;
  left: 12px;
  bottom: 12px;
  padding: 8px 11px;
  border: 1px solid rgba(21, 19, 15, 0.35);
  background: rgba(247, 242, 232, 0.94);
  color: #15130f;
  font: 700 0.64rem/1.2 Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 620px) {
  .apb-cookie-actions {
    grid-template-columns: 1fr;
  }

  .apb-cookie-consent {
    max-height: calc(100vh - 28px);
    overflow: auto;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open,
body.dialog-open,
body.gallery-dialog-open {
  overflow: hidden;
}

img,
video,
svg {
  display: block;
}

img,
video {
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

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

::selection {
  background: var(--gold-light);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-space {
  padding-block: clamp(6rem, 10vw, 10rem);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--gold-light);
}

.button {
  min-height: 3.7rem;
  padding: 1rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    transform 220ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  color: var(--white);
}

.button-gold:hover,
.button-gold:focus-visible {
  background: #9b7028;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--gold);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--gold-light);
}

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

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--ink);
}

.text-link {
  width: fit-content;
  padding-block: 0.35rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 1.8rem;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.text-link span {
  transition: transform 220ms var(--ease);
}

.text-link:hover span {
  transform: translate(0.2rem, 0.2rem);
}

.light-link {
  color: var(--white);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto 0;
  height: var(--header-height);
  padding: 0 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: 7.3rem minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 2rem;
  color: var(--white);
  background: linear-gradient(to bottom, rgba(5, 5, 4, 0.46), rgba(5, 5, 4, 0));
  transition:
    height 280ms var(--ease),
    background-color 280ms ease,
    border-color 280ms ease;
}

.site-header.scrolled {
  height: 5.7rem;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(21, 19, 15, 0.97);
}

.brand {
  width: 5.9rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 6rem;
  object-fit: contain;
}

.site-header.scrolled .brand,
.site-header.scrolled .brand img {
  height: 5.2rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.desktop-nav a {
  position: relative;
  padding-block: 0.65rem;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav a::after {
  position: absolute;
  content: "";
  right: 0;
  bottom: 0.3rem;
  left: 0;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-coming {
  display: inline-grid;
  gap: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-transform: uppercase;
  cursor: default;
}

.nav-coming small {
  margin-top: 0.3rem;
  color: var(--gold-light);
  font-size: 0.52rem;
  letter-spacing: 0.13em;
}

.header-cta {
  min-height: 2.9rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
}

.menu-toggle {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  background: transparent;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.45rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 1.55rem;
  height: 1px;
  background: var(--white);
  transition: transform 220ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(0.23rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-0.23rem) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 90;
  inset: 0;
  padding: calc(var(--header-height) + 2rem) 1.5rem 2rem;
  background: var(--ink);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu nav {
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  gap: 0;
}

.mobile-menu nav > a:not(.button),
.mobile-coming {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--light-line);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  line-height: 1.1;
  text-decoration: none;
}

.mobile-coming {
  color: rgba(255, 255, 255, 0.68);
}

.mobile-coming small {
  display: block;
  margin-top: 0.4rem;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-menu .button {
  margin-top: 2rem;
}

.hero {
  position: relative;
  min-height: 48rem;
  height: 100svh;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

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

.hero-video {
  object-fit: cover;
  object-position: 52% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 9, 7, 0.76) 0%, rgba(10, 9, 7, 0.4) 42%, rgba(10, 9, 7, 0.1) 70%),
    linear-gradient(0deg, rgba(10, 9, 7, 0.78) 0%, transparent 45%),
    linear-gradient(180deg, rgba(10, 9, 7, 0.36) 0%, transparent 28%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 16rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.hero h1 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6.5vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.hero-lead {
  max-width: 39rem;
  margin: 2.2rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.hero-actions {
  margin-top: 2.8rem;
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.film-button {
  min-height: 3.8rem;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.25;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.film-button small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.play-disc {
  width: 3.75rem;
  height: 3.75rem;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms var(--ease);
}

.play-disc svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: currentColor;
}

.film-button:hover .play-disc,
.film-button:focus-visible .play-disc {
  border-color: var(--gold);
  background: var(--gold);
  transform: scale(1.05);
}

.hero-facts {
  position: absolute;
  z-index: 2;
  right: 4rem;
  bottom: 0;
  min-width: 36rem;
  padding: 1.7rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(18, 16, 13, 0.48);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  backdrop-filter: blur(12px);
}

.hero-facts div {
  min-height: 3.5rem;
  padding-inline: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts strong {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.video-toggle {
  position: absolute;
  z-index: 3;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(18, 16, 13, 0.5);
  display: grid;
  place-items: center;
  color: var(--white);
  cursor: pointer;
}

.video-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.video-toggle .play-icon,
.video-toggle[aria-pressed="true"] .pause-icon {
  display: none;
}

.video-toggle[aria-pressed="true"] .play-icon {
  display: block;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 2.3rem;
  left: 4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 2.8rem;
  height: 1px;
  background: currentColor;
}

.scroll-cue i::after {
  position: absolute;
  content: "";
  top: -0.18rem;
  right: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(-45deg);
}

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

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(25rem, 0.75fr);
  align-items: center;
  gap: clamp(4rem, 9vw, 10rem);
}

.manifesto-copy h2,
.section-heading h2,
.residentie-panel h2,
.yacht-content h2,
.agenda-heading h2,
.inquiry-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.manifesto-copy h2 {
  max-width: 11ch;
  font-size: clamp(3.3rem, 6vw, 6.5rem);
}

.manifesto-line {
  max-width: 20ch;
  margin: 1.4rem 0 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1.04;
}

.body-large {
  max-width: 39rem;
  margin: 2.3rem 0 2.4rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.arched-image {
  margin: 0;
}

.arched-frame {
  padding: 0.7rem;
  border: 1px solid rgba(184, 137, 54, 0.55);
  border-radius: 21rem 21rem 0 0;
}

.arched-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 0.76;
  border-radius: 20rem 20rem 0 0;
  object-fit: cover;
  object-position: 52% center;
}

.arched-image figcaption {
  margin: 1.1rem auto 0;
  padding: 0 1rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  text-align: center;
}

.residentie-band {
  padding-inline: 4rem;
  background: var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(24rem, 0.75fr);
  gap: 0;
  color: var(--white);
}

.residentie-photo {
  min-height: 47rem;
}

.residentie-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.residentie-panel {
  padding: clamp(3rem, 6vw, 7rem);
  background: #27241e;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.residentie-panel h2 {
  max-width: 10ch;
  font-size: clamp(3rem, 4.7vw, 5.7rem);
}

.residentie-panel > p:not(.eyebrow) {
  max-width: 35rem;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.quiet-list {
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.quiet-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--light-line);
  display: flex;
  gap: 1.3rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.quiet-list span {
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.explore {
  position: relative;
  background: var(--ivory);
}

.explore > .page-shell {
  position: relative;
  z-index: 1;
}

.explore-mark {
  position: absolute;
  z-index: 0;
  top: 2rem;
  right: 0;
  width: clamp(18rem, 34vw, 34rem);
  height: auto;
  opacity: 0.08;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
}

.explore .section-heading {
  margin-bottom: 2.5rem;
}

.detail-nav {
  position: sticky;
  z-index: 35;
  top: calc(var(--header-height) - 0.1rem);
  margin-bottom: 2.5rem;
  padding: 0.85rem 1rem 1rem;
  border: 1px solid rgba(184, 137, 54, 0.38);
  background: rgba(251, 249, 244, 0.97);
  box-shadow: 0 1rem 2.6rem rgba(21, 19, 15, 0.1);
  backdrop-filter: blur(0.8rem);
}

.detail-nav-title {
  margin: 0 0 0.55rem;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.detail-tabs a {
  padding: 0.72rem 1rem;
  border: 1px solid rgba(21, 19, 15, 0.22);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.detail-tabs a:hover,
.detail-tabs a:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

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

.gallery-heading {
  max-width: 48rem;
  margin: clamp(5rem, 9vw, 9rem) 0 2.5rem;
}

.gallery-heading h2,
.gallery-heading h3 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.25rem, 6vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.gallery-heading > p:last-child {
  max-width: 36rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
}

.gallery-card {
  position: relative;
  min-height: 14rem;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.gallery-card[data-gallery-item] {
  cursor: zoom-in;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 300ms var(--ease);
}

.gallery-card[data-gallery-item]:focus-visible {
  z-index: 2;
  border-color: var(--gold);
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
  box-shadow: 0 1rem 2.4rem rgba(21, 19, 15, 0.18);
}

.gallery-card-wide {
  grid-column: span 2;
}

.photo-cohesion-filter {
  filter: saturate(0.7) contrast(0.93) brightness(0.94) sepia(0.12);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 500ms var(--ease), opacity 300ms ease;
}

.gallery-card:hover img,
.gallery-card[data-gallery-item]:focus-visible img {
  opacity: 1;
  transform: scale(1.04);
}

.gallery-card::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, rgba(12, 11, 9, 0.72));
  content: "";
  pointer-events: none;
}

.gallery-card figcaption {
  position: absolute;
  z-index: 1;
  right: 1.2rem;
  bottom: 1rem;
  left: 1.2rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.2rem;
}

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

.gallery-section .gallery-heading {
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
}

.gallery-section .gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 1.15rem;
}

.gallery-section .gallery-card,
.gallery-section .gallery-card-wide {
  grid-column: auto;
  min-height: 0;
  border: 1px solid var(--line);
  background: var(--ivory);
}

.gallery-section .gallery-card {
  display: flex;
  flex-direction: column;
}

.gallery-section .gallery-card::after {
  display: none;
}

.gallery-section .gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 1;
}

.gallery-section .gallery-card figcaption {
  position: static;
  min-height: 4.5rem;
  padding: 1.1rem 1.25rem 1.2rem;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
}

.gallery-section .gallery-card.gallery-card-extra {
  display: none;
}

.gallery-section .gallery-grid.is-expanded .gallery-card-extra,
.gallery-section .gallery-card.gallery-card-extra.is-visible {
  display: flex;
}

.gallery-more-button {
  width: fit-content;
  min-height: 3.7rem;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    transform 220ms var(--ease);
}

.gallery-more-button:hover,
.gallery-more-button:focus-visible,
.gallery-more-button[aria-expanded="true"] {
  border-color: var(--gold);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.gallery-more-button[hidden] {
  display: none;
}

.gallery-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 8, 7, 0.98);
  color: var(--white);
  overflow: hidden;
}

.gallery-dialog::backdrop {
  background: rgba(0, 0, 0, 0.94);
  -webkit-backdrop-filter: blur(0.45rem);
  backdrop-filter: blur(0.45rem);
}

.gallery-dialog-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(4.5rem, 7vw, 6.5rem) clamp(5rem, 9vw, 9rem) clamp(2rem, 4vw, 3.5rem);
  display: grid;
  place-items: center;
}

.gallery-dialog-inner figure {
  width: min(100%, 100rem);
  height: 100%;
  min-height: 0;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1rem;
  place-items: center;
}

.gallery-dialog-inner img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.gallery-dialog-inner figcaption {
  max-width: min(54rem, 82vw);
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.4;
  text-align: center;
}

.gallery-dialog-close,
.gallery-dialog-nav {
  position: absolute;
  z-index: 2;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(18, 16, 13, 0.58);
  display: grid;
  place-items: center;
  color: var(--white);
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(0.65rem);
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    transform 220ms var(--ease);
}

.gallery-dialog-close {
  top: clamp(1rem, 2.5vw, 2rem);
  right: clamp(1rem, 2.5vw, 2rem);
  font-size: 1.8rem;
}

.gallery-dialog-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.3rem;
  height: 1px;
  background: currentColor;
}

.gallery-dialog-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.gallery-dialog-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.gallery-dialog-nav {
  top: 50%;
  font-family: var(--serif);
  font-size: 2rem;
  transform: translateY(-50%);
}

.gallery-dialog-prev {
  left: clamp(1rem, 2.5vw, 2rem);
}

.gallery-dialog-next {
  right: clamp(1rem, 2.5vw, 2rem);
}

.gallery-dialog-close:hover,
.gallery-dialog-close:focus-visible,
.gallery-dialog-nav:hover,
.gallery-dialog-nav:focus-visible {
  border-color: var(--gold-light);
  background: var(--gold-light);
  color: var(--ink);
}

.gallery-dialog-close:hover,
.gallery-dialog-close:focus-visible {
  transform: rotate(4deg);
}

.gallery-dialog-nav:hover,
.gallery-dialog-nav:focus-visible {
  transform: translateY(-50%) scale(1.06);
}

.gallery-dialog-counter {
  position: absolute;
  z-index: 2;
  top: clamp(1.35rem, 2.8vw, 2.2rem);
  left: clamp(1rem, 2.5vw, 2rem);
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.image-pos-center {
  object-position: 50% 50% !important;
}

.image-pos-44 {
  object-position: 44% 50% !important;
}

.image-pos-48 {
  object-position: 48% 50% !important;
}

.image-pos-52 {
  object-position: 52% 50% !important;
}

.image-pos-55 {
  object-position: 55% 50% !important;
}

.image-pos-58 {
  object-position: 58% 50% !important;
}

.image-pos-62 {
  object-position: 62% 50% !important;
}

.image-pos-68 {
  object-position: 68% 50% !important;
}

.image-pos-upper {
  object-position: 50% 45% !important;
}

.image-pos-lower {
  object-position: 50% 58% !important;
}

.place-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0;
}

.place-detail {
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0.8rem 2.2rem rgba(21, 19, 15, 0.05);
  transition: transform 320ms var(--ease), box-shadow 320ms ease;
}

.place-detail:not(.place-detail-text) {
  grid-column: auto;
}

.place-detail > .place-detail-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.place-detail-figure {
  width: 100%;
  margin: 0;
  background: var(--ivory);
}

.place-detail-figure .place-detail-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 72%;
}

.place-detail-figure .eventtent-image {
  object-position: center 45%;
}

.place-detail > .place-detail-image-people {
  object-position: center 28%;
}

.place-detail > .place-detail-image-portrait {
  padding: 0.55rem;
  background: #ede8de;
  object-fit: contain;
  object-position: center;
}

.place-detail > div {
  width: 100%;
  padding: 1.65rem 1.6rem 1.85rem;
  display: flex;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
}

.place-detail-text {
  min-height: 0;
  padding: 1.65rem 1.6rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.place-detail:hover {
  box-shadow: 0 1.3rem 3.4rem rgba(21, 19, 15, 0.1);
  transform: translateY(-0.25rem);
}

.place-detail h3 {
  max-width: 16ch;
  margin: 0.65rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.1vw, 2.2rem);
  font-weight: 400;
  line-height: 1.05;
}

.place-detail p:not(.eyebrow) {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.place-detail .image-note {
  display: block;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0.7rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
  color: var(--muted);
  font-size: 0.7rem;
  font-style: italic;
  letter-spacing: 0.025em;
  line-height: 1.45;
  text-decoration: none;
}

.place-detail .image-note:hover,
.place-detail .image-note:focus-visible {
  color: var(--gold-dark);
  text-decoration: underline;
}

.stay {
  background: var(--ivory);
}

.section-heading {
  max-width: 54rem;
  margin-bottom: clamp(3.5rem, 6vw, 6rem);
}

.section-heading h2 {
  max-width: 13ch;
  font-size: clamp(3.5rem, 6.7vw, 7rem);
}

.section-heading > p:last-child {
  max-width: 44rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading-light {
  color: var(--white);
}

.section-heading-light > p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.stay-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(24rem, 0.85fr);
  align-items: stretch;
  gap: clamp(3rem, 7vw, 7rem);
}

.stay-image {
  min-height: 42rem;
  margin: 0;
}

.stay-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.stay-details {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.number-block {
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.number-block strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 7rem;
  font-weight: 400;
  line-height: 0.75;
}

.number-block span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.stay-story {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.stay-story h3 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.stay-story p {
  margin: 0;
  color: var(--muted);
}

.stay-details .button {
  align-self: flex-start;
  margin-top: 2.2rem;
}

.celebrate {
  background: #1c1a16;
  color: var(--white);
}

.event-category-nav {
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.7rem;
}

.event-category-nav a,
.event-category-nav button {
  width: 100%;
  min-height: 3.35rem;
  height: 100%;
  padding: 0.65rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: normal;
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}

.event-category-nav a:hover,
.event-category-nav a:focus-visible,
.event-category-nav a[aria-current="true"],
.event-category-nav button:hover,
.event-category-nav button:focus-visible,
.event-category-nav button[aria-pressed="true"] {
  border-color: var(--gold-light);
  background: var(--gold-light);
  color: var(--ink);
}

.occasion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 1.2rem;
}

.occasion-card {
  position: relative;
  min-width: 0;
  min-height: 25rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.occasion-card-tall {
  grid-row: auto;
}

.occasion-card::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(to top, rgba(12, 11, 9, 0.86), rgba(12, 11, 9, 0.05) 65%);
}

.occasion-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms var(--ease);
}

.occasion-card-tall img {
  object-position: center;
}

.occasion-card .family-celebration-image {
  object-position: 58% center;
}

.occasion-card:hover img {
  transform: scale(1.025);
}

.occasion-copy {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(1.5rem, 3vw, 2.6rem);
}

.occasion-copy > span {
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.occasion-copy h3 {
  margin: 0.5rem 0 0.35rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1;
}

.occasion-copy p {
  max-width: 33rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.capacity-note {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr auto;
  align-items: center;
  gap: 2rem;
}

.capacity-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.capacity-note strong {
  color: var(--white);
}

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

.experience-grid {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.experience-card {
  position: relative;
  min-width: 0;
  min-height: 18.5rem;
  padding: 2rem 1.6rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition:
    background-color 260ms ease,
    color 260ms ease;
}

.experience-card:hover {
  background: var(--ink);
  color: var(--white);
}

.experience-number {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.experience-card svg {
  width: 3.4rem;
  height: 3.4rem;
  margin: 2.2rem 0 auto;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.experience-card h3 {
  margin: 1.8rem 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.experience-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 260ms ease;
}

.experience-card:hover p,
.experience-card:hover .experience-number {
  color: rgba(255, 255, 255, 0.68);
}

.experience-feature {
  position: relative;
  min-height: 38rem;
  margin-top: clamp(4rem, 7vw, 7rem);
  overflow: hidden;
  color: var(--white);
}

.experience-feature::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 11, 9, 0.72), rgba(12, 11, 9, 0.05) 75%);
}

.experience-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.experience-feature > div {
  position: relative;
  z-index: 1;
  min-height: 38rem;
  padding: clamp(2.5rem, 7vw, 7rem);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.experience-feature h3 {
  max-width: 9ch;
  margin: 0 0 2.2rem;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.yacht-teaser {
  padding-block: clamp(5rem, 9vw, 9rem);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.yacht-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(22rem, 0.72fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.yacht-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #141410;
}

.yacht-media img {
  display: block;
  width: 100%;
  height: auto;
}

.yacht-content {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.yacht-content h2 {
  max-width: 9ch;
  font-size: clamp(4rem, 8vw, 8rem);
}

.yacht-content > p:not(.eyebrow) {
  max-width: 36rem;
  margin: 2rem 0 2.5rem;
  color: rgba(255, 255, 255, 0.77);
}

.coming-button {
  width: fit-content;
  min-height: 3.7rem;
  padding: 1rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: default;
}

.coming-button > span {
  color: var(--gold-light);
}

.agenda {
  background: var(--ivory);
}

.agenda-heading {
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 5rem;
}

.agenda-heading h2 {
  font-size: clamp(3.5rem, 7vw, 7.2rem);
}

.agenda-heading > p {
  margin: 0;
  color: var(--muted);
}

.events-list {
  display: grid;
  gap: 1rem;
}

.event-card {
  padding: 1.2rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 8rem minmax(15rem, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.event-date {
  display: grid;
  color: var(--gold);
  text-align: center;
}

.event-date strong {
  font-family: var(--serif);
  font-size: 3.6rem;
  font-weight: 400;
  line-height: 1;
}

.event-date span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.event-copy p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.events-empty {
  min-height: 18rem;
  padding: clamp(2rem, 4vw, 4rem);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.events-mark {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(5rem, 10vw, 10rem);
  line-height: 0.7;
}

.events-empty h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

.events-empty p:not(.eyebrow) {
  max-width: 44rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.inquiry {
  background: var(--ink);
  color: var(--white);
}

.inquiry-shell {
  display: grid;
  grid-template-columns: minmax(18rem, 0.62fr) minmax(34rem, 1.38fr);
  align-items: start;
  gap: clamp(4rem, 8vw, 9rem);
}

.inquiry-intro {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.inquiry-intro h2 {
  max-width: 10ch;
  font-size: clamp(3.5rem, 6vw, 6.5rem);
}

.inquiry-intro > p:not(.eyebrow) {
  max-width: 33rem;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.contact-card {
  margin-top: 3rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
  display: grid;
  gap: 0.5rem;
}

.contact-card span {
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card a {
  width: fit-content;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.3rem;
  text-decoration-color: rgba(255, 255, 255, 0.32);
  text-underline-offset: 0.22rem;
}

.form-wrap {
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--paper);
  color: var(--ink);
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-progress {
  margin: 0 0 3.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.form-progress li {
  position: relative;
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  align-items: center;
  gap: 0.7rem;
  color: #9a9489;
}

.form-progress li::after {
  position: absolute;
  content: "";
  z-index: 0;
  top: 50%;
  left: 2.2rem;
  width: calc(100% - 2.2rem);
  height: 1px;
  background: var(--line);
}

.form-progress li:last-child::after {
  display: none;
}

.form-progress span,
.form-progress em {
  position: relative;
  z-index: 1;
}

.form-progress span {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid #aaa398;
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
}

.form-progress em {
  width: fit-content;
  padding-right: 0.7rem;
  background: var(--paper);
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-progress li.active,
.form-progress li.completed {
  color: var(--ink);
}

.form-progress li.active span,
.form-progress li.completed span {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.form-errors {
  margin-bottom: 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid #b13b2f;
  background: #fff2f0;
  color: #7d251d;
}

.form-errors p {
  margin: 0;
  font-weight: 700;
}

.form-errors ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.form-errors a {
  color: inherit;
}

.step-kicker {
  margin-bottom: 0.6rem;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.form-step > h3,
.form-success h3 {
  margin: 0 0 2.5rem;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
}

.choice-fieldset {
  min-width: 0;
  margin: 0 0 2.2rem;
  padding: 0;
  border: 0;
}

.choice-fieldset legend,
.field > span {
  margin-bottom: 0.75rem;
  color: #4f4a43;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.choice-card {
  position: relative;
  min-width: 0;
  min-height: 5.8rem;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-card > span {
  height: 100%;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  display: flex;
  justify-content: center;
  flex-direction: column;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.choice-card strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

.choice-card small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.73rem;
}

.choice-card input:checked + span {
  border-color: var(--gold);
  background: #f1e8d7;
}

.choice-card input:focus-visible + span {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.field {
  margin-bottom: 1.3rem;
  display: grid;
}

.field > span {
  display: block;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #a8a197;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  line-height: 1.4;
}

.field input {
  min-height: 3.2rem;
  padding: 0.55rem 0;
}

.field textarea {
  min-height: 8.5rem;
  padding: 0.7rem 0;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9a948b;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: 0;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #a62c20;
}

.field-full {
  width: 100%;
}

.guest-message {
  min-height: 0;
  margin: 0.3rem 0 1rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.guest-message:not(:empty) {
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--gold);
  background: #f1eadf;
}

.compact-fieldset {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.inline-choices,
.service-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.inline-choices label,
.service-choices label {
  position: relative;
  cursor: pointer;
}

.inline-choices input,
.service-choices input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.inline-choices span,
.service-choices span {
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  font-size: 0.77rem;
  font-weight: 600;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.inline-choices input:checked + span,
.service-choices input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.inline-choices input:focus-visible + span,
.service-choices input:focus-visible + span {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

.consent {
  position: relative;
  margin: 1rem 0;
  display: grid;
  grid-template-columns: 1.3rem 1fr;
  gap: 0.8rem;
  color: #5d574f;
  font-size: 0.8rem;
  cursor: pointer;
}

.consent input {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.15rem 0 0;
  accent-color: var(--gold);
}

.form-note {
  margin: 1.4rem 0 0;
  padding: 1rem;
  background: #efeae1;
  color: var(--muted);
  font-size: 0.76rem;
}

.form-actions {
  margin-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.form-actions-end {
  justify-content: flex-end;
}

.form-actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-success {
  min-height: 28rem;
  text-align: center;
  place-content: center;
}

.form-success:not([hidden]) {
  display: grid;
}

.form-success > span {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2rem;
}

.form-success h3 {
  margin-bottom: 1rem;
}

.form-success p {
  max-width: 34rem;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}

.copy-request {
  margin-inline: auto;
}

.thank-you-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(184, 137, 54, 0.13), transparent 32rem),
    var(--ivory);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.thank-you-header {
  min-height: 7rem;
  padding: 1rem clamp(1.2rem, 5vw, 5rem);
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.thank-you-brand {
  display: block;
}

.thank-you-brand img {
  width: 5.3rem;
  height: 5.3rem;
  object-fit: contain;
}

.thank-you-languages {
  padding: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  display: flex;
  gap: 0.15rem;
}

.thank-you-languages button {
  width: 2.3rem;
  height: 2.3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.thank-you-languages button.active {
  background: var(--paper);
  color: var(--ink);
}

.thank-you-main {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) 0;
  display: grid;
  place-items: center;
}

.thank-you-card {
  width: 100%;
  padding: clamp(2rem, 7vw, 6rem);
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
  box-shadow: 0 2rem 5rem rgba(21, 19, 15, 0.08);
}

.thank-you-check {
  width: 4.8rem;
  height: 4.8rem;
  margin: 0 auto 2rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2rem;
}

.thank-you-card .eyebrow {
  margin-bottom: 1.1rem;
}

.thank-you-card h1 {
  max-width: 56rem;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 7vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.thank-you-lead {
  max-width: 41rem;
  margin: 2rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.thank-you-summary {
  max-width: 48rem;
  margin: 3rem auto 0;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  background: #f1ece3;
  text-align: left;
}

.thank-you-summary h2 {
  margin: 0 0 1.25rem;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.thank-you-summary pre {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  font: 0.82rem/1.65 var(--sans);
}

.thank-you-summary .text-link {
  margin-top: 1.4rem;
}

.thank-you-actions {
  margin-top: 2.8rem;
  display: flex;
  justify-content: center;
}

.thank-you-contact {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.thank-you-contact p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.thank-you-contact a {
  display: inline-block;
  margin: 0 0.55rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  text-underline-offset: 0.2rem;
}

.thank-you-footer {
  padding: 1.5rem clamp(1.2rem, 5vw, 5rem);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thank-you-footer p {
  margin: 0;
}

@media (max-width: 40rem) {
  .thank-you-header {
    min-height: 5.5rem;
  }

  .thank-you-brand img {
    width: 4rem;
    height: 4rem;
  }

  .thank-you-languages button {
    width: 2rem;
    height: 2rem;
  }

  .thank-you-card {
    padding-inline: 1.25rem;
  }

  .thank-you-contact a {
    display: block;
    width: fit-content;
    margin: 0.25rem auto;
  }

  .thank-you-footer {
    display: grid;
    text-align: center;
  }
}

.site-footer {
  padding: 6rem 0 2rem;
  background: #0f0e0c;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 0.7fr);
  gap: 4rem;
}

.footer-brand img {
  width: auto;
  height: 8.5rem;
  object-fit: contain;
}

.footer-brand .footer-mark {
  width: 4.8rem;
  height: auto;
  margin-top: 1.2rem;
  opacity: 0.3;
  filter: invert(1);
  mix-blend-mode: screen;
}

.footer-brand p {
  max-width: 25rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.site-footer h2 {
  margin: 0 0 1.2rem;
  color: var(--gold-light);
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer address,
.site-footer a,
.site-footer span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.9;
  text-decoration-color: rgba(255, 255, 255, 0.24);
  text-underline-offset: 0.2rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-line);
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.film-dialog {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #080807;
  color: var(--white);
}

.film-dialog::backdrop {
  background: rgba(0, 0, 0, 0.92);
}

.film-dialog-inner {
  width: 100%;
  min-height: 100%;
  padding: 1.6rem 2rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
}

.film-dialog-head,
.film-dialog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.film-dialog-head .eyebrow {
  margin-bottom: 0.25rem;
}

.film-dialog-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 400;
}

.film-close {
  position: relative;
  width: 3.2rem;
  height: 3.2rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: transparent;
  flex: 0 0 auto;
  cursor: pointer;
}

.film-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.25rem;
  height: 1px;
  background: var(--white);
}

.film-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.film-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.film-dialog video {
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #000;
  object-fit: contain;
}

.film-dialog-foot {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
}

.film-dialog-foot p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(1.8rem);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

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

@media (max-width: 75rem) {
  :root {
    --shell: min(100% - 4rem, 74rem);
  }

  .site-header {
    grid-template-columns: 6.2rem 1fr auto;
  }

  .desktop-nav {
    gap: 1rem;
  }

  .desktop-nav a,
  .nav-coming {
    font-size: 0.6rem;
  }

  .header-cta {
    display: none;
  }

  .hero-facts {
    right: 2rem;
  }

  .scroll-cue {
    left: 2rem;
  }

  .residentie-band {
    padding-inline: 2rem;
  }

  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .place-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .occasion-grid,
  .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inquiry-shell {
    grid-template-columns: minmax(17rem, 0.65fr) minmax(31rem, 1.35fr);
    gap: 3rem;
  }
}

@media (max-width: 62rem) {
  :root {
    --header-height: 5.25rem;
  }

  .site-header,
  .site-header.scrolled {
    height: var(--header-height);
    padding-inline: 1.3rem;
    grid-template-columns: 1fr auto;
  }

  .brand,
  .brand img,
  .site-header.scrolled .brand,
  .site-header.scrolled .brand img {
    height: 4.3rem;
  }

  .brand {
    width: 4rem;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content {
    padding-bottom: 13rem;
  }

  .hero-facts {
    right: 0;
    left: 0;
    min-width: 0;
  }

  .hero-facts div {
    padding-inline: 0.9rem;
  }

  .video-toggle {
    right: 1rem;
    bottom: 7.5rem;
  }

  .scroll-cue {
    display: none;
  }

  .manifesto-grid,
  .stay-layout,
  .inquiry-shell {
    grid-template-columns: 1fr;
  }

  .place-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manifesto-copy {
    max-width: 46rem;
  }

  .arched-image {
    width: min(100%, 40rem);
    margin-inline: auto;
  }

  .residentie-band {
    padding: 2rem;
    grid-template-columns: 1fr;
  }

  .residentie-photo {
    min-height: 36rem;
  }

  .residentie-panel {
    padding: 4rem 3rem;
  }

  .stay-image {
    min-height: 34rem;
  }

  .stay-details {
    max-width: 42rem;
  }

  .capacity-note {
    grid-template-columns: 1fr 1fr;
  }

  .capacity-note .text-link {
    grid-column: 1 / -1;
  }

  .agenda-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .events-empty {
    grid-template-columns: auto 1fr;
  }

  .events-empty .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .inquiry-intro {
    position: static;
    max-width: 46rem;
  }

  .footer-grid {
    grid-template-columns: 1.2fr repeat(2, 0.8fr);
  }

  .footer-grid > div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 46rem) {
  :root {
    --shell: calc(100% - 2rem);
  }

  .section-space {
    padding-block: 5.2rem;
  }

  .hero {
    height: auto;
    min-height: 58rem;
  }

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

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 9, 7, 0.68), rgba(10, 9, 7, 0.18)),
      linear-gradient(0deg, rgba(10, 9, 7, 0.88) 0%, rgba(10, 9, 7, 0.18) 62%),
      linear-gradient(180deg, rgba(10, 9, 7, 0.34), transparent 30%);
  }

  .hero-content {
    height: auto;
    min-height: 58rem;
    padding-top: calc(var(--header-height) + 2.6rem);
    padding-bottom: 10rem;
    justify-content: flex-start;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.75rem, 12.5vw, 4rem);
    line-height: 0.92;
  }

  .hero-lead {
    margin-top: 1.6rem;
    font-size: 1.04rem;
    line-height: 1.45;
  }

  .hero-actions {
    width: 100%;
    margin-top: 1.8rem;
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .film-button {
    align-self: flex-start;
  }

  .hero-facts {
    min-height: 7.8rem;
    padding: 0.85rem 0.25rem;
  }

  .hero-facts div {
    min-height: 5.2rem;
    padding-inline: 0.3rem;
    gap: 0.4rem;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

  .hero-facts strong {
    font-size: 1.7rem;
  }

  .hero-facts span {
    font-size: 0.44rem;
    letter-spacing: 0.055em;
    line-height: 1.3;
  }

  .video-toggle {
    bottom: 8.8rem;
  }

  .manifesto-grid {
    gap: 4rem;
  }

  .manifesto-copy h2,
  .section-heading h2,
  .residentie-panel h2,
  .agenda-heading h2,
  .inquiry-intro h2 {
    max-width: 100%;
    font-size: clamp(3.2rem, 14vw, 5.2rem);
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .manifesto-line {
    font-size: 2rem;
  }

  .arched-frame {
    padding: 0.5rem;
  }

  .arched-image img {
    aspect-ratio: 0.79;
  }

  .arched-image figcaption {
    padding-inline: 0.5rem;
  }

  .residentie-band {
    padding: 1rem;
  }

  .residentie-photo {
    min-height: 24rem;
  }

  .residentie-panel {
    padding: 3.2rem 1.35rem;
  }

  .stay-image {
    min-height: 25rem;
  }

  .number-block strong {
    font-size: 5.5rem;
  }

  .occasion-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .occasion-card,
  .occasion-card-tall {
    grid-row: auto;
    min-height: 23rem;
  }

  .capacity-note {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .capacity-note .text-link {
    grid-column: auto;
    margin-top: 1rem;
  }

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

  .experience-card {
    min-height: 15.5rem;
  }

  .experience-feature,
  .experience-feature > div {
    min-height: 34rem;
  }

  .experience-feature::after {
    background: linear-gradient(0deg, rgba(12, 11, 9, 0.82), rgba(12, 11, 9, 0.1) 80%);
  }

  .experience-feature > div {
    padding: 2rem 1.5rem;
    justify-content: flex-end;
  }

  .experience-feature h3 {
    font-size: 3.6rem;
  }

  .yacht-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .yacht-content {
    justify-content: flex-start;
  }

  .yacht-content h2 {
    font-size: clamp(3.8rem, 16vw, 6rem);
  }

  .events-empty {
    padding: 2rem 1.25rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .events-mark {
    display: none;
  }

  .events-empty .button {
    grid-column: auto;
    width: 100%;
  }

  .event-card {
    grid-template-columns: 5rem 1fr;
    gap: 1rem;
  }

  .event-card .button {
    grid-column: 1 / -1;
  }

  .form-wrap {
    padding: 1.7rem 1rem;
  }

  .form-progress {
    margin-bottom: 2.6rem;
  }

  .form-progress li {
    grid-template-columns: 2rem 1fr;
    gap: 0.3rem;
  }

  .form-progress span {
    width: 2rem;
    height: 2rem;
  }

  .form-progress em {
    display: none;
  }

  .form-progress li::after {
    left: 2rem;
    width: calc(100% - 2rem);
  }

  .choice-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .form-actions-end {
    flex-direction: column;
  }

  .form-actions .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .film-dialog-inner {
    padding: 1rem;
  }

  .film-dialog-head h2,
  .film-dialog-foot p {
    display: none;
  }

  .film-dialog-foot {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-video {
    display: none;
  }

  .hero {
    background: var(--ink) url("assets/images/hero-people-web.jpg") center / cover no-repeat;
  }

  .video-toggle {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .hero-shade,
  .yacht-shade,
  .occasion-card::after,
  .experience-feature::after {
    background: transparent;
  }

  .hero-content,
  .yacht-content,
  .occasion-copy,
  .experience-feature > div {
    background: Canvas;
    color: CanvasText;
  }
}

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

  .event-category-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 46rem) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery-card-wide {
    grid-column: span 1;
  }

  .place-details {
    grid-template-columns: 1fr;
  }

  .place-detail:not(.place-detail-text) {
    display: flex;
  }

  .place-detail > .place-detail-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .place-detail-figure .place-detail-image {
    aspect-ratio: 4 / 3;
  }

  .place-detail-text {
    min-height: 0;
    padding: 1.6rem;
  }

  .place-detail > div {
    padding: 1.45rem 1.35rem 1.65rem;
  }

  .place-detail .image-note {
    padding-inline: 1rem;
  }

  .gallery-section .gallery-grid,
  .occasion-grid,
  .experience-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .gallery-section .gallery-card img {
    aspect-ratio: 4 / 3;
  }

  .gallery-heading h2,
  .gallery-heading h3 {
    font-size: clamp(3rem, 13vw, 4.8rem);
  }

  .gallery-more-button {
    width: 100%;
  }

  .gallery-dialog-inner {
    padding: 4.5rem 0.75rem 5rem;
  }

  .gallery-dialog-inner figure {
    width: 100%;
    gap: 0.75rem;
  }

  .gallery-dialog-inner figcaption {
    max-width: calc(100vw - 2rem);
    font-size: 1rem;
  }

  .gallery-dialog-close,
  .gallery-dialog-nav {
    width: 3.15rem;
    height: 3.15rem;
  }

  .gallery-dialog-close {
    top: 0.8rem;
    right: 0.8rem;
  }

  .gallery-dialog-counter {
    top: 1.45rem;
    left: 1rem;
  }

  .gallery-dialog-nav {
    top: auto;
    bottom: 0.8rem;
    transform: none;
  }

  .gallery-dialog-prev {
    left: calc(50% - 3.55rem);
  }

  .gallery-dialog-next {
    right: calc(50% - 3.55rem);
  }

  .gallery-dialog-nav:hover,
  .gallery-dialog-nav:focus-visible {
    transform: scale(1.06);
  }

  .event-category-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .event-category-nav a,
  .event-category-nav button {
    min-height: 3rem;
    padding: 0.58rem 0.85rem;
    font-size: 0.58rem;
  }

  .detail-nav {
    margin-right: calc(var(--shell) / -100);
    margin-left: calc(var(--shell) / -100);
    padding-inline: 0.85rem;
  }

  .detail-tabs {
    flex-wrap: nowrap;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    scrollbar-width: thin;
  }

  .detail-tabs a {
    flex: 0 0 auto;
    padding: 0.65rem 0.8rem;
    font-size: 0.6rem;
  }
}
