/* ══════════════════════════════════════════
   Rosemont–La Petite-Patrie — Shared CSS
   ══════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --bg:           #fafaf8;
  --surface:      #f3f1ec;
  --card:         #ffffff;
  --border:       #e6e2db;
  --text:         #141210;
  --muted:        #7a776f;
  --green:        #2b7a50;
  --green-light:  #eaf5ef;
  --green-mid:    #c8e8d4;
  --orange:       #d96228;
  --orange-light: #fdf0e8;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── Type ── */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

/* ══ NAV ══ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(250,250,248,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-logo em {
  font-style: normal;
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-links a.active {
  color: var(--green);
  background: var(--green-light);
}

.nav-btn {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: var(--orange) !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: 6px;
  transition: opacity 0.2s !important;
  text-decoration: none;
}

.nav-btn:hover { opacity: 0.85; background: var(--orange) !important; }

/* ══ HERO VIDEO BACKGROUND ══ */
.hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-video-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  border: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 12, 10, 0.55);
}

/* ══ HOME HERO ══ */
.home-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 2.5rem 5.5rem;
  position: relative;
  overflow: hidden;
  background: var(--text);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(43,122,80,0.25) 0%, transparent 70%);
  top: -80px; right: -60px;
  animation: orb-drift 14s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(217,98,40,0.15) 0%, transparent 70%);
  bottom: 120px; left: 8%;
  animation: orb-drift 10s ease-in-out infinite alternate-reverse;
}

@keyframes orb-drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(35px, 25px); }
}

.home-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-label::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--green);
}

.home-hero h1 {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fafaf8;
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 2.5rem;
}

.home-hero h1 span {
  color: rgba(250,250,248,0.75);
}

.hero-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-desc {
  max-width: 400px;
  font-size: 1rem;
  color: rgba(250,250,248,0.5);
  font-weight: 300;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* ══ PAGE HERO (category pages) ══ */
.page-hero {
  padding: 9rem 2.5rem 5rem;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.45;
}

.page-hero .wrap { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text);
  max-width: 780px;
  margin-bottom: 1.25rem;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
}

/* Accent colour orbs for page heroes */
.page-hero .ph-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.55;
}

/* ══ TICKER ══ */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card);
  padding: 0.9rem 0;
}

.ticker-track {
  display: flex;
  animation: ticker 32s linear infinite;
  width: max-content;
}

.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0 2.5rem;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.ticker-item strong { color: var(--text); font-weight: 700; }

.ticker-dot {
  width: 4px; height: 4px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ══ SECTION BASE ══ */
.section    { padding: 7rem 2.5rem; }
.section-sm { padding: 4.5rem 2.5rem; }

.wrap { max-width: 1200px; margin: 0 auto; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 1.5px;
  background: var(--green);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
}

hr.divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ══ BUTTONS ══ */
.btn-fill {
  background: var(--green);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: -0.01em;
}

.btn-fill:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-fill-orange {
  background: var(--orange);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-fill-orange:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-outline {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border: 1.5px solid var(--border);
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover { border-color: var(--text); background: var(--surface); }

.btn-ghost {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(250,250,248,0.55);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.btn-ghost:hover { color: #fafaf8; }
.btn-ghost::after { content: '↓'; }

.btn-text-green {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
}

.btn-text-green:hover { gap: 0.6rem; }

/* ══ NUDGE (subtle CTA strip) ══ */
.nudge {
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  border-radius: 12px;
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.nudge p { font-size: 0.92rem; color: var(--text); }
.nudge p strong { font-weight: 700; }

.btn-nudge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  background: #fff;
  border: 1.5px solid var(--green-mid);
  padding: 0.6rem 1.3rem;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}

.btn-nudge:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ══ MEDIA GRID ══ */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.media-grid.two-col { grid-template-columns: repeat(2, 1fr); }

/* ══ ARTICLE CARD ══ */
.card-article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

.card-article:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}

.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.card-article:hover .card-thumb img { transform: scale(1.04); }

.card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }

.card-meta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.55rem;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em; /* reserve 2 lines so all cards match */
}

.card-excerpt {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.95em; /* reserve 3 lines so all cards match */
}

.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  margin-top: 0.9rem;
  align-self: flex-start;
}

/* ══ VIDEO CARD ══ */
.card-video {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card-video:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.card-video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.card-video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.card-video:hover .card-video-thumb img { transform: scale(1.03); }

.play-btn {
  position: absolute;
  width: 52px; height: 52px;
  background: rgba(250,250,248,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.card-video:hover .play-btn {
  background: var(--orange);
  transform: scale(1.08);
}

.play-btn svg { margin-left: 3px; }

.card-video:hover .play-btn svg path { fill: #fff; }

.card-video-body { padding: 1.2rem 1.4rem; }

.card-duration {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.card-video-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.3;
}

/* ══ GALLERY GRID ══ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(transparent, rgba(20,18,16,0.75));
  font-size: 0.75rem;
  color: rgba(250,250,248,0.9);
  opacity: 0;
  transition: opacity 0.3s;
  font-weight: 500;
}

.gallery-item:hover .gallery-caption { opacity: 1; }

/* ══ BENTO GRID (nature section) ══ */
.bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.bento-cell {
  background: var(--card);
  padding: 2.25rem;
  transition: background 0.2s;
}

.bento-cell:hover { background: var(--surface); }

.bento-cell.tall { grid-row: span 2; }

.bento-cell.featured {
  background: var(--green-light);
  border: none;
}

.bento-cell.featured h3 { color: var(--green); }

.bento-cell .cell-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.bento-cell h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.bento-cell p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ══ ARTERES ══ */
.arteres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.artere-cell {
  background: var(--card);
  padding: 2.25rem;
  transition: background 0.2s;
}

.artere-cell:hover { background: var(--surface); }

.artere-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.artere-cell .cell-icon { font-size: 1.8rem; display: block; margin-bottom: 0.9rem; }

.artere-cell h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.artere-cell p { font-size: 0.87rem; color: var(--muted); line-height: 1.7; }

/* ══ ARCHITECTURE ══ */
.arch-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.arch-points {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 2.5rem;
}

.arch-point {
  background: var(--card);
  padding: 1.35rem 1.6rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: background 0.2s;
}

.arch-point:hover { background: var(--surface); }

.arch-point-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  min-width: 26px;
  padding-top: 0.2rem;
}

.arch-point-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.93rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.arch-point-body p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

.arch-visual-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.arch-visual-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.arch-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.arch-stat {
  background: var(--surface);
  padding: 1rem 1.1rem;
}

.arch-stat strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.arch-stat span { font-size: 0.76rem; color: var(--muted); }

/* ══ TRANSPORT ══ */
.transport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.transport-cell {
  background: var(--card);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}

.transport-cell:hover { background: var(--surface); }

.metro-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 0.9rem;
}

.metro-pill.orange { background: rgba(241,141,30,0.1); color: #c47810; }
.metro-pill.blue   { background: rgba(45,118,204,0.1); color: #2b6db5; }
.metro-pill.velo   { background: var(--green-light); color: var(--green); }
.metro-pill.bus,
.metro-pill.lib,
.metro-pill.school { background: var(--surface); color: var(--muted); }

.transport-cell h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.transport-cell p { font-size: 0.84rem; color: var(--muted); line-height: 1.65; }

/* ══ COMMUNITY ══ */
.comm-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 5rem;
  align-items: start;
}

.comm-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 0;
}

.comm-row {
  background: var(--card);
  padding: 1.3rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  transition: background 0.2s;
}

.comm-row:hover { background: var(--surface); }

.comm-row-icon { font-size: 1.4rem; flex-shrink: 0; }

.comm-row h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.93rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.comm-row p { font-size: 0.83rem; color: var(--muted); }

/* ══ TESTIMONIALS ══ */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.testimonial {
  background: var(--card);
  padding: 1.6rem;
  transition: background 0.2s;
}

.testimonial:hover { background: var(--surface); }

.testimonial-quote {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 0.8rem;
}

.testimonial-cite {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  font-style: normal;
}

/* ══ CONTACT FORM ══ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-left h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
  line-height: 1.1;
}

.contact-left h2 em { font-style: normal; color: var(--green); }

.contact-left > p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.contact-perks { display: flex; flex-direction: column; gap: 0.8rem; }

.perk {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.perk-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; flex-shrink: 0; }

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.25rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}

.form-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}

.form-subtitle { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.75rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-field { margin-bottom: 1rem; }

.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.38rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.68rem 0.9rem;
  color: var(--text);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: #c4bfb7; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green);
  background: #fff;
}

.form-field textarea { resize: none; height: 90px; }

.form-submit {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 0.4rem;
}

.form-submit:hover { opacity: 0.88; transform: translateY(-1px); }

.form-note { text-align: center; font-size: 0.74rem; color: var(--muted); margin-top: 0.7rem; }

/* ══ CATEGORY OVERVIEW CARDS (home) ══ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.category-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.category-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-3px);
  border-color: var(--green-mid);
}

.category-card .cat-icon { font-size: 2rem; }

.category-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0.25rem;
}

.category-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.65; flex: 1; }

.cat-arrow {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.category-card:hover .cat-arrow { gap: 0.55rem; }

/* Featured category card */
.category-card.featured {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.category-card.featured p { color: rgba(255,255,255,0.7); }

.category-card.featured .cat-arrow { color: rgba(255,255,255,0.8); }

/* ══ SECTION HEADER ROW ══ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

/* ══ AGENT CARD ══ */
.agent-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  max-width: 680px;
  margin: 3rem auto 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}

.agent-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
  border: 2px solid var(--green-mid);
}

.agent-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.agent-info p { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.9rem; }

.agent-contacts { display: flex; gap: 1rem; flex-wrap: wrap; }

.agent-contact-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s;
}

.agent-contact-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ══ TEAM (courtier page — real broker identification for OACIQ compliance) ══ */
.team-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.25rem;
  max-width: 680px;
  margin: 2.5rem auto 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.team-header { text-align: center; margin-bottom: 1.75rem; }
.team-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.team-header p { font-size: 0.85rem; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.team-member { display: flex; align-items: flex-start; gap: 1rem; text-align: left; }
.team-photo {
  width: 68px; height: 68px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--green-light);
  border: 2px solid var(--green-mid);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--green);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member h4 { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.15rem; }
.team-title { font-size: 0.8rem; color: var(--text); }
.team-bio { font-size: 0.8rem; color: var(--muted); line-height: 1.6; margin-top: 0.4rem; }
.team-footer { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); text-align: center; }
.team-header p a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.team-header p a:hover { text-decoration: none; }
.team-links { margin-top: 0.4rem; display: flex; gap: 0.85rem; flex-wrap: wrap; }
.team-links a {
  font-size: 0.72rem; font-weight: 600; color: var(--green); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.25rem;
}
.team-links a:hover { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

/* ══ AUTHOR BOX (blog posts) ══ */
.author-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin: 3rem 0 0;
}
.author-box-photo {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--green-mid);
}
.author-box-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 0.1rem; }
.author-box-role { font-size: 0.8rem; color: var(--green); font-weight: 600; margin-bottom: 0.5rem; }
.author-box-bio { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }
.author-box-bio a { color: var(--green); font-weight: 600; text-decoration: none; white-space: nowrap; }
.author-box-bio a:hover { text-decoration: underline; }

/* ══ ABOUT GRID (home) ══ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ══ INTRO TILES ══ */
.intro-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.info-tile {
  background: var(--card);
  padding: 1.6rem;
  transition: background 0.2s;
}

.info-tile:hover { background: var(--surface); }

.info-tile.wide { grid-column: span 2; }

.tile-icon { font-size: 1.5rem; display: block; margin-bottom: 0.65rem; }

.info-tile h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.info-tile p { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }

.tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  padding: 0.28rem 0.75rem;
  border-radius: 4px;
}

/* ══ FOOTER ══ */
footer {
  background: var(--text);
  padding: 2.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fafaf8;
}

.footer-logo em { font-style: normal; color: var(--green); }

footer p { font-size: 0.78rem; color: rgba(250,250,248,0.3); }

.footer-links { display: flex; gap: 1.5rem; list-style: none; }

.footer-links a {
  font-size: 0.78rem;
  color: rgba(250,250,248,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(250,250,248,0.8); }

/* ══ FLOAT BAR ══ */
.float-bar {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 99;
  background: var(--orange);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.72rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 24px rgba(217,98,40,0.35);
  transition: all 0.25s;
}

.float-bar:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(217,98,40,0.45);
}

/* ══ SCROLL REVEAL ══ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══ HAMBURGER ══ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 201;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══ RESPONSIVE ══ */
@media (max-width: 960px) {
  nav { padding: 0 1.5rem; }
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 62px; left: 0; right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    z-index: 199;
    flex-direction: column;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.2rem;
  }

  .nav-links.mobile-open { display: flex; }

  .nav-links li { display: block; width: 100%; }

  .nav-links a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 8px;
    color: var(--muted);
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: var(--surface);
    color: var(--text);
  }

  .nav-btn {
    display: block !important;
    text-align: center;
    margin-top: 0.4rem;
    background: var(--orange) !important;
    color: #fff !important;
    border-radius: 8px;
  }

  .home-hero { padding: 0 1.5rem 4rem; }
  .page-hero { padding: 8rem 1.5rem 3.5rem; }
  .section { padding: 5rem 1.5rem; }
  .section-sm { padding: 3rem 1.5rem; }

  .arch-layout,
  .comm-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }

  .bento { grid-template-columns: 1fr 1fr; }
  .bento-cell.tall { grid-row: span 1; }

  .arteres-grid,
  .transport-grid { grid-template-columns: 1fr; }

  .category-grid { grid-template-columns: 1fr 1fr; }
  .media-grid { grid-template-columns: 1fr 1fr; }
  .media-grid.two-col { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .agent-card { flex-direction: column; text-align: center; max-width: 100%; }
  .agent-contacts { justify-content: center; }

  footer { padding: 2rem 1.5rem; }
  .footer-links { display: none; }
}

@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .media-grid,
  .media-grid.two-col { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .intro-tiles { grid-template-columns: 1fr; }
  .info-tile.wide { grid-column: span 1; }
  .nudge { flex-direction: column; }
  .float-bar span { display: none; }
}

/* ══ SITE-WIDE LIGHTBOX (fullscreen image viewer, wired in partials/footer.php) ══ */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: 3rem;
  background: rgba(12, 18, 14, 0.92); backdrop-filter: blur(4px);
  cursor: zoom-out; opacity: 0; transition: opacity 0.25s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.75rem; width: 2.75rem; height: 2.75rem;
  border: none; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff;
  font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem;
  border: none; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff;
  font-size: 1.6rem; line-height: 1; cursor: pointer; display: flex; align-items: center;
  justify-content: center; transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-caption {
  position: absolute; bottom: 1.5rem; left: 0; right: 0; text-align: center;
  color: rgba(255,255,255,0.85); font-family: "Outfit", sans-serif; font-size: 0.9rem;
  font-weight: 600; letter-spacing: 0.02em; padding: 0 3rem;
}
.lb-zoomable { cursor: zoom-in; }
@media (max-width: 600px) {
  .lightbox { padding: 1.5rem; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

/* WebP: <picture> wrappers are layout-transparent so img sizing is unchanged */
picture { display: contents; }
picture source { display: none; }
