/* Home page styles */

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  color: var(--cream);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: heroZoom 20s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21,40,31,0.55) 0%, rgba(21,40,31,0.15) 30%, rgba(21,40,31,0.45) 70%, rgba(21,40,31,0.85) 100%),
    linear-gradient(90deg, rgba(21,40,31,0.55) 0%, rgba(21,40,31,0) 50%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 80px 1fr auto;
  gap: 24px 48px;
  padding-top: 140px;
  padding-bottom: 56px;
}
.hero-meta { grid-column: 1 / -1; align-self: end; }
.hero-title {
  grid-column: 1;
  align-self: end;
  color: var(--cream-50);
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
  animation: heroTitleIn 1.2s cubic-bezier(.2,.7,.2,1) .15s both;
}
.hero-title em { color: var(--brass-light); }
@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-side {
  grid-column: 2;
  align-self: end;
  max-width: 360px;
  justify-self: end;
  animation: heroTitleIn 1.2s cubic-bezier(.2,.7,.2,1) .35s both;
}
.hero-lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: rgba(250, 246, 236, 0.88);
  margin-bottom: 28px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-foot {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 40px;
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.16);
  animation: heroTitleIn 1.2s cubic-bezier(.2,.7,.2,1) .55s both;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--cream-50);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: var(--gutter);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero-scroll svg { transform: rotate(180deg); }

/* ===== Quick book ===== */
.quickbook {
  background: var(--paper);
  margin-top: -56px;
  position: relative;
  z-index: 5;
  padding: 0 var(--gutter);
}
.quickbook-inner {
  background: var(--cream-50);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 14px;
  box-shadow: 0 30px 60px -30px rgba(21,40,31,0.4);
}
.qb-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 8px;
  align-items: end;
}
.qb-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border-right: 1px solid var(--rule);
}
.qb-field:last-of-type { border-right: none; }
.qb-field label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-dark);
  font-weight: 600;
}
.qb-field input,
.qb-field select {
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: var(--pine-900);
  padding: 4px 0;
}
/* The focus ring is drawn on .qb-field via :focus-within (see site.css), so the
   control itself stays ringless without leaving keyboard users stranded. */
.qb-field input:focus-visible,
.qb-field select:focus-visible { outline: none; }
.qb-field select { -webkit-appearance: none; appearance: none; }
.qb-submit {
  height: 100%;
  padding: 18px 24px;
  border-radius: 2px;
}

/* ===== About ===== */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about-copy h2 { margin: 18px 0 24px; }
.about-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 28px 0;
  margin: 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.meta-k {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-dark);
  font-weight: 600;
  margin-bottom: 6px;
}
.meta-v {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
  color: var(--pine-900);
}

.about-collage {
  position: relative;
  height: clamp(440px, 56vw, 620px);
}
.about-collage figure {
  position: absolute;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(21,40,31,0.4);
}
.about-collage img { width: 100%; height: 100%; object-fit: cover; }
.ac-1 { top: 0; right: 0; width: 70%; height: 60%; }
.ac-2 { top: 38%; left: 0; width: 38%; height: 30%; }
.ac-3 { bottom: 0; right: 8%; width: 60%; height: 42%; }
.ac-stamp {
  position: absolute;
  bottom: 8%;
  left: 0;
  width: 130px;
  height: 130px;
  background: var(--brass);
  color: var(--cream-50);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  z-index: 2;
  box-shadow: 0 14px 30px -10px rgba(181,140,67,0.5);
}
.ac-stamp span { font-size: 32px; line-height: 1; }
.ac-stamp small { font-family: var(--sans); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; font-style: normal; margin-top: 6px; line-height: 1.3; }

/* ===== Section heads ===== */
.section-head { max-width: 64ch; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 18px; }
.section-head.light h2,
.section-head.light .lede { color: var(--cream-50); }
.section-head.light h2 { color: var(--cream); }

/* ===== Rooms ===== */
.rooms { background: var(--cream-50); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.room-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.room-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(21,40,31,0.3); }
.room-card.featured { background: var(--pine-900); color: var(--cream); border-color: var(--pine-900); }
.room-card.featured h3 { color: var(--cream); }
.room-card.featured .room-meta li { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.16); }
.room-card.featured .room-price { color: var(--brass-light); }
.room-card.featured .room-price .cur { color: rgba(255,255,255,0.5); }
.room-card.featured p { color: rgba(255,255,255,0.78); }
.room-card.featured .btn-primary { background: var(--brass); }
.room-card.featured .btn-primary:hover { background: var(--brass-dark); }
.room-card.featured .link-arrow { color: var(--cream); }

.room-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
}
.room-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.room-card:hover .room-media img { transform: scale(1.06); }
.room-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 12px;
  background: rgba(251, 248, 241, 0.9);
  backdrop-filter: blur(6px);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pine-900);
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
}
.room-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.room-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.room-price {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--pine-900);
  white-space: nowrap;
}
.room-price .cur { font-size: 11px; letter-spacing: 0.14em; color: var(--brass-dark); margin-right: 4px; vertical-align: middle; font-family: var(--sans); font-weight: 600; }
.room-price .per { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); margin-left: 4px; font-weight: 400; }
.room-meta {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.room-meta li {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-weight: 500;
}
.room-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 4px;
}

/* ===== Amenities ===== */
.amenities {
  background: var(--pine-900);
  color: var(--cream);
}
.amenity-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-left: 1px solid rgba(255,255,255,0.1);
}
.amenity {
  padding: 36px 28px;
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .25s ease;
}
.amenity:hover { background: rgba(255,255,255,0.03); }
.amenity-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid rgba(217, 183, 119, 0.4);
  border-radius: 50%;
  color: var(--brass-light);
  font-size: 21px;
  flex-shrink: 0;
}
.amenity h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
  margin: 0;
  letter-spacing: -0.005em;
}
.amenity p { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.55; margin: 0; }

/* ===== Gallery preview ===== */
.gallery-preview { background: var(--paper); }
.gp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 16px;
}
.gp-item {
  display: block;
  overflow: hidden;
  position: relative;
  background: var(--sage-100);
}
.gp-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.gp-item:hover img { transform: scale(1.05); filter: brightness(1.05); }
.gp-tall { grid-row: span 2; }
.gp-wide { grid-column: span 2; }

/* ===== Location ===== */
.location { background: var(--cream-50); }
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: stretch;
}
.loc-copy h2 { margin: 18px 0 22px; }
.loc-list {
  list-style: none;
  margin: 32px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.loc-list li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.loc-list li:first-child { border-top: 1px solid var(--rule); }
.loc-num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 300;
  color: var(--brass);
  line-height: 1;
  letter-spacing: -0.02em;
  font-style: italic;
}
.loc-list h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 4px;
}
.loc-list p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.loc-map {
  margin: 0;
  border: 1px solid var(--rule);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(21,40,31,0.3);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}
.loc-map iframe {
  flex: 1;
  width: 100%;
  min-height: 480px;
  display: block;
  border: 0;
}

/* ===== Testimonial ===== */
.testimonial {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.quote {
  margin: 0;
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
}
.quote .eyebrow { margin-bottom: 32px; }
.quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.25;
  color: var(--pine-900);
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}
.quote figcaption strong {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--pine-900);
}
.quote figcaption span { color: var(--ink-soft); letter-spacing: 0.06em; }



/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-column: 1; justify-self: start; max-width: 520px; }
  .hero-foot { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .loc-grid { grid-template-columns: 1fr; }
  .about-collage { height: 480px; max-width: 600px; }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .room-card.featured { order: -1; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .gp-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 200px 200px 200px; }
  .gp-tall { grid-row: span 1; }
  .gp-wide { grid-column: span 2; }
  .qb-form { grid-template-columns: 1fr 1fr; }
  .qb-field { border-right: none; border-bottom: 1px solid var(--rule); }
}
/* One room card per row once two would be narrower than ~330px. */
@media (max-width: 760px) {
  .rooms-grid { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 600px) {
  .hero-foot { grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 28px; margin-top: 32px; }
  .stat-num { font-size: 26px; }
  .amenity-grid { grid-template-columns: 1fr; }
  .gp-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 200px); }
  .gp-wide { grid-column: span 1; }
  .qb-form { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
}
