@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/PJS-500.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/PJS-700.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces-600.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --green: #14532d;
  --green-deep: #0d3320;
  --cream: #faf6ef;
  --gold: #c9a227;
  --ink: #14532d;
  --muted: #427454;   /* secondary text on cream */
  --faint: #477758;   /* quiet labels on cream */
  --line: #d5dcd0;    /* hairlines on cream */
  --foot-sec: #a9bfa9;   /* was #a3b8a5 (4.32:1); lightened to clear WCAG AA 4.5:1 on deep green */
  --foot-line: #427454;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; font-weight: 500;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
section[id], footer[id] { scroll-margin-top: 88px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 120;
  background: var(--green); color: var(--cream);
  padding: 12px 20px; font-weight: 700; text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- cream header bar ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream); border-bottom: 1px solid var(--line);
}
.head-in {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
  min-height: 44px;
}
.brand img { width: 44px; height: 44px; }
.brand span { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }

.head-right { display: flex; align-items: center; gap: 8px; }
.miong-trigger {
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
  min-height: 44px; min-width: 44px; padding: 4px 8px;
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); color: var(--ink);
}
.miong-trigger .t { font-weight: 700; font-size: 15px; line-height: 1.2; }
.miong-trigger .sub {
  font-weight: 500; font-size: 11px; line-height: 1.3; color: var(--faint);
}
.miong-trigger:hover .t { text-decoration: underline; text-underline-offset: 4px; }

.burger {
  width: 44px; height: 44px; border: none; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 0;
}
.burger span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  background:
    linear-gradient(180deg,
      rgba(20, 83, 45, 0.45) 0%,
      rgba(20, 83, 45, 0.40) 20%,
      rgba(20, 83, 45, 0.60) 32%,
      rgba(20, 83, 45, 0.86) 38%,
      rgba(20, 83, 45, 0.90) 44%,
      rgba(20, 83, 45, 0.92) 100%),
    url("/photos/tangga-skylight.jpg");
  background-size: cover;
  background-position: center 38%;
  color: var(--cream);
  min-height: calc(92svh - 72px);
  display: flex; align-items: flex-end;
}
.hero-in { width: 100%; padding-top: 96px; padding-bottom: 72px; }
.hero h1 {
  margin: 0 0 24px; font-weight: 700; font-size: clamp(34px, 6vw, 72px);
  line-height: 1.12; letter-spacing: 0.01em; text-transform: uppercase;
}
.hero h1 span { display: block; }
.hero .sub {
  margin: 0 0 32px; max-width: 34em; font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6; font-weight: 500; color: var(--cream);
}
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 36px; border-radius: 999px;
  background: var(--cream); color: var(--green);
  font-weight: 700; font-size: 16px; letter-spacing: 0.04em; text-decoration: none;
}
.pill:hover { background: #ffffff; }

/* ---------- label rows ---------- */
.label-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 40px;
}
.label {
  margin: 0; font-weight: 700; font-size: 15px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
.label .dot { letter-spacing: 0; margin-right: 10px; }
.avail-line {
  margin: 0; font-size: clamp(20px, 2.4vw, 27px); font-weight: 700;
  color: var(--green); letter-spacing: -0.01em; line-height: 1.35;
  text-align: right;
}

/* ---------- kamar ---------- */
.kamar { padding: 96px 0 0; }
.products {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
}
.product img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px;
  background: var(--line);
}
/* ---------- photo carousel (swipeable, Traveloka-style) ---------- */
.carousel { position: relative; border-radius: 2px; overflow: hidden; background: var(--line); }
.carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track img {
  flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  scroll-snap-align: start; scroll-snap-stop: always; user-select: none;
  -webkit-user-drag: none;
}
.carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 12px;
  display: flex; gap: 6px; justify-content: center; pointer-events: none;
}
.carousel-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(250, 246, 239, 0.55); transition: background 0.2s;
}
.carousel-dots span.on { background: #faf6ef; }
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(250, 246, 239, 0.92); color: var(--green);
  font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s; padding: 0 0 2px;
}
.carousel:hover .carousel-nav { opacity: 1; }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.product h3 {
  margin: 28px 0 0; font-weight: 700; font-size: 24px; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fac-chips {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px;
}
.fac-chips li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--ink); line-height: 1.4;
}
.fac-ic { width: 22px; height: 22px; flex: none; color: var(--green); }
.fac-ic svg { width: 100%; height: 100%; display: block; }
.product .price { margin: 18px 0 0; font-weight: 700; font-size: 22px; }
.product .avail { margin: 6px 0 0; color: var(--faint); font-size: 15px; }
.tanya {
  display: inline-flex; align-items: center;
  min-height: 44px; margin-top: 10px; padding: 0;
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-weight: 700; font-size: 16px; color: var(--ink);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px;
}
.tanya:hover { color: var(--green-deep); }

/* ---------- philosophy / tentang ---------- */
.tentang { padding: 160px 0 0; }
.philo {
  margin: 0; max-width: 20em;
  font-weight: 700; font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.3; letter-spacing: -0.01em;
}
.about {
  margin: 40px 0 0; max-width: 36em; color: var(--muted);
  font-size: 17px; line-height: 1.7;
}

/* ---------- fasilitas ---------- */
.fasilitas { padding: 140px 0 0; }
.fac-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px;
  color: var(--muted); font-size: 18px; line-height: 1.9;
}
.fac-list li {
  padding: 6px 0; display: flex; align-items: center; gap: 14px;
}
.fac-list .fac-ic { width: 20px; height: 20px; opacity: 0.8; }
.fac-star { color: var(--gold); font-size: 0.7em; margin-left: 2px; }
.fac-note { margin: 14px 0 0; font-size: 13.5px; color: var(--faint); }

/* ---------- footer / kontak ---------- */
.site-foot {
  margin-top: 160px; background: var(--green); color: var(--cream);
  border-top: 3px solid var(--gold); padding: 72px 0 48px;
}
.foot-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 20px; }
.foot-brand img { width: 64px; height: 64px; }
.foot-brand .fname { margin: 0; font-weight: 700; font-size: 24px; }
.foot-brand .tag { margin: 4px 0 0; font-size: 17px; color: var(--gold); }
.foot-wa { text-align: right; }
.foot-wa .wa-label { margin: 0; font-size: 15px; color: var(--foot-sec); }
.foot-wa .wa-num {
  display: inline-block; min-height: 44px; line-height: 44px;
  margin-top: 2px; font-weight: 700; font-size: 26px;
  color: var(--cream); text-decoration: none;
}
.foot-wa .wa-num:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot-addr { margin: 48px 0 0; max-width: 34em; color: var(--foot-sec); font-size: 16px; line-height: 1.7; }
.foot-copy {
  margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--foot-line);
  color: var(--foot-sec); font-size: 14px;
}

/* ---------- hamburger overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background:
    linear-gradient(180deg, rgba(20, 83, 45, 0.94), rgba(20, 83, 45, 0.96)),
    url("/photos/tangga-skylight.jpg");
  background-size: cover; background-position: center;
  display: flex; flex-direction: column;
}
.menu-bar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; padding: 0 24px; max-width: 1180px; width: 100%; margin: 0 auto;
}
.menu-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); }
.menu-brand img { width: 44px; height: 44px; }
.menu-brand span { font-weight: 700; font-size: 19px; }
.menu-close {
  width: 44px; height: 44px; border: none; background: none; cursor: pointer;
  color: var(--cream); font-size: 26px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.menu nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.menu ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.menu li { margin: 0; }
.menu a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 72px; padding: 0 24px;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(34px, 7vw, 56px); color: var(--cream); text-decoration: none;
}
.menu a:hover { color: var(--gold); }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .label-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .avail-line { text-align: left; }
  .kamar { padding-top: 72px; }
  .products { grid-template-columns: 1fr; gap: 72px; }
  .carousel-track img { aspect-ratio: 4 / 3; height: 62vw; max-height: 340px; }
  .carousel-nav { display: none; }
  .tentang { padding-top: 110px; }
  .fasilitas { padding-top: 100px; }
  .fac-list { grid-template-columns: 1fr; font-size: 17px; }
  .site-foot { margin-top: 110px; }
  .foot-wa { text-align: left; }
  .brand span { font-size: 17px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

