/* ============================================================
   REelevate — base styles + two-theme system
   ============================================================ */

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

:root {
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-script: "Allura", "Snell Roundhand", "Apple Chancery", cursive;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);

  --transition: 240ms cubic-bezier(0.2, 0.8, 0.2, 1);

  --container: 1280px;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  /* ---------- Brand palette ---------- */
  --bg: #F4EFE6;            /* warm ivory ground */
  --surface: #EBE3D4;       /* tan-cream surface */
  --surface-2: #D9CDB8;     /* warm neutral colorway */
  --accent: #C2B3A0;        /* mid tan */
  --accent-strong: #8C7551; /* script taupe — wordmark/large display */
  --accent-ink: #6E5A33;    /* darker bronze for small functional text (eyebrows, prices, buttons) — WCAG AA */
  --text: #1A1815;          /* near-black 'RE' */
  --text-muted: #574B38;    /* darkened for readability */
  --border: rgba(26, 24, 21, 0.14);
  --nav-bg: rgba(244, 239, 230, 0.88);
  --placeholder-bg: linear-gradient(135deg, #D9CDB8 0%, #B5A28A 100%);
  --placeholder-text: #4A4036;
}

/* ============================================================
   Base
   ============================================================ */

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background var(--transition), color var(--transition);
}

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

/* Zoom the whole site out slightly on tablet/desktop (Kaylee's request).
   Scoped above mobile so phone text + tap targets stay full-size. */
@media (min-width: 801px) {
  body { zoom: 0.9; }
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}
a:hover { opacity: 0.7; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }

p { margin: 0 0 1em; max-width: 65ch; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 1rem;
  display: inline-block;
}

/* ============================================================
   Nav
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.logo .accent {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: normal;
  font-size: 1.55em;
  color: var(--accent-strong);
  margin-left: -0.04em;
  line-height: 0.6;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 1.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.005em;
  white-space: nowrap;
  align-items: baseline;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
}
.nav-links a .brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: normal;
  font-size: 1em;
  color: var(--text);
  margin-right: 0.2em;
  display: inline-flex;
  align-items: baseline;
}
.nav-links a .brand .accent {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  font-size: 1.4em;
  color: var(--accent-strong);
  margin-left: -0.04em;
  line-height: 0.55;
}
.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent-strong);
}
.nav-links a:hover { opacity: 1; }

@media (max-width: 1200px) and (min-width: 801px) {
  .nav-links { gap: 1.2rem; font-size: 0.92rem; }
  .nav-links a .brand { display: none; }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.btn:hover { background: var(--text); color: var(--bg); opacity: 1; }

/* RE·elevate wordmark inside buttons: don't uppercase or letter-space it,
   and let it invert with the button text on hover. */
.btn .brand-em,
.btn .brand-em .accent {
  text-transform: none;
  letter-spacing: 0;
  color: inherit;
}
.btn .brand-em .accent { font-size: 1.3em; }

.btn-primary {
  background: var(--accent-ink);
  color: var(--bg);
  border-color: var(--accent-ink);
}
.btn-primary:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: var(--gutter);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media .placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 620px;
  margin-bottom: 4vh;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: rgba(26, 24, 21, 0.45);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
  backdrop-filter: blur(12px) saturate(115%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  /* Keep light text legible wherever the photo runs bright behind the panel. */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.hero-content .eyebrow { color: #E6B85C; }
/* Wordmark goes light on the dark hero panel (its near-black RE + taupe
   script are too low-contrast here). */
.hero-content .brand-em { color: #fff; }
.hero-content .brand-em .accent { color: #E6B85C; }
.hero-content h1 { color: #fff; margin-bottom: 1rem; }
.hero-content p {
  font-size: 1.15rem;
  opacity: 0.94;
  margin-bottom: 1.8rem;
}
.hero-content .btn { color: #fff; border-color: rgba(255,255,255,0.6); }
.hero-content .btn:hover { background: #fff; color: var(--text); }

/* ============================================================
   Sections
   ============================================================ */

section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}
section.tight { padding: clamp(2rem, 5vw, 4rem) 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section-head p { margin: 0 auto; color: var(--text-muted); }

/* ============================================================
   Sub-brand wordmark + showcase rows (home)
   ============================================================ */

/* Inline wordmark used in section headings (RE + elevate script) */
.brand-em {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.brand-em .accent {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: normal;
  color: var(--accent-strong);
  font-size: 1.55em;
  margin-left: -0.04em;
  line-height: 0.6;
  vertical-align: baseline;
  letter-spacing: 0;
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}
.showcase-row.reverse .showcase-media { order: 2; }
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row .showcase-text h3 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  margin-bottom: 0.8rem;
}
.showcase-row .placeholder { aspect-ratio: 4 / 3; }
.showcase-row .placeholder.r-16x9 { aspect-ratio: 16 / 9; }
.showcase-row .placeholder.r-4x3 { aspect-ratio: 4 / 5; }

.collage-mini {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
  aspect-ratio: 5 / 4;
}
.collage-mini .placeholder { aspect-ratio: auto; height: 100%; }
.collage-mini .placeholder:nth-child(1) { grid-row: span 2; }

@media (max-width: 800px) {
  .showcase-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .showcase-row.reverse .showcase-media { order: 0; }
}

/* ============================================================
   Collage grid
   ============================================================ */

.collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.5rem, 1.2vw, 1rem);
  grid-auto-rows: 110px;
}
.collage .tile { position: relative; overflow: hidden; border-radius: var(--radius-md); }
.collage .tile:nth-child(1)  { grid-column: span 3; grid-row: span 4; }
.collage .tile:nth-child(2)  { grid-column: span 3; grid-row: span 2; }
.collage .tile:nth-child(3)  { grid-column: span 2; grid-row: span 2; }
.collage .tile:nth-child(4)  { grid-column: span 1; grid-row: span 2; }
.collage .tile:nth-child(5)  { grid-column: span 2; grid-row: span 3; }
.collage .tile:nth-child(6)  { grid-column: span 2; grid-row: span 3; }
.collage .tile:nth-child(7)  { grid-column: span 2; grid-row: span 3; }
.collage .tile .placeholder { height: 100%; border-radius: 0; }

@media (max-width: 800px) {
  .collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .collage .tile { grid-column: span 1 !important; grid-row: span 2 !important; }
  .collage .tile:nth-child(odd) { grid-column: span 2 !important; }
}

/* ============================================================
   Portfolio masonry
   ============================================================ */

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.portfolio-filters button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.portfolio-filters button:hover { border-color: var(--accent-strong); }
.portfolio-filters button.active {
  background: var(--accent-strong);
  color: var(--bg);
  border-color: var(--accent-strong);
}

.masonry {
  columns: 3 320px;
  column-gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
.masonry .item {
  break-inside: avoid;
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.masonry .item .placeholder { border-radius: 0; }
.masonry .item.tall  .placeholder { aspect-ratio: 3 / 4; }
.masonry .item.wide  .placeholder { aspect-ratio: 4 / 3; }
.masonry .item.square .placeholder { aspect-ratio: 1 / 1; }
.masonry .item.video .placeholder { aspect-ratio: 16 / 9; }

/* ============================================================
   Placeholder block (CSS-rendered stand-in)
   ============================================================ */

.placeholder {
  position: relative;
  width: 100%;
  background: var(--placeholder-bg);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--placeholder-text);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0 14px,
      rgba(255,255,255,0.06) 14px 15px
    );
  pointer-events: none;
}
.placeholder span {
  position: relative;
  z-index: 1;
  padding: 0.4rem 0.8rem;
  background: rgba(0,0,0,0.18);
  border-radius: 999px;
  font-size: 0.66rem;
}
.tile:hover .placeholder,
.item:hover .placeholder { transform: scale(1.04); }

.placeholder.r-16x9 { aspect-ratio: 16 / 9; }
.placeholder.r-4x3  { aspect-ratio: 4 / 3; }
.placeholder.r-3x4  { aspect-ratio: 3 / 4; }
.placeholder.r-1x1  { aspect-ratio: 1 / 1; }

/* Demo-fill: when JS injects a stand-in image, hide the stripe overlay
   and label so the photo carries the slot. Remove this rule + the
   fillPlaceholders() JS once real assets land. */
.placeholder.filled { background: #1a1815; }
.placeholder.filled::after { display: none; }
.placeholder.filled > span { display: none; }
.placeholder.filled > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ============================================================
   Featured reel
   ============================================================ */

.reel {
  background: var(--surface);
}
.reel .video-frame {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ============================================================
   Cards (services)
   ============================================================ */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card h3 { margin-bottom: 0.5rem; }
.card .price {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent-ink);
  margin: 1rem 0;
}
.card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}
.card ul li:last-child { border-bottom: 0; }

/* ============================================================
   About — split layout
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split .placeholder { aspect-ratio: 4 / 5; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.stat-row .stat .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--accent-strong);
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-row .stat .label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   Contact
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info p { color: var(--text-muted); }
.contact-info .info-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 1.5rem 0;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.contact-info .info-row .label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-info .info-row a, .contact-info .info-row span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
}

form .field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}
form label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
form input, form select, form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), background var(--transition);
}
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--accent-strong);
  background: var(--bg);
}
form textarea { resize: vertical; min-height: 140px; }

/* ---------- Photography quote builder ---------- */
.quote-form { max-width: 760px; margin: 0 auto; }
.quote-form fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
.quote-form legend {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
  padding: 0;
}
.quote-options { display: grid; gap: 0.6rem; }
.quote-options.cols { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.quote-option {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  transition: border-color var(--transition), background var(--transition);
}
.quote-option:hover { border-color: var(--accent-strong); }
.quote-option.soon {
  opacity: 0.7;
  cursor: default;
}
.quote-option.soon:hover { border-color: var(--border); }
.quote-option.soon .opt-price {
  color: var(--text-muted);
  font-style: italic;
  text-transform: none;
}
.quote-option input {
  width: auto;
  padding: 0;
  margin: 0.15rem 0 0;
  border: 0;
  background: transparent;
  accent-color: var(--accent-strong);
  flex: none;
}
.quote-option .opt-name { color: var(--text); }
.quote-option .opt-price {
  color: var(--accent-ink);
  margin-left: auto;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.quote-total-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  margin: 0.4rem 0 1.2rem;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
}
.quote-total-bar .label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.quote-total-bar .amount {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.quote-disclaimer { font-size: 0.82rem; color: var(--text-muted); margin: 0 0 1.4rem; line-height: 1.5; }
.quote-success {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  padding: 2.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.quote-success h3 { margin-bottom: 0.5rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.faq summary {
  font-family: var(--font-display);
  font-size: 1.2rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-strong); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0.8rem 0 0; color: var(--text-muted); }

/* ============================================================
   Footer
   ============================================================ */

footer {
  background: var(--surface);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 0.3rem 0; font-size: 0.95rem; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom .socials { display: flex; gap: 1rem; }

/* ============================================================
   Mobile nav
   ============================================================ */

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  /* Drop the backdrop-filter on mobile: in Safari/iOS a filtered ancestor
     "contains" its fixed descendant and clips the slide-in menu to the bar,
     making it look see-through. Solid bar instead. */
  .nav {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav-links {
    position: fixed;
    inset: 72px 0 0 0;
    z-index: 60;
    flex-direction: column;
    background: var(--bg);
    padding: 2rem var(--gutter);
    gap: 1.2rem;
    font-size: 1.4rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-family: var(--font-display); }
}

/* ============================================================
   Reveal on scroll
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Hero blurb (three pillars + slogan)
   ============================================================ */

.hero-content .blurb {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
  opacity: 0.92;
}
.hero-content .blurb .sep { opacity: 0.5; margin: 0 0.5em; }

.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--accent-strong);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.4;
}

/* ============================================================
   Photography hub — specialty section + anchor nav
   ============================================================ */

.specialty-nav {
  position: sticky;
  top: 72px;
  z-index: 30;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.specialty-nav::-webkit-scrollbar { display: none; }
.specialty-nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--container);
  white-space: nowrap;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
}
.specialty-nav a {
  color: var(--text-muted);
  padding: 0.2rem 0;
  transition: color var(--transition);
}
.specialty-nav a:hover { color: var(--accent-strong); opacity: 1; }

.specialty-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-top: 1px solid var(--border);
}
.specialty-section:first-of-type { border-top: 0; }

/* ============================================================
   Modal (vanilla, used by buy/sell consult)
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 21, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: var(--gutter);
  z-index: 100;
  opacity: 0;
  transition: opacity var(--transition);
}
.modal-overlay[hidden] { display: none; }
.modal-overlay.open { opacity: 1; }
.modal-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-card .eyebrow { margin-bottom: 0.6rem; }
.modal-card h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 0.4rem; }
.modal-card .modal-sub {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}
.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: transparent;
  border: 0;
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 50%;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--surface); color: var(--text); }

/* ============================================================
   Service area map + Big Canoe sidebar
   ============================================================ */

.area-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}
@media (max-width: 800px) {
  .area-grid { grid-template-columns: 1fr; }
}
.area-map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.area-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.area-info {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.area-info h3 { margin-bottom: 0.6rem; }
.area-info .area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.area-info .area-tags span {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* ============================================================
   Buy/Sell band
   ============================================================ */

.intent-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.8rem, 2vw, 1.4rem);
}
@media (max-width: 700px) {
  .intent-band { grid-template-columns: 1fr; }
}
.intent-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.intent-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.intent-card h3 { margin-bottom: 0.5rem; }
.intent-card p {
  color: var(--text-muted);
  margin: 0 auto 1.4rem;
}
.intent-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 1rem;
}

/* ============================================================
   Listings grid (empty + populated states)
   ============================================================ */

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.listing-empty {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
}
.listing-empty h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.listing-empty p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 1.4rem;
}
.listing-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.listing-card .placeholder { aspect-ratio: 4 / 3; border-radius: 0; }
.listing-card .body { padding: 1.25rem 1.4rem 1.6rem; }
.listing-card h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.listing-card .meta {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0 0 0.6rem;
}
.listing-card .price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-ink);
}

/* ============================================================
   Blog feed (used on real-estate.html + blog.html)
   ============================================================ */

.blog-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.blog-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.blog-card .placeholder { aspect-ratio: 16 / 9; border-radius: 0; }
.blog-card .body { padding: 1.25rem 1.4rem 1.6rem; }
.blog-card .date {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.blog-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin: 0;
}

/* ============================================================
   Market trends placeholder
   ============================================================ */

.market-placeholder {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
}
.market-placeholder h3 { margin-bottom: 0.4rem; }
.market-placeholder p { color: var(--text-muted); max-width: 520px; margin: 0 auto; }
