/* SpectrAbilities v2 — sharp, fun, spectrum. No soft AI chrome. */
:root {
  --paper: #F7F5F0;
  --ink: #121820;
  --mute: #5C6674;
  --faint: #8A93A0;
  --line: #E3E0D7;
  --card: #FFFEFB;
  --deep: #2E594C;
  --deep2: #1A3A30;
  --gold: #C99B47;
  --clay: #9C4A2F;
  --spectrum: linear-gradient(90deg, #7B6BB5, #4A8BC2, #3D9B8F, #5B9E6F, #C99B47, #D47A5A);
  /* Figtree: inviting, simple, human — distinct from default Inter */
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1rem, 3.5vw, 2rem);
  --max: 1200px;
  --nav-bar: 48px;
  --sx-h: 3px;
  --nav-h: calc(var(--nav-bar) + var(--sx-h)); /* fixed chrome total */
  --r: 0; /* hard edges by default */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* allow 100vw path grid without horizontal scroll */
}
/* Shared content column: keeps text blocks, footers, bands on one vertical grid */
.shell {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  width: 100%;
  box-sizing: border-box;
}
h1, h2, h3, .tile h2, .close h2, .pull blockquote, .intro h1, .hero-photo-inner h1,
.page-hero h1, .about-hero h1, .lprop-head h2, .lcard-body h3, .acc-head h3 {
  font-family: var(--font-display);
  font-weight: 700;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; color: var(--mute); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { margin: 0; }

/* In-flow sx removed from layout; spectrum renders on fixed nav */
.sx {
  display: none;
}
main {
  padding-top: var(--nav-h);
  box-sizing: border-box;
}

/* —— NAV: thin, left brand / right links (AGR) —— */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sx-h) var(--pad) 0;
  background: rgba(247, 245, 240, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  pointer-events: auto;
  box-sizing: border-box;
}
.nav::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: var(--sx-h);
  background: var(--spectrum);
  pointer-events: none;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: "Fredoka", "Nunito", var(--font);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  position: relative; z-index: 2;
  color: var(--deep2);
}
.brand img {
  width: 30px; height: 30px; object-fit: contain;
  border-radius: 9px;
  flex-shrink: 0;
}
.brand .brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: "Fredoka", "Nunito", var(--font);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
}
.brand .brand-spectra {
  font-family: "Caveat", "Segoe Script", cursive;
  font-weight: 700;
  font-size: 1.34em;
  color: var(--deep2);
  letter-spacing: 0.01em;
  padding-right: 0.02em;
}
.brand .brand-abilities {
  font-family: "Fredoka", "Nunito", var(--font);
  font-weight: 700;
  color: var(--deep);
  letter-spacing: -0.005em;
}
.nav-right {
  display: flex; align-items: center; gap: 0; margin-left: auto;
  position: relative; z-index: 2;
}
.nav-links { display: flex; align-items: center; }
.nav-links a {
  padding: 6px 11px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--mute);
  transition: color 0.2s var(--ease);
  position: relative; z-index: 2;
}
.nav-links a:hover { color: var(--deep); }
.nav-links a.is-on { color: var(--deep); }
.nav-cta {
  margin-left: 10px;
  padding: 8px 14px;
  background: var(--ink); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  position: relative; z-index: 2;
}
.nav-cta:hover { background: var(--deep); transform: translateY(-1px); }
.menu-btn {
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--line);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  background: var(--card);
  cursor: pointer;
  position: relative; z-index: 110;
  flex-shrink: 0;
}
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--ink); pointer-events: none; }
body.nav-open { overflow: hidden; }

/* —— Buttons —— */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  background: var(--ink); color: #fff;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { background: var(--deep); border-color: var(--deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #1a1408; }
.btn-gold:hover { background: #b8892f; border-color: #b8892f; }

/* —— INTRO: Mission & purpose as one centered idea —— */
.intro {
  padding: clamp(2rem, 5vh, 3.4rem) var(--pad) clamp(2.1rem, 5vh, 3.6rem);
  max-width: none;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  text-align: left;
  background:
    radial-gradient(120% 150% at 12% 0%, rgba(155,184,168,.20) 0%, rgba(155,184,168,0) 62%),
    radial-gradient(90% 130% at 96% 100%, rgba(201,155,71,.13) 0%, rgba(201,155,71,0) 60%),
    linear-gradient(180deg, #FBFAF7 0%, #F6F4EE 100%);
}
.intro-kicker {
  color: var(--deep2);
  opacity: .78;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--deep); margin: 0 auto 0.65rem;
}
.mission-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin: 0;
  max-width: none;
}
.mission-title {
  font-family: "Fredoka", "Nunito", var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--deep2);
  margin: 0 0 0.7rem;
  max-width: 22ch;
}
.mission-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--page-accent, var(--deep));
  margin-bottom: 0.4rem;
}
.mission-line {
  margin: 0;
  max-width: 62ch;              /* full width still needs a readable measure */
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  color: #3C4A44;
  line-height: 1.72;
  font-weight: 400;
}
/* the first sentence carries the weight, the second explains it */
.mission-line .lead-in { font-weight: 600; color: var(--ink); }
.intro h1 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.05; letter-spacing: -0.03em; font-weight: 700;
  text-transform: none;
}
.intro .statement {
  font-size: 0.95rem;
  color: var(--mute);
  line-height: 1.4;
  font-weight: 500;
}
.intro-meta {
  margin-top: 0.5rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.25rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint);
}
.intro-meta b { color: var(--deep); font-weight: 700; }

/* —— 2×2 PATH GRID: true full-viewport width (edge to edge) —— */
.paths {
  padding: 0;
  max-width: none;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  box-sizing: border-box;
}
.paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 100%;
  max-width: none;
  /* Fill remaining viewport so the four cards dominate */
  min-height: calc(100vh - var(--nav-h) - 6.5rem);
  min-height: calc(100dvh - var(--nav-h) - 6.5rem);
  box-sizing: border-box;
}
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 240px;
  width: 100%;
  min-width: 0;
  background: var(--deep2);
  isolation: isolate;
  border: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.tile.is-in { opacity: 1; transform: none; }
.tile.is-in:nth-child(1) { transition-delay: 0.02s; }
.tile.is-in:nth-child(2) { transition-delay: 0.1s; }
.tile.is-in:nth-child(3) { transition-delay: 0.18s; }
.tile.is-in:nth-child(4) { transition-delay: 0.26s; }
.tile:hover { z-index: 2; }
.tile picture {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block;
}
.tile-bg, .tile picture img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
  filter: none;
}
.tile:hover .tile-bg { transform: scale(1.1); filter: none; }
.tile-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,14,12,0.05) 0%, rgba(10,14,12,0.25) 40%, rgba(10,14,12,0.88) 100%);
  transition: background 0.35s var(--ease);
}
.tile:hover .tile-scrim {
  background:
    linear-gradient(180deg, rgba(46,89,76,0.25) 0%, rgba(10,14,12,0.35) 35%, rgba(10,14,12,0.92) 100%);
}
/* spectrum left bar on hover */
.tile::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 0; z-index: 2;
  background: var(--spectrum);
  transition: width 0.35s var(--ease);
}
.tile:hover::before { width: 5px; }
.tile-body {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1rem, 2.2vw, 1.4rem);
  color: #fff;
}
/* Path labels (01 Services …) intentionally removed from homepage tiles */
.tile-num { display: none !important; }
.tile h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  line-height: 1.0; letter-spacing: -0.03em; font-weight: 700;
  text-transform: uppercase; color: #fff;
}
.tile p {
  margin: 0; color: rgba(255,255,255,0.8);
  font-size: clamp(0.84rem, 1.15vw, 0.95rem); line-height: 1.4;
  max-width: 30rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tile-go {
  margin-top: 0.85rem;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff;
}
.tile-go i {
  display: inline-block; width: 28px; height: 1px; background: #fff;
  transition: width 0.3s var(--ease);
}
.tile:hover .tile-go i { width: 42px; }

/* —— STRIP: continuous mission marquee —— */
.strip {
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.strip-track {
  display: flex;
  width: max-content;
  padding: 0.95rem 0;
  white-space: nowrap;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: marquee 55s linear infinite;
  will-change: transform;
}
.strip:hover .strip-track { animation-play-state: paused; }
.strip-group {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-right: 1.75rem;
  flex-shrink: 0;
}
.strip-group span { color: rgba(255, 255, 255, 0.62); }
.strip-group span.strip-strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.strip-group b {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  .strip-track {
    animation: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    white-space: normal;
    padding: 0.85rem var(--pad);
    text-align: center;
    row-gap: 0.35rem;
  }
  .strip-group:last-child { display: none; }
  .strip-group {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
    gap: 0.65rem 1.25rem;
  }
}

/* —— CLOSE —— */
.close {
  padding: clamp(3rem, 8vh, 5rem) var(--pad);
  background: var(--deep2);
  color: #fff;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
.close::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--spectrum);
}
.close-inner { max-width: var(--max); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
}
.close h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em; line-height: 1.0; font-weight: 700;
  text-transform: uppercase;
}
.close p { color: rgba(255,255,255,0.7); max-width: 28rem; margin-bottom: 0; }
.close .btn { background: #fff; color: var(--ink); border-color: #fff; }
.close .btn:hover { background: var(--gold); border-color: var(--gold); }
.close-contact { margin-top: 1rem; font-size: 0.9rem; color: rgba(255,255,255,0.55); }
.close-contact a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.3); }

/* —— FOOTER + social —— */
.footer {
  padding: 2rem var(--pad) 2.5rem;
  border-top: 1px solid var(--line);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  margin-bottom: 1.5rem;
  align-items: start;
}
@media (max-width: 700px) {
  .footer-top { grid-template-columns: 1fr; gap: 1.25rem; }
}
.footer .ghost {
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  font-weight: 700; letter-spacing: -0.05em; line-height: 0.9;
  text-transform: uppercase;
  color: rgba(18,24,32,0.07);
  margin-bottom: 1rem;
}
.footer-col strong {
  display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 0.5rem;
}
.footer-col a, .footer-col p {
  display: block; font-size: 0.9rem; color: var(--mute); margin: 0.2rem 0;
}
.footer-col a:hover { color: var(--deep); }
.social {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.social a {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--faint);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
}

/* —— ABOUT —— */
.about-hero {
  padding: 2rem var(--pad) 2rem;
  max-width: var(--max); margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
}
.about-hero .num {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--deep); margin-bottom: 0.75rem;
}
.about-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 0.92; letter-spacing: -0.045em; font-weight: 700;
  text-transform: uppercase;
}
.about-hero .lead { max-width: 36rem; font-size: 1.1rem; }

.founders {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 2rem;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}
.founder {
  background: var(--card);
  border: 1px solid var(--line);
  display: grid; grid-template-rows: auto 1fr;
  min-width: 0;
  height: 100%;
}
.founder-photo {
  aspect-ratio: 1;
  object-fit: cover; width: 100%;
  filter: none;
  transition: filter 0.4s var(--ease);
}
.founder:hover .founder-photo { filter: none; }
.founder-body { padding: 1.25rem 1.35rem 1.5rem; }
.founder-body .role {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.35rem;
}
.founder-body h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em; text-transform: uppercase; line-height: 1;
}
.founder-body p { font-size: 0.95rem; }

.about-story {
  max-width: var(--max); margin: 0 auto;
  padding: 1rem var(--pad) 3rem;
  display: grid; grid-template-columns: 0.35fr 1fr; gap: 2rem;
  border-top: 1px solid var(--line);
}
.about-story .label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--deep); padding-top: 0.25rem;
}
.about-story p { margin-bottom: 1rem; max-width: 40rem; }
.about-story p:last-child { margin-bottom: 0; }

/* —— PILLAR PAGES —— */
.page-hero {
  padding: 1.75rem var(--pad) 1.75rem;
  max-width: var(--max); margin: 0 auto;
  border-bottom: 1px solid var(--line);
  box-sizing: border-box;
  width: 100%;
}
.page-hero .num {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--deep); margin-bottom: 0.65rem;
}
.page-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 0.95; letter-spacing: -0.04em; font-weight: 700;
  text-transform: uppercase;
}
.page-hero .lead { max-width: 38rem; font-size: 1.05rem; margin-bottom: 1.15rem; }
.page-hero .cta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.page-hero .btn-ghost { border-color: var(--line); }

.page-body {
  max-width: var(--max); margin: 0 auto;
  padding: 1.5rem var(--pad) 3rem;
  display: grid; gap: 0;
}
.page-card {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border-left: 0; border-right: 0; border-top: 0;
}
.page-card:first-child { padding-top: 0.25rem; }
.page-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem; letter-spacing: -0.02em;
  text-transform: uppercase; font-weight: 700;
}
.page-card p { margin-bottom: 0.5rem; }
.page-card p:last-child { margin-bottom: 0; }
.page-card ul {
  margin: 0.4rem 0 0; padding: 0 0 0 1.15rem; color: var(--mute);
}
.page-card li { margin: 0.3rem 0; line-height: 1.45; }
.page-card .tag {
  display: inline-block; margin-bottom: 0.45rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
}
.page-card .meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.75rem; margin-top: 0.75rem;
}
.page-card .meta span {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--deep); border: 1px solid var(--line); padding: 5px 10px;
}
.page-card .price {
  margin-top: 0.75rem; font-weight: 700; color: var(--deep);
  font-size: 1.25rem; letter-spacing: -0.02em;
}
.page-note { font-size: 0.85rem; color: var(--faint); margin-top: 0.5rem; }

.page-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-bottom: 1px solid var(--line);
}
.page-split .page-card {
  padding: 1.35rem 1.25rem 1.35rem 0;
  border-bottom: 0;
}
.page-split .page-card + .page-card {
  border-left: 1px solid var(--line);
  padding-left: 1.25rem;
}

.listing { display: grid; gap: 0; }
.listing-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.listing-row h3 {
  margin: 0 0 0.3rem; font-size: 1.05rem; letter-spacing: -0.02em;
  text-transform: uppercase; font-weight: 700;
}
.listing-row p { font-size: 0.92rem; }
.listing-row .price {
  white-space: nowrap; font-weight: 700; color: var(--deep); font-size: 1.05rem;
}
.listing-row .btn {
  margin-top: 0.55rem; padding: 8px 12px; font-size: 0.7rem;
}

.bundle-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line);
  border-bottom: 0;
}
.bundle {
  padding: 1.15rem 1.1rem;
  border-right: 1px solid var(--line);
  background: var(--card);
}
.bundle:last-child { border-right: 0; }
.bundle h3 {
  margin: 0 0 0.4rem; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: -0.01em;
}
.bundle p { font-size: 0.88rem; margin-bottom: 0.5rem; }
.bundle .price { font-weight: 700; color: var(--deep); font-size: 1.05rem; }

.page-cta-band {
  margin-top: 1.5rem;
  padding: 1.5rem 0 0;
  border-top: 3px solid transparent;
  border-image: var(--spectrum) 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.page-cta-band h2 {
  margin: 0 0 0.3rem; font-size: 1.35rem;
  text-transform: uppercase; letter-spacing: -0.03em;
}
.page-cta-band p { margin: 0; max-width: 28rem; font-size: 0.95rem; }

.page-visual {
  margin: 0 calc(-1 * var(--pad)) 0;
  max-width: none;
  width: 100vw;
  position: relative; left: 50%; transform: translateX(-50%);
  max-height: 42vh; overflow: hidden;
  border-block: 1px solid var(--line);
}
.page-visual img {
  width: 100%; height: 42vh; object-fit: cover;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
  .tile { opacity: 1; transform: none; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.35rem 0.75rem 0.75rem;
    z-index: 105;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 12px 28px rgba(18, 24, 32, 0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
  }
  .nav-links a:last-child { border-bottom: 0; }
  .menu-btn { display: flex; }
  .nav-cta { display: none; }
  .paths {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .paths-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 3px;
  }
  .tile { min-height: min(38vh, 300px); width: 100%; aspect-ratio: auto; }
  .founders { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; gap: 0.5rem; }
  .page-split { grid-template-columns: 1fr; }
  .page-split .page-card + .page-card {
    border-left: 0; border-top: 1px solid var(--line); padding-left: 0;
  }
  .bundle-grid { grid-template-columns: 1fr; }
  .bundle { border-right: 0; border-bottom: 1px solid var(--line); }
  .listing-row { grid-template-columns: 1fr; }
}

/* —— Forms —— */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
.form-grid .field {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: grid; gap: 0.35rem;
}
.form-grid .field:nth-child(2n) { border-right: 0; }
.form-grid .field.full { grid-column: 1 / -1; border-right: 0; }
.form-grid label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--deep);
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%; border: 0; background: transparent;
  font: inherit; color: var(--ink); padding: 0.25rem 0;
  outline: none;
}
.form-grid textarea { min-height: 100px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  color: var(--deep);
}
.form-actions {
  margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;
}
.form-note { font-size: 0.85rem; color: var(--faint); }
.form-msg { margin-top: 0.75rem; font-weight: 600; color: var(--deep); min-height: 1.2em; }

/* —— Donate impact —— */
.impact {
  max-width: var(--max); margin: 0 auto;
  padding: 2rem var(--pad) 3rem;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem;
  align-items: start;
}
.impact-stat {
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 700; letter-spacing: -0.05em; line-height: 0.9;
  color: var(--deep);
}
.impact-stat span { display: block; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-top: 0.5rem; font-weight: 700; }
.impact h2 {
  margin: 1rem 0 0.65rem;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.0;
}
.donate-box {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 1.25rem;
}
.donate-box h3 {
  margin: 0 0 0.75rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.qty {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 1rem;
}
.qty button {
  width: 44px; height: 44px; font-size: 1.25rem; font-weight: 700;
  border-right: 1px solid var(--line);
  background: var(--paper);
}
.qty button:last-of-type { border-right: 0; border-left: 1px solid var(--line); }
.qty .amt {
  flex: 1; text-align: center; font-weight: 700; font-size: 1.15rem;
}
.impact-list { margin: 1rem 0 0; padding: 0; list-style: none; }
.impact-list li {
  padding: 0.65rem 0; border-top: 1px solid var(--line);
  font-size: 0.95rem; color: var(--mute);
  display: grid; grid-template-columns: 3.5rem 1fr; gap: 0.75rem;
}
.impact-list b { color: var(--deep); font-weight: 700; }

/* —— Accordion listings —— */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: 120px 1fr auto auto; gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  cursor: pointer;
  background: transparent;
}
.acc-head img {
  width: 120px; height: 80px; object-fit: cover;
  border: 1px solid var(--line);
}
.acc-head h3 {
  margin: 0; font-size: 1.05rem; text-transform: uppercase; letter-spacing: -0.02em;
  font-weight: 700;
}
.acc-head .sub { font-size: 0.85rem; color: var(--mute); margin-top: 0.2rem; }
.acc-head .price { font-weight: 700; color: var(--deep); white-space: nowrap; }
.acc-head .chev {
  font-size: 1.25rem; color: var(--faint); transition: transform 0.25s var(--ease);
}
.acc-item.open .acc-head .chev { transform: rotate(45deg); color: var(--deep); }
.acc-body {
  display: none;
  padding: 0 0 1.25rem;
  grid-template-columns: 1.1fr 0.9fr; gap: 1rem;
}
.acc-item.open .acc-body { display: grid; }
.acc-body img {
  width: 100%; height: 260px; object-fit: cover;
  border: 1px solid var(--line);
}
.acc-body .facts {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.75rem 0;
}
.acc-body .facts span {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 4px 8px; color: var(--deep);
}
.acc-body p { font-size: 0.95rem; margin-bottom: 0.75rem; }
.book-panel {
  margin-top: 0.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
}
.book-panel .book-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 0.5rem; padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.book-panel iframe {
  width: 100%; height: 520px; border: 0; background: #fff;
  display: block;
}
.book-fallback {
  padding: 1rem; font-size: 0.9rem; color: var(--mute);
  display: none;
}
.book-fallback.show { display: block; }

@media (max-width: 900px) {
  .impact { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .field { border-right: 0; }
  .acc-head { grid-template-columns: 72px 1fr auto; }
  .acc-head img { width: 72px; height: 56px; }
  .acc-head .price { display: none; }
  .acc-item.open .acc-body { grid-template-columns: 1fr; }
  .book-panel iframe { height: 640px; }
}

/* —— Page themes: different ground per section —— */
body.theme-living { --page-accent: #3D9B8F; --page-wash: #E8F2EF; }
body.theme-services { --page-accent: #2E594C; --page-wash: #E6EDE8; }
body.theme-stuff { --page-accent: #C99B47; --page-wash: #F5EFE3; }
body.theme-rentals { --page-accent: #3E5578; --page-wash: #E8ECF1; }
body.theme-fund { --page-accent: #9C4A2F; --page-wash: #F3E9E4; }
body.theme-about { --page-accent: #2E594C; --page-wash: #F7F5F0; }

body[class*="theme-"] .page-hero .num { color: var(--page-accent); }
body[class*="theme-"] .nav-links a.is-on { color: var(--page-accent); }

/* Full-bleed photo hero with hard text block */
.hero-photo {
  position: relative;
  min-height: min(52vh, 480px);
  display: grid;
  align-items: end;
  /* .sx spacer already offsets flow; fixed nav covers that zone */
  margin-top: 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-photo picture {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block;
}
.hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(1.05) contrast(1.03);
}
.hero-photo .veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,14,12,0.88) 0%, rgba(10,14,12,0.55) 45%, rgba(10,14,12,0.2) 100%);
}
.hero-photo .hero-photo-inner {
  position: relative; z-index: 1;
  max-width: var(--max); width: 100%; margin: 0 auto;
  padding: 2.5rem var(--pad) 2rem;
  color: #fff;
  box-sizing: border-box;
}
.hero-photo .num {
  color: var(--gold);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.hero-photo h1 {
  color: #fff; max-width: 16ch;
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  line-height: 1.05; letter-spacing: -0.035em;
  text-transform: none;
}
.hero-photo .lead {
  color: rgba(255,255,255,0.82); max-width: 34rem;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  line-height: 1.5;
}
.hero-photo .cta-row {
  display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center;
  margin-top: 1rem;
}
.hero-photo .btn-ghost {
  border-color: rgba(255,255,255,0.4); color: #fff;
}
.hero-photo .btn-ghost:hover { background: #fff; color: var(--ink); }

/* Asymmetric media + text */
.media-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
  max-width: none;
}
.media-row.reverse { direction: rtl; }
.media-row.reverse > * { direction: ltr; }
.media-row .media-img {
  min-height: 320px;
  background: var(--page-wash, var(--paper));
}
.media-row .media-img img {
  width: 100%; height: 100%; min-height: 320px; object-fit: cover;
}
.media-row .media-copy {
  padding: clamp(1.5rem, 4vw, 2.5rem) var(--pad);
  background: var(--page-wash, var(--paper));
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--line);
  box-sizing: border-box;
}
.media-row.reverse .media-copy { border-left: 0; border-right: 1px solid var(--line); }
.media-row .media-copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.05;
}
.media-row .media-copy p { margin-bottom: 0.65rem; }
.media-row .media-copy p:last-child { margin-bottom: 0; }

/* Dark emphasis band */
.band-dark {
  background: var(--ink);
  color: #fff;
  padding: clamp(2rem, 5vw, 3rem) var(--pad);
  border-bottom: 1px solid var(--line);
}
.band-dark .band-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 0.4fr 1fr; gap: 1.5rem;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}
.band-dark .band-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}
.band-dark h2 {
  margin: 0 0 0.5rem; color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.05;
}
.band-dark p { color: rgba(255,255,255,0.72); }
.band-dark ul { color: rgba(255,255,255,0.72); padding-left: 1.1rem; margin: 0.5rem 0 0; }
.band-dark li { margin: 0.35rem 0; }

/* Soft wash section */
.band-wash {
  background: var(--page-wash, #EEF1F0);
  padding: clamp(1.75rem, 4vw, 2.75rem) var(--pad);
  border-bottom: 1px solid var(--line);
}
.band-wash .band-inner {
  max-width: var(--max); margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.band-wash h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  text-transform: uppercase; letter-spacing: -0.02em;
}

/* Photo strip / pair */
.photo-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  max-width: var(--max); margin: 0 auto;
  padding: 1.25rem var(--pad);
}
.photo-pair figure { margin: 0; border: 1px solid var(--line); }
.photo-pair img { width: 100%; height: 240px; object-fit: cover; }
.photo-pair figcaption {
  padding: 0.55rem 0.75rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mute); background: var(--card); border-top: 1px solid var(--line);
}

/* Pull quote */
.pull {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) var(--pad);
  border-bottom: 1px solid var(--line);
}
.pull blockquote {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.25; letter-spacing: -0.03em; font-weight: 700;
  color: var(--ink); max-width: 22ch;
  text-transform: uppercase;
}
.pull cite {
  display: block; margin-top: 0.85rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--page-accent, var(--deep)); font-style: normal;
}

/* Compact content rail under modules */
.rail {
  max-width: var(--max); margin: 0 auto;
  padding: 1.5rem var(--pad) 3rem;
  width: 100%;
  box-sizing: border-box;
}
.band-wash .band-inner,
.band-dark .band-inner,
.close-inner,
.photo-pair,
.listings-intro,
.impact {
  box-sizing: border-box;
}
.photo-pair {
  width: 100%;
  box-sizing: border-box;
}
/* Align form cards and page cards to same vertical rhythm */
.page-card h2,
.band-wash h2,
.media-copy h2 {
  text-wrap: balance;
}
.cta-row {
  display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center;
}

@media (max-width: 900px) {
  .media-row, .media-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .media-row .media-copy, .media-row.reverse .media-copy {
    border-left: 0; border-right: 0; border-top: 1px solid var(--line);
  }
  .band-dark .band-inner { grid-template-columns: 1fr; gap: 0.5rem; }
  .photo-pair { grid-template-columns: 1fr; }
  .photo-pair img { height: 200px; }
  .hero-photo { min-height: 70vh; }
}

/* High-quality image display */
.tile-bg, .hero-photo img, .media-img img, .photo-pair img, .acc-head img, .acc-body img, .page-visual img, .founder-photo,
.lcard-photo img, .lgallery-main img, .lgallery-thumbs button img {
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.tile-bg, .hero-photo img {
  /* avoid over-softening filters that hurt perceived quality */
  filter: none;
}
.tile:hover .tile-bg { filter: none; }

/* —— Listings: Airbnb / DoorLoop style property cards —— */
body.theme-listings { --page-accent: #3E5578; --page-wash: #E8ECF1; }

.listings-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem var(--pad) 3rem;
  box-sizing: border-box;
  width: 100%;
}
.listings-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.listings-head h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.035em; line-height: 1.05;
  text-transform: none;
}
.listings-head p {
  margin: 0;
  max-width: 36rem;
  font-size: 0.95rem;
}
.listings-filters {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.listings-filters button {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--mute);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.listings-filters button:hover,
.listings-filters button.is-on {
  border-color: var(--ink);
  color: var(--ink);
  background: #fff;
}
.listings-filters button.is-on {
  background: var(--ink);
  color: #fff;
}

/* Card grid: 3-up like Airbnb search */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 1.35rem;
  align-items: start;
}
.prop-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  cursor: pointer;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  min-width: 0;
}
.prop-card:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 4px;
}

/* Photo carousel on card */
.prop-media {
  position: relative;
  aspect-ratio: 20 / 19;
  overflow: hidden;
  background: #e8e6df;
  border: 1px solid var(--line);
}
.prop-media-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.35s var(--ease);
}
.prop-media-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}
.prop-media-nav {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 0.45rem;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
  pointer-events: none;
}
.prop-card:hover .prop-media-nav { opacity: 1; }
.prop-media-nav button {
  pointer-events: auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
  font-size: 1.1rem; font-weight: 700; line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  display: grid; place-items: center;
  border: 0;
}
.prop-media-nav button:hover { background: #fff; }
.prop-dots {
  position: absolute; left: 0; right: 0; bottom: 0.55rem;
  display: flex; justify-content: center; gap: 4px;
  pointer-events: none;
}
.prop-dots i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
}
.prop-dots i.is-on { background: #fff; }
.prop-tag {
  position: absolute; top: 0.65rem; left: 0.65rem;
  padding: 0.3rem 0.55rem;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  pointer-events: none;
}
.prop-tag.soon {
  background: var(--gold);
  color: #21170a;
  border-color: transparent;
}

.prop-body { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.prop-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem;
}
.prop-loc {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prop-type {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--faint);
  flex-shrink: 0;
}
.prop-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--mute);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
  letter-spacing: 0;
}
.prop-facts {
  font-size: 0.85rem;
  color: var(--faint);
  font-weight: 500;
}
.prop-price {
  margin-top: 0.2rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.prop-price strong {
  font-weight: 700;
  letter-spacing: -0.01em;
}
.prop-price span {
  font-weight: 500;
  color: var(--mute);
}

/* Property detail modal (Airbnb-style open) */
.prop-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  background: rgba(18, 24, 32, 0.48);
}
.prop-modal.open { display: flex; }
.prop-modal-panel {
  background: var(--paper);
  width: min(960px, 100%);
  max-height: 100vh;
  overflow: auto;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.prop-modal-bar {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: rgba(247, 245, 240, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.prop-modal-bar h2 {
  margin: 0;
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: -0.02em;
}
.prop-modal-close {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 1.25rem;
  line-height: 1;
  display: grid; place-items: center;
}
.prop-modal-close:hover { background: var(--ink); color: #fff; }
.prop-modal-hero {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #121820;
  overflow: hidden;
}
.prop-modal-hero img {
  width: 100%; height: 100%; object-fit: cover;
}
.prop-modal-hero .prop-media-nav { opacity: 1; }
.prop-modal-body {
  padding: 1.25rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: start;
}
.prop-modal-copy h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  text-transform: none;
  letter-spacing: -0.025em;
}
.prop-modal-copy .meta {
  font-size: 0.9rem;
  color: var(--mute);
  margin-bottom: 0.85rem;
}
.prop-modal-copy .facts {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin: 0 0 0.9rem;
}
.prop-modal-copy .facts span {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  border: 1px solid var(--line);
  padding: 5px 9px;
  color: var(--deep);
  text-transform: uppercase;
}
.prop-modal-copy p {
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
  line-height: 1.55;
}
.prop-modal-copy .price-lg {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0.5rem 0 0.75rem;
}
body.modal-open { overflow: hidden; }

/* —— Shared inquiry form modal —— */
.sx-form-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(18, 22, 20, 0.55);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}
.sx-form-modal.open { display: flex; }
.sx-form-panel {
  width: min(560px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  background: var(--card, #fbfaf5);
  border: 1px solid var(--line, #e4e0d6);
  border-radius: 16px;
  box-shadow: 0 28px 60px rgba(18, 22, 20, 0.28);
  padding: 1.15rem 1.25rem 1.35rem;
}
.sx-form-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line, #e4e0d6);
}
.sx-form-bar h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-weight: 700;
}
.sx-form-blurb {
  margin: 0;
  font-size: 0.9rem;
  color: var(--mute, #5b655f);
  max-width: 36rem;
}
.sx-form-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line, #e4e0d6);
  background: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink, #151a17);
}
.sx-form-close:hover { background: var(--ink, #151a17); color: #fff; }
.sx-form-fields {
  display: contents;
}
.sx-form-grid {
  margin: 0;
}
.sx-form-actions {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
}
.sx-form-grid > .form-msg, .sx-form-grid > .form-actions { grid-column: 1 / -1; border-right: 0; }
.sx-form-grid > .form-actions { padding: 0.85rem 1rem 0; border-bottom: 0; }

.sx-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-msg.is-ok { color: var(--deep, #2f6b4f); font-weight: 600; }
.form-msg.is-err { color: #a33; font-weight: 600; }

@media (max-width: 1000px) {
  .prop-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; }
}
@media (max-width: 640px) {
  .prop-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .prop-media-nav { opacity: 1; }
  .prop-modal-body { grid-template-columns: 1fr; }
  .prop-modal-hero { aspect-ratio: 4 / 3; }
  .listings-head h1 { font-size: 1.45rem; }
}


/* A short scannable list reads better centred than ranged left in a wide column. */
.media-copy.centered { text-align: center; }
.media-copy.centered ul { list-style: none; padding: 0; margin: 0 auto; max-width: 42ch; }
.media-copy.centered ul li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.media-copy.centered ul li:last-child { border-bottom: 0; }
.media-copy.centered .page-note { max-width: 46ch; margin-left: auto; margin-right: auto; }


/* ── The statement sits where the four paths meet ─────────────────────────
   A medallion over the centre of the grid: one circle, four businesses,
   the same community. Becomes a normal band on small screens. */
.paths-grid { position: relative; }
.mission-medallion {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 6; width: clamp(320px, 38vw, 460px); aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,.99) 0%, rgba(251,250,247,.97) 55%, rgba(246,244,238,.96) 100%);
  box-shadow: 0 26px 70px rgba(26,58,48,.28), 0 0 0 1px rgba(255,255,255,.7) inset;
  display: grid; place-items: center; text-align: center;
  padding: clamp(2rem, 3.4vw, 3rem);
  pointer-events: none;
}
.mission-medallion .mm-inner { max-width: 30ch; }
.mission-medallion .intro-kicker {
  font-size: .62rem; letter-spacing: .18em; margin-bottom: .5rem; opacity: .75;
}
.mission-medallion .mission-title {
  font-size: clamp(1.15rem, 1.9vw, 1.65rem);
  line-height: 1.12; margin: 0 0 .55rem; max-width: none;
}
.mission-medallion .mission-line {
  font-size: clamp(.86rem, 1.05vw, .98rem); line-height: 1.5;
  font-weight: 600; color: var(--ink); max-width: none; margin: 0 0 .45rem;
}
.mission-medallion .mission-sub {
  font-size: clamp(.78rem, .95vw, .88rem); line-height: 1.55;
  color: #55635C; margin: 0;
}
/* the panels behind it stay legible: a deeper wash under the copy */
.tile-body::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 78%; z-index: -1;
  background: linear-gradient(180deg, rgba(12,24,20,0) 0%, rgba(12,24,20,.55) 48%, rgba(12,24,20,.82) 100%);
}
.tile-body { position: relative; z-index: 1; }
.tile p { color: rgba(255,255,255,.94); -webkit-line-clamp: 4; }
.tile h2 { text-shadow: 0 2px 18px rgba(8,16,13,.5); }

@media (max-width: 900px) {
  .mission-medallion {
    position: static; transform: none; width: 100%; aspect-ratio: auto;
    border-radius: 0; box-shadow: none; padding: 2rem var(--pad) 2.2rem;
    background: linear-gradient(180deg, #FBFAF7 0%, #F6F4EE 100%);
    grid-column: 1 / -1;
  }
  .mission-medallion .mm-inner { max-width: none; }
}


/* full-bleed sections still need air at the window edge */
.paths { padding: clamp(10px, 1.6vw, 22px); box-sizing: border-box; }
.paths-grid { gap: clamp(10px, 1.6vw, 22px); }
.media-row, .close-inner, .page-split { padding-left: max(var(--pad), 2vw); padding-right: max(var(--pad), 2vw); box-sizing: border-box; }


/* Content is centred horizontally in its card and pushed away from the middle
   of the grid, so the medallion never lands on a word.
   The tile is a flex column so the copy block can be pinned top or bottom. */
.tile { display: flex; flex-direction: column; }
.tile-body { align-items: center; }
.tile-body > * { text-align: left; width: 100%; max-width: 34ch; }
/* every card centres its own content vertically */
.tile-body { margin-top: auto; margin-bottom: auto; }


/* One left edge for the whole card: heading, copy and CTA share a width, so
   centring the block never staggers them. */
.tile-body > h2,
.tile-body > p,
.tile-body > .tile-go {
  width: min(100%, 19rem);   /* rem, not ch: ch scales with each font size and staggers the edges */
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.tile-body > .tile-go { justify-content: flex-start; }

/* CTA: a real arrow that travels on hover */
.tile-go i {
  width: 26px; height: 10px; background: none; position: relative;
  transition: transform .28s var(--ease);
}
.tile-go i::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px;
  background: currentColor; transform: translateY(-50%);
}
.tile-go i::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.tile:hover .tile-go i, .tile:focus-visible .tile-go i { transform: translateX(7px); }
.tile-go { transition: gap .28s var(--ease), color .2s var(--ease); }
.tile:hover .tile-go { gap: 14px; }
@media (prefers-reduced-motion: reduce) {
  .tile:hover .tile-go i { transform: none; }
}


/* Every card reserves two lines for its heading, so the copy and the CTA sit on
   the same line across all four cards regardless of title length. */
.tile-body > h2 { min-height: 2em; }
.tile-body > p { min-height: 4.2em; }   /* three lines: keeps every CTA on one line */
@media (max-width: 900px) {
  .tile-body > h2, .tile-body > p { min-height: 0; }
}


/* the medallion carries the mark, then the name, then the statement */
/* Desktop only: fixed circular size (must not override mobile full-width band) */
@media (min-width: 901px) {
  .mission-medallion { width: clamp(300px, 30vw, 400px); }
}
.mission-medallion .mm-logo { width: clamp(46px, 4.4vw, 62px); height: auto; margin: 0 auto .35rem; display: block; }
.mission-medallion .mm-word {
  font-family: "Fredoka", "Nunito", var(--font);
  font-size: clamp(1rem, 1.5vw, 1.3rem); line-height: 1; margin-bottom: .6rem;
}
.mission-medallion .mm-word .brand-spectra {
  font-family: "Caveat", "Segoe Script", cursive; font-weight: 700;
  font-size: 1.34em; color: var(--deep2);
}
.mission-medallion .mm-word .brand-abilities { font-weight: 700; color: var(--deep); }
.mission-medallion .mission-title { font-size: clamp(1rem, 1.5vw, 1.3rem); margin-bottom: .45rem; }
.mission-medallion .mission-line { font-size: clamp(.8rem, .95vw, .9rem); line-height: 1.5; }

/* Mobile: middle statement card is a full-width, truly centered band */
@media (max-width: 900px) {
  .paths-grid {
    justify-items: stretch;
  }
  .mission-medallion {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    justify-self: stretch;
    grid-column: 1 / -1;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
    padding: 2rem var(--pad) 2.2rem;
    display: grid;
    place-items: center;
    text-align: center;
    background: linear-gradient(180deg, #FBFAF7 0%, #F6F4EE 100%);
  }
  .mission-medallion .mm-inner {
    width: 100%;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .mission-medallion .mm-logo,
  .mission-medallion .mm-word,
  .mission-medallion .mission-title,
  .mission-medallion .mission-line,
  .mission-medallion .mission-sub {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  /* Path tiles: keep copy block centered in each card on stacked layout */
  .tile-body {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .tile-body > h2,
  .tile-body > p,
  .tile-body > .tile-go {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .tile-body > .tile-go {
    justify-content: center;
  }
}

/* —— Living scarcity counter —— */
.spots-live {
  margin: 0.85rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
}
.spots-live strong {
  color: var(--gold, #c99b47);
  font-size: 1.05em;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.spots-live.is-full {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.18);
}
.spots-inline {
  color: var(--deep, #2f6b4f);
  font-weight: 700;
}
.spots-inline .spots-n {
  color: var(--gold, #c99b47);
  font-weight: 800;
}
.theme-living .hero-photo-inner .spots-live {
  margin-top: 1rem;
}

/* —— Derek 8/10 round 2 —— */

/* Listings page starts under the fixed nav (the h1 was hidden behind it). */
.listings-page { padding-top: calc(var(--nav-h) + 1.5rem); }

/* Keep the currency symbol tight to the amount inside uppercase buttons. */
.amt-tight { letter-spacing: 0; }

/* Wash band can carry a small side label, same shape as the dark band. */
.band-wash .band-inner.is-split {
  display: grid; grid-template-columns: 0.4fr 1fr; gap: 1.5rem; align-items: start;
}
.band-wash .band-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--page-accent, var(--deep));
}
@media (max-width: 760px) {
  .band-wash .band-inner.is-split { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* Services: what we handle, inside and outside */
.handle-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; text-align: left; }
.handle-split ul { margin: 0.4rem 0 0; padding-left: 1.1rem; max-width: none; list-style: disc; }
.handle-split li { margin: 0.3rem 0; }
.handle-head {
  margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--page-accent, var(--deep));
}
@media (max-width: 760px) { .handle-split { grid-template-columns: 1fr; } }

/* Booking: Uplisting blocks embedding, so we send guests straight to the live calendar. */
.book-out { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0.9rem; }

/* Derek's tree mark needs a little more room than the old flat arc to stay legible. */
.brand img { width: 38px; height: 38px; border-radius: 0; }

/* Powered by Chimzee: the mark plus wordmark is the clickable logo. */
.footer-bottom .powered {
  display: inline-flex; align-items: center; gap: 8px; color: var(--faint);
  line-height: 1;
}
.footer-bottom .built-by {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--mute); text-decoration: none; line-height: 1;
  transition: color 0.15s var(--ease), opacity 0.15s var(--ease);
}
/* The credit is the real lockup, one artwork, not the mark plus typed text: the typed
   capital C was not the logo (Chris, 2026-08-24). align-items centres it on the line. */
.footer-bottom .built-by img {
  height: 17px; width: auto; display: block; opacity: 0.9;
}
.footer-bottom .built-by:hover { color: var(--ink); }
.footer-bottom .built-by:hover img { opacity: 1; }
