:root {
  --paper: #efeee8;
  --paper-deep: #e4e3da;
  --paper-green: #daddcf;
  --ink: #20231f;
  --muted: #5d6258;
  --forest: #4d5540;
  --forest-dark: #343a2d;
  --line: #a7aa9d;
  --error: #9d352f;
  --display: "Bodoni Moda", "Bodoni MT", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --page: min(92vw, 1480px);
  --header-height: 96px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

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

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

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

:focus-visible {
  outline: 3px solid #737d5e;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--forest-dark);
  color: var(--paper);
  transform: translateY(-150%);
}

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

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

.site-header {
  position: relative;
  z-index: 400;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: var(--page);
  min-height: var(--header-height);
  margin-inline: auto;
  border-bottom: 1px solid transparent;
  transition: border-color 240ms ease, background-color 240ms ease;
}

.site-header.is-stuck {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: none;
  padding-inline: 4vw;
  background: rgb(239 238 232 / 0.94);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.brand-mark,
.back-button,
.wordmark,
.header-booking,
.header-contact,
.header-enquire,
.menu-trigger {
  text-decoration: none;
}

.brand-mark {
  justify-self: start;
  display: block;
  width: 54px;
  height: 54px;
  overflow: hidden;
}

.back-button {
  justify-self: start;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
  transition: transform 220ms var(--ease), color 220ms var(--ease);
}

.back-button:hover {
  color: var(--forest);
  transform: translateX(-4px);
}

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

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wordmark {
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.25vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: clamp(10px, 1.2vw, 24px);
}

.header-booking,
.header-contact,
.header-enquire {
  flex: 0 0 auto;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(0.7rem, 0.78vw, 0.82rem);
  letter-spacing: 0.065em;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu-trigger {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.menu-lines {
  display: grid;
  width: 24px;
  gap: 6px;
}

.menu-lines i {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 300ms var(--ease);
}

.menu-trigger[aria-expanded="true"] .menu-lines i:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-trigger[aria-expanded="true"] .menu-lines i:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 500;
  visibility: hidden;
  background: rgb(32 35 31 / 0.44);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms var(--ease), visibility 0s linear 420ms;
}

.menu-panel.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.menu-panel-inner {
  position: absolute;
  inset: 0 0 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0;
  width: clamp(330px, 25vw, 430px);
  height: 100dvh;
  padding: 32px clamp(34px, 3vw, 58px) 48px;
  overflow-y: auto;
  background: #f5f2ec;
  transform: translateX(100%);
  transition: transform 420ms var(--ease);
}

.menu-panel.is-open .menu-panel-inner {
  transform: translateX(0);
}

.menu-close {
  justify-self: end;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.menu-close:focus-visible {
  outline: 0;
  box-shadow: 0 2px 0 var(--forest);
}

.menu-panel nav {
  display: grid;
  align-content: start;
  gap: clamp(18px, 2.6vh, 30px);
  padding-top: clamp(58px, 10vh, 110px);
}

.menu-panel nav a {
  width: fit-content;
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color 220ms ease, transform 300ms var(--ease);
}

.menu-panel nav a:hover {
  color: var(--forest);
  transform: translateX(5px);
}

.menu-cabins {
  align-self: end;
  display: grid;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.menu-cabins a {
  width: fit-content;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 220ms ease, transform 300ms var(--ease);
}

.menu-cabins a:hover {
  color: var(--forest);
  transform: translateX(5px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) 1.28fr;
  column-gap: clamp(48px, 4vw, 88px);
  min-height: calc(100dvh - var(--header-height));
  width: var(--page);
  margin-inline: auto;
  padding: clamp(28px, 5vh, 64px) 0 clamp(42px, 7vh, 84px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2vw 4vw 2vw 0;
}

.hero-kicker,
.section-label {
  margin: 0 0 24px;
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.cabin-hero h1,
.bespoke-hero h1,
.contact-intro h1,
.message-page h1,
.legal-header h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.65rem, 6.3vw, 7.25rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

@media (min-width: 768px) {
  .hero h1 {
    max-width: 100%;
    font-size: clamp(3.5rem, 4.85vw, 6.1rem);
  }
}

.hero-intro {
  max-width: 34rem;
  margin: clamp(24px, 4vh, 42px) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.22rem);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-cabins-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.94rem;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 50px;
  width: fit-content;
  padding: 13px 22px;
  border: 1px solid var(--forest-dark);
  border-radius: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 260ms var(--ease), color 260ms var(--ease), transform 260ms var(--ease);
}

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

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--forest-dark);
  color: var(--paper);
}

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

.button-quiet {
  background: transparent;
}

.button-quiet:hover {
  background: var(--paper-deep);
}

.button-arrow {
  display: inline-block;
  transition: transform 260ms var(--ease);
}

a:hover .button-arrow,
button:hover .button-arrow {
  transform: translate(3px, -3px);
}

.hero-media {
  min-height: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  transform: scale(1.02);
  animation: hero-image 1.3s var(--ease) 120ms both;
}

.section-intro {
  max-width: 850px;
}

.section-intro h2,
.bespoke-copy h2,
.story-copy h2,
.cabin-description h2,
.features-section > h2,
.layout-section h2,
.detail-cta h2,
.bespoke-principles h2,
.bespoke-reference h2,
.contact-aside h2,
.legal-content h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6.2vw, 7rem);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.055em;
}

.section-intro > p {
  max-width: 42rem;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.cabins-section {
  padding-block: clamp(100px, 14vw, 210px);
}

.cabins-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  grid-template-rows: repeat(2, auto);
  gap: clamp(40px, 6vw, 92px) clamp(32px, 6vw, 96px);
  margin-top: clamp(64px, 8vw, 120px);
}

.cabin-card {
  min-width: 0;
}

.cabin-card-featured {
  grid-row: 1 / span 2;
  align-self: center;
}

.cabin-card-compact {
  display: grid;
  grid-template-columns: minmax(160px, 0.75fr) 1.25fr;
  align-items: center;
  gap: clamp(24px, 3.2vw, 50px);
}

.cabin-card-visual {
  display: block;
  overflow: hidden;
  background: var(--paper-deep);
}

.cabin-card-featured .cabin-card-visual {
  aspect-ratio: 4 / 5;
}

.cabin-card-compact .cabin-card-visual {
  aspect-ratio: 3 / 4;
}

.cabin-card-visual img {
  width: 100%;
  height: 100%;
  padding: clamp(20px, 4vw, 72px);
  object-fit: contain;
  filter: saturate(0.78) contrast(0.95);
  transition: transform 700ms var(--ease), filter 500ms ease;
}

.cabin-card-visual img.cabin-photo {
  padding: 0;
  object-fit: cover;
}

.cabin-card:nth-child(1) .cabin-card-visual {
  background: #ddd9d5;
}

.cabin-card:nth-child(2) .cabin-card-visual {
  background: #e4d8d3;
}

.cabin-card:nth-child(3) .cabin-card-visual {
  background: #d8dbcd;
}

.cabin-card:hover .cabin-card-visual img {
  transform: scale(1.035);
  filter: saturate(0.92) contrast(1);
}

.cabin-card-featured .cabin-card-copy {
  padding-top: 34px;
}

.cabin-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.8vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}

.cabin-card h3 a {
  text-decoration: none;
}

.cabin-subtitle {
  margin: 18px 0 0;
  color: var(--forest);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.cabin-card-copy > p:not(.cabin-subtitle) {
  max-width: 40rem;
  margin: 18px 0 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}

.bespoke-prompt {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  min-height: 660px;
  background: var(--paper-green);
}

.bespoke-image {
  min-height: 550px;
  overflow: hidden;
}

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

.bespoke-copy {
  align-self: center;
  padding: clamp(48px, 7vw, 110px);
}

.bespoke-copy h2 {
  font-size: clamp(3.1rem, 5.4vw, 6rem);
}

.bespoke-copy > p:not(.section-label) {
  margin: 28px 0 32px;
  color: var(--muted);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.45fr);
  column-gap: clamp(48px, 7vw, 120px);
  row-gap: clamp(52px, 6vw, 90px);
  width: 100%;
  margin-top: clamp(56px, 8vw, 140px);
  padding: clamp(64px, 7vw, 112px) 4vw clamp(72px, 8vw, 132px);
  background: #b7b4b1;
}

.story-title {
  grid-column: 1 / -1;
  margin: 0;
  padding-bottom: clamp(48px, 6vw, 94px);
  border-bottom: 1px solid rgb(32 35 31 / 0.42);
  font-family: var(--display);
  font-size: clamp(3.6rem, 7vw, 8rem);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.055em;
}

.story-copy h3 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  font-weight: 500;
  line-height: 1.25;
}

.story-copy > p {
  max-width: 34rem;
  margin: 22px 0 0;
  color: var(--ink);
}

.story-copy .button {
  margin-top: 32px;
}

.story-photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-self: stretch;
  min-height: clamp(370px, 37vw, 600px);
}

.story-photo-slot,
.story-portrait-slot {
  display: flex;
  align-items: end;
  min-height: 0;
  margin: 0;
  background: rgb(239 238 232 / 0.34);
}

.story-photo-slot + .story-photo-slot {
  border-left: 1px solid rgb(32 35 31 / 0.18);
}

.story-photo-slot figcaption,
.story-portrait-slot figcaption {
  padding: 14px 16px;
  color: rgb(32 35 31 / 0.7);
  font-size: 0.78rem;
  font-style: italic;
}

.story-detail {
  width: 100%;
  margin: 0;
  padding: clamp(72px, 8vw, 126px) max(6vw, calc((100vw - 1160px) / 2));
  background: var(--forest);
  color: var(--paper);
}

.story-detail-heading {
  max-width: 900px;
  margin: 0 auto clamp(72px, 9vw, 128px);
}

.story-detail-heading .hero-kicker {
  color: rgb(239 238 232 / 0.72);
}

.story-detail-heading h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.2rem, 8vw, 8rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.story-detail-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(56px, 9vw, 150px);
  max-width: 900px;
  margin-inline: auto;
}

.story-portrait-slot {
  min-height: clamp(360px, 40vw, 520px);
  background: rgb(239 238 232 / 0.12);
}

.story-portrait-slot figcaption {
  color: rgb(239 238 232 / 0.74);
}

.story-detail-copy p {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.62;
}

.story-detail-copy p + p {
  margin-top: 26px;
}

.site-footer {
  width: var(--page);
  margin-inline: auto;
  padding-top: clamp(80px, 11vw, 160px);
  border-top: 1px solid var(--line);
}

.footer-callout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: clamp(80px, 11vw, 150px);
}

.footer-callout p,
.footer-enquire {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6.5vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.footer-enquire {
  display: flex;
  align-items: center;
  gap: 28px;
  text-decoration: none;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: 92px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.footer-brand-mark {
  display: block;
  width: 66px;
  height: 66px;
  overflow: hidden;
  text-decoration: none;
}

.footer-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.footer-links a {
  text-decoration: none;
}

.footer-bottom p {
  justify-self: end;
  margin: 0;
}

.cabin-hero,
.bespoke-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: calc(100dvh - var(--header-height));
  padding-block: clamp(34px, 5vw, 74px);
}

.cabin-hero-art {
  display: grid;
  place-items: center;
  min-height: 620px;
  background: var(--paper-deep);
  overflow: hidden;
}

.cabin-hero-art img {
  width: 68%;
  height: 80%;
  object-fit: contain;
  filter: saturate(0.82);
}

.cabin-hero-art img.cabin-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cabin-lavender-house .cabin-hero-art { background: #ddd9d5; }
.cabin-peony-place .cabin-hero-art { background: #e4d8d3; }
.cabin-vetiver-villa .cabin-hero-art { background: #d8dbcd; }

.cabin-hero-copy {
  align-self: center;
  padding: clamp(52px, 8vw, 130px);
}

.back-link {
  display: inline-block;
  margin-bottom: 46px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  text-decoration: none;
}

.cabin-lede {
  max-width: 42rem;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.cabin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cabin-description {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 9vw;
  padding-block: clamp(110px, 15vw, 220px);
}

.cabin-description > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.12rem;
}

.features-section {
  padding: clamp(72px, 9vw, 130px);
  background: var(--paper-green);
}

.features-section > h2 {
  margin-bottom: clamp(58px, 7vw, 100px);
}

.feature-groups {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1.1fr;
  gap: clamp(36px, 6vw, 100px);
}

.feature-group h3 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
}

.feature-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-group li {
  margin-top: 12px;
  color: var(--muted);
}

.layout-section {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 10vw;
  padding-block: clamp(110px, 15vw, 210px);
}

.layout-section h2 {
  font-size: clamp(3rem, 5.6vw, 6.5rem);
}

.layout-section > p {
  align-self: end;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.1rem;
}

.floor-plan-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(48px, 9vw, 150px);
  padding-block: clamp(96px, 12vw, 170px);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.floor-plan-heading h2 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 5.8vw, 6.7rem);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.055em;
}

.floor-plan-figure {
  margin: 0;
}

.floor-plan-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.floor-plan-figure figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.floor-plan-pending {
  align-self: end;
  max-width: 35rem;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.floor-plan-pending p {
  margin: 0;
}

.floor-plan-pending p:first-child {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.floor-plan-pending p + p {
  max-width: 28rem;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.detail-cta {
  padding: clamp(72px, 10vw, 140px);
  background: var(--paper-green);
}

.detail-cta > p {
  margin: 0 0 20px;
}

.detail-cta .button {
  margin-top: 38px;
}

.bespoke-hero-copy {
  align-self: center;
  padding: 2vw 6vw 2vw 0;
}

.bespoke-hero-copy > p:not(.hero-kicker) {
  max-width: 34rem;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 1.08rem;
}

.bespoke-hero-media {
  overflow: hidden;
}

.bespoke-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  animation: hero-image 1.3s var(--ease) 120ms both;
}

.bespoke-principles {
  padding-block: clamp(110px, 15vw, 220px);
}

.bespoke-principles h2 {
  max-width: 12ch;
}

.principle-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.95fr;
  gap: 6vw;
  margin-top: clamp(70px, 9vw, 130px);
}

.principle-grid article {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.principle-grid h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 400;
}

.principle-grid p {
  max-width: 26rem;
  margin: 20px 0 0;
  color: var(--muted);
}

.bespoke-reference {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 10vw;
  padding: clamp(70px, 9vw, 130px);
  background: var(--paper-green);
}

.bespoke-reference p {
  max-width: 42rem;
  margin: 26px 0 0;
  color: var(--muted);
}

.reference-links {
  align-self: end;
}

.reference-links a {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  text-decoration: none;
}

.contact-intro {
  max-width: 1050px;
  padding-block: clamp(90px, 11vw, 160px) clamp(70px, 8vw, 120px);
}

.contact-intro > p:last-child {
  max-width: 40rem;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  gap: clamp(60px, 10vw, 160px);
  padding-bottom: clamp(120px, 15vw, 220px);
}

.enquiry-form {
  min-width: 0;
}

.form-grid,
.optional-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.interest-fieldset legend {
  font-size: 0.86rem;
  font-weight: 600;
}

.optional {
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 400;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #898d82;
  border-radius: 0;
  background: rgb(239 238 232 / 0.35);
}

input,
select {
  min-height: 54px;
  padding: 12px 14px;
}

textarea {
  min-height: 170px;
  padding: 14px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #666b61;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
  border-color: var(--forest);
}

[aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  min-height: 1.2em;
  color: var(--error);
  font-size: 0.78rem;
}

.interest-fieldset {
  min-width: 0;
  margin: 44px 0;
  padding: 0;
  border: 0;
}

.interest-fieldset legend {
  margin-bottom: 16px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.check-option,
.marketing-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.check-option {
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid #898d82;
}

.check-option:has(input:checked) {
  background: var(--paper-green);
  border-color: var(--forest);
}

.check-option input,
.marketing-consent input {
  flex: 0 0 18px;
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: var(--forest-dark);
}

.project-field {
  margin-top: 38px;
}

.marketing-consent {
  max-width: 52rem;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.88rem;
}

.privacy-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.submit-button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  margin: 0;
  font-size: 0.88rem;
}

.form-status.is-error {
  color: var(--error);
}

.honeypot {
  /* This anti-bot field must stay outside every visible layout state. */
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.contact-aside {
  align-self: start;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.contact-aside h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.contact-aside p {
  margin: 24px 0 0;
  color: var(--muted);
}

.legal-content {
  max-width: 1040px;
  padding-block: clamp(90px, 12vw, 170px);
}

.legal-header {
  margin-bottom: 90px;
}

.legal-header > p:last-child {
  margin: 30px 0 0;
  color: var(--muted);
}

.legal-content section {
  max-width: 760px;
  margin-top: 54px;
}

.legal-content h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.legal-content section p {
  margin: 18px 0 0;
  color: var(--muted);
}

.message-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100dvh - var(--header-height));
  padding-block: 80px;
}

.message-page > p:not(.hero-kicker) {
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-enter {
  opacity: 0;
  transform: translateY(20px);
  animation: enter-up 850ms var(--ease) forwards;
}

.hero-enter:nth-child(2) { animation-delay: 80ms; }
.hero-enter:nth-child(3) { animation-delay: 160ms; }
.hero-enter:nth-child(4) { animation-delay: 240ms; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 800ms var(--ease) var(--delay, 0ms), transform 800ms var(--ease) var(--delay, 0ms);
}

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

@keyframes enter-up {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-image {
  from { opacity: 0; transform: scale(1.07); }
  to { opacity: 1; transform: scale(1.02); }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 0.9fr 1.1fr;
  }

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

  .cabin-card-compact {
    grid-template-columns: 1fr;
  }

  .cabin-card-compact .cabin-card-visual {
    aspect-ratio: 4 / 3;
  }

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

  .contact-aside {
    max-width: 540px;
  }
}

@media (max-width: 767px) {
  :root {
    --page: calc(100vw - 32px);
    --header-height: 76px;
  }

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

  .wordmark {
    justify-self: center;
    font-size: 1.65rem;
  }

  .header-contact,
  .header-enquire {
    display: none;
  }

  .header-booking {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .menu-trigger > span:first-child {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .back-button {
    width: 42px;
    height: 42px;
    font-size: 1.7rem;
  }

  .menu-panel-inner {
    width: min(88vw, 350px);
    padding: 20px 28px 34px;
  }

  .menu-panel nav {
    gap: 20px;
    padding-top: 52px;
  }

  .menu-panel nav a {
    font-size: 1.08rem;
  }

  .menu-cabins {
    align-self: start;
  }

  .hero,
  .cabin-hero,
  .bespoke-hero {
    grid-template-columns: 1fr;
    column-gap: 0;
    min-height: auto;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-copy,
  .bespoke-hero-copy {
    padding: 32px 0 46px;
  }

  .hero h1,
  .cabin-hero h1,
  .bespoke-hero h1,
  .contact-intro h1,
  .message-page h1,
  .legal-header h1 {
    font-size: clamp(3.05rem, 14.2vw, 4.7rem);
    line-height: 0.95;
  }

  .hero-media,
  .bespoke-hero-media {
    aspect-ratio: 4 / 5;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .button {
    gap: 18px;
  }

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

  .cabins-section {
    padding-block: 96px;
  }

  .section-intro h2,
  .bespoke-copy h2,
  .story-copy h2,
  .cabin-description h2,
  .features-section > h2,
  .layout-section h2,
  .detail-cta h2,
  .bespoke-principles h2,
  .bespoke-reference h2 {
    font-size: clamp(2.9rem, 13vw, 4.4rem);
  }

  .cabins-grid {
    display: block;
    margin-top: 64px;
  }

  .cabin-card,
  .cabin-card-compact {
    display: block;
    margin-top: 70px;
  }

  .cabin-card:first-child {
    margin-top: 0;
  }

  .cabin-card-featured .cabin-card-visual,
  .cabin-card-compact .cabin-card-visual {
    aspect-ratio: 4 / 5;
  }

  .cabin-card-copy,
  .cabin-card-featured .cabin-card-copy {
    padding-top: 26px;
  }

  .cabin-card h3 {
    font-size: 3rem;
  }

  .bespoke-prompt,
  .story-section,
  .cabin-description,
  .layout-section,
  .bespoke-reference {
    grid-template-columns: 1fr;
  }

  .bespoke-prompt {
    width: 100%;
    min-height: auto;
  }

  .bespoke-image {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .bespoke-copy {
    padding: 52px 16px 64px;
  }

  .story-section {
    gap: 54px;
    padding-block: 110px;
  }

  .story-title {
    padding-bottom: 52px;
  }

  .story-photo-pair {
    min-height: 390px;
  }

  .footer-callout {
    display: block;
  }

  .footer-enquire {
    margin-top: 28px;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
    padding-block: 24px;
  }

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

  .cabin-hero {
    padding-top: 26px;
  }

  .cabin-hero-art {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .cabin-hero-copy {
    padding: 48px 0 70px;
  }

  .back-link {
    margin-bottom: 34px;
  }

  .cabin-description {
    gap: 32px;
    padding-block: 100px;
  }

  .features-section,
  .detail-cta,
  .bespoke-reference {
    width: 100%;
    padding: 72px 16px;
  }

  .feature-groups,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .feature-groups {
    gap: 48px;
  }

  .layout-section {
    gap: 34px;
    padding-block: 100px;
  }

  .floor-plan-section {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-block: 86px;
  }

  .story-detail {
    padding: 72px 16px 92px;
  }

  .story-detail-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .story-portrait-slot {
    width: min(72vw, 290px);
    min-height: min(104vw, 420px);
    justify-self: center;
  }

  .bespoke-principles {
    padding-block: 100px;
  }

  .principle-grid {
    gap: 50px;
    margin-top: 64px;
  }

  .bespoke-reference {
    gap: 58px;
  }

  .contact-intro {
    padding-block: 78px 66px;
  }

  .contact-layout {
    gap: 74px;
    padding-bottom: 110px;
  }

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

  .form-actions {
    display: block;
  }

  .submit-button {
    width: 100%;
  }

  .form-status {
    margin-top: 16px;
  }

  .legal-content {
    padding-block: 80px 110px;
  }

  .legal-header {
    margin-bottom: 68px;
  }
}

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

  *,
  *::before,
  *::after {
    /* The reduced-motion preference must override every component animation. */
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-enter,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
