/* Batana Farm Houses — blue rgb(24,22,138) & white; single typeface (Geist); glass nav, bento, rounded media */
:root {
  --cream: #f5f5fb; --paper: #ffffff; --sand: #ebebf6; --line: #dadaec;
  --clay: #18168a; --clay-dark: #0e0c5e; --clay-soft: #e2e2f6; --gold: #c9a24a; --gold-soft: #f3e3b5;
  --olive: #3d5a3a; --ink: #14123a; --muted: #5a5876;
  --serif: var(--sans);
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.7 var(--sans); overflow-x: hidden; }
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay-dark); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .45em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.45rem; }
h1 em, h2 em { font-style: normal; color: var(--clay); }
p { margin: 0 0 1.1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.kicker { font: 600 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--clay); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.muted { color: var(--muted); }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 620px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; font: 600 .95rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, translate .2s; }
.btn:hover { translate: 0 -2px; }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-dark); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--cream); }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* Top line + masthead */
.topline { background: var(--ink); color: rgba(255,255,255,.8); font-size: .8rem; }
.topline-inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topline a { color: #fff; text-decoration: none; margin-left: 18px; font-weight: 500; }
.masthead { position: sticky; top: 0; z-index: 40; background: rgba(245,245,251,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.masthead.is-scrolled { box-shadow: 0 10px 30px -22px rgba(20,18,58,.5); }
.masthead-inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 40px; height: 34px; color: var(--clay); }
.brand-name { font: 600 1.35rem/1 var(--serif); letter-spacing: -.01em; }
.brand-name em { font-weight: 400; color: var(--clay); }
.mainnav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.mainnav a { color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 500; position: relative; }
.mainnav a[aria-current="page"]::after, .mainnav a:not(.nav-cta):hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--clay); border-radius: 2px; }
.nav-cta { padding: 11px 18px; border-radius: 999px; background: var(--clay); color: #fff !important; }
.nav-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); position: relative; cursor: pointer; }
.nav-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .3s, top .3s; }
.nav-btn span:first-child { top: 17px; }
.nav-btn span:last-child { top: 25px; }
.nav-open .nav-btn span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-btn span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { padding: clamp(46px, 7vw, 90px) 0 clamp(50px, 7vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.issue { font: 500 1rem/1 var(--serif); color: var(--muted); margin-bottom: 22px; }
.hero h1 { margin-bottom: .35em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.polaroids { position: relative; min-height: 470px; }
.polaroid { position: absolute; margin: 0; padding: 12px 12px 46px; background: #fff; box-shadow: 0 26px 50px -26px rgba(20,18,58,.55); }
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; font: 400 .95rem/1.2 var(--serif); color: var(--muted); }
.polaroid.p1 { width: 82%; left: 0; top: 0; transform: rotate(-3.5deg); }
.polaroid.p2 { width: 62%; right: 0; bottom: 0; transform: rotate(4deg); }
.stamp { position: absolute; right: 8%; top: 4%; z-index: 3; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--clay); color: #fff; font: 600 .7rem/1.25 var(--sans); letter-spacing: .12em; text-transform: uppercase; transform: rotate(12deg); box-shadow: 0 14px 30px -14px rgba(14,12,94,.82); }
.stamp b { display: block; font: 500 1.5rem/1 var(--serif); letter-spacing: 0; text-transform: none; }

/* Fact ribbon */
.ribbon { border-block: 1px solid var(--ink); }
.ribbon-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.ribbon div { padding: 22px 20px; border-left: 1px solid var(--line); }
.ribbon div:first-child { border-left: 0; padding-left: 0; }
.ribbon strong { display: block; font: 400 2.1rem/1.1 var(--serif); color: var(--clay-dark); }
.ribbon span { font-size: .85rem; color: var(--muted); }

/* Chapters */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section.alt { background: var(--paper); }
.chapter-no { font: 400 1.05rem/1 var(--serif); color: var(--clay); margin-bottom: 10px; }
.chapter { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.chapter.flip > :first-child { order: 2; }
.dropcap::first-letter { float: left; font: 400 4.6rem/.85 var(--serif); color: var(--clay); padding: 6px 12px 0 0; }
.photo { margin: 0; }
.photo img { width: 100%; border-radius: 4px; }
.photo figcaption { margin-top: 10px; font: .92rem/1.4 var(--serif); color: var(--muted); border-left: 2px solid var(--clay); padding-left: 10px; }
.pullquote { margin: 0; padding: clamp(60px, 8vw, 100px) 0; text-align: center; border-block: 1px solid var(--line); }
.pullquote p { font: 400 clamp(1.8rem, 4vw, 3.2rem)/1.2 var(--serif); max-width: 900px; margin: 0 auto 18px; color: var(--ink); }
.pullquote cite { font: 600 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--clay); font-style: normal; }

/* Day cards */
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.day { background: var(--paper); border: 1px solid var(--line); }
.day img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.day div { padding: 22px 22px 26px; }
.day .t { font: 500 .95rem/1 var(--serif); color: var(--clay); }
.day h3 { margin: 8px 0 8px; }
.day p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Site progress strip */
.progress-strip { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.progress-strip figure { position: relative; margin: 0; }
.progress-strip img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.tag-live { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; background: #fff; border-radius: 999px; font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.tag-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fa84f; box-shadow: 0 0 0 4px rgba(47,168,79,.2); }

/* Visit band + form */
.visit-band { background: var(--clay); color: #fff; padding: clamp(70px, 9vw, 110px) 0; }
.visit-grid { display: grid; grid-template-columns: 1fr 440px; gap: clamp(30px, 6vw, 80px); align-items: center; }
.visit-band h2 { color: #fff; }
.visit-band h2 em { color: var(--gold-soft); }
.visit-band p { color: rgba(255,255,255,.88); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-soft); font-weight: 700; }
.visit-form, .sheet form { display: grid; gap: 12px; }
.visit-form { background: var(--paper); color: var(--ink); padding: 30px; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.vf-kicker { font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--clay); margin: 0; }
.vf-title { font-size: 1.7rem; margin: 6px 0 6px; }
.visit-form label, .sheet label { display: grid; gap: 6px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.visit-form input, .visit-form select, .sheet input { font: 400 1rem var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 12px 13px; width: 100%; }
.visit-form input:focus, .visit-form select:focus, .sheet input:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(24,22,138,.15); }
.is-invalid { border-color: #b3261e !important; }
.tel { display: flex; border: 1px solid var(--line); border-radius: 4px; background: #fff; overflow: hidden; }
.tel b { display: grid; place-items: center; padding: 0 12px; background: var(--sand); color: var(--ink); font-weight: 600; }
.tel input { border: 0 !important; box-shadow: none !important; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fine { font-size: .76rem; color: var(--muted); margin: 0; }
.form-error { margin: 0; padding: 10px 12px; background: #fbe9e7; color: #8c1d18; border-radius: 4px; font-size: .88rem; }
.hp { position: absolute; left: -9999px; }

/* Journal cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; transition: filter .3s; }
.post-card:hover img { filter: saturate(1.15) brightness(1.03); }
.post-card .meta { margin: 16px 0 8px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); }
.post-card h3 { font-size: 1.45rem; margin: 0 0 8px; }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.post-card.lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 34px; align-items: center; }
.post-card.lead h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font: 400 1.3rem/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 1.8rem/1 var(--sans); color: var(--clay); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Page header (inner pages) */
.page-head { padding: clamp(50px, 7vw, 90px) 0 clamp(30px, 4vw, 50px); border-bottom: 1px solid var(--line); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.page-cover { margin: 0; }
.page-cover img { width: 100%; max-height: 560px; object-fit: cover; }
.page-cover figcaption { width: min(var(--wrap), 100% - 32px); margin: 10px auto 0; font: .92rem/1.4 var(--serif); color: var(--muted); }

/* Article */
.article-head { padding: clamp(50px, 7vw, 80px) 0 30px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .85rem; color: var(--muted); margin-top: 16px; }
.article-meta b { color: var(--clay); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .76rem; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--clay); font: 1.35rem/1.4 var(--serif); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--sand); }
.callout { margin: 2em 0; padding: 24px 26px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--clay); }
.callout p { margin: 0 0 12px; }
.toc { padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); margin: 0 0 2em; }
.toc b { display: block; font: 600 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--clay); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; }

/* Footer */
.foot { background: var(--ink); color: rgba(255,255,255,.75); padding: 70px 0 110px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.foot h4 { font: 600 .75rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin: 6px 0 16px; }
.foot a { color: #fff; text-decoration: none; display: block; margin-bottom: 8px; }
.foot p a { display: inline; text-decoration: underline; }
.brand-foot { color: #fff; margin-bottom: 16px; }
.brand-foot .logo-mark { color: var(--gold-soft); }
.foot-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; color: rgba(255,255,255,.55); }
.foot-legal a { display: inline; color: rgba(255,255,255,.8); }

/* Mobile dock + WhatsApp + sheet */
.dock { display: none; }
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -10px rgba(18,140,74,.7); }
.wa svg { width: 30px; height: 30px; }
.modal-open { overflow: hidden; }
.modal-open .wa { display: none; }
.sheet { width: min(460px, calc(100% - 24px)); padding: 34px 30px 28px; border: 0; border-radius: 8px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); }
.sheet::backdrop { background: rgba(20,18,58,.6); backdrop-filter: blur(3px); }
.sheet[open] { animation: up .4s cubic-bezier(.2,.8,.2,1); }
@keyframes up { from { opacity: 0; transform: translateY(24px); } }
.sheet-x { position: absolute; right: 12px; top: 10px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--sand); font-size: 1.4rem; cursor: pointer; }
.sheet-lede { color: var(--muted); font-size: .95rem; }
.sheet [data-step="done"] .btn { margin: 8px 8px 0 0; }

/* Reveal */
.js-reveal [data-reveal] { opacity: 0; translate: 0 26px; transition: opacity .8s ease, translate .8s cubic-bezier(.2,.8,.2,1); }
.js-reveal [data-reveal].is-in { opacity: 1; translate: 0 0; }

@media (max-width: 980px) {
  .mainnav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 110px 28px 40px; background: var(--cream); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav-open .mainnav { opacity: 1; visibility: visible; }
  .mainnav a { font: 400 2rem/1.3 var(--serif); }
  .mainnav a::after { display: none; }
  .nav-cta { margin-top: 18px; font: 600 1rem/1 var(--sans) !important; }
  .nav-btn { display: block; }
  .nav-open body { overflow: hidden; }
  .hero-grid, .chapter, .visit-grid, .post-card.lead, .progress-strip { grid-template-columns: 1fr; }
  .chapter.flip > :first-child { order: 0; }
  .polaroids { min-height: 380px; max-width: 520px; }
  .ribbon-inner { grid-template-columns: 1fr 1fr; }
  .ribbon div:nth-child(3) { border-left: 0; padding-left: 0; }
  .days, .posts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .topline-inner > span:first-child { display: none; }
  .topline-inner { justify-content: center; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--paper); border-top: 1px solid var(--line); }
  .dock a { padding: 15px 8px; text-align: center; font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none; }
  .dock .dock-main { background: var(--clay); color: #fff; }
  .wa { bottom: 72px; right: 14px; width: 52px; height: 52px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-name { font-size: 1.15rem; }
  .polaroids { min-height: 300px; }
  .stamp { width: 90px; height: 90px; font-size: .6rem; }
  .stamp b { font-size: 1.2rem; }
  .two { grid-template-columns: 1fr; }
  .visit-form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1; translate: none; transition: none; }
}

/* Amenity list + contact list */
.amen-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); margin-top: 30px; }
.amen-list span { display: flex; gap: 14px; align-items: baseline; padding: 16px 4px; border-bottom: 1px solid var(--line); font: 400 1.15rem/1.3 var(--serif); }
.amen-list b { font: 600 .75rem/1 var(--sans); color: var(--clay); letter-spacing: .1em; }
.contact-list { display: grid; margin-top: 26px; border-top: 1px solid var(--line); }
.contact-list a, .contact-list div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font: 400 1.15rem/1.3 var(--serif); }
.contact-list span { font: 600 .75rem/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--clay); }
@media (max-width: 980px) { .amen-list { grid-template-columns: 1fr 1fr; } .posts[style] { grid-template-columns: 1fr !important; } }

/* Official project home: badge, spec chips, fact sheet, master plan, amenities, developer */
.official { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px 7px 7px; border-radius: 999px; background: var(--clay-soft); color: var(--clay-dark); font: 600 .78rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.official .seal { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--clay); color: #fff; font-size: .72rem; }
.project-name { font: 600 .82rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.spec-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; }
.spec-chips li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .86rem; font-weight: 600; color: var(--ink); }
.overview { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.factsheet { margin: 26px 0 0; border-top: 2px solid var(--clay); }
.factsheet div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.factsheet dt { font: 600 .74rem/1.7 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.factsheet dd { margin: 0; font-weight: 500; }
.photo.framed img { border-radius: 6px; box-shadow: 0 30px 60px -34px rgba(20,18,58,.6); aspect-ratio: 4 / 3.4; object-fit: cover; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: 36px; }
.sec-head .lede { margin: 0; }
.plan-frame { position: relative; display: block; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 30px 60px -40px rgba(20,18,58,.5); }
.plan-frame img { width: 100%; border-radius: 4px; }
.plan-cta { position: absolute; right: 28px; bottom: 28px; padding: 12px 20px; border-radius: 999px; background: var(--clay); color: #fff; font-weight: 600; font-size: .9rem; box-shadow: 0 10px 24px -10px rgba(14,12,94,.8); }
.plan-frame:hover .plan-cta { background: var(--clay-dark); }
.plan-keys { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 26px; border-top: 1px solid var(--line); }
.plan-keys div { padding: 18px 16px 0; border-left: 1px solid var(--line); }
.plan-keys div:first-child { border-left: 0; padding-left: 0; }
.plan-keys strong { display: block; font: 400 1.6rem/1.2 var(--serif); color: var(--clay); }
.plan-keys span { font-size: .85rem; color: var(--muted); }
.amen-cards { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.amen-cards figure { margin: 0; position: relative; border-radius: 6px; overflow: hidden; }
.amen-cards img { width: 100%; height: 300px; object-fit: cover; }
.amen-cards figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.94); font-weight: 600; font-size: .85rem; }
.amen-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 28px 0 0; }
.amen-chips li { padding: 9px 16px; border-radius: 999px; background: var(--clay-soft); color: var(--clay-dark); font-weight: 600; font-size: .88rem; }
.dev-band { background: var(--paper); border-block: 1px solid var(--line); padding: clamp(60px, 8vw, 96px) 0; }
.dev-grid { display: grid; grid-template-columns: 240px 1fr 260px; gap: clamp(26px, 5vw, 60px); align-items: center; }
.dev-logo { padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.dev-stats { display: grid; gap: 14px; }
.dev-stats div { padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--cream); }
.dev-stats strong { display: block; font: 400 1.9rem/1.1 var(--serif); color: var(--clay); }
.dev-stats span { font-size: .85rem; color: var(--muted); }
@media (max-width: 980px) {
  .overview, .sec-head, .dev-grid { grid-template-columns: 1fr; }
  .plan-keys { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .plan-keys div:nth-child(3) { border-left: 0; padding-left: 0; }
  .amen-cards { grid-template-columns: 1fr; }
  .amen-cards img { height: 220px; }
  .dev-logo { max-width: 220px; }
  .dev-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .factsheet div { grid-template-columns: 104px 1fr; gap: 12px; padding: 11px 0; font-size: .93rem; }
  .factsheet dt { font-size: .66rem; letter-spacing: .1em; }
  .official { font-size: .66rem; letter-spacing: .03em; }
  .plan-cta { position: static; display: block; margin-top: 12px; text-align: center; }
  .dev-stats strong { font-size: 1.4rem; }
}

/* ===== 2026 refresh: sans display + serif italics, floating glass nav, inset hero, bento, marquee ===== */
:root { --r-lg: 28px; --r-md: 20px; --r-sm: 14px; --grad: linear-gradient(135deg, #18168a 0%, #3a2fc9 55%, #6a4df0 100%); }
body { font-size: 16.5px; letter-spacing: -.005em; }
h1, h2, h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
h3 { letter-spacing: -.02em; line-height: 1.2; font-size: 1.3rem; }
h1 em, h2 em, h3 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.chapter-no { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--clay-soft); color: var(--clay); font: 600 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.chapter-no::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.dropcap::first-letter { font-family: var(--serif); }
.btn { padding: 16px 26px; font-weight: 600; }
.btn-clay { background: var(--grad); background-size: 160% 100%; background-position: 0 0; box-shadow: 0 14px 30px -14px rgba(24,22,138,.8); transition: background-position .4s, translate .2s; }
.btn-clay:hover { background: var(--grad); background-size: 160% 100%; background-position: 100% 0; }
.btn-light { background: #fff; color: var(--clay); }
.btn-light:hover { background: var(--gold-soft); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255,255,255,.22); }
.btn .arr { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--clay); color: #fff; font-size: .85rem; transition: translate .2s; }
.btn:hover .arr { translate: 3px 0; }

/* Floating pill nav */
.topline { font-size: .76rem; }
.masthead { background: transparent; border: 0; backdrop-filter: none; padding-top: 12px; }
.masthead.is-scrolled { box-shadow: none; }
.masthead-inner { height: 66px; padding: 0 10px 0 22px; border-radius: 999px; background: rgba(255,255,255,.78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 18px 40px -26px rgba(20,18,58,.45); transition: background .3s, box-shadow .3s; }
.masthead.is-scrolled .masthead-inner { background: rgba(255,255,255,.92); box-shadow: 0 20px 44px -24px rgba(20,18,58,.55); }
.brand-name { font: 700 1.15rem/1 var(--sans); letter-spacing: -.03em; }
.brand-name em { font: 400 1.3rem/1 var(--serif); }
.mainnav { gap: 4px; }
.mainnav a { padding: 10px 14px; border-radius: 999px; transition: background .2s; }
.mainnav a:not(.nav-cta):hover, .mainnav a[aria-current="page"] { background: var(--clay-soft); }
.mainnav a[aria-current="page"]::after, .mainnav a:not(.nav-cta):hover::after { display: none; }
.nav-cta { margin-left: 8px; padding: 13px 20px; background: var(--grad) !important; }

/* Home: hero sits under the floating nav */
.home main { margin-top: -78px; }
.hero-x { position: relative; margin: 0 12px; border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; min-height: min(94vh, 880px); display: flex; align-items: flex-end; padding: 170px 0 56px; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-out both; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,12,94,.35) 0%, rgba(14,12,94,.15) 35%, rgba(10,8,60,.86) 100%), linear-gradient(90deg, rgba(14,12,94,.6), transparent 65%); }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-x-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: end; width: min(var(--wrap), 100% - 56px); }
.hero-copy h1 { color: #fff; margin-bottom: .3em; max-width: 13ch; }
.hero-copy h1 em { color: var(--gold-soft); }
.hero-copy .lede { color: rgba(255,255,255,.86); max-width: 560px; }
.hero-copy .project-name { color: var(--gold-soft); }
.official.glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.official.glass .seal { background: var(--gold); color: var(--ink); }
.hero-cards { display: grid; gap: 12px; }
.glass-card { display: block; padding: 18px 20px; border-radius: var(--r-md); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #fff; text-decoration: none; }
.glass-card strong { display: block; font: 600 2rem/1 var(--sans); letter-spacing: -.04em; margin-bottom: 6px; }
.glass-card span { font-size: .86rem; color: rgba(255,255,255,.8); }
.glass-card.live { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: .82rem; font-weight: 600; }
.glass-card.cta { background: #fff; color: var(--clay); transition: translate .25s; }
.glass-card.cta span { color: var(--clay); font-weight: 600; }
.glass-card.cta:hover { translate: 0 -3px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

/* Marquee */
.marquee { overflow: hidden; padding: 22px 0; border-bottom: 1px solid var(--line); background: var(--cream); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 38s linear infinite; font: 500 1.15rem/1 var(--sans); letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.marquee-track span:nth-child(4n+3) { font: 400 1.35rem/1 var(--serif); color: var(--clay); }
.marquee-track span:nth-child(even) { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Bento stats */
.bento-wrap { padding: clamp(40px, 6vw, 70px) 0 0; }
.bento-stats { display: grid; grid-template-columns: 1fr 1.6fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.b-card { margin: 0; padding: 26px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; min-height: 190px; }
.b-card strong { font: 600 clamp(2.4rem, 4vw, 3.4rem)/1 var(--sans); letter-spacing: -.05em; margin: 6px 0 8px; color: var(--ink); }
.b-card > span:last-child { color: var(--muted); font-size: .92rem; }
.b-label { font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--clay); }
.b-indigo { background: var(--grad); border: 0; }
.b-indigo strong, .b-indigo > span:last-child, .b-indigo .b-label { color: #fff; }
.b-indigo .b-label { color: var(--gold-soft); }
.b-gold { background: linear-gradient(140deg, #f7ebc8, #ecd391); border: 0; }
.b-gold .b-label { color: #6b4f12; }
.b-photo { grid-row: span 2; position: relative; overflow: hidden; padding: 0; min-height: 396px; }
.b-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.b-photo:hover img { transform: scale(1.05); }
.b-photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 18px; border-radius: var(--r-sm); background: rgba(255,255,255,.86); backdrop-filter: blur(10px); font: 400 1.3rem/1.2 var(--serif); color: var(--ink); }
.bento-stats > :nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.bento-stats > :nth-child(2) { grid-column: 2; grid-row: 1 / 3; }
.bento-stats > :nth-child(3) { grid-column: 3; grid-row: 1; }
.bento-stats > :nth-child(4) { grid-column: 3; grid-row: 2; }

/* Rounded, softer media + cards everywhere */
.photo img, .progress-strip img, .post-card img, .page-cover img { border-radius: var(--r-lg); }
.photo figcaption { border-left: 0; padding-left: 0; font-size: 1.05rem; }
.photo.framed img { border-radius: var(--r-lg); }
.factsheet { border-top: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px 24px; }
.factsheet div:last-child { border-bottom: 0; }
.plan-frame { border-radius: var(--r-lg); padding: 12px; }
.plan-frame img { border-radius: calc(var(--r-lg) - 10px); }
.plan-keys { border-top: 0; gap: 12px; }
.plan-keys div, .plan-keys div:first-child { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.plan-keys strong { font: 600 1.5rem/1.2 var(--sans); letter-spacing: -.03em; }
.amen-cards figure { border-radius: var(--r-lg); }
.amen-cards img { height: 340px; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.amen-cards figure:hover img { transform: scale(1.05); }
.amen-chips li { background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.amen-chips li::before { content: "✦ "; color: var(--gold); }
.days { gap: 18px; }
.day { border-radius: var(--r-lg); overflow: hidden; transition: translate .3s, box-shadow .3s; }
.day:hover { translate: 0 -6px; box-shadow: 0 30px 50px -34px rgba(20,18,58,.5); }
.day .t { font: 400 1.15rem/1 var(--serif); }
.tag-live { left: 16px; top: 16px; }
.pullquote { border: 0; margin: 0 12px; border-radius: var(--r-lg); background: var(--ink); }
.pullquote p { color: #fff; font-family: var(--sans); font-weight: 500; letter-spacing: -.03em; }
.pullquote cite { color: var(--gold-soft); }
.dev-band { margin: 0 12px; border: 0; border-radius: var(--r-lg); }
.dev-logo { border-radius: var(--r-md); }
.dev-stats div { border-radius: var(--r-sm); border-left-width: 0; background: var(--cream); }
.dev-stats strong { font: 600 1.8rem/1.1 var(--sans); letter-spacing: -.04em; }
.visit-band { margin: clamp(60px, 8vw, 100px) 12px 0; border-radius: var(--r-lg); background: radial-gradient(circle at 15% 20%, #4a3ce0 0, transparent 45%), radial-gradient(circle at 90% 90%, #6a4df0 0, transparent 40%), #18168a; position: relative; overflow: hidden; }
.visit-form { border-radius: var(--r-lg); padding: 32px; }
.visit-form input, .visit-form select, .sheet input, .tel { border-radius: 12px; }
.vf-title { font-family: var(--sans); letter-spacing: -.03em; }
.sheet { border-radius: var(--r-lg); }
.post-card .meta { letter-spacing: .1em; }
.post-card h3 { font-size: 1.3rem; }
.post-card.lead h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 22px; margin-bottom: 10px; background: var(--paper); }
.faq summary { font: 600 1.08rem/1.35 var(--sans); letter-spacing: -.015em; }
.faq summary::after { top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--clay-soft); font-size: 1.2rem; }
.faq details[open] summary::after { top: 20px; translate: 0; }
.callout { border-radius: var(--r-md); border-left-width: 1px; }
.toc { border-radius: var(--r-md); }
.foot { margin-top: 12px; }
.ribbon { display: none; }
.page-cover { margin-inline: 12px; }

/* Scroll-driven reveals where supported */
@supports (animation-timeline: view()) {
  .photo img, .progress-strip img, .amen-cards img { animation: rise-in linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  @keyframes rise-in { from { clip-path: inset(12% 6% 0 6% round var(--r-lg)); } to { clip-path: inset(0 0 0 0 round var(--r-lg)); } }
}

@media (max-width: 980px) {
  .masthead { padding-top: 8px; }
  .masthead-inner { height: 60px; padding: 0 8px 0 16px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.96); }
  .mainnav { border-radius: 0; }
  .mainnav a { padding: 6px 0; font: 600 1.9rem/1.3 var(--sans) !important; letter-spacing: -.03em; }
  .mainnav a:not(.nav-cta):hover, .mainnav a[aria-current="page"] { background: none; color: var(--clay); }
  .mainnav .nav-cta { font: 600 1rem/1 var(--sans) !important; letter-spacing: 0; padding: 16px 24px !important; margin: 18px 0 0; }
  .home main { margin-top: -68px; }
  .hero-x { margin: 0 8px; min-height: 0; padding: 130px 0 26px; }
  .hero-x-grid { grid-template-columns: 1fr; gap: 26px; width: calc(100% - 36px); }
  .hero-cards { grid-template-columns: 1fr 1fr; }
  .glass-card.live { grid-column: 1 / -1; }
  .bento-stats { grid-template-columns: 1fr 1fr; }
  .bento-stats > :nth-child(n) { grid-column: auto; grid-row: auto; }
  .b-photo { grid-column: 1 / -1 !important; min-height: 280px; order: -1; }
  .b-card { min-height: 150px; padding: 20px; }
  .bento-stats > :nth-child(4) { grid-column: 1 / -1; min-height: 0; }
  .plan-keys div:nth-child(3) { padding: 20px 22px; }
  .pullquote, .dev-band, .visit-band { margin-inline: 8px; }
}
@media (max-width: 560px) {
  .hero-copy h1 { font-size: 2.6rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .glass-card strong { font-size: 1.6rem; }
  .bento-stats { gap: 10px; }
  .b-card strong { font-size: 2.1rem; }
  .amen-cards img { height: 230px; }
  .marquee-track { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img, .marquee-track, .pulse { animation: none; }
}

/* ===== Blog post: image hero, progress bar, TOC chips, sticky CTA card ===== */
.post-page main { margin-top: -78px; }
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #6a4df0); transform: scaleX(0); transform-origin: 0 50%; }
.post-hero { position: relative; margin: 0 12px; border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; padding: 170px 0 60px; color: #fff; isolation: isolate; min-height: 560px; display: flex; align-items: flex-end; }
.post-hero-media { position: absolute; inset: 0; z-index: -1; }
.post-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-out both; }
.post-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,12,94,.35), rgba(10,8,60,.9) 85%), linear-gradient(90deg, rgba(14,12,94,.55), transparent 70%); }
.post-hero-inner { width: min(var(--wrap), 100% - 56px); }
.post-hero .crumbs, .post-hero .crumbs a { color: rgba(255,255,255,.75); }
.post-chip { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--gold); color: var(--ink); font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.post-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4.2rem); max-width: 17ch; margin-bottom: .35em; }
.post-excerpt { font-size: 1.15rem; color: rgba(255,255,255,.86); max-width: 640px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.post-meta span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .82rem; font-weight: 500; }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(30px, 5vw, 70px); align-items: start; padding: clamp(40px, 6vw, 70px) 0 clamp(60px, 8vw, 100px); }
.post-body { min-width: 0; max-width: 760px; }
.toc-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px; margin-bottom: 2em; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.toc-chips b { width: 100%; font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin-bottom: 6px; }
.toc-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--cream); color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 500; transition: background .2s, color .2s; }
.toc-chips a span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--clay); color: #fff; font-size: .68rem; font-weight: 700; }
.toc-chips a:hover { background: var(--clay); color: #fff; }
.post-body .prose { font-size: 1.1rem; line-height: 1.8; }
.post-body .prose > p:first-of-type::first-letter { float: left; font: 400 4.4rem/.8 var(--serif); color: var(--clay); padding: 8px 12px 0 0; }
.post-body .prose h2 { position: relative; padding-top: 22px; scroll-margin-top: 100px; }
.post-body .prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--clay), var(--gold)); }
.post-body .prose h3 { color: var(--clay); }
.post-body .prose ul { list-style: none; padding-left: 0; }
.post-body .prose ul li { position: relative; padding-left: 30px; }
.post-body .prose ul li::before { content: "✦"; position: absolute; left: 4px; top: 0; color: var(--gold); }
.post-body .prose ol { counter-reset: n; list-style: none; padding-left: 0; }
.post-body .prose ol li { counter-increment: n; position: relative; padding-left: 44px; min-height: 30px; }
.post-body .prose ol li::before { content: counter(n); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--clay-soft); color: var(--clay); font: 700 .85rem/1 var(--sans); }
.post-body .prose blockquote { position: relative; margin: 2em 0; padding: 30px 30px 30px 74px; border: 0; border-radius: var(--r-lg); background: var(--grad); color: #fff; font: 400 1.55rem/1.35 var(--serif); }
.post-body .prose blockquote::before { content: "“"; position: absolute; left: 22px; top: 6px; font: 400 5rem/1 var(--serif); color: var(--gold-soft); }
.post-body .prose em { color: var(--clay); }
.post-body .prose table { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; }
.post-body .prose th { background: var(--clay); color: #fff; }
.post-body .prose tr:nth-child(even) td { background: var(--paper); }
.end-cta { display: grid; gap: 20px; margin-top: 3em; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); color: #fff; background: radial-gradient(circle at 10% 10%, #4a3ce0 0, transparent 45%), radial-gradient(circle at 95% 90%, #6a4df0 0, transparent 45%), #18168a; }
.end-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.end-cta h2 em { color: var(--gold-soft); }
.end-cta p { color: rgba(255,255,255,.85); margin: 0; }
.end-cta .chapter-no { background: rgba(255,255,255,.14); color: #fff; }
.end-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.share-row { margin-top: 22px; color: var(--muted); font-size: .92rem; }
.share-row a { font-weight: 600; }

.post-aside { position: sticky; top: 96px; }
.cta-card { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 70px -44px rgba(20,18,58,.6); }
.cta-media { position: relative; height: 150px; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(14,12,94,.6)); }
.cta-badge { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: .76rem; font-weight: 700; color: var(--ink); }
.cta-body { padding: 22px 24px 24px; }
.cta-kicker { margin: 0 0 6px; font: 700 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.cta-body h3 { font-size: 1.6rem; letter-spacing: -.035em; margin-bottom: 8px; }
.cta-body h3 em { color: var(--clay); }
.cta-body > p { color: var(--muted); font-size: .93rem; margin-bottom: 16px; }
.cta-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0; margin: 0 0 16px; }
.cta-facts li { padding: 10px 6px; border-radius: 12px; background: var(--cream); text-align: center; font-size: .72rem; color: var(--muted); }
.cta-facts b { display: block; font: 700 1rem/1.2 var(--sans); color: var(--clay); letter-spacing: -.02em; }
.btn-block { display: flex; width: 100%; margin-bottom: 10px; }
.cta-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.cta-contact a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border-radius: 12px; background: var(--cream); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; transition: background .2s; }
.cta-contact a:last-child { background: #e7f8ee; color: #128c4a; }
.cta-contact a:hover { filter: brightness(.96); }
.cta-contact svg { width: 18px; height: 18px; }
.cta-fine { margin: 12px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }
.related-posts .post-card { padding: 12px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: translate .3s, box-shadow .3s; }
.related-posts .post-card:hover { translate: 0 -6px; box-shadow: 0 30px 50px -34px rgba(20,18,58,.5); }
.related-posts .post-card img { border-radius: calc(var(--r-lg) - 8px); }
.related-posts .post-card .meta, .related-posts .post-card h3, .related-posts .post-card p { padding-inline: 8px; }
.related-posts .post-card p:last-child { padding-bottom: 10px; }

@media (max-width: 980px) {
  .post-page main { margin-top: -68px; }
  .post-hero { margin: 0 8px; padding: 130px 0 34px; min-height: 0; }
  .post-hero-inner { width: calc(100% - 36px); }
  .post-layout { grid-template-columns: 1fr; }
  .post-aside { position: static; max-width: 460px; }
}
@media (max-width: 560px) {
  .post-body .prose { font-size: 1.04rem; }
  .post-body .prose blockquote { padding: 56px 22px 24px; font-size: 1.3rem; }
  .post-body .prose blockquote::before { top: 0; }
  .end-cta-actions .btn { width: 100%; }
}

/* ===== Blue & white theme: white pages, brand blue rgb(24,22,138) panels and accents ===== */
:root {
  --cream: #ffffff; --paper: #f3f5ff; --sand: #e8ebfd; --line: #dde1f6;
  --clay: #18168a; --clay-dark: #100e66; --clay-soft: #eceefe;
  --ink: #0f0e3d; --muted: #585d80; --gold: #18168a; --gold-soft: #c9ccff;
  --blue: #18168a; --blue-deep: #100e66;
  --grad: linear-gradient(135deg, #18168a 0%, #2a27b8 60%, #3b38d6 100%);
}
body { background: #fff; }
h1 em, h2 em, h3 em { color: var(--blue); }
.chapter-no { background: var(--clay-soft); color: var(--blue); }
.chapter-no::before { background: var(--blue); }
.logo-mark { color: var(--blue); }
.project-name { color: var(--blue); }
.section.alt { background: var(--paper); }

/* Blue panels (the quote-card style, in brand blue) */
.topline { background: var(--blue-deep); }
.foot { background: var(--blue-deep); }
.foot h4 { color: #c9ccff; }
.brand-foot .logo-mark { color: #fff; }
.pullquote { background: radial-gradient(circle at 12% 0%, rgba(255,255,255,.12), transparent 50%), var(--blue); }
.pullquote cite { color: #c9ccff; }
.visit-band, .end-cta { background: radial-gradient(circle at 12% 10%, #2f2cc4 0, transparent 45%), radial-gradient(circle at 92% 90%, #2a27b8 0, transparent 40%), var(--blue); }
.visit-band h2 em, .end-cta h2 em, .hero-copy h1 em, .post-hero h1 em { color: #c9ccff; }
.ticks li::before { color: #c9ccff; }
.hero-copy .project-name { color: #c9ccff; }
.official.glass .seal { background: #fff; color: var(--blue); }
.post-chip { background: #fff; color: var(--blue); }

/* Cards: white with soft blue borders */
.b-card, .factsheet, .plan-keys div, .day, .faq details, .toc-chips, .callout, .toc, .cta-card, .related-posts .post-card, .amen-chips li, .plan-frame, .visit-form { background: #fff; border-color: var(--line); }
.b-card.b-indigo { background: var(--grad); border: 0; }
.b-card.b-gold { background: var(--clay-soft); border: 1px solid var(--line); }
.b-gold .b-label { color: var(--blue); }
.b-gold strong { color: var(--blue); }
.amen-chips li::before { color: var(--blue); }
.dev-band { background: var(--paper); }
.dev-stats div { background: #fff; border-left: 3px solid var(--blue); }
.dev-stats strong, .plan-keys strong, .cta-facts b, .b-card strong { color: var(--blue); }
.b-indigo strong { color: #fff; }
.b-indigo .b-label { color: #c9ccff; }
.toc-chips a, .cta-facts li, .cta-contact a { background: var(--paper); }
.post-body .prose blockquote { background: var(--grad); }
.post-body .prose blockquote::before { color: #c9ccff; }
.post-body .prose ul li::before { color: var(--blue); }
.post-body .prose h2::before { background: var(--blue); }
.post-body .prose em { color: var(--blue); }
.cta-kicker { color: var(--blue); }
.read-progress span { background: var(--grad); }
.marquee-track span:nth-child(even) { color: var(--blue); }
.masthead-inner { background: rgba(255,255,255,.85); }
.nav-cta { background: var(--blue) !important; }
.btn-clay, .btn-clay:hover { background: var(--blue); box-shadow: 0 14px 30px -14px rgba(24,22,138,.7); }
.btn-clay:hover { background: var(--blue-deep); }
.visit-form .btn-clay { width: 100%; }
.b-photo figcaption { color: var(--ink); }

/* Single typeface: Geist everywhere (accent words keep the blue colour, no second font) */
em, cite, i { font-style: normal; }
h1 em, h2 em, h3 em { font-family: var(--sans); font-weight: inherit; letter-spacing: inherit; }
.brand-name em { font: 700 1.15rem/1 var(--sans); letter-spacing: -.03em; }
button, input, select, textarea { font-family: inherit; }
