/* mitsu.css được <link> trực tiếp trong <head> — bỏ @import lồng để không chặn render */

/* Custom Layout and Styles for Mitsu Landing Page */
:root {
  --font-en: var(--disp);
  --font-jp: var(--jp);
  --font-body: var(--body);
  --wrap: min(1120px, 92vw);
  --hex: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}
html.has-promo {
  scroll-padding-top: 108px;
}

body.mitsu {
  font-family: var(--body);
  background: var(--bg) url('img/mitsu/pattern-honeycomb.svg') repeat;
  background-size: 56px 98px;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Paper Grain Texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(124,90,50,.03) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(124,90,50,.02) 0 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
  mix-blend-mode: multiply;
}
:root[data-theme="dark"] body::before {
  mix-blend-mode: screen;
  opacity: 0.35;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  background: var(--accent);
  color: var(--bg);
  padding: 10px 20px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 500;
  transition: top 0.2s;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  top: 10px;
}

/* Wrapper */
.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

/* Section Common */
section {
  position: relative;
  padding: 50px 0;
}
.eyebrow {
  font-size: .68rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
h2.sec-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 8px;
  font-family: var(--disp);
  font-weight: 500;
  color: var(--text);
}
h2.sec-title em {
  font-style: italic;
  color: var(--accent);
}
.lead {
  font-size: 1.1rem;
  max-width: 60ch;
  color: var(--text-dim);
  margin-top: 14px;
  margin-bottom: 24px;
}

/* --- Navigation Bar --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 990;
  padding: 16px 0;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  transition: padding .3s, box-shadow .3s;
}
nav.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.nav-logo-img {
  height: 38px;
  width: auto;
}
.foot-logo-img {
  height: 48px;
  width: auto;
}
.hero-logo-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0 auto;
  display: block;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-jp {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-family: var(--body);
  font-size: .86rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--text-dim);
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .3s;
}
.nav-links a:hover {
  color: var(--accent-deep);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  background: var(--accent) !important;
  color: var(--text-on-accent, var(--bg)) !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 500 !important;
  transition: background .2s !important;
}
.nav-cta:hover {
  background: var(--accent-deep) !important;
}
.nav-cta::after {
  display: none !important;
}
.nav-right-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-order-btn {
  display: none;
  background: var(--accent);
  color: var(--text-on-accent, var(--bg));
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

/* --- Hero Section --- */
.hero-sec {
  min-height: auto;
  padding-top: clamp(56px, 7vh, 96px);
  padding-bottom: clamp(48px, 6vh, 80px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  max-width: var(--wrap);
  width: 100%;
  margin-inline: auto;
}
@keyframes mitsuJump {
  0%, 100%, 65% {
    transform: translateY(0) scaleY(1) scaleX(1);
  }
  70% {
    transform: translateY(2px) scaleY(0.97) scaleX(1.02);
  }
  77% {
    transform: translateY(-12px) scaleY(1.03) scaleX(0.97);
  }
  82% {
    transform: translateY(-14px) scaleY(1) scaleX(1);
  }
  88% {
    transform: translateY(0) scaleY(0.97) scaleX(1.02);
  }
  93% {
    transform: translateY(-3px) scaleY(1.01) scaleX(0.99);
  }
  97% {
    transform: translateY(0) scaleY(1) scaleX(1);
  }
}
.hero-banner-wrapper {
  display: block;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  transform-origin: bottom center;
}
/* dark mode: dìm sáng ảnh hero cho hợp nền tối */
:root[data-theme="dark"] { --hero-dim: brightness(0.82) contrast(1.03) saturate(0.96); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --hero-dim: brightness(0.82) contrast(1.03) saturate(0.96); } }
.hero-banner-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--accent) 12%, transparent);
  filter: var(--hero-dim, none);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s, filter 0.3s;
}
.hero-banner-img:hover {
  transform: scale(1.03);
  box-shadow: 0 22px 48px color-mix(in srgb, var(--accent) 22%, transparent) !important;
}

/* --- Glowing & Honeycomb Depth Layers --- */
.glowing-blob {
  position: absolute;
  width: min(450px, 80vw);
  height: min(450px, 80vw);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 70%);
  filter: blur(90px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.65;
}
.blob-1 {
  top: 10%;
  left: -5%;
}
.blob-2 {
  top: 45%;
  right: -5%;
}

.floating-hexagon {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 1.5px dashed color-mix(in srgb, var(--accent) 30%, transparent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  animation: float-drift 12s ease-in-out infinite;
}
.hex-1 {
  top: 15%;
  right: 8%;
  animation-delay: 0s;
}
.hex-2 {
  top: 55%;
  left: 6%;
  animation-delay: -3s;
}
.hex-3 {
  top: 85%;
  right: 12%;
  animation-delay: -6s;
}

@keyframes float-drift {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(10deg);
  }
}
/* ─── HERO ENTRANCE ANIMATIONS ─── */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroBannerFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 24px);
}
.hero-text > * { margin-bottom: 0; }
.hero-q {
  font-family: var(--disp);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--text-dim);
  max-width: 32ch;
  margin-bottom: 26px;
  line-height: 1.4;
  opacity: 0;
  animation: heroFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.1s;
}
.hero-sec h1 {
  font-size: clamp(3.8rem, 8vw, 6.2rem);
  letter-spacing: -.02em;
  margin-bottom: 4px;
  opacity: 0;
  animation: heroFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.3s;
}
.hero-sub {
  font-size: 1.25rem;
  color: var(--seal);
  letter-spacing: .12em;
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 46ch;
  margin-bottom: 34px;
  opacity: 0;
  animation: heroFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.5s;
}
.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}
.hero-meta div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  min-width: 140px;
}
.hero-meta .k {
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.hero-meta .v {
  font-size: .92rem;
  color: var(--text);
  margin-top: 4px;
}
.hero-socials {
  display: flex;
  gap: 16px;
  margin-bottom: 38px;
  align-items: center;
  opacity: 0;
  animation: heroFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.7s;
}
.hero-socials .soc-btn {
  width: 44px;
  height: 44px;
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-soft);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}
.hero-socials .soc-btn:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 25%, transparent);
}
.hero-btns {
  display: flex;
  gap: 16px;
}
.btn-primary {
  background: var(--accent);
  color: var(--text-on-accent, var(--bg));
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 30%, transparent);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 40%, transparent);
}
.hero-btns .btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.hero-btns .btn-ghost:hover {
  background: var(--surface);
  border-color: var(--text-muted);
}
.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: heroBannerFadeIn 1.0s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.2s;
}
.markwrap {
  width: min(390px, 80vw);
  aspect-ratio: 1;
  position: relative;
}
.markwrap svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.fp1 {
  stroke-dasharray: 5 7;
  animation: mitsu-drift 9s linear infinite;
}
.fp2 {}
.fp3 {
  stroke-dasharray: 1 9;
  animation: mitsu-drift 14s linear infinite reverse;
}

/* --- Story Section --- */
.story-prose {
  max-width: 62ch;
  margin: 0 auto;
}
.story-prose p {
  font-size: 1.08rem;
  margin-bottom: 20px;
}
.story-prose .drop::first-letter {
  font-family: var(--disp);
  font-size: 3.8rem;
  float: left;
  line-height: .8;
  padding: 6px 12px 0 0;
  color: var(--accent);
  font-weight: 600;
}
.pull-quote {
  font-family: var(--disp);
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.35;
  color: var(--text);
  border-left: 2px solid var(--seal);
  padding: 6px 0 6px 24px;
  margin: 34px 0;
}


/* --- Tam Mật Section --- */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}
.card-img-wrap {
  margin-bottom: 20px;
  border-radius: 50%;
  overflow: visible; /* Let the bee illustration overflow the circular frame */
  border: 2px solid var(--line);
  width: 110px;
  height: 110px;
  background: var(--surface-2);
  position: relative;
}
.card-img-wrap img {
  width: 135%;
  height: 135%;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -56%); /* Shift up slightly to compensate for antennae height */
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card:hover .card-img-wrap img {
  transform: translate(-50%, -56%) scale(1.08) translateY(-4px);
}
.card .kanji-lg {
  font-family: var(--jp);
  font-size: 2.2rem;
  color: var(--seal);
  line-height: 1;
}
.card h3 {
  font-size: 1.35rem;
  margin: 12px 0 4px;
  color: var(--text);
}
.card .romaji {
  font-size: .66rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.card p {
  font-size: .94rem;
  color: var(--text-dim);
  margin-top: 12px;
  flex-grow: 1;
}
.card .role {
  font-size: .8rem;
  color: var(--moss);
  font-weight: 500;
  margin-top: 18px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  width: 100%;
}

.queen {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.queen .center {
  text-align: center;
  max-width: 48ch;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 34px;
  border-radius: var(--radius);
}
.queen-char-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  margin-bottom: 20px;
}
.queen-char-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: filter 0.3s;
}

/* Light backlighting/halo around transparent illustrations in dark mode */
:root[data-theme="dark"] .char-img,
:root[data-theme="dark"] .queen-char-img,
:root[data-theme="dark"] .card-img-wrap img {
  filter: drop-shadow(0 0 10px rgba(224, 172, 94, 0.45));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .char-img,
  :root:not([data-theme="light"]) .queen-char-img,
  :root:not([data-theme="light"]) .card-img-wrap img {
    filter: drop-shadow(0 0 10px rgba(224, 172, 94, 0.45));
  }
}
.queen h3 {
  font-size: 1.6rem;
}
.queen p {
  margin-top: 8px;
  font-size: .95rem;
  color: var(--text-dim);
}

/* --- Menu Section --- */
.menu-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.view-tabs {
  display: flex;
  gap: 6px;
}
.view-tabs button {
  font-family: var(--body);
  font-size: .8rem;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.view-tabs button[aria-pressed="true"] {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

/* List view */
.cat-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 18px;
  border-bottom: 2px solid var(--text);
  padding-bottom: 10px;
  margin-top: 40px;
}
.cat-head .k {
  font-family: var(--jp);
  font-size: 2rem;
  color: var(--seal);
  line-height: 1;
}
.cat-head .nm {
  font-family: var(--disp);
  font-size: 1.8rem;
  color: var(--text);
}
.cat-head .nm small {
  font-size: .62em;
  color: var(--text-muted);
  font-style: italic;
}
.cat-head .desc {
  font-family: var(--disp);
  font-style: italic;
  font-size: .9rem;
  color: var(--text-dim);
  text-align: right;
  max-width: 32ch;
}
.items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  margin-top: 8px;
}
.mi {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font: inherit;
  color: var(--text);
  cursor: pointer;
  padding: 12px 2px;
  border-bottom: 1px dotted var(--line);
}
.mi:hover .mi-name {
  color: var(--accent-deep);
}
.mi-name {
  font-weight: 500;
  font-size: 0.98rem;
  transition: color .2s;
}
.mi-note {
  font-size: .78rem;
  color: var(--text-muted);
}
.mi-dots {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-3px);
  min-width: 12px;
}
.mi-price {
  font-family: var(--disp);
  font-size: 1.05rem;
  color: var(--accent);
}

/* Honeycomb Grid View */
#gallery {
  display: block;
  margin-top: 40px;
  overflow: hidden;
}
.hrow {
  display: flex;
  justify-content: center;
  gap: 12px;
  position: relative;
}
.hrow:nth-child(1) { z-index: 5; }
.hrow:nth-child(2) { z-index: 4; }
.hrow:nth-child(3) { z-index: 3; }
.hrow:nth-child(4) { z-index: 2; }
.hrow:nth-child(5) { z-index: 1; }
.hrow + .hrow {
  margin-top: -26px;
}
.hrow.odd {
  transform: none;
}
.ghex {
  position: relative;
  width: 140px;
  aspect-ratio: 1.1547/1;
}
.ghex .hex {
  position: absolute;
  inset: 0;
}
.ghex .cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  padding: 4px 6px 12px;
  background: transparent;
  pointer-events: none;
}
.ghex .cap .n {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.25;
  display: block;
  white-space: normal;
  word-wrap: break-word;
  overflow: visible;
  text-overflow: clip;
  padding: 0 4px;
  text-shadow: 0 1px 2px var(--bg), 0 0 4px var(--bg);
}

.hex {
  position: relative;
  clip-path: var(--hex);
  background: conic-gradient(from var(--shimmer, 0deg), var(--accent-deep), var(--accent), #F8DDA0, #FFF1CF, #F8DDA0, var(--accent), var(--accent-deep));
  animation: hexspin 4.5s linear infinite;
  cursor: pointer;
}
.hex .in {
  position: absolute;
  inset: 2px;
  clip-path: var(--hex);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.hex .photo {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 18%, color-mix(in srgb,var(--accent) 38%,var(--surface)) 0%, var(--surface) 70%);
}
.hex .photo::after {
  content: attr(data-k);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--jp);
  font-size: 2.8rem;
  color: color-mix(in srgb,var(--seal) 20%,transparent);
}
.hex .cap {
  position: relative;
  width: 100%;
  padding: 6px 8px 10px;
  text-align: center;
  background: linear-gradient(to top, color-mix(in srgb,var(--bg) 92%,transparent), transparent);
}
.hex .cap .n {
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.2;
  display: block;
}
.hex .cap .p {
  font-family: var(--disp);
  font-size: .8rem;
  color: var(--accent);
}
@keyframes hexspin {
  to { --shimmer:360deg; }
}

/* List toggle */
#list.off {
  display: none;
}





/* Promo section */
.promo-box {
  background: color-mix(in srgb, var(--accent) 8%, var(--bg));
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  padding: 34px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
.promo-box h3 {
  font-size: 1.4rem;
  color: var(--accent-deep);
  margin-bottom: 6px;
}
.promo-box p {
  font-size: 0.95rem;
  color: var(--text-dim);
}

/* --- Launch / Journey Section --- */
.films-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
  counter-reset: f;
}
.film-card {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
}
.film-card .card-content {
  flex: 1;
}
.film-card .char-img-wrap {
  flex: 0 0 100px;
  height: 140px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.film-card .char-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: filter 0.3s;
}
.film-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.05);
}
.film-card::before {
  counter-increment: f;
  content: counter(f, decimal-leading-zero);
  font-family: var(--disp);
  font-size: 2.6rem;
  color: var(--accent);
  font-weight: 600;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.film-card h3 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}
.film-card .who {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 600;
}
.film-card p {
  font-size: .9rem;
  color: var(--text-dim);
  margin-top: 14px;
}

.story-split-container {
  margin-top: 48px;
}

@media (min-width: 901px) {
  .story-split-container {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 50px;
    align-items: start;
    width: 100%;
  }
  .story-split-container .story-prose {
    max-width: none;
    margin: 0;
  }
  .story-split-container .films-grid {
    grid-template-columns: 1fr;
    margin-top: 0 !important;
    gap: 20px;
  }
}


/* --- Footer --- */
footer {
  background: var(--surface-2);
  color: var(--text);
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-body {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.foot-brand .logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot-brand .logo-container .wm {
  font-size: 2.2rem;
}
.foot-brand .logo-container .hanko {
  width: 44px;
  height: 44px;
}
.foot-tagline {
  font-size: 1.1rem;
  color: var(--text-dim);
  font-family: var(--disp);
  font-style: italic;
}
.foot-tagline span {
  font-family: var(--body);
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: normal;
  display: block;
  margin-top: 6px;
}
.foot-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.soc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text-dim);
  transition: all 0.2s;
  background: var(--surface);
}
.soc-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.foot-navs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.foot-col h4 {
  font-size: 0.72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.foot-col a:hover {
  color: var(--accent);
}
.foot-disclosure {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.foot-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}
.foot-seal {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Promo Banner --- */
.promo-banner {
  background: var(--seal);
  color: var(--bg);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 38px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.promo-banner.hidden {
  display: none;
}
.promo-countdown {
  background: rgba(0,0,0,0.2);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-family: monospace;
}
.promo-countdown.urgent {
  background: var(--bg);
  color: var(--seal);
  animation: pulse 1s infinite alternate;
}
@keyframes pulse {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

nav.has-banner {
  top: 38px;
}

/* --- 3D Carousel Overlay --- */
.ov {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
}
.ov.on {
  display: flex;
  animation: ovin .3s ease both;
}
@keyframes ovin {
  from { opacity: 0; }
  to { opacity: 1; }
}
.ov-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ov-close:hover {
  color: var(--accent);
}
.stage {
  width: 100%;
  max-width: 760px;
  height: 60vh;
  perspective: 1200px;
  position: relative;
  margin-top: -8vh;
}
.ov.on .stage {
  animation: stageZoomIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes stageZoomIn {
  from {
    transform: scale(0.25);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.ring {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.22,.61,.36,1), opacity .6s cubic-bezier(.22,.61,.36,1);
}
.ccell {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 210px;
  aspect-ratio: 1.1547/1;
  margin: -90px 0 0 -105px;
  transition: opacity .5s, filter .5s;
  backface-visibility: hidden;
}
.ccell .ccell-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1);
}
.ccell-wrapper .hex {
  position: absolute;
  inset: 0;
}
.ccell:not(.active) {
  opacity: .38;
  filter: saturate(.7) brightness(.9);
}
.ccell:not(.active) .ccell-wrapper {
  transform: translateY(36px);
}
.ccell.active {
  filter: drop-shadow(0 14px 34px color-mix(in srgb, var(--accent) 45%, transparent));
  z-index: 10;
}
.ccell.active .ccell-wrapper {
  transform: scale(2.05);
}
.ccell.active .cap {
  display: none;
}
.ccell:not(.active) .cap {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  background: transparent;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ccell:not(.active) .cap .n {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.2;
  white-space: normal;
  word-wrap: break-word;
  text-shadow: 0 1px 2px var(--bg), 0 0 4px var(--bg);
  text-align: center;
  width: auto;
}
.ccell:not(.active) .cap .p {
  color: var(--accent);
  font-family: var(--disp);
  font-size: 0.75rem;
  font-weight: 500;
  text-shadow: 0 1px 2px var(--bg), 0 0 4px var(--bg);
  margin-top: 2px;
}
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arrow:hover {
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}
.arrow.prev { left: 4vw; }
.arrow.next { right: 4vw; }

.detail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6vh;
  text-align: center;
  padding: 0 24px;
  animation: dfade .4s ease both;
}
@keyframes dfade {
  from { opacity:0; transform:translateY(8px); }
  to { opacity:1; transform:none; }
}
.detail .dk {
  font-family: var(--jp);
  color: var(--seal);
  font-size: .9rem;
}
.detail .dn {
  font-family: var(--disp);
  font-size: 2rem;
  color: var(--text);
  margin-top: 4px;
}
.detail .dp {
  font-family: var(--disp);
  font-size: 1.25rem;
  color: var(--accent);
  margin-top: 4px;
}
.detail .dd {
  font-size: .92rem;
  color: var(--text-dim);
  max-width: 44ch;
  margin: 10px auto 0;
}
.detail .dadd {
  margin-top: 20px;
  font-family: var(--body);
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border: 0;
  border-radius: var(--radius-sm);
  padding: 12px 30px;
  cursor: pointer;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 30%, transparent);
}
.detail .dadd:hover {
  background: var(--accent-deep);
}

/* Dialog Video */
dialog {
  border: none;
  background: none;
  padding: 0;
  margin: auto;
}
dialog::backdrop {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
}
.dialog-wrapper {
  position: relative;
  width: 90vw;
  max-width: 800px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}
.dialog-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.dialog-container {
  width: 100%;
  height: 100%;
}
.dialog-video-frame {
  width: 100%;
  height: 100%;
  border: none;
}

/* Floating story bubble */
.story-bubble-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.story-bubble-wrapper.hidden {
  display: none;
}
.story-bubble-ring-container {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--accent), var(--seal));
  padding: 3px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  animation: bubble-spin 5s linear infinite;
}
.story-bubble-btn {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg);
  overflow: hidden;
  position: relative;
}
.story-bubble-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-bubble-play-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  background: var(--seal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-bubble-badge {
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
}
.story-bubble-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .hero-logo-img {
    width: 85%;
    max-width: 380px;
  }
  .hero-banner-wrapper {
    max-width: 400px;
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 15px;
  }
  .hero-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    gap: 12px;
  }
  .hero-sec {
    text-align: center;
    height: auto;
    min-height: 100dvh;
    box-sizing: border-box;
    padding-top: calc(70px + 4vw);
    padding-bottom: 25px;
    display: flex;
    align-items: center;
  }
  .hero-art {
    order: -1;
    margin: 0;
  }
  .hero-q {
    font-size: 1.05rem;
    margin: 0 auto;
    max-width: 32ch;
    line-height: 1.35;
    margin-bottom: 0;
  }
  .hero-desc {
    font-size: 1.08rem;
    margin: 0 auto;
    max-width: 42ch;
    line-height: 1.4;
    margin-bottom: 0;
  }
  .hero-socials {
    justify-content: center;
    margin-bottom: 0;
  }
  .hero-socials .soc-btn {
    width: 40px;
    height: 40px;
  }
  .hero-btns {
    justify-content: center;
    width: 100%;
    margin-top: 0;
  }
  .hero-meta {
    justify-content: center;
  }
  .hrow.odd {
    transform: none;
  }
  .grid3, .sig-row, .films-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .items-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .cat-head {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .cat-head .desc {
    text-align: left;
    max-width: none;
  }
  .promo-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .nav-links {
    display: none;
  }
  .nav-order-btn {
    display: block;
  }
  .arrow.prev { left: 2vw; }
  .arrow.next { right: 2vw; }
}

@media (max-width: 600px) {
  .hero-sec {
    height: auto;
    min-height: 100dvh;
    box-sizing: border-box;
    padding-top: calc(65px + 4vw);
    padding-bottom: 20px;
    display: flex;
    align-items: center;
  }
  .hero-logo-img {
    max-width: min(340px, 75vw);
  }
  .hero-banner-wrapper {
    max-width: min(440px, 92vw);
  }
  .hero-inner {
    gap: 15px;
  }
  .hero-text {
    gap: 12px;
  }
  .hero-q {
    font-size: 0.92rem;
    margin-bottom: 0;
  }
  .hero-desc {
    font-size: 1.08rem;
    margin-bottom: 0;
    max-width: 36ch;
    line-height: 1.4;
  }
  .hero-socials {
    margin-bottom: 0;
  }
  .hero-socials .soc-btn {
    width: 36px;
    height: 36px;
  }
  .hero-btns {
    gap: 12px;
    margin-top: 0;
  }
  .btn-primary, .hero-btns .btn-ghost {
    padding: 11px 22px;
    font-size: 0.9rem;
  }

  @media (max-height: 740px) {
    .hero-banner-wrapper {
      max-width: min(340px, 85vw);
    }
    .hero-logo-img {
      max-width: min(280px, 70vw);
    }
    .hero-text {
      gap: 8px;
    }
    .hero-inner {
      gap: 10px;
    }
  }
  @media (max-height: 660px) {
    .hero-banner-wrapper {
      max-width: min(260px, 75vw);
    }
    .hero-logo-img {
      max-width: min(220px, 60vw);
    }
    .hero-desc {
      font-size: 0.95rem;
    }
  }
  .sense-grid {
    grid-template-columns: 1fr 1fr;
  }
  #gallery {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .hrow {
    gap: 10px;
  }
  .hrow.odd {
    transform: none;
  }
  .hrow + .hrow {
    margin-top: -21px;
  }
  .ghex {
    width: 100px;
  }
  .film-card {
    padding: 20px;
    gap: 12px;
  }
  .film-card .char-img-wrap {
    flex: 0 0 85px;
    height: 125px;
  }
}

/* ─── SCROLL REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.82s cubic-bezier(0.25, 1, 0.5, 1), transform 0.82s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}
.reveal.up {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.reveal.d5 { transition-delay: 0.5s; }

/* ── CART DROPDOWN POPUP ── */
.cart-pop {
  position: absolute;
  top: 65px;
  right: 16px;
  width: 320px;
  max-height: 400px;
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-lt, var(--line-soft));
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 16px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.cart-pop.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cart-pop-header {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  border-bottom: 1px solid var(--border-lt, var(--line-soft));
  padding-bottom: 8px;
}
.cart-pop-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 220px;
}
.cart-pop-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-pop-thumb {
  width: 44px;
  height: 38px;
  flex-shrink: 0;
}
.cart-pop-thumb .hex {
  width: 100%;
  height: 100%;
  clip-path: var(--hex, polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%));
  animation: none;
  cursor: default;
}
.cart-pop-thumb .hex .in {
  clip-path: var(--hex, polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%));
}
.cart-pop-thumb .hex .photo::after {
  font-size: 1.15rem;
  color: var(--accent);
  opacity: 0.85;
}
.cart-pop-info {
  flex: 1;
  min-width: 0;
}
.cart-pop-name {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-pop-details {
  font-size: 0.72rem;
  color: var(--text-dim);
}
.cart-pop-subtotal {
  font-family: var(--disp);
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 600;
  margin-left: auto;
}
.cart-pop-footer {
  border-top: 1px solid var(--border-lt, var(--line-soft));
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-pop-total-lbl {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.cart-pop-total-val {
  font-family: var(--disp);
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 700;
}
.cart-pop-action {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.82rem;
  text-align: center;
}

/* --- Tôn trọng prefers-reduced-motion: tắt animation trang trí vô hạn --- */
@media (prefers-reduced-motion: reduce) {
  .glowing-blob,
  .story-bubble-ring-container { animation: none !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Consolidated Footer Styles --- */
.foot-toggle-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0px;
}
.contact-socials {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  align-items: center;
}
.contact-socials .soc-btn {
  width: 32px;
  height: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all 0.2s;
}
.foot-map {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}
.foot-map iframe {
  border: 0;
  display: block;
}
.foot-directions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 7px 14px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s;
}
.foot-directions:hover {
  border-color: var(--accent);
  color: var(--accent);
}