:root {
  color-scheme: light;
  --ink: #173128;
  --ink-deep: #0a2119;
  --green: #123f2f;
  --green-bright: #286548;
  --sage: #cbd7c6;
  --acid: #d7e878;
  --cream: #f4f0e7;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: rgba(18, 63, 47, 0.16);
  --muted: #65716b;
  --shadow: 0 24px 80px rgba(15, 47, 36, 0.13);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--green) var(--cream);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  background: var(--ink-deep);
  color: var(--white);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.shell {
  width: min(100% - 32px, 1420px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(80px, 10vw, 156px);
}

.overline {
  color: var(--green-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
}

.site-header__inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

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

.brand__mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.brand__mark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-nav {
  display: none;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-nav a,
.header-link {
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.header-link:hover {
  color: var(--acid);
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-link span {
  font-size: 1rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 87% 15%, rgba(215, 232, 120, 0.16), transparent 25%),
    linear-gradient(130deg, #09261c 0%, #123f2f 58%, #1d503c 100%);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 65%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  min-height: calc(100svh - 78px);
  align-items: center;
  gap: 44px;
  padding-top: 128px;
  padding-bottom: 54px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero .overline {
  color: var(--acid);
}

.hero h1 {
  max-width: 780px;
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 7.7rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.hero__lead {
  max-width: 650px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button--primary {
  background: var(--acid);
  color: var(--ink-deep);
}

.button--primary:hover {
  background: var(--white);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.button--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

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

.button--dark:hover {
  background: var(--ink-deep);
}

.button:disabled {
  cursor: wait;
  opacity: 0.66;
  transform: none;
}

.hero__index {
  display: flex;
  gap: 36px;
  margin-top: 44px;
}

.hero__index div {
  display: grid;
  grid-template-columns: auto minmax(0, 115px);
  align-items: center;
  gap: 10px;
}

.hero__index strong {
  color: var(--acid);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.hero__index span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero__visual {
  position: relative;
  min-width: 0;
}

.hero__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 180px 12px 12px 12px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.3);
}

.hero__image-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 20, 14, 0.34), transparent 42%);
  content: "";
}

.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__monogram {
  position: absolute;
  top: -26px;
  right: -10px;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(18, 63, 47, 0.58);
  color: var(--acid);
  font-family: var(--serif);
  font-size: 1.3rem;
  backdrop-filter: blur(12px);
}

.material-strip {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  scrollbar-width: none;
}

.material-strip::-webkit-scrollbar {
  display: none;
}

.material-strip span {
  display: inline-flex;
  flex: 1 0 auto;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.material-strip span:not(:last-child)::after {
  width: 4px;
  height: 4px;
  margin-inline: clamp(22px, 4vw, 64px);
  border-radius: 50%;
  background: var(--acid);
  content: "";
}

.intro {
  padding-block: clamp(72px, 8vw, 118px);
  background: var(--cream);
}

.intro__grid {
  display: grid;
  gap: 24px;
}

.section-index {
  color: var(--green);
  font-family: var(--serif);
  font-size: 1rem;
}

.intro h2,
.section-heading h2,
.plans h2,
.note-section h2 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.intro__text {
  align-self: end;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

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

.section-heading {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(34px, 5vw, 68px);
}

.section-heading > p {
  max-width: 560px;
  align-self: end;
  color: var(--muted);
  line-height: 1.75;
}

.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 34px;
  padding-bottom: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.collection-grid {
  display: grid;
  gap: 16px;
}

.collection-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--cream);
}

.collection-card[hidden] {
  display: none;
}

.collection-card__button {
  display: grid;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.collection-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dfe4de;
}

.collection-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 29, 21, 0.48), transparent 48%);
  content: "";
}

.collection-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0, 1);
}

.collection-card__button:hover .collection-card__media img {
  transform: scale(1.035);
}

.collection-card__number,
.collection-card__count {
  position: absolute;
  z-index: 2;
  top: 18px;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.collection-card__number {
  left: 18px;
}

.collection-card__count {
  right: 18px;
}

.collection-card__open {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink-deep);
  font-size: 1.15rem;
  transition: transform 180ms ease;
}

.collection-card__button:hover .collection-card__open {
  transform: rotate(8deg) scale(1.05);
}

.collection-card__body {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.collection-card__kicker {
  color: var(--green-bright);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.collection-card h3 {
  max-width: 460px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.collection-card__description {
  max-width: 540px;
  color: var(--muted);
  font-size: 0.9rem;
}

.collection-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.collection-card__tags span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plans {
  background: var(--green);
  color: var(--white);
}

.plans__grid {
  display: grid;
  gap: 14px;
}

.plans__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 0 34px;
}

.plans .section-index,
.plans .overline {
  color: var(--acid);
}

.plans__copy > p:not(.section-index, .overline) {
  max-width: 550px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.66);
}

.text-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-button:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.plan-tile {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--white);
  cursor: zoom-in;
}

.plan-tile img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: contain;
  padding: 18px;
  transition: transform 420ms ease;
}

.plan-tile:hover img {
  transform: scale(1.025);
}

.plan-tile span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 9px 12px;
  border-radius: 2px;
  background: rgba(10, 33, 25, 0.88);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.video-section {
  background: #e9eee8;
}

.video-grid {
  display: grid;
  gap: 16px;
}

.video-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--paper);
}

.video-card__media {
  position: relative;
  aspect-ratio: 9 / 12;
  overflow: hidden;
  background: var(--ink-deep);
}

.video-card video {
  width: 100%;
  height: 100%;
  background: var(--ink-deep);
  object-fit: contain;
}

.video-card__number {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(10, 33, 25, 0.78);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  pointer-events: none;
}

.video-card__body {
  min-height: 160px;
  padding: 20px;
}

.video-card__eyebrow {
  color: var(--green-bright);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-card h3 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.video-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

.note-section {
  padding-block: clamp(72px, 9vw, 132px);
  background: var(--acid);
}

.note-section__inner {
  display: grid;
  align-items: end;
  gap: 24px;
}

.note-section__mark {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.note-section h2 {
  max-width: 850px;
}

.note-section__inner > p {
  max-width: 520px;
  color: rgba(10, 33, 25, 0.7);
}

.booking-section {
  scroll-margin-top: 24px;
  background:
    radial-gradient(circle at 10% 10%, rgba(215, 232, 120, 0.14), transparent 26%),
    var(--green);
  color: var(--white);
}

.booking-section__grid {
  display: grid;
  gap: clamp(36px, 7vw, 96px);
}

.booking-section__copy .section-index,
.booking-section__copy .overline {
  color: var(--acid);
}

.booking-section__copy h2 {
  max-width: 720px;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5.3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.booking-section__copy > p:last-child {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

.booking-form {
  position: relative;
  display: grid;
  align-self: start;
  gap: 20px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(3, 20, 14, 0.24);
}

.booking-form__row {
  display: grid;
  gap: 20px;
}

.booking-field {
  display: grid;
  gap: 9px;
}

.booking-field > span {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-field input,
.booking-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: 0;
  background: var(--white);
  color: var(--ink-deep);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.booking-field textarea {
  min-height: 108px;
  resize: vertical;
}

.booking-field input::placeholder,
.booking-field textarea::placeholder {
  color: #87908b;
}

.booking-field input:focus,
.booking-field textarea:focus {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(40, 101, 72, 0.12);
}

.booking-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.45;
}

.booking-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--green);
}

.booking-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.booking-form__footer {
  display: grid;
  align-items: center;
  gap: 14px;
}

.booking-form__footer .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.booking-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 0.82rem;
}

.booking-status.is-success {
  color: var(--green-bright);
}

.booking-status.is-error {
  color: #9b342c;
}

.site-footer {
  background: var(--ink-deep);
  color: var(--white);
}

.site-footer__inner {
  display: grid;
  gap: 28px;
  align-items: center;
  padding-block: 34px;
}

.brand--footer .brand__mark {
  border-color: rgba(255, 255, 255, 0.24);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.78rem;
}

.site-footer__inner > a:last-child {
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--ink-deep);
  color: var(--white);
}

.gallery-dialog::backdrop {
  background: rgba(3, 14, 10, 0.88);
}

.gallery-dialog__layout {
  display: grid;
  height: 100dvh;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.gallery-dialog__header {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.gallery-dialog__eyebrow {
  color: var(--acid);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-dialog__header h2 {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  font-weight: 500;
  line-height: 1;
}

.gallery-close {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.gallery-close span {
  position: absolute;
  top: 23px;
  left: 13px;
  width: 20px;
  height: 1px;
  background: var(--white);
}

.gallery-close span:first-child {
  transform: rotate(45deg);
}

.gallery-close span:last-child {
  transform: rotate(-45deg);
}

.gallery-dialog__stage {
  position: relative;
  display: grid;
  min-height: 0;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: stretch;
}

.gallery-figure {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

.gallery-figure__image {
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  padding: 12px 2px;
  overflow: hidden;
}

.gallery-figure__image img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
}

.gallery-figure figcaption {
  display: grid;
  min-height: 76px;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 18px;
  padding: 12px 8px 16px;
}

.gallery-category {
  grid-column: 1 / -1;
  color: var(--acid);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.gallery-figure figcaption p {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.77rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-count {
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--serif);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.gallery-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  align-self: center;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(10, 33, 25, 0.72);
  color: var(--white);
  cursor: pointer;
  font-size: 1.15rem;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.gallery-arrow:hover {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink-deep);
}

.gallery-arrow:disabled {
  opacity: 0.25;
  pointer-events: none;
}

.gallery-arrow--prev {
  justify-self: start;
  margin-left: 3px;
}

.gallery-arrow--next {
  justify-self: end;
  margin-right: 3px;
}

.gallery-thumbnails {
  display: flex;
  min-height: 90px;
  gap: 8px;
  padding: 10px 18px 14px;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.gallery-thumb {
  position: relative;
  flex: 0 0 68px;
  height: 64px;
  overflow: hidden;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 2px;
  background: #263a33;
  cursor: pointer;
  opacity: 0.5;
  transition:
    opacity 150ms ease,
    border-color 150ms ease;
}

.gallery-thumb.is-active {
  border-color: var(--acid);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb[data-category="plan"] img {
  background: var(--white);
  object-fit: contain;
}

.noscript-note {
  position: fixed;
  z-index: 9998;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 16px;
  background: #fff4cc;
  color: #352d13;
  box-shadow: var(--shadow);
  text-align: center;
}

@media (min-width: 620px) {
  .shell {
    width: min(100% - 56px, 1420px);
  }

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

  .site-footer__inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-footer p {
    text-align: center;
  }

  .gallery-dialog__header {
    padding-inline: 28px;
  }

  .gallery-dialog__stage {
    grid-template-columns: 72px minmax(0, 1fr) 72px;
  }

  .gallery-arrow {
    width: 52px;
    height: 52px;
  }

  .gallery-arrow--prev {
    margin-left: 12px;
  }

  .gallery-arrow--next {
    margin-right: 12px;
  }

  .gallery-figure__image {
    padding-inline: 14px;
  }

  .gallery-thumbnails {
    padding-inline: 28px;
  }

  .gallery-thumb {
    flex-basis: 82px;
    height: 68px;
  }
}

@media (min-width: 820px) {
  .site-nav {
    display: flex;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
    padding-top: 122px;
  }

  .hero__image-wrap {
    aspect-ratio: 4 / 5;
  }

  .intro__grid {
    grid-template-columns: 70px minmax(0, 1fr) minmax(280px, 0.65fr);
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  }

  .collection-card:first-child {
    grid-column: span 2;
  }

  .collection-card:first-child .collection-card__button {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  }

  .collection-card:first-child .collection-card__body {
    align-content: end;
    padding: 36px;
  }

  .plans__grid {
    grid-template-columns: minmax(290px, 0.82fr) repeat(2, minmax(0, 0.6fr));
  }

  .plans__copy {
    grid-row: span 2;
    padding-right: clamp(22px, 4vw, 66px);
  }

  .plan-tile--large {
    grid-column: span 2;
  }

  .plan-tile--large,
  .plan-tile--large img {
    min-height: 440px;
  }

  .note-section__inner {
    grid-template-columns: 90px minmax(0, 1fr) minmax(280px, 0.45fr);
  }

  .booking-section__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.7fr);
    align-items: start;
  }

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

  .booking-form__footer {
    grid-template-columns: minmax(220px, auto) minmax(0, 1fr);
  }

  .booking-form__footer .button {
    width: auto;
  }

  .gallery-dialog__header {
    min-height: 96px;
    padding-inline: 42px;
  }

  .gallery-dialog__stage {
    grid-template-columns: 96px minmax(0, 1fr) 96px;
  }

  .gallery-arrow--prev {
    margin-left: 28px;
  }

  .gallery-arrow--next {
    margin-right: 28px;
  }

  .gallery-figure__image {
    padding: 22px 24px 10px;
  }

  .gallery-figure figcaption {
    padding-inline: 24px;
  }

  .gallery-thumbnails {
    min-height: 108px;
    padding: 12px 42px 18px;
  }

  .gallery-thumb {
    flex-basis: 96px;
    height: 76px;
  }
}

@media (min-width: 1120px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(470px, 0.7fr);
  }

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

  .collection-card {
    grid-column: span 5;
  }

  .collection-card:first-child {
    grid-column: span 7;
    grid-row: span 2;
  }

  .collection-card:first-child .collection-card__button {
    height: 100%;
    grid-template-columns: 1fr;
  }

  .collection-card:first-child .collection-card__media {
    aspect-ratio: 16 / 10;
  }

  .collection-card:nth-child(4),
  .collection-card:nth-child(5) {
    grid-column: span 6;
  }

  .collection-card__body {
    min-height: 265px;
  }

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

  .video-card__media {
    aspect-ratio: 9 / 11;
  }
}

@media (min-width: 1420px) {
  .video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .video-card:nth-child(1),
  .video-card:nth-child(6) {
    grid-column: span 2;
  }

  .video-card:nth-child(1) .video-card__media,
  .video-card:nth-child(6) .video-card__media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 619px) {
  .header-link {
    font-size: 0;
  }

  .header-link span {
    font-size: 1.2rem;
  }

  .hero__index {
    gap: 20px;
  }

  .hero__index div {
    grid-template-columns: auto;
    gap: 6px;
  }

  .gallery-dialog__header h2 {
    max-width: calc(100vw - 100px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gallery-figure figcaption p {
    max-width: 70vw;
  }
}

@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;
  }
}
