/* LouisvilleKY.rentals — one stylesheet, no frameworks, no plugins. */

:root {
  --paper: #f6f8f6;
  --white: #ffffff;
  --ink: #1d2a26;
  --ink-soft: #4a5a55;
  --green: #2f5d50;
  --green-deep: #1f4239;
  --rose: #b3263e;
  --rose-deep: #911c31;
  --amber: #c98a2e;
  --mist: #e1e8e4;
  --radius: 6px;
  --wrap: 1120px;
  --read: 42rem;
  --display: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--rose); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.25rem, 7vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.25rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--green-deep);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.brand span { color: var(--amber); }
.brand:hover { color: var(--white); }

.menu-btn {
  background: none;
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
  font: inherit;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: var(--radius);
  cursor: pointer;
}
.nav { display: none; }
.nav.open {
  display: block;
  position: absolute;
  top: 64px; left: 0; right: 0;
  background: var(--green-deep);
  padding: 8px 16px 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a, .nav summary {
  color: var(--white);
  text-decoration: none;
  display: block;
  padding: 12px 0;
  font-weight: 600;
  cursor: pointer;
}
.nav a:hover, .nav summary:hover { color: var(--amber); }
.nav summary { list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: "+"; float: right; font-weight: 400; }
.nav details[open] summary::after { content: "–"; }
.nav details ul a { font-weight: 400; padding: 8px 0 8px 14px; color: #d6e2dc; }
.nav .nav-book a {
  margin-top: 8px;
  background: var(--rose);
  border-radius: var(--radius);
  padding: 12px 16px;
  text-align: center;
}
.nav .nav-book a:hover { background: var(--rose-deep); color: var(--white); }

@media (min-width: 900px) {
  .menu-btn { display: none; }
  .nav, .nav.open { display: block; position: static; padding: 0; border: 0; background: none; max-height: none; overflow: visible; }
  .nav > ul { display: flex; align-items: center; gap: 28px; }
  .nav a, .nav summary { padding: 8px 0; }
  .nav summary::after { content: "▾"; float: none; margin-left: 6px; font-size: .8em; }
  .nav details[open] summary::after { content: "▾"; }
  .nav details { position: relative; }
  .nav details ul {
    position: absolute;
    top: calc(100% + 10px);
    left: -16px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(20, 40, 34, .18);
    padding: 8px 0;
    min-width: 260px;
  }
  .nav details ul a { color: var(--ink); padding: 9px 18px; }
  .nav details ul a:hover { background: var(--mist); color: var(--ink); }
  .nav .nav-book a { margin: 0; padding: 9px 18px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--rose);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: var(--radius);
  line-height: 1.2;
  text-align: center;
}
.btn:hover { background: var(--rose-deep); color: var(--white); }
.btn.ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.btn.outline { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn.outline:hover { background: var(--green); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .btn-row .btn { flex: 1 1 100%; } }

/* ---------- Home hero ---------- */
.hero {
  background: var(--green-deep);
  color: var(--white);
  padding: 40px 0 0;
  overflow: hidden;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 10vw, 5.75rem);
  line-height: .98;
  letter-spacing: -.02em;
  max-width: 11ch;
  margin-bottom: 20px;
}
.hero p.lede { font-size: 1.15rem; color: #d6e2dc; max-width: 34rem; margin-bottom: 28px; }
.hero-photo {
  margin-top: 40px;
  aspect-ratio: 4 / 3;
  background: var(--green) 50% 40% / cover no-repeat;
  border-radius: var(--radius) var(--radius) 0 0;
}
@media (min-width: 900px) {
  .hero { padding-top: 72px; }
  .hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
  .hero-photo { margin-top: 0; aspect-ratio: 4 / 5; border-radius: var(--radius) var(--radius) 0 0; }
  .hero-copy { padding-bottom: 72px; }
}

/* ---------- Sections ---------- */
.band { padding: 56px 0; }
.band.white { background: var(--white); }
.band.green { background: var(--green); color: var(--white); }
.band.green h2, .band.green h3 { color: var(--white); }
.band.green a { color: var(--white); }
@media (min-width: 900px) { .band { padding: 88px 0; } }
.band-head { max-width: 40rem; margin-bottom: 28px; }
.band-head p { color: var(--ink-soft); }
.band.green .band-head p { color: #d6e2dc; }

/* Condo cards */
.stays { display: grid; gap: 28px; }
@media (min-width: 720px) { .stays { grid-template-columns: repeat(3, 1fr); } }
.stay { text-decoration: none; color: var(--ink); display: block; }
.stay:hover { color: var(--ink); }
.stay .photo { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.stay .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.stay:hover .photo img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .stay .photo img { transition: none; } }
.stay h3 { margin: 14px 0 4px; }
.stay:hover h3 { color: var(--rose); }
.stay .facts { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.stay.soon .photo { display: grid; place-items: center; color: var(--ink-soft); font-family: var(--display); font-size: 1.25rem; background: repeating-linear-gradient(135deg, var(--mist) 0 14px, #d7e0db 14px 28px); }

/* Group booking callout */
.group {
  display: grid;
  gap: 16px;
  align-items: center;
  margin-top: 40px;
  padding: 24px;
  border-radius: var(--radius);
  border: 2px solid var(--green);
}
.group h3 { margin: 0 0 4px; }
.group p { margin: 0; color: var(--ink-soft); }
@media (min-width: 720px) { .group { grid-template-columns: 1fr auto; padding: 28px 32px; } }

/* Explore grid */
.explore { display: grid; gap: 16px; }
@media (min-width: 600px) { .explore { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .explore { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 220px;
  padding: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  background: var(--green) center / cover no-repeat;
  isolation: isolate;
}
.tile::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 30, 26, .9) 0%, rgba(15, 30, 26, .35) 55%, rgba(15, 30, 26, .1) 100%);
  z-index: -1;
}
.tile h3 { color: var(--white); margin: 0 0 4px; font-size: 1.5rem; }
.tile p { margin: 0; font-size: .95rem; color: #e4ece8; }
.tile:hover { color: var(--white); }
.tile:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Host */
.host { display: grid; gap: 28px; align-items: center; }
.host-photo {
  margin: 0 auto 0 0;
  width: min(100%, 320px);
  padding: 8px;
}
.host-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 30% 50%;
  border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: 0 0 0 6px var(--white), 0 0 0 8px var(--amber);
}
@media (min-width: 800px) { .host { grid-template-columns: 340px 1fr; gap: 56px; } }
.host blockquote { margin: 0 0 20px; font-family: var(--display); font-size: clamp(1.35rem, 3.4vw, 1.9rem); line-height: 1.3; font-weight: 500; }

/* Discount */
.discount { display: grid; gap: 12px 48px; }
@media (min-width: 800px) { .discount { grid-template-columns: 1fr 1fr; align-items: start; } }
.discount p { font-size: 1.1rem; }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  background: var(--green-deep);
  color: var(--white);
  padding: 40px 0 36px;
}
.page-head h1 { color: var(--white); max-width: 18ch; margin-bottom: 12px; }
.page-head p { color: #d6e2dc; font-size: 1.15rem; max-width: 36rem; margin: 0; }
.crumb { font-size: .9rem; margin-bottom: 14px; color: #b9cbc3; }
.crumb a { color: #b9cbc3; }
@media (min-width: 900px) { .page-head { padding: 64px 0 56px; } }

/* ---------- Article (guide pages) ---------- */
.article { padding: 40px 0 64px; }
.prose { max-width: var(--read); }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose img { border-radius: var(--radius); margin: 1.25em 0 1.5em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.25em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--amber); color: var(--ink-soft); font-style: italic; }
.prose .lead { font-size: 1.2rem; line-height: 1.55; }
.prose .meta { color: var(--ink-soft); font-size: .95rem; margin: -.3em 0 .5em; }
.prose .img-small { max-width: min(320px, 100%); }

.place { padding: 20px 0; border-top: 1px solid var(--mist); }
.place h3 { margin: 0 0 4px; font-size: 1.25rem; }
.place p:last-child { margin-bottom: 0; }
.place img { margin-bottom: 0; }
.place .walk { display: inline-block; font-family: var(--body); font-size: .8rem; font-weight: 700; color: var(--green); background: var(--mist); border-radius: 3px; padding: 2px 7px; margin-left: 6px; vertical-align: middle; }

.stay-box {
  margin: 2em 0;
  padding: 22px 24px;
  background: var(--white);
  border-left: 4px solid var(--rose);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.stay-box h3 { margin: 0 0 8px; font-size: 1.25rem; }
.stay-box p { margin-bottom: 14px; }
.stay-box p:last-child { margin-bottom: 0; }
.stay-box .btn-row { margin-top: 4px; }

.dates { list-style: none; padding: 0 !important; margin: 0 0 1.25em; border-top: 1px solid var(--mist); }
.dates li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--mist); margin: 0; }
.dates li strong { font-weight: 600; }

.guide-links { margin-top: 2.5em; padding-top: 1.5em; border-top: 2px solid var(--ink); }
.guide-links h3 { margin-top: 0; }

/* ---------- Condo pages ---------- */
.condo-hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 900px) { .condo-hero img { aspect-ratio: 21 / 9; } }
.condo-top { padding: 28px 0 8px; }
.condo-top h1 { font-size: clamp(2rem, 6vw, 3.25rem); margin-bottom: 14px; }
.facts-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.facts-list li { background: var(--white); border: 1px solid var(--mist); border-radius: 999px; padding: 6px 14px; font-size: .95rem; font-weight: 600; }
.condo-body { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 960px) { .condo-body { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; } }
.book-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--mist);
}
@media (min-width: 960px) { .book-card { position: sticky; top: 88px; } }
.book-card h2 { font-size: 1.4rem; margin-bottom: 8px; }
.book-card p { color: var(--ink-soft); font-size: .95rem; }
.book-card .btn { display: block; margin-bottom: 10px; }
.gallery { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin: 1.5em 0; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin: 0; }
.gallery img.wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

.book-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  background: var(--white);
  border-top: 1px solid var(--mist);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -6px 20px rgba(20, 40, 34, .08);
}
.book-bar span { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.book-bar .btn { padding: 12px 18px; white-space: nowrap; }
.has-book-bar { padding-bottom: 76px; }
@media (min-width: 960px) { .book-bar { display: none; } .has-book-bar { padding-bottom: 0; } }

/* Reviews */
.reviews { display: grid; gap: 16px; }
@media (min-width: 720px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--mist);
}
.review .stars { color: var(--amber); letter-spacing: 2px; font-size: 1rem; margin-bottom: 8px; }
.review blockquote { margin: 0 0 14px; }
.review blockquote p { margin: 0 0 .7em; }
.review figcaption { font-weight: 700; font-size: .95rem; }
.review figcaption span { font-weight: 400; color: var(--ink-soft); margin-left: 6px; }

/* Contact */
.contact-grid { display: grid; gap: 16px; max-width: 860px; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); padding: 24px; }
.contact-card h2 { font-size: 1.3rem; margin-bottom: 6px; }
.contact-card p { color: var(--ink-soft); }
.contact-card.primary { border: 2px solid var(--rose); grid-column: 1 / -1; }
.contact-card .big { font-family: var(--display); font-size: clamp(1.3rem, 5vw, 1.8rem); font-weight: 700; word-break: break-word; color: var(--ink); }

/* Sponsor */
.sponsor { display: grid; gap: 20px; align-items: center; }
.sponsor img { max-width: 240px; }
.sponsor p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.sponsor h3 { font-size: 1.15rem; margin-bottom: 6px; }
@media (min-width: 800px) { .sponsor { grid-template-columns: 1fr 240px; gap: 48px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c4d0cb; padding: 48px 0 32px; font-size: .95rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.foot-grid { display: grid; gap: 32px 24px; grid-template-columns: 1fr 1fr; }
.foot-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 720px) { .foot-grid > div:first-child { grid-column: auto; } }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { color: var(--white); font-size: 1rem; font-family: var(--body); font-weight: 700; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .brand { font-size: 1.5rem; display: inline-block; margin-bottom: 12px; }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: .85rem; color: #93a49d; }
