:root {
  --ground: #F6F4EF;
  --card: #FFFFFF;
  --sunken: #ECE8DF;
  --ink: #12262C;
  --muted: #556469;
  --line: #E3DFD6;
  --brand: #0D4F5E;
  --brand-deep: #093D4B;
  --brand-soft: #E6EFF1;
  --brand-line: #C7DCE1;
  --brand-ink: #0B4F5E;
  --gold: #D9A845;
  --gold-ink: #1E1A10;
  --gold-soft: #FBF5E6;
  --mitra-border: #E2C275;
  --mitra-title: #1E1A10;
  --mitra-muted: #5C4A1E;
  --mitra-eyebrow: #7A5714;
  --card-shadow: 0 10px 26px -14px rgba(9, 61, 75, 0.22);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0C161A;
    --card: #142328;
    --sunken: #1A2C32;
    --ink: #ECEAE5;
    --muted: #9AABAF;
    --line: #22363C;
    --brand: #4FB3C4;
    --brand-deep: #081D24;
    --brand-soft: #10343C;
    --brand-line: #1E4F5B;
    --brand-ink: #7FC4D2;
    --gold: #D9A845;
    --gold-ink: #1E1A10;
    --gold-soft: #241E11;
    --mitra-border: #5C481E;
    --mitra-title: #F7F1E1;
    --mitra-muted: #D7C9A4;
    --mitra-eyebrow: #E5B852;
    --card-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.55);
  }
}

:root[data-theme="dark"] {
  --ground: #0C161A;
  --card: #142328;
  --sunken: #1A2C32;
  --ink: #ECEAE5;
  --muted: #9AABAF;
  --line: #22363C;
  --brand: #4FB3C4;
  --brand-deep: #081D24;
  --brand-soft: #10343C;
  --brand-line: #1E4F5B;
  --brand-ink: #7FC4D2;
  --gold: #D9A845;
  --gold-ink: #1E1A10;
  --gold-soft: #241E11;
  --mitra-border: #5C481E;
  --mitra-title: #F7F1E1;
  --mitra-muted: #D7C9A4;
  --mitra-eyebrow: #E5B852;
  --card-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 15.5px/1.65 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

a[href], button, summary { cursor: pointer; }
a { color: var(--brand-ink); text-underline-offset: 3px; transition: color 0.16s ease; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 2px;
}

/* Hero with native high-priority <img> behind Option C Ocean Teal scrim */
.hero-shell {
  position: relative;
  overflow: hidden;
  background-color: #093D4B;
  color: #F7F6F3;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(9, 61, 75, 0.90) 0%,
    rgba(13, 79, 94, 0.78) 52%,
    rgba(19, 102, 120, 0.64) 100%
  );
  pointer-events: none;
}

.hero-shell > .container,
.hero-shell > .tenun-band {
  position: relative;
  z-index: 2;
}

.tenun-band {
  height: 96px;
  background: linear-gradient(
    180deg,
    rgba(9, 61, 75, 0) 0%,
    color-mix(in srgb, var(--ground) 55%, transparent) 52%,
    var(--ground) 100%
  );
  pointer-events: none;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding-inline: 20px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #F7F6F3;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  min-height: 44px;
}

.brand-link img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  display: block;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(9, 61, 75, 0.25);
  color: #F7F6F3;
  font: 600 14px "Plus Jakarta Sans", system-ui, sans-serif;
  text-decoration: none;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost:active { transform: translateY(1px); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 0;
  background: var(--gold);
  color: var(--gold-ink);
  font: 700 15px "Plus Jakarta Sans", system-ui, sans-serif;
  text-decoration: none;
  transition: filter 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(217, 168, 69, 0.55);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

.hero-body {
  display: grid;
  gap: 28px;
  padding-block: 24px 28px;
}

@media (min-width: 780px) {
  .hero-body {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: start;
    gap: 40px;
    padding-block: 36px 36px;
  }
}

.eyebrow {
  margin: 0 0 10px;
  font: 500 12px "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E8C574;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.5vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-lead {
  margin: 0 0 22px;
  font-size: 16.5px;
  line-height: 1.6;
  color: #D2E0E3;
  max-width: 54ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.facts-panel {
  background: rgba(6, 36, 44, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.facts-panel h2 {
  margin: 0 0 12px;
  font-size: 13px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #E8C574;
}

.facts-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.facts-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 10px;
}

.facts-list li:first-child { border-top: 0; padding-top: 0; }
.facts-list strong { font-size: 13px; color: #C2D6DB; font-weight: 600; }
.facts-list span { font-size: 14.5px; color: #F7F6F3; }

main {
  padding-block: 20px 72px;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

/* Progressive-enhancement gentle scroll reveal (MOTION 2) */
main > section.will-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
main > section.will-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.section-label {
  margin: 0 0 6px;
  font: 500 12px "IBM Plex Mono", ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-ink);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 62ch;
}

.split-grid {
  display: grid;
  gap: 16px;
  counter-reset: feature-item;
}

@media (min-width: 720px) {
  .split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-list li {
  position: relative;
  counter-increment: feature-item;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 20px 20px 22px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.detail-list li::before {
  content: "0" counter(feature-item);
  display: inline-block;
  margin-bottom: 8px;
  font: 600 11.5px "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.06em;
  color: var(--brand-ink);
  background: var(--brand-soft);
  padding: 3px 8px;
  border-radius: 6px;
}

.detail-list li:hover {
  transform: translateY(-2px);
  border-color: var(--brand-line);
  box-shadow: var(--card-shadow);
}

.detail-list h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  line-height: 1.3;
}

.detail-list p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

.area-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.area-tag {
  font: 500 13px "IBM Plex Mono", ui-monospace, monospace;
  padding: 7px 13px;
  border-radius: 9px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}
.area-tag:hover {
  border-color: var(--brand-line);
  background: var(--brand-soft);
  transform: translateY(-1px);
}

/* Distinct Ocean-tinted callout for English travelers (no generic left stripe) */
.en-note {
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  padding: 24px 26px;
}

.en-note::before {
  content: "ENGLISH · FOR TRAVELERS IN LOMBOK";
  display: block;
  margin-bottom: 8px;
  font: 600 11.5px "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  color: var(--brand-ink);
}

.en-note h2 { font-size: 20px; margin-bottom: 8px; color: var(--ink); }
.en-note p { margin: 0 0 10px; color: var(--muted); max-width: 66ch; }
.en-note p:last-child { margin-bottom: 0; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.faq-list details:hover {
  border-color: var(--brand-line);
}

.faq-list details[open] {
  border-color: var(--brand);
  box-shadow: var(--card-shadow);
}

.faq-list summary {
  list-style: none;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: var(--brand-ink);
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 14.5px;
}

/* Consistent Wira Mitra Gold Callout */
.partner-callout {
  background:
    radial-gradient(circle at 95% 10%, rgba(217, 168, 69, 0.16), transparent 55%),
    var(--gold-soft);
  border: 1.5px solid var(--mitra-border);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.partner-callout:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(183, 134, 42, 0.35);
}

@media (min-width: 720px) {
  .partner-callout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
}

.mitra-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.mitra-head img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
}

.mitra-eyebrow {
  font: 600 12px "IBM Plex Mono", ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mitra-eyebrow);
}

.partner-callout h2 { color: var(--mitra-title); margin-bottom: 6px; }
.partner-callout p { margin: 0; color: var(--mitra-muted); max-width: 54ch; }
.partner-callout .btn-primary { flex-shrink: 0; }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--sunken);
  padding-block: 36px 48px;
  color: var(--muted);
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 18px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-weight: 600;
}
.footer-nav a:hover { text-decoration: underline; }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  main > section.will-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
