:root {
  --ink: #1d231f;
  --ink-soft: #58605a;
  --forest: #213127;
  --forest-2: #314438;
  --moss: #788065;
  --sand: #d9c6a6;
  --clay: #aa765e;
  --paper: #f6f2eb;
  --paper-2: #ebe4d8;
  --white: #fffdfa;
  --line: rgba(29, 35, 31, .16);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --container: min(1240px, calc(100vw - 64px));
  --header-height: 92px;
  --ease: cubic-bezier(.2, .75, .25, 1);
  --shadow: 0 24px 60px rgba(21, 27, 23, .14);
}

* {
  box-sizing: border-box;
}

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

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

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

img {
  display: block;
  width: 100%;
  height: auto;
}

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

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

button {
  color: inherit;
  font: inherit;
}

::selection {
  color: var(--white);
  background: var(--clay);
}

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--forest);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

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

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

.section {
  padding-block: 140px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--clay);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 1px;
  content: "";
  background: currentColor;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .97;
}

h1 em,
h2 em {
  font-weight: 400;
}

h2 {
  margin-bottom: 32px;
  font-size: clamp(3.15rem, 5.8vw, 6rem);
}

h3 {
  line-height: 1.25;
}

.lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.45;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: color .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}

.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

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

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(6px);
}

.button--ghost:hover {
  color: var(--forest);
  border-color: var(--white);
  background: var(--white);
}

.button--sand {
  color: var(--forest);
  background: var(--sand);
}

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

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

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .25s ease, gap .25s ease;
}

.text-link:hover {
  gap: 16px;
  color: var(--clay);
}

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

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--white);
  transition: height .35s var(--ease), color .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
}

.site-header.is-scrolled {
  height: 76px;
  color: var(--ink);
  background: rgba(246, 242, 235, .95);
  box-shadow: 0 10px 30px rgba(22, 30, 25, .08);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.brand-mark--official {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-type {
  display: flex;
  flex-direction: column;
  color: inherit;
  line-height: 1;
}

.brand-type strong {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: .025em;
}

.brand-type small {
  margin-top: 5px;
  font-size: .61rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

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

.site-nav > a {
  position: relative;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}

.site-nav > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 11px 18px;
  color: var(--forest);
  background: var(--sand);
}

.site-header.is-scrolled .nav-cta {
  color: var(--white);
  background: var(--forest);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 820px;
  height: 100svh;
  overflow: hidden;
  align-items: center;
  color: var(--white);
  background: var(--forest);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  animation: hero-in 1.6s var(--ease) both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(14, 22, 17, .78) 0%, rgba(14, 22, 17, .38) 46%, rgba(14, 22, 17, .12) 75%),
    linear-gradient(0deg, rgba(11, 18, 14, .5) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 40px;
}

.hero h1 {
  max-width: 920px;
  margin-bottom: 30px;
  font-size: clamp(5rem, 9.5vw, 9.4rem);
  text-shadow: 0 8px 35px rgba(0, 0, 0, .14);
}

.hero h1 em {
  color: var(--sand);
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, .9);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.45;
}

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

.hero-meta {
  position: absolute;
  z-index: 2;
  right: max(32px, calc((100vw - 1240px) / 2));
  bottom: 38px;
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, .3);
}

.hero-meta div {
  display: grid;
  min-width: 190px;
  padding: 17px 22px 0;
  border-left: 1px solid rgba(255, 255, 255, .3);
}

.hero-meta span {
  color: var(--sand);
  font-size: .65rem;
  letter-spacing: .12em;
}

.hero-meta strong {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: max(32px, calc((100vw - 1240px) / 2));
  display: grid;
  width: 54px;
  height: 86px;
  place-items: start center;
  border-right: 1px solid rgba(255, 255, 255, .42);
  border-left: 1px solid rgba(255, 255, 255, .42);
}

.scroll-cue span {
  width: 1px;
  height: 38px;
  background: var(--white);
  animation: scroll-line 1.7s ease-in-out infinite;
  transform-origin: top;
}

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

.intro-grid {
  display: grid;
  align-items: center;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(70px, 9vw, 140px);
}

.intro-copy p:not(.eyebrow):not(.lead) {
  max-width: 590px;
  margin-bottom: 32px;
  color: var(--ink-soft);
}

.intro-visual {
  position: relative;
  min-height: 740px;
}

.image-frame {
  overflow: hidden;
  margin: 0;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.image-frame:hover img {
  transform: scale(1.025);
}

.image-frame--main {
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
  height: 75%;
}

.image-frame--float {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 48%;
  border: 12px solid var(--paper);
  box-shadow: var(--shadow);
}

.round-note {
  position: absolute;
  right: -26px;
  bottom: 30px;
  display: grid;
  width: 140px;
  height: 140px;
  place-content: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--clay);
  text-align: center;
  transform: rotate(-7deg);
}

.round-note span {
  font-family: var(--serif);
  font-size: 1.5rem;
}

.round-note strong {
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.signature-strip {
  overflow: hidden;
  padding-block: 30px;
  color: var(--white);
  background: var(--clay);
}

.signature-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 36px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.signature-track i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand);
}

.rooms {
  background: var(--paper-2);
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 80px;
  grid-template-columns: 1.2fr .65fr;
  gap: 80px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 8px;
  color: var(--ink-soft);
}

.section-heading--compact {
  grid-template-columns: 1fr;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 80px);
}

.room-card--offset {
  margin-top: 110px;
}

.room-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ddd4c6;
}

.room-image img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .5s ease;
}

.room-image:hover img,
.gallery-item:hover img {
  filter: saturate(1.05);
  transform: scale(1.035);
}

.image-zoom {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--forest);
  border-radius: 50%;
  background: rgba(255, 253, 250, .92);
  font-family: var(--serif);
  font-size: 1.5rem;
  transition: color .3s ease, background-color .3s ease, transform .3s ease;
}

a:hover > .image-zoom {
  color: var(--white);
  background: var(--clay);
  transform: rotate(90deg);
}

.room-content {
  padding: 30px 12px 0;
}

.room-number {
  margin-bottom: 12px;
  color: var(--clay);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.room-content h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3vw, 3.1rem);
  font-weight: 400;
}

.room-content > p:not(.room-number) {
  max-width: 550px;
  color: var(--ink-soft);
}

.amenity-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.amenity-inline li {
  padding: 7px 11px;
  border: 1px solid rgba(29, 35, 31, .18);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.spa {
  color: var(--white);
  background: var(--forest);
}

.spa-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(70px, 9vw, 140px);
}

.spa-gallery {
  position: relative;
  min-height: 720px;
}

.spa-main {
  position: absolute;
  inset: 0 15% 10% 0;
  overflow: hidden;
  margin: 0;
}

.spa-main img,
.spa-detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spa-detail {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 42%;
  overflow: hidden;
  border: 10px solid var(--forest);
  box-shadow: var(--shadow);
}

.spa-copy h2 {
  color: var(--white);
}

.spa-copy h2 em {
  color: var(--sand);
}

.spa-copy > .lead {
  color: rgba(255, 255, 255, .82);
}

.spa-points {
  margin: 42px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.spa-points > div {
  display: grid;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  grid-template-columns: 44px 1fr;
}

.spa-points span {
  color: var(--sand);
  font-size: .65rem;
}

.spa-points h3 {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.spa-points p {
  grid-column: 2;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .6);
  font-size: .88rem;
}

.terrace {
  position: relative;
  display: grid;
  min-height: 760px;
  overflow: hidden;
  align-items: center;
  color: var(--white);
}

.terrace-bg,
.terrace-shade {
  position: absolute;
  inset: 0;
}

.terrace-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.terrace-shade {
  background: linear-gradient(90deg, rgba(16, 24, 19, .83), rgba(16, 24, 19, .15) 70%);
}

.terrace-content {
  position: relative;
  z-index: 1;
}

.terrace-content h2 {
  max-width: 790px;
  margin-bottom: 26px;
  font-size: clamp(4.2rem, 7.6vw, 8rem);
}

.terrace-content h2 em {
  color: var(--sand);
}

.terrace-content > p:last-child {
  max-width: 520px;
  color: rgba(255, 255, 255, .84);
  font-size: 1.1rem;
}

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

.service-grid {
  display: grid;
  margin-bottom: 140px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.service-item {
  min-height: 300px;
  padding: 40px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color .35s ease, background-color .35s ease;
}

.service-item:hover {
  color: var(--white);
  background: var(--forest);
}

.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.service-icon svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.service-item h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
}

.service-item p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: .86rem;
}

.service-item:hover p {
  color: rgba(255, 255, 255, .66);
}

.breakfast-grid {
  display: grid;
  align-items: center;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(60px, 8vw, 120px);
}

.breakfast-copy h3 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
}

.breakfast-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.check-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-top: 1px solid var(--line);
  font-size: .84rem;
}

.check-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  top: 17px;
  left: 4px;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--clay);
}

.breakfast-images {
  display: grid;
  align-items: end;
  grid-template-columns: 1.1fr .9fr;
}

.breakfast-images img:first-child {
  height: 540px;
  object-fit: cover;
}

.breakfast-images img:last-child {
  height: 400px;
  margin-left: -30px;
  border: 10px solid var(--paper);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.gallery {
  background: var(--paper-2);
}

.gallery-grid {
  display: grid;
  grid-auto-rows: 280px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  background: #d8d0c4;
}

.gallery-item--tall {
  grid-row: span 2;
}

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

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

.location-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(70px, 9vw, 140px);
}

.location-image {
  position: relative;
  overflow: hidden;
  min-height: 660px;
}

.location-image img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
}

.location-image > span {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 16px 20px;
  color: var(--white);
  background: var(--forest);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.location-copy > .lead {
  color: var(--ink-soft);
}

.location-copy address {
  display: flex;
  margin: 36px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: normal;
  line-height: 1.5;
}

.location-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.booking {
  position: relative;
  display: grid;
  min-height: 720px;
  overflow: hidden;
  place-items: center;
  color: var(--white);
  text-align: center;
}

.booking-bg,
.booking-shade {
  position: absolute;
  inset: 0;
}

.booking-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.booking-shade {
  background: rgba(13, 21, 16, .76);
}

.booking-content {
  position: relative;
  z-index: 1;
}

.booking-content .eyebrow {
  justify-content: center;
}

.booking-content h2 {
  margin-bottom: 26px;
  font-size: clamp(4rem, 8vw, 8rem);
}

.booking-content h2 em {
  color: var(--sand);
}

.booking-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, .78);
  font-size: 1.05rem;
}

.booking-actions {
  justify-content: center;
}

.site-footer {
  color: var(--white);
  background: #152019;
}

.footer-main {
  display: grid;
  padding-block: 86px 70px;
  grid-template-columns: 1.4fr .65fr .65fr .9fr;
  gap: 55px;
}

.brand--footer {
  align-self: start;
  color: var(--sand);
}

.brand--footer .brand-mark {
  width: 54px;
  height: 54px;
}

.footer-logo {
  width: min(190px, 100%);
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .16));
}

.brand--footer .brand-type strong {
  font-size: 1.5rem;
}

.footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.footer-column h2 {
  margin-bottom: 14px;
  color: var(--sand);
  font-family: var(--sans);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  color: rgba(255, 255, 255, .7);
  font-size: .87rem;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-address p {
  margin-bottom: 12px;
}

.footer-bottom {
  display: grid;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
}

.footer-bottom p,
.footer-bottom a {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .46);
  font-size: .64rem;
  letter-spacing: .05em;
}

.footer-bottom div {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: grid;
  padding: 70px 90px;
  color: var(--white);
  background: rgba(8, 12, 9, .95);
  place-items: center;
}

.lightbox figure {
  display: flex;
  max-width: min(1180px, 80vw);
  max-height: calc(100vh - 130px);
  margin: 0;
  align-items: center;
  flex-direction: column;
}

.lightbox-meta {
  position: absolute;
  top: 30px;
  left: 28px;
  max-width: calc(100vw - 150px);
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 180px);
  object-fit: contain;
}

.lightbox figcaption {
  margin-top: 14px;
  color: rgba(255, 255, 255, .7);
  font-size: .74rem;
  letter-spacing: .06em;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  width: 50px;
  height: 50px;
  padding: 0;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: color .25s ease, background-color .25s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  color: var(--forest);
  background: var(--white);
}

.lightbox-close {
  top: 24px;
  right: 28px;
  font-size: 1.7rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 28px;
}

.lightbox-next {
  right: 28px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.js .reveal[data-delay="1"] {
  transition-delay: .12s;
}

.js .reveal[data-delay="2"] {
  transition-delay: .22s;
}

.js .reveal[data-delay="3"] {
  transition-delay: .32s;
}

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

@keyframes hero-in {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes scroll-line {
  0% { opacity: 0; transform: scaleY(0); }
  35% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: translateY(30px) scaleY(.4); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 1100px) {
  :root {
    --container: min(100% - 48px, 1000px);
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav > a {
    font-size: .66rem;
  }

  .hero-meta div {
    min-width: 160px;
  }

  .section-heading {
    gap: 50px;
  }

  .intro-grid,
  .spa-grid,
  .location-grid {
    gap: 70px;
  }

  .intro-visual,
  .spa-gallery {
    min-height: 620px;
  }

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

  .footer-main {
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 35px;
  }
}

@media (max-width: 840px) {
  :root {
    --header-height: 76px;
    --container: min(100% - 40px, 720px);
  }

  .section {
    padding-block: 100px;
  }

  .site-header,
  .site-header.is-scrolled,
  .site-header.menu-active {
    height: 76px;
  }

  .site-header.menu-active,
  .site-header.is-scrolled.menu-active {
    color: var(--white);
    background: var(--forest);
    box-shadow: 0 10px 30px rgba(22, 30, 25, .2);
    backdrop-filter: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 10;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-content: center;
    gap: 7px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 25px;
    height: 1px;
    background: currentColor;
    transition: transform .3s ease;
  }

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

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

  .site-nav {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 44px 30px;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    color: var(--white);
    background: var(--forest);
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -.02em;
    text-transform: none;
  }

  .site-nav > a::after {
    display: none;
  }

  .site-nav .nav-cta,
  .site-header.is-scrolled .nav-cta {
    margin-top: 24px;
    padding: 16px 20px;
    color: var(--forest);
    background: var(--sand);
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-align: center;
    text-transform: uppercase;
  }

  .hero {
    min-height: 780px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(14, 22, 17, .8), rgba(14, 22, 17, .22)), linear-gradient(0deg, rgba(11, 18, 14, .55), transparent 50%);
  }

  .hero h1 {
    font-size: clamp(4.5rem, 15vw, 7rem);
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-meta {
    right: 20px;
    bottom: 30px;
    left: 94px;
    justify-content: flex-end;
  }

  .hero-meta div {
    min-width: 0;
  }

  .hero-meta div:nth-child(3) {
    display: none;
  }

  .scroll-cue {
    left: 20px;
  }

  .intro-grid,
  .spa-grid,
  .location-grid,
  .breakfast-grid {
    grid-template-columns: 1fr;
  }

  .intro-visual {
    min-height: 680px;
  }

  .intro-copy {
    max-width: 650px;
  }

  .section-heading {
    margin-bottom: 60px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading > p {
    max-width: 600px;
  }

  .spa-copy {
    max-width: 650px;
  }

  .spa-gallery {
    min-height: 670px;
  }

  .service-grid {
    margin-bottom: 100px;
  }

  .breakfast-copy {
    max-width: 620px;
  }

  .gallery-grid {
    grid-auto-rows: 240px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-image,
  .location-image img {
    min-height: 520px;
  }

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

  .brand--footer {
    grid-column: span 2;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-bottom div {
    justify-content: flex-start;
  }
}

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

  body {
    font-size: 15px;
  }

  .section {
    padding-block: 78px;
  }

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

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

  .brand-type strong {
    font-size: 1rem;
  }

  .brand-type small {
    font-size: .54rem;
  }

  .hero {
    min-height: 720px;
  }

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

  .hero h1 {
    margin-bottom: 22px;
    font-size: clamp(4.1rem, 21vw, 6rem);
  }

  .hero-lead {
    font-size: 1.15rem;
  }

  .hero-actions,
  .booking-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-meta {
    right: 16px;
    left: 72px;
  }

  .hero-meta div {
    padding-inline: 12px;
  }

  .hero-meta strong {
    font-size: .64rem;
  }

  .scroll-cue {
    left: 16px;
    width: 42px;
  }

  .intro-grid,
  .spa-grid,
  .location-grid,
  .breakfast-grid {
    gap: 55px;
  }

  .intro-visual {
    min-height: 520px;
  }

  .image-frame--main {
    width: 84%;
    height: 75%;
  }

  .image-frame--float {
    width: 58%;
    height: 45%;
    border-width: 7px;
  }

  .round-note {
    right: -8px;
    bottom: 10px;
    width: 106px;
    height: 106px;
  }

  .round-note span {
    font-size: 1.2rem;
  }

  .signature-strip {
    padding-block: 22px;
  }

  .room-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .room-card--offset {
    margin-top: 0;
  }

  .room-content {
    padding: 24px 0 0;
  }

  .spa-gallery {
    min-height: 480px;
  }

  .spa-main {
    right: 8%;
    bottom: 12%;
  }

  .spa-detail {
    width: 49%;
    height: 38%;
    border-width: 6px;
  }

  .terrace {
    min-height: 650px;
  }

  .terrace-bg img {
    object-position: 65% center;
  }

  .terrace-content h2 {
    font-size: clamp(3.5rem, 17vw, 5.2rem);
  }

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

  .service-item {
    min-height: 0;
  }

  .service-icon {
    margin-bottom: 30px;
  }

  .breakfast-images img:first-child {
    height: 360px;
  }

  .breakfast-images img:last-child {
    height: 270px;
    margin-left: -12px;
    border-width: 6px;
  }

  .gallery-grid {
    grid-auto-rows: 210px;
    gap: 9px;
  }

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

  .location-image,
  .location-image img {
    min-height: 400px;
  }

  .location-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking {
    min-height: 670px;
  }

  .booking-content h2 {
    font-size: clamp(3.6rem, 18vw, 5.4rem);
  }

  .footer-main {
    padding-block: 65px 50px;
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .footer-address {
    grid-column: span 2;
  }

  .lightbox {
    padding: 70px 16px 50px;
  }

  .lightbox figure {
    max-width: 100%;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 62px);
  }

  .lightbox-next {
    right: calc(50% - 62px);
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }

  .lightbox-meta {
    top: 20px;
    left: 18px;
    max-width: calc(100vw - 92px);
  }
}

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

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

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

/* Legal page */
.legal-header {
  color: var(--ink);
  background: rgba(246, 242, 235, .96);
  box-shadow: 0 10px 30px rgba(22, 30, 25, .08);
  backdrop-filter: blur(14px);
}

.legal-hero {
  padding: 190px 0 110px;
  color: var(--white);
  background: var(--forest);
}

.legal-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(4rem, 9vw, 8rem);
}

.legal-hero > .container > p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .72);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.legal-content {
  max-width: 900px;
  padding-block: 100px 130px;
}

.legal-content section {
  position: relative;
  padding: 52px 0 52px 90px;
  border-bottom: 1px solid var(--line);
}

.legal-content section h2 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.legal-content section p {
  color: var(--ink-soft);
}

.legal-content section a {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-index {
  position: absolute;
  top: 62px;
  left: 0;
  color: var(--clay) !important;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.legal-draft {
  padding: 24px 28px;
  border-left: 4px solid #b66346;
  color: #492d22;
  background: #f1ded2;
}

.legal-draft strong {
  display: block;
  margin-bottom: 6px;
}

.legal-draft p {
  margin-bottom: 0;
}

.legal-content mark {
  padding: 2px 5px;
  color: #492d22;
  background: #f1ded2;
}

.legal-update {
  margin-top: 34px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-footer .footer-bottom {
  border-top: 0;
}

@media (max-width: 700px) {
  .legal-header .text-link {
    font-size: .64rem;
  }

  .legal-hero {
    padding: 150px 0 80px;
  }

  .legal-content {
    padding-block: 60px 90px;
  }

  .legal-content section {
    padding: 70px 0 42px;
  }

  .legal-index {
    top: 34px;
  }
}

/* Home Spa: due fotografie affiancate, senza sovrapposizione */
.spa .spa-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 18px;
  min-height: 0;
  align-items: stretch;
}
.spa .spa-main,
.spa .spa-detail {
  position: relative;
  inset: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 580px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}
.spa .spa-detail { border: 0; box-shadow: none; display: block; }
.spa .spa-main img, .spa .spa-detail img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@media (max-width: 700px) {
  .spa .spa-gallery { grid-template-columns: 1fr; gap: 16px; }
  .spa .spa-main { height: 310px; }
  .spa .spa-detail { height: 420px; }
}
