/* Etalase Erliza Kuliner — dark luxury, minimalis (Fase 13A). Tanpa pustaka; animasi menghormati prefers-reduced-motion. */
:root {
  --charcoal: #171614;
  --brown: #29221d;
  --brown-2: #1f1a16;
  --gold: #c69a57;
  --gold-light: #ddb87a;
  --cream: #f5efe5;
  --gray: #b8b1a7;
  --line: rgba(198, 154, 87, 0.22);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
em {
  font-style: italic;
  color: var(--gold);
}
.container {
  width: min(1200px, 100% - 2.5rem);
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--charcoal);
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}
:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Tipografi ---------- */
.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.eyebrow::before {
  content: '';
  width: 2.2rem;
  height: 1px;
  background: currentColor;
}
.section__title {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.section__lead {
  margin: 0;
  color: var(--gray);
  max-width: 42rem;
}
.prose p {
  margin: 0 0 1rem;
  color: var(--gray);
}
.link-gold {
  color: var(--gold);
  text-decoration: none;
  font-weight: 400;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.link-gold:hover {
  border-color: var(--gold);
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    background 0.35s,
    color 0.35s,
    box-shadow 0.35s;
}
.btn__arrow {
  transition: transform 0.35s var(--ease);
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}
.btn--gold {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 10px 30px rgba(198, 154, 87, 0.25);
}
.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(198, 154, 87, 0.35);
}
.btn--outline {
  border: 1px solid rgba(245, 239, 229, 0.45);
  color: var(--cream);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- Welcome ---------- */
.welcome {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--brown);
  text-align: center;
  transition:
    opacity 0.7s var(--ease),
    visibility 0.7s;
}
.welcome {
  display: none;
}
.has-welcome .welcome {
  display: grid;
  /* Cadangan: sambutan tetap hilang sendiri walau site.js gagal dimuat (biasanya site.js menutupnya ±1,5 dtk). */
  animation: welcome-auto-hide 0.7s 3.2s var(--ease) forwards;
}
@keyframes welcome-auto-hide {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
.has-welcome {
  --welcome-delay: 1.35s;
}
.welcome.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.welcome__inner {
  padding: 1.5rem;
}
.welcome__logo {
  width: min(360px, 72vw);
  height: auto;
  margin: 0 auto 1.4rem;
  animation: welcome-logo 1.1s var(--ease) both;
}
.welcome__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 600;
  color: #4a1d07;
  animation: fade-up 0.9s 0.35s var(--ease) both;
}
.welcome__subtitle {
  margin: 0.3rem 0 0;
  color: #7a5a3c;
  letter-spacing: 0.08em;
  animation: fade-up 0.9s 0.55s var(--ease) both;
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition:
    background 0.4s,
    box-shadow 0.4s,
    backdrop-filter 0.4s;
}
.nav.is-scrolled {
  background: rgba(23, 22, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo-plate {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  background: var(--cream);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.logo-plate img {
  width: 128px;
  height: auto;
}
.logo-plate--lg img {
  width: 180px;
}
.nav__brand {
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-left: auto;
}
.nav__links a:not(.btn) {
  position: relative;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.3s;
}
.nav__links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
  transition: right 0.4s var(--ease);
}
.nav__links a:not(.btn):hover {
  opacity: 1;
}
.nav__links a:not(.btn):hover::after {
  right: 0;
}
.nav__cta-mobile {
  display: none;
}
.nav__toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(23, 22, 20, 0.6);
  cursor: pointer;
  padding: 12px;
  flex-direction: column;
  justify-content: space-between;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition:
    transform 0.35s var(--ease),
    opacity 0.3s;
}
.nav.is-open .nav__toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav.is-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}
.nav.is-open .nav__toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--nav-h) + 2.5rem) 0 5.5rem;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(41, 34, 29, 0.9), transparent 60%),
    linear-gradient(180deg, var(--charcoal), #141311);
}
.hero__glow {
  position: absolute;
  z-index: -1;
  right: -10%;
  top: 50%;
  width: min(900px, 80vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(198, 154, 87, 0.22) 0%,
    rgba(198, 154, 87, 0.06) 45%,
    transparent 70%
  );
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.hero__media {
  position: relative;
}
.hero__plate {
  position: relative;
}
.hero__media--cutout .hero__img {
  width: 112%;
  max-width: none;
  margin-left: -4%;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6));
  animation:
    fade-in 1.4s var(--welcome-delay, 0s) var(--ease) both,
    plate-spin 160s linear infinite;
}
.hero__media--framed .hero__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 320px 320px var(--radius) var(--radius);
  box-shadow: var(--shadow);
  animation:
    fade-in 1.4s var(--welcome-delay, 0s) var(--ease) both,
    slow-zoom 22s 1s ease-in-out infinite alternate;
}
.hero__media--framed .hero__plate {
  overflow: hidden;
  border-radius: 320px 320px var(--radius) var(--radius);
}
.hero__media--framed .hero__plate::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(221, 184, 122, 0.5);
  border-radius: 306px 306px 12px 12px;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
}
.hero__title {
  margin: 0 0 1.4rem;
  max-width: 13ch;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.hero__title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
}
.hero__title .word > span {
  display: inline-block;
}
.js .hero__title .word > span {
  animation: word-up 1s calc(var(--welcome-delay, 0s) + 0.25s + var(--i, 0) * 0.08s) var(--ease) both;
}
.hero__title .word:last-child > span {
  font-style: italic;
  color: var(--gold);
}
.hero__subtitle {
  max-width: 34rem;
  margin: 0 0 2.2rem;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: rgba(245, 239, 229, 0.82);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.js [data-hero-in] {
  animation: fade-up 1s calc(var(--welcome-delay, 0s) + 0.35s + var(--d, 0) * 0.08s) var(--ease) both;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.6rem 0 0;
  font-size: 0.9rem;
  color: var(--gray);
}
.status--center {
  justify-content: center;
}
.status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gray);
}
.status.is-open .status__dot {
  background: #7fc48a;
  box-shadow: 0 0 0 0 rgba(127, 196, 138, 0.6);
  animation: pulse 2s infinite;
}
.status.is-open {
  color: var(--cream);
}
.hero__float {
  position: absolute;
  left: -6%;
  bottom: -4%;
  width: clamp(110px, 13vw, 200px);
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1px solid rgba(245, 239, 229, 0.4);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold);
  animation: scroll-dot 2s infinite;
}

/* ---------- Pita sajian ---------- */
.ribbon {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--brown-2);
  padding: 1.1rem 0;
}
.ribbon__track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--cream);
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.ribbon__track i {
  font-style: normal;
  color: var(--gold);
  font-size: 0.8rem;
}

/* ---------- Section umum ---------- */
.section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
}
.section--alt {
  background: linear-gradient(180deg, var(--brown-2), var(--brown) 50%, var(--brown-2));
}
.section__head {
  margin-bottom: 3rem;
}
.section__cta {
  margin-top: 3rem;
  text-align: center;
}

/* ---------- Tentang ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.about__media {
  position: relative;
}
.about__frame {
  position: absolute;
  inset: 1.6rem -1.6rem -1.6rem 1.6rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  opacity: 0.6;
}
.about__img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about__text .prose {
  margin-bottom: 1.4rem;
}

/* ---------- Menu ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.4rem;
}
.tab {
  min-height: 44px;
  padding: 0.55rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--gray);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.tab:hover {
  color: var(--cream);
  border-color: var(--gold);
}
.tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}
.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 22, 20, 0.55);
  transition:
    transform 0.5s var(--ease),
    border-color 0.4s,
    box-shadow 0.5s;
}
.card[hidden] {
  display: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 154, 87, 0.55);
  box-shadow: var(--shadow);
}
.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--brown);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.07);
}
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.3rem 1.4rem 1.5rem;
}
.card__title {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
}
.card__desc {
  margin: 0 0 1rem;
  color: var(--gray);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__price {
  margin: auto 0 0;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.card__price s {
  color: var(--gray);
  font-weight: 300;
  margin-right: 0.3rem;
}
.badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
}
.empty {
  padding: 2.5rem;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--gray);
}

/* ---------- Sajian istimewa ---------- */
.highlight {
  overflow: hidden;
}
.highlight__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.highlight__name {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1;
  color: var(--gold);
}
.highlight__desc {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
  color: var(--cream);
}
.highlight__note {
  margin: 0 0 1rem;
  color: var(--gray);
}
.highlight__price {
  margin: 0 0 1.8rem;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--cream);
}
.highlight__media {
  position: relative;
}
.highlight__media::before {
  content: '';
  position: absolute;
  inset: 8% -8% 8% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 154, 87, 0.28), transparent 65%);
  filter: blur(10px);
}
.highlight__img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Galeri ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 1rem;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--brown);
  cursor: zoom-in;
}
.gallery__item--wide {
  grid-column: span 2;
}
.gallery__item--tall {
  grid-row: span 2;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1s var(--ease),
    filter 0.6s;
}
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23, 22, 20, 0.55), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
}
.gallery__item:hover img {
  transform: scale(1.08);
}
.gallery__item:hover::after {
  opacity: 1;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 4rem 1rem;
  background: rgba(10, 9, 8, 0.94);
  animation: fade-in 0.35s var(--ease);
}
.lightbox[hidden] {
  display: none;
}
.lightbox__figure {
  margin: 0;
  max-width: min(1100px, 100%);
  text-align: center;
}
.lightbox__figure img {
  max-height: 78vh;
  margin: 0 auto;
  border-radius: 12px;
  animation: zoom-in 0.45s var(--ease);
}
.lightbox__figure figcaption {
  margin-top: 0.9rem;
  color: var(--gray);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(23, 22, 20, 0.7);
  color: var(--cream);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.3s,
    color 0.3s;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.lightbox__close {
  top: 1rem;
  right: 1rem;
}
.lightbox__nav--prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__nav--next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(198, 154, 87, 0.16), transparent 65%), var(--charcoal);
  border-block: 1px solid var(--line);
}
.cta-band__title {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
}
.cta-band__text {
  margin: 0 auto 2rem;
  max-width: 36rem;
  color: var(--gray);
}

/* ---------- Kontak ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.contact__card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(41, 34, 29, 0.55);
  text-decoration: none;
  transition:
    border-color 0.4s,
    transform 0.4s var(--ease);
}
a.contact__card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.contact__label {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact__value {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.3;
}
.contact__hint {
  color: var(--gray);
  font-size: 0.88rem;
}
.contact__hours {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--brown-2);
}
.hours {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(198, 154, 87, 0.12);
  color: var(--gray);
}
.hours li.is-today {
  color: var(--cream);
  font-weight: 500;
}
.hours li.is-today span:first-child::after {
  content: ' · Hari ini';
  color: var(--gold);
  font-weight: 400;
}

/* ---------- Footer ---------- */
.footer {
  padding: 4.5rem 0 2rem;
  background: #100f0d;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2.5rem;
}
.footer__brand p {
  margin: 1.2rem 0 0;
  max-width: 22rem;
}
.footer__nav {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}
.footer__nav a,
.footer__info a {
  text-decoration: none;
  transition: color 0.3s;
}
.footer__nav a:hover,
.footer__info a:hover {
  color: var(--gold);
}
.footer__info p {
  margin: 0 0 0.6rem;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(198, 154, 87, 0.12);
  font-size: 0.85rem;
}

/* ---------- 404 ---------- */
.notfound__inner {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.2rem;
  text-align: center;
}

/* ---------- Reveal saat digulir ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.09s);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Animasi ---------- */
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}
@keyframes word-up {
  from {
    transform: translateY(105%);
  }
}
@keyframes welcome-logo {
  from {
    opacity: 0;
    transform: scale(0.86);
  }
}
@keyframes plate-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes slow-zoom {
  to {
    transform: scale(1.08);
  }
}
@keyframes float {
  50% {
    transform: translateY(-16px) rotate(-2deg);
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(127, 196, 138, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(127, 196, 138, 0);
  }
}
@keyframes zoom-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
}

/* ---------- Responsif ---------- */
@media (max-width: 1024px) {
  .menu__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav__links {
    gap: 1.2rem;
  }
}
@media (max-width: 860px) {
  :root {
    --nav-h: 68px;
  }
  .nav__toggle {
    display: flex;
  }
  .nav__cta {
    display: none;
  }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 1rem 1.25rem 1.6rem;
    background: rgba(23, 22, 20, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    visibility: hidden;
    transition:
      transform 0.45s var(--ease),
      visibility 0.45s;
  }
  .nav.is-open .nav__links {
    transform: none;
    visibility: visible;
  }
  .nav.is-open {
    background: rgba(23, 22, 20, 0.97);
  }
  .nav__links a:not(.btn) {
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(198, 154, 87, 0.12);
    font-size: 0.95rem;
  }
  .nav__links a:not(.btn)::after {
    display: none;
  }
  .nav__cta-mobile {
    display: inline-flex;
    margin-top: 1.2rem;
  }
  .about__grid,
  .highlight__grid,
  .contact__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .about__frame {
    inset: 1rem -0.6rem -1rem 1rem;
  }
  .highlight__media {
    order: -1;
  }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery__item--wide {
    grid-column: span 2;
  }
  .hero {
    padding-bottom: 4.5rem;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero__media {
    width: min(460px, 92%);
    margin-inline: auto;
  }
  .hero__glow {
    top: auto;
    bottom: -10%;
    right: 50%;
    transform: translateX(50%);
  }
  .hero__float {
    left: -4%;
    bottom: -6%;
  }
}
@media (max-width: 560px) {
  .container {
    width: calc(100% - 2rem);
  }
  .menu__grid {
    grid-template-columns: 1fr;
  }
  .gallery__grid {
    grid-auto-rows: 160px;
    gap: 0.6rem;
  }
  .hero__actions .btn {
    flex: 1 1 100%;
  }
  .hero__float {
    width: 92px;
  }
  .hero__scroll {
    display: none;
  }
  .lightbox__nav {
    top: auto;
    bottom: 1rem;
    transform: none;
  }
  .footer__bottom {
    justify-content: center;
    text-align: center;
  }
  .logo-plate img {
    width: 112px;
  }
}

/* Pengguna yang meminta gerakan minimal: tanpa animasi, konten langsung tampil. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .welcome {
    display: none;
  }
  .ribbon__track {
    animation: none;
  }
}
