/* =============================================================================
   476 TAYLOR APARTMENTS — stylesheet
   Design tokens are at the top. Edit colors/spacing here to restyle the whole site.
   ============================================================================= */

:root {
  /* Brand palette */
  --ink:        #1a1f2e;   /* deep navy/charcoal — primary dark */
  --ink-2:      #2a3142;
  --brass:      #b08d57;   /* warm brass/gold accent */
  --brass-dk:   #97774299;
  --brass-solid:#8a6d3b;
  --cream:      #f7f4ee;   /* warm off-white background */
  --paper:      #ffffff;
  --line:       #e5e0d6;
  --text:       #232733;
  --muted:      #5e6473;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 40px rgba(26,31,46,.10);
  --shadow-sm: 0 4px 18px rgba(26,31,46,.08);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; color: var(--ink); margin: 0 0 .4em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 600; font-size: .95rem; line-height: 1; cursor: pointer;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }

.btn-primary { background: var(--brass); color: #fff; box-shadow: 0 6px 20px rgba(176,141,87,.35); }
.btn-primary:hover { background: var(--brass-solid); box-shadow: 0 8px 26px rgba(138,109,59,.42); }

.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.22); }

.btn-text { background: transparent; color: var(--brass-solid); padding: 10px 6px; }
.btn-text:hover { text-decoration: underline; }

/* ---------- Specials bar ---------- */
.special-bar { display: block; background: var(--brass); color: var(--ink); text-align: center; padding: 11px 18px; font-weight: 700; font-size: .95rem; letter-spacing: .01em; transition: background .2s; }
.special-bar:hover { background: #c8a772; }
.special-bar[hidden] { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,244,238,.88); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 70px; }
.brand-logo { height: 42px; width: auto; }
.main-nav { display: flex; gap: 26px; margin-left: 14px; }
.main-nav a { font-weight: 500; font-size: .95rem; color: var(--ink-2); position: relative; }
.main-nav a:hover { color: var(--brass-solid); }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--brass); transition: width .2s; }
.main-nav a:hover::after { width: 100%; }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.phone-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.phone-link:hover { color: var(--brass-solid); }

.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 12px 22px 22px; background: var(--cream); border-bottom: 1px solid var(--line); }
.mobile-nav a { padding: 12px 4px; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-nav a:last-child { border: 0; margin-top: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 86vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("assets/gallery/living-kitchen-01.jpg");
  background-size: cover; background-position: center;
  transform: scale(1.03);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(26,31,46,.85) 0%, rgba(26,31,46,.55) 55%, rgba(26,31,46,.35) 100%); }
.hero-content { position: relative; max-width: 760px; padding-top: 60px; padding-bottom: 60px; }
.hero-eyebrow { display: inline-block; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; color: #f0d9b5; background: rgba(176,141,87,.25); border: 1px solid rgba(240,217,181,.4); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero-title { color: #fff; font-size: clamp(2.3rem, 6vw, 4.1rem); margin-bottom: 18px; }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: rgba(255,255,255,.92); max-width: 620px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; }
.hero-badges li { position: relative; padding-left: 22px; font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.92); }
.hero-badges li::before { content: "✓"; position: absolute; left: 0; color: var(--brass); font-weight: 700; }

/* ---------- Value strip ---------- */
.value-strip { background: var(--ink); color: #fff; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 30px 22px; }
.value-item { text-align: center; padding: 6px 8px; }
.value-num { display: block; font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: #fff; }
.value-label { display: block; font-size: .82rem; color: rgba(255,255,255,.62); text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--brass-solid); margin: 0 0 12px; }
.section-intro { color: var(--muted); font-size: 1.08rem; }

/* ---------- Floor plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.plan-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-media { background: #f0ece3; aspect-ratio: 4 / 3; overflow: hidden; }
.plan-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.plan-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.plan-body h3 { display: flex; align-items: center; gap: 8px; }
.tag { font-family: var(--font); font-size: .62rem; font-weight: 700; letter-spacing: .05em; background: var(--ink); color: #fff; padding: 3px 7px; border-radius: 5px; }
.plan-price { margin: 0 0 8px; font-size: .98rem; color: var(--muted); }
.plan-price strong { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); font-weight: 700; }
.plan-specs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 12px; padding: 0; color: var(--brass-solid); font-weight: 600; font-size: .9rem; }
.plan-specs span { position: relative; }
.plan-specs span + span::before { content: "•"; position: absolute; left: -9px; color: var(--line); }
.plan-desc { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.plan-body .btn { align-self: flex-start; }
.plan-actions { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.plan-video { padding: 8px 0; font-size: .9rem; }
.plan-card--cta { background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; justify-content: center; }
.plan-card--cta h3 { color: #fff; }
.plan-card--cta .plan-desc { color: rgba(255,255,255,.78); }
.plan-card--cta .btn-text { color: #f0d9b5; }

/* ---------- Amenities ---------- */
.amenity-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 880px; margin: 0 auto; }
.amenity-col { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; }
.section-alt .amenity-col { background: var(--cream); }
.amenity-col h3 { color: var(--brass-solid); margin-bottom: 16px; }
.amenity-list { list-style: none; padding: 0; margin: 0; }
.amenity-list li { padding: 11px 0 11px 30px; position: relative; border-bottom: 1px solid var(--line); }
.amenity-list li:last-child { border-bottom: 0; }
.amenity-list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--brass); }

/* ---------- Gallery (compact uniform grid + lightbox) ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item {
  position: relative; margin: 0; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius-sm); overflow: hidden; background: #ece8df;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); display: block;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.is-hidden { display: none; }
.gallery-item--more::after { content: ""; position: absolute; inset: 0; background: rgba(26,31,46,.62); }
.gallery-more { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; letter-spacing: .01em; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(15,18,28,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-stage { margin: 0; max-width: min(1100px, 92vw); max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb-stage img { max-width: 100%; max-height: 80vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-count { color: rgba(255,255,255,.7); font-size: .9rem; }
.lb-close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; opacity: .85; }
.lb-close:hover { opacity: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s; }
.lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }

/* ---------- Embeds (ShowMojo / map) ---------- */
.embed-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-sm); }
.embed-placeholder { padding: 56px 24px; text-align: center; background: linear-gradient(160deg, var(--cream), var(--paper)); }
.embed-placeholder p { color: var(--muted); }
.embed-placeholder .btn { margin: 8px 0 14px; }
.embed-placeholder--map { padding: 0; aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.embed-fallback { font-size: .9rem; margin: 0; }
.embed-fallback a { color: var(--brass-solid); font-weight: 600; }
.embed-wrap iframe { width: 100%; border: 0; display: block; }
.embed-wrap.is-loaded { box-shadow: var(--shadow); }

/* ---------- Neighborhood ---------- */
.neighborhood { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.neighborhood-points { list-style: none; padding: 0; margin: 0 0 26px; }
.neighborhood-points li { padding: 9px 0 9px 28px; position: relative; }
.neighborhood-points li::before { content: "→"; position: absolute; left: 0; color: var(--brass); font-weight: 700; }
.neighborhood-map .embed-wrap { min-height: 340px; display: flex; }
.neighborhood-map .embed-placeholder { width: 100%; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; padding: 60px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 28px; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 3px; }
.contact-list a { color: var(--ink); font-weight: 600; }
.contact-list a:hover { color: var(--brass-solid); }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.apply-note { font-size: .86rem; color: var(--muted); margin: 14px 0 0; }
.apply-note a { color: var(--brass-solid); font-weight: 600; }
.contact-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 32px; align-self: start; }
.contact-card h3 { color: #fff; margin-bottom: 18px; }
.facts { margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.facts dt { color: rgba(255,255,255,.6); font-size: .92rem; }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.facts-note { margin-top: 20px; font-size: .92rem; color: rgba(255,255,255,.75); }
.facts-note a { color: #f0d9b5; font-weight: 600; }

/* ---------- Tour your way ---------- */
.tour-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tour-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: var(--shadow-sm); }
.tour-icon { font-size: 1.9rem; margin-bottom: 12px; }
.tour-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.tour-card p { color: var(--muted); font-size: .94rem; margin: 0; }
.tour-cta { text-align: center; margin-top: 36px; }

/* Video tour player (lazy) */
.video-wrap { margin: 34px auto 0; max-width: 880px; aspect-ratio: 16 / 9; }
.video-poster { width: 100%; height: 100%; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; padding: 24px; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); position: relative; }
.video-poster::before { content: ""; position: absolute; inset: 0; background: url("assets/gallery/living-kitchen-01.jpg") center/cover; opacity: .28; }
.video-play { position: relative; width: 70px; height: 70px; border-radius: 50%; background: var(--brass); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; padding-left: 5px; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .2s, background .2s; }
.video-poster:hover .video-play { transform: scale(1.08); background: var(--brass-solid); }
.video-label { position: relative; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; }
.video-sub { position: relative; font-size: .85rem; color: rgba(255,255,255,.7); }
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-more { text-align: center; margin: 16px 0 0; font-size: .95rem; color: var(--muted); }
.video-more a { color: var(--brass-solid); font-weight: 600; }
.video-more a:hover { text-decoration: underline; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; margin: 0; box-shadow: var(--shadow-sm); }
.stars { color: var(--brass); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 14px; }
.star-empty { color: var(--line); }
.review-card blockquote { margin: 0 0 16px; font-size: 1.02rem; line-height: 1.55; color: var(--text); font-family: var(--serif); }
.review-card figcaption { color: var(--muted); font-weight: 600; font-size: .92rem; }
.reviews-cta { text-align: center; margin-top: 34px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 1.05rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--brass-solid); font-weight: 400; line-height: 1; flex: 0 0 auto; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-a a { color: var(--brass-solid); font-weight: 600; }

/* ---------- Lead form ---------- */
.form-lede { color: rgba(255,255,255,.78); font-size: .95rem; margin-bottom: 18px; }
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.7); }
.lead-form input, .lead-form select, .lead-form textarea {
  font: inherit; font-size: .95rem; padding: 11px 13px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; width: 100%;
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: rgba(255,255,255,.4); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid var(--brass); border-color: var(--brass); background: rgba(255,255,255,.14); }
.lead-form select option { color: #1a1f2e; }
.lead-form .btn { margin-top: 4px; width: 100%; }
.form-status { font-size: .9rem; margin: 4px 0 0; min-height: 1em; color: #f0d9b5; }

/* ---------- Form consent line ---------- */
.form-consent { font-size: .76rem; line-height: 1.45; color: rgba(255,255,255,.6); margin: 12px 0 0; }
.form-consent a { color: #f0d9b5; text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal-header { background: var(--ink); color: #fff; padding: 18px 0; }
.legal-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-header img { height: 40px; width: auto; background: #fff; padding: 6px; border-radius: 8px; }
.legal-header a.back { color: #f0d9b5; font-weight: 600; font-size: .95rem; }
.legal { max-width: 820px; margin: 0 auto; padding: 60px 22px 80px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: .92rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.35rem; margin: 38px 0 12px; }
.legal h3 { font-size: 1.08rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text); font-size: 1rem; line-height: 1.7; }
.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--brass-solid); text-decoration: underline; }
.legal .note { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; font-size: .92rem; color: var(--muted); }

/* ---------- Floor plan detail pages ---------- */
.fp { max-width: 1040px; margin: 0 auto; padding: 40px 22px 72px; }
.fp-crumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.fp-crumb a { color: var(--brass-solid); }
.fp h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 6px; }
.fp-sub { font-size: 1.1rem; color: var(--ink); margin-bottom: 14px; }
.fp-sub strong { color: var(--brass-solid); }
.fp-desc { color: var(--muted); max-width: 720px; font-size: 1.05rem; }
.fp-ada { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; font-size: .95rem; color: var(--ink); max-width: 720px; }
.fp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 30px 0; align-items: start; }
.fp-diagram { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fp-diagram img { width: 100%; height: auto; display: block; }
.fp-diagram figcaption { font-size: .8rem; color: var(--muted); padding: 8px 12px; }
.fp-video-fig { margin: 0; }
.fp-video { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-sm); }
.fp-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.fp-vcap { font-size: .8rem; color: var(--muted); padding: 8px 2px 0; }
.fp-novideo { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; min-height: 220px; }
.fp-novideo p { margin: 0; color: var(--muted); }
.fp-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 10px 0 30px; }
.fp-features h2 { font-size: 1.3rem; margin-bottom: 14px; }
.fp-features .amenity-list { max-width: 520px; }
.fp-back { margin-top: 30px; }
.fp-back a { color: var(--brass-solid); font-weight: 600; }
@media (max-width: 760px) { .fp-grid { grid-template-columns: 1fr; } }

/* ---------- Content pages (amenities, neighborhood) ---------- */
.page { max-width: 1040px; margin: 0 auto; padding: 40px 22px 72px; }
.page .fp-crumb { margin-bottom: 18px; }
.page > h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.page-lede { font-size: 1.12rem; color: var(--muted); max-width: 760px; margin-bottom: 18px; }
.amen-section { margin: 44px 0; }
.amen-section h2 { font-size: 1.5rem; margin-bottom: 10px; }
.amen-section p { color: var(--text); max-width: 760px; }
.amen-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.amen-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.amen-photos.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.amen-photos.one { grid-template-columns: 1fr; max-width: 600px; }
.page-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 36px 0 10px; }
.page-map { margin-top: 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.page-map iframe { width: 100%; height: 360px; border: 0; display: block; }
@media (max-width: 640px) { .amen-photos { grid-template-columns: 1fr 1fr; } }

/* ---------- Cookie banner ---------- */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 95; background: var(--ink); color: rgba(255,255,255,.9); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 24px rgba(0,0,0,.2); }
.cookie-bar[hidden] { display: none; }
.cookie-inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.cookie-inner p { margin: 0; font-size: .9rem; flex: 1 1 420px; }
.cookie-inner a { color: #f0d9b5; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer-brand img { margin-bottom: 16px; background: #fff; padding: 12px; border-radius: 12px; width: 92px; height: auto; }
.footer-brand p { font-size: .92rem; margin-bottom: 10px; }
.footer-brand a:hover { color: #f0d9b5; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: .94rem; }
.footer-nav a:hover { color: #f0d9b5; }
.footer-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-actions .btn-text { color: #f0d9b5; padding-left: 0; }
.footer-social { display: flex; gap: 16px; margin-top: 6px; }
.footer-social a { font-size: .9rem; color: rgba(255,255,255,.7); }
.footer-social a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-bottom-inner a { color: rgba(255,255,255,.8); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom-inner a:hover { color: #f0d9b5; }
.eho { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.footer-legal { margin: 0; }
.footer-legal a { color: rgba(255,255,255,.7); }
.footer-legal a:hover { color: #f0d9b5; }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(247,244,238,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.sticky-cta .phone-link { flex: 0 0 auto; border: 1.5px solid var(--ink); border-radius: 999px; padding: 12px 18px; }
.sticky-cta .btn { flex: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.open { display: flex; }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .neighborhood, .contact { grid-template-columns: 1fr; gap: 34px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .value-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .plan-grid { grid-template-columns: 1fr; }
  .amenity-cols { grid-template-columns: 1fr; }
  .tour-grid, .review-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lb-nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
  .footer-inner { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  .hero { min-height: 92vh; }
  main { padding-bottom: 72px; } /* clear the sticky bar */
}

/* ---------- Motion / accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
