/* =========================================================
   RENO JEPANG STORE — design tokens
   Palette: vivid crimson + warm gold on a rich wine-black base
   (brighter & more saturated than a flat/dull dark theme)
   Type: Shippori Mincho (display) + Plus Jakarta Sans (body)
   Signature: hanko (red ink-seal stamp) + dust-to-logo loader
   ========================================================= */
:root {
  --void: #08080a;
  --surface: #0c0c0e;
  --surface-2: #141417;
  --line: rgba(255, 224, 224, 0.09);

  --red: #ff1f4d;
  --red-deep: #b8102f;
  --red-glow: #ff5470;
  --pink: #ffa3b8;
  --gold: #ffd873;
  --gold-deep: #f2c14e;

  --paper: #fffaf3;
  --muted: #f0dcc4;

  --font-display: "Shippori Mincho", serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1120px;
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
body.is-loading { overflow: hidden; height: 100vh; }

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

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  margin: 0 0 10px;
}

/* ---------- ambient living background ---------- */
.ambient-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.ambient-glow .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}
.blob--red {
  width: 560px; height: 560px;
  top: -140px; left: -100px;
  background: var(--red-glow);
  opacity: 0.14;
  animation: blobMoveA 17s ease-in-out infinite alternate;
}
.blob--gold {
  width: 460px; height: 460px;
  bottom: -140px; right: -100px;
  background: var(--gold);
  opacity: 0.08;
  animation: blobMoveB 21s ease-in-out infinite alternate;
}
.blob--pink {
  width: 420px; height: 420px;
  top: 30%; left: 60%;
  background: var(--pink);
  opacity: 0.05;
  animation: blobMoveA 24s ease-in-out infinite alternate-reverse;
}
@keyframes blobMoveA {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(70px, 50px) scale(1.18); }
}
@keyframes blobMoveB {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-60px, -40px) scale(1.12); }
}

/* ---------- sakura petals (extra ambient motion) ---------- */
.sakura {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.petal {
  position: absolute;
  top: -6%;
  width: 11px;
  height: 11px;
  background: linear-gradient(135deg, var(--pink), var(--gold));
  border-radius: 0 60% 0 60%;
  opacity: 0;
  animation-name: petalFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes petalFall {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: 0.85; }
  92%  { opacity: 0.55; }
  100% { transform: translate(var(--driftx, 60px), 112vh) rotate(340deg); opacity: 0; }
}

.embers {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.ember {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px var(--red-glow);
  opacity: 0;
  animation-name: emberRise;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}
@keyframes emberRise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.85; }
  90%  { opacity: 0.35; }
  100% { transform: translateY(-110vh) translateX(var(--drift, 30px)); opacity: 0; }
}

/* ---------- loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, #111114, var(--void));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.5s ease;
}
.loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.loader__stage {
  position: relative;
  width: 200px;
  height: 200px;
  transition: transform 0.9s cubic-bezier(0.65, 0.05, 0.36, 1), opacity 0.6s ease 0.3s;
}
.loader__stage.is-flying {
  opacity: 0;
}
.loader__particles {
  position: absolute;
  inset: 0;
}
.loader__particle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--red-glow);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.22, 0.9, 0.3, 1), opacity 0.5s ease;
}
.loader__particle.is-scattered { opacity: 0.95; }
.loader__particle.is-gathered {
  transform: translate(0, 0) !important;
  opacity: 0;
}
.loader__logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 0 50px rgba(255, 71, 99, 0.4);
  opacity: 0;
  transform: scale(0.3) rotate(-30deg);
  transition: opacity 0.4s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.loader__logo.is-visible {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.loader__logo.is-hit {
  animation: logoShake 0.3s ease;
}
.loader__logo.is-decaying {
  animation: logoDecay 0.9s ease forwards;
}
.loader__logo.is-healed {
  animation: logoHeal 0.6s ease;
}
@keyframes logoShake {
  0%, 100% { transform: scale(1) rotate(0deg); }
  20% { transform: scale(1.05) rotate(-4deg); }
  40% { transform: scale(0.96) rotate(3.5deg); }
  60% { transform: scale(1.04) rotate(-2.5deg); }
  80% { transform: scale(0.99) rotate(1.5deg); }
}
@keyframes logoDecay {
  0%   { filter: grayscale(0.2) contrast(1.1) brightness(0.95) saturate(1.3); }
  35%  { filter: grayscale(0.75) sepia(0.25) contrast(1.3) brightness(0.72) saturate(1.6); }
  100% { filter: grayscale(1) sepia(0.15) contrast(1.4) brightness(0.6) saturate(1); }
}
@keyframes logoHeal {
  0% { filter: grayscale(1) sepia(0.15) contrast(1.4) brightness(0.6); }
  100% { filter: grayscale(0) sepia(0) contrast(1) brightness(1); }
}

/* ---------- logo cut into pieces (2 halves -> 4 shards) ---------- */
.loader__piece {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  filter: grayscale(0.85) sepia(0.1) contrast(1.25) brightness(0.75);
  transition: transform 0.32s cubic-bezier(0.33, 0, 0.2, 1), opacity 0.15s ease;
}
.piece-half--a { clip-path: polygon(0% 0%, 100% 0%, 100% 100%); }
.piece-half--b { clip-path: polygon(100% 100%, 0% 100%, 0% 0%); }
.piece-quad--n { clip-path: polygon(0% 0%, 100% 0%, 50% 50%); }
.piece-quad--e { clip-path: polygon(100% 0%, 100% 100%, 50% 50%); }
.piece-quad--s { clip-path: polygon(100% 100%, 0% 100%, 50% 50%); }
.piece-quad--w { clip-path: polygon(0% 100%, 0% 0%, 50% 50%); }

.loader__piece.is-visible { opacity: 1; }
.piece-half--a.is-split { transform: translate(5px, -6px) rotate(1.5deg); }
.piece-half--b.is-split { transform: translate(-5px, 6px) rotate(-1.5deg); }
.piece-quad--n.is-burst { transform: translate(-3px, -15px) rotate(-9deg); }
.piece-quad--e.is-burst { transform: translate(15px, 3px) rotate(8deg); }
.piece-quad--s.is-burst { transform: translate(3px, 15px) rotate(9deg); }
.piece-quad--w.is-burst { transform: translate(-15px, -3px) rotate(-8deg); }
.loader__piece.is-scattering { opacity: 0; transition: opacity 0.35s ease; }

/* ---------- katana slash (3 strikes) ---------- */
.loader__katana {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 26px;
  margin: -13px 0 0 -140px;
  opacity: 0;
  z-index: 5;
  pointer-events: none;
  transform: translate(-230px, -170px) rotate(-34deg);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 16px rgba(255, 84, 112, 0.45));
}
.loader__katana.is-swinging {
  animation-name: katanaSwing;
  animation-duration: 0.32s;
  animation-timing-function: cubic-bezier(0.7, 0, 0.28, 1);
  animation-fill-mode: forwards;
}
.katana--s1.is-swinging { transform: translate(-230px, -170px) rotate(-34deg); }
.katana--s2 { transform: translate(230px, -170px) rotate(34deg); margin-left: -140px; }
.katana--s2.is-swinging { animation-name: katanaSwing2; }
.katana--s3 { transform: translate(-10px, -220px) rotate(-90deg); }
.katana--s3.is-swinging { animation-name: katanaSwing3; }

@keyframes katanaSwing {
  0%   { transform: translate(-230px, -170px) rotate(-34deg); opacity: 0; }
  10%  { opacity: 1; }
  48%  { transform: translate(6px, 4px) rotate(-8deg); opacity: 1; filter: drop-shadow(0 0 16px rgba(255,255,255,0.95)) blur(0.5px); }
  100% { transform: translate(250px, 190px) rotate(18deg); opacity: 0; }
}
@keyframes katanaSwing2 {
  0%   { transform: translate(230px, -170px) rotate(34deg); opacity: 0; }
  10%  { opacity: 1; }
  48%  { transform: translate(-6px, 4px) rotate(8deg); opacity: 1; filter: drop-shadow(0 0 16px rgba(255,255,255,0.95)) blur(0.5px); }
  100% { transform: translate(-250px, 190px) rotate(-18deg); opacity: 0; }
}
@keyframes katanaSwing3 {
  0%   { transform: translate(-10px, -220px) rotate(-90deg); opacity: 0; }
  10%  { opacity: 1; }
  48%  { transform: translate(-4px, 2px) rotate(-96deg); opacity: 1; filter: drop-shadow(0 0 18px rgba(255,255,255,1)) blur(0.6px); }
  100% { transform: translate(4px, 240px) rotate(-102deg); opacity: 0; }
}

/* realistic curved blade */
.katana__blade { fill: url(#bladeGrad); stroke: #b9c4c8; stroke-width: 0.5; }
.katana__edge { stroke: #ffffff; stroke-width: 1.1; opacity: 0.95; }
.katana__habaki { fill: var(--gold-deep); }
.katana__tsuba { fill: #1c1a16; stroke: var(--gold); stroke-width: 1; }
.katana__tsuka { fill: #17110d; }
.katana__tsuka-wrap { stroke: #3a2c1e; stroke-width: 1.1; opacity: 0.85; }

/* ---------- blood: splatter + streaks + drops (more chaotic) ---------- */
.loader__blood {
  position: absolute;
  inset: -22%;
  opacity: 0;
  z-index: 4;
  pointer-events: none;
}
.loader__blood.is-active {
  animation: bloodAppear 1.5s ease forwards;
}
@keyframes bloodAppear {
  0%   { opacity: 0; }
  6%   { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}
.blood-splat {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 40%, rgba(184, 12, 32, 0.5), rgba(110, 6, 20, 0.2) 55%, transparent 72%);
  mix-blend-mode: multiply;
  transform: scale(0.55);
  opacity: 0;
}
.loader__blood.is-active .blood-splat {
  animation: splatGrow 0.4s ease forwards;
}
.blood-splat--2 {
  clip-path: polygon(50% 0%, 62% 22%, 90% 18%, 70% 40%, 100% 55%, 68% 58%, 74% 88%, 50% 66%, 28% 92%, 32% 58%, 2% 60%, 26% 40%, 8% 16%, 40% 22%);
  background: radial-gradient(circle at 55% 48%, rgba(200, 19, 57, 0.55), rgba(110, 7, 22, 0.18) 60%, transparent 78%);
  transform-origin: 55% 45%;
}
.loader__blood.is-active .blood-splat--2 {
  animation: splat2Grow 0.55s ease 0.08s forwards;
}
@keyframes splatGrow {
  0%   { opacity: 0; transform: scale(0.4); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes splat2Grow {
  0%   { opacity: 0; transform: scale(0.3) rotate(-8deg); }
  100% { opacity: 0.85; transform: scale(1.05) rotate(4deg); }
}
.blood-streak {
  position: absolute;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(200, 19, 57, 0.75) 18%, rgba(120, 8, 24, 0.6) 70%, transparent);
  opacity: 0;
  filter: blur(0.3px);
  transform-origin: left center;
}
.loader__blood.is-active .blood-streak {
  animation: streakShoot 0.5s ease forwards;
}
.bs1 { top: 40%; left: 8%; width: 130px; --rot: -32deg; animation-delay: 0.03s !important; }
.bs2 { top: 58%; left: 46%; width: 100px; --rot: 28deg; animation-delay: 0.16s !important; }
.bs3 { top: 30%; left: 50%; width: 90px; height: 3px; --rot: -88deg; animation-delay: 0.3s !important; }
@keyframes streakShoot {
  0%   { opacity: 0; transform: scaleX(0) rotate(var(--rot, 0deg)); }
  30%  { opacity: 1; }
  100% { opacity: 0.75; transform: scaleX(1) rotate(var(--rot, 0deg)); }
}
.blood-drop {
  position: absolute;
  width: 10px;
  height: 14px;
  background: linear-gradient(180deg, #c81339, #650714);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  opacity: 0;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
}
.loader__blood.is-active .blood-drop {
  animation: dripFall 1.3s ease forwards;
}
.bd1 { top: 34%; left: 24%; --r: -18deg; animation-delay: 0.05s !important; }
.bd2 { top: 42%; left: 66%; width: 7px; height: 10px; --r: 22deg; animation-delay: 0.14s !important; }
.bd3 { top: 55%; left: 44%; width: 16px; height: 20px; --r: -6deg; animation-delay: 0.02s !important; }
.bd4 { top: 28%; left: 72%; width: 6px; height: 9px; --r: 35deg; animation-delay: 0.22s !important; }
.bd5 { top: 62%; left: 18%; width: 8px; height: 11px; --r: -40deg; animation-delay: 0.17s !important; }
.bd6 { top: 46%; left: 50%; width: 13px; height: 17px; --r: 12deg; animation-delay: 0.09s !important; }
.bd7 { top: 24%; left: 40%; width: 5px; height: 7px; --r: -25deg; animation-delay: 0.27s !important; }
.bd8 { top: 68%; left: 58%; width: 9px; height: 12px; --r: 30deg; animation-delay: 0.12s !important; }
.bd9 { top: 20%; left: 60%; width: 6px; height: 8px; --r: -50deg; animation-delay: 0.34s !important; }
.bd10 { top: 72%; left: 34%; width: 11px; height: 15px; --r: -10deg; animation-delay: 0.2s !important; }
@keyframes dripFall {
  0%   { opacity: 0; transform: translateY(-8px) scale(0.3) rotate(var(--r, 0deg)); }
  14%  { opacity: 1; transform: translateY(0) scale(1) rotate(var(--r, 0deg)); }
  76%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(32px) scale(0.8) rotate(var(--r, 0deg)); }
}

.loader__label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  opacity: 0.8;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn i, .btn svg { width: 18px; height: 18px; }

.btn--primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red-glow), var(--red-deep));
  color: var(--paper);
  box-shadow: 0 8px 24px rgba(255, 23, 68, 0.45);
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 92, 120, 0.55);
}
.btn--primary:hover::after {
  animation: btnShine 0.9s ease;
}
@keyframes btnShine {
  from { left: -60%; }
  to   { left: 130%; }
}

.btn--ghost {
  background: rgba(255, 246, 234, 0.06);
  border-color: rgba(255, 246, 234, 0.28);
  color: var(--paper);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  border-color: var(--red-glow);
  box-shadow: 0 0 0 1px var(--red-glow), 0 8px 24px rgba(255, 71, 99, 0.3);
  transform: translateY(-2px);
}

.btn--outline {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--paper);
}
.btn--outline:hover {
  border-color: var(--red-glow);
  box-shadow: 0 0 0 1px var(--red-glow), 0 8px 20px rgba(255, 71, 99, 0.25);
  transform: translateY(-2px);
}

.btn--block { width: 100%; }

/* ---------- navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.navbar.is-scrolled {
  padding: 10px 0;
  background: rgba(8, 8, 9, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--line);
}
.navbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.navbar__logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.navbar__name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1rem;
}
.navbar__menu {
  display: flex;
  gap: 28px;
}
.navbar__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.navbar__link:hover { color: var(--paper); }
.navbar__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--red-glow);
  transition: width 0.25s ease;
}
.navbar__link:hover::after { width: 100%; }

.navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red-glow), var(--red-deep));
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.navbar__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,71,99,0.4); }
.navbar__cta i { width: 16px; height: 16px; }

.navbar__burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--paper);
  padding: 8px;
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 24px 100px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(232, 18, 60, 0.14), transparent 60%),
    var(--void);
}
.hero__waves {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: repeating-radial-gradient(circle at 50% 120%, transparent 0, transparent 38px, var(--gold) 39px, transparent 40px);
  background-size: 220px 110px;
  mask-image: linear-gradient(to top, black, transparent 75%);
  animation: waveDrift 32s linear infinite;
}
@keyframes waveDrift {
  from { background-position: 0 0; }
  to { background-position: 440px 0; }
}
.hero__kanji {
  position: absolute;
  font-family: var(--font-display);
  font-size: min(60vw, 620px);
  color: rgba(255, 31, 77, 0.13);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  user-select: none;
  pointer-events: none;
  line-height: 1;
  animation: kanjiBreathe 9s ease-in-out infinite;
}
@keyframes kanjiBreathe {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.035); }
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero__edge {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--void));
  pointer-events: none;
}

.hanko {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: rgba(232, 18, 60, 0.1);
  border: 1px solid rgba(232, 18, 60, 0.4);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--paper);
}
.hanko__svg { width: 30px; height: 30px; animation: hankoPulse 2.6s ease-in-out infinite; }
@keyframes hankoPulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255,71,99,0)); }
  50% { filter: drop-shadow(0 0 6px rgba(255,71,99,0.65)); }
}
.hanko__ring {
  fill: var(--red);
  stroke: var(--red-glow);
  stroke-width: 3;
}
.hanko__text {
  fill: var(--paper);
  font-size: 52px;
  font-family: var(--font-display);
}

/* ---------- hero title: letter-in + infinite shine ---------- */
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7.5vw, 4.8rem);
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__title-line { display: inline-block; }
.hero__title .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px) rotate(6deg);
}
body.is-ready .hero__title .letter {
  animation: letterIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--i) * 40ms + 0.1s);
}
@keyframes letterIn {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

.hero__title-line--accent {
  margin-top: 2px;
  background: linear-gradient(100deg, var(--red) 15%, var(--gold) 38%, #fff 50%, var(--gold) 62%, var(--red) 85%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(16px) scale(0.94);
  filter: drop-shadow(0 0 22px rgba(255, 71, 99, 0.3));
}
body.is-ready .hero__title-line--accent {
  animation: accentIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.55s,
             shineSweep 4.5s linear infinite 1.3s;
}
@keyframes accentIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes shineSweep {
  0% { background-position: 0% 50%; }
  100% { background-position: -260% 50%; }
}

.hero__subtitle {
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0;
}
.hero__subtitle strong { color: var(--paper); }

/* stock tag chips */
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 620px;
}
.hero__tags .tag {
  position: relative;
  overflow: visible;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 216, 115, 0.14);
  border: 1px solid rgba(255, 216, 115, 0.4);
  color: var(--gold);
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.hero__tags .tag:hover {
  background: rgba(255, 216, 115, 0.22);
  box-shadow: 0 0 0 1px rgba(255, 216, 115, 0.45), 0 6px 16px rgba(255, 92, 120, 0.22);
}
.hero__tags .tag:active { transform: scale(0.92); }
.hero__tags .tag.is-popped { animation: tagPop 0.42s ease; }
@keyframes tagPop {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.2); }
  60%  { transform: scale(0.94); }
  100% { transform: scale(1); }
}
.tag-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 216, 115, 0.55) 60%, rgba(255, 216, 115, 0) 76%);
  pointer-events: none;
  opacity: 0.9;
  animation: bubbleUp 0.9s ease-out forwards;
  z-index: 3;
}
@keyframes bubbleUp {
  0%   { transform: translateY(0) scale(0.3); opacity: 0.9; }
  70%  { opacity: 0.7; }
  100% { transform: translateY(-42px) scale(1.15); opacity: 0; }
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 6px;
}

/* stats row */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-top: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 560px;
}
.hero__stats .stat {
  text-align: center;
}
.hero__stats .stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--paper);
  display: block;
}
.hero__stats .stat__label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* reveal-on-load animation (non-title elements) */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}
body.is-ready [data-reveal] {
  animation: reveal 0.7s ease forwards;
}
body.is-ready .hanko { animation-delay: 0.05s; }
body.is-ready .hero__subtitle { animation-delay: 0.85s; }
body.is-ready .hero__tags { animation-delay: 0.95s; }
body.is-ready .hero__cta { animation-delay: 1.05s; }
body.is-ready .hero__stats { animation-delay: 1.15s; }
@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- section shell ---------- */
.section {
  padding: 110px 24px;
  position: relative;
}
.section__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 12px;
}
.section__desc {
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 48px;
}

/* scroll-reveal (applies to cards rendered via JS) */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- keunggulan ---------- */
/* sengaja tanpa background solid: biarkan ambient glow tembus, konsisten dgn section lain */
.keunggulan__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.k-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.k-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 71, 99, 0.55);
  box-shadow: 0 16px 34px rgba(232, 18, 60, 0.25);
}
.k-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 18, 60, 0.16);
  color: var(--red-glow);
  margin-bottom: 18px;
}
.k-card__icon i { width: 22px; height: 22px; }
.k-card h3 {
  font-size: 1.02rem;
  margin: 0 0 8px;
  font-weight: 700;
}
.k-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- testimoni ---------- */
.testimoni__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  -ms-overflow-style: none;
  scrollbar-width: thin;
  scrollbar-color: var(--red) transparent;
}
.testimoni__track::-webkit-scrollbar { height: 6px; }
.testimoni__track::-webkit-scrollbar-thumb { background: var(--red); border-radius: 999px; }

.t-card {
  position: relative;
  flex: 0 0 auto;
  width: 240px;
  aspect-ratio: 9/16;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(232, 18, 60, 0.4);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  cursor: zoom-in;
  background: var(--surface-2);
}
.t-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.t-card:hover img { transform: scale(1.05); }
.t-card__stamp {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  opacity: 0.92;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  animation: stampPulse 2.6s ease-in-out infinite;
}
@keyframes stampPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 10px rgba(255,71,99,0.7)); }
}

/* ---------- cara order / kontak ---------- */
/* sengaja tanpa background solid: biarkan ambient glow tembus, konsisten dgn section lain */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
  margin-bottom: 64px;
}
.step {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step__num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-glow), var(--red-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.step h3 { margin: 6px 0 6px; font-size: 1rem; }
.step p { margin: 0; font-size: 0.87rem; color: var(--muted); }

.kontak__card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.kontak__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 10px;
}
.kontak__desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 26px;
}
.kontak__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- footer ---------- */
.footer {
  padding: 36px 24px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
}
.footer__logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.footer__social {
  display: flex;
  gap: 14px;
}
.footer__social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer__social a:hover {
  color: var(--red-glow);
  border-color: var(--red-glow);
}
.footer__social i { width: 16px; height: 16px; }
.footer__copy {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 6, 8, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(90vw, 480px);
  max-height: 86vh;
  border-radius: var(--radius);
  border: 1px solid rgba(232,18,60,0.45);
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255,246,234,0.08);
  border: 1px solid var(--line);
  color: var(--paper);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar__menu {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: rgba(9,9,10,0.96);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 16px;
    flex-direction: column;
    padding: 10px;
    gap: 4px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .navbar__menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .navbar__link { padding: 12px 14px; border-radius: 10px; }
  .navbar__link:hover { background: rgba(255,246,234,0.06); }
  .navbar__cta span { display: none; }
  .navbar__burger { display: flex; }

  .keunggulan__grid { grid-template-columns: 1fr; }
  .kontak__card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 120px; }
  .t-card { width: 200px; }
  .hero__stats { gap: 18px; }
}
