/* =========================================================
   3743 4th Avenue — Boutique apartments in Hillcrest, San Diego
   Managed by Domo Living
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette — warm, sophisticated, lived-in */
  --clay: #B85C38;          /* Terracotta primary */
  --clay-deep: #8E4426;
  --clay-soft: #E8C9B5;
  --bone: #F5EDE0;          /* Warm cream */
  --paper: #FAF6EF;         /* Lightest cream */
  --espresso: #2B1810;      /* Rich dark */
  --ink: #1A1614;           /* Deep black */
  --moss: #5A6B4A;          /* Sage accent */
  --moss-deep: #3E4A33;
  --gold: #D4A574;          /* Warm gold */
  --ash: #8B7E6E;           /* Muted warm gray */
  --line: #E8DFD0;          /* Subtle divider */

  /* Type scale */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 10px rgba(43, 24, 16, 0.06);
  --shadow: 0 12px 40px rgba(43, 24, 16, 0.10);
  --shadow-lg: 0 30px 80px rgba(43, 24, 16, 0.18);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--espresso);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.08; color: var(--ink); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: "— "; }

.display-xl { font-size: clamp(3rem, 8vw, 6.5rem); line-height: 0.98; letter-spacing: -0.02em; }
.display-lg { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.display-md { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.display-sm { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--espresso);
  max-width: 56ch;
}
em.brushed { font-style: italic; color: var(--clay); font-family: var(--font-display); font-weight: 400; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1480px; }
.container--narrow { max-width: 880px; }

section { padding-block: clamp(4rem, 9vw, 8rem); }
section.tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(250, 246, 239, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { border-color: var(--line); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand__mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--clay);
  color: var(--paper);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.brand__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 2px;
}

.nav__menu {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}
.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--espresso);
  position: relative;
  padding: 0.4rem 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--clay);
  transition: width .25s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--clay); }
.nav__link.is-active::after,
.nav__link:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.nav__cta:hover { background: var(--clay); transform: translateY(-1px); }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 22px; height: 1.5px; background: var(--ink);
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }

@media (max-width: 880px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav--open .nav__menu {
    display: flex;
    position: absolute;
    top: 78px; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 1rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
    gap: 1rem;
  }
  .nav--open .nav__cta { display: inline-flex; margin-top: 0.5rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all .25s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--primary { background: var(--clay); color: var(--paper); }
.btn--primary:hover { background: var(--clay-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(184, 92, 56, 0.35); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--clay); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--cream { background: var(--bone); color: var(--ink); }
.btn--cream:hover { background: var(--paper); }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--bone);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 22, 20, 0) 30%, rgba(26, 22, 20, 0.55) 80%, rgba(26, 22, 20, 0.8) 100%),
    linear-gradient(90deg, rgba(26, 22, 20, 0.35) 0%, rgba(26, 22, 20, 0) 60%);
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 6rem 5rem;
  color: var(--paper);
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay-soft);
  margin-bottom: 1.5rem;
  display: inline-block;
}
.hero__title {
  color: var(--paper);
  max-width: 14ch;
  margin-bottom: 1.5rem;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 52ch;
  color: rgba(245, 237, 224, 0.92);
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.hero__meta {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay-soft);
  z-index: 2;
}
@media (max-width: 720px) { .hero__meta { display: none; } }

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 32px;
  background: linear-gradient(180deg, var(--paper), transparent);
  animation: drop 2s var(--ease) infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Page header (interior pages) ---------- */
.pageheader {
  padding-block: clamp(7rem, 14vw, 11rem) clamp(3rem, 7vw, 5rem);
  background: var(--bone);
  position: relative;
  overflow: hidden;
}
.pageheader::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--clay-soft) 0%, transparent 60%);
  opacity: 0.5;
  z-index: 0;
}
.pageheader__inner { position: relative; z-index: 1; }
.pageheader__title { max-width: 16ch; }
.pageheader__sub { margin-top: 1.5rem; color: var(--ash); }
.crumbs {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 2rem;
  display: flex; gap: 0.6rem;
}
.crumbs a { color: var(--clay); }
.crumbs span { color: var(--ash); }

/* ---------- Sections / cards ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  align-items: end;
}
@media (min-width: 880px) {
  .section-head { grid-template-columns: 1.2fr 1fr; }
}
.section-head__title { max-width: 16ch; }
.section-head__copy { max-width: 48ch; color: var(--ash); }

.grid {
  display: grid;
  gap: clamp(1.25rem, 2vw, 2rem);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--clay-soft);
  box-shadow: var(--shadow);
}
.card__media {
  aspect-ratio: 4 / 3;
  background: var(--bone);
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.6rem 1.75rem 1.85rem; }
.card__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.7rem;
  display: inline-block;
}
.card__title { font-size: 1.45rem; margin-bottom: 0.6rem; }
.card__copy { color: var(--ash); font-size: 0.96rem; margin: 0; }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-block: 1px solid var(--line);
}
.stats__item .num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--ink);
  line-height: 1;
}
.stats__item .lbl {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}
@media (max-width: 740px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
}

/* ---------- Feature pairs (image + text) ---------- */
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.pair--reverse .pair__media { order: 2; }
.pair__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bone);
}
.pair__media:is(button) {
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  position: relative;
  text-align: inherit;
}
.pair__media img, .pair__media video { width: 100%; height: 100%; object-fit: cover; }
.pair__media--floorplan {
  aspect-ratio: 4 / 5;
  background: var(--paper);
  padding: clamp(1rem, 3vw, 2rem);
}
.pair__media--floorplan img {
  object-fit: contain;
}
.plan-expand {
  box-shadow: inset 0 0 0 1px rgba(43, 37, 33, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.plan-expand:hover,
.plan-expand:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(154, 89, 55, 0.28), var(--shadow);
  transform: translateY(-2px);
}
.plan-expand:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}
.plan-expand__hint {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  border-radius: 999px;
  background: rgba(43, 37, 33, 0.78);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.55rem 0.75rem;
  text-transform: uppercase;
}
.plan-video {
  width: min(92vw, 980px);
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--paper);
  padding: 0;
}
.plan-video::backdrop {
  background: rgba(23, 20, 17, 0.78);
  backdrop-filter: blur(8px);
}
.plan-video__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #14110f;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}
.plan-video video {
  display: block;
  width: 100%;
  max-height: min(78vh, 720px);
  background: #14110f;
}
.plan-video__close {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 17, 15, 0.72);
  color: var(--paper);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}
.plan-video__close:hover,
.plan-video__close:focus-visible {
  background: rgba(20, 17, 15, 0.92);
}
.pair__media--vertical {
  aspect-ratio: 720 / 1272;
  max-height: min(760px, 82vh);
  justify-self: center;
  width: min(100%, 520px);
}
.pair__media--vertical img,
.pair__media--vertical video {
  object-fit: contain;
  background: var(--bone);
}
.pair__body { padding-block: 1rem; }
.pair__title { margin-bottom: 1.25rem; }
@media (max-width: 880px) {
  .pair { grid-template-columns: 1fr; }
  .pair--reverse .pair__media { order: 0; }
  .pair__media { aspect-ratio: 4 / 3; }
  .pair__media--floorplan { aspect-ratio: 4 / 5; }
  .plan-expand__hint {
    right: 0.75rem;
    bottom: 0.75rem;
    font-size: 0.64rem;
  }
  .pair__media--vertical {
    aspect-ratio: 720 / 1272;
    max-height: 72vh;
    width: min(100%, 380px);
    margin-inline: auto;
  }
}

/* ---------- Amenity grid ---------- */
.amenity {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.65rem 1.85rem;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.amenity::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--clay-soft), transparent 60%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  z-index: 0;
}
.amenity:hover { transform: translateY(-4px); border-color: var(--clay); box-shadow: var(--shadow-sm); }
.amenity:hover::before { opacity: 0.4; }
.amenity__inner { position: relative; z-index: 1; }
.amenity__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bone);
  display: grid; place-items: center;
  color: var(--clay);
  margin-bottom: 1.25rem;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.amenity:hover .amenity__icon { background: var(--clay); color: var(--paper); }
.amenity__title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.amenity__copy { color: var(--ash); font-size: 0.92rem; margin: 0; }

/* ---------- Floorplan cards ---------- */
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transition: all .35s var(--ease);
}
.plan:hover { border-color: var(--clay); box-shadow: var(--shadow); transform: translateY(-4px); }
.plan__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.plan__name { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); }
.plan__rent { font-family: var(--font-mono); font-size: 0.95rem; color: var(--clay); }
.plan__rent strong { font-size: 1.15rem; font-weight: 600; }
.plan__svg { background: var(--bone); border-radius: var(--radius); margin-bottom: 1.5rem; padding: 1rem; }
.plan__meta {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.plan__meta span strong { color: var(--ink); font-weight: 600; }
.plan__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--clay);
  font-weight: 500;
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

/* ---------- Quote ---------- */
.quote {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4rem, 9vw, 7rem) 0;
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: "“";
  position: absolute;
  font-family: var(--font-display);
  font-size: 30rem;
  color: var(--clay);
  opacity: 0.15;
  top: -8rem; left: -3rem;
  line-height: 1;
}
.quote__body {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.3vw, 2.6rem);
  line-height: 1.25;
  max-width: 28ch;
  color: var(--paper);
  position: relative;
}
.quote__attr {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-soft);
}

/* ---------- Neighborhood pins ---------- */
.pin-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pin {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem 1.5rem;
  background: var(--paper);
  transition: background .25s var(--ease);
}
.pin:hover { background: var(--bone); }
.pin__num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
}
.pin__title { font-size: 1.05rem; font-family: var(--font-display); color: var(--ink); }
.pin__sub { font-size: 0.84rem; color: var(--ash); margin-top: 2px; }
.pin__dist {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--clay);
  letter-spacing: 0.1em;
}
@media (max-width: 720px) { .pin-list { grid-template-columns: 1fr; } }

/* ---------- Map block ---------- */
.mapcard {
  background: var(--bone);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
  position: relative;
}
.mapcard__top {
  padding: 2rem 2rem 0;
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 1rem;
}
.mapcard__svg { padding: 1.5rem 2rem 2rem; }

/* ---------- FAQ ---------- */
.faq__item {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--ink);
  cursor: pointer;
  gap: 1rem;
  line-height: 1.3;
}
.faq__q::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--clay);
  flex-shrink: 0;
  transition: transform .25s var(--ease);
}
.faq__item.is-open .faq__q::after { content: "–"; transform: rotate(0deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease), padding .35s var(--ease);
  color: var(--ash);
  font-size: 0.98rem;
}
.faq__item.is-open .faq__a { max-height: 400px; padding-top: 1rem; }

/* ---------- Tour CTA band ---------- */
.cta-band {
  background: var(--clay);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-band::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--clay-deep) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.cta-band__title { color: var(--paper); max-width: 18ch; }
.cta-band__sub { color: rgba(245, 237, 224, 0.85); margin-top: 0.75rem; }
@media (max-width: 720px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* ---------- Form ---------- */
.form {
  display: grid;
  gap: 1.1rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.15);
}
.field textarea { min-height: 130px; resize: vertical; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(245, 237, 224, 0.7);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
}
.footer h6 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-soft);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
}
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--paper);
  margin-bottom: 1rem;
}
.footer__addr { font-size: 0.92rem; line-height: 1.6; margin-bottom: 1.25rem; }
.footer a { color: rgba(245, 237, 224, 0.7); font-size: 0.92rem; }
.footer a:hover { color: var(--clay); }
.footer ul li { padding: 0.3rem 0; }
.footer__bottom {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 237, 224, 0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(245, 237, 224, 0.5);
}
.fair-housing {
  display: flex; align-items: center; gap: 0.6rem;
}
.fair-housing__icon {
  width: 18px; height: 18px;
  border: 1px solid currentColor;
  border-radius: 2px;
  display: grid; place-items: center;
  font-size: 0.6rem;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: .08s; }
.reveal--delay-2 { transition-delay: .16s; }
.reveal--delay-3 { transition-delay: .24s; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 1.3rem;
  background: var(--bone);
}
.marquee__track {
  display: flex;
  gap: 3rem;
  animation: scroll 38s linear infinite;
  width: max-content;
}
.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.8rem);
  color: var(--ink);
  white-space: nowrap;
  display: flex; align-items: center; gap: 3rem;
}
.marquee__item::after {
  content: "✦";
  color: var(--clay);
  font-size: 0.8em;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Hero background video ---------- */
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__media img,
.hero__media video {
  position: absolute;
  inset: 0;
}

/* ---------- Featured video section ---------- */
.video-feature {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
  overflow: hidden;
}
.video-feature__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .video-feature__inner { grid-template-columns: 1fr; }
}
.video-feature__copy h2 {
  color: var(--paper);
  margin-bottom: 1.25rem;
}
.video-feature__copy p {
  color: rgba(245, 237, 224, 0.82);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 48ch;
}
.video-feature__copy .eyebrow { color: var(--clay-soft); }
.video-feature__player {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-feature__player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-feature__player::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(245, 237, 224, 0.1);
  border-radius: var(--radius-lg);
}

/* Inline video block (e.g., amenities, neighborhood) */
.video-inline {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: var(--shadow);
}
.video-inline video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--ash);
  text-transform: uppercase;
  margin-top: 1rem;
  text-align: center;
}

/* ---------- Pricing band (hero) ---------- */
.price-band {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(245, 237, 224, 0.14);
  border: 1px solid rgba(245, 237, 224, 0.28);
  border-radius: 999px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.price-band__num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--paper);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.price-band__per {
  font-size: 0.95rem;
  color: var(--clay-soft);
  margin-left: 2px;
}
.price-band__divider {
  width: 1px;
  height: 22px;
  background: rgba(245, 237, 224, 0.3);
}
.price-band__features {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(245, 237, 224, 0.85);
  text-transform: none;
}

/* ---------- Incentive banner ---------- */
.incentive {
  background: var(--ink);
  color: var(--paper);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(245, 237, 224, 0.1);
}
.incentive__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}
.incentive__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-soft);
  background: rgba(184, 92, 56, 0.18);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 165, 116, 0.3);
  flex-shrink: 0;
}
.incentive__msg {
  font-size: 0.93rem;
  color: rgba(245, 237, 224, 0.92);
}
.incentive__msg strong { color: var(--paper); font-weight: 600; }
.incentive__link {
  color: var(--clay-soft);
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(212, 165, 116, 0.4);
  white-space: nowrap;
}
.incentive__link:hover { color: var(--paper); border-bottom-color: var(--paper); }

/* ---------- Waitlist progress bar ---------- */
.progress {
  max-width: 720px;
  margin: 0 auto;
}
.progress__bar {
  height: 14px;
  background: linear-gradient(90deg, var(--clay), var(--clay-deep));
  border-radius: 999px;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15);
}
.progress__bar::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 4px;
  background: var(--paper);
  box-shadow: 0 0 12px rgba(212, 165, 116, 0.6);
}
.progress {
  position: relative;
}
.progress > .progress__bar {
  width: 100%;
  background: var(--line);
  overflow: hidden;
}
.progress > .progress__bar {
  background: var(--line);
}
.progress .progress__bar { background: var(--line); }
.progress .progress__bar > * { display: none; }
/* Re-do: simpler structure using a container + filled inner */
.progress {
  background: var(--line);
  border-radius: 999px;
  height: 14px;
  overflow: hidden;
  position: relative;
}
.progress .progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--clay), var(--clay-deep));
  border-radius: 999px;
}
.progress__legend {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.progress__legend strong { color: var(--ink); font-weight: 600; }

/* ---------- Quote cards (social proof) ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 880px) { .quotes { grid-template-columns: 1fr; } }
.qcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.65rem;
  position: relative;
}
.qcard::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--clay);
  line-height: 1;
}
.qcard__body {
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 1.25rem;
  padding-top: 0.5rem;
}
.qcard__attr {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ash);
  margin: 0;
  text-transform: uppercase;
}

/* ---------- Compare table ---------- */
.cmp {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cmp__header,
.cmp__row {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  padding: 1rem 1.25rem;
  gap: 0.5rem;
  align-items: center;
}
.cmp__header {
  background: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  font-weight: 600;
}
.cmp__row { border-top: 1px solid var(--line); font-size: 0.94rem; }
.cmp__row.cmp__row--total {
  background: var(--bone);
  font-weight: 600;
  font-size: 1.02rem;
}
.cmp__row.cmp__row--total td { color: var(--ink); }
.cmp__row span:first-child { font-weight: 500; color: var(--ink); }
.cmp__row .cmp__win {
  color: var(--moss-deep);
  font-weight: 600;
  background: rgba(90, 107, 74, 0.1);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  display: inline-block;
}
@media (max-width: 880px) {
  .cmp__header { display: none; }
  .cmp__row {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
  }
  .cmp__row::before {
    content: attr(data-label);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ash);
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.25rem;
    margin-bottom: 0.25rem;
  }
}

/* ---------- Pricing table ---------- */
.pricing-table {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.pricing-table__header,
.pricing-table__row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr 1fr;
  align-items: center;
  padding: 1.25rem 1.5rem;
  min-width: 660px;
}
.pricing-table__header {
  background: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}
.pricing-table__row {
  border-top: 1px solid var(--line);
}
.pricing-table__plan {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--ink);
}
.pricing-table__rent {
  color: var(--clay);
  font-weight: 600;
}
.pricing-table__tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-left: 0.5rem;
  padding: 2px 8px;
  border: 1px solid var(--clay);
  border-radius: 999px;
  color: var(--clay);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  vertical-align: middle;
}
@media (max-width: 760px) {
  .pricing-table { border-radius: var(--radius); }
  .pricing-table__header,
  .pricing-table__row {
    grid-template-columns: 1.2fr 0.95fr 1.15fr 0.95fr 0.9fr;
    column-gap: 0.45rem;
    min-width: 0;
    padding: 0.95rem 0.85rem;
  }
  .pricing-table__header {
    font-size: 0.48rem;
    letter-spacing: 0.04em;
  }
  .pricing-table__row {
    font-size: 0.82rem;
  }
  .pricing-table__plan {
    font-size: 1rem;
  }
  .pricing-table__tag {
    display: flex;
    margin: 0.35rem 0 0;
    padding: 2px 6px;
    font-size: 0.66rem;
  }
  .pricing-table::-webkit-scrollbar {
    height: 8px;
  }
  .pricing-table::-webkit-scrollbar-track {
    background: var(--bone);
  }
  .pricing-table::-webkit-scrollbar-thumb {
    background: var(--clay-soft);
    border-radius: 999px;
  }
}
@media (max-width: 360px) {
  .pricing-table__header,
  .pricing-table__row {
    min-width: 340px;
  }
}

/* ---------- Cost calculator ---------- */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }
.calc__inputs { display: grid; gap: 0.85rem; }
.calc__input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}
.calc__input-row:last-child { border-bottom: none; }
.calc__input-row label {
  font-size: 0.95rem;
  color: var(--espresso);
}
.calc__input-row .calc__hint {
  display: block;
  font-size: 0.78rem;
  color: var(--ash);
  margin-top: 2px;
}
.calc__input-row input {
  width: 100px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  text-align: right;
  color: var(--ink);
  background: var(--bone);
}
.calc__input-row input:focus {
  outline: none;
  border-color: var(--clay);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.15);
}
.calc__result {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc__result h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-soft);
  margin: 0 0 1.5rem;
  font-weight: 600;
}
.calc__row {
  display: flex; justify-content: space-between;
  padding: 0.55rem 0; font-size: 0.95rem;
  border-bottom: 1px solid rgba(245, 237, 224, 0.1);
}
.calc__row:last-of-type { border-bottom: none; }
.calc__row span:first-child { color: rgba(245, 237, 224, 0.7); }
.calc__row .calc__val { color: var(--paper); font-family: var(--font-mono); }
.calc__delta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 237, 224, 0.2);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--clay-soft);
  line-height: 1.2;
}
.calc__delta strong { color: var(--paper); }

/* ---------- Floor selector ---------- */
.floors {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  align-items: start;
}
@media (max-width: 760px) { .floors { grid-template-columns: 1fr; } }
.floor-stack {
  display: flex;
  flex-direction: column-reverse;
  gap: 0;
}
.floor-stack__lvl {
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-bottom: none;
  background: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.floor-stack__lvl:first-child {
  border-radius: 6px 6px 0 0;
}
.floor-stack__lvl:last-child {
  border-radius: 0 0 6px 6px;
  border-bottom: 1px solid var(--line);
}
.floor-stack__lvl.is-active {
  background: var(--clay);
  color: var(--paper);
  border-color: var(--clay);
}
.floor-stack__lvl.is-active .floor-stack__count { color: var(--paper); }
.floor-stack__lvl:hover:not(.is-active) { background: var(--paper); color: var(--ink); }
.floor-stack__count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--clay);
}
.floor-stack__lvl--roof { background: linear-gradient(90deg, var(--gold), var(--clay-soft)); color: var(--ink); }
.floor-stack__lvl--roof.is-active { background: var(--clay); color: var(--paper); }

.floor-detail { padding: 0.5rem 0.5rem 0; }
.floor-detail h4 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  margin: 0 0 0.5rem;
  font-weight: 500;
}
.floor-detail__meta {
  display: flex; flex-wrap: wrap; gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  margin: 0 0 1rem;
}
.floor-detail__meta strong { color: var(--ink); font-weight: 600; }
.floor-detail p { color: var(--espresso); margin: 0 0 1rem; }

/* ---------- Contact layout ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.contact-grid > aside { position: sticky; top: 110px; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > aside { position: static; }
}

/* ---------- Utility ---------- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.center { text-align: center; }
.text-muted { color: var(--ash); }
.hide-mobile { @media (max-width: 720px) { display: none !important; } }

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


/* ---------- Silent auto-loop micro-clips ---------- */
.video-loop {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #000;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.video-loop:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.video-loop video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.soft-tour-grid {
  gap: clamp(1.5rem, 3vw, 2.75rem);
}
.video-loop--large {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.video-loop figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.1rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.65));
  pointer-events: none;
}
.video-loop--16-9 { aspect-ratio: 16 / 9; }
.pair__media.is-video {
  aspect-ratio: 4 / 5;
  background: #000;
  overflow: hidden;
}
.pair__media.is-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 880px) {
  .pair__media.is-video { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .video-loop video { display: none; }
}


/* ---------- Soft-version video clip cards ---------- */
.clip-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.clip-card video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--bone);
}
.clip-card__body { padding: 1.1rem; }
.clip-card__title { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); margin-bottom: 0.35rem; }
.clip-card__copy { color: var(--ash); font-size: 0.93rem; line-height: 1.55; margin: 0; }


/* ---------- Footer Ask AI CTA ---------- */
.footer-ai {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(245, 237, 224, 0.16);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 10%, rgba(211, 151, 111, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(245, 237, 224, 0.08), rgba(245, 237, 224, 0.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.footer-ai__copy h3 {
  margin: 0.35rem 0 0.55rem;
  max-width: 19ch;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.footer-ai__copy h3 em {
  color: var(--clay-soft);
  font-style: italic;
  font-weight: 400;
}
.footer-ai__copy p {
  max-width: 54ch;
  margin: 0;
  color: rgba(245, 237, 224, 0.76);
}
.footer-ai__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(8.5rem, 1fr));
  gap: 0.65rem;
}
.ai-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.2rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(245, 237, 224, 0.18);
  border-radius: 999px;
  background: rgba(245, 237, 224, 0.075);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.ai-link:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 237, 224, 0.38);
  background: rgba(245, 237, 224, 0.13);
}
.ai-link__mark {
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--paper);
  color: var(--espresso);
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1;
}
.ai-link--chatgpt .ai-link__mark { color: #0f7f68; }
.ai-link--grok .ai-link__mark { color: #111; }
.ai-link--gemini .ai-link__mark { color: #6f5cff; }
.ai-link--perplexity .ai-link__mark { color: #20808d; }
.footer-ai__status {
  grid-column: 1 / -1;
  min-height: 1.1rem;
  margin: -0.5rem 0 0;
  color: var(--clay-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .footer-ai { grid-template-columns: 1fr; }
  .footer-ai__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .footer-ai__actions { grid-template-columns: 1fr; }
}
