/* =====================================================================
   Ambika Apartments — one-page site
   Vanilla CSS3. No frameworks.
   Sections:
     1.  Design tokens
     2.  Reset & base
     3.  Layout helpers & typography
     4.  Buttons & links
     5.  Header / navigation
     6.  Hero
     7.  Trust bar
     8.  Projects
     9.  About
     10. Amenities
     11. Residences / floor plans / tabs
     12. Gallery + lightbox
     13. Location
     14. Contact form
     15. Footer
     16. Back-to-top
     17. Scroll-reveal animations
     18. Responsive / media queries
   ===================================================================== */

/* ----------------------------- 1. Tokens ---------------------------- */
:root {
  --bg:          #fbfaf7;
  --surface:     #ffffff;
  --surface-alt: #f3f0ea;
  --ink:         #1c1a17;
  --ink-soft:    #514c45;
  --muted:       #8a8177;
  --line:        #e6e0d5;
  --accent:      #b0895b;   /* champagne bronze */
  --accent-dark: #8c6a42;
  --accent-soft: #efe6d9;
  --dark:        #14110f;

  --container: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.25rem);
  --section-y: clamp(4rem, 10vw, 7.5rem);

  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(20, 17, 15, .05), 0 8px 24px rgba(20, 17, 15, .05);
  --shadow-md: 0 8px 20px rgba(20, 17, 15, .08), 0 24px 60px rgba(20, 17, 15, .10);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .5s;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

/* --------------------------- 2. Reset & base ----------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  background: var(--dark);
  color: #fff;
  padding: .65rem 1rem;
  border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* --------------------- 3. Layout helpers & type ------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

/* keep anchor jumps clear of the fixed header */
section[id], [id].section { scroll-margin-top: 92px; }

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: .9rem;
}

.section-title {
  font-size: clamp(1.85rem, 4.6vw, 2.9rem);
}

.section-intro {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* --------------------------- 4. Buttons -------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              box-shadow .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); }

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

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost--light {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.btn-ghost--light:hover { background: rgba(255, 255, 255, .12); }

.btn-block { width: 100%; }

.link-arrow,
.link-arrow:visited {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--accent-dark);
}
.link-arrow::after {
  content: "\2192";
  transition: transform .25s var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* ----------------------- 5. Header / nav ------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(251, 250, 247, .92);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.brand-mark {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .005em;
}
.brand-sub {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
/* keep header text readable over the dark hero before scroll */
.site-header:not(.scrolled) .brand-name { color: #fff; }
.site-header:not(.scrolled) .brand-sub { color: rgba(255, 255, 255, .7); }
.site-header:not(.scrolled) .nav-link { color: rgba(255, 255, 255, .88); }
.site-header:not(.scrolled) .nav-toggle-bar { background: #fff; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 1.9vw, 1.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  position: relative;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: .4rem;
  transition: color .2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover,
.nav-link.is-active { color: var(--ink); }
.site-header:not(.scrolled) .nav-link:hover,
.site-header:not(.scrolled) .nav-link.is-active { color: #fff; }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }

.nav-cta { padding: .7rem 1.35rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}
.nav-toggle-bar {
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), background-color .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 15, .45);
  opacity: 0;
  transition: opacity .3s var(--ease);
  z-index: 90;
}
.nav-overlay.show { opacity: 1; }

/* ------------------------------ 6. Hero --------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: 8rem 5rem;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(20, 17, 15, .95) 0%, rgba(20, 17, 15, .65) 45%, rgba(20, 17, 15, .78) 100%),
    #2a2521 url("../images/ambika-apartments.webp") center / cover no-repeat;
  transform: scale(1.05);
}
/* content width follows the page container; only the lead line is capped for readability */
.hero-inner { max-width: none; width: 100%; }

.hero .eyebrow { color: var(--accent-soft); }

.hero-title {
  max-width: 15ch;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero-title span { color: var(--accent-soft); font-style: italic; }

.hero-lead {
  margin-top: 1.5rem;
  max-width: 38rem;
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  color: rgba(255, 255, 255, .86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(1.5rem, 5vw, 3.25rem);
  margin: 3.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero-stats .stat { min-width: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1;
}
.stat-label {
  margin: .45rem 0 0;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  translate: -50% 0;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 20px;
}
.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  translate: -50% 0;
  border-radius: 2px;
  background: #fff;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, -4px); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translate(-50%, 14px); }
  100% { opacity: 0; }
}

/* --------------------------- 7. Trust bar ------------------------ */
.trust {
  background: var(--dark);
  color: rgba(255, 255, 255, .9);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.25rem, 5vw, 3.5rem);
  padding-block: 1.4rem;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.trust-item svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------- 8. Projects ------------------------ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
}
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.project-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-alt);
  overflow: hidden;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.project-card:hover .project-media img { transform: scale(1.06); }

.project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: .4rem .8rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.project-body {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.project-loc {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.project-loc svg { width: 16px; height: 16px; fill: currentColor; }
.project-name { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.project-name a { transition: color .2s var(--ease); }
.project-name a:hover { color: var(--accent-dark); }
.project-desc { color: var(--ink-soft); }

.project-facts {
  list-style: none;
  margin: .35rem 0 .5rem;
  padding: 0;
  border-top: 1px solid var(--line);
}
.project-facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.project-facts span {
  color: var(--muted);
  font-weight: 500;
}

/* ---------------------------- 9. About ------------------------- */
.about { background: var(--surface-alt); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-badge {
  position: absolute;
  right: clamp(-.5rem, 2vw, -2rem);
  bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: 1.1rem 1.4rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-width: 240px;
}
.about-badge strong { font-family: var(--font-display); font-size: 1.05rem; }
.about-badge span { font-size: .8rem; color: var(--muted); }

.about-copy > p { margin-top: 1rem; color: var(--ink-soft); }
.about-points {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .75rem;
}
.about-points li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink-soft);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.about-points strong { color: var(--ink); }

/* -------------------------- 10. Amenities --------------------- */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.75rem, 2vw, 1.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.amenity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 500;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.amenity:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.amenity-ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.amenity:hover .amenity-ic { background: #fff; }
.amenity-ic svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* -------------------- 11. Residences / tabs ------------------ */
.residences { background: var(--surface-alt); }

.tabs {
  display: inline-flex;
  gap: .35rem;
  margin: 0 auto 2.5rem;
  padding: .35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.tabs { display: flex; width: max-content; }
.residences .tabs { margin-inline: auto; }
.tab {
  border: 0;
  background: transparent;
  padding: .7rem 1.9rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink-soft);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.tab.is-active { background: var(--ink); color: #fff; }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .45s var(--ease) both; }

.plan {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
}
.plan-figure {
  color: var(--accent-dark);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 2rem);
}
.plan-figure svg { width: 100%; height: auto; }

.plan-info h3 {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  margin-bottom: 1rem;
}
.plan-specs {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.plan-specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.plan-specs span { color: var(--muted); font-weight: 500; }
.plan-price {
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 1.25rem;
}

/* ------------------- 12. Gallery + lightbox ----------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.6rem, 1.6vw, 1rem);
}
.gallery-item {
  position: relative;
  border: 0;
  padding: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-alt);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .4s var(--ease);
}
.gallery-item::after {
  content: "\002B";
  position: absolute;
  inset: auto .75rem .75rem auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover::after,
.gallery-item:focus-visible::after { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 5vw, 3rem);
  background: rgba(15, 13, 11, .92);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
/* when closed it must not sit over the page and swallow clicks */
.lightbox[hidden] { display: none; }
.lightbox.show { opacity: 1; pointer-events: auto; }
.lb-image {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lb-close, .lb-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color .2s var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .25); }
.lb-close {
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
}
.lb-nav {
  top: 50%;
  translate: 0 -50%;
  width: 48px;
  height: 48px;
  font-size: 1.9rem;
  line-height: 1;
}
.lb-prev { left: clamp(.5rem, 3vw, 2rem); }
.lb-next { right: clamp(.5rem, 3vw, 2rem); }

/* -------------------------- 13. Location -------------------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}
.loc-block { margin-top: 1.75rem; }
.loc-block h3 {
  font-size: 1.15rem;
  margin-bottom: .65rem;
}
.loc-block ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  display: grid;
  gap: .4rem;
}
.loc-block li::marker { color: var(--accent); }

.location-map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  box-shadow: var(--shadow-sm);
}
.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.25) contrast(1.02);
}

/* -------------------------- 14. Contact -------------------- */
.contact { background: var(--dark); color: rgba(255, 255, 255, .9); }
.contact .eyebrow { color: var(--accent-soft); }
.contact .section-title { color: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}
.contact-copy > p { margin-top: 1rem; color: rgba(255, 255, 255, .72); max-width: 42ch; }

.contact-details {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-size: .98rem;
}
.contact-ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  flex-shrink: 0;
}
.contact-ic svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--accent-soft);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-details a:hover { color: #fff; text-decoration: underline; }

.contact-form {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field label {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: .45rem;
}
.field .opt { color: var(--muted); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  font: inherit;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 90px; }

.field-error {
  min-height: 1.1em;
  margin-top: .35rem;
  font-size: .8rem;
  color: #b4483c;
}
.field.invalid input,
.field.invalid select { border-color: #b4483c; }

.form-status {
  margin-top: 1rem;
  font-size: .92rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-status.success { color: #2f7a4d; }
.form-fineprint {
  margin-top: 1rem;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.55;
}

/* --------------------------- 15. Footer -------------------- */
.site-footer {
  background: #100e0c;
  color: rgba(255, 255, 255, .68);
  padding-top: clamp(3rem, 7vw, 5rem);
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 2.75rem;
}
.brand--footer .brand-name { color: #fff; }
.footer-brand p { margin-top: 1rem; max-width: 30ch; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  order: 3;
}
.footer-legal a:hover { color: #fff; }
.footer-bottom .footer-disc { flex-basis: 100%; margin-top: .25rem; }

/* ----------------------- 16. Back-to-top ------------------ */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 80;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s var(--ease);
}
.to-top:not(.show) { visibility: hidden; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--accent-dark); }
.to-top svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ------------------ 17. Scroll-reveal animation ----------- */
/* only hide when JS is available (progressive enhancement) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------- 18. FAQ --------------------- */
.faq { background: var(--surface-alt); }
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: .8rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 1.15rem 3.25rem 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 1.4rem;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent-dark);
  border-bottom: 2px solid var(--accent-dark);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: -2px; border-radius: var(--radius); }
.faq-answer { padding: 0 1.35rem 1.3rem; color: var(--ink-soft); }
.faq-answer > * + * { margin-top: .75rem; }
.faq-item[open] .faq-answer { animation: fadeUp .35s var(--ease) both; }
.faq-foot { text-align: center; margin-top: 2.5rem; color: var(--ink-soft); }

/* =======================================================
   19. Inner pages (blog + legal + article)
   ======================================================= */

/* solid header on pages without a dark hero (also carries class "scrolled") */
.site-header[data-static] { position: fixed; }

.page-hero {
  padding-top: calc(78px + clamp(2.5rem, 8vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 7vw, 4rem);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero .container { max-width: 780px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
.page-hero > .container > p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.05rem; }
/* the section right after the beige hero band sits closer to it */
.page-hero + .section { padding-top: clamp(2.25rem, 6vw, 3.25rem); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1rem;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb span[aria-hidden] { color: var(--line); }

/* shared long-form typography */
.prose { max-width: 760px; margin-inline: auto; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-top: 2.6rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.9rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: .5rem; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin: 2.2rem 0;
  padding: 1.1rem 1.6rem;
  border-left: 3px solid var(--accent);
  background: var(--surface-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
}
.prose figure { margin: 2.2rem 0; }
.prose figure img { width: 100%; border-radius: var(--radius-lg); }
.prose figcaption { margin-top: .6rem; font-size: .8rem; color: var(--muted); text-align: center; }
.legal-meta { font-size: .85rem; color: var(--muted); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.75rem;
  font-weight: 600;
  font-size: .88rem;
  color: var(--accent-dark);
}
.back-link::before { content: "\2190"; transition: transform .25s var(--ease); }
.back-link:hover::before { transform: translateX(-3px); }

/* blog listing */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-alt); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.06); }
.post-body { display: flex; flex-direction: column; gap: .65rem; padding: 1.5rem; flex: 1; }
.post-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.post-body h2, .post-body h3 { font-size: 1.2rem; }
.post-body p { color: var(--ink-soft); font-size: .95rem; }
.post-meta { margin-top: auto; padding-top: .35rem; font-size: .8rem; color: var(--muted); }

/* article */
.article { padding-block: clamp(2.5rem, 7vw, 4.5rem); padding-inline: var(--gutter); }
.article-figure { max-width: 1000px; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.article-figure img { width: 100%; border-radius: var(--radius-lg); }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  justify-content: center;
  margin-top: 1.25rem;
  font-size: .85rem;
  color: var(--muted);
}
.article-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.author-card {
  max-width: 760px;
  margin: 3rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  align-items: center;
}
.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent-dark);
  flex-shrink: 0;
}
.author-card strong { display: block; }
.author-card span { font-size: .85rem; color: var(--muted); }

/* CTA strip reused on inner pages */
.cta-strip {
  background: var(--dark);
  color: #fff;
  text-align: center;
}
.cta-strip h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.cta-strip p { margin: 1rem auto 1.75rem; max-width: 46ch; color: rgba(255, 255, 255, .78); }

/* =======================================================
   21. Project detail pages
   ======================================================= */
.project-hero {
  position: relative;
  min-height: clamp(320px, 44vh, 420px);
  padding: calc(78px + clamp(2.25rem, 6vw, 3.75rem)) 0 clamp(2.5rem, 5vw, 3.5rem);
  color: #fff;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(18, 15, 13, .62) 0%, rgba(18, 15, 13, .48) 42%, rgba(18, 15, 13, .90) 100%),
    var(--hero-img, linear-gradient(120deg, #2a2521, #4a4038)) center / cover no-repeat;
}
.project-hero > .container { display: flex; flex-direction: column; align-items: flex-start; }
.project-hero .breadcrumb { justify-content: flex-start; color: rgba(255, 255, 255, .72); margin-bottom: 1.5rem; }
.project-hero .breadcrumb a:hover { color: #fff; }
.project-hero .breadcrumb span[aria-hidden] { color: rgba(255, 255, 255, .4); }
.project-hero .eyebrow { color: var(--accent-soft); }
.project-hero h1 {
  max-width: 22ch;
  font-size: clamp(1.85rem, 5vw, 3.4rem);
}
.project-hero-loc {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  max-width: 42ch;
  margin-top: 1rem;
  font-size: .95rem;
  color: rgba(255, 255, 255, .85);
}
.project-hero-loc svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; fill: currentColor; }

.project-hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  width: 100%;
  margin: 2.25rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.project-hero-facts div dt {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.project-hero-facts div dd {
  margin: .35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.25;
}

.project-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.25rem;
}

.section-cta { text-align: center; margin-top: clamp(2rem, 6vw, 3.5rem); }

/* =======================================================
   22. Brochure download page
   ======================================================= */
.download-card {
  max-width: 520px;
  margin-inline: auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 5vw, 3rem);
  box-shadow: var(--shadow-md);
}
.download-card .doc-ic {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.download-card .doc-ic svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.download-card h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
.download-card > p { margin-top: .6rem; color: var(--ink-soft); font-size: .95rem; }
.download-card .btn { margin-top: 1.5rem; }
.download-hint { margin-top: 1rem; font-size: .82rem; color: var(--muted); }
.download-hint a { color: var(--accent-dark); text-decoration: underline; }

/* =======================================================
   23. Exit-intent brochure modal
   ======================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 5vw, 2.5rem);
  background: rgba(15, 13, 11, .7);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.modal[hidden] { display: none; }
.modal.show { opacity: 1; pointer-events: auto; }
.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 5vw, 2.5rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  transform: translateY(14px) scale(.97);
  transition: transform .35s var(--ease);
}
.modal.show .modal-dialog { transform: none; }
.modal-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-alt);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink-soft);
  transition: background-color .2s var(--ease);
}
.modal-close:hover { background: var(--line); }
.modal-eyebrow {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.modal-dialog h2 {
  margin-top: .5rem;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
}
.modal-dialog > p {
  margin-top: .65rem;
  color: var(--ink-soft);
  font-size: .93rem;
}
.modal-form { margin-top: 1.25rem; }
.modal-form .field { margin-bottom: .9rem; }
.modal-fine { margin-top: .85rem; font-size: .76rem; color: var(--muted); }

/* --------------------- 24. Media queries ----------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 82vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 6rem 1.75rem 2rem;
    background: var(--surface);
    box-shadow: -12px 0 40px rgba(20, 17, 15, .15);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    z-index: 95;
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--ink) !important;
  }
  .nav-link::after { display: none; }
  .nav-cta {
    margin-top: 1.5rem;
    width: 100%;
    padding: .95rem 1.5rem;
  }
  .nav-toggle { display: flex; }
  /* toggle stays dark once menu is open, even over hero */
  .site-header:not(.scrolled) .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: var(--ink); }

  .project-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 480px; }
  .about-badge { right: 1rem; }
  .amenity-grid { grid-template-columns: repeat(3, 1fr); }
  .plan { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .project-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --section-y: clamp(3.25rem, 12vw, 4.5rem); }

  .hero { min-height: 92svh; padding-block: 7rem 4rem; }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
    text-align: left;
  }
  .hero-actions .btn { flex: 1 1 100%; }

  .trust-inner { gap: 1rem 1.5rem; }
  .trust-item { font-size: .72rem; }

  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .blog-grid { grid-template-columns: 1fr; }
  .article-meta { justify-content: flex-start; }
  .project-hero-facts { gap: 1rem 1.25rem; }
  .project-cta-row { width: 100%; }
  .project-cta-row .btn { flex: 1 1 100%; }
}

@media (max-width: 380px) {
  .amenity { align-items: center; text-align: center; }
  .brand-sub { display: none; }
}

/* ---------------------- Reduced motion ------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media { transform: none; }
}

/* =======================================================
   25. Long-form article components (price-list post)
   ======================================================= */
.prose h2[id] { scroll-margin-top: 92px; }
.prose h3 { margin-top: 1.6rem; }

/* at-a-glance strip */
.glance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
.prose .glance { padding-left: 0; }
.glance li {
  padding: 1rem .9rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.glance strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--accent-dark);
}
.glance span { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* key takeaways + table of contents */
.key-takeaways {
  padding: 1.25rem 1.5rem;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}
.prose .key-takeaways h2 { margin: 0 0 .6rem; font-size: 1.15rem; }
.key-takeaways ul { margin: 0; }

.toc {
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.prose .toc p { margin: 0 0 .6rem; font-weight: 600; color: var(--ink); }
.prose .toc ol { margin: 0; columns: 2; column-gap: 2rem; }
.toc li { break-inside: avoid; }
.prose .toc a { text-decoration: none; }
.prose .toc a:hover { text-decoration: underline; }

/* project quick-link cards */
.project-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.25rem 0 0;
}
.project-link {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none !important;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.project-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-link img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 0; border-radius: 0; }
.project-link span { display: block; padding: .9rem 1.1rem 1.1rem; font-weight: 600; color: var(--ink); }
.project-link small { display: block; margin-top: .15rem; font-weight: 400; font-size: .82rem; color: var(--muted); }
.project-link small::after { content: " \2192"; color: var(--accent-dark); font-weight: 600; }

/* callouts */
.callout {
  margin: 1.75rem 0;
  padding: 1.1rem 1.35rem;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: var(--radius);
  background: var(--surface);
}
.callout > strong:first-child {
  display: block;
  margin-bottom: .25rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.callout p { margin: 0; }
.callout--important { border-left-color: #b4483c; background: #fbf3f1; }
.callout--important > strong:first-child { color: #b4483c; }
.callout--tip { border-left-color: var(--accent); background: var(--accent-soft); }
.callout--tip > strong:first-child { color: var(--accent-dark); }
.callout--invest { border-left-color: var(--ink); background: var(--surface-alt); }
.callout--invest > strong:first-child { color: var(--ink); }

/* tables */
.table-wrap {
  margin: 1.5rem 0;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .93rem; }
.table-wrap caption { padding: .85rem 1.1rem; text-align: left; font-size: .8rem; color: var(--muted); caption-side: bottom; }
.table-wrap th, .table-wrap td { padding: .8rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap thead th {
  background: var(--surface-alt);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.table-wrap tbody th { font-weight: 600; color: var(--ink); background: transparent; }
.table-wrap tbody td { color: var(--ink-soft); }
.table-wrap tbody tr:last-child th, .table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:hover { background: var(--bg); }

/* infographics */
.figure-infographic { margin: 2rem 0; }
.figure-infographic img { width: 100%; height: auto; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.figure-infographic figcaption { margin-top: .6rem; font-size: .82rem; color: var(--muted); text-align: center; }

/* check list */
.check-list { list-style: none; padding-left: 0 !important; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.6' fill='none' stroke='%238c6a42' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

/* booking stepper */
ol.stepper { list-style: none; counter-reset: step; padding-left: 0 !important; gap: .85rem; }
ol.stepper li {
  position: relative;
  counter-increment: step;
  padding: .9rem 1.1rem .9rem 4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
ol.stepper li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}
ol.stepper li::marker { content: none; }
ol.stepper strong { display: block; color: var(--ink); }

/* inline CTA */
.cta-inline {
  margin: 2.25rem 0;
  padding: 1.5rem;
  text-align: center;
  color: #fff;
  background: var(--dark);
  border-radius: var(--radius-lg);
}
.prose .cta-inline p { margin: 0 0 1rem; color: rgba(255, 255, 255, .85); font-family: var(--font-display); font-size: 1.2rem; }
.cta-inline .btn { text-decoration: none; color: #fff; }

.prose .faq-list { max-width: none; margin-top: 1rem; }
.prose .faq-answer p { margin: 0; }
.prose .disclaimer-note { margin-top: 2rem; font-size: .85rem; font-style: italic; color: var(--muted); }

@media (max-width: 760px) {
  .glance { grid-template-columns: repeat(2, 1fr); }
  .project-links { grid-template-columns: 1fr; }
  .prose .toc ol { columns: 1; }
}

/* single featured post on the blog index */
.blog-grid--featured { grid-template-columns: 1fr; max-width: 980px; margin-inline: auto; }
.blog-grid--featured .post-card { flex-direction: row; }
.blog-grid--featured .post-media { flex: 0 0 52%; aspect-ratio: auto; min-height: 280px; }
.blog-grid--featured .post-body { justify-content: center; padding: 2rem; }
.blog-grid--featured .post-body h2 { font-size: 1.6rem; }
@media (max-width: 760px) { .blog-grid--featured .post-card { flex-direction: column; } .blog-grid--featured .post-media { flex-basis: auto; aspect-ratio: 16 / 10; min-height: 0; } .blog-grid--featured .post-body { padding: 1.5rem; } }
