:root {
  --ivory: #f4f0e7;
  --paper: #fffdf8;
  --ink: #191a16;
  --muted: #67675e;
  --olive: #5d6334;
  --olive-dark: #474c27;
  --line: #d9d3c5;
  --soft-line: #e8e2d6;
  --error: #9b312b;
  --success: #375b38;
  --shadow: 0 18px 45px rgb(34 33 25 / 14%);
  --page: min(1200px, calc(100% - 64px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

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

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

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

a {
  color: inherit;
}

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

button,
select {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  transform: translateY(-160%);
}

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

:focus-visible {
  outline: 3px solid #26343b;
  outline-offset: 4px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--olive-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

h1 {
  max-width: 650px;
  font-size: clamp(3.2rem, 6vw, 5.65rem);
}

h2 {
  font-size: clamp(2.4rem, 4.7vw, 4.6rem);
}

h3 {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 13px 22px;
  border: 1px solid var(--olive);
  border-radius: 5px;
  color: #fff;
  background: var(--olive);
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: var(--olive-dark);
  background: var(--olive-dark);
  transform: translateY(-1px);
}

.button img,
.text-link img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.button-small {
  min-height: 44px;
  padding: 10px 17px;
  gap: 12px;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 22px;
  padding-block: 8px 5px;
  border-bottom: 1px solid currentColor;
  color: var(--olive-dark);
  font-weight: 650;
  text-decoration: none;
}

.text-link img {
  filter: none;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  color: var(--ink);
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled,
.site-header.menu-visible {
  border-bottom: 1px solid var(--line);
  background: rgb(244 240 231 / 96%);
  box-shadow: 0 4px 20px rgb(31 30 24 / 8%);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  width: min(1320px, calc(100% - 64px));
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
  line-height: 1;
  text-decoration: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.65rem;
  letter-spacing: 0.25em;
  text-indent: 0.25em;
}

.brand-subtitle {
  margin-top: 7px;
  font-size: 0.53rem;
  font-weight: 650;
  letter-spacing: 0.38em;
  text-indent: 0.38em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.primary-nav > a:not(.button) {
  padding-block: 11px;
  font-size: 0.92rem;
  font-weight: 560;
  text-decoration: none;
}

.primary-nav > a:not(.button):hover {
  color: var(--olive-dark);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgb(255 253 248 / 68%);
}

.menu-button img {
  width: 24px;
  height: 24px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-media img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 58% center;
}

.hero-wash {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: min(62%, 920px);
  background: rgb(244 240 231 / 82%);
}

.hero-content {
  padding-top: 96px;
  padding-bottom: 92px;
}

.hero-intro {
  max-width: 500px;
  margin: 24px 0 0;
  color: #33342f;
  font-size: clamp(1.06rem, 1.7vw, 1.35rem);
}

.hero-facts {
  display: grid;
  max-width: 620px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  font-size: 0.91rem;
  font-weight: 560;
}

.hero-facts img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
}

.enquiry-wrap {
  position: relative;
  z-index: 5;
  padding-bottom: clamp(78px, 9vw, 124px);
  scroll-margin-top: 100px;
}

.enquiry-panel {
  margin-top: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.enquiry-heading {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--soft-line);
}

.enquiry-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -14px;
}

.enquiry-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.enquiry-heading > p:last-child {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
}

.enquiry-form {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px 16px;
}

.field {
  min-width: 0;
}

.field-name,
.field-email,
.field-phone,
.field-apartment {
  grid-column: span 3;
}

.field-checkin {
  grid-column: span 3;
}

.field-nights,
.field-guests {
  grid-column: span 2;
}

.field-notes {
  grid-column: span 3;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.03em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #827e73;
  border-radius: 4px;
  background: #fff;
  appearance: none;
}

.field select {
  padding-right: 34px;
  background-image: url("assets/icons/caret-down.svg");
  background-repeat: no-repeat;
  background-position: calc(100% - 11px) center;
  background-size: 16px;
}

.field textarea {
  min-height: 48px;
  max-height: 150px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #827e73;
}

.field [aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 1px var(--error);
}

.field-error,
.field-hint {
  display: block;
  margin-top: 5px;
  font-size: 0.75rem;
  line-height: 1.35;
}

.field-error {
  min-height: 1em;
  color: var(--error);
  font-weight: 650;
}

.field-hint {
  color: var(--muted);
}

.field-notes .field-error:empty,
.field-notes .field-hint + .field-error:empty {
  min-height: 0;
}

.form-submit {
  display: flex;
  grid-column: span 2;
  flex-direction: column;
  align-self: end;
  gap: 6px;
}

.submit-button {
  width: 100%;
  gap: 12px;
  padding-inline: 14px;
  border: 0;
  white-space: nowrap;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.3;
  text-align: center;
}

.form-status {
  display: none;
  grid-column: 1 / -1;
  padding: 14px 16px;
  border: 1px solid;
  border-radius: 4px;
  font-weight: 650;
}

.form-status:not(:empty) {
  display: block;
}

.form-status.is-success {
  border-color: #9ab29a;
  color: var(--success);
  background: #edf4ea;
}

.form-status.is-error {
  border-color: #d7a49d;
  color: var(--error);
  background: #fff1ef;
}

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

.section-space {
  padding-block: clamp(78px, 9vw, 124px);
}

.section-intro {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-intro > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
}

.section-intro-left {
  max-width: none;
  margin-inline: 0;
  text-align: left;
}

.apartments.section-space {
  padding-bottom: clamp(48px, 6vw, 76px);
}

.apartment-card {
  display: grid;
  min-height: 490px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
}

.apartment-card + .apartment-card {
  margin-top: 34px;
}

.apartment-amber {
  grid-template-columns: 0.75fr 1.3fr 0.95fr;
}

.apartment-pearl {
  grid-template-columns: 1.55fr 1fr;
}

.apartment-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(30px, 4vw, 54px);
}

.apartment-copy > p:not(.eyebrow) {
  margin: 26px 0 0;
  color: var(--muted);
}

.mini-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 28px;
  padding: 0;
  color: #44463d;
  font-size: 0.78rem;
  font-weight: 650;
  list-style: none;
}

.mini-facts li {
  position: relative;
}

.mini-facts li + li::before {
  position: absolute;
  left: -11px;
  content: "·";
}

.gallery-stack {
  display: grid;
  min-width: 0;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 5px;
  background: var(--ivory);
}

.gallery-image {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #dedbd3;
  text-align: left;
}

.gallery-image picture,
.gallery-image img {
  width: 100%;
  height: 100%;
}

.gallery-image picture {
  position: absolute;
  inset: 0;
  display: block;
}

.gallery-image img {
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-image:hover img,
.gallery-image:focus-visible img {
  transform: scale(1.025);
}

.image-action {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 11px;
  border-radius: 3px;
  color: #fff;
  background: rgb(25 26 22 / 78%);
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-image:hover .image-action,
.gallery-image:focus-visible .image-action {
  opacity: 1;
}

.apartment-amber .gallery-main img {
  object-position: 52% center;
}

.apartment-pearl .gallery-stack img {
  object-position: center 54%;
}

.amenities {
  padding-top: 0;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
  list-style: none;
}

.amenity-grid li {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  border-right: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  text-align: center;
}

.amenity-grid li:nth-child(4n) {
  border-right: 0;
}

.amenity-grid li:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.amenity-grid img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.amenity-grid span {
  font-size: 0.9rem;
  font-weight: 650;
}

.location {
  padding-top: 0;
}

.location-layout {
  display: grid;
  min-height: 500px;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
}

.location-media,
.location-media img {
  width: 100%;
  height: 100%;
}

.location-media img {
  object-fit: cover;
}

.location-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(42px, 6vw, 82px);
}

.location-copy p:not(.eyebrow) {
  margin: 28px 0;
  color: var(--muted);
}

.faq {
  padding-top: 0;
}

.faq-intro {
  max-width: 720px;
}

.faq-list {
  max-width: 940px;
  margin-left: auto;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 24px 8px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.25;
}

.faq-list summary::marker {
  color: var(--olive);
}

.faq-list details[open] summary {
  color: var(--olive-dark);
}

.faq-list details p {
  max-width: 760px;
  margin: 4px 8px 26px 30px;
  color: var(--muted);
}

.closing-cta {
  padding-bottom: clamp(78px, 9vw, 124px);
}

.closing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: center;
  gap: 42px;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.closing-panel h2 {
  font-size: clamp(2.2rem, 4vw, 3.9rem);
}

.closing-panel p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
}

.site-footer {
  padding-block: 42px;
  border-top: 1px solid var(--line);
}

.error-page {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr;
}

.error-header {
  padding: 28px max(24px, calc((100% - 1200px) / 2));
}

.error-main {
  display: flex;
  width: var(--page);
  max-width: 850px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-inline: auto;
  padding-block: 72px 120px;
}

.error-main h1 {
  max-width: 800px;
}

.error-main > p:not(.eyebrow) {
  max-width: 620px;
  margin: 26px 0 34px;
  color: var(--muted);
  font-size: 1.08rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand-footer {
  justify-self: start;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  padding-block: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-inner > p {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.lightbox {
  width: min(1120px, calc(100vw - 56px));
  max-width: none;
  max-height: calc(100vh - 56px);
  padding: 0;
  overflow: visible;
  border: 0;
  color: #fff;
  background: transparent;
}

.lightbox::backdrop {
  background: rgb(17 18 15 / 92%);
  backdrop-filter: blur(5px);
}

.lightbox-shell {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 18px;
}

.lightbox figure {
  min-width: 0;
  margin: 0;
}

.lightbox figure img {
  width: 100%;
  max-height: calc(100vh - 130px);
  border-radius: 4px;
  object-fit: contain;
}

.lightbox figcaption {
  margin-top: 12px;
  font-size: 0.88rem;
  text-align: center;
}

.icon-button {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 4px;
  color: #fff;
  background: rgb(0 0 0 / 30%);
}

.icon-button:hover {
  background: rgb(0 0 0 / 60%);
}

.lightbox .icon-button:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 2px #11120f;
}

.icon-button img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: -10px;
  right: 58px;
  transform: translateY(-100%);
}

.lightbox-previous {
  grid-column: 1;
}

.lightbox figure {
  grid-column: 2;
}

.lightbox-next {
  grid-column: 3;
}

@media (max-width: 1120px) {
  .enquiry-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .field-name,
  .field-email,
  .field-phone,
  .field-apartment,
  .field-checkin,
  .field-nights,
  .field-guests,
  .field-notes {
    grid-column: span 2;
  }

  .form-submit {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
  }

  .submit-button {
    width: auto;
    min-width: 230px;
  }

  .form-privacy {
    text-align: left;
  }

  .apartment-amber {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .apartment-amber .gallery-stack {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 280px;
  }

  .apartment-pearl {
    grid-template-columns: 1.3fr 0.9fr;
  }

  .apartment-card {
    min-height: 460px;
  }
}

@media (max-width: 899px) {
  :root {
    --page: min(100% - 64px, 1200px);
  }

  .header-inner {
    width: calc(100% - 64px);
    min-height: 72px;
  }

  .menu-button {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 72px);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 16px 32px 28px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: var(--ivory);
    box-shadow: 0 16px 32px rgb(31 30 24 / 12%);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav > a:not(.button) {
    min-height: 48px;
    padding: 13px 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .primary-nav .button {
    margin-top: 14px;
  }

  .no-js .menu-button {
    display: none;
  }

  .no-js .site-header {
    position: absolute;
    border-bottom: 1px solid var(--line);
    background: rgb(244 240 231 / 94%);
  }

  .no-js .header-inner {
    display: grid;
    grid-template-columns: 1fr;
    padding-block: 14px;
  }

  .no-js .brand {
    justify-self: start;
  }

  .no-js .primary-nav {
    position: static;
    display: flex;
    width: 100%;
    max-height: none;
    flex-flow: row wrap;
    justify-content: flex-start;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .no-js .primary-nav > a:not(.button) {
    min-height: 44px;
    padding: 10px 18px 10px 0;
    border: 0;
  }

  .no-js .primary-nav .button {
    display: none;
  }

  .no-js .hero-content {
    padding-top: 210px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    padding-top: 110px;
    padding-bottom: 120px;
  }

  .hero-wash {
    width: 72%;
  }

  .enquiry-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .enquiry-heading .eyebrow {
    margin-bottom: -2px;
  }

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

  .amenity-grid li,
  .amenity-grid li:nth-child(4n),
  .amenity-grid li:nth-last-child(-n + 4) {
    border-right: 1px solid var(--soft-line);
    border-bottom: 1px solid var(--soft-line);
  }

  .amenity-grid li:nth-child(3n) {
    border-right: 0;
  }

  .amenity-grid li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-nav {
    justify-self: end;
  }

  .footer-inner > p {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 719px) {
  :root {
    --page: calc(100% - 40px);
  }

  html {
    scroll-padding-top: 76px;
  }

  .header-inner {
    width: calc(100% - 40px);
    min-height: 64px;
  }

  .brand-name {
    font-size: 1.42rem;
  }

  .primary-nav {
    max-height: calc(100vh - 64px);
    padding-inline: 20px;
  }

  .hero {
    min-height: 690px;
    align-items: end;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-wash {
    width: 100%;
    background: rgb(244 240 231 / 74%);
  }

  .hero-content {
    padding-top: 118px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  .hero-intro {
    max-width: 390px;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 12px;
    margin-top: 30px;
  }

  .hero-facts li {
    font-size: 0.82rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
  }

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

  .enquiry-panel {
    margin-top: 0;
    padding: 24px 20px;
    border-radius: 6px;
    box-shadow: 0 14px 35px rgb(34 33 25 / 10%);
  }

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

  .field-name,
  .field-email,
  .field-phone,
  .field-apartment,
  .field-checkin,
  .field-nights,
  .field-guests,
  .field-notes,
  .form-submit {
    grid-column: 1;
  }

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

  .submit-button {
    width: 100%;
  }

  .form-privacy {
    text-align: center;
  }

  .section-space {
    padding-block: 72px;
  }

  .section-intro {
    margin-bottom: 36px;
  }

  .apartment-card,
  .apartment-amber,
  .apartment-pearl {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .apartment-amber .gallery-main {
    height: 330px;
  }

  .apartment-amber .gallery-stack,
  .apartment-pearl .gallery-stack {
    display: grid;
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 210px;
  }

  .apartment-pearl .gallery-stack {
    order: -1;
  }

  .apartment-copy {
    padding: 34px 26px 40px;
  }

  .image-action {
    opacity: 1;
  }

  .apartment-copy > p:not(.eyebrow) {
    margin-top: 18px;
  }

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

  .amenity-grid li,
  .amenity-grid li:nth-child(3n),
  .amenity-grid li:nth-last-child(-n + 2) {
    min-height: 126px;
    flex-direction: column;
    gap: 10px;
    padding: 18px 12px;
    border-right: 1px solid var(--soft-line);
    border-bottom: 1px solid var(--soft-line);
  }

  .amenity-grid li:nth-child(2n) {
    border-right: 0;
  }

  .amenity-grid li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .location {
    padding-top: 0;
  }

  .location-layout {
    grid-template-columns: 1fr;
  }

  .location-media {
    height: 330px;
  }

  .location-copy {
    padding: 38px 26px 44px;
  }

  .closing-panel {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 34px 26px;
  }

  .closing-panel .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .brand-footer,
  .footer-nav,
  .footer-inner > p {
    justify-self: start;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 8px 22px;
  }

  .lightbox {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }

  .lightbox-shell {
    grid-template-columns: 48px 1fr 48px;
    gap: 8px;
  }

  .lightbox figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .lightbox-previous,
  .lightbox-next {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
  }

  .lightbox-previous {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    transform: none;
  }
}

@media (max-width: 390px) {
  :root {
    --page: calc(100% - 32px);
  }

  .header-inner {
    width: calc(100% - 32px);
  }

  .primary-nav {
    padding-inline: 16px;
  }

  .hero-facts img {
    width: 21px;
    height: 21px;
  }

  .hero-facts li {
    gap: 8px;
  }

  .enquiry-panel {
    padding-inline: 16px;
  }

  .apartment-amber .gallery-main {
    height: 280px;
  }

  .apartment-amber .gallery-stack,
  .apartment-pearl .gallery-stack {
    grid-template-rows: 170px;
  }
}

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

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