/* ==========================================================================
   Griya Surya Klapanunggal — Premium Real Estate Landing Page
   Warm ivory editorial · forest accent · Cormorant + Manrope
   ========================================================================== */

:root {
  --bg: #F7F4EE;
  --bg-alt: #F1EDE4;
  --text: #1C1C1A;
  --text-muted: #3F3D39;
  --accent: #2F4A3C;
  --accent-hover: #243A2E;
  --beige: #E8E2D6;
  --champagne: #7A6540;
  --line: rgba(28, 28, 26, 0.14);
  --line-soft: rgba(28, 28, 26, 0.09);
  --white: #FFFFFF;
  --on-dark: rgba(247, 244, 238, 0.96);
  --on-dark-muted: rgba(247, 244, 238, 0.82);
  --shadow-sm: 0 2px 10px rgba(28, 28, 26, 0.04);
  --shadow-md: 0 8px 24px rgba(28, 28, 26, 0.06);
  --shadow-lg: 0 16px 40px rgba(28, 28, 26, 0.08);
  --radius: 8px;
  --max: 1220px;
  --section-pad: 104px;
  --section-pad-mobile: 64px;
  --pad-x: clamp(20px, 4vw, 32px);
  --nav-h: 72px;
  --measure: 65ch;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Type scale — NN/G + Baymard + WCAG-informed (16px+ body, 50–75ch, lh ~1.5+) */
  --fs-body: 1.0625rem;   /* 17px — editorial body (16–18px sweet spot) */
  --fs-lead: 1.125rem;    /* 18px — supporting / scan copy */
  --fs-small: 0.875rem;   /* 14px — secondary floor */
  --fs-label: 0.8125rem;  /* 13px — uppercase labels + tracking */
  --fs-nav: 0.9375rem;    /* 15px */
  --fs-btn: 1rem;         /* 16px */
  --fs-meta: 0.9375rem;   /* 15px */
  --fs-h-display: clamp(2.5rem, 6.5vw, 4.25rem); /* hero brand */
  --fs-h-section: clamp(1.875rem, 3vw, 2.75rem); /* section titles */
  --fs-h-sub: clamp(1.25rem, 2.2vw, 1.625rem);   /* subheads */
  --lh-body: 1.65;
  --lh-lead: 1.7;
  --lh-heading: 1.15;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%; /* respect browser default; rem scales with user settings */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

fieldset {
  border: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

p {
  color: var(--text-muted);
}

strong {
  font-weight: 600;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-block: var(--section-pad);
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

.section:nth-of-type(even) {
  background: transparent;
}

.section-head {
  margin-bottom: 48px;
  max-width: min(640px, var(--measure));
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-label {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h-section);
  line-height: var(--lh-heading);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  max-width: var(--measure);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: var(--fs-btn);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-dark);
  border: 1.5px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1.5px solid currentColor;
}

.btn-ghost:hover {
  background: rgba(28, 28, 26, 0.05);
}

.btn-wa {
  background: #25D366;
  color: #fff;
  border: 1.5px solid #25D366;
}

.btn-wa:hover {
  background: #1fb855;
  border-color: #1fb855;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   Reveal Animation
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.visible {
  opacity: 1;
  transform: none;
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    color 0.35s var(--ease);
}

.site-header:not(.scrolled) {
  background: transparent;
  color: var(--on-dark);
}

.site-header:not(.scrolled) .brand-text span,
.site-header:not(.scrolled) .nav-links a:not(.btn-primary) {
  color: var(--on-dark-muted);
}

.site-header:not(.scrolled) .nav-links a:not(.btn-primary):hover {
  color: var(--on-dark);
}

.site-header:not(.scrolled) .btn-ghost {
  border-color: rgba(247, 244, 238, 0.45);
  color: var(--on-dark);
}

.site-header:not(.scrolled) .btn-ghost:hover {
  background: rgba(247, 244, 238, 0.1);
}

.site-header:not(.scrolled) .nav-toggle span {
  background: var(--on-dark);
}

.site-header.scrolled {
  background: rgba(247, 244, 238, 0.96);
  color: var(--text);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: saturate(1.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-text span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

.nav-cta {
  margin-left: 8px;
}

.nav-drawer-head {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  color: var(--on-dark);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 28, 26, 0.78) 0%,
    rgba(28, 28, 26, 0.42) 48%,
    rgba(28, 28, 26, 0.28) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-h) + 48px);
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 20px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: var(--fs-h-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  margin-bottom: 16px;
}

.hero-brand em {
  font-style: italic;
  font-weight: 500;
  color: var(--on-dark-muted);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-h-sub);
  font-weight: 500;
  line-height: var(--lh-heading);
  color: var(--on-dark);
  margin-bottom: 16px;
}

.hero-text {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--on-dark-muted);
  max-width: var(--measure);
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-block: 24px;
  margin-bottom: 32px;
  border-top: 1px solid rgba(247, 244, 238, 0.18);
  border-bottom: 1px solid rgba(247, 244, 238, 0.18);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-meta-item span {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.hero-meta-item strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--on-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .btn-ghost {
  border-color: rgba(247, 244, 238, 0.45);
  color: var(--on-dark);
}

.hero-actions .btn-ghost:hover {
  background: rgba(247, 244, 238, 0.1);
}

/* --------------------------------------------------------------------------
   Trust Strip
   -------------------------------------------------------------------------- */

.trust-strip {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
  padding-block: 36px;
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-inline: clamp(16px, 3vw, 32px);
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item strong {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}

.trust-item span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Benefits
   -------------------------------------------------------------------------- */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
}

.benefit {
  background: var(--bg);
  padding: 28px 24px;
}

.benefit-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--champagne);
  margin-bottom: 12px;
  line-height: 1;
}

.benefit h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.benefit p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Policy Cards */

.policy-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.policy-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
}

.policy-card--faith {
  border-left: 3px solid var(--accent);
}

.policy-card--warn {
  border-left: 3px solid var(--champagne);
  background: var(--bg-alt);
}

.policy-tag {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 12px;
}

.policy-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.policy-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.policy-example {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--beige);
  border-radius: var(--radius);
}

.policy-example strong {
  display: block;
  font-size: 0.8125rem;
  margin-bottom: 8px;
}

.policy-example p {
  font-size: 0.875rem;
}

.policy-ayat {
  padding: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.policy-ayat h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}

.policy-ayat > p {
  margin-bottom: 28px;
}

.ayat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.ayat-grid blockquote {
  padding: 20px 24px;
  background: var(--bg);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.ayat-grid blockquote p {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 8px;
}

.ayat-grid cite {
  font-size: var(--fs-small);
  font-style: normal;
  font-weight: 600;
  color: var(--champagne);
}

.policy-ayat-note {
  font-size: 0.9375rem;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--line);
}

.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.meta-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  margin-top: 32px;
}

.meta-item dt {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 6px;
}

.meta-item dd {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Location
   -------------------------------------------------------------------------- */

.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--line);
}

.location-map img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.location-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.point {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.point:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.point h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.point p {
  font-size: 0.9375rem;
}

.doc-wide,
.siteplan {
  margin-bottom: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.doc-wide img,
.siteplan img {
  width: 100%;
}

.siteplan-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: var(--beige);
}

.siteplan-caption span {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--champagne);
}

.siteplan-caption strong {
  font-family: var(--font-display);
  font-size: 1.0625rem;
}

.location-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.location-extra figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.location-extra figcaption {
  padding: 12px 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--beige);
}

.map-embed {
  margin-top: 16px;
}

.map-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: none;
}

.map-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-fallback span {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background: var(--accent);
  color: var(--on-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius);
}

.map-note {
  margin-top: 12px;
  font-size: 0.8125rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Products
   -------------------------------------------------------------------------- */

.featured-unit {
  margin-bottom: 48px;
  padding: 36px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.featured-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.featured-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.featured-copy h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.featured-copy .price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.featured-copy > p {
  margin-bottom: 24px;
}

.unit-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.product-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.product-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex-shrink: 0;
  padding: 14px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.product-panel {
  display: none;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-panel.active {
  display: grid;
}

.product-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}

.product-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.product-visual:hover img,
.featured-media:hover img {
  transform: scale(1.03);
}

.product-info .type {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-info .price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.product-info .stock {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--line);
}

.spec-list li:last-child {
  border-bottom: none;
}

.spec-list li span:first-child {
  color: var(--text-muted);
}

.spec-list li span:last-child {
  font-weight: 600;
  color: var(--text);
}

.price-note {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--beige);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.materi-block {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.materi-title {
  font-size: 1.375rem;
  margin-bottom: 8px;
}

.materi-lead {
  margin-bottom: 28px;
}

.materi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.materi-grid figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
}

.materi-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.materi-grid figcaption {
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.materi-grid--docs {
  grid-template-columns: repeat(4, 1fr);
}

.doc-span-2 {
  grid-column: span 2;
}

/* --------------------------------------------------------------------------
   Facilities
   -------------------------------------------------------------------------- */

.facility-showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.facility-main,
.facility-side figure,
.facility-wide {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.facility-main img,
.facility-side img,
.facility-wide img {
  width: 100%;
  object-fit: cover;
}

.facility-main img {
  height: 100%;
  min-height: 360px;
}

.facility-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.facility-side img {
  aspect-ratio: 16 / 10;
}

.facility-wide img {
  aspect-ratio: 21 / 9;
}

.facility-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(transparent, rgba(28, 28, 26, 0.75));
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

.facility-caption small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--on-dark-muted);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Support
   -------------------------------------------------------------------------- */

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.support-grid figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.support-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Videos
   -------------------------------------------------------------------------- */

.video-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
  align-items: stretch;
}

.video-grid > .video-facade--main,
.video-grid > .video-embed--main {
  width: 100%;
  height: 100%;
  min-height: 280px;
}

.video-main,
.video-card,
.local-video {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}

.video-label {
  display: block;
  padding: 12px 16px;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--beige);
}

.video-label--project {
  color: var(--champagne);
}

.video-main iframe,
.video-card iframe,
.local-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.video-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-local-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.local-video--wide {
  grid-column: span 2;
}

/* --------------------------------------------------------------------------
   CTA & Form
   -------------------------------------------------------------------------- */

.cta {
  background: var(--bg-alt);
}

.cta-lead {
  max-width: 600px;
  margin-bottom: 40px;
}

.lead-form {
  max-width: 880px;
}

.form-section {
  margin-bottom: 32px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-section legend {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  padding: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 16px;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.9375rem;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.req {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  margin-left: 2px;
}

.optional-tag {
  font-style: normal;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.875em;
}

.form-field textarea {
  resize: vertical;
  min-height: 80px;
}

.is-hidden {
  display: none !important;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.choice-grid--radio {
  grid-template-columns: 1fr;
}

.choice-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.875rem;
}

.choice-card:has(input:checked) {
  border-color: var(--accent);
  background: rgba(47, 74, 60, 0.06);
}

.choice-card input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-note {
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.agree-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  cursor: pointer;
  margin-bottom: 20px;
}

.agree-row input {
  accent-color: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.office-box {
  padding: 20px;
  background: var(--beige);
  border-radius: var(--radius);
}

.office-box strong {
  display: block;
  margin-bottom: 6px;
}

.office-box p {
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.form-footnote {
  margin-top: 12px;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.cta-actions {
  margin-top: 24px;
}

.cta-team {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cta-team img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--text);
  color: var(--on-dark-muted);
  padding-block: 64px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: var(--radius);
}

.footer-brand h3 {
  font-size: 1.25rem;
  color: var(--on-dark);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--on-dark-muted);
  line-height: 1.65;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-col p,
.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--on-dark-muted);
}

.footer-col a {
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--on-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid rgba(247, 244, 238, 0.12);
  font-size: 0.875rem;
  color: var(--on-dark-muted);
}

/* --------------------------------------------------------------------------
   Float WhatsApp
   -------------------------------------------------------------------------- */

.float-wa {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.float-wa:hover {
  transform: scale(1.06);
  box-shadow: var(--shadow-lg);
}

.float-wa svg {
  width: 28px;
  height: 28px;
}

/* --------------------------------------------------------------------------
   Mobile CTA Bar
   -------------------------------------------------------------------------- */

.mobile-cta {
  position: fixed;
  bottom: 64px;
  left: 0;
  right: 0;
  z-index: 850;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--pad-x);
  background: var(--bg);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(28, 28, 26, 0.06);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
}

.mobile-cta.show {
  transform: translateY(0);
}

.mobile-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-cta-copy strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent);
}

.mobile-cta-copy span {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.mobile-cta .btn-wa {
  padding: 10px 20px;
  font-size: var(--fs-nav);
}

/* --------------------------------------------------------------------------
   Bottom Navigation
   -------------------------------------------------------------------------- */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 860;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 64px;
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: #2A2A28;
  border-top: 1px solid rgba(247, 244, 238, 0.08);
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.5);
  transition: color 0.2s;
}

.bottom-nav a.is-active {
  color: var(--champagne);
}

.bottom-nav svg {
  width: 22px;
  height: 22px;
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 26, 0.92);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--on-dark);
  background: rgba(247, 244, 238, 0.1);
  border-radius: var(--radius);
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(247, 244, 238, 0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--on-dark);
  background: rgba(247, 244, 238, 0.1);
  border-radius: var(--radius);
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(247, 244, 238, 0.2);
}

.lightbox-prev {
  left: -56px;
}

.lightbox-next {
  right: -56px;
}

.lightbox-stage {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  overflow: hidden;
}

.lightbox-image {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
}

.lightbox-video {
  width: 100%;
  max-height: 75vh;
  background: #000;
}

.lightbox:not(.is-image) .lightbox-image {
  display: none;
}

.lightbox:not(.is-video) .lightbox-video {
  display: none;
}

.lightbox-caption {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--on-dark-muted);
  text-align: center;
}

.lightbox-counter {
  margin-top: 8px;
  font-size: var(--fs-small);
  color: rgba(247, 244, 238, 0.45);
}

/* --------------------------------------------------------------------------
   Media Zoom
   -------------------------------------------------------------------------- */

.media-zoom {
  cursor: zoom-in;
}

.media-zoom-wrap {
  position: relative;
  overflow: hidden;
}

.media-zoom-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 26, 0);
  transition: background 0.25s;
  pointer-events: none;
}

.media-zoom-wrap:hover::after,
.media-zoom-wrap:focus-within::after {
  background: rgba(28, 28, 26, 0.08);
}

.local-video.media-zoom-wrap::after,
.hero-media.media-zoom-wrap::after {
  display: none;
}

.media-expand-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  padding: 8px 14px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--on-dark);
  background: rgba(28, 28, 26, 0.65);
  border-radius: var(--radius);
  transition: background 0.2s;
}

.media-expand-btn:hover {
  background: rgba(28, 28, 26, 0.85);
}

.media-zoom-wrap img {
  transition: transform 0.4s var(--ease);
}

.media-zoom-wrap:hover img {
  transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   Visibility Utilities
   -------------------------------------------------------------------------- */

.mobile-only {
  display: none !important;
}

.float-wa.desktop-only {
  display: flex !important;
}

/* --------------------------------------------------------------------------
   Responsive — 720px breakpoint
   -------------------------------------------------------------------------- */

@media (max-width: 720px) {
  :root {
    --nav-h: 64px;
  }

  .section {
    padding-block: var(--section-pad-mobile);
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-cta.mobile-only {
    display: flex !important;
  }

  .bottom-nav.mobile-only {
    display: flex !important;
  }

  .bottom-nav {
    display: flex;
  }

  /* Header mobile drawer */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    padding-top: calc(var(--nav-h) + 16px);
    background: var(--bg);
    color: var(--text);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a:not(.btn) {
    padding: 14px 0;
    font-size: 1rem;
    color: var(--text);
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-drawer-head {
    display: block;
    padding-bottom: 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }

  .nav-drawer-head p {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
  }

  .nav-drawer-head span {
    font-size: 0.8125rem;
    color: var(--text-muted);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 20px;
    text-align: center;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(28, 28, 26, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
  }

  .nav-backdrop.show {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-backdrop[hidden] {
    display: block !important;
    opacity: 0;
    pointer-events: none;
  }

  /* Hero mobile */
  .hero {
    min-height: 88vh;
    padding-bottom: 48px;
  }

  .hero-meta {
    gap: 20px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* Trust strip mobile */
  .trust-strip-inner {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    padding-block: 16px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .trust-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  /* Benefits mobile */
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .policy-cards {
    grid-template-columns: 1fr;
  }

  .ayat-grid {
    grid-template-columns: 1fr;
  }

  /* About mobile */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .meta-list {
    grid-template-columns: 1fr;
  }

  /* Location mobile */
  .location-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .location-extra {
    grid-template-columns: 1fr;
  }

  /* Products mobile */
  .featured-unit {
    padding: 24px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-panel.active {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .materi-grid,
  .materi-grid--docs {
    grid-template-columns: 1fr 1fr;
  }

  .doc-span-2 {
    grid-column: span 2;
  }

  /* Facilities mobile */
  .facility-showcase {
    grid-template-columns: 1fr;
  }

  .facility-main img {
    min-height: 240px;
  }

  /* Support mobile */
  .support-grid {
    grid-template-columns: 1fr;
  }

  /* Videos mobile */
  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-local-grid {
    grid-template-columns: 1fr;
  }

  .local-video--wide {
    grid-column: span 1;
  }

  /* Form mobile */
  .form-grid {
    grid-template-columns: 1fr;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Lightbox mobile */
  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 80px;
    transform: none;
  }

  /* Body padding for mobile CTA + bottom nav */
  body {
    padding-bottom: calc(64px + 72px + env(safe-area-inset-bottom, 0));
  }
}

@media (min-width: 721px) {
  .bottom-nav {
    display: none;
  }

  .mobile-cta {
    display: none !important;
  }
}

/* Tablet adjustments */
@media (max-width: 960px) and (min-width: 721px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: none;
  }

  .trust-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .featured-grid,
  .product-panel.active {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 40px;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-local-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .local-video--wide {
    grid-column: span 2;
  }

  .materi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .materi-grid--docs {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal.visible {
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Polish pass — layout rhythm, editorial sections, video facade, final CTA
   ========================================================================== */

.section--project,
.section--legal,
.location,
.dokumentasi,
.videos {
  background: var(--white);
}

.products,
.support,
.cta {
  background: var(--bg-alt);
}

.section--beige,
.facilities {
  background: var(--beige);
}

.featured-unit--accent {
  background: var(--accent);
  border-color: transparent;
  color: var(--on-dark);
}

.featured-unit--accent .section-label,
.featured-unit--accent .price {
  color: var(--champagne);
}

.featured-unit--accent p,
.featured-unit--accent .spec-list span:first-child {
  color: var(--on-dark-muted);
}

.featured-unit--accent h3,
.featured-unit--accent .spec-list span:last-child {
  color: var(--on-dark);
}

.featured-unit--accent .btn-primary {
  background: var(--bg);
  color: var(--accent);
  border-color: var(--bg);
}

.featured-unit--accent .btn-primary:hover {
  background: var(--white);
}

.featured-unit--accent .btn-ghost {
  border-color: rgba(247, 244, 238, 0.45);
  color: var(--on-dark);
}

.featured-unit--accent .btn-ghost:hover {
  background: rgba(247, 244, 238, 0.1);
}

.featured-unit--accent .spec-list li {
  border-color: rgba(247, 244, 238, 0.16);
}

.location-grid--editorial {
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 72px;
}

.location-copy .section-title {
  margin-bottom: 12px;
}

.access-list {
  display: grid;
  gap: 0;
  margin: 28px 0 28px;
}

.access-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.access-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.access-list strong {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
}

.access-list span {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.masterplan {
  padding-top: 24px;
}

.masterplan-head {
  max-width: 560px;
  margin-bottom: 28px;
}

.masterplan-head h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 8px 0 10px;
}

.masterplan-head p {
  font-size: 0.9375rem;
}

.siteplan--premium {
  margin: 0;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

.siteplan--premium img {
  width: 100%;
  object-fit: contain;
  background: var(--white);
}

.facilities-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.facility-list {
  margin-top: 28px;
  display: grid;
  gap: 0;
}

.facility-list li {
  padding: 18px 0;
  border-top: 1px solid rgba(28, 28, 26, 0.12);
}

.facility-list li:last-child {
  border-bottom: 1px solid rgba(28, 28, 26, 0.12);
}

.facility-list h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.facility-list p {
  font-size: 0.9375rem;
  margin: 0;
}

.facility-showcase--compact {
  margin: 0;
}

.benefits-grid--primary {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 28px;
}

.benefits-grid--more {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 28px;
}

.more-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 0;
}

.more-panel > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.more-panel > summary::-webkit-details-marker {
  display: none;
}

.more-panel > summary::after {
  content: "+";
  font-size: 1.25rem;
  line-height: 1;
}

.more-panel[open] > summary::after {
  content: "–";
}

.more-panel-body {
  padding: 8px 22px 28px;
  border-top: 1px solid var(--line);
}

.about-visual--doc img {
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}

.support-grid figcaption {
  padding: 12px 4px 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.docs-grid figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.docs-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.docs-grid figcaption {
  padding: 12px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  border-top: 1px solid var(--line);
}

.video-facade,
.video-embed,
.video-embed--main {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1c1c1a;
  border: 0;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.video-facade:hover img {
  transform: scale(1.03);
}

.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(247, 244, 238, 0.92);
  box-shadow: var(--shadow-md);
}

.video-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--accent);
}

.video-facade-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  background: rgba(28, 28, 26, 0.72);
  color: var(--on-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 6px;
}

.video-local-grid--compact {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.video-more-note {
  margin-top: 24px;
  text-align: center;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-intro {
  max-width: 640px;
  margin-bottom: 36px;
}

.form-field span em {
  font-style: normal;
  font-weight: 400;
  color: var(--text-muted);
}

.form-extra {
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.form-extra > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--accent);
}

.form-extra > summary::-webkit-details-marker {
  display: none;
}

.form-extra-body {
  padding: 0 20px 20px;
  border-top: 1px solid var(--line);
}

.final-cta {
  background: var(--accent);
  color: var(--on-dark);
  text-align: center;
}

.final-cta .section-title {
  color: var(--on-dark);
  max-width: 720px;
  margin-inline: auto;
}

.final-cta p {
  color: var(--on-dark-muted);
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 1.0625rem;
}

.final-cta-inner .unit-cta-row {
  justify-content: center;
}

.final-cta .btn-primary {
  background: var(--bg);
  color: var(--accent);
  border-color: var(--bg);
}

.final-cta .btn-ghost {
  border-color: rgba(247, 244, 238, 0.45);
  color: var(--on-dark);
}

.final-cta .btn-ghost:hover {
  background: rgba(247, 244, 238, 0.1);
}

.nav-links a {
  font-size: var(--fs-nav);
}

.section-lead,
.hero-text,
.point p {
  font-size: var(--fs-lead);
}

@media (max-width: 960px) {
  .facilities-layout,
  .location-grid--editorial {
    grid-template-columns: 1fr;
  }

  .benefits-grid--primary,
  .benefits-grid--more,
  .docs-grid,
  .video-local-grid--compact {
    grid-template-columns: 1fr 1fr;
  }

  .access-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 720px) {
  .benefits-grid--primary,
  .benefits-grid--more,
  .docs-grid,
  .video-local-grid--compact {
    grid-template-columns: 1fr;
  }

  .featured-unit--accent,
  .featured-unit {
    padding: 24px;
  }

  .siteplan--premium {
    padding: 12px;
  }

  .video-side {
    display: grid;
    gap: 16px;
  }
}


/* ==========================================================================
   Final polish pass — readability, image presentation, responsive
   ========================================================================== */

.btn-sm {
  padding: 11px 18px;
  font-size: 0.875rem;
}

.tab-btn {
  font-size: 0.9375rem;
}

.policy-tag {
  font-size: var(--fs-small);
}

.benefit h3 {
  font-size: 1.2rem;
}

.benefit p {
  font-size: 0.9375rem;
}

.featured-media {
  box-shadow: none;
  border: 1px solid rgba(247, 244, 238, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}

.featured-unit {
  padding: 36px;
}

.featured-unit--accent .featured-copy h3 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 6px;
}

.featured-unit--accent .price {
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  margin-bottom: 14px;
}

.featured-unit--accent .featured-copy > p {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.featured-grid {
  gap: clamp(28px, 4vw, 48px);
}

.product-visual img,
.featured-media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.location-map--framed {
  background: var(--bg-alt);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-map--framed img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  aspect-ratio: auto;
}

.masterplan-hint {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.siteplan--premium {
  cursor: zoom-in;
}

.siteplan--premium img {
  transition: opacity 0.3s var(--ease);
}

.siteplan--premium:hover img {
  opacity: 0.96;
}

.facility-main img {
  min-height: 400px;
  aspect-ratio: 4 / 3;
}

.facility-caption {
  font-size: 1rem;
}

.facility-caption small {
  font-size: 0.875rem;
}

.facility-list h3 {
  font-size: 1.25rem;
}

.facility-list p {
  font-size: 1rem;
}

.support-grid--elegant {
  max-width: 920px;
  margin-inline: auto;
  gap: 24px;
}

.support-grid--elegant figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: none;
}

.support-grid--elegant img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--bg-alt);
  padding: 12px;
}

.support-grid--elegant figcaption {
  padding: 14px 16px;
  font-size: 0.875rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
}

.docs-grid {
  gap: 18px;
}

.docs-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: none;
}

.docs-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-alt);
}

.docs-item--doc img {
  object-fit: contain;
  padding: 10px;
}

.docs-item figcaption {
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  border-top: 1px solid var(--line);
}

.video-more {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.video-more > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
}

.video-more > summary::-webkit-details-marker {
  display: none;
}

.video-more[open] > summary {
  border-bottom: 1px solid var(--line);
}

.video-more .video-local-grid {
  padding: 20px;
  margin: 0;
}

.video-label {
  font-size: 0.8125rem;
}

.video-facade-label {
  font-size: 0.875rem;
}

.lead-form--compact .form-section {
  padding: 28px 30px;
}

.agree-row {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.form-footnote {
  font-size: 0.8125rem;
}

.form-actions .btn {
  min-height: 50px;
}

.float-wa {
  width: 52px;
  height: 52px;
  right: 24px;
  bottom: 24px;
}

.nav-links a {
  font-size: var(--fs-nav);
}

.section-lead,
.hero-text,
.point p,
.access-list span {
  font-size: var(--fs-lead);
}

.about-visual--doc img {
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  padding: 12px;
}

@media (max-width: 720px) {
  body {
    font-size: 1rem; /* 16px floor — never below research minimum on mobile */
  }

  .section-label {
    font-size: var(--fs-label);
  }

  .btn {
    font-size: var(--fs-btn);
    padding: 14px 22px;
  }

  .hero-content {
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: 40px;
  }

  .hero-text {
    font-size: var(--fs-body);
    margin-bottom: 22px;
  }

  .hero-meta {
    gap: 18px;
  }

  .hero-meta-item strong {
    font-size: 1.15rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .docs-grid {
    grid-template-columns: 1fr 1fr;
  }

  .docs-item figcaption {
    font-size: 0.8125rem;
  }

  .support-grid--elegant {
    grid-template-columns: 1fr;
  }

  .facility-main img {
    min-height: 240px;
  }

  .float-wa.desktop-only {
    display: none !important;
  }

  .nav-links a:not(.btn) {
    font-size: 1rem;
  }
}

@media (max-width: 430px) {
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .featured-unit,
  .featured-unit--accent {
    padding: 20px;
  }

  .location-map--framed {
    padding: 10px;
  }
}

/* ==========================================================================
   Evidence-based refinements (approved) — WCAG contrast, measure, mobile WA
   ========================================================================== */

.hero-text,
.cta-lead,
.location-copy .section-lead,
.facilities-copy .section-lead {
  max-width: var(--measure);
}

.btn:focus-visible,
.tab-btn:focus-visible,
.nav-links a:focus-visible,
.video-facade:focus-visible,
.choice-card:focus-within,
.agree-row input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-header:not(.scrolled) .btn-primary.nav-cta {
  background: var(--bg);
  color: var(--accent);
  border-color: var(--bg);
}

.site-header:not(.scrolled) .btn-primary.nav-cta:hover {
  background: var(--white);
}

.form-extra > summary .optional-tag {
  margin-left: 6px;
}

.docs-item--doc img,
.about-visual--doc img,
.support-grid--elegant img,
.location-map--framed img,
.siteplan--premium img {
  object-fit: contain;
}

@media (max-width: 720px) {
  :root {
    --nav-h: 60px;
  }

  .site-header {
    height: var(--nav-h);
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .mobile-cta {
    bottom: calc(64px + env(safe-area-inset-bottom, 0));
    min-height: 56px;
    z-index: 870;
  }

  .mobile-cta .btn-wa {
    min-height: 44px;
    min-width: 44px;
    font-size: 0.875rem;
    padding: 10px 16px;
  }

  .mobile-cta-copy span {
    font-size: var(--fs-small);
  }

  .bottom-nav a {
    font-size: var(--fs-label);
    min-height: 44px;
  }

  .float-wa,
  .float-wa.desktop-only {
    display: none !important;
  }

  body {
    padding-bottom: calc(64px + 64px + env(safe-area-inset-bottom, 0));
  }

  .hero-brand {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }
}

