/* Make Your Dream Home — site theme. Mobile-first; colours match the gold-on-black logo. */
:root {
  --ink: #14161b;          /* header, footer, dark sections */
  --ink-2: #1e222a;
  --ink-3: #2a2f39;
  --gold: #e0b03f;         /* accents and buttons on dark */
  --gold-2: #f2c95c;
  --gold-text: #8a6410;    /* gold text on light backgrounds (AA contrast) */
  --paper: #fbf8f2;
  --white: #ffffff;
  --text: #1c2027;
  --muted: #4b515c;
  --on-dark: #f4f1ea;
  --on-dark-muted: #c9c4b8;
  --line: #e7e0d2;
  --green: #1f8f4e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 22, 27, .10);
  --wrap: 1180px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--white); overflow-x: hidden;
  padding-bottom: 64px; /* room for the mobile action bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; color: inherit; }
h1 { font-size: clamp(1.75rem, 5.2vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Top bar + header ---------- */
.topbar { background: #0c0d10; color: var(--on-dark-muted); font-size: .82rem; }
.topbar .wrap { display: flex; gap: 18px; justify-content: space-between; align-items: center; min-height: 36px; flex-wrap: wrap; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: var(--gold-2); }
.topbar .hi { color: var(--gold-2); }
.topbar-links { display: flex; gap: 16px; }
@media (max-width: 760px) { .topbar { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--on-dark); box-shadow: 0 2px 14px rgba(0,0,0,.35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 12px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { width: 112px; height: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--on-dark);
  border: 1px solid var(--ink-3); border-radius: 10px; padding: 9px 12px; font: 600 .9rem var(--font); cursor: pointer;
}
.nav-toggle-bars { width: 20px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }

.main-nav { display: none; }
.main-nav.open {
  display: block; position: fixed; inset: 68px 0 0 0; background: var(--ink); overflow-y: auto;
  padding: 8px 16px 96px; border-top: 1px solid var(--ink-3);
}
.main-nav > ul { list-style: none; margin: 0; padding: 0; }
.main-nav li { list-style: none; }
.main-nav a, .main-nav .sub-btn {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  color: var(--on-dark); text-decoration: none; font: 500 1rem var(--font); padding: 13px 4px;
  background: none; border: 0; border-bottom: 1px solid var(--ink-3); cursor: pointer; text-align: left;
}
.main-nav a:hover, .main-nav .sub-btn:hover, .main-nav a[aria-current="page"] { color: var(--gold-2); }
.sub-btn::after { content: "+"; font-size: 1.3rem; color: var(--gold); }
.sub-btn[aria-expanded="true"]::after { content: "–"; }
.submenu { display: none; padding: 0 0 6px 14px !important; }
.submenu.open { display: block; }
.submenu a { font-size: .95rem; color: var(--on-dark-muted); padding: 10px 4px; }
.nav-call { display: none; }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .brand img { width: 124px; }
  .main-nav, .main-nav.open { display: block; position: static; padding: 0; background: none; border: 0; overflow: visible; }
  .main-nav > ul { display: flex; align-items: center; gap: 2px; }
  .main-nav > ul > li { position: relative; }
  .main-nav a, .main-nav .sub-btn { border: 0; padding: 22px 10px; font-size: .93rem; width: auto; gap: 6px; }
  .sub-btn::after, .sub-btn[aria-expanded="true"]::after { content: "▾"; font-size: .8rem; }
  .submenu {
    position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--white); border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,.25); padding: 8px !important; border-top: 3px solid var(--gold);
  }
  .has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .submenu.open { display: block; }
  .submenu a { color: var(--text); padding: 10px 12px; border-radius: 8px; font-size: .92rem; }
  .submenu a:hover { background: var(--paper); color: var(--gold-text); }
  .nav-call { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 12px 22px; border-radius: 999px; font: 600 .98rem var(--font); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #14161b; }
.btn-gold:hover { background: var(--gold-2); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-wa { background: var(--green); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); background: var(--ink); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(12,13,16,.94) 0%, rgba(12,13,16,.82) 48%, rgba(12,13,16,.55) 100%); }
.hero .wrap { padding-top: 44px; padding-bottom: 48px; display: grid; gap: 28px; }
.hero-home .wrap { padding-top: 56px; padding-bottom: 64px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.hero .eyebrow, .dark .eyebrow { color: var(--gold-2); }
.hero p.lead { font-size: 1.07rem; color: #ece8df; max-width: 640px; }
.hero h1 span, .accent { color: var(--gold-2); }
.hindi { font-size: 1rem; color: var(--gold-2); font-weight: 500; }
.hero-points { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; }
.hero-points li { padding-left: 28px; position: relative; color: #f1ede4; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: .75rem; font-weight: 700; display: grid; place-items: center; margin-top: 3px; }
.breadcrumb { font-size: .85rem; color: var(--on-dark-muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--on-dark); }
@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: 1.25fr .9fr; align-items: center; padding-top: 64px; padding-bottom: 72px; }
  .hero-home .wrap { padding-top: 88px; padding-bottom: 96px; }
}

/* ---------- Enquiry form ---------- */
.form-card { background: var(--white); color: var(--text); border-radius: var(--radius); padding: 22px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.3); border-top: 4px solid var(--gold); }
.form-card h2, .form-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.form-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.field { display: grid; gap: 5px; margin-bottom: 12px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--font); color: var(--text); background: #fff; min-height: 48px;
  border: 1.5px solid #cfc7b6; border-radius: 10px; padding: 10px 12px;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-text); outline: none; box-shadow: 0 0 0 3px rgba(224,176,63,.3); }
.field-row { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 6px 0 12px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold-text); flex-shrink: 0; }
.hp { position: absolute; left: -5000px; }
.form-card .btn { width: 100%; }
.form-msg { margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: .92rem; display: none; }
.form-msg.ok { display: block; background: #e7f6ec; color: #145c33; }
.form-msg.err { display: block; background: #fdecea; color: #8a1c13; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--paper); }
.section.dark, .dark { background: var(--ink); color: var(--on-dark); }
.dark p, .dark li { color: var(--on-dark-muted); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.03rem; }
.dark .section-head p { color: var(--on-dark-muted); }
@media (min-width: 960px) { .section { padding: 80px 0; } }

.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin-bottom: .6em; }
.card h3 { margin-bottom: .4em; }
.card-link { display: flex; flex-direction: column; text-decoration: none; overflow: hidden; padding: 0; transition: transform .15s ease, box-shadow .15s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(20,22,27,.16); }
.card-link img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-link .card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-link .more { margin-top: auto; font-weight: 600; color: var(--gold-text); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 6px; }

.icon-card { border-left: 4px solid var(--gold); }
.num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--gold-2); font-weight: 700; margin-bottom: 10px; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ink-3); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--ink-2); padding: 22px 16px; text-align: center; }
.stat strong { display: block; font-size: 1.8rem; color: var(--gold-2); line-height: 1.1; }
.stat span { font-size: .88rem; color: var(--on-dark-muted); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1.3fr 1fr; gap: 48px; } .split.even { grid-template-columns: 1fr 1fr; align-items: center; } }
.split img.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }
.prose p, .prose li { color: #343a44; font-size: 1.02rem; }
.prose h2 { margin-top: 1.2em; }
.prose h2:first-child { margin-top: 0; }
.checklist { list-style: none; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: #f5e7c2; color: var(--gold-text); font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.dark .checklist li::before { background: var(--ink-3); color: var(--gold-2); }
.aside-box { background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: 24px; position: sticky; top: 90px; }
.aside-box h3 { color: var(--gold-2); }
.aside-box p, .aside-box li { color: var(--on-dark-muted); }
.aside-box a:not(.btn) { color: var(--on-dark); }

/* Keyword chips / links */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-size: .9rem; color: var(--text); }
.chip:hover { border-color: var(--gold-text); color: var(--gold-text); }
.dark .chip { background: var(--ink-2); border-color: var(--ink-3); color: var(--on-dark); }

/* ---------- Photos (admin-managed) ---------- */
.photo-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.photo { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: #eee8db; cursor: zoom-in; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.photo:hover img { transform: scale(1.04); }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; font-size: .8rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.photo figcaption small { display: block; color: #e9dfc6; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.filters button { flex-shrink: 0; border: 1.5px solid var(--line); background: var(--white); color: var(--text); border-radius: 999px; padding: 8px 16px; font: 500 .9rem var(--font); cursor: pointer; min-height: 40px; }
.filters button.active { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.lightbox { position: fixed; inset: 0; background: rgba(8,9,11,.94); z-index: 200; display: none; align-items: center; justify-content: center; padding: 16px; flex-direction: column; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 80vh; width: auto; border-radius: 8px; }
.lightbox p { color: #f0ece3; margin: 12px 0 0; text-align: center; }
.lightbox button { position: absolute; top: 12px; right: 12px; background: var(--gold); color: var(--ink); border: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 1.4rem; cursor: pointer; }
.empty-note { color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.4rem; color: var(--gold-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, #1a1d24, #0f1013); color: var(--white); border-radius: 20px; padding: 32px 22px; display: grid; gap: 18px; border: 1px solid #3a3326; }
.cta-band h2 { margin: 0; }
.cta-band p { color: var(--on-dark-muted); margin: 0; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.4fr auto; align-items: center; padding: 40px 44px; } }

/* ---------- Footer ---------- */
.site-footer { background: #0c0d10; color: var(--on-dark-muted); padding: 52px 0 24px; font-size: .94rem; }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); text-decoration: underline; }
.footer-grid { display: grid; gap: 30px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-brand img { width: 150px; margin-bottom: 12px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact b { color: var(--gold-2); font-weight: 600; min-width: 64px; }
.social { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.social a { border: 1px solid var(--ink-3); border-radius: 999px; padding: 6px 14px; font-size: .85rem; }
.footer-keywords { margin-top: 34px; padding-top: 22px; border-top: 1px solid #23262d; font-size: .85rem; line-height: 2; }
.footer-keywords a { color: var(--on-dark-muted); margin-right: 14px; }
.footer-bottom { margin-top: 18px; padding-top: 18px; border-top: 1px solid #23262d; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .84rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* ---------- Mobile action bar + floating WhatsApp ---------- */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); border-top: 1px solid var(--ink-3); padding-bottom: env(safe-area-inset-bottom); }
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; text-decoration: none; color: var(--on-dark); font-size: .78rem; font-weight: 600; }
.action-bar a span { font-size: 1.15rem; line-height: 1; }
.action-bar a.primary { background: var(--gold); color: var(--ink); }
.action-bar a.wa { background: var(--green); color: #fff; }
@media (min-width: 960px) { body { padding-bottom: 0; } .action-bar { display: none; } }
.wa-float { display: none; }
@media (min-width: 960px) {
  .wa-float { display: flex; position: fixed; right: 22px; bottom: 22px; z-index: 60; align-items: center; gap: 8px; background: var(--green); color: #fff; text-decoration: none; border-radius: 999px; padding: 12px 18px; font-weight: 600; box-shadow: 0 10px 26px rgba(0,0,0,.3); }
}

/* Small helpers */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .center { text-align: center; }
.note { font-size: .86rem; color: var(--muted); }
.map-frame { width: 100%; border: 0; border-radius: var(--radius); min-height: 320px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }

/* =====================================================================
   Brand motion theme — animated blueprint backgrounds, gold glow,
   house line-drawing, scroll reveals, ticker and blog components.
   Everything falls back to the static design without JS or with
   prefers-reduced-motion.
   ===================================================================== */
:root { --grid: rgba(224,176,63,.09); --grid-strong: rgba(224,176,63,.16); --ease: cubic-bezier(.22,.61,.36,1); }

/* Reading / scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--gold), var(--gold-2), #fff3c9); box-shadow: 0 0 10px rgba(242,201,92,.6); }

/* Header: glass + shrink after scrolling */
.site-header { transition: background .3s ease, box-shadow .3s ease; }
.site-header .wrap { transition: min-height .3s var(--ease); }
.site-header .brand img { transition: width .3s var(--ease); }
.site-header.scrolled { background: rgba(20,22,27,.9); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); }
.main-nav .nav-call .btn { padding: 8px 16px; margin-left: 8px; color: var(--ink); background: var(--gold); width: auto; border-radius: 999px; }
.main-nav .nav-call .btn:hover { background: var(--gold-2); color: var(--ink); }
@media (min-width: 1080px) {
  .site-header.scrolled .wrap { min-height: 58px; }
  .site-header.scrolled .brand img { width: 100px; }
  .site-header.scrolled .main-nav a:not(.btn), .site-header.scrolled .main-nav .sub-btn { padding-top: 17px; padding-bottom: 17px; }
  .main-nav > ul > li > a:not(.btn), .main-nav .sub-btn { position: relative; }
  .main-nav > ul > li > a:not(.btn)::after, .main-nav .sub-btn::before { content: ""; position: absolute; left: 10px; right: 10px; bottom: 12px; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .main-nav > ul > li > a:not(.btn):hover::after, .main-nav > ul > li > a[aria-current="page"]::after,
  .has-sub:hover .sub-btn::before, .has-sub.is-active .sub-btn::before { transform: scaleX(1); }
  .has-sub.is-active > .sub-btn { color: var(--gold-2); }
  .has-sub:hover > .submenu, .has-sub:focus-within > .submenu { animation: drop .22s var(--ease); }
}
@keyframes drop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Animated blueprint grid (hero, dark sections, CTA, footer) */
.bg-blueprint { position: absolute; inset: -2px; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-strong) 1px, transparent 1px), linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, rgba(0,0,0,.55) 45%, transparent 80%);
          mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, rgba(0,0,0,.55) 45%, transparent 80%);
  animation: grid-drift 60s linear infinite; }
@keyframes grid-drift { to { background-position: 120px 120px, 120px 120px, 24px 24px, 24px 24px; } }
.fx-dark, .site-footer, .cta-band { position: relative; overflow: hidden; isolation: isolate; }
.fx-dark > .wrap, .site-footer > .wrap, .cta-band > div:not(.bg-blueprint) { position: relative; z-index: 1; }
.cta-band .bg-blueprint { -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.cta-band::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -160px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(242,201,92,.28), transparent 65%); animation: float 14s ease-in-out infinite; }
.site-footer .bg-blueprint { opacity: .6; -webkit-mask-image: linear-gradient(transparent, #000 40%); mask-image: linear-gradient(transparent, #000 40%); }

/* Light sections: faint paper blueprint */
.bp-light { background-image: linear-gradient(rgba(138,100,16,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(138,100,16,.05) 1px, transparent 1px);
  background-size: 32px 32px; background-color: var(--paper); }

/* Hero effects */
.hero { overflow: hidden; }
.hero-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-fx .bg-blueprint { z-index: 1; }
.orb { position: absolute; border-radius: 50%; filter: blur(10px); z-index: 1; }
.orb-1 { width: 420px; height: 420px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(242,201,92,.30), transparent 65%); animation: float 16s ease-in-out infinite; }
.orb-2 { width: 300px; height: 300px; left: -100px; bottom: -140px; background: radial-gradient(circle, rgba(224,176,63,.22), transparent 65%); animation: float 20s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30px, 24px) scale(1.08); } }
.hero-media img { animation: kenburns 28s ease-in-out infinite alternate; transform-origin: 70% 40%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }

.house-draw { position: absolute; z-index: 2; color: var(--gold-2); opacity: .55; width: min(42vw, 440px); right: 3%; bottom: 8%;
  filter: drop-shadow(0 0 6px rgba(242,201,92,.45)); }
.hero:not(.hero-solo) .house-draw { opacity: .16; right: auto; left: 50%; }
.house-draw path, .house-draw circle { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.6s var(--ease) forwards; }
.house-draw .dim { stroke-width: 1; stroke-dasharray: 4 6; stroke-dashoffset: 0; opacity: 0; animation: fade-in 1s 2.4s forwards; }
.house-draw .d2 { animation-delay: .25s; } .house-draw .d3 { animation-delay: .6s; } .house-draw .d4 { animation-delay: 1s; }
.house-draw .d5 { animation-delay: 1.25s; } .house-draw .d6 { animation-delay: 1.6s; } .house-draw .d7 { animation-delay: 1.8s; }
.house-draw .d9 { animation: draw 1.5s 2s var(--ease) forwards, glow 3s 3.5s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes glow { 50% { fill: rgba(242,201,92,.35); } }
@media (max-width: 959px) { .house-draw { width: 72vw; right: -14vw !important; left: auto !important; bottom: auto; top: 6%; opacity: .13 !important; } }

.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; } .hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-copy > :nth-child(n+6) { animation-delay: .4s; }
.hero .form-card { animation: rise .9s .3s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero h1 span { background: linear-gradient(90deg, var(--gold), #fff1bf, var(--gold-2), var(--gold)); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer-text 6s linear infinite; }
@keyframes shimmer-text { to { background-position: -300% 0; } }
.hero-solo .wrap { padding-bottom: 64px; }
@media (min-width: 960px) { .hero-solo .wrap { grid-template-columns: minmax(0, 760px); } }

/* Buttons: gold shine sweep */
.btn { position: relative; overflow: hidden; transition: transform .2s var(--ease), background .2s ease, box-shadow .2s ease; }
.btn:hover { box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* Cards & photos */
.card { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease; }
.card:hover { border-color: rgba(224,176,63,.55); }
.grid .card:not(.card-link):hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(20,22,27,.14); }
.card-link img, .post-img img { transition: transform .6s var(--ease); }
.card-link:hover img { transform: scale(1.06); }
.card-link { position: relative; }
.card-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  box-shadow: inset 0 0 0 2px var(--gold); opacity: 0; transition: opacity .3s ease; }
.card-link:hover::before { opacity: 1; }
.card-link .more { transition: letter-spacing .25s ease; }
.card-link:hover .more { letter-spacing: .02em; }
.dark .num { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--ink); box-shadow: 0 0 0 6px rgba(224,176,63,.12); }
.dark .card { background: rgba(30,34,42,.78); border-color: var(--ink-3); }
.dark .card h3 { color: var(--white); }
.stat strong { font-variant-numeric: tabular-nums; }

/* Scroll reveal (only when JS is running) */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; }

/* Brand ticker */
.ticker { background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold)); color: var(--ink); overflow: hidden; padding: 12px 0; }
.ticker-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-row { display: flex; align-items: center; gap: 18px; padding-right: 18px; white-space: nowrap; }
.ticker a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.ticker a:hover { text-decoration: underline; }
.ticker .sep { font-size: .6rem; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Back to top */
.to-top { position: fixed; right: 16px; bottom: 76px; z-index: 59; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--ink); color: var(--gold-2); font-size: 1.2rem; box-shadow: 0 8px 20px rgba(0,0,0,.25); border: 1px solid var(--ink-3);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s ease, transform .3s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 960px) { .to-top { bottom: 84px; right: 28px; } }

/* ---------- Blog cards ---------- */
.post-img { position: relative; overflow: hidden; }
.post-img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-cat { position: absolute; left: 12px; top: 12px; background: rgba(20,22,27,.85); color: var(--gold-2); font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.post-meta { font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.post-card h3 { font-size: 1.08rem; }
.featured-row { margin-bottom: 34px; }
.post-featured { display: grid; }
.post-featured h3 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.post-featured .card-body { padding: 24px; }
@media (min-width: 860px) {
  .post-featured { grid-template-columns: 1.2fr 1fr; }
  .post-featured .post-img img { height: 100%; aspect-ratio: auto; min-height: 340px; }
  .post-featured .card-body { padding: 36px; justify-content: center; }
}
.blog-tools { display: grid; gap: 12px; margin-bottom: 22px; }
.blog-tools .filters { margin-bottom: 0; }
.filters button small { opacity: .65; margin-left: 2px; }
.filters button { transition: background .2s ease, color .2s ease, border-color .2s ease; }
.filters button:hover { border-color: var(--gold-text); }
.blog-search input { width: 100%; min-height: 46px; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 18px 10px 42px; font: 400 .98rem var(--font);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%238a6410' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") 16px 50% no-repeat; }
.blog-search input:focus { outline: none; border-color: var(--gold-text); box-shadow: 0 0 0 3px rgba(224,176,63,.25); }
@media (min-width: 960px) { .blog-tools { grid-template-columns: minmax(0, 1fr) 300px; align-items: center; } }
.post-card.is-hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.area-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.area-list a { display: grid; gap: 2px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px;
  text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s ease; }
.area-list a:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.area-list span { color: var(--muted); font-size: .9rem; }
.chips-sm .chip { font-size: .8rem; padding: 6px 11px; }
.aside-box .chip { background: var(--ink-2); border-color: var(--ink-3); color: var(--on-dark); }
.chip { transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.chip:hover { transform: translateY(-2px); }

/* ---------- Article page ---------- */
.post-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .88rem; color: var(--on-dark-muted); margin: 6px 0 0; }
.post-cat-inline { background: var(--gold); color: var(--ink); font-weight: 700; padding: 1px 10px; border-radius: 999px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.article-body h2 { scroll-margin-top: 90px; position: relative; padding-left: 16px; }
.article-body h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: linear-gradient(var(--gold), var(--gold-2)); }
.toc-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 28px; }
.toc-box strong { display: block; margin-bottom: 6px; }
.toc-box ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.toc-box a { color: var(--gold-text); text-decoration: none; }
.toc-box a:hover, .toc-box a.active { text-decoration: underline; font-weight: 600; }
.takeaways { background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: 22px 22px 14px; margin-bottom: 26px; position: relative; overflow: hidden; }
.takeaways::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(242,201,92,.25), transparent 65%); }
.article-body .takeaways h2 { font-size: 1.15rem; color: var(--gold-2); padding: 0; margin: 0 0 12px; }
.article-body .takeaways h2::before { display: none; }
.prose .takeaways li { color: var(--on-dark); }
.takeaways .checklist li::before { background: var(--ink-3); color: var(--gold-2); }
.inline-cta { display: grid; gap: 12px; align-items: center; margin: 26px 0; padding: 18px 20px; border-radius: var(--radius);
  background: linear-gradient(120deg, #fff8e6, #fdf1cf); border: 1px solid #f0dca2; }
.inline-cta strong { display: block; }
.inline-cta span { color: var(--muted); font-size: .92rem; }
@media (min-width: 640px) { .inline-cta { grid-template-columns: 1fr auto; } }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 30px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; }
.share a, .share button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; text-decoration: none; font: 500 .85rem var(--font); cursor: pointer; color: var(--text); }
.share a:hover, .share button:hover { border-color: var(--gold-text); color: var(--gold-text); }
.post-nav { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } .pn.next { grid-column: 2; } }
.pn { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; transition: border-color .2s, transform .2s var(--ease); }
.pn small { display: block; color: var(--gold-text); font-weight: 500; }
.pn.next { text-align: right; }
.pn:hover { border-color: var(--gold-text); transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .house-draw path, .house-draw circle { stroke-dashoffset: 0; }
  .house-draw .dim { opacity: 1; }
  .js .rv { opacity: 1; transform: none; }
}
