/* =========================================================
   A B Siddiky – Theme layer (loaded after styles.css)
   Black, warm whites and layered beiges; editorial serif;
   sharp edges, thin rules and scroll-driven motion.
   ========================================================= */

:root {
  --white: #fdfcfa;
  --cream: #f6f2ec;
  --beige: #ebe4d8;
  --sand: #dcd1bf;
  --taupe: #b6a68e;
  --gold: #8f7a5c;        /* accent: muted bronze-taupe */
  --gold-light: #cdbfa6;
  --gold-dark: #6c5b43;
  --ink: #141312;
  --ink-soft: #55504a;
  --night: #0f0e0d;
  --night-2: #1b1917;
  --line: rgba(20, 19, 18, 0.12);
  --line-light: rgba(253, 252, 250, 0.16);

  --font-heading: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --radius: 2px;
  --shadow: 0 30px 60px -40px rgba(15, 14, 13, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body { font-size: 16px; line-height: 1.75; color: var(--ink-soft); background: var(--white); letter-spacing: 0.005em; }
::selection { background: var(--ink); color: var(--white); }

h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.05; }
h3 { font-size: 1.55rem; }
em { font-style: italic; }

/* ---------- Kickers: numbered editorial labels ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.32em;
  color: var(--gold-dark);
}
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.7; }
.section-head .kicker { justify-content: center; }
.kicker-light { color: var(--gold-light); }
.eyebrow { font-size: 0.7rem; letter-spacing: 0.32em; font-weight: 600; color: var(--gold-light); }
.eyebrow-line { background: currentColor; width: 46px; }

.section { padding: 130px 0; }
.section-white { background: var(--white); }
.section-beige { background: var(--beige); }
.section-cream { background: var(--cream); }
.section-head { margin-bottom: 70px; }
.lead { font-size: 1.05rem; color: var(--ink-soft); }

/* ---------- Buttons: sharp, black, with a sliding fill ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 0; padding: 17px 34px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em;
  border: 1px solid var(--ink);
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.btn:hover { transform: none; box-shadow: none; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-sm { padding: 12px 24px; }

.btn-gold, .btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-gold::before, .btn-dark::before { background: var(--gold); }
.btn-gold:hover, .btn-dark:hover { background: var(--ink); color: var(--white); border-color: var(--gold); }

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

.btn-outline-light { color: var(--white); border-color: rgba(253, 252, 250, 0.5); }
.btn-outline-light::before { background: var(--white); }
.btn-outline-light:hover { background: transparent; color: var(--ink); }

/* Light buttons on dark sections */
.on-dark .btn-gold, .cta .btn-gold, .hero .btn-gold { background: var(--white); color: var(--ink); border-color: var(--white); }
.on-dark .btn-gold::before, .cta .btn-gold::before, .hero .btn-gold::before { background: var(--beige); }
.hero .btn-outline { color: var(--white); border-color: rgba(253, 252, 250, 0.45); }
.hero .btn-outline::before { background: var(--white); }
.hero .btn-outline:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  background: transparent; border-bottom: 1px solid transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: transform 0.6s var(--ease), background 0.4s, border-color 0.4s;
}
.site-header.scrolled {
  background: rgba(253, 252, 250, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line); box-shadow: none;
}
.site-header.is-hidden { transform: translateY(-100%); }
.brand-name { font-family: var(--font-heading); font-weight: 600; font-size: 1.45rem; letter-spacing: 0.02em; }
.brand-tag { font-size: 0.6rem; letter-spacing: 0.42em; color: var(--gold-dark); }
.main-nav a { font-size: 0.7rem; letter-spacing: 0.22em; font-weight: 600; }
.main-nav a::after { background: currentColor; height: 1px; bottom: -2px; }

/* Header over a dark hero (homepage) */
.has-dark-hero .site-header:not(.scrolled) .brand-name,
.has-dark-hero .site-header:not(.scrolled) .main-nav a { color: var(--white); }
.has-dark-hero .site-header:not(.scrolled) .brand-tag { color: var(--gold-light); }
.has-dark-hero .site-header:not(.scrolled) .brand-mark { filter: brightness(0) invert(1) opacity(0.9); }
.has-dark-hero .site-header:not(.scrolled) .nav-toggle span { background: var(--white); }
.has-dark-hero .site-header:not(.scrolled) .btn-gold { background: transparent; border-color: rgba(253,252,250,0.5); color: var(--white); }
.has-dark-hero .site-header:not(.scrolled) .btn-gold::before { background: var(--white); }
.has-dark-hero .site-header:not(.scrolled) .btn-gold:hover { color: var(--ink); }

/* Scroll progress line */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: var(--gold); transform-origin: left; transform: scaleX(0);
  pointer-events: none;
}

/* ---------- Homepage hero: full-height, dark ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background:
    radial-gradient(900px 600px at 78% 35%, rgba(143, 122, 92, 0.22), transparent 65%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: rgba(253, 252, 250, 0.72);
  position: relative;
}
.hero::after { /* fine grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { gap: 80px; position: relative; z-index: 1; }
.hero-title {
  color: var(--white);
  font-size: clamp(2.8rem, 5.2vw, 4.9rem);
  font-weight: 400; line-height: 0.98; letter-spacing: -0.02em;
}
.hero-title em { color: var(--gold-light); font-weight: 400; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { color: rgba(253, 252, 250, 0.7); font-size: 1.02rem; }
.hero-sub strong { color: var(--white); font-weight: 500; }
.hero-proof {
  background: transparent; border: 0; border-radius: 0;
  border-top: 1px solid var(--line-light);
  padding-top: 26px; gap: 0; max-width: 560px;
}
.hero-proof li { border-right: 1px solid var(--line-light); padding: 0 28px 0 0; margin-right: 28px; }
.hero-proof li:last-child { border-right: 0; margin-right: 0; }
.hero-proof strong { color: var(--white); font-size: 1.6rem; font-weight: 500; }
.hero-proof span { color: rgba(253, 252, 250, 0.55); letter-spacing: 0.18em; font-size: 0.62rem; }
.hero-proof sup { color: var(--gold-light); }

.hero-arch {
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #f3eee6 0%, #d9ccb7 100%);
  border: 0; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8);
}
.hero-arch::before { display: none; }
.hero-visual::before {
  content: ""; position: absolute; inset: -14px -14px auto -14px; aspect-ratio: 4 / 5; height: auto;
  width: calc(100% + 28px); border: 1px solid rgba(205, 191, 166, 0.35); border-bottom: 0;
  border-radius: 999px 999px 0 0; pointer-events: none;
}
.hero-badge {
  background: var(--white); border-radius: 0; border-left: 0;
  border-top: 2px solid var(--gold); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.hero-badge-name { font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.hero-badge-role { color: var(--ink-soft); font-size: 0.72rem; letter-spacing: 0.08em; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; z-index: 1; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase; color: rgba(253,252,250,0.5);
}
.hero-scroll::after {
  content: ""; width: 1px; height: 46px;
  background: linear-gradient(var(--gold-light), transparent);
  animation: scrollcue 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee of areas ---------- */
.marquee {
  background: var(--beige); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 26px 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.4rem); font-style: italic;
  color: var(--ink); padding: 0 34px; white-space: nowrap; display: inline-flex; align-items: center; gap: 68px;
}
.marquee-track span::after { content: "✦"; font-style: normal; font-size: 0.8rem; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards: flat, outlined, quiet hover ---------- */
.service-card, .guide-card, .listing-card, .review-card, .pillar, .contact-card, .contact-info,
.calc, .calc-result, .alerts-form, .listings-empty, .social-card, .community-links a {
  border-radius: var(--radius); box-shadow: none;
}
.service-card {
  background: transparent; border: 0; border-top: 1px solid var(--ink); padding: 32px 4px 8px;
  position: relative;
}
.service-card::after {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--gold);
  transition: width 0.8s var(--ease);
}
.service-card:hover { transform: none; box-shadow: none; }
.service-card:hover::after { width: 100%; }
.service-icon { background: transparent; width: auto; height: auto; justify-content: start; margin-bottom: 26px; }
.service-icon svg { width: 30px; height: 30px; stroke: var(--ink); stroke-width: 1.2; }
.services-grid { gap: 48px; counter-reset: svc; }
.service-card h3 { font-size: 1.6rem; }
.service-card h3::before {
  counter-increment: svc; content: "0" counter(svc);
  display: block; font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 10px;
}

.guide-card, .review-card, .listing-card, .pillar, .contact-card, .contact-info {
  background: var(--white); border: 1px solid var(--line);
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease);
}
.guide-card:hover, .review-card:hover, .listing-card:hover { transform: translateY(-4px); box-shadow: none; border-color: var(--ink); }
.guide-icon, .listings-empty-icon, .contact-icon, .form-success-icon { background: var(--beige); border-radius: 0; }
.guide-icon svg, .contact-icon svg, .listings-empty-icon svg { stroke: var(--ink); stroke-width: 1.3; }
.guide-btn, .listing-link, .area-link, .social-cta { color: var(--ink); letter-spacing: 0.22em; font-size: 0.68rem; }
.guide-card .guide-cat, .area-region { color: var(--gold-dark); }

/* ---------- About (homepage) ---------- */
.about-frame { border-radius: 0; box-shadow: none; background: linear-gradient(180deg, #f6f2ec 0%, #dcd1bf 100%); }
.about-photo::before { border-color: var(--ink); border-width: 1px; border-radius: 0; top: -26px; left: -26px; }
.about-role { color: var(--gold-dark); letter-spacing: 0.22em; font-size: 0.72rem; }
.about-quote { border-left: 1px solid var(--ink); font-size: 1.5rem; font-style: italic; line-height: 1.35; }
.about-quote em { color: var(--ink); }
.about-highlights { border-color: var(--ink); }
.about-highlights strong { font-size: 1.5rem; font-weight: 500; }
.about-brokerages img { filter: grayscale(1) contrast(1.1); opacity: 0.85; }

/* ---------- Areas: image cards with slow zoom ---------- */
.area-grid { gap: 2px; background: transparent; }
.area-card { border: 0; border-radius: 0; min-height: 420px; background-size: cover; overflow: hidden; }
.area-card { background-image: none !important; }
.area-card > .area-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--area-img, none) var(--area-pos, center) / cover no-repeat, linear-gradient(160deg, #b6a68e, #55504a);
  transform: scale(1.04); transition: transform 1.6s var(--ease);
}
.area-card::before { z-index: 1; background: linear-gradient(180deg, rgba(15,14,13,0) 30%, rgba(15,14,13,0.82) 100%); }
.area-card > :not(.area-bg) { z-index: 2; }
.area-card:hover { transform: none; box-shadow: none; }
.area-card:hover > .area-bg { transform: scale(1.12); }
.area-region { background: transparent; color: var(--white); border: 1px solid rgba(253,252,250,0.5); border-radius: 0; letter-spacing: 0.26em; }
.area-name { font-size: 2rem; font-weight: 500; }
.area-link { color: var(--white); }
.area-card:hover .area-link { color: var(--gold-light); }

/* ---------- Forms ---------- */
.field input, .field select, .field textarea {
  border-radius: 0; border: 0; border-bottom: 1px solid var(--taupe); background: transparent;
  padding-left: 0; padding-right: 0;
}
.field select { padding-right: 28px; background-position: right 4px center; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: none; border-bottom-color: var(--ink); }
.field textarea { border: 1px solid var(--taupe); padding: 12px 14px; }
.field label, .contact-form legend { font-size: 0.66rem; letter-spacing: 0.22em; color: var(--ink-soft); }
.alerts-form { background: var(--white); border: 1px solid var(--line); padding: 44px; }
.chip span { border-radius: 0; background: transparent; border-color: var(--taupe); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); }

/* ---------- Tabs & filters ---------- */
.listing-tabs, .calc-toggle { background: transparent; border: 1px solid var(--line); border-radius: 0; padding: 4px; }
.listing-tab, .calc-toggle span { border-radius: 0; letter-spacing: 0.18em; font-size: 0.68rem; }
.listing-tab.is-active, .calc-toggle input:checked + span { background: var(--ink); color: var(--white); box-shadow: none; }
.listing-filters select { border-radius: 0; background-color: transparent; border-color: var(--line); }
.listings-toolbar { background: rgba(253,252,250,0.94); backdrop-filter: blur(12px); }
.listing-status { background: var(--ink); border-radius: 0; letter-spacing: 0.2em; }
.listing-type { border-radius: 0; }
.listing-price { font-size: 1.9rem; font-weight: 500; }
.listing-photo img { transition: transform 1.2s var(--ease); }
.listing-card { overflow: hidden; }
.listing-card:hover .listing-photo img { transform: scale(1.06); }

/* ---------- Inner page heroes ---------- */
.page-hero {
  background: var(--cream); border-bottom: 1px solid var(--line);
  padding-top: calc(var(--header-h) + 90px);
}
.page-title { font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.02em; }
.page-title em { color: var(--gold-dark); font-weight: 400; }
.page-hero .eyebrow { color: var(--gold-dark); }
.page-hero-tags li { border-radius: 0; background: transparent; border-color: var(--ink); font-size: 0.66rem; letter-spacing: 0.2em; }
.portrait-frame { border-radius: 0; box-shadow: none; }
.page-hero-photo::before { border-color: var(--ink); border-width: 1px; border-radius: 0; }

/* About page */
.story-lead { font-family: var(--font-heading) !important; font-size: 1.7rem !important; line-height: 1.35 !important; font-weight: 500; }
.quote-band { background: var(--night); }
.quote-band blockquote { font-weight: 400; font-style: italic; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.2; }
.quote-band em { color: var(--gold-light); }
.quote-band-mark { color: var(--gold); }
.pillar { background: transparent; border: 0; border-top: 1px solid var(--ink); padding: 34px 4px 0; }
.pillar-num { color: var(--gold); font-size: 3.4rem; font-weight: 400; }
.brokerage-logos img { filter: grayscale(1); }

/* Reviews */
.reviews-summary { border-radius: 0; box-shadow: none; border: 1px solid var(--ink); background: transparent; }
.reviews-rating { color: var(--ink); font-weight: 500; }
.review-stars svg { fill: var(--sand); }
.review-stars .on svg { fill: var(--gold); }
.review-text { font-size: 1.3rem; line-height: 1.5; }
.review-mark { color: var(--beige); font-size: 6rem; }

/* Calculator */
.calc { background: var(--cream); border: 1px solid var(--line); }
.calc-result { border-top: 2px solid var(--ink); box-shadow: none; border-radius: 0; }
.calc-payment { font-size: 3.6rem; font-weight: 500; }
.calc-field output { font-size: 1.5rem; font-weight: 500; color: var(--ink); }
.calc input[type="range"] { accent-color: var(--ink); }

.guide-dialog { border-radius: 0; }
.dialog-close { border-radius: 0; }

/* ---------- CTA & footer: black ---------- */
.cta { background: var(--night); padding: 150px 0; }
.cta h2 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 400; }
.cta .kicker { justify-content: center; }
.site-footer { background: var(--night-2); color: rgba(253,252,250,0.6); border-top: 0; }
.site-footer .footer-title { color: var(--white); font-size: 0.66rem; letter-spacing: 0.3em; }
.site-footer ul a:hover { color: var(--white); }
.footer-brand img { filter: brightness(0) invert(1); opacity: 0.85; }
.footer-brokerages img { filter: brightness(0) invert(1); opacity: 0.7; }
.footer-social a { border-radius: 0; border-color: var(--line-light); }
.footer-social svg { stroke: var(--white); }
.footer-social a:hover { background: var(--white); border-color: var(--white); }
.footer-social a:hover svg { stroke: var(--ink); }
.footer-grid { border-bottom-color: var(--line-light); }
.footer-legal { color: rgba(253,252,250,0.4); }

/* =========================================================
   Motion
   ========================================================= */
.js-motion [data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }

.js-motion [data-reveal="image"] {
  opacity: 1; transform: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.4s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js-motion [data-reveal="image"].is-in { clip-path: inset(0 0 0 0); }
.js-motion .hero-arch[data-reveal="image"] { clip-path: inset(100% 0 0 0); }
.js-motion .hero-arch[data-reveal="image"].is-in { clip-path: inset(0 0 0 0); }
.js-motion [data-reveal="image"] img { transform: scale(1.12); transition: transform 2s var(--ease); transition-delay: var(--delay, 0s); }
.js-motion [data-reveal="image"].is-in img { transform: scale(1); }
.js-motion .hero-arch[data-reveal="image"] img { transform: translateX(-50%) scale(1.12); }
.js-motion .hero-arch[data-reveal="image"].is-in img { transform: translateX(-50%) translateY(var(--parallax, 0px)); transition: transform 2s var(--ease), translate 0s; }

.js-motion [data-reveal="line"]::after { width: 0; }
.js-motion .hero-title .line > span { transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: var(--delay, 0s); }
.js-motion .hero-title.is-in .line > span { transform: none; }

/* Older reveal class from the first build */
.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js-motion [data-reveal], .js-motion [data-reveal="image"], .js-motion .hero-title .line > span {
    opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important;
  }
  .js-motion [data-reveal="image"] img { transform: none !important; }
  .marquee-track, .hero-scroll::after { animation: none; }
  .site-header.is-hidden { transform: none; }
}

/* =========================================================
   Responsive tweaks
   ========================================================= */
@media (max-width: 900px) {
  .hero-visual::before { inset: -10px -10px auto -10px; width: calc(100% + 20px); }
  .hero-badge { animation: badge-in 1.2s var(--ease) 0.6s both; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 30px); }
  .hero-inner { gap: 56px; }
  .hero-proof { margin: 0 auto; justify-content: center; }
  .hero-scroll { display: none; }
  .has-dark-hero .site-header:not(.scrolled) .main-nav.open a { color: var(--ink); }
  .section { padding: 90px 0; }
  .area-card { min-height: 340px; }
  .cta { padding: 110px 0; }
}
@media (max-width: 600px) {
  .hero-proof { grid-template-columns: 1fr; text-align: center; }
  .hero-proof li { border-right: 0; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
  .hero-proof li:last-child { border-bottom: 0; }
  .services-grid { gap: 36px; }
  .alerts-form { padding: 28px 20px; }
  .calc-payment { font-size: 2.8rem; }
}

@keyframes badge-in { from { opacity: 0; } to { opacity: 1; } }
.cta .kicker, .kicker-light { font-size: 0.7rem; letter-spacing: 0.32em; }

/* ---------- Watch & Follow (homepage) ---------- */
.media-section { background: var(--cream); }
.media-section h2 em { color: var(--gold-dark); font-weight: 400; }
.media-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 28px; align-items: start; }
.media-video {
  position: relative; aspect-ratio: 16 / 9; background: var(--night); overflow: hidden;
}
.media-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-lite, .yt-fallback {
  position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--white); font: inherit; text-align: center;
  background:
    radial-gradient(600px 300px at 50% 40%, rgba(143,122,92,0.35), transparent 70%),
    linear-gradient(160deg, var(--night-2), var(--night));
}
.yt-lite img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity 0.4s; opacity: 0.85; }
.yt-lite:hover img { transform: scale(1.04); opacity: 1; }
.yt-lite::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(15,14,13,0.75)); }
.yt-play {
  position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 50%;
  border: 1px solid rgba(253,252,250,0.7); background: rgba(15,14,13,0.35);
  backdrop-filter: blur(6px); transition: transform 0.5s var(--ease), background 0.4s;
}
.yt-play::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%);
  border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--white);
}
.yt-lite:hover .yt-play, .yt-fallback:hover .yt-play { transform: scale(1.08); background: rgba(15,14,13,0.6); }
.yt-title { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 22px; text-align: left; font-family: var(--font-heading); font-size: 1.5rem; }
.yt-label { font-family: var(--font-heading); font-size: 2rem; }
.yt-handle { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-light); }

.media-ig { display: grid; gap: 20px; }
.ig-profile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 40px 28px; background: var(--white); border: 1px solid var(--line);
  transition: border-color 0.5s var(--ease);
}
.ig-profile:hover { border-color: var(--ink); }
.ig-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: top; padding: 3px; border: 1px solid var(--gold); margin-bottom: 10px; }
.ig-name { font-family: var(--font-heading); font-size: 1.5rem; color: var(--ink); }
.ig-sub { font-size: 0.82rem; margin-bottom: 16px; }
.ig-posts[hidden] { display: none; }
.ig-posts { display: grid; gap: 16px; }
.ig-posts .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; }

.media-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 36px; margin-top: 44px; }
.media-links a {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink);
}
.media-links a:hover { color: var(--gold-dark); }
.media-links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.media-links svg .fill { fill: currentColor; stroke: none; }

@media (max-width: 900px) {
  .media-grid { grid-template-columns: 1fr; }
  .yt-label { font-size: 1.5rem; }
}

/* Instagram grid */
.ig-grid { display: grid; grid-template-columns: repeat(var(--ig-cols, 6), 1fr); gap: 6px; margin-top: 28px; }
.ig-grid[hidden] { display: none; }
.ig-tile { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--beige); display: block; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ig-tile:hover img { transform: scale(1.08); }
.ig-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; text-align: center; color: var(--white);
  background: rgba(15, 14, 13, 0.62); opacity: 0; transition: opacity 0.5s var(--ease);
}
.ig-tile:hover .ig-overlay, .ig-tile:focus-visible .ig-overlay { opacity: 1; }
.ig-overlay svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.ig-overlay svg .fill { fill: currentColor; stroke: none; }
.ig-caption { font-size: 0.78rem; line-height: 1.45; }
.ig-tile.is-video::after {
  content: ""; position: absolute; top: 12px; right: 12px; border-style: solid;
  border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--white);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}
.js-motion .ig-grid .ig-tile { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0s); }
.js-motion .ig-grid.is-ready .ig-tile { opacity: 1; transform: none; }
@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .ig-grid { gap: 4px; } .ig-caption { display: none; } }
@media (prefers-reduced-motion: reduce) { .js-motion .ig-grid .ig-tile { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   Light palette: cream & white surfaces, beige layers,
   black kept to type, buttons and fine rules.
   ========================================================= */

/* Hero */
.hero {
  background:
    radial-gradient(900px 600px at 80% 30%, rgba(220, 209, 191, 0.55), transparent 65%),
    linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  color: var(--ink-soft);
}
.hero::after { opacity: 0.025; }
.hero-title { color: var(--ink); }
.hero-title em { color: var(--gold-dark); }
.hero .eyebrow { color: var(--gold-dark); }
.hero-sub { color: var(--ink-soft); }
.hero-sub strong { color: var(--ink); }
.hero-proof { border-top-color: var(--line); }
.hero-proof li { border-right-color: var(--line); }
.hero-proof strong { color: var(--ink); }
.hero-proof span { color: var(--ink-soft); }
.hero-proof sup { color: var(--gold-dark); }
.hero-arch { background: linear-gradient(180deg, #faf7f2 0%, var(--sand) 100%); box-shadow: 0 50px 90px -50px rgba(20, 19, 18, 0.35); }
.hero-visual::before { border-color: rgba(20, 19, 18, 0.25); }
.hero-badge { border-top-color: var(--ink); box-shadow: 0 24px 50px -30px rgba(20, 19, 18, 0.35); }
.hero-scroll { color: var(--ink-soft); }
.hero-scroll::after { background: linear-gradient(var(--ink), transparent); }
.hero .btn-gold { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hero .btn-gold::before { background: var(--gold); }
.hero .btn-outline { color: var(--ink); border-color: var(--ink); }
.hero .btn-outline::before { background: var(--ink); }
.hero .btn-outline:hover { color: var(--white); }

/* About-page quote band */
.quote-band { background: var(--beige); }
.quote-band blockquote { color: var(--ink); }
.quote-band em { color: var(--gold-dark); }
.quote-band-mark { color: var(--gold); }

/* Call-to-action band */
.cta {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(255, 255, 255, 0.7), transparent 70%),
    var(--beige);
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.cta h2 { color: var(--ink); }
.cta .kicker, .cta .kicker-light { color: var(--gold-dark); }
.cta .btn-gold { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cta .btn-gold::before { background: var(--gold); }
.cta .btn-outline-light { color: var(--ink); border-color: var(--ink); }
.cta .btn-outline-light::before { background: var(--ink); }
.cta .btn-outline-light:hover { color: var(--white); }

/* Footer */
.site-footer { background: var(--cream); color: var(--ink-soft); border-top: 1px solid var(--line); }
.site-footer .footer-title { color: var(--ink); }
.site-footer ul a:hover { color: var(--gold-dark); }
.footer-brand img { filter: none; opacity: 1; }
.footer-brokerages img { filter: grayscale(1); opacity: 0.8; }
.footer-social a { border-color: var(--line); }
.footer-social svg { stroke: var(--ink); }
.footer-social a:hover { background: var(--ink); border-color: var(--ink); }
.footer-social a:hover svg { stroke: var(--white); }
.footer-grid { border-bottom-color: var(--line); }
.footer-legal { color: #6b6259; }

/* Video panel before a thumbnail loads */
.yt-fallback, .yt-lite {
  background:
    radial-gradient(600px 300px at 50% 40%, rgba(255,255,255,0.6), transparent 70%),
    linear-gradient(160deg, var(--beige), var(--sand));
  color: var(--ink);
}
.media-video { background: var(--beige); }
.yt-fallback .yt-play { border-color: var(--ink); background: rgba(255,255,255,0.4); }
.yt-fallback .yt-play::before { border-color: transparent transparent transparent var(--ink); }
.yt-handle { color: var(--gold-dark); }
.hero-badge-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 12px; padding: 10px 16px;
  background: var(--gold); color: var(--white);
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; white-space: nowrap;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.hero-badge-phone svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.hero-badge-phone:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-1px); }
.eval-dialog { width: min(600px, calc(100vw - 32px)); }
@media (max-width: 600px) { .eval-dialog .field-row:has(#e-beds) { grid-template-columns: 1fr 1fr; } }

/* ---------- Homepage reviews ---------- */
.section-cream { background: var(--cream); }
#reviews[hidden] { display: none; }
#reviews .reviews-cta { margin-top: 40px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 150;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--cream); color: var(--ink);
  border: 1px solid var(--ink); border-radius: 0; cursor: pointer;
  box-shadow: 0 14px 30px -18px rgba(20, 19, 18, 0.45);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s, background 0.3s, color 0.3s;
}
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover, .to-top:focus-visible { background: var(--ink); color: var(--cream); }
@media (max-width: 600px) { .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; transform: none; } }

/* ---------- Site credit (last line of the footer) ---------- */
.footer-legal .footer-credit {
  margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: #6b6259;
}
/* Leave room so the back-to-top button never covers the last footer line */
.footer-legal { padding-bottom: 150px; }
/* .container's padding rule was cancelling the space under the footer columns on phones */
.site-footer .footer-grid { padding-bottom: 50px; }

/* =========================================================
   Accessibility (WCAG 2.1 / 2.2 AA)
   ========================================================= */

/* Skip link: hidden until a keyboard user tabs to it */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 12px 18px; background: var(--ink); color: var(--cream);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em;
  transform: translateY(-160%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }

/* A clear focus ring everywhere for keyboard users */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn-dark:focus-visible, .btn-gold:focus-visible, .hero-badge-phone:focus-visible { outline-color: var(--gold-dark); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible,
.listing-filters select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.chip input:focus-visible + span, .calc-toggle input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Never hide the header while something inside it has keyboard focus */
.site-header:focus-within { transform: none; }

/* Marquee pause/play */
.marquee { position: relative; }
.marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-toggle {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--cream); color: var(--ink); border: 1px solid var(--ink); border-radius: 0; cursor: pointer;
}
.marquee-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.marquee-toggle .icon-play { fill: currentColor; stroke: none; display: none; }
.marquee.is-paused .icon-play { display: block; }
.marquee.is-paused .icon-pause { display: none; }
.marquee-toggle:hover { background: var(--ink); color: var(--cream); }
@media (prefers-reduced-motion: reduce) { .marquee-toggle { display: none; } }

/* Long-form text pages (accessibility statement) */
.prose > * { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft); }
.prose ul { padding-left: 1.2em; margin: 0 0 18px; display: grid; gap: 8px; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-dark); }
.prose-note { margin-top: 44px; font-size: 0.9rem !important; }
.footer-legal a { text-decoration: underline; text-underline-offset: 2px; }

/* Keep keyboard focus (and #anchor jumps) clear of the sticky header and the back-to-top button */
html { scroll-padding-top: 120px; scroll-padding-bottom: 160px; }

/* ---------- Cookie consent (compact strip) ---------- */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 900;
  display: flex; align-items: center; gap: 14px;
  max-width: min(520px, calc(100vw - 110px));
  padding: 10px 10px 10px 16px;
  background: rgba(253, 252, 250, 0.96); color: var(--ink-soft);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px -20px rgba(20, 19, 18, 0.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-shown { opacity: 1; transform: none; }
.cookie-text { margin: 0; font-size: 0.8rem; line-height: 1.45; }
.cookie-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.cookie-actions { display: flex; gap: 6px; flex: none; }
.cookie-btn {
  min-height: 32px; padding: 6px 14px; cursor: pointer;
  font: inherit; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cookie-btn:hover { border-color: var(--ink); }
.cookie-btn--primary { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.cookie-btn--primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
@media (max-width: 600px) {
  .cookie-banner { left: 12px; right: 84px; bottom: 16px; max-width: none; flex-wrap: wrap; gap: 8px 10px; padding: 10px 12px; }
  .cookie-text { flex: 1 1 100%; font-size: 0.76rem; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { transition: none; transform: none; } }

/* YouTube: asked-first notice when media cookies aren't accepted */
.yt-consent {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 16px;
  padding: 24px; text-align: center; background: var(--beige); color: var(--ink);
}
.yt-consent p { margin: 0; font-size: 1rem; }
.yt-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- WhatsApp chat button ---------- */
.wa-chat {
  position: fixed; right: 24px; bottom: 24px; z-index: 160;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 24px -8px rgba(18, 140, 126, 0.6);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.wa-chat svg { width: 30px; height: 30px; fill: currentColor; position: relative; z-index: 1; }
/* soft pulsing ring */
.wa-chat::before, .wa-chat::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; z-index: 0; animation: wa-pulse 2.4s ease-out infinite;
}
.wa-chat::after { animation-delay: 1.2s; }
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.75); opacity: 0; }
}
.wa-chat:hover { transform: scale(1.06); background: #1ebe5b; color: #fff; }
.wa-chat:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
/* label slides out on hover (desktop) */
.wa-chat-label {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%);
  padding: 8px 14px; white-space: nowrap; background: var(--ink); color: var(--cream);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
}
.wa-chat:hover .wa-chat-label, .wa-chat:focus-visible .wa-chat-label { opacity: 1; transform: translate(0, -50%); }
/* stack the back-to-top button above the chat button */
.to-top { bottom: 96px; right: 28px; }
@media (max-width: 600px) {
  .wa-chat { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-chat svg { width: 28px; height: 28px; }
  .wa-chat-label { display: none; }
  .to-top { right: 20px; bottom: 82px; }
}
@media (prefers-reduced-motion: reduce) { .wa-chat::before, .wa-chat::after { animation: none; opacity: 0; } }
@media print { .wa-chat, .to-top, .cookie-banner { display: none !important; } }

/* ---------- Newsletter sign-up (top of every footer) ---------- */
.newsletter {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start;
  padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--line);
}
.newsletter-title { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.1; margin: 8px 0 16px; color: var(--ink); }
.newsletter-title em { color: var(--gold-dark); font-weight: 400; }
.newsletter-copy p:last-child { margin: 0; max-width: 440px; }
.newsletter-box { background: var(--white); border: 1px solid var(--line); padding: 32px; }
.newsletter-form { display: grid; gap: 18px; }
.newsletter-form[hidden] { display: none; }
.newsletter-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.newsletter-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.85rem; line-height: 1.55; color: var(--ink-soft); cursor: pointer; }
.newsletter-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.newsletter-form .btn { justify-self: start; }
.newsletter-fine { margin: 0; font-size: 0.8rem; color: #6b6259; }
.newsletter-fine a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.newsletter-box .form-success { text-align: center; padding: 10px 0; }
.newsletter-box .form-success h3 { margin: 12px 0 6px; }
.newsletter-box .form-success p { margin: 0; }
@media (max-width: 900px) {
  .newsletter { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; margin-bottom: 48px; }
}
@media (max-width: 600px) {
  .newsletter-box { padding: 22px 18px; }
  .newsletter-fields { grid-template-columns: 1fr; }
  .newsletter-form .btn { justify-self: stretch; }
}

/* ---------- Free guides landing page (/free-guides, linked from Instagram DMs) ---------- */
.fg { padding: calc(var(--header-h, 90px) + 40px) 0 80px; background: linear-gradient(180deg, var(--cream), var(--beige)); }
.fg-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.fg-title { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; margin: 10px 0 16px; color: var(--ink); }
.fg-title em { color: var(--gold-dark); font-weight: 400; }
.fg-sub { font-size: 1.05rem; line-height: 1.7; margin: 0 0 22px; max-width: 460px; }
.fg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fg-list li { position: relative; padding-left: 26px; color: var(--ink); font-size: 0.98rem; }
.fg-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }
.fg-card { background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--ink); padding: 32px; }
.fg-form { display: grid; gap: 18px; }
.fg-form[hidden] { display: none; }
.fg-submit { width: 100%; }
.fg-done { text-align: left; }
.fg-done-title { font-size: 1.8rem; margin: 12px 0 6px; }
.fg-dls { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.fg-dl {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.fg-dl span { flex: none; font-size: 0.7rem; letter-spacing: 0.14em; color: var(--gold-dark); }
.fg-dl:hover { border-color: var(--ink); background: var(--cream); }
@media (max-width: 860px) {
  .fg { padding-top: calc(var(--header-h, 80px) + 20px); padding-bottom: 56px; }
  .fg-inner { grid-template-columns: 1fr; gap: 28px; }
  .fg-card { padding: 24px 18px; }
  .fg-sub { margin-bottom: 0; }
  .fg-list { display: none; } /* keep the form near the top on phones */
}

/* =========================================================
   Community pages (/communities/<name>)
   ========================================================= */
.community-hero {
  position: relative; overflow: hidden; color: var(--white);
  min-height: min(86vh, 760px); display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 80px) 0 80px;
  background: var(--area-img, none) var(--area-pos, center) / cover no-repeat, var(--night);
}
.community-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,14,13,0.35) 0%, rgba(15,14,13,0.15) 35%, rgba(15,14,13,0.85) 100%);
}
.community-hero-inner { position: relative; }
.community-hero .eyebrow { color: var(--gold-light); }
.community-hero .page-title { color: var(--white); margin-bottom: 18px; }
.community-hero .page-title em { color: var(--gold-light); }
.community-hero .page-hero-sub { color: rgba(253,252,250,0.88); max-width: 620px; }
.community-hero .hero-ctas { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(253,252,250,0.75); }
.crumbs a { color: inherit; }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--white); }

.great-for { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.great-for li { padding: 7px 14px; border: 1px solid var(--line); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }

.hood-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.hood { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hood h3 { font-size: 1.45rem; margin: 0 0 8px; color: var(--ink); }
.hood p { margin: 0; font-size: 0.95rem; line-height: 1.6; }

.fact-grid { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2px; }
.fact { background: var(--white); padding: 34px 28px; }
.fact dt { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; }
.fact dd { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.6; }
.community-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 50px; }

.community-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; align-items: start; }
.community-videos > .media-video, .community-videos.is-single { max-width: 960px; margin: 0 auto; width: 100%; }
.community-videos.is-single, .community-videos > .media-video { grid-template-columns: 1fr; }
.community-video { margin: 0; }
.community-video.is-main { grid-column: 1 / -1; }
.community-video figcaption { margin-top: 12px; font-family: var(--font-heading); font-size: 1.3rem; color: var(--ink); }
.community-video .media-video.is-short { aspect-ratio: 9 / 16; max-width: 360px; }
.community-video:has(.is-short) { justify-self: center; width: 100%; max-width: 360px; }
.community-video:has(.is-short) figcaption { text-align: center; }

@media (max-width: 700px) {
  .community-hero { min-height: 74vh; padding-bottom: 56px; }
  .community-hero .hero-ctas .btn { width: 100%; }
  .hood { padding: 24px 20px; }
}
