/* Le Rigi — apartment rentals in Montreal */
:root {
  --bg: #fbfaf7;
  --ink: #16130f;
  --muted: #6e6557;
  --accent: #9a4f33;      /* warm terracotta to match the autumn hero */
  --accent-soft: #f0e0d7;
  --card: #ffffff;
  --line: #e6ddd2;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5vw;
  background: rgba(20, 16, 11, 0.55);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled {
  border-color: rgba(255,255,255,0.14);
  background: rgba(20, 16, 11, 0.84);
}
.site-header .brand { color: #fff; }
.site-header .nav a { color: #fff; opacity: 0.85; }
.site-header .nav a:hover { opacity: 1; }

.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.nav { display: flex; gap: 1.75rem; }
.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav a:hover { opacity: 1; }

/* Hero — full-bleed autumn Mount Royal */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,18,12,0.58) 0%, rgba(24,18,12,0.30) 48%, rgba(24,18,12,0.68) 100%);
  z-index: -1;
}
.hero-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 8rem 5vw 6rem;
  width: 100%;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.hero-content .eyebrow { color: #f0d8c9; }
.hero-content h1 { max-width: 20em; }
.hero-content .lede {
  max-width: 42rem;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: italic; color: #f0d8c9; }
.lede {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--muted);
}
.hero-cta { margin-top: 2.25rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #fff; color: #1a120d; }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.btn-ghost { border: 1.5px solid #fff; color: #fff; background: rgba(0,0,0,0.42); }
.btn-ghost:hover { background: rgba(0,0,0,0.56); }

/* Sections */
section { padding: 7rem 5vw; max-width: min(3400px, 96vw); margin: 0 auto; }
.section-head { margin-bottom: 3.5rem; }
.section-head h2,
.visit h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  max-width: 1300px;
  margin: 0 auto;
}
.about-text p { margin-bottom: 1.25rem; font-size: 1.05rem; }
.about-text .muted { color: var(--muted); }
.about-list { display: flex; flex-direction: column; gap: 1.25rem; }
.about-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  font-size: 1.02rem;
}
.about-num { font-family: var(--serif); color: var(--accent); font-size: 1.3rem; }

/* Collection gallery */
.collection { background: #fff; }
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1500px;
  margin: 0 auto;
}
.collection-item { margin: 0; overflow: hidden; border-radius: 0.9rem; background: var(--card); border: 1px solid var(--line); }
.collection-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.collection-item:hover img { transform: scale(1.04); }

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1500px;
  margin: 0 auto;
}
.location-item {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
}
.loc-label {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* Visit */
.visit { padding-bottom: 7rem; }
.visit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1300px;
  margin: 0 auto;
  align-items: start;
}
.visit .muted { color: var(--muted); margin-top: 1rem; }
.visit-address {
  margin-top: 2rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--accent);
  line-height: 1.5;
}
.visit-hours {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 2rem 2.25rem;
}
.visit-hours h3 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; margin-bottom: 1.25rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.hours tr:last-child td { border-bottom: none; }
.hours td:first-child { color: var(--accent); font-weight: 600; width: 6rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 5vw;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-content h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .visit-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 560px) {
  .collection-grid, .location-grid { grid-template-columns: 1fr; }
  .nav { gap: 1rem; font-size: 0.8rem; }
}
@media (min-width: 2200px) { html { font-size: 20px; } }
@media (min-width: 3000px) { html { font-size: 24px; } }