:root {
  color-scheme: dark;
  --bg: #11100e;
  --surface: #191714;
  --surface-2: #24201b;
  --text: #fff7ea;
  --muted: #c8bba6;
  --gold: #d8b15f;
  --gold-2: #f2d58b;
  --ink: #100f0e;
  --line: rgba(255, 247, 234, .14);
  --shadow: 0 24px 70px rgba(0, 0, 0, .32);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root.light-mode {
  color-scheme: light;
  --bg: #fbf8f1;
  --surface: #ffffff;
  --surface-2: #f1eadc;
  --text: #1b1712;
  --muted: #63594d;
  --ink: #ffffff;
  --line: rgba(27, 23, 18, .13);
  --shadow: 0 20px 55px rgba(87, 69, 38, .18);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

body.nav-open,
body.modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

button,
input,
select,
textarea {
  font: inherit;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #050505;
  animation: loaderOut .8s ease 1.25s forwards;
}

.loader img {
  width: min(230px, 58vw);
  animation: logoPulse 1.25s ease both;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(12, 11, 10, .74);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 76px;
  height: 48px;
  object-fit: contain;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 25px);
  color: #fff7ea;
  font-size: 14px;
  white-space: nowrap;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover {
  color: var(--gold-2);
  border-color: var(--gold);
}

.theme-toggle,
.nav-toggle,
.slider-btn {
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: #fff7ea;
  cursor: pointer;
}

.theme-toggle,
.nav-toggle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
}

.nav-toggle { display: none; }

.section {
  padding: clamp(76px, 8vw, 120px) clamp(18px, 5vw, 72px);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 84px;
  padding-bottom: 34px;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #080807 url("assets/hero.png") center/cover no-repeat;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::before,
.cinema-frame {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-media::before {
  background:
    linear-gradient(90deg, rgba(4, 4, 4, .9), rgba(10, 9, 8, .46) 54%, rgba(4, 4, 4, .82)),
    linear-gradient(0deg, rgba(17, 16, 14, .96), transparent 32%);
}

.cinema-frame {
  opacity: .42;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(255, 255, 255, .045) 75px 76px),
    repeating-linear-gradient(0deg, transparent 0 54px, rgba(216, 177, 95, .045) 55px 56px);
  animation: cinematicMove 16s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(790px, 100%);
}

.hero-logo {
  width: clamp(132px, 16vw, 174px);
  margin-bottom: 12px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
}

.hero-copy,
.tagline,
.lead {
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.45;
}

.tagline {
  max-width: 680px;
  color: #fff7ea;
}

.hero-actions,
.trust-row,
.filter-row,
.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  text-align: center;
  line-height: 1.2;
}

.btn.primary {
  background: var(--gold);
  color: #15110b;
  border-color: var(--gold);
}

.btn.light {
  background: #fff7ea;
  color: #15110b;
  border-color: #fff7ea;
}

.btn.ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--text);
}

.trust-row {
  margin-top: 16px;
}

.trust-row span,
.category-row span,
.target-line {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
}

.section-head {
  width: min(1060px, 100%);
  margin: 0 auto 34px;
}

.section-note {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-head.inline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.about-grid,
.source-grid,
.contact-grid,
.admin-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 28px;
}

.crew-intro,
.crew-card,
.source-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.crew-intro,
.crew-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.crew-intro {
  margin-bottom: 18px;
  padding: clamp(18px, 3vw, 28px);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.crew-intro p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.crew-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(190px, 42%) 1fr;
  min-height: 410px;
}

.crew-photo {
  margin: 0;
  overflow: hidden;
  background: var(--surface-2);
}

.crew-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.crew-copy {
  padding: clamp(20px, 3vw, 34px);
  align-self: center;
}

.crew-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.crew-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.crew-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
  justify-content: flex-end;
}

.crew-tags span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-2);
}

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

.service-list li,
.contact-grid a,
.contact-grid span,
.admin-panel,
.payment-strip,
details {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-list li {
  padding: 18px;
  color: var(--muted);
}

.target-line {
  margin-top: 18px;
  color: var(--gold-2);
}

.video-slider {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
}

.showcase-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 360px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.showcase-track::-webkit-scrollbar { display: none; }

.video-card,
.portfolio-card,
.price-card,
.testimonial-card,
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.video-card {
  position: relative;
  min-height: 430px;
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.video-card img,
.video-card video,
.portfolio-card img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card video,
.external-video {
  min-height: 370px;
  background: #060606;
}

.external-video {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  cursor: pointer;
  text-align: inherit;
}

.video-card::after,
.portfolio-card .cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .78), transparent 48%);
  pointer-events: none;
}

.video-card:has(video)::after {
  display: none;
}

.play-badge {
  position: absolute;
  left: 18px;
  bottom: 68px;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: #15110b;
  font-weight: 900;
}

.video-source-label {
  position: absolute;
  right: 16px;
  bottom: 18px;
  z-index: 1;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .62);
  color: #fff7ea;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.video-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 16px 18px 18px;
  background: var(--surface);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.video-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, .78);
  backdrop-filter: blur(10px);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .55);
}

.video-modal-head {
  padding: 18px 20px 0;
}

.video-modal-head h2 {
  font-size: clamp(25px, 4vw, 40px);
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, .62);
  color: #fff7ea;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

#showcasePlayer {
  width: 100%;
  max-height: 68vh;
  display: block;
  margin-top: 16px;
  background: #050505;
}

.video-modal-note {
  margin: 0;
  padding: 14px 20px 18px;
  color: var(--muted);
  font-size: 14px;
}

.slider-btn {
  width: 44px;
  height: 70px;
  border-radius: var(--radius);
  font-size: 30px;
}

.portfolio-grid,
.price-grid,
.testimonial-grid,
.gallery-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.filter {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.filter.active,
.filter:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #15110b;
}

.portfolio-card .cover {
  position: relative;
  height: clamp(210px, 22vw, 250px);
}

.portfolio-body,
.price-card,
.testimonial-card,
.admin-panel {
  padding: 20px;
}

.portfolio-body p,
.testimonial-card p,
.price-card p,
.payment-strip span,
.hours {
  color: var(--muted);
}

.portfolio-body .btn {
  width: 100%;
  margin-top: 12px;
}

.price-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card {
  position: relative;
  display: flex;
  min-height: 440px;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(216, 177, 95, .72);
}

.favorite {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #15110b;
  font-size: 12px;
  font-weight: 900;
}

.price {
  margin: 8px 0 18px;
  color: var(--gold-2);
  font-size: 30px;
  font-weight: 900;
}

.price-card ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.price-card .btn {
  margin-top: auto;
  width: 100%;
}

.payment-strip {
  width: min(1120px, 100%);
  margin: 20px auto 0;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.source-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.source-card {
  min-height: 290px;
  padding: clamp(22px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.source-card p {
  color: var(--muted);
  line-height: 1.65;
}

.instagram-card {
  background:
    linear-gradient(135deg, rgba(216, 177, 95, .2), transparent 55%),
    var(--surface);
}

.youtube-card {
  background:
    linear-gradient(135deg, rgba(180, 46, 46, .24), transparent 55%),
    var(--surface);
}

.payment-strip div:first-child {
  display: grid;
  gap: 6px;
}

.qris-box {
  width: 108px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(45deg, var(--text) 0 8px, transparent 8px 16px),
    var(--surface-2);
  color: var(--bg);
  font-weight: 900;
}

.booking-form {
  width: min(880px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  min-height: 48px;
  padding: 12px 13px;
  outline: none;
}

textarea { resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
}

.full { grid-column: 1 / -1; }

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stars {
  color: var(--gold-2);
  margin-bottom: 12px;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  position: relative;
  aspect-ratio: 1.18;
}

.gallery-item img {
  transition: transform .45s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .54);
  color: #fff7ea;
}

.faq-list {
  width: min(820px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details {
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-grid a,
.contact-grid span {
  min-height: 110px;
  padding: 18px;
  display: flex;
  align-items: end;
  font-weight: 900;
}

.hours {
  width: min(1120px, 100%);
  margin: 18px auto 0;
}

.admin-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.admin-panel {
  display: grid;
  gap: 14px;
}

.stats-panel {
  gap: 16px;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.stat strong {
  color: var(--gold-2);
  font-size: 28px;
}

.site-footer {
  padding: 46px 18px;
  display: grid;
  place-items: center;
  gap: 20px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer img {
  width: 120px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

@keyframes loaderOut {
  to { opacity: 0; visibility: hidden; }
}

@keyframes logoPulse {
  from { transform: scale(.88); opacity: .2; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes cinematicMove {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-76px, -56px, 0); }
}

@media (max-width: 1180px) {
  .site-header {
    gap: 12px;
    padding-inline: 18px;
  }

  .main-nav {
    gap: 13px;
    font-size: 13px;
  }

  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-card {
    min-height: 360px;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .nav-toggle { display: inline-grid; place-items: center; }

  .main-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: none;
    padding: 18px;
    background: rgba(12, 11, 10, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  body.nav-open .main-nav {
    display: grid;
    justify-items: start;
  }

  .about-grid,
  .source-grid,
  .admin-grid,
  .contact-grid,
  .portfolio-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crew-intro {
    align-items: start;
    flex-direction: column;
  }

  .crew-tags {
    justify-content: flex-start;
  }

  .crew-grid {
    grid-template-columns: 1fr;
  }

  .crew-card {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 64px 16px;
  }

  .hero {
    align-items: end;
    min-height: 88svh;
    padding-top: 92px;
    padding-bottom: 38px;
  }

  .section-head.inline,
  .payment-strip {
    align-items: start;
    flex-direction: column;
  }

  .video-slider {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }

  .showcase-track {
    grid-auto-columns: 86%;
  }

  .booking-form,
  .about-grid,
  .source-grid,
  .admin-grid,
  .contact-grid,
  .portfolio-grid,
  .price-grid,
  .testimonial-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card .cover {
    height: 210px;
  }

  .crew-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .crew-photo img {
    aspect-ratio: 3 / 4;
    height: auto;
  }

  .crew-copy {
    align-self: auto;
  }

  .video-card {
    min-height: 390px;
  }

  .video-card video,
  .external-video {
    min-height: 320px;
  }

  .price-card {
    min-height: auto;
  }

  .contact-grid a,
  .contact-grid span {
    min-height: 88px;
  }
}

@media (max-width: 480px) {
  .site-header {
    min-height: 66px;
    padding: 9px 12px;
  }

  .brand img {
    width: 64px;
    height: 42px;
  }

  .main-nav {
    inset: 66px 0 auto 0;
  }

  .theme-toggle,
  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 84svh;
    padding-top: 72px;
    padding-bottom: 24px;
  }

  .hero-logo {
    width: 116px;
    margin-bottom: 8px;
  }

  .hero-copy,
  .tagline {
    font-size: 16px;
    line-height: 1.38;
    margin-bottom: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 42px;
  }

  .category-row span,
  .target-line,
  .crew-tags span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .trust-row {
    gap: 8px;
    margin-top: 12px;
  }

  .trust-row span {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  h1 {
    font-size: clamp(34px, 12vw, 46px);
  }

  h2 {
    font-size: clamp(28px, 10vw, 36px);
  }

  .showcase-track {
    grid-auto-columns: 92%;
  }

  .video-card {
    min-height: 360px;
  }

  .video-card video,
  .external-video {
    min-height: 292px;
  }

  .payment-strip,
  .admin-panel,
  .source-card,
  .portfolio-body,
  .price-card,
  .testimonial-card {
    padding: 16px;
  }
}
