/* =========================================================
   Pandawa Swastamita — Landing Page
   ========================================================= */
:root {
  --bg: #FDF6EE;
  --bg-soft: #F5EBE0;
  --ink: #3D2B1F;        /* judul */
  --text: #5C4033;       /* paragraf */
  --muted: #B08065;
  --accent: #C4784A;
  --line: #D9C8BC;
  --line-gold: #D4B896;
  --peach: #E8A87C;
  --peach-2: #D4956A;
  --teal: #6B9BAD;
  --teal-2: #4A7D8E;
  --sans: "Helvetica Neue", Arial, Helvetica, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --poster: "Poppins", var(--sans);
  --container: 1196px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
section[id], .type-row { scroll-margin-top: 64px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button, input, select { font: inherit; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.display {
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1.12;
  letter-spacing: -.01em;
}
.display-sub {
  color: var(--ink);
  font-size: clamp(26px, 3vw, 43px);
  line-height: 1.2;
  margin-top: 6px;
}
.h3 {
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1.22;
  margin-bottom: 22px;
}
.body { font-size: 16px; line-height: 1.7; color: var(--text); }
.small { font-size: 13px; color: var(--text); }
.fineprint { font-size: 11.5px; color: var(--text); margin-top: 18px; }
.text-link {
  display: inline-block;
  margin-top: 26px;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: .03em;
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.text-link:hover { border-color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  border-radius: 999px; padding: 14px 26px;
  font-size: 14px; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s, background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { box-shadow: 0 10px 24px rgba(61,43,31,.3); }
.btn-accent { background: var(--accent); color: #fff; padding: 16px 28px; }
.btn-accent:hover { background: #b0663b; }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; padding: 14px 30px; }
.btn-outline:hover { background: var(--accent); color: #fff; }
.i-arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: linear-gradient(180deg, rgba(92,64,51,.7), rgba(92,64,51,.35));
  box-shadow: 0 4px 14px rgba(61,43,31,.25);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(92,64,51,.92); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand img { height: 31px; width: auto; filter: brightness(0) invert(1); }
.main-nav { display: flex; gap: 86px; }
.main-nav a {
  color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .02em;
  position: relative; padding: 4px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: #fff; transform: scaleX(0); transition: transform .25s; transform-origin: left;
}
.main-nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: clamp(560px, 65.2vw, 939px);
  overflow: hidden;
  background: linear-gradient(147deg, var(--peach) 0%, var(--peach-2) 40%, var(--teal) 75%, var(--teal-2) 100%);
}
.hero-sky { position: absolute; inset: 0 0 auto 0; height: 35%; background: linear-gradient(rgba(0,0,0,.125), transparent); }
.hero-img {
  position: absolute; left: -2.5%; width: 105%; max-width: none;
  top: 17.8%; height: 90.6%; object-fit: cover; object-position: center top;
}
.hero-fade { position: absolute; inset: auto 0 0 0; height: 14%; background: linear-gradient(transparent, var(--bg)); }
.hero-title {
  position: absolute; z-index: 2; left: 0; right: 0; top: 16.5%;
  text-align: center; color: #fff; font-family: var(--serif); font-weight: 400;
  text-transform: uppercase; line-height: .95;
  text-shadow: 0 3px 10px rgba(80,40,20,.25);
}
.hero-line1 { display: block; font-size: clamp(40px, 6.4vw, 92px); letter-spacing: .04em; padding-left: 12%; }
.hero-line2 { display: block; font-size: clamp(50px, 8.4vw, 122px); letter-spacing: .04em; }
.swash {
  font-family: "Pinyon Script", var(--serif); text-transform: none;
  font-size: 1.45em; line-height: 0; margin-right: -.12em; vertical-align: -.08em;
}

/* ---------- About ---------- */
.about { position: relative; padding: 70px 0 60px; }
.about > .container { position: relative; z-index: 1; }
.about-watermark {
  position: absolute; left: 14%; top: 420px; width: 360px; opacity: .55;
  filter: brightness(0) invert(1); pointer-events: none;
}
.about-head { display: grid; grid-template-columns: 1fr 410px; align-items: end; gap: 40px; position: relative; }
.about-lead { font-size: 13px; line-height: 1.5; color: var(--ink); padding-bottom: 14px; }
.story { display: grid; grid-template-columns: 1fr 712px; gap: 64px; align-items: center; margin-top: 18px; position: relative; }
.story-text { max-width: 420px; }
.sky-frame { background: url("../img/sky-sunset.jpg") center 62%/cover; }
.story-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 712 / 610; }
.story-img img, .detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail { display: grid; grid-template-columns: 456px 1fr; gap: 64px; align-items: start; margin-top: 92px; }
.detail-img { border-radius: 12px; overflow: hidden; aspect-ratio: 456 / 316; }
.detail-text { padding-top: 40px; max-width: 680px; }
.detail-text .h3 { margin-bottom: 18px; }

/* ---------- Section head ---------- */
.section-head { display: grid; grid-template-columns: 1fr 410px; align-items: center; gap: 40px; }

/* ---------- Gallery ---------- */
.gallery { padding: 40px 0 120px; }
.filter-bar { display: flex; justify-content: space-between; align-items: center; margin: 48px 0 36px; gap: 20px; flex-wrap: wrap; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; }
.pill {
  border: 1px solid var(--line-gold); background: transparent; color: var(--ink);
  font-size: 13px; padding: 10px 22px; border-radius: 999px; cursor: pointer; transition: all .25s;
}
.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.filter-count { font-size: 12px; color: var(--ink); }

.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; row-gap: 40px; }
.g-item { transition: opacity .35s, transform .35s; }
.g-item.is-hidden { display: none; }
.g-media { border-radius: var(--radius); overflow: hidden; background: #efe5da; }
.g-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.g-item:hover .g-media img { transform: scale(1.05); }
.g-item figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; color: var(--ink); font-size: 16px; }
.g-item figcaption small { font-size: 11px; color: var(--text); }
.g-wide { grid-column: span 8; } .g-wide .g-media { aspect-ratio: 760 / 482; }
.g-tall { grid-column: span 4; } .g-tall .g-media { aspect-ratio: 412 / 482; }
.g-third { grid-column: span 4; } .g-third .g-media { aspect-ratio: 384 / 330; }
.g-full { grid-column: 1 / -1; } .g-full .g-media { aspect-ratio: 1186 / 525; }
.gallery-grid.is-filtered .g-item { grid-column: span 6; }
.gallery-grid.is-filtered .g-media { aspect-ratio: 4 / 3; }
.g-quote { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; margin: 10px 0 0; }
.g-quote p { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.3; color: var(--ink); }
.g-quote cite { font-style: normal; font-size: 13px; line-height: 1.6; padding-top: 8px; padding-left: 56px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(107,155,173,.95) 0%, rgba(107,155,173,0) 45%),
    linear-gradient(100deg, var(--peach) 0%, var(--peach-2) 55%, var(--peach) 100%);
  color: #fff; padding: 44px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { font-weight: 400; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.2; max-width: 820px; }
.cta-band p { font-size: 15px; margin-top: 18px; opacity: .92; }

/* ---------- Types ---------- */
.types { padding: 60px 0 100px; }
.notice {
  display: flex; gap: 14px; align-items: center; background: var(--bg-soft);
  border-radius: 12px; padding: 16px 22px; margin: 50px 0 54px; font-size: 12px; color: var(--ink);
}
.notice svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-linecap: round; }

.type-row { padding: 0 0 40px; margin-bottom: 52px; border-bottom: 1px solid var(--line-gold); }
.type-main { display: grid; grid-template-columns: 595px 1fr; gap: 54px; align-items: start; }
.type-info { padding-right: 32px; }
.type-top { display: flex; justify-content: space-between; align-items: center; }
.type-top .eyebrow { margin: 0; }
.tag { font-size: 12px; text-transform: uppercase; background: var(--bg-soft); color: var(--ink); padding: 6px 14px; border-radius: 6px; letter-spacing: .02em; }
.type-name { font-weight: 400; color: var(--ink); font-size: clamp(40px, 4vw, 56px); letter-spacing: .01em; margin: 18px 0 16px; line-height: 1.1; }
.type-tagline { font-size: 25px; color: var(--ink); margin-bottom: 24px; }
.type-desc { font-size: 17px; line-height: 1.7; color: var(--text); max-width: 500px; }
.type-size { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; max-width: 520px; }
.type-size span { display: block; font-size: 13px; color: var(--text); margin-bottom: 6px; }
.type-size strong { font-weight: 400; font-size: 34px; color: var(--ink); line-height: 1.1; }
.feature-list { display: flex; flex-wrap: wrap; gap: 14px 36px; list-style: none; padding: 0; margin: 28px 0 32px; font-size: 13px; color: var(--ink); }
.feature-list li { display: flex; align-items: center; gap: 10px; text-transform: none; }
.feature-list li.up { text-transform: uppercase; }
.feature-list svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.type-foot { display: flex; justify-content: space-between; margin-top: 40px; font-size: 13px; color: var(--ink); gap: 20px; flex-wrap: wrap; }
.type-foot span:first-child { color: var(--text); }

/* Poster */
.poster {
  position: relative; aspect-ratio: 595 / 743; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, #BF9787 0%, #5F483F 100%);
  color: #fff; font-family: var(--poster); container-type: inline-size;
  box-shadow: 0 20px 40px -24px rgba(61,43,31,.5);
}
.poster::before { /* motif batik halus */
  content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Cpath d='M20 60c0-22 18-40 40-40s40 18 40 40-18 40-40 40'/%3E%3Cpath d='M40 60c0-11 9-20 20-20s20 9 20 20-9 20-20 20-14-6-14-14 5-12 12-12'/%3E%3Cpath d='M0 0c20 10 20 30 0 40M120 80c-20 10-20 30 0 40'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px;
}
.poster-house { position: absolute; left: 0; right: 0; bottom: 0; height: 74%; }
.poster-house img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.poster.is-photo .poster-house { inset: 0; height: 100%; }
.poster-logo { position: absolute; left: 4.5%; top: 4.5%; width: 15%; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
.poster-loc { position: absolute; right: 5%; top: 4.5%; display: flex; align-items: center; gap: 2.2cqw; font-weight: 600; font-size: 3.1cqw; line-height: 1.05; text-shadow: 0 2px 6px rgba(0,0,0,.35); }
.poster-loc svg { width: 4.4cqw; height: 5.6cqw; fill: #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.poster-loc b { display: block; font-weight: 800; }
.poster-card {
  position: absolute; left: 35%; right: 0; top: 30%;
  padding: 3.4cqw 3cqw 3.4cqw 4cqw; border-radius: 4.4cqw 0 0 4.4cqw;
  background: linear-gradient(160deg, rgba(91,72,65,.96) 0%, rgba(91,72,65,.82) 45%, rgba(193,153,138,.15) 100%);
}
.poster-title { display: flex; align-items: flex-start; gap: 3cqw; }
.poster-title h4 { margin: 0; font-style: italic; font-weight: 800; font-size: 7.8cqw; line-height: 1; letter-spacing: .01em; }
.poster-title p { font-size: 2.4cqw; line-height: 1.15; margin-top: .6cqw; }
.poster-bar { height: 1.1cqw; width: 28cqw; margin: 1.8cqw 0 2.6cqw; border-radius: 2px; background: linear-gradient(90deg, #FFA30E, #F9EF80 34%, #FFA30E 70%, #FFD400); }
.poster-specs { margin-left: 18cqw; }
.poster-area { display: flex; gap: 5cqw; }
.poster-area div { font-size: 3cqw; line-height: 1; }
.poster-area sup { font-size: 1.4cqw; }
.poster-area small { display: block; font-size: 1.6cqw; margin-top: .6cqw; opacity: .95; }
.poster-icons { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 1.6cqw 3cqw; margin-top: 2.6cqw; font-size: 2.3cqw; }
.poster-icons span { display: inline-flex; align-items: center; gap: .8cqw; }
.poster-icons svg { width: 3.3cqw; height: 3.3cqw; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.poster-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; height: 18%;
  background: linear-gradient(transparent, #5B4841);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 0 4% 2.4%;
}
.poster-caption { font-style: italic; font-size: 4.2cqw; font-weight: 400; margin-bottom: 4cqw; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.poster-caption b { font-weight: 800; }
.poster-socials { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2cqw; font-size: 1.15cqw; opacity: .9; }
.poster-socials img { width: 16cqw; }
.poster-socials span { white-space: nowrap; }

/* ---------- Compare table ---------- */
.compare { margin-top: 20px; }
.compare-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.compare-head h3 { font-weight: 400; color: var(--ink); font-size: clamp(26px, 2.4vw, 34px); }
.compare-head .eyebrow { margin: 0; font-size: 11px; }
.table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; color: var(--ink); min-width: 640px; }
.compare-table th, .compare-table td { text-align: left; padding: 17px 24px; }
.compare-table thead th { background: var(--bg-soft); font-weight: 400; text-transform: uppercase; font-size: 13px; }
.compare-table thead th:first-child { text-transform: none; border-radius: 8px 0 0 8px; }
.compare-table thead th:last-child { border-radius: 0 8px 8px 0; }
.compare-table tbody td { border-bottom: 1px solid var(--line-gold); color: var(--text); }
.compare-table tbody td:first-child { color: var(--ink); }

/* ---------- Contact ---------- */
.contact { background: var(--bg-soft); padding: 64px 0 76px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.contact-text .h3 { margin-bottom: 26px; }
.contact-text .small { margin-top: 26px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.contact-form label { display: flex; flex-direction: column; gap: 10px; width: 100%; font-size: 13px; color: var(--ink); }
.contact-form input, .contact-form select {
  width: 100%; background: var(--bg); border: 1px solid var(--line-gold); border-radius: 10px;
  padding: 15px 16px; font-size: 14px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.contact-form input::placeholder { color: #7a6253; }
.contact-form input:focus, .contact-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196,120,74,.15); }
.contact-form input.is-invalid { border-color: #c0392b; }
.select-wrap { position: relative; display: block; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 1.4px solid var(--text); border-bottom: 1.4px solid var(--text); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.contact-form .btn { margin-top: 6px; }
.contact-form .fineprint { margin-top: 2px; }
.form-msg { font-size: 13px; color: var(--accent); min-height: 0; }
.form-msg:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { padding: 60px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.45fr 1fr .62fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-gold); }
.footer-brand { font-size: clamp(28px, 2.6vw, 38px); color: var(--ink); margin-bottom: 26px; letter-spacing: .01em; }
.footer-top .body { font-size: 15px; }
.footer-top .eyebrow { font-size: 11px; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: 15px; color: var(--ink); }
.footer-links.two-col { grid-template-columns: auto auto; justify-content: start; column-gap: 0; }
.footer-links.two-col li:nth-child(odd)::after { content: "/"; margin: 0 26px 0 40px; }
.footer-links a:hover { color: var(--accent); }
.site-footer .small { margin-top: 14px; font-size: 12px; max-width: 240px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; font-size: 12px; color: var(--ink); gap: 16px; flex-wrap: wrap; }
.footer-bottom span { margin: 0 18px; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero-title.reveal { transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .story { grid-template-columns: 1fr 1.4fr; }
  .type-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .main-nav { gap: 48px; }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: 56px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(92,64,51,.97); padding: 8px 16px 18px; display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }

  .hero { height: 78vh; min-height: 520px; }
  .hero-img { top: 34%; height: 70%; left: -30%; width: 160%; }
  .hero-title { top: 18%; }
  .hero-line1 { padding-left: 0; }

  .about-head, .section-head, .story, .detail, .type-main, .contact-inner, .g-quote, .footer-top { grid-template-columns: 1fr; }
  .about-head { gap: 20px; }
  .about-watermark { width: 220px; left: -40px; top: 360px; }
  .story { gap: 32px; margin-top: 40px; }
  .detail { gap: 24px; margin-top: 60px; }
  .detail-text { padding-top: 0; }
  .section-head { gap: 16px; }
  .g-wide, .g-tall, .g-third, .gallery-grid.is-filtered .g-item { grid-column: 1 / -1; }
  .g-tall .g-media { aspect-ratio: 4 / 3; }
  .g-quote cite { padding-left: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .type-main { gap: 28px; }
  .type-info { padding-right: 0; }
  .contact-inner { gap: 40px; }
  .footer-top { gap: 32px; }
}

@media (max-width: 520px) {
  .gallery-grid { row-gap: 28px; }
  .type-tagline { font-size: 20px; }
  .type-desc { font-size: 15px; }
  .type-size strong { font-size: 28px; }
  .btn { white-space: normal; }
  .footer-links.two-col li:nth-child(odd)::after { margin: 0 14px 0 20px; }
}
