/* ============ 101-433 Churchill Ave — single-page listing ============ */

:root {
  --bg: #f7f4ef;
  --bg-alt: #efe9df;
  --ink: #211d17;
  --muted: #6f685c;
  --line: #e2dacf;
  --card: #ffffff;
  --accent: #b5623a;
  --accent-dark: #98492a;
  --dark: #191511;
  --dark-soft: #26201a;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow: 0 18px 50px -18px rgba(33, 29, 23, 0.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1180px, 100% - clamp(2.5rem, 8vw, 6rem));
  margin-inline: auto;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(20, 16, 12, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
}

.nav__brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.nav__brand .nav__mark {
  color: #e8b48f;
  font-weight: 600;
  margin-right: 0.35rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.6rem);
}

.nav__links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav__links a:hover { color: #fff; }

.nav__links a.nav__cta {
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  transition: background 0.2s;
}

.nav__links a.nav__cta:hover { background: var(--accent-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(15, 11, 8, 0.82) 0%, rgba(15, 11, 8, 0.35) 45%, rgba(15, 11, 8, 0.15) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100% - clamp(2.5rem, 8vw, 6rem));
  margin-inline: auto;
  padding: 7.5rem 0 4.5rem;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero__sub {
  margin-top: 1rem;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  margin-top: 1.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero__price {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f2ede4; }

.btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--dark-soft); }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--alt { background: var(--bg-alt); }

.section__label {
  display: inline-block;
  margin-bottom: 1.1rem;
}

.section__label span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--accent);
}

.section__label--light span { color: #e8b48f; }

.section__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.section__title--light { color: #fff; }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.about__text .section__title { margin-bottom: 1.5rem; }

.about__text p {
  color: var(--muted);
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
}

.about__text strong { color: var(--ink); font-weight: 600; }

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.75rem;
}

.chips li {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink);
}

.about__media {
  display: grid;
  grid-template-rows: 1.35fr 1fr;
  gap: 1rem;
}

.about__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about__img:hover img { transform: scale(1.045); }

/* ---------- Gallery ---------- */
.gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.gallery-count {
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(120px, 18vw, 210px);
  gap: 12px;
}

.shot {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--card);
  border: 0;
  padding: 0;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.shot:hover img { transform: scale(1.06); }

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 15, 10, 0.35), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
}

.shot:hover::after { opacity: 1; }

.shot__tag {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}

.shot:hover .shot__tag { opacity: 1; transform: translateY(0); }

.shot--wide { grid-column: span 2; }
.shot--tall { grid-row: span 2; }
.shot--big { grid-column: span 2; grid-row: span 2; }

/* ---------- Facts ---------- */
.facts { margin-top: 2.5rem; display: grid; gap: 2.5rem; }

.facts__stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
}

.stat__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
}

.stat__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.facts__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

.card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
  color: var(--accent-dark);
}

.card dl { display: grid; gap: 0.5rem; }

.card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.5rem;
}

.card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }

.card dt { color: var(--muted); font-size: 0.9rem; }

.card dd { font-weight: 600; font-size: 0.9rem; text-align: right; }

/* ---------- Location ---------- */
.location {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.location__map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 380px;
}

.location__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.location__map-link {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 1;
}

.location__map-link:hover { transform: translateX(-50%) translateY(-2px); }

.location__side { display: grid; gap: 1.5rem; align-content: start; }

.perks, .schools {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

.perks h3, .schools h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.perks ul { list-style: none; display: grid; gap: 0.45rem; }

.perks li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}

.perks li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.schools ul { list-style: none; display: grid; gap: 0.7rem; }

.schools li { display: grid; gap: 0.1rem; }

.schools span { font-weight: 600; font-size: 0.95rem; }

.schools em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.83rem;
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(181, 98, 58, 0.25), transparent 60%),
    var(--dark);
  color: #fff;
  padding: clamp(5rem, 10vw, 8rem) 0;
  text-align: center;
}

.contact__inner { display: grid; justify-items: center; gap: 0.4rem; }

.contact__sub {
  color: rgba(255, 255, 255, 0.75);
  max-width: 52ch;
  margin-top: 1rem;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.contact__agent {
  margin-top: 2.2rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.contact__agent strong { color: #fff; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.footer__inner { display: grid; gap: 0.3rem; }

.footer__legal { font-size: 0.75rem; color: rgba(255, 255, 255, 0.35); max-width: 70ch; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 9, 6, 0.94);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox.open { opacity: 1; }

.lightbox[hidden] { display: none; }

.lightbox__stage {
  max-width: min(1100px, 88vw);
  max-height: 84vh;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

.lightbox__stage img {
  max-width: 100%;
  max-height: calc(84vh - 3rem);
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__cap {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.15s;
}

.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.18); transform: scale(1.05); }

.lightbox__close { top: 1.25rem; right: 1.25rem; font-size: 1.7rem; }
.lightbox__nav--prev { left: 1.25rem; }
.lightbox__nav--next { right: 1.25rem; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .shot img, .about__img img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about { grid-template-columns: 1fr; }
  .about__media { grid-template-rows: none; grid-template-columns: 1.3fr 1fr; }
  .facts__stats { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .location { grid-template-columns: 1fr; }
  .location__map { min-height: 320px; }
}

@media (max-width: 640px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(110px, 30vw, 180px);
  }
  .shot--big { grid-column: span 2; grid-row: span 2; }
  .facts__stats { grid-template-columns: repeat(2, 1fr); }
  .facts__cards { grid-template-columns: 1fr; }
  .about__media { grid-template-columns: 1fr; }
  .hero__content { padding-bottom: 3.5rem; }
  .lightbox__nav--prev { left: 0.6rem; }
  .lightbox__nav--next { right: 0.6rem; }
}
