:root {
  --ink: #14181c;
  --sea: #24464a;
  --sand: #efe9de;
  --sand-warm: #e4dac6;
  --ember: #c76a3f;
  --light-ember: #ffc8ae;
  --palm: #4d6b4f;
  --paper: #fbf9f5;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img { max-width: 100%; display: block; border-radius: 4px; }
a { color: var(--sea); }

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 600;
  margin: 0 0 8px;
}

.eyelash {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light-ember);
  font-weight: 600;
  margin: 0 0 8px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0 0 0.4em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* Header */
.site-header {
  background: var(--ink);
  position: sticky;
  top: 0;          
  z-index: 50;     
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  color: var(--sand);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-block;
}
.site-nav a {
  color: var(--sand-warm);
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.92rem;
}
.site-nav a.active {
  color: var(--ember);
  font-weight: 600;
}
.site-nav a:hover { color: var(--ember); }

.nav-toggle { display: none; }
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 8px;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--sand);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 640px) {
  .nav-burger { display: flex; }

  .site-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .site-nav a {
    margin-left: 0;
    padding: 14px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .nav-toggle:checked ~ .site-nav {
    max-height: 400px;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--sea) 0%, #1c3336 100%);
  color: var(--sand);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,24,28,0.35) 0%, rgba(20,24,28,0.75) 100%);
  z-index: 1;
}
.hero__inner { padding: 96px 24px 140px; position: relative; z-index: 2; }
.hero h1 { color: var(--sand); }
.hero__lede {
  max-width: 46ch;
  font-size: 1.1rem;
  color: var(--sand-warm);
}
.hero__cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero__horizon {
  position: absolute;
  left: 0; right: 0; bottom: -1px; height: 90px;
  background: var(--ink);
  clip-path: polygon(0 60%, 6% 45%, 14% 62%, 24% 40%, 34% 58%, 46% 35%, 58% 60%, 70% 42%, 82% 58%, 92% 40%, 100% 55%, 100% 100%, 0 100%);
  z-index: 2;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--sand-warm);
  color: var(--sand);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.btn--primary {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--paper);
}

/* Sections */
.section { padding: 32px 24px; }
.section--muted { background: var(--sand-warm); border-radius: 12px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.card {
  background: var(--paper);
  border: 1px solid #ddd3bf;
  border-radius: 8px;
  padding: 20px;
}
.card--link { text-decoration: none; color: var(--ink); display: block; }
.card__img { width: 100%; height: 160px; object-fit: cover; margin-bottom: 12px; }
.card h3 { margin-bottom: 6px; }
.card a { font-size: 0.9rem; }

.detail__hero { width: 100%; max-height: 420px; object-fit: cover; margin: 20px 0; }
.prose {
  max-width: 68ch;
  /* text-align: justify; */  
}
.prose p { margin-bottom: 1.1em; }

.contact-list { list-style: none; padding: 0; font-size: 1.05rem; }
.contact-list li { margin-bottom: 12px; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--sand-warm);
  margin-top: auto;
}
.site-footer__inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding: 40px 24px 16px;
}
.site-footer__links a { color: var(--sand-warm); margin-left: 16px; text-decoration: none; }
.site-footer__note {
  padding: 0 24px 32px;
  font-size: 0.85rem;
  color: #a99f8c;
}
.site-footer__note a { color: var(--sand-warm); }

/* Aksesibilitas */
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.scroll-gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin-top: 20px;
}
.scroll-gallery__img {
  flex: 0 0 auto;
  width: 220px;
  height: 150px;
  object-fit: cover;
  scroll-snap-align: start;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 28, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: min(90vw, 1000px);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
}
.lightbox__caption {
  color: var(--sand-warm);
  margin-top: 14px;
  font-size: 0.95rem;
  text-align: center;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: var(--sand);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}
.lightbox__close:hover { color: var(--ember); }

/* Embeded Video */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 20px 0;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

/* Marquee */
.marquee {
  position: relative;
  display: block;
  overflow: hidden;
  margin-top: 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.marquee__img {
  flex: 0 0 auto;
  width: 220px;
  height: 150px;
  object-fit: cover;
}
.marquee__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 24, 28, 0.55);
  color: var(--sand);
  font-family: var(--font-display);
  font-size: 1.3rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.marquee:hover .marquee__overlay,
.marquee:focus-visible .marquee__overlay {
  opacity: 1; 
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* Contact List */
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--ember);
}

/* Buy Button */
.buy-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 24px;
}
.buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid #ddd3bf;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.buy-btn::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
}
.buy-btn:hover {
  border-color: var(--ember);
  transform: translateY(-1px);
}