/* ==========================================================================
   The Forest Kingdom Thane — static build
   Palette sampled from brand logo (#314931) & hero banner (#0f2813)
   ========================================================================== */

:root {
  --deep:      #0f2813;
  --forest:    #1b3a22;
  --logo:      #314931;
  --gold:      #ffc200;
  --gold-dk:   #d9a300;
  --gold-soft: #fff4d1;
  --cream:     #faf7f0;
  --white:     #ffffff;
  --ink:       #17190f;
  --body:      #4a5044;
  --muted:     #767b6e;
  --line:      #e5dfd0;

  --serif: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --sans:  "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --shadow-sm: 0 2px 10px rgba(15,40,19,.06);
  --shadow:    0 10px 34px rgba(15,40,19,.10);
  --shadow-lg: 0 22px 60px rgba(15,40,19,.16);

  --r:   14px;
  --r-lg:22px;
  --head-h: 74px;
  --wrap: 1380px;
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--body);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: none; }
button { font: inherit; }

h1,h2,h3,h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.24;
  margin: 0 0 .6em;
  letter-spacing: -.022em;
}
h1 { font-size: clamp(1.85rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.14rem, 1.9vw, 1.42rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.15em; }

.wrap { width: min(100% - 2.6rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.6rem, 7vw, 6.4rem) 0; }
.section--tint { background: var(--white); }
.section--dark { background: var(--deep); color: #cfd8cb; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin: 0 0 .8rem;
}
.section--dark .eyebrow { color: var(--gold); }

.head-c { text-align: center; max-width: 820px; margin-inline: auto; }
.head-c p { color: var(--muted); }
.section--dark .head-c p { color: #b6c2b3; }

.rule { width: 62px; height: 3px; border-radius: 3px; background: var(--gold); margin: 0 0 1.4rem; }
.head-c .rule { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .86rem 1.7rem;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: .92rem; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; text-align: center;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.btn i { font-size: .95em; }
.btn--gold  { background: var(--gold); color: #241d00; box-shadow: 0 6px 20px rgba(217,163,0,.32); }
.btn--gold:hover  { background: var(--gold-dk); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(217,163,0,.4); }
.btn--forest { background: var(--forest); color: #fff; }
.btn--forest:hover { background: var(--deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--forest); background: var(--forest); color: #fff; }
.btn--light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--light:hover { background: #fff; color: var(--deep); }
.btn--sm { padding: .62rem 1.15rem; font-size: .8rem; }
.btn--block { display: flex; width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
/* Header sits on the exact background colour of logo.jpg (#314931) so the
   logo tile blends into the bar with no visible edge. Keep it opaque and
   identical in both states — any tint change would reveal the tile again. */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--head-h);
  display: flex; align-items: center;
  background: #314931;
  border-bottom: 1px solid rgba(255,255,255,.09);
  transition: box-shadow .3s ease, height .3s ease;
}
.header.is-stuck { box-shadow: 0 6px 26px rgba(0,0,0,.28); }
.header .wrap { display: flex; align-items: center; gap: 1.2rem; }

.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand img { height: 46px; width: auto; border-radius: 0; }
.brand span {
  font-family: var(--serif); font-size: 1rem; font-weight: 600; color: #fff;
  letter-spacing: .04em; line-height: 1.15; display: none;
}

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  display: block; padding: .5rem .72rem;
  color: #dfe6dc; font-size: .855rem; font-weight: 500; border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover, .nav a.is-active { color: var(--gold); background: rgba(255,255,255,.07); }

/* dropdown ---------------------------------------------------------------- */
.nav .has-sub { position: relative; }
.nav .has-sub > a { display: flex; align-items: center; gap: .34rem; }
.nav .has-sub > a .fa-chevron-down { font-size: .58em; transition: transform .25s ease; }
.subnav {
  /* resting state is CLOSED — single source of truth for `display` */
  display: none;
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 330px; max-height: 66vh; overflow-y: auto;
  margin: 0; padding: .5rem;
  list-style: none;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
}
.subnav::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.subnav a {
  color: var(--body); font-size: .83rem; line-height: 1.45; padding: .5rem .68rem; border-radius: 8px;
}
.subnav a:hover { background: var(--gold-soft); color: var(--deep); }
/* desktop: hover-to-open */
@media (hover: hover) and (min-width: 993px) {
  .nav .has-sub:hover > .subnav { display: block; }
  .nav .has-sub:focus-within > .subnav { display: block; }
  .nav .has-sub:hover > a .fa-chevron-down { transform: rotate(180deg); }
}
/* any device: tap/click toggle via JS flag */
.nav .has-sub.is-open > .subnav { display: block; }
.nav .has-sub.is-open > a .fa-chevron-down { transform: rotate(180deg); }

.head-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: #241d00;
  padding: .58rem 1.05rem; border-radius: 999px;
  font-size: .85rem; font-weight: 600; white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
.head-cta:hover { background: #fff; transform: translateY(-1px); }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.24); border-radius: 10px;
  background: transparent; color: #fff; font-size: 1.05rem; cursor: pointer;
}
/* close button lives inside the drawer; desktop never shows it */
.nav-close { display: none; }

.nav-scrim { display: none; position: fixed; inset: 0; background: rgba(6,18,9,.55); z-index: 890; }
.nav-scrim.is-on { display: block; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  margin-top: var(--head-h);
  min-height: clamp(520px, 84vh, 760px);
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,24,11,.9) 0%, rgba(10,30,14,.74) 42%, rgba(12,34,16,.34) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero__inner { max-width: 720px; padding: 2.5rem 0; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(255,255,255,.34); border-radius: 999px;
  padding: .38rem 1rem; margin-bottom: 1.5rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__sub { font-size: 1.06rem; color: #e0e8dd; max-width: 560px; }
.hero__price {
  font-family: var(--serif); font-size: clamp(1.18rem, 2.2vw, 1.6rem); color: #fff; font-weight: 600;
  margin: 0 0 1.9rem;
}
.hero__price b { color: var(--gold); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__strip {
  display: flex; flex-wrap: wrap; gap: 2.4rem;
  margin-top: 2.8rem; padding-top: 1.7rem; border-top: 1px solid rgba(255,255,255,.18);
}
.hero__strip div span { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #a9baa6; }
.hero__strip div strong { font-family: var(--serif); font-size: 1.1rem; color: #fff; font-weight: 600; }

/* ==========================================================================
   Overview
   ========================================================================== */
.overview__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.overview__media { position: relative; }
.overview__media img {
  width: 100%; height: 500px;
  object-fit: cover; object-position: center top;
  border-radius: .5rem; box-shadow: var(--shadow-lg);
}
.overview__badge {
  position: absolute; right: -14px; bottom: -22px;
  background: var(--gold); color: #241d00;
  border-radius: var(--r); padding: 1rem 1.35rem; box-shadow: var(--shadow);
  font-family: var(--serif); line-height: 1.1; text-align: center;
}
.overview__badge b { display: block; font-size: 1.4rem; font-weight: 700; }
.overview__badge span { font-family: var(--sans); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 600; }

/* ==========================================================================
   Amenities
   ========================================================================== */
.amen-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem;
  margin-top: 3rem;
}
.amen {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--r); padding: 1.9rem 1.2rem; text-align: center;
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}
.amen:hover { transform: translateY(-6px); border-color: var(--gold); background: rgba(255,194,0,.08); }
.amen i { font-size: 1.55rem; color: var(--gold); margin-bottom: .9rem; display: block; }
.amen h3 { font-family: var(--sans); font-size: .92rem; font-weight: 600; color: #fff; margin: 0; line-height: 1.4; }

/* ==========================================================================
   Location / connectivity
   ========================================================================== */
.loc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.6rem); align-items: center; }
.acc { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.acc + .acc { margin-top: .85rem; }
.acc__btn {
  width: 100%; display: flex; align-items: center; gap: .8rem;
  padding: 1.05rem 1.3rem; background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--ink); text-align: left;
}
.acc__btn .lead { margin-right: auto; display: flex; align-items: center; gap: .75rem; }
.acc__btn .lead i { color: var(--gold-dk); width: 20px; text-align: center; }
.acc__btn .chev { color: var(--muted); font-size: .8rem; transition: transform .3s ease; }
.acc.is-open .acc__btn .chev { transform: rotate(180deg); color: var(--gold-dk); }
.acc__body { max-height: 0; overflow: hidden; transition: max-height .38s ease; }
.acc__body ul { list-style: none; margin: 0; padding: 0 1.3rem 1.15rem; }
.acc__body li {
  display: flex; gap: .9rem; align-items: baseline;
  padding: .55rem 0; border-top: 1px dashed var(--line); font-size: .93rem;
}
.acc__body li b { flex: 0 0 118px; color: var(--gold-dk); font-weight: 600; font-size: .84rem; }
.loc__map img {
  width: 100%; height: 500px;
  object-fit: cover; object-position: right;
  border-radius: .5rem; box-shadow: var(--shadow); border: 1px solid var(--line);
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gal { position: relative; margin-top: 2.8rem; }
.gal__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 620px);
  gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1.1rem; scrollbar-width: none;
}
.gal__track::-webkit-scrollbar { display: none; }
.gal__track figure { margin: 0; scroll-snap-align: center; }
.gal__track img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.gal__nav { display: flex; justify-content: center; gap: .7rem; margin-top: 1.4rem; }
.gal__nav button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff;
  cursor: pointer; transition: background .22s ease, color .22s ease;
}
.gal__nav button:hover { background: var(--gold); color: #241d00; border-color: var(--gold); }

/* ==========================================================================
   Floor plans
   ========================================================================== */
.fp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.fp {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease;
  display: flex; flex-direction: column;
}
.fp:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
/* Floor plans are deliberately obscured — the blur is baked into the image
   files themselves, so no readable version exists at the asset URL. These
   rules only remove the obvious save/drag affordances on top of that. */
.fp__img { background: var(--cream); padding: 1.1rem; position: relative; }
.fp__img img {
  aspect-ratio: 4/3; object-fit: cover; width: 100%;
  pointer-events: none;
  user-select: none; -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  border-radius: var(--r-lg);
}
.fp__body { padding: 1rem 1.35rem 1.5rem; text-align: center; margin-top: auto; }
.fp__body h3 { font-size: 1.16rem; margin-bottom: .2rem; }
.fp__body p { font-size: .82rem; color: var(--muted); letter-spacing: .09em; text-transform: uppercase; margin-bottom: 1.1rem; }

/* ==========================================================================
   Tour band
   ========================================================================== */
.tour { position: relative; text-align: center; color: #fff; overflow: hidden; }
.tour__bg { position: absolute; inset: 0; }
.tour__bg img { width: 100%; height: 100%; object-fit: cover; }
.tour__bg::after { content: ""; position: absolute; inset: 0; background: rgba(10,26,13,.82); }
.tour .wrap { position: relative; z-index: 2; }
.tour h2 { color: #fff; text-transform: uppercase; letter-spacing: .02em; }
.tour p { color: #d3ded0; margin-bottom: 1.7rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 880px; margin: 2.8rem auto 0; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 0 1.35rem; margin-bottom: .85rem; box-shadow: var(--shadow-sm);
  transition: border-color .25s ease;
}
.faq details[open] { border-color: var(--gold); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 0; font-weight: 600; color: var(--ink); font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "\f067"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  margin-left: auto; font-size: .78rem; color: var(--gold-dk); transition: transform .3s ease;
}
.faq details[open] summary::after { content: "\f068"; }
.faq .faq__a { padding: 0 0 1.2rem; color: var(--body); font-size: .96rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.6rem); align-items: start; }
.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.contact-list li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.05rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico {
  flex: 0 0 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: #241d00; font-size: 1.02rem;
}
.contact-list span { display: block; font-size: .73rem; letter-spacing: .16em; text-transform: uppercase; color: #a9baa6; }
.contact-list a, .contact-list strong { color: #fff; font-size: .98rem; font-weight: 600; font-family: var(--serif); }
.contact-list a:hover { color: var(--gold); }

.cta-card {
  background: var(--white); color: var(--body);
  border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 2.6rem); box-shadow: var(--shadow-lg);
}
.cta-card h3 { margin-bottom: .35rem; }
.cta-card > p { font-size: .95rem; color: var(--muted); }
.cta-card .btn + .btn { margin-top: .75rem; }
.cta-card .note { font-size: .78rem; color: var(--muted); margin: 1.15rem 0 0; text-align: center; line-height: 1.6; }

.map-embed {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); margin-top: 2.4rem; line-height: 0;
}
.map-embed iframe { width: 100%; height: 440px; border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #0a1c0d; color: #93a290; padding: clamp(3rem, 5vw, 4.2rem) 0 0; font-size: .88rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: 2.4rem; padding-bottom: 2.6rem; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .17em; text-transform: uppercase; margin-bottom: 1.15rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .55rem; }
.footer a { color: #93a290; transition: color .2s ease; }
.footer a:hover { color: var(--gold); }
.footer__brand img { height: 52px; border-radius: 10px; margin-bottom: 1.1rem; }
.footer__qr { text-align: center; }
.footer__qr img { width: 118px; border-radius: 8px; background: #fff; padding: 6px; }
.footer__qr span { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .6rem; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.1); padding: 1.8rem 0; font-size: .76rem; line-height: 1.75; color: #75836f; }
.footer__legal p { margin-bottom: .7rem; }
.footer__legal strong { color: #b9c6b5; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding: 1.15rem 0; text-align: center; font-size: .78rem; }

/* ==========================================================================
   Floating action buttons  (call = left, whatsapp = right — no overlap)
   ========================================================================== */
.fab {
  position: fixed; bottom: 20px; z-index: 950;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-size: 1.5rem;
  box-shadow: 0 8px 26px rgba(0,0,0,.3);
  transition: transform .22s ease;
}
.fab:hover { transform: scale(1.08); color: #fff; }
.fab--call { left: 20px; background: #2a8a3e; }
.fab--wa   { right: 20px; background: #25d366; }
.fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid currentColor; opacity: .55;
  animation: fab-ring 2.2s ease-out infinite;
}
@keyframes fab-ring { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.55); opacity: 0; } }

/* ==========================================================================
   Blog
   ========================================================================== */
.page-head {
  margin-top: var(--head-h);
  background: var(--deep); color: #cfd8cb;
  padding: clamp(3rem, 6vw, 4.6rem) 0 clamp(2.6rem, 5vw, 3.8rem);
  position: relative; overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; right: -6%; top: -40%;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,194,0,.15), transparent 68%);
}
.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { color: #b6c2b3; max-width: 680px; margin: 0; }

.crumbs { font-size: .78rem; color: #93a290; margin-bottom: 1.1rem; }
.crumbs a { color: var(--gold); }
.crumbs span { margin: 0 .45rem; opacity: .55; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.card__img { aspect-ratio: 16/10; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 1.4rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card__meta { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dk); font-weight: 600; margin-bottom: .7rem; }
.card__body h2, .card__body h3 { font-size: 1.06rem; line-height: 1.42; margin-bottom: .5rem; }
.card__body h2 a, .card__body h3 a { color: var(--ink); }
.card__body h2 a:hover, .card__body h3 a:hover { color: var(--gold-dk); }
.card__body p { font-size: .9rem; color: var(--muted); }
.card__more { margin-top: auto; font-weight: 600; font-size: .85rem; color: var(--forest); display: inline-flex; align-items: center; gap: .45rem; }
.card__more i { transition: transform .22s ease; }
.card:hover .card__more i { transform: translateX(4px); }

/* article ---------------------------------------------------------------- */
.article-wrap { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(2rem, 5vw, 3.4rem); align-items: start; }
.article {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 4vw, 3.2rem); box-shadow: var(--shadow-sm);
}
.article > img, .article figure img { border-radius: var(--r); margin: 1.6rem 0; }
.article h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 2.2rem; }
.article h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-top: 1.8rem; }
.article ul, .article ol { padding-left: 1.3rem; margin-bottom: 1.3rem; }
.article li { margin-bottom: .5rem; }
.article a { color: var(--gold-dk); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article a:hover { color: var(--forest); }
.article table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.article table th, .article table td { border: 1px solid var(--line); padding: .68rem .85rem; text-align: left; }
.article table th { background: var(--cream); color: var(--ink); font-weight: 600; }
.article blockquote {
  margin: 1.6rem 0; padding: 1.1rem 1.5rem;
  border-left: 3px solid var(--gold); background: var(--cream); border-radius: 0 var(--r) var(--r) 0;
  font-style: italic;
}
.table-scroll { overflow-x: auto; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  font-size: .8rem; color: var(--muted); margin-bottom: 1.6rem;
  padding-bottom: 1.3rem; border-bottom: 1px solid var(--line);
}
.article-meta i { color: var(--gold-dk); margin-right: .35rem; }

.aside { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: 1.3rem; }
.widget { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.widget h3 { font-size: 1.02rem; margin-bottom: 1rem; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li + li { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.widget li a { font-size: .875rem; line-height: 1.45; color: var(--body); font-weight: 500; }
.widget li a:hover { color: var(--gold-dk); }
.widget--cta { background: var(--deep); border-color: var(--deep); color: #c8d3c5; }
.widget--cta h3 { color: #fff; }
.widget--cta p { font-size: .88rem; }

.related { margin-top: clamp(2.6rem, 5vw, 3.8rem); }
.related h2 { font-size: 1.55rem; margin-bottom: 1.6rem; }
.related .post-grid { grid-template-columns: repeat(3, 1fr); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab::after { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .brand span { display: none; }
  .nav a { padding: .5rem .56rem; font-size: .82rem; }
}

@media (max-width: 992px) {
  :root { --head-h: 66px; }
  .burger { display: grid; place-items: center; }
  .head-cta span { display: none; }
  .head-cta { padding: .55rem .8rem; }

  .nav {
    position: fixed; top: 0; right: 0; z-index: 895;
    width: min(84vw, 340px); height: 100dvh;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #314931;
    padding:1rem 1.2rem 2rem;
    overflow-y: auto;
    transform: translateX(102%);
    transition: transform .34s cubic-bezier(.4,0,.2,1);
    border-left: 1px solid rgba(255,255,255,.1);
  }
  .nav.is-open { transform: none; }

  /* sits below the fixed header bar so it is never covered by it */
  .nav-close {
    display: grid; place-items: center;
    align-self: flex-end;
    width: 40px; height: 40px; margin: 0 0 .6rem;
    border: 1px solid rgba(255,255,255,.24); border-radius: 10px;
    background: transparent; color: #fff; font-size: 1.1rem; cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
  }
  .nav-close:hover { background: var(--gold); color: #241d00; border-color: var(--gold); }
  .nav a { padding: .82rem .6rem; font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }

  /* mobile dropdown: static flow, still closed by default (same selector weight) */
  .nav .has-sub { position: static; }
  .subnav {
    position: static; min-width: 0; max-height: none; overflow: visible;
    margin: 0 0 .4rem; padding: .2rem 0 .5rem .8rem;
    background: transparent; border: 0; box-shadow: none; border-left: 2px solid rgba(255,194,0,.4);
  }
  .subnav a { color: #b6c2b3; font-size: .85rem; padding: .6rem .5rem; border-bottom: 0; }
  .subnav a:hover { background: rgba(255,255,255,.06); color: var(--gold); }

  .hero { min-height: auto; padding: 3.4rem 0; }
  .overview__grid, .loc__grid, .contact__grid, .article-wrap { grid-template-columns: 1fr; }
  .overview__badge { right: 12px; bottom: -18px; }
  .amen-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-grid, .post-grid, .related .post-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__qr { grid-column: 1 / -1; text-align: left; }
  .aside { position: static; }
  .gal__track { grid-auto-columns: min(88%, 520px); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 2rem); }
  .hero__strip { gap: 1.5rem 2rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .amen-grid, .fp-grid, .post-grid, .related .post-grid, .footer__grid { grid-template-columns: 1fr; }
  .map-embed iframe { height: 320px; }
  .loc__map img { height: 350px; }
  .overview__media img { height: 350px; }
  .fab { width: 52px; height: 52px; font-size: 1.35rem; }
  .contact-list a, .contact-list strong { font-size: 1rem; }
  .acc__body li { flex-direction: column; gap: .12rem; }
  .acc__body li b { flex: none; }
}
