/* V1 Nocturne: dark luxury, emas di atas maroon-hitam.
   Radius: elemen interaktif pill; container double-bezel 32 px (luar) / 26 px (dalam); input 16 px. */

:root {
  color-scheme: dark;
  --bg: #160606;
  --bg-deep: #100404;
  --surface: #1f0a0a;
  --surface-2: #2a0e0e;
  --text: #f2ede6;
  --text-muted: rgb(242 237 230 / 0.7);
  --accent: var(--anv-gold);
  --accent-ink: #160606;
  --danger: #ffa494;
  --line: rgb(242 237 230 / 0.1);
  --hairline: rgb(242 237 230 / 0.08);
  --input-border: rgb(242 237 230 / 0.45);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-shell: 32px;
  --radius-core: 26px;
  --radius-input: 16px;
  --container: 1280px;
  --gutter: 16px;
  --section-y: 88px;
  --nav-h: 64px;
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --section-y: 120px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 48px;
    --section-y: 136px;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  /* Cormorant default-nya angka old-style: "1" terbaca seperti "I". */
  font-variant-numeric: lining-nums;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  background: url("../assets/brand/grain.png") repeat;
  opacity: 0.32;
}

::selection {
  background: rgb(223 166 42 / 0.35);
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Tipografi bersama */
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-lede {
  margin-top: 16px;
  max-width: 52ch;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 6px 12px;
  border: 1px solid rgb(223 166 42 / 0.4);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Double-bezel: cangkang luar + inti dengan radius konsentris */
.bezel {
  padding: 6px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-shell);
  background: rgb(242 237 230 / 0.035);
  box-shadow: 0 40px 80px -48px rgb(6 1 1 / 0.9);
}

.bezel__core {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-core);
  background: var(--surface);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.07);
}

.bezel__core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tombol pill dengan ikon bersarang (button-in-button) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 6px 6px 6px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 0.9375rem/1.2 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 500ms var(--ease-fluid),
    background-color 500ms var(--ease-fluid),
    border-color 500ms var(--ease-fluid);
}

.btn:active {
  transform: scale(0.98);
}

.btn__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 1.125rem;
  transition: transform 500ms var(--ease-fluid);
}

.btn:hover .btn__icon,
.btn:focus-visible .btn__icon {
  transform: translate(3px, -1px) scale(1.05);
}

.btn--gold {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--gold:hover {
  background: #e8b443;
}

.btn--gold .btn__icon {
  background: rgb(22 6 6 / 0.12);
}

.btn--ghost {
  border-color: rgb(223 166 42 / 0.6);
  background: rgb(242 237 230 / 0.04);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--accent);
  background: rgb(223 166 42 / 0.08);
}

.btn--ghost .btn__icon {
  background: rgb(223 166 42 / 0.14);
  color: var(--accent);
}

.btn--sm {
  min-height: 46px;
  padding-left: 20px;
  font-size: 0.875rem;
}

.btn--sm .btn__icon {
  width: 34px;
  height: 34px;
}

.btn--block {
  width: 100%;
}

.icon-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(242 237 230 / 0.04);
  color: var(--text);
  font-size: 1.25rem;
  transition:
    transform 500ms var(--ease-fluid),
    background-color 500ms var(--ease-fluid),
    opacity 500ms var(--ease-fluid);
}

.icon-btn:hover:not(:disabled) {
  background: rgb(223 166 42 / 0.12);
}

.icon-btn:active:not(:disabled) {
  transform: scale(0.96);
}

.icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Navigasi pill mengambang */
.nav-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 80px;
  pointer-events: none;
}

.nav {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  display: flex;
  justify-content: center;
  padding-inline: 12px;
  pointer-events: none;
}

.nav__pill {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 1180px;
  height: var(--nav-h);
  padding: 8px 8px 8px 20px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgb(22 6 6 / 0.55);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.06),
    0 24px 48px -28px rgb(6 1 1 / 0.9);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  pointer-events: auto;
  transition: background-color 600ms var(--ease-fluid);
}

.nav.is-scrolled .nav__pill {
  background: rgb(22 6 6 / 0.84);
}

.nav__brand {
  display: block;
  flex: none;
}

.nav__brand img {
  width: auto;
  height: 38px;
}

.nav__menu,
.nav__cta {
  display: none;
}

.nav__toggle {
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgb(242 237 230 / 0.05);
}

.nav__toggle-line {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 500ms var(--ease-fluid);
}

.nav__toggle-line:nth-child(1) {
  top: 19px;
}

.nav__toggle-line:nth-child(2) {
  top: 27px;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

@media (prefers-reduced-transparency: reduce) {
  .nav__pill,
  .nav.is-scrolled .nav__pill {
    background: rgb(22 6 6 / 0.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (min-width: 1024px) {
  .nav {
    top: 20px;
  }

  .nav__pill {
    gap: 28px;
    width: max-content;
    padding-left: 24px;
  }

  .nav__menu {
    display: block;
  }

  .nav__links {
    display: flex;
    gap: 2px;
  }

  .nav__links a {
    display: block;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition:
      color 400ms var(--ease-fluid),
      background-color 400ms var(--ease-fluid);
  }

  .nav__links a:hover {
    background: rgb(242 237 230 / 0.06);
    color: var(--text);
  }

  .nav__cta {
    display: inline-flex;
  }

  .nav__toggle {
    display: none;
  }
}

/* Overlay menu seluler */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
  padding: 120px var(--gutter) calc(48px + env(safe-area-inset-bottom));
  background: rgb(16 4 4 / 0.9);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 500ms var(--ease-fluid),
    visibility 0s 500ms;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 500ms var(--ease-fluid),
    visibility 0s;
}

.menu__links {
  display: grid;
  gap: 6px;
}

.menu__links li,
.menu__foot {
  opacity: 0;
  transform: translateY(48px);
  transition:
    transform 700ms var(--ease-fluid),
    opacity 700ms var(--ease-fluid);
  transition-delay: calc(var(--i) * 60ms + 80ms);
}

.menu.is-open .menu__links li,
.menu.is-open .menu__foot {
  opacity: 1;
  transform: none;
}

.menu__links a {
  display: inline-block;
  padding-block: 6px;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
}

@media (prefers-reduced-transparency: reduce) {
  .menu {
    background: rgb(16 4 4 / 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (min-width: 1024px) {
  .menu {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: calc(var(--nav-h) + 52px);
  padding-bottom: 24px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 45% at 74% 48%, rgb(223 166 42 / 0.13), transparent 70%),
    radial-gradient(45% 50% at 8% 18%, rgb(75 0 0 / 0.6), transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 40% 0 0;
  z-index: -1;
  background: url("../assets/brand/batik-tile-gold.webp") repeat;
  background-size: 150px;
  opacity: 0.05;
  -webkit-mask-image: radial-gradient(70% 60% at 22% 42%, #000 20%, transparent 78%);
  mask-image: radial-gradient(70% 60% at 22% 42%, #000 20%, transparent 78%);
}

.hero__inner {
  position: relative;
  z-index: var(--z-raised);
}

.hero__copy {
  max-width: 600px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 10.5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__lede {
  margin-top: 20px;
  max-width: 38ch;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__media {
  position: relative;
  aspect-ratio: 16 / 10;
  margin-top: 36px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 84%, transparent 100%);
}

.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
}

@media (min-width: 1024px) {
  .hero {
    display: flex;
    align-items: center;
    min-height: max(600px, 82dvh);
    padding-top: 96px;
    padding-bottom: 40px;
  }

  .hero__inner {
    width: 100%;
  }

  .hero__copy {
    max-width: min(560px, 44vw);
  }

  .hero__title {
    font-size: clamp(3.5rem, 5.4vw, 4.75rem);
  }

  .hero__media {
    position: absolute;
    top: 50%;
    right: 0;
    width: 64vw;
    margin: 0;
    transform: translateY(-44%);
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 34%),
      linear-gradient(to bottom, transparent 0%, #000 16%, #000 80%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0%, #000 34%),
      linear-gradient(to bottom, transparent 0%, #000 16%, #000 80%, transparent 100%);
    mask-composite: intersect;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.js .hero__title,
  html.js .hero__lede,
  html.js .hero__actions {
    animation: rise 1100ms var(--ease-fluid) both;
    animation-delay: calc(var(--d, 0) * 120ms + 120ms);
  }

  html.js .hero__img {
    animation: settle 1600ms var(--ease-fluid) both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Hanya transform: gambar hero adalah elemen LCP, jadi tidak boleh mulai transparan. */
@keyframes settle {
  from {
    transform: scale(1.06);
  }

  to {
    transform: none;
  }
}

/* Ringkasan fakta */
.facts {
  padding-block: 8px 8px;
}

.facts__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.fact {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
}

.fact dt {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.fact dd {
  font-family: var(--font-display);
  font-size: 2.125rem;
  font-weight: 500;
  line-height: 1;
}

.fact--lead {
  grid-column: 1 / -1;
}

.fact--lead dd {
  color: var(--accent);
  font-size: 3.25rem;
}

.fact__dev {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fact .fact__dev {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.fact__dev img {
  width: 34px;
  height: 34px;
}

@media (min-width: 768px) {
  .facts__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .fact--lead {
    grid-column: span 4;
  }
}

@media (min-width: 1024px) {
  .facts__list {
    grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .fact {
    padding-inline: 28px;
    border-left: 1px solid var(--line);
  }

  .fact:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .fact--lead {
    grid-column: auto;
  }

  .fact dd {
    font-size: 2.375rem;
  }

  .fact--lead dd {
    font-size: 3.5rem;
  }

}

/* Tipe unit: tab showcase */
.types {
  padding-block: var(--section-y);
}

.tablist {
  display: flex;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 40px;
  padding: 6px;
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgb(242 237 230 / 0.04);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.tablist::-webkit-scrollbar {
  display: none;
}

@media (max-width: 767px) {
  .tablist {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    overflow: visible;
    border-radius: var(--radius-core);
  }

  .tab {
    padding-inline: 8px;
  }
}

.tab {
  flex: none;
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  scroll-snap-align: start;
  transition:
    background-color 400ms var(--ease-fluid),
    color 400ms var(--ease-fluid);
}

.tab:hover:not([aria-selected="true"]) {
  background: rgb(242 237 230 / 0.06);
  color: var(--text);
}

.tab[aria-selected="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.type-panel {
  display: grid;
  gap: 32px;
  border-radius: var(--radius-shell);
}

.type-panel:not([hidden]) {
  animation: panel-in 700ms var(--ease-fluid);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.type-panel__media .bezel__core {
  aspect-ratio: 16 / 9;
}

.type-panel__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
}

.type-panel__floors {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
}

.type-panel__summary {
  max-width: 44ch;
  margin-top: 16px;
  color: var(--text-muted);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
  margin-top: 32px;
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec dt {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.spec dt i {
  color: var(--accent);
  font-size: 1.125rem;
}

.spec dd {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.1;
}

.type-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.plan-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 6px 22px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(242 237 230 / 0.04);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    transform 500ms var(--ease-fluid),
    background-color 500ms var(--ease-fluid);
}

.plan-button:hover {
  background: rgb(242 237 230 / 0.08);
}

.plan-button:active {
  transform: scale(0.98);
}

.plan-button__thumbs {
  display: flex;
}

.plan-button__thumbs img {
  width: 30px;
  height: 40px;
  margin-left: -10px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: var(--anv-paper);
  object-fit: cover;
  transition: transform 500ms var(--ease-fluid);
}

.plan-button__thumbs img:first-child {
  margin-left: 0;
}

.plan-button:hover .plan-button__thumbs img {
  transform: translateY(-2px);
}

@media (min-width: 1024px) {
  .type-panel {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
  }
}

/* Fasilitas: bento asimetris */
.facilities {
  padding-block: var(--section-y);
}

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}

.bento__core {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bento__media {
  flex: 1;
  min-height: 200px;
  aspect-ratio: 16 / 10;
}

.bento__text {
  padding: 22px 24px 24px;
}

.bento__text h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.bento__text p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.bento__core--icon {
  justify-content: space-between;
  gap: 32px;
  padding-top: 24px;
  background: var(--surface-2);
}

.bento__icon {
  margin-left: 24px;
  color: var(--accent);
  font-size: 2.5rem;
}

.bento__core--batik {
  background-color: var(--anv-maroon);
  background-image: url("../assets/brand/batik-tile-gold.webp");
  background-size: 120px;
  background-blend-mode: normal;
}

.bento__core--batik::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(75 0 0 / 0.86), rgb(75 0 0 / 0.95));
}

.bento__core--batik > * {
  position: relative;
}

.bento__core--glow {
  background:
    radial-gradient(80% 90% at 100% 0%, rgb(223 166 42 / 0.16), transparent 60%),
    var(--surface);
}

@media (min-width: 768px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento__cell--club,
  .bento__cell--gate {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: 320px 300px 230px;
    grid-template-areas:
      "club club gate gate"
      "club club road cctv"
      "power power door door";
  }

  .bento__cell--club {
    grid-area: club;
  }

  .bento__cell--gate {
    grid-area: gate;
  }

  .bento__cell--road {
    grid-area: road;
  }

  .bento__cell--cctv {
    grid-area: cctv;
  }

  .bento__cell--power {
    grid-area: power;
  }

  .bento__cell--door {
    grid-area: door;
  }

  .bento__media {
    aspect-ratio: auto;
    min-height: 0;
  }

  .bento__cell--club .bento__text {
    padding: 26px 30px 30px;
  }

  .bento__cell--club .bento__text h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
  }
}

/* Lokasi: peta + ledger yang menumpuk */
.location {
  padding-block: var(--section-y);
}

.location__title {
  max-width: 24ch;
}

.location__stage {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}

.location__map .bezel__core {
  background: #c9cbca;
}

.location__map img {
  height: auto;
}

.ledger {
  padding: 28px 24px;
}

.ledger__place {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.ledger__place i {
  color: var(--accent);
  font-size: 1.25rem;
}

.ledger__list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.ledger__list li {
  display: grid;
  grid-template-columns: 2.6rem auto 1fr;
  align-items: baseline;
  gap: 10px;
}

.ledger__min {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 500;
  line-height: 0.9;
}

.ledger__unit {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.ledger__name {
  font-size: 1.125rem;
  font-weight: 600;
}

.ledger__note {
  margin-block: 24px 24px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .ledger {
    padding: 40px;
  }
}

@media (min-width: 1024px) {
  .location__stage {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: 0;
  }

  .location__map {
    grid-row: 1;
    grid-column: 1 / span 5;
  }

  .location__ledger {
    z-index: var(--z-raised);
    grid-row: 1;
    grid-column: 5 / span 7;
    margin-top: 140px;
    box-shadow: 0 60px 120px -40px rgb(6 1 1 / 0.95);
  }

  .ledger {
    padding: 48px 56px;
    background:
      radial-gradient(70% 80% at 100% 0%, rgb(223 166 42 / 0.1), transparent 60%),
      var(--surface);
  }

  .ledger__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
  }
}

/* Spesifikasi: tile unggulan + disclosure */
.specs {
  padding-block: var(--section-y);
}

.spec-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.spec-tile .bezel__core {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  height: 100%;
  padding: 28px;
}

.spec-tile i {
  color: var(--accent);
  font-size: 2rem;
}

.spec-tile__label {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.spec-tile__value {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.1;
}

.spec-tile--door .bezel__core {
  background:
    radial-gradient(90% 80% at 0% 100%, rgb(223 166 42 / 0.14), transparent 60%),
    var(--surface);
}

.spec-tile--door i {
  font-size: 2.75rem;
}

.spec-tile--door .spec-tile__value {
  max-width: 17ch;
  font-size: clamp(2.125rem, 3.6vw, 3rem);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .spec-feature {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spec-tile--door,
  .spec-tile--floor {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .spec-feature {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(220px, auto));
    grid-template-areas:
      "door door floor floor"
      "door door sanitary structure";
  }

  .spec-tile--door {
    grid-area: door;
  }

  .spec-tile--floor {
    grid-area: floor;
  }

  .spec-tile--sanitary {
    grid-area: sanitary;
  }

  .spec-tile--structure {
    grid-area: structure;
  }

  .spec-tile--door .bezel__core {
    padding: 40px;
  }
}

.spec-more {
  margin-top: 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-shell);
  background: rgb(242 237 230 / 0.025);
}

.spec-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 14px 16px 14px 28px;
  border-radius: var(--radius-shell);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.spec-more summary::-webkit-details-marker {
  display: none;
}

.spec-more__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgb(223 166 42 / 0.12);
  color: var(--accent);
  font-size: 1.25rem;
  transition: transform 500ms var(--ease-fluid);
}

.spec-more[open] .spec-more__icon {
  transform: rotate(45deg);
}

.spec-more__body {
  display: grid;
  gap: 36px;
  padding: 8px 28px 32px;
}

.spec-cluster h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 500;
}

.spec-cluster dl {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.spec-cluster dl div {
  display: grid;
  gap: 2px;
}

.spec-cluster dt {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.spec-cluster dd {
  font-size: 0.9875rem;
}

@media (min-width: 768px) {
  .spec-more__body {
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
  }

  .spec-cluster dl div {
    grid-template-columns: 9rem 1fr;
    gap: 16px;
  }
}

/* Galeri: rail scroll-snap */
.gallery {
  padding-block: var(--section-y);
}

.gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.gallery__controls {
  display: none;
  gap: 8px;
}

.gallery__rail {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: 40px;
  padding: 4px var(--gutter) 20px;
  overflow-x: auto;
  scroll-padding-inline: var(--gutter);
  scroll-snap-type: x mandatory;
  scrollbar-color: rgb(223 166 42 / 0.4) transparent;
  scrollbar-width: thin;
}

.gallery__rail:focus-visible {
  outline-offset: -4px;
}

.gallery__item {
  flex: none;
  width: min(84vw, 560px);
  scroll-snap-align: start;
}

.gallery__item--small {
  width: min(84vw, 404px);
}

.gallery__item .bezel__core {
  aspect-ratio: 16 / 9;
}

.gallery__item figcaption {
  margin-top: 14px;
  padding-left: 8px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

@media (min-width: 768px) {
  .gallery__controls {
    display: flex;
  }
}

@media (min-width: 1376px) {
  .gallery__rail {
    padding-inline: calc((100% - var(--container)) / 2);
    scroll-padding-inline: calc((100% - var(--container)) / 2);
  }
}

/* Jadwal survei: render full-bleed + kartu form */
.schedule {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: var(--section-y);
}

.schedule__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.schedule__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.schedule__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgb(22 6 6 / 0.7) 24%, rgb(22 6 6 / 0.76) 76%, var(--bg) 100%),
    radial-gradient(60% 60% at 50% 50%, rgb(22 6 6 / 0.15), rgb(22 6 6 / 0.7));
}

.schedule__card {
  max-width: 620px;
  margin-inline: auto;
}

.schedule__core {
  padding: 32px 22px;
  background: rgb(31 10 10 / 0.95);
}

.schedule__title {
  font-size: clamp(2.125rem, 4.4vw, 3rem);
}

.schedule__lede {
  margin-top: 14px;
  color: var(--text-muted);
}

.lead-form {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-input);
  background: rgb(22 6 6 / 0.85);
  color: var(--text);
  font-size: 1rem;
  transition:
    border-color 300ms var(--ease-fluid),
    box-shadow 300ms var(--ease-fluid);
}

.field input:focus-visible,
.field select:focus-visible {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgb(223 166 42 / 0.4);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--danger);
}

.field input[type="date"] {
  color-scheme: dark;
}

.select {
  position: relative;
}

.select select {
  padding-right: 52px;
  appearance: none;
  -webkit-appearance: none;
}

.select i {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--accent);
  font-size: 1.125rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.field__error {
  color: var(--danger);
  font-size: 0.875rem;
}

.lead-form .btn--block {
  margin-top: 8px;
}

.form-note {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.form-status {
  font-size: 0.9375rem;
}

.form-status.is-shown {
  padding: 14px 18px;
  border: 1px solid rgb(223 166 42 / 0.35);
  border-radius: var(--radius-input);
  background: rgb(223 166 42 / 0.1);
}

.form-status a {
  color: var(--accent);
}

.schedule__alt {
  margin-top: 22px;
  color: var(--text-muted);
  text-align: center;
}

.schedule__alt a {
  color: var(--text);
  font-weight: 600;
}

@media (min-width: 768px) {
  .schedule__core {
    padding: 48px 52px;
  }
}

/* Footer */
.footer {
  padding-top: 72px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer__grid {
  display: grid;
  gap: 40px;
}

.footer__brand img {
  width: 168px;
  height: auto;
}

.footer__brand p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer__title {
  margin-bottom: 14px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
}

.footer__dev {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__dev img {
  width: 48px;
  height: 48px;
}

.footer address {
  max-width: 28ch;
  font-style: normal;
}

.footer__links {
  display: grid;
  gap: 6px;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 6px;
  text-decoration: none;
  transition: color 400ms var(--ease-fluid);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__links i {
  color: var(--accent);
  font-size: 1.25rem;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.footer__dev p span {
  display: block;
}

.footer__dev strong {
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

/* Mobile bar */
.mobile-bar {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: var(--z-mobile-bar);
  padding: 6px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgb(22 6 6 / 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    transform 500ms var(--ease-fluid),
    opacity 500ms var(--ease-fluid);
}

.mobile-bar.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(140%);
}

html.is-locked .mobile-bar {
  display: none;
}

@media (max-width: 1023px) {
  body {
    padding-bottom: 84px;
  }
}

@media (min-width: 1024px) {
  .mobile-bar {
    display: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .mobile-bar {
    background: rgb(22 6 6 / 0.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Dialog denah */
.plan-dialog {
  width: min(1180px, calc(100vw - 24px));
  border: 1px solid var(--hairline);
  border-radius: var(--radius-shell);
  background: var(--surface);
  color: var(--text);
}

.plan-dialog .dialog-inner {
  padding: 22px;
}

.plan-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.plan-dialog__head h2 {
  font-family: var(--font-display);
  font-size: 2.125rem;
  font-weight: 500;
  line-height: 1.1;
}

.plan-grid figure {
  padding: 14px;
  border-radius: var(--radius-core);
  background: var(--anv-paper);
}

.plan-grid img {
  width: auto;
  max-height: min(560px, 62dvh);
}

.plan-grid figcaption {
  color: #3a2626;
  font-size: 0.875rem;
  font-weight: 600;
}

.plan-dialog__note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .plan-dialog .dialog-inner {
    padding: 32px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .plan-dialog[open] {
    animation: dialog-in 500ms var(--ease-fluid);
  }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(0.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
