@import url("assets/fonts.css");

:root {
  color-scheme: light;
  --forest: #23382e;
  --deep: #192a22;
  --ivory: #f0ebe1;
  --paper: #f8f5ee;
  --cashmere: #b6a38c;
  --walnut: #76543e;
  --graphite: #252523;
  --gold: #b69a62;
  --line: #d2c8b8;
  --headline: "Cormorant Garamond", "Times New Roman", serif;
  --body: Manrope, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--graphite); font: 1rem/1.65 var(--body); }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, dl { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { width: min(88%, 1280px); margin-inline: auto; }
.section-padding { padding-block: clamp(4.25rem, 8.5vw, 8.5rem); }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 8px; padding: .65rem 1rem; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { background: var(--deep); color: var(--ivory); position: relative; z-index: 2; }
.header-inner { width: min(90%, 1440px); margin-inline: auto; min-height: 86px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.75rem; }
.wordmark { width: fit-content; text-decoration: none; display: grid; justify-items: start; }
.wordmark span { white-space: nowrap; font: 500 clamp(1.45rem, 2.65vw, 2rem)/1 var(--headline); }
.wordmark small { margin-top: .4rem; color: #d6c6ac; font-size: .75rem; letter-spacing: .14em; }
nav { display: flex; gap: clamp(1rem, 2.2vw, 2.5rem); align-items: center; }
nav a, .site-footer a:not(.wordmark) { font-size: .875rem; text-decoration: none; }
nav a:hover, .site-footer a:not(.wordmark):hover { text-decoration: underline; text-underline-offset: .3em; }
.menu-toggle, .mobile-contact { display: none; }

.button { display: inline-grid; place-items: center; min-height: 49px; padding: .72rem 1.2rem; font: 700 .875rem/1.35 var(--body); text-decoration: none; text-align: center; border: 1px solid transparent; transition: color .18s, background .18s, border .18s; }
.button-header { justify-self: end; border-color: #a89162; color: var(--ivory); min-height: 42px; }
.button-header:hover, .button-outline:hover { background: var(--ivory); color: var(--deep); }
.button-light { background: var(--ivory); color: var(--deep); }
.button-light:hover { background: #d9cbb5; border-color: #d9cbb5; }
.button-outline { border-color: #e2dace; color: var(--ivory); }
.button-dark { background: var(--forest); color: var(--ivory); }
.button-dark:hover { background: #344c3c; }
.eyebrow { color: var(--walnut); text-transform: uppercase; font-size: .875rem; font-weight: 700; letter-spacing: .16em; }
h1, h2, h3 { font-family: var(--headline); font-weight: 500; letter-spacing: -.035em; }
h1 { font-size: clamp(3.55rem, 7.9vw, 8.2rem); line-height: .86; }
h2 { font-size: clamp(3.2rem, 6.1vw, 6.1rem); line-height: .9; }
h3 { font-size: clamp(2rem, 4.1vw, 4rem); line-height: .98; }
em { font-weight: 500; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(620px, 77svh, 880px); color: var(--ivory); background: #3c4b42; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: 42% center; }
.hero::after { z-index: -1; content: ""; background: linear-gradient(90deg, #132419da 0%, #17291db5 29%, #13241946 66%, #13241911 100%), linear-gradient(0deg, #19272183, transparent 30%); }
.hero-copy { max-width: 860px; padding-block: 4rem 6rem; }
.hero .eyebrow { color: #e8d9bb; margin-bottom: 1.5rem; }
.hero h1 em { color: #f2e5ca; }
.hero-description { max-width: 35rem; margin-top: 1.7rem; font-size: clamp(1.05rem, 1.45vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-credit { position: absolute; inset: auto 6% 1.6rem auto; font-size: .8125rem; letter-spacing: .075em; color: var(--ivory); }

.apartments { background: var(--ivory); }
.section-intro { display: grid; grid-template-columns: 1fr minmax(16rem, 30rem); column-gap: 3rem; align-items: end; }
.section-intro .eyebrow { grid-column: 1 / -1; margin-bottom: 1.2rem; }
.section-intro > p:last-child { max-width: 29rem; padding-bottom: .3rem; }
.section-intro h2, .reviews h2, .visit h2 { color: var(--forest); }
.balia-layout { align-items: center; row-gap: 1.5rem; }
.balia-copy p { max-width: 30rem; margin-top: 1rem; }
.room-media.balia-gallery { width: 100%; max-width: 25rem; min-height: 0; aspect-ratio: 4 / 5; justify-self: end; background: var(--deep); }
.balia-gallery img { object-fit: contain; }
.room-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: clamp(1.7rem, 4vw, 3.3rem) 1rem; }
.room-tabs button { min-height: 46px; color: var(--forest); background: transparent; border: 1px solid var(--line); padding: .55rem .9rem; font-size: .875rem; }
.room-tabs button:hover { border-color: var(--forest); }
.room-tabs button[aria-selected="true"] { color: var(--ivory); background: var(--forest); border-color: var(--forest); }
.room-feature { display: grid; grid-template-columns: 1.45fr 1fr; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.room-media { position: relative; min-height: clamp(25rem, 40vw, 37rem); background: #51453b; }
.room-media img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.room-photo-viewport { position: absolute; inset: 0; }
.room-media.has-gallery { background: var(--deep); }
.has-gallery .room-photo-viewport { inset-block-end: 3.75rem; touch-action: pan-y pinch-zoom; }
.has-gallery #room-image { object-fit: contain; }
.room-photo-controls {
  position: absolute;
  inset: auto 0 0;
  min-height: 3.75rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .45rem;
  align-items: center;
  padding: .35rem clamp(.35rem, 2vw, 1.2rem);
  background: var(--deep);
  color: var(--ivory);
}
.room-photo-controls button {
  min-height: 44px;
  padding: .4rem .55rem;
  border: 1px solid #a89162;
  background: transparent;
  color: inherit;
  font-size: .875rem;
}
.room-photo-controls button:hover { background: var(--ivory); color: var(--deep); }
.room-photo-controls p { text-align: center; font-size: .875rem; line-height: 1.3; }

.room-copy { display: grid; align-content: center; justify-items: start; gap: 1.2rem; padding: clamp(1.7rem, 4.6vw, 4.25rem); }
.room-copy h3 { color: var(--forest); }
.room-facts { display: grid; gap: .35rem; list-style: none; margin: 0 0 .3rem; padding: 0; font-size: .9375rem; }
.room-facts li::before { content: ""; width: .75rem; height: 1px; display: inline-block; margin: 0 .65rem .28em 0; background: var(--walnut); }

.experience { background: var(--deep); color: var(--ivory); display: grid; grid-template-columns: 1.05fr 1fr; }
.experience-photos { position: relative; min-height: 100%; background: #42554b; }
.experience-photos img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.experience-copy { padding: clamp(3.25rem, 7vw, 7.5rem) clamp(1.75rem, 6vw, 7rem); }
.experience .eyebrow, .booking .eyebrow { color: #dfc799; }
.experience h2, .visit h2, .booking h2 { margin-block: 1.05rem 1.8rem; }
.experience dl div, .visit dl div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: .74rem 0; border-bottom: 1px solid #d0b89040; }
.experience dt { color: #e6cc9b; font-weight: 700; }
dd { margin: 0; }

.reviews { background: var(--ivory); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-block: clamp(1.7rem, 4vw, 3.3rem) 1.5rem;
}
.review-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: .85rem;
  margin: 0;
  border: 1px solid var(--line);
  padding: clamp(1.3rem, 2.7vw, 2.4rem);
  background: var(--paper);
}
.review-card:first-child { grid-column: span 2; background: var(--forest); color: var(--ivory); }
.review-stars { color: var(--walnut); letter-spacing: .15em; line-height: 1; }
.review-card:first-child .review-stars { color: #dfc799; }
.review-card blockquote { margin: 0; }
.review-card:first-child blockquote { font: 500 clamp(1.75rem, 3vw, 2.75rem)/1.12 var(--headline); }
.review-card figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; font-size: .875rem; }
.review-card figcaption a { text-underline-offset: .2em; }

.attractions { background: var(--paper); color: var(--forest); }
.attraction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem clamp(1.25rem, 3.2vw, 3rem);
  margin-block: clamp(1.7rem, 4vw, 3.3rem) 2rem;
}
.attraction {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: .65rem;
  padding-block: 1.1rem .65rem;
  border-top: 1px solid var(--line);
}
.attraction h3 { font-size: clamp(1.9rem, 3.05vw, 2.85rem); line-height: 1.03; }
.attraction p { color: var(--graphite); }
.attraction .attraction-distance { color: var(--walnut); font-size: .875rem; font-weight: 700; }
.attraction-source { margin-bottom: .65rem; font-size: .875rem; color: var(--graphite); }
.attraction-links { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem 1rem; }

.visit { background: var(--paper); }
.visit-grid, .booking-grid { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(2.3rem, 7vw, 8rem); align-items: start; }
.visit address { margin-bottom: 1.1rem; }
.text-link { color: inherit; background: transparent; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .25em; font-weight: 700; font-size: .875rem; }
.text-link:hover { text-decoration-thickness: 2px; }
.visit-details { padding-top: .45rem; }
.visit-details h3, .booking-form h3 { color: var(--forest); font-size: clamp(2rem, 3.6vw, 3.25rem); }
.visit-details dl { margin-top: .95rem; }
.visit dl div { grid-template-columns: minmax(7rem, auto) 1fr; border-color: var(--line); }
.visit dt { font-weight: 700; }
details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
summary { cursor: pointer; font-weight: 700; }
details p { padding: .6rem 0 .15rem; }

.booking { background: var(--forest); color: var(--ivory); }
.booking-grid { align-items: center; }
.booking-copy > p:not(.eyebrow) { max-width: 30rem; }
.booking address { display: grid; margin-top: 1.4rem; gap: .2rem; justify-items: start; }
.booking address a { text-underline-offset: .25em; }
.booking-form { background: var(--ivory); color: var(--graphite); padding: clamp(1.35rem, 4vw, 3.25rem); }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1rem; margin-block: 1.5rem; }
.booking-form label { display: grid; gap: .35rem; font-size: .875rem; font-weight: 700; min-width: 0; }
.booking-form input, .booking-form select, .booking-form textarea { display: block; padding: .6rem .6rem; min-width: 0; width: 100%; min-height: 48px; color: var(--graphite); border: 1px solid #958979; border-radius: 0; background: var(--paper); font-size: 1rem; font-weight: 400; }
.booking-form select { appearance: none; padding-right: 2rem; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%2323382e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") right .75rem center no-repeat; }
.form-note { font-size: .875rem; margin-top: .65rem; }
.email-fallback { margin-top: 1rem; }
.inquiry-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.15rem; margin-top: .65rem; }
.site-footer { padding: 2rem 0; background: var(--deep); color: var(--ivory); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 1.15rem 2rem; }
.footer-inner .wordmark { margin-right: auto; }

@media (max-width: 890px) {
  .header-inner { gap: .85rem; }
  nav { gap: 1rem; }
  .review-grid, .attraction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room-feature { grid-template-columns: 1.1fr 1fr; }
  .room-media { min-height: 26rem; }
  .experience-copy { padding-inline: 2rem; }
}

@media (max-width: 780px) {
  .wrap { width: 89%; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 68px; }
  .menu-toggle { display: block; padding: .45rem .8rem; min-height: 42px; font-size: .875rem; color: var(--ivory); background: transparent; border: 1px solid #a89162; }
  .site-header nav { display: none; position: absolute; inset: 100% 0 auto; padding: .6rem 5.5% 1rem; background: var(--deep); }
  .site-header nav.is-open { display: grid; gap: 0; }
  .site-header nav a { display: block; padding: .75rem 0; border-top: 1px solid #d0b89050; }
  .button-header { display: none; }
  .hero { min-height: clamp(520px, 76svh, 670px); }
  .hero-image { object-position: 36% center; }
  .hero::after { background: linear-gradient(90deg, #14291cc7, #14291c69), linear-gradient(0deg, #14291ca6, transparent 30%); }
  .hero-copy { padding-block: 3.3rem 5rem; }
  .hero .eyebrow { margin-bottom: 1rem; }
  .hero h1 { font-size: clamp(3.35rem, 12vw, 5.4rem); }
  .hero-description { margin-top: 1.15rem; max-width: 22rem; }
  .hero-actions { margin-top: 1.5rem; }
  .hero-credit { right: 5.5%; bottom: 1rem; }
  .section-intro, .room-feature, .experience, .visit-grid, .booking-grid { grid-template-columns: 1fr; }
  .section-intro { row-gap: 1rem; }
  .room-media.balia-gallery { justify-self: start; }
  .review-grid, .attraction-grid { grid-template-columns: 1fr; }
  .review-card:first-child { grid-column: auto; }
  .section-intro .eyebrow { margin-bottom: 0; }
  .room-media { min-height: clamp(215px, 66vw, 360px); }
  .room-copy { gap: .9rem; }
  .experience-photos { min-height: clamp(255px, 66vw, 400px); }
  .experience-copy { padding-inline: 5.5%; }
  .experience dl div { grid-template-columns: 4.25rem 1fr; }
}

@media (max-width: 360px) {
  .hero-actions .button { width: 100%; }
  .form-fields { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.photo-note {
  position: absolute;
  inset: auto auto 1rem 1rem;
  max-width: calc(100% - 2rem);
  padding: .32rem .65rem;
  background: #192a22e8;
  color: var(--ivory);
  font-size: .8125rem;
}
