/* ============================================================
   Home page styles — three swappable hero variants
   ============================================================ */

/* ============ Hero variants ============ */
.hero { position: relative; }

/* Variant A — Full-bleed image with overlaid type */
.hero--bleed {
  height: clamp(560px, 86vh, 820px);
  overflow: hidden;
  background: var(--evergreen);
}
.hero--bleed .hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero--bleed::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(28,28,26,0.55) 0%, rgba(28,28,26,0.25) 45%, rgba(28,28,26,0.78) 100%),
    linear-gradient(90deg, rgba(28,28,26,0.45) 0%, rgba(28,28,26,0.0) 55%);
  z-index: 1;
}
.hero--bleed h1, .hero--bleed .lede {
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.hero--bleed .hero-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(48px, 7vw, 88px);
}
.hero--bleed h1 {
  color: var(--cream);
  max-width: 16ch;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.hero--bleed .lede { color: rgba(250,246,240,0.88); max-width: 50ch; margin-top: 18px; }
.hero--bleed .hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero--bleed .btn-secondary { color: var(--cream); border-color: rgba(250,246,240,0.6); }
.hero--bleed .btn-secondary:hover { background: var(--cream); color: var(--evergreen); border-color: var(--cream); }

/* Variant B — Editorial split, image right, type left */
.hero--split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: clamp(540px, 78vh, 760px);
  background: var(--cream);
  border-bottom: var(--hairline-soft);
}
.hero--split .hero-text {
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  max-width: 680px;
}
.hero--split .hero-text h1 {
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.04;
}
.hero--split .hero-text .eyebrow { color: var(--brick); }
.hero--split .hero-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--taupe-soft);
}
.hero--split .hero-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero--split .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.hero--split .hero-meta {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: var(--hairline-soft);
  font-size: 13px;
  color: rgba(28,28,26,0.7);
  letter-spacing: 0.02em;
}
.hero--split .hero-meta strong { color: var(--evergreen); font-family: var(--font-display); font-size: 18px; font-weight: 500; }
@media (max-width: 880px) {
  .hero--split { grid-template-columns: 1fr; }
  .hero--split .hero-img-wrap { aspect-ratio: 4 / 3; order: -1; }
}

/* Variant C — Magazine cover, centered serif with framing rule */
.hero--cover {
  background: var(--cream);
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 80px);
  border-bottom: var(--hairline);
}
.hero--cover .hero-inner {
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.hero--cover .masthead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(28,28,26,0.55);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--charcoal);
  margin-bottom: 40px;
}
.hero--cover .masthead span:first-child,
.hero--cover .masthead span:last-child { flex: 1; text-align: left; }
.hero--cover .masthead span:last-child { text-align: right; }
.hero--cover h1 {
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.96;
  font-variation-settings: "opsz" 144, "SOFT" 0;
  letter-spacing: -0.025em;
}
.hero--cover h1 em {
  font-style: italic;
  color: var(--brick);
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.hero--cover .lede {
  max-width: 56ch;
  margin: 28px auto 0;
}
.hero--cover .hero-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 32px;
}
.hero--cover .hero-img-wrap {
  margin-top: clamp(48px, 6vw, 72px);
  padding: 0 var(--gutter);
}
.hero--cover .hero-img-wrap .aspect { aspect-ratio: 21 / 9; }
.hero--cover .hero-img-wrap .caption {
  display: block;
  margin-top: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: rgba(28,28,26,0.55);
  letter-spacing: 0.04em;
}

/* Show only the active variant */
.hero { display: none; }
[data-hero="bleed"] .hero--bleed,
[data-hero="split"] .hero--split,
[data-hero="cover"] .hero--cover { display: block; }
[data-hero="bleed"] .hero--bleed { display: block; }
[data-hero="split"] .hero--split { display: grid; }
@media (max-width: 880px) {
  [data-hero="split"] .hero--split { display: grid; }
}

/* ============ Why book direct ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.why-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--charcoal);
}
.why-card .num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--brick);
  letter-spacing: 0.04em;
  margin: 0;
}
.why-card h3 {
  font-size: 22px;
  line-height: 1.15;
  margin: 4px 0 6px;
}
.why-card p { color: rgba(28,28,26,0.72); font-size: 15px; margin: 0; }
@media (max-width: 880px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ============ The Stays ============ */
.stays-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
}
.stay-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-decoration: none;
  color: inherit;
}
.stay-card .aspect { aspect-ratio: 4 / 5; transition: transform 0.4s ease; }
.stay-card:hover .aspect img { transform: scale(1.02); }
.stay-card .aspect img { transition: transform 0.6s ease; }
.stay-card .stay-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.stay-card h3 {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.1;
}
.stay-card .stay-rating {
  font-size: 13px;
  color: var(--evergreen);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.stay-card .stay-rating .star { color: var(--brick); }
.stay-card .tagline { color: rgba(28,28,26,0.72); font-size: 16px; margin: 0; }
.stay-card .specs {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--charcoal);
  letter-spacing: 0.02em;
  padding-top: 16px;
  border-top: var(--hairline-soft);
}
.stay-card .stay-cta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 4px;
}
.stay-card .from {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--evergreen);
}
.stay-card .from small { font-family: var(--font-body); font-size: 12px; color: var(--charcoal); margin-left: 4px; }
.stay-card .stay-arrow {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--brick);
  transition: gap 0.2s ease;
}
.stay-card:hover .stay-arrow { gap: 12px; }
.stay-card.stay-card--featured .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cream);
  color: var(--evergreen);
  border: 1px solid var(--evergreen);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  position: absolute;
  top: 16px;
  left: 16px;
}
.stay-card .aspect { position: relative; }
@media (max-width: 880px) {
  .stays-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* ============ Meet West Hartford ============ */
.weha-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.weha-block .aspect { aspect-ratio: 5 / 4; }
.weha-block .copy h2 { margin-bottom: 24px; }
.weha-block .copy p { font-size: 16px; line-height: 1.6; color: rgba(28,28,26,0.78); margin-bottom: 18px; }
.weha-block .copy .btn-ghost { margin-top: 8px; }
@media (max-width: 880px) {
  .weha-block { grid-template-columns: 1fr; }
  .weha-block .aspect { aspect-ratio: 16 / 10; }
}

/* ============ FAQ ============ */
.faq-list {
  border-top: 1px solid var(--charcoal);
  max-width: 880px;
}
.faq-item {
  border-bottom: var(--hairline-soft);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--charcoal);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 22px;
  color: var(--evergreen);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer {
  padding: 0 0 24px;
  max-width: 65ch;
  color: rgba(28,28,26,0.78);
  font-size: 15px;
  line-height: 1.6;
}

/* ============ Newsletter ============ */
.newsletter {
  background: var(--evergreen);
  color: var(--cream);
  padding: clamp(64px, 8vw, 112px) 0;
  margin-top: var(--section-y);
}
.newsletter .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
}
.newsletter h2 { color: var(--cream); font-size: clamp(28px, 3.5vw, 48px); }
.newsletter p { color: rgba(250,246,240,0.78); margin-top: 12px; font-size: 16px; }
.newsletter form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(250,246,240,0.4);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(250,246,240,0.05);
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 16px 18px;
  color: var(--cream);
  font-size: 15px;
}
.newsletter input::placeholder { color: rgba(250,246,240,0.55); }
.newsletter input:focus { outline: none; }
.newsletter button {
  background: var(--brick);
  color: var(--cream);
  padding: 16px 24px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.newsletter button:hover { background: var(--brick-hover); }
@media (max-width: 880px) {
  .newsletter .container { grid-template-columns: 1fr; }
  .newsletter form { flex-direction: column; }
}
