/* ==========================================================
   Pesona Warisan — Corak Batik Sabah
   Stylesheet
   ========================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  --ink:      #17110E;
  --ink-2:    #241A15;
  --ink-3:    #3A2A22;
  --maroon:   #7A1220;
  --maroon-d: #4E0A14;
  --red:      #C4362F;
  --gold:     #D8A32C;
  --gold-l:   #F3D07A;
  --cream:    #F7F0E1;
  --sand:     #EADFC7;
  --white:    #FFFDF8;

  --f-disp: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, monospace;

  --wrap: 1200px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;

  --sh-sm: 0 2px 10px rgba(23,17,14,.08);
  --sh: 0 14px 40px -14px rgba(23,17,14,.28);
  --sh-lg: 0 34px 80px -30px rgba(23,17,14,.45);

  --ease: cubic-bezier(.22,.75,.28,1);
  --t-fast: .22s var(--ease);
  --t: .45s var(--ease);
  --t-slow: .8s var(--ease);

  --nav-h: 76px;

  /* repeating batik diamond pattern */
  --pat-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23D8A32C' stroke-opacity='.17' stroke-width='1.4'%%3E%3Cpath d='M32 3 61 32 32 61 3 32Z'/%3E%3Cpath d='M32 15 49 32 32 49 15 32Z'/%3E%3C/g%3E%3C/svg%3E");
  --pat-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%237A1220' stroke-opacity='.09' stroke-width='1.4'%%3E%3Cpath d='M32 3 61 32 32 61 3 32Z'/%3E%3Cpath d='M32 15 49 32 32 49 15 32Z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-sans);
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem);
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; background: var(--ink-3); }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-disp); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: italic; }

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--maroon); color: var(--cream); }

/* ---------- 3. LAYOUT ---------- */
.wrap { width: min(100% - (var(--pad) * 2), var(--wrap)); margin-inline: auto; }

.sec { position: relative; padding: clamp(4.5rem, 9vw, 8.5rem) 0; }
.sec--cream { background: var(--cream); }
.sec--sand  { background: var(--sand); }
.sec--ink   { background: var(--ink); color: #E8DCC9; }
.sec--ink h1, .sec--ink h2, .sec--ink h3 { color: var(--white); }
.sec--ink .sec__sub { color: #BCA98D; }
.sec--maroon {
  background:
    radial-gradient(120% 90% at 12% 0%, #8E1A28 0%, transparent 55%),
    linear-gradient(165deg, var(--maroon) 0%, var(--maroon-d) 100%);
  color: #F3E7D2;
}
.sec--maroon h2, .sec--maroon h3 { color: var(--white); }
.sec--maroon .sec__sub { color: #E4CFB4; }
.sec--cream, .sec--sand { background-image: var(--pat-dark); background-size: 320px; }
.sec--ink::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--pat-ink); background-size: 340px;
  opacity: .55; pointer-events: none;
}
.sec--maroon::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--pat-ink); background-size: 340px;
  opacity: .5; pointer-events: none;
}
.sec > .wrap { position: relative; z-index: 1; }

/* section head */
.sec__head { max-width: 62ch; margin-bottom: clamp(2.4rem, 4.5vw, 3.8rem); }
.sec__title {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.5rem);
  margin-block: .5rem .8rem;
}
.sec__title em { color: var(--maroon); font-style: italic; }
.sec--ink .sec__title em, .sec--maroon .sec__title em { color: var(--gold-l); }
.sec__sub { color: #6C5B4C; font-size: 1.04em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-sans); font-size: .755rem; font-weight: 700;
  letter-spacing: .19em; text-transform: uppercase;
  color: var(--gold-l);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; flex: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent);
}
.eyebrow--dark { color: var(--maroon); }

/* ---------- 4. BUTTONS ---------- */
.btn {
  --bg: var(--gold); --fg: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95em 1.7em;
  background: var(--bg); color: var(--fg);
  border-radius: 100px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  white-space: nowrap; cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  box-shadow: 0 6px 18px -6px rgba(23,17,14,.5);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -10px rgba(23,17,14,.6); }
.btn:active { transform: translateY(-1px); }
.btn--gold  { --bg: linear-gradient(135deg, var(--gold-l), var(--gold)); --fg: var(--ink); }
.btn--maroon{ --bg: var(--maroon); --fg: var(--white); }
.btn--ink   { --bg: var(--ink); --fg: var(--cream); }
.btn--ghost {
  --bg: transparent; --fg: var(--cream);
  border: 1.5px solid color-mix(in srgb, var(--gold) 55%, transparent);
  box-shadow: none;
}
.btn--ghost:hover { --bg: color-mix(in srgb, var(--gold) 14%, transparent); border-color: var(--gold); }
.btn--sm { padding: .62em 1.15em; font-size: .845rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; font-size: .92rem; color: var(--maroon);
  border-bottom: 2px solid color-mix(in srgb, var(--maroon) 30%, transparent);
  padding-bottom: 2px;
  transition: gap var(--t-fast), border-color var(--t-fast);
}
.link-arrow:hover { gap: .85rem; border-color: var(--maroon); }

.play-ico {
  width: 0; height: 0; flex: none;
  border-left: 11px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.play-ico--lg { border-left-width: 18px; border-top-width: 12px; border-bottom-width: 12px; }

/* ---------- 5. PROGRESS + TOP ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200;
  background: transparent; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--maroon), var(--red), var(--gold));
  box-shadow: 0 0 12px rgba(216,163,44,.7);
  transition: width .1s linear;
}

.totop {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 120;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--gold);
  box-shadow: var(--sh);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: all var(--t-fast);
}
.totop.on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--maroon); color: var(--white); transform: translateY(-3px); }
.totop svg { width: 20px; height: 20px; }

/* ---------- 6. NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 150;
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
.nav.stuck {
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: color-mix(in srgb, var(--gold) 22%, transparent);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.8);
}
.nav__inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--cream); }
.brand__mark { width: 40px; height: 40px; flex: none; color: var(--gold); transition: transform var(--t); }
.brand__mark svg { width: 100%; height: 100%; }
.brand:hover .brand__mark { transform: rotate(90deg); }
.brand__txt { display: grid; line-height: 1.1; }
.brand__txt strong {
  font-family: var(--f-disp); font-size: 1.28rem; font-weight: 700;
  letter-spacing: .01em; color: var(--white);
}
.brand__txt small {
  font-size: .625rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-l); font-weight: 600;
}

.nav__links { display: flex; align-items: center; gap: clamp(.5rem, 1.4vw, 1.25rem); }
.nav__links a:not(.btn) {
  position: relative; color: #DCCEB6; font-size: .875rem; font-weight: 500;
  padding: .35rem 0; white-space: nowrap;
  transition: color var(--t-fast);
}
.nav__links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-fast);
}
.nav__links a:not(.btn):hover,
.nav__links a.active { color: var(--white); }
.nav__links a:not(.btn):hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__cta { margin-left: .3rem; }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: color-mix(in srgb, var(--gold) 12%, transparent);
}
.burger span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--gold-l); transition: transform var(--t-fast), opacity var(--t-fast);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__scrim {
  position: fixed; inset: 0; z-index: 140;
  background: rgba(12,8,6,.62);
  backdrop-filter: blur(3px);
  opacity: 0; transition: opacity var(--t-fast);
}
.nav__scrim.on { opacity: 1; }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative; isolation: isolate;
  padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(110% 80% at 78% 8%, #3B2418 0%, transparent 55%),
    radial-gradient(90% 70% at 8% 100%, #5A1220 0%, transparent 58%),
    linear-gradient(160deg, #1C1512 0%, var(--ink) 55%, #100C0A 100%);
  color: #E9DDC9;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: -10%;
  background-image: var(--pat-ink); background-size: 300px;
  opacity: .5; z-index: -2;
  animation: drift 60s linear infinite;
}
.hero__glow {
  position: absolute; z-index: -1;
  width: 60vw; height: 60vw; max-width: 780px; max-height: 780px;
  right: -12%; top: -18%;
  background: radial-gradient(circle, rgba(216,163,44,.24), transparent 62%);
  filter: blur(30px);
  animation: pulse 9s var(--ease) infinite alternate;
}
@keyframes drift { to { transform: translate3d(-300px, -300px, 0); } }
@keyframes pulse { to { transform: scale(1.14); opacity: .78; } }

.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(2.5rem, 5vw, 5rem); align-items: center;
}

.eyebrow + h1 { margin-top: 1rem; }
.hero h1 { display: grid; gap: .1em; }
.hero__title-a {
  font-size: clamp(2.9rem, 1.1rem + 7.4vw, 6.4rem);
  font-weight: 700; line-height: .92; letter-spacing: -.02em;
  background: linear-gradient(96deg, var(--gold-l) 0%, #FFF0C4 34%, var(--gold) 68%, #E9A93B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 26px rgba(216,163,44,.28));
}
.hero__title-b {
  font-family: var(--f-sans);
  font-size: clamp(.82rem, .6rem + .8vw, 1.12rem);
  font-weight: 600; letter-spacing: .38em; text-transform: uppercase;
  color: var(--gold-l);
}
.hero__tag {
  margin-top: 1.4rem;
  font-family: var(--f-disp); font-style: italic;
  font-size: clamp(1.05rem, .85rem + .8vw, 1.5rem);
  color: #F0E0C2; line-height: 1.45;
}
.hero__tag em { color: var(--gold); font-style: normal; padding-inline: .18em; }

.hero__lead {
  margin-top: 1.5rem; max-width: 56ch;
  font-size: 1.04em; color: #CFC0A6;
}
.hero__lead strong { color: var(--white); font-weight: 700; }

.hero__actions { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: .85rem; }

.hero__meta {
  margin-top: 2.4rem; padding-top: 1.6rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.1rem 1.6rem;
}
.hero__meta li { display: grid; gap: .18rem; }
.hero__meta span {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.hero__meta strong { color: #F0E4CE; font-weight: 600; font-size: .93rem; line-height: 1.35; }
.mono { font-family: var(--f-mono); letter-spacing: .04em; }

/* hero art */
.hero__art { position: relative; aspect-ratio: 1 / 1.06; }
.hero__frame {
  position: absolute; margin: 0; overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  background: var(--ink-3);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 1.6rem .95rem .7rem;
  background: linear-gradient(transparent, rgba(10,7,5,.85));
  color: #F2E6D0; font-size: .74rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.hero__frame--a {
  inset: 0 12% 12% 0;
  border: 1.5px solid color-mix(in srgb, var(--gold) 45%, transparent);
  animation: float 7s var(--ease) infinite alternate;
}
.hero__frame--b {
  inset: 22% 0 0 58%;
  border: 1.5px solid color-mix(in srgb, var(--gold) 30%, transparent);
  animation: float 9s var(--ease) .8s infinite alternate-reverse;
}
@keyframes float { to { transform: translateY(-14px); } }

.hero__badge {
  position: absolute; left: 3.5%; top: 4.5%;
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; z-index: 3;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--gold);
  color: var(--gold-l);
  transition: transform var(--t-fast), background var(--t-fast);
}
.hero__badge:hover { transform: scale(1.08); background: var(--maroon); color: var(--white); }
.hero__badge-ring {
  position: absolute; inset: -9px; border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--gold) 45%, transparent);
  animation: ring 2.6s var(--ease) infinite;
}
@keyframes ring {
  0%, 100% { transform: scale(1); opacity: .7; }
  50%      { transform: scale(1.13); opacity: 0; }
}
.hero__badge-txt { display: grid; text-align: center; line-height: 1; }
.hero__badge-txt b { font-family: var(--f-disp); font-size: 1.5rem; }
.hero__badge-txt small { font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; }

.hero__seal {
  position: absolute; right: -3%; top: -7%;
  width: clamp(96px, 12vw, 150px); aspect-ratio: 1;
  color: var(--gold); opacity: .82;
  animation: spin 34s linear infinite;
}
.hero__seal svg { width: 100%; height: 100%; }
.hero__seal text { font-family: var(--f-sans); font-size: 12.4px; font-weight: 700; letter-spacing: 3.1px; fill: currentColor; }
@keyframes spin { to { transform: rotate(360deg); } }

/* stats */
.stats {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: color-mix(in srgb, var(--gold) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
  border-radius: var(--r); overflow: hidden;
}
.stats li {
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  backdrop-filter: blur(6px);
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  display: grid; gap: .3rem;
}
.stats b {
  font-family: var(--f-disp); font-weight: 700;
  font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.2rem);
  line-height: 1; color: var(--gold-l);
}
.stats span { font-size: .8rem; letter-spacing: .06em; color: #C4B498; }

.scroll-cue {
  display: block; width: 26px; height: 44px; margin: clamp(1.6rem, 3vw, 2.6rem) auto 0;
  border: 1.5px solid color-mix(in srgb, var(--gold) 45%, transparent);
  border-radius: 100px; position: relative;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 9px;
  width: 3px; height: 8px; border-radius: 3px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: cue 1.9s var(--ease) infinite;
}
@keyframes cue {
  0%   { opacity: 0; transform: translate(-50%, -6px); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 20px); }
}

/* ---------- 8. SHOT / FIGURES ---------- */
.shot { margin: 0; }
.shot img {
  width: 100%; border-radius: var(--r-lg);
  box-shadow: var(--sh); object-fit: cover;
}
.shot figcaption {
  margin-top: .7rem; font-size: .78rem; color: #7C6A59;
  letter-spacing: .04em;
}
.sec--ink .shot figcaption { color: #A8977C; }
.shot--banner { margin-top: clamp(2rem, 4vw, 3rem); }
.shot--banner img { max-height: 260px; object-fit: cover; }

/* ---------- 9. ABOUT ---------- */
.about {
  display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.about__text > p + p { margin-top: 1.15rem; }
.about__text .lead { font-size: 1.1em; color: var(--ink-3); }
.about__text { color: #5B4B3E; }

.quote {
  margin-top: 2rem; padding: 1.6rem 1.8rem;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-d));
  color: #F6E9D2; border-radius: var(--r);
  border-left: 4px solid var(--gold);
  box-shadow: var(--sh);
}
.quote p { font-family: var(--f-disp); font-size: 1.24em; line-height: 1.5; }
.quote cite {
  display: block; margin-top: .8rem;
  font-family: var(--f-sans); font-style: normal;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-l); font-weight: 700;
}

.about__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }

.about__aside { display: grid; gap: 1.4rem; }
.shot--tall img { aspect-ratio: 3 / 4; }
.shot--wide img { aspect-ratio: 4 / 3; }

/* ---------- 10. MOTIFS ---------- */
.motifs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.motif {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(58,42,34,.55), rgba(23,17,14,.75));
  border: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
  border-radius: var(--r); overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.motif:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
  box-shadow: 0 26px 54px -26px rgba(0,0,0,.85);
}
.motif__band { height: 84px; overflow: hidden; border-bottom: 1px solid rgba(216,163,44,.22); }
.motif__band svg { width: 100%; height: 100%; }
.motif__body { padding: 1.15rem 1.25rem 1.4rem; display: grid; gap: .5rem; position: relative; }
.motif__no {
  position: absolute; top: -14px; right: 1.1rem;
  font-family: var(--f-disp); font-size: 2.6rem; font-weight: 700;
  color: color-mix(in srgb, var(--gold) 26%, transparent);
  line-height: 1; pointer-events: none;
}
.motif h3 { font-size: 1.24rem; color: var(--white); }
.motif__eth {
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.motif__eth b { color: var(--gold-l); }
.motif__body > p:last-child { font-size: .89rem; line-height: 1.62; color: #C4B294; }

.note {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  padding: 1.1rem 1.35rem;
  border: 1px dashed color-mix(in srgb, var(--gold) 40%, transparent);
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--gold) 7%, transparent);
  font-size: .85rem; line-height: 1.65; color: #CDBBA0;
}
.note b { color: var(--gold-l); }
.note a { color: var(--gold-l); text-decoration: underline; text-underline-offset: 3px; }

.motif__doc {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 3.5vw, 3rem); align-items: center;
  padding-top: clamp(1.6rem, 3vw, 2.4rem);
  border-top: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
}
.shot--doc img { aspect-ratio: 4 / 3; border: 1px solid color-mix(in srgb, var(--gold) 26%, transparent); }
.motif__doc-txt h3 { font-size: 1.7rem; margin-bottom: .7rem; }
.motif__doc-txt p { color: #C4B294; font-size: .95rem; }

.tick { margin-top: 1.1rem; display: grid; gap: .6rem; }
.tick li { position: relative; padding-left: 1.9rem; font-size: .92rem; color: #CDBBA0; }
.tick li::before {
  content: ''; position: absolute; left: 0; top: .48em;
  width: 16px; height: 8px;
  border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- 11. PILLARS ---------- */
.pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.pillar {
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--maroon) 12%, transparent);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: color-mix(in srgb, var(--maroon) 32%, transparent); }
.pillar__ico {
  display: grid; place-items: center;
  width: 54px; height: 54px; margin-bottom: 1.1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--maroon) 12%, transparent), color-mix(in srgb, var(--gold) 20%, transparent));
  color: var(--maroon);
}
.pillar__ico svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.pillar p { font-size: .92rem; color: #63533F; }

/* ---------- 12. CARDS (CABARAN) ---------- */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.card {
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--maroon) 10%, transparent);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.card::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.card:hover::after { transform: scaleX(1); }
.card__no {
  display: inline-block; margin-bottom: .9rem;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em;
  padding: .25rem .6rem; border-radius: 6px;
  background: color-mix(in srgb, var(--maroon) 9%, transparent);
  color: var(--maroon);
}
.card h3 { font-size: 1.3rem; margin-bottom: .55rem; }
.card p { font-size: .92rem; color: #63533F; }

.pull {
  margin-top: clamp(2rem, 3.5vw, 3rem);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(120deg, var(--ink), var(--ink-3));
  border-radius: var(--r-lg);
  color: #EADCC4;
  border-left: 4px solid var(--gold);
  box-shadow: var(--sh);
}
.pull p { font-family: var(--f-disp); font-size: clamp(1.15rem, 1rem + 1.1vw, 1.75rem); line-height: 1.45; }
.pull b { color: var(--gold-l); }

/* ---------- 13. INOVASI ---------- */
.inno { display: grid; gap: clamp(.7rem, 1.4vw, 1rem); }
.inno__item {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 2vw, 1.8rem);
  align-items: start;
  padding: clamp(1.1rem, 2.2vw, 1.7rem);
  background: color-mix(in srgb, var(--white) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
  border-radius: var(--r);
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.inno__item:hover {
  background: color-mix(in srgb, var(--white) 15%, transparent);
  border-color: color-mix(in srgb, var(--gold) 45%, transparent);
  transform: translateX(6px);
}
.inno__n {
  font-family: var(--f-disp); font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.7rem);
  font-weight: 700; line-height: .9;
  color: var(--gold-l);
  min-width: 2.2ch;
}
.inno__item h3 { font-size: clamp(1.14rem, 1rem + .6vw, 1.42rem); margin-bottom: .4rem; }
.inno__item p { font-size: .93rem; color: #E0D0B4; }

.idea {
  margin-top: clamp(2rem, 3.5vw, 3rem);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.1rem, 2.4vw, 2rem);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(120deg, rgba(23,17,14,.55), rgba(23,17,14,.28));
  border: 1px solid var(--gold);
  border-radius: var(--r-lg);
  box-shadow: 0 22px 50px -26px rgba(0,0,0,.7);
}
.idea__ico {
  width: 50px; height: 50px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  color: var(--ink);
  animation: pulse 4s var(--ease) infinite alternate;
}
.idea__ico svg { width: 24px; height: 24px; }
.idea__lbl {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: .5rem;
}
.idea__txt { font-family: var(--f-disp); font-size: clamp(1.08rem, .98rem + .8vw, 1.5rem); line-height: 1.48; color: #F4E8D2; }

/* ---------- 14. PROSES / VIDEO ---------- */
.proses {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(1.6rem, 4vw, 3.5rem); align-items: start;
}
.proses__media { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: start; }
.proses__media-2 { width: clamp(150px, 22%, 230px); }

.vplayer {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: #0C0908; box-shadow: var(--sh-lg);
  border: 1px solid color-mix(in srgb, var(--gold) 26%, transparent);
  aspect-ratio: 9 / 14;
}
.vplayer video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vplayer__poster { width: 100%; height: 100%; object-fit: cover; }
.vplayer__play {
  position: absolute; inset: 0; margin: auto;
  width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--maroon) 82%, transparent);
  border: 2px solid var(--gold);
  color: var(--white);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 45%, transparent);
  transition: transform var(--t-fast), background var(--t-fast);
  animation: pulse-ring 2.6s var(--ease) infinite;
}
.vplayer__play:hover { transform: scale(1.1); background: var(--maroon); }
.vplayer__meta {
  position: absolute; inset: auto 0 0 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  padding: 2.2rem .85rem .85rem;
  background: linear-gradient(transparent, rgba(10,7,5,.88));
  color: #D9C9AE; font-size: .74rem; letter-spacing: .05em;
}
.pill {
  padding: .2rem .55rem; border-radius: 100px;
  background: color-mix(in srgb, var(--gold) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  color: var(--gold-l); font-size: .66rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.pill--live { background: color-mix(in srgb, var(--red) 26%, transparent); border-color: var(--red); color: #FFD9D5; }
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 45%, transparent); }
  60%      { box-shadow: 0 0 0 20px transparent; }
}

.steps { display: grid; gap: clamp(1rem, 2vw, 1.6rem); counter-reset: s; }
.steps li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 15%, transparent);
}
.steps li:last-child { border-bottom: 0; }
.steps__n {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-disp); font-weight: 700; font-size: 1.1rem;
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  color: var(--gold-l);
}
.steps h3 { font-size: 1.16rem; margin-bottom: .35rem; }
.steps p { font-size: .91rem; color: #BFAE93; }

/* ---------- 15. GALERI ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.8rem; }
.filter {
  padding: .55rem 1.1rem; border-radius: 100px;
  font-size: .84rem; font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--maroon) 18%, transparent);
  background: var(--white); color: #6A5847;
  transition: all var(--t-fast);
}
.filter:hover { border-color: var(--maroon); color: var(--maroon); }
.filter.on {
  background: var(--ink); border-color: var(--ink); color: var(--cream);
  box-shadow: var(--sh-sm);
}

.gallery {
  columns: 3 260px;
  column-gap: clamp(.7rem, 1.4vw, 1.1rem);
}
.gitem {
  position: relative; break-inside: avoid; margin-bottom: clamp(.7rem, 1.4vw, 1.1rem);
  border-radius: var(--r); overflow: hidden;
  background: var(--ink-3);
  box-shadow: var(--sh-sm);
  cursor: zoom-in;
  transition: opacity var(--t), transform var(--t-fast), box-shadow var(--t);
}
.gitem:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.gitem img { width: 100%; transition: transform var(--t-slow), opacity var(--t); }
.gitem:hover img { transform: scale(1.05); }
.gitem figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 2.4rem .9rem .8rem;
  background: linear-gradient(transparent, rgba(10,7,5,.9));
  color: #F0E4CE; font-size: .8rem; font-weight: 500; line-height: 1.4;
  opacity: 0; transform: translateY(10px);
  transition: all var(--t-fast);
}
.gitem:hover figcaption, .gitem:focus-visible figcaption { opacity: 1; transform: none; }
.gitem__tag {
  position: absolute; top: .7rem; left: .7rem;
  padding: .22rem .55rem; border-radius: 100px;
  background: color-mix(in srgb, var(--ink) 74%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  color: var(--gold-l);
  font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.gitem.hide { display: none; }

.gempty { padding: 3rem 1rem; text-align: center; color: #7C6A59; grid-column: 1/-1; }

/* ---------- 16. PRODUK ---------- */
.prods { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.prod {
  position: relative; padding: clamp(1.4rem, 2.6vw, 1.9rem);
  background: var(--white); border-radius: var(--r);
  border: 1px solid color-mix(in srgb, var(--maroon) 11%, transparent);
  box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
}
.prod:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: color-mix(in srgb, var(--maroon) 30%, transparent); }
.prod__ico {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-d));
  color: var(--gold-l);
}
.prod__ico svg { width: 24px; height: 24px; }
.prod h3 { font-size: 1.24rem; margin-bottom: .45rem; }
.prod p { font-size: .9rem; color: #63533F; }

.prod-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem); margin-top: clamp(2rem, 4vw, 3rem);
}
.prod-strip img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh); object-fit: cover; }
.prod-strip figure { margin: 0; }
.prod-strip figcaption { margin-top: .7rem; font-size: .8rem; color: #7C6A59; }

/* ---------- 17. IMPAK / ROADMAP ---------- */
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.panel {
  padding: clamp(1.5rem, 2.8vw, 2.2rem);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--maroon) 11%, transparent);
  box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.panel:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.panel__lbl {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--maroon); margin-bottom: .9rem;
}
.panel__lbl::before { content: ''; width: 22px; height: 2px; background: var(--gold); }
.panel h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.panel p { font-size: .93rem; color: #63533F; }
.panel ul { margin-top: 1rem; display: grid; gap: .55rem; }
.panel ul li { position: relative; padding-left: 1.5rem; font-size: .9rem; color: #63533F; }
.panel ul li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--gold); transform: rotate(45deg);
}

.vision {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(2rem, 4vw, 3.4rem);
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(216,163,44,.18), transparent 55%),
    linear-gradient(140deg, var(--ink), #2C1D16);
  color: #EFE2CC;
  text-align: center;
  box-shadow: var(--sh-lg);
  position: relative; overflow: hidden;
}
.vision::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--pat-ink); background-size: 260px; opacity: .4;
}
.vision > * { position: relative; }
.vision p { font-family: var(--f-disp); font-size: clamp(1.2rem, 1rem + 1.4vw, 2rem); line-height: 1.42; max-width: 46ch; margin-inline: auto; }
.vision em { color: var(--gold-l); }
.vision .eyebrow { justify-content: center; margin-bottom: 1rem; }

/* roadmap */
.road { margin-top: clamp(2rem, 4vw, 3rem); }
.road__track { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.road__item {
  position: relative; padding: 1.4rem 1.3rem 1.3rem;
  background: var(--white); border-radius: var(--r);
  border: 1px solid color-mix(in srgb, var(--maroon) 11%, transparent);
  box-shadow: var(--sh-sm);
}
.road__item::before {
  content: ''; position: absolute; top: -7px; left: 1.3rem;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--gold); border: 2.5px solid var(--cream);
}
.road__item span { font-family: var(--f-mono); font-size: .74rem; font-weight: 700; color: var(--maroon); letter-spacing: .1em; }
.road__item h4 { font-family: var(--f-sans); font-size: 1.04rem; font-weight: 700; margin: .35rem 0 .4rem; color: var(--ink); }
.road__item p { font-size: .87rem; color: #63533F; }

/* ---------- 18. FAQ ---------- */
.faq { display: grid; gap: .7rem; max-width: 900px; margin-inline: auto; }
.faq details {
  background: var(--white); border-radius: var(--r);
  border: 1px solid color-mix(in srgb, var(--maroon) 12%, transparent);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: box-shadow var(--t-fast), border-color var(--t-fast);
}
.faq details[open] { box-shadow: var(--sh); border-color: color-mix(in srgb, var(--maroon) 28%, transparent); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-weight: 700; font-size: 1.02rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: color-mix(in srgb, var(--maroon) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--maroon) 25%, transparent);
  background-image: linear-gradient(var(--maroon), var(--maroon)), linear-gradient(var(--maroon), var(--maroon));
  background-size: 11px 2px, 2px 11px;
  background-position: center, center;
  background-repeat: no-repeat;
  transition: transform var(--t-fast);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .faq__a { padding: 0 1.35rem 1.3rem; font-size: .93rem; color: #5F4F42; }
.faq summary:hover { color: var(--maroon); }

/* ---------- 19. CTA / FOOTER ---------- */
.cta {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background:
    radial-gradient(90% 130% at 10% 0%, #8E1A28, transparent 60%),
    linear-gradient(150deg, var(--maroon-d), var(--ink));
  color: #F0E2C8; text-align: center;
  position: relative; overflow: hidden;
}
.cta::before { content: ''; position: absolute; inset: 0; background-image: var(--pat-ink); background-size: 300px; opacity: .5; }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.2rem); color: var(--white); margin-bottom: .9rem; }
.cta h2 em { color: var(--gold-l); }
.cta p { max-width: 56ch; margin: 0 auto 2rem; color: #E0CFB2; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.cta__note { margin-top: 1.6rem; font-size: .8rem; color: #C6B191; }

.footer {
  background: var(--ink); color: #A8967C;
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
  font-size: .88rem;
}
.footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: clamp(1.6rem, 3.5vw, 3rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 16%, transparent);
}
.footer__brand { display: grid; gap: .9rem; }
.footer__brand p { max-width: 42ch; line-height: 1.7; }
.footer h4 {
  font-family: var(--f-sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .9rem;
}
.footer__links { display: grid; gap: .55rem; }
.footer__links a { transition: color var(--t-fast), padding-left var(--t-fast); }
.footer__links a:hover { color: var(--gold-l); padding-left: 5px; }
.footer__bottom {
  margin-top: 1.6rem; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: .8rem; font-size: .8rem; color: #7E6F5C;
}
.footer__bottom a { color: var(--gold-l); }

/* ---------- 20. LIGHTBOX ---------- */
.lb {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(9,6,5,.94);
  backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-fast), visibility var(--t-fast);
}
.lb.on { opacity: 1; visibility: visible; }
.lb__fig { margin: 0; max-width: min(1000px, 100%); display: grid; gap: 1rem; }
.lb__fig img {
  width: 100%; max-height: 78vh; object-fit: contain;
  border-radius: var(--r); box-shadow: var(--sh-lg);
  background: var(--ink-3);
}
.lb__cap { color: #E4D6BC; font-size: .9rem; text-align: center; }
.lb__btn {
  position: absolute; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--cream) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  color: var(--gold-l);
  transition: all var(--t-fast);
}
.lb__btn:hover { background: var(--maroon); color: var(--white); }
.lb__btn svg { width: 20px; height: 20px; }
.lb__close { top: clamp(.8rem, 3vw, 1.8rem); right: clamp(.8rem, 3vw, 1.8rem); }
.lb__prev { left: clamp(.5rem, 2.5vw, 1.8rem); top: 50%; transform: translateY(-50%); }
.lb__next { right: clamp(.5rem, 2.5vw, 1.8rem); top: 50%; transform: translateY(-50%); }
.lb__count {
  position: absolute; bottom: clamp(.8rem, 3vw, 1.6rem); left: 50%; transform: translateX(-50%);
  font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em; color: #C7B491;
}

/* ---------- 21. REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }
.reveal[data-d="5"] { transition-delay: .45s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 22. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .nav__links a:not(.btn) { font-size: .82rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 2.6rem; }
  .hero__art { max-width: 520px; margin-inline: auto; width: 100%; aspect-ratio: 1 / .92; }
  .about, .proses, .motif__doc { grid-template-columns: 1fr; }
  .about__aside { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
}

@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem var(--pad) 1.8rem;
    background: color-mix(in srgb, var(--ink) 97%, transparent);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
    transform: translateY(-115%);
    transition: transform var(--t);
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    box-shadow: 0 26px 50px -22px rgba(0,0,0,.9);
  }
  .nav__links.open { transform: none; }
  .nav__links a:not(.btn) {
    padding: .95rem .2rem; font-size: 1rem;
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 12%, transparent);
  }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin: 1rem 0 0; justify-content: center; }
  .burger { display: flex; }
  .brand__txt strong { font-size: 1.14rem; }
}

@media (max-width: 620px) {
  .hero__art { aspect-ratio: auto; height: 340px; }
  .hero__frame--a { inset: 0 14% 8% 0; }
  .hero__frame--b { inset: 16% 0 0 56%; }
  /* on narrow screens the two frames overlap, so the inner caption is dropped */
  .hero__frame figcaption { display: none; }
  .hero__frame--b figcaption { display: block; font-size: .66rem; padding: 2rem .7rem .6rem; }
  .hero__badge { width: 74px; height: 74px; left: 3%; top: 3.5%; }
  .hero__badge-txt b { font-size: 1.2rem; }
  .hero__seal { width: 88px; right: 1%; top: 0; opacity: .7; }
  .proses__media { grid-template-columns: 1fr; }
  .proses__media-2 { width: 100%; }
  .vplayer { aspect-ratio: 16 / 11; }
  .gallery { columns: 2 150px; }
  .footer__grid { grid-template-columns: 1fr; }
  .quote { padding: 1.3rem 1.35rem; }
  .lb__prev { left: .4rem; }
  .lb__next { right: .4rem; }
  .gitem figcaption { opacity: 1; transform: none; padding-top: 2rem; font-size: .72rem; }
}

@media (max-width: 380px) {
  .gallery { columns: 1; }
}

/* ---------- 23. A11Y / MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__bg { animation: none; }
}

@media print {
  .nav, .totop, .progress, .scroll-cue, .lb, .nav__scrim, .filters, .hero__badge { display: none !important; }
  body { background: #fff; }
  .sec { padding: 1.5rem 0; page-break-inside: avoid; }
  .sec--ink, .sec--maroon { background: #fff !important; color: #000 !important; }
  .sec--ink h1, .sec--ink h2, .sec--ink h3, .sec--maroon h2, .sec--maroon h3 { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- 24. HYDRATION (single-file build only) ---------- */
/* In the one-file build every asset reference becomes data-a="name.jpg".
   JS converts that attribute to the real data-URI before main.js runs. */
img[data-a] { background: #241A15; }
