/* ==========================================================================
   Miiro — the collectible language of feelings.
   Brand site stylesheet · soft blue + off-white palette
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

:root {
  /* Palette: soft blue + off-white */
  --bg: #f4f2ec;
  --bg-alt: #ffffff;
  --bg-cool: #e8eef3;
  --bg-deep: #cfdce6;
  --ink: #14202c;
  --ink-soft: #4a5663;
  --ink-faint: #8a929c;
  --line: #dde3ea;

  --accent: #93b5cf;
  --accent-deep: #5d8aab;
  --accent-soft: #c9dbe8;

  /* Emotion swatches — used for tiny dots only, not background */
  --joy: #f5c64c;
  --love: #f7b9c4;
  --dread: #6b4a3a;
  --anger: #e87545;
  --cheer: #8fb8d8;
  --gratitude: #c9b8e0;

  --affection: #e8a8b8;
  --determination: #d96b3d;
  --anxiety: #b0b8c0;
  --hope: #f4d49a;
  --calm: #b8d0e0;
  --passion: #b53a3a;

  --max-w: 1200px;
}

/* Type */
h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin: 0 0 0.4em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 0 0 0.4em; }

p { margin: 0 0 1em; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 56ch;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-deep);
  margin: 0 0 1.25rem;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: clamp(72px, 10vw, 140px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }

/* Real miiro logo — uses the brand PNG. The .word and .mark spans are kept
   for backward compatibility but hidden in favor of the image. */
.miiro-logo {
  display: inline-block;
  position: relative;
  height: 1.85em;
  line-height: 0;
}

.miiro-logo::before {
  content: '';
  display: block;
  width: auto;
  height: 100%;
  aspect-ratio: 4500 / 1696;
  background: url('../images/miiro-logo.png') no-repeat center / contain;
}

/* Hide the legacy markup; the ::before image is the logo */
.miiro-logo .word,
.miiro-logo .mark { display: none; }

/* Hero/footer larger variant */
.miiro-logo.lg { height: 3.2em; }

/* Footer logo — white via CSS filter (since logo is blue) */
.footer .miiro-logo::before {
  filter: brightness(0) invert(1);
}

/* Video frame with blurred ambient backdrop (Apple-Music-style).
   Background video fills + blurs. Foreground video is centered at fixed
   height with auto width so the blur clearly shows on either side. */
.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #0f1924;
  isolation: isolate;
}
.video-frame .video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(40px) saturate(1.2) brightness(1.05);
  transform: scale(1.25);
  pointer-events: none;
  z-index: 0;
  background: transparent;
}
.video-frame .video-fg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 92%;
  max-width: 92%;
  z-index: 1;
  background: transparent;
  border-radius: 8px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.45);
  display: block;
}

/* Pattern band — the brand's emotion icons strip, decorative top bar */
.pattern-band {
  width: 100%;
  background: var(--bg-cool);
  border-bottom: 1px solid var(--line);
}
.pattern-band img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 242, 236, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand-link { display: inline-flex; align-items: center; }
.brand-link .miiro-logo { height: 30px; }
.miiro-logo.lg { height: 56px; }

.nav { display: flex; gap: 28px; align-items: center; }

.nav a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav a:hover, .nav a.active { color: var(--ink); }

.nav-cta {
  border: 1px solid var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover { background: var(--ink); color: var(--bg); }

.nav-toggle { display: none; background: transparent; border: 0; font-size: 1.4rem; }

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: inline-flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #000; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* Hero */
.hero {
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(60px, 8vw, 110px);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero h1 .accent {
  font-style: italic;
  color: var(--accent-deep);
}

.hero-img-wrap {
  position: relative;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-cool) 100%);
  border-radius: 28px;
  border: 1px solid var(--line);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  box-shadow: 0 30px 60px -30px rgba(20, 32, 44, 0.12);
  overflow: hidden;
}

.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 18px;
}

.hero-meta {
  margin-top: 32px;
  display: flex; gap: 24px;
  align-items: center;
  color: var(--ink-faint);
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.hero-meta .dot {
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%; display: inline-block;
}

/* Pull quote */
.pull-quote {
  text-align: center;
  padding: clamp(72px, 9vw, 130px) 0;
  background: var(--bg-cool);
}

.pull-quote .quote {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.25;
  max-width: 24ch;
  margin: 0 auto;
  color: var(--ink);
}

.pull-quote .quote em { font-style: italic; color: var(--accent-deep); }

/* Section head */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.section-head h2 { margin-bottom: 0; }
.section-head .lead { margin-top: 8px; }

/* Character grid */
.character-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 880px) { .character-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .character-grid { grid-template-columns: 1fr; } }

.character-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.character-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(20, 32, 44, 0.16);
}

/* Figure + side detail composition */
.character-photo {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.character-photo .figure {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-cool) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: transform 0.5s ease;
}

.character-card:hover .character-photo .figure { transform: scale(1.02); }

.character-photo .figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.character-photo .detail {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}

.character-photo .detail .swatch {
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.character-photo .detail .box {
  border-radius: 12px;
  background: #14202c center/cover no-repeat;
  background-image: url('../images/packaging-3.png');
  position: relative;
}

.character-photo .detail .box::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(20,32,44,0.45) 100%);
}

.character-card .name {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  display: flex; align-items: center; gap: 8px;
}

.character-card .name .symbol { font-size: 1.05rem; }

.character-card .quote {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 8px 0 0;
}

.character-card .meta {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  margin-bottom: 6px;
}

/* Two-column feature */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 880px) { .feature { grid-template-columns: 1fr; gap: 40px; } }

.feature-img {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-cool) 100%);
  border-radius: 28px;
  border: 1px solid var(--line);
  padding: 24px;
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.feature-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.feature-img.dark {
  background: #0f1924;
  border-color: #0f1924;
  padding: 0;
}

.feature-img.dark img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

.feature ul { list-style: none; padding: 0; margin: 24px 0 0; }

.feature ul li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: flex; gap: 14px; align-items: flex-start;
}

.feature ul li::before {
  content: ""; flex-shrink: 0;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 8px;
}

.feature ul li:last-child { border-bottom: 1px solid var(--line); }

/* Horoscope strip */
.horoscope { background: var(--bg-cool); }

.horoscope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 880px) { .horoscope-grid { grid-template-columns: 1fr; } }

.horoscope-card {
  background: var(--bg-alt);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.horoscope-card img { width: 100%; height: auto; display: block; }

/* Footer */
.site-footer {
  background: #0f1924;
  color: #c5cdd5;
  padding: 80px 0 40px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Footer logo styling handled in the logo block above (filter inverts to white) */

.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #8a929c;
  margin: 0 0 18px;
}

.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin: 0 0 10px; }
.footer ul a { color: #c5cdd5; font-size: 0.95rem; transition: color 0.2s ease; }
.footer ul a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid #25313d;
  font-size: 0.82rem;
  color: #8a929c;
  flex-wrap: wrap;
  gap: 12px;
}

/* Page header */
.page-header {
  padding: clamp(80px, 9vw, 140px) 0 clamp(40px, 5vw, 60px);
  text-align: center;
}

.page-header .lead { margin: 0 auto; }

/* About story / kanji */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 880px) { .story { grid-template-columns: 1fr; gap: 32px; } }

.story h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.kanji {
  font-family: 'Fraunces', serif;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.95;
  color: var(--accent);
  margin: 0 0 16px;
}

.kanji span {
  display: block;
  font-size: 0.32em;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 12px;
}

/* Stores */
.store-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.store-card .name { font-family: 'Fraunces', serif; font-size: 1.6rem; margin: 0 0 6px; }

.store-card .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.status .pulse {
  width: 8px; height: 8px;
  background: #4caf50;
  border-radius: 50%;
  display: inline-block;
}

.status.coming .pulse { background: var(--accent); }

/* Series 2 placeholder cards */
.series-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.series-card .swatch-block {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  color: rgba(255,255,255,0.92);
}

.series-card .name { font-family: 'Fraunces', serif; font-size: 1.4rem; margin: 0 0 6px; }
.series-card .quote { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* Tag pill */
.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-cool);
  color: var(--accent-deep);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}

/* CTA strip */
.cta-strip {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: clamp(56px, 7vw, 100px) 0;
}

.cta-strip h2 { color: #fff; max-width: 22ch; margin: 0 auto 16px; }
.cta-strip h2 em { font-style: italic; color: var(--accent); }
.cta-strip p { color: #b0bac3; max-width: 50ch; margin: 0 auto 32px; }

/* Shelf hero band — full-width beauty shot */
.shelf-band {
  background: var(--bg-cool);
  padding: clamp(56px, 7vw, 100px) 0;
  text-align: center;
}

.shelf-band .container { max-width: 1320px; }

.shelf-band .eyebrow { color: var(--accent-deep); }

.shelf-band h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 36px;
}

.shelf-band h2 em { font-style: italic; color: var(--accent-deep); }

.shelf-shot {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  display: block;
}

/* Marquee row */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  padding: 22px 0;
}

.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: scroll 38s linear infinite;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: var(--ink-soft);
}

.marquee-track span::after {
  content: "·";
  margin-left: 56px;
  color: var(--accent);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Entrance — content always visible */
.fade-up { opacity: 1; transform: none; }

/* ==========================================================================
   Turntable component (clean 4-angle figures, 2-angle boxes)
   --------------------------------------------------------------------------
   .turn360.fig  → 4 frames (Front, Right, Back, Left) — full rotation
   .turn360.box  → 2 frames (Front, Back) — quiet flip
   On hover (or with .auto): rotates through every frame.
   ========================================================================== */
.turn360 {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-repeat: no-repeat;
  background-position: 0 0;
  border-radius: 16px;
  background-color: #ffffff;
  background-image: linear-gradient(180deg, #ffffff 0%, var(--bg-cool) 100%);
  position: relative;
  overflow: hidden;
}

.turn360.fig  { background-size: 400% 100%; }   /* 4 frames F R B L */
.turn360.box  { background-size: 200% 100%; }   /* 2 frames F B */
.turn360.box3 { background-size: 300% 100%; }   /* 3 frames F OOP B */

/* Per-keyframe steps(1, end): each frame is held, then snaps to the next.
   Final keyframe loops back to frame 1 — no blank flash. */
@keyframes spin-fig {
  0%   { background-position: 0% 0;     animation-timing-function: steps(1, end); }
  25%  { background-position: -100% 0;  animation-timing-function: steps(1, end); }
  50%  { background-position: -200% 0;  animation-timing-function: steps(1, end); }
  75%  { background-position: -300% 0;  animation-timing-function: steps(1, end); }
  100% { background-position: 0% 0; }
}

@keyframes flip-box {
  0%   { background-position: 0% 0;     animation-timing-function: steps(1, end); }
  50%  { background-position: -100% 0;  animation-timing-function: steps(1, end); }
  100% { background-position: 0% 0; }
}

@keyframes turn-box3 {
  0%   { background-position: 0% 0;     animation-timing-function: steps(1, end); }
  33%  { background-position: -100% 0;  animation-timing-function: steps(1, end); }
  66%  { background-position: -200% 0;  animation-timing-function: steps(1, end); }
  100% { background-position: 0% 0; }
}

/* Animations DISABLED — all figures/boxes are static now to avoid any flicker.
   Kept the keyframe definitions and class names so the markup stays valid; we
   just don't apply any animation. Hover scaling on cards also disabled. */
.turn360 { animation: none !important; }
.character-card:hover .char-pair .pane { transform: none; }

/* Per-character spritesheets */
.turn360.t-joy-fig       { background-image: url('../images/turn/joy/fig.jpg'); }
.turn360.t-joy-box       { background-image: url('../images/turn/joy/box.jpg'); }
.turn360.t-love-fig      { background-image: url('../images/turn/love/fig.jpg'); }
.turn360.t-love-box      { background-image: url('../images/turn/love/box.jpg'); }
.turn360.t-dread-fig     { background-image: url('../images/turn/dread/fig.jpg'); }
.turn360.t-dread-box     { background-image: url('../images/turn/dread/box.jpg'); }
.turn360.t-anger-fig     { background-image: url('../images/turn/anger/fig.jpg'); }
.turn360.t-anger-box     { background-image: url('../images/turn/anger/box.jpg'); }
.turn360.t-cheer-fig     { background-image: url('../images/turn/cheer/fig.jpg'); }
.turn360.t-cheer-box     { background-image: url('../images/turn/cheer/box.jpg'); }
.turn360.t-gratitude-fig { background-image: url('../images/turn/gratitude/fig.jpg'); }
.turn360.t-gratitude-box { background-image: url('../images/turn/gratitude/box.jpg'); }

/* ==========================================================================
   Click-driven slider — manual navigation, no auto-play, no flicker.
   <div class="miiro-slider">
     <div class="slides">
       <div class="slide is-active"><img ...></div>
       <div class="slide"><img ...></div>
       <div class="slide"><img ...></div>
     </div>
     <button class="slider-arrow prev"></button>
     <button class="slider-arrow next"></button>
     <div class="slide-label">Front</div>
   </div>
   <div class="slider-dots">
     <button class="dot is-active" aria-label="Slide 1"></button>...
   </div>
   ========================================================================== */
.miiro-slider {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-cool) 100%);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}
.miiro-slider .slides { position: absolute; inset: 0; }
.miiro-slider .slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.miiro-slider .slide.is-active { opacity: 1; pointer-events: auto; }
.miiro-slider .slide img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 14px;
  user-select: none;
  -webkit-user-drag: none;
}

.slide-label {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  background: rgba(255,255,255,0.85);
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
  pointer-events: none;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--ink);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 0;
  line-height: 1;
}
.miiro-slider:hover .slider-arrow,
.miiro-slider:focus-within .slider-arrow { opacity: 1; }
.slider-arrow.prev { left: 10px; }
.slider-arrow.next { right: 10px; }
.slider-arrow:hover { background: #ffffff; transform: translateY(-50%) scale(1.05); }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 0 16px;
}
.slider-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.slider-dots .dot.is-active { background: var(--accent-deep); transform: scale(1.25); }
.slider-dots .dot:hover { background: var(--accent); }

/* Character card: static figure + box pair (no animation, eliminates flicker) */
.char-pair {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 8px;
  margin-bottom: 18px;
}

.char-pair .pane {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-cool) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease;
}

.character-card:hover .char-pair .pane { transform: scale(1.02); }

.char-pair .pane img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  display: block;
}

.char-pair .pane .label {
  position: absolute;
  top: 10px; left: 12px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  background: rgba(255,255,255,0.85);
  padding: 3px 8px;
  border-radius: 999px;
  z-index: 2;
}

/* Show us your collection / socials */
.social-band {
  background: var(--bg-cool);
  padding: clamp(64px, 8vw, 110px) 0;
}

.social-band .lead { text-align: center; margin: 0 auto; }
.social-band .section-head { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.social-band .section-head h2 { text-align: center; }

.social-handles {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.social-handle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-handle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(20, 32, 44, 0.15);
}

.social-handle .icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--accent-deep);
}

.social-handle .name {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  color: var(--ink);
}

.social-handle .handle {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.social-handle .follow {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--accent-deep);
  font-weight: 500;
}

/* Newsletter callout */
.miiro-list {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(56px, 7vw, 100px) 0;
  text-align: center;
}
.miiro-list .eyebrow { color: var(--accent); }
.miiro-list h2 {
  color: #ffffff;
  max-width: 22ch;
  margin: 0 auto 12px;
}
.miiro-list h2 em { font-style: italic; color: var(--accent); }
.miiro-list p { color: #b0bac3; max-width: 50ch; margin: 0 auto 28px; }
.miiro-list form {
  display: flex; gap: 8px;
  max-width: 480px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center;
}
.miiro-list input[type="email"] {
  flex: 1; min-width: 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid #2a3441;
  background: rgba(255,255,255,0.06);
  font: inherit;
  color: #ffffff;
}
.miiro-list input[type="email"]::placeholder { color: #7a838d; }

/* Five Below brand callout */
.fivebelow-card {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.fivebelow-card img.fb-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.fivebelow-row {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .turn360,
  .turn360.auto,
  .character-card:hover .turn360 { animation: none !important; }
}
