/* TOYMORI — a little museum of joy */
@font-face {
  font-family: "Baloo 2";
  src: url("assets/fonts/Baloo2-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #1f1f1f;
  --ink-soft: #3b3732;
  --paper: #fffdf8;
  --cream: #f5ede2;
  --cream-deep: #eadccb;
  --coral: #ff7a4d;
  --coral-soft: #ffd8c8;
  --muted: #706a61;
  --line: rgba(31, 31, 31, 0.14);
  --line-strong: rgba(31, 31, 31, 0.3);
  --white: #ffffff;
  --display: "Baloo 2", "Arial Rounded MT Bold", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max: 1280px;
  --radius: 30px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(31, 31, 31, 0.035) 0.65px, transparent 0.65px);
  background-size: 9px 9px;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.dialog-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  color: var(--ink);
  background: var(--coral);
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 80px));
  margin-inline: auto;
}

/* announcement */
.announcement {
  padding: 9px 0;
  color: var(--cream);
  background: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.announcement p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 122, 77, 0.15);
}

.announcement-note {
  color: rgba(245, 237, 226, 0.56);
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(255, 253, 248, 0.97);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.96);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--cream);
  object-fit: cover;
}

.brand-type {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: 0.01em;
}

.brand-type small {
  margin-top: 5px;
  font-family: var(--body);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 17px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-1px);
}

.header-cta span {
  font-size: 15px;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 18px;
  height: 1.8px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(0) rotate(-45deg);
}

/* hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 74px 0 104px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -210px;
  right: -100px;
  z-index: -1;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 77, 0.19), rgba(255, 122, 77, 0) 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 76px;
  left: -20px;
  z-index: -1;
  width: 160px;
  height: 160px;
  background-image: radial-gradient(rgba(31, 31, 31, 0.2) 1.2px, transparent 1.2px);
  background-size: 12px 12px;
  opacity: 0.55;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 46px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.eyebrow-line {
  display: inline-block;
  width: 34px;
  height: 1.5px;
  background: var(--ink);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--body);
  font-size: clamp(48px, 5.3vw, 76px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.highlight {
  position: relative;
  z-index: 0;
  display: inline-block;
  white-space: nowrap;
}

.highlight::after {
  content: "";
  position: absolute;
  right: -3%;
  bottom: 0.04em;
  left: -3%;
  z-index: -1;
  height: 0.35em;
  border-radius: 999px;
  background: var(--coral);
  transform: rotate(-1.8deg);
}

.lede {
  max-width: 480px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--coral);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--coral);
}

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

.btn-ghost:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

.btn-arrow {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.hero-stats {
  display: flex;
  gap: 42px;
  max-width: 470px;
  margin: 52px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-stats div {
  display: flex;
  flex-direction: column-reverse;
  gap: 1px;
}

.hero-stats dd {
  margin: 0;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stats dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 590px;
}

.hero-glow {
  position: absolute;
  inset: 8% -8% 2%;
  border-radius: 50%;
  background: radial-gradient(circle at 55% 42%, rgba(255, 122, 77, 0.26), rgba(255, 122, 77, 0) 66%);
  filter: blur(18px);
  pointer-events: none;
}

.poster {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(100%, 550px);
  padding: 26px 24px 32px;
  border: 2px solid var(--ink);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 14px 14px 0 var(--ink);
  transform: rotate(2.2deg);
  animation: poster-in 0.9s 0.12s var(--ease) both;
}

.poster-logo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  mix-blend-mode: multiply;
}

.sticker {
  position: absolute;
  top: -20px;
  right: -18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 17px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transform: rotate(7deg);
}

.float-card {
  position: absolute;
  bottom: 18px;
  left: -12px;
  z-index: 2;
  width: 172px;
  margin: 0;
  padding: 9px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(-5deg);
}

.float-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  background: var(--cream);
  object-fit: contain;
  mix-blend-mode: multiply;
}

.float-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 4px 2px;
}

.float-card span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.float-card strong {
  font-size: 11px;
  line-height: 1.35;
}

.hero-note {
  position: absolute;
  right: 2px;
  bottom: -20px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.hero-note span {
  color: var(--coral);
  font-size: 16px;
}

/* ticker */
.ticker {
  --ticker-edge-outer: 0.75px;
  --ticker-edge-inner: 1.5px;
  --ticker-edge-fill: 2.5px;
  position: relative;
  z-index: 2;
  width: 104%;
  margin-left: -2%;
  overflow: hidden;
  /* Keep the border box unchanged; soften both sides of each rotated rule. */
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  background: linear-gradient(
    to bottom,
    transparent 0,
    var(--ink) var(--ticker-edge-outer),
    var(--ink) var(--ticker-edge-inner),
    var(--coral) var(--ticker-edge-fill),
    var(--coral) calc(100% - var(--ticker-edge-fill)),
    var(--ink) calc(100% - var(--ticker-edge-inner)),
    var(--ink) calc(100% - var(--ticker-edge-outer)),
    transparent 100%
  );
  background-origin: border-box;
  background-repeat: no-repeat;
  transform: rotate(-2deg);
}

/* Browser zoom / OS scaling are included in dppx; no screen-size guessing.
   Broader coverage ramps soften raster steps without blurring the text. */
@media (max-resolution: 1.5dppx) {
  .ticker {
    --ticker-edge-outer: 1.25px;
    --ticker-edge-inner: 1.75px;
    --ticker-edge-fill: 3px;
  }
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee var(--ticker-duration, 30s) linear infinite;
}

.ticker-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 26px;
  padding: 13px 26px 13px 0;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ticker-group i {
  font-style: normal;
  font-size: 16px;
}

/* shared section bits */
.section {
  padding: 112px 0;
  scroll-margin-top: 100px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: 38px;
}

.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.section-index::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.section h2 {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(36px, 4.3vw, 62px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-side {
  max-width: 330px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  text-align: right;
}

/* catalog controls */
.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter {
  min-height: 38px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.filter:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.filter.is-active {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.result-count {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  padding: 10px;
  border: 1.5px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}

.product-card:hover {
  border-color: rgba(31, 31, 31, 0.26);
  box-shadow: 0 20px 44px rgba(31, 31, 31, 0.09);
  transform: translateY(-6px) rotate(-0.35deg);
}

.product-card[hidden] {
  display: none;
}

.product-media-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--cream);
}

.product-media {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.product-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 7%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.55s var(--ease);
}

.product-card:hover .product-media img {
  transform: scale(1.035) rotate(-0.8deg);
}

.product-view {
  position: absolute;
  bottom: 14px;
  left: 50%;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.product-card:hover .product-view,
.product-media:focus-visible .product-view {
  opacity: 1;
  transform: translate(-50%, 0);
}

.like-button {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.92);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease;
}

.like-button:hover {
  transform: scale(1.08) rotate(-6deg);
  background: var(--white);
}

.like-button svg {
  width: 18px;
  height: 18px;
}

.like-button path {
  fill: transparent;
  stroke: var(--ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.2s ease;
}

.like-button.is-liked path {
  fill: var(--coral);
}

.product-no {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  font-family: var(--display);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.product-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 9px 8px;
}

.product-series {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.product-info h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.product-en {
  max-width: 100px;
  margin: 0 0 2px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-align: right;
  text-transform: uppercase;
}

.section-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.section-foot p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 3px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.text-link:hover {
  gap: 14px;
  color: var(--coral);
  border-color: var(--coral);
}

/* vibe */
.new-in {
  background: var(--cream);
}

.vibe {
  background: transparent;
  border-top: 2px solid transparent;
  border-bottom: 2px solid var(--ink);
}

.vibe-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.96fr 0.96fr;
  gap: 18px;
}

.vibe-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  overflow: hidden;
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 30px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.vibe-card:hover {
  box-shadow: 8px 8px 0 var(--ink);
  transform: translate(-4px, -4px);
}

.vibe-kicker {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vibe-card h3 {
  position: relative;
  z-index: 1;
  max-width: 350px;
  margin: 34px 0 14px;
  font-size: clamp(32px, 3.25vw, 45px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.vibe-card p {
  position: relative;
  z-index: 1;
  max-width: 80%;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.vibe-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 16px;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease;
}

.vibe-card:hover .vibe-arrow {
  color: var(--paper);
  background: var(--ink);
  transform: rotate(45deg);
}

.vibe-star {
  background: var(--coral);
}

.vibe-star h3 {
  max-width: 250px;
}

.vibe-count {
  position: absolute;
  bottom: -30px;
  left: 18px;
  z-index: 0;
  color: transparent;
  font-family: var(--display);
  font-size: 190px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  -webkit-text-stroke: 2px rgba(31, 31, 31, 0.23);
  pointer-events: none;
}

.constellation-art {
  position: absolute;
  right: -10px;
  bottom: 20px;
  z-index: 0;
  width: 90%;
  height: auto;
}

.constellation-art path {
  fill: none;
  stroke: rgba(31, 31, 31, 0.7);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.constellation-art circle {
  fill: var(--cream);
  stroke: var(--ink);
  stroke-width: 1.6;
}

.vibe-soft {
  background: var(--white);
}

.vibe-soft h3 {
  max-width: 230px;
}

.vibe-photo {
  position: absolute;
  right: -14px;
  bottom: 4px;
  z-index: 0;
  width: 68%;
  max-width: 270px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: rotate(-5deg);
  transition: transform 0.45s var(--ease);
}

.vibe-card:hover .vibe-photo {
  transform: rotate(-1deg) translateY(-4px) scale(1.02);
}

.vibe-wacky {
  color: var(--paper);
  background: var(--ink);
}

.vibe-wacky p {
  color: rgba(245, 237, 226, 0.68);
}

.vibe-wacky .vibe-kicker {
  color: rgba(245, 237, 226, 0.55);
}

.vibe-wacky .vibe-arrow {
  border-color: rgba(245, 237, 226, 0.7);
}

.vibe-wacky:hover .vibe-arrow {
  color: var(--ink);
  background: var(--coral);
}

.vibe-wacky .vibe-photo {
  right: -22px;
  bottom: -10px;
  width: 64%;
  padding: 8px;
  border: 2px solid var(--paper);
  border-radius: 22px;
  background: var(--white);
  mix-blend-mode: normal;
  transform: rotate(4deg);
}

.vibe-wacky:hover .vibe-photo {
  transform: rotate(1deg) translateY(-4px);
}

/* story */
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 78px;
}

.story-visual {
  min-width: 0;
}

.mori-poster {
  position: relative;
  max-width: 465px;
  margin: 0 auto;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 34px;
  background: var(--cream);
  box-shadow: 16px 16px 0 var(--coral);
  transform: rotate(-2deg);
}

.mori-poster > img {
  display: block;
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 25px;
  background: var(--white);
}

.mori-poster-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px 2px;
}

.mori-poster-bottom strong {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: 0.02em;
}

.mori-poster-bottom span {
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

.sticker-small {
  top: -18px;
  right: -15px;
  min-height: 38px;
  padding: 0 14px;
  font-size: 9px;
}

.mori-note {
  max-width: 350px;
  margin: 38px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
  transform: rotate(-1deg);
}

.story-copy h2 {
  margin-bottom: 28px;
}

.story-lead {
  max-width: 610px;
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: -0.015em;
}

.story-copy > p:not(.section-index):not(.story-lead) {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.palette {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.palette li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.swatch {
  display: block;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.swatch-ink {
  background: var(--ink);
}

.swatch-cream {
  background: var(--cream);
}

.swatch-coral {
  background: var(--coral);
}

.palette li > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.palette strong {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.palette small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.story-stats {
  display: flex;
  gap: 48px;
  margin: 36px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.story-stats div {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
}

.story-stats dd {
  margin: 0;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.story-stats dt {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

/* quote */
.quote {
  position: relative;
  overflow: hidden;
  padding: 96px 0 104px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--coral);
  scroll-margin-top: 100px;
}

/* Keep the decorative quote from being selected or dragged. */
.quote,
.quote * {
  -webkit-user-select: none;
  user-select: none;
}

.quote img {
  -webkit-user-drag: none;
}

.quote::after {
  content: "MORI";
  position: absolute;
  right: -3vw;
  bottom: -9vw;
  z-index: 0;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(180px, 27vw, 390px);
  font-weight: 800;
  line-height: 0.7;
  letter-spacing: -0.04em;
  -webkit-text-stroke: 2px rgba(31, 31, 31, 0.16);
  transform: rotate(-7deg);
  pointer-events: none;
}

.quote-inner {
  position: relative;
  z-index: 1;
}

.quote .section-index {
  color: rgba(31, 31, 31, 0.62);
}

.quote .section-index::before {
  background: rgba(31, 31, 31, 0.5);
}

.quote blockquote {
  max-width: 880px;
  margin: 18px 0 32px;
  font-size: clamp(58px, 9vw, 122px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.quote-line {
  display: block;
}

.quote.quote-animate .quote-line {
  opacity: 0;
  transform: translateY(0.16em);
}

.quote.quote-animate.is-visible .quote-line {
  animation: quote-line-in 0.85s var(--ease) forwards;
}

.quote.quote-animate.is-visible .quote-line:nth-child(2) {
  animation-delay: 0.58s;
}

.quote-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-footer img {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  object-fit: cover;
}

.quote-footer p {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 0;
}

.quote-footer strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
}

.quote-footer span {
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* newsletter */
.newsletter {
  padding: 96px 0 116px;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 58px;
  border: 2px solid var(--ink);
  border-radius: 40px;
  background: var(--white);
  box-shadow: 12px 12px 0 var(--coral);
}

.newsletter h2 {
  margin-bottom: 18px;
}

.newsletter-copy {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.newsletter-form input {
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 0 21px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  outline: none;
  transition: box-shadow 0.2s ease;
}

.newsletter-form input::placeholder {
  color: #999187;
}

.newsletter-form input:focus {
  box-shadow: 0 0 0 4px var(--coral-soft);
}

.newsletter-form .btn {
  flex-shrink: 0;
  min-height: 54px;
}

.form-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.form-status {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

/* footer */
.site-footer {
  overflow: hidden;
  padding: 70px 0 28px;
  color: var(--cream);
  background: var(--ink);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
  text-decoration: none;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(245, 237, 226, 0.6);
  border-radius: 17px;
  object-fit: cover;
}

.footer-brand span {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  line-height: 0.85;
}

.footer-brand small {
  margin-top: 4px;
  color: rgba(245, 237, 226, 0.56);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.footer-tagline {
  margin: 17px 0 0;
  color: rgba(245, 237, 226, 0.56);
  font-size: 12px;
}

.footer-cols {
  display: flex;
  gap: 64px;
}

.footer-col h3 {
  margin: 5px 0 16px;
  color: rgba(245, 237, 226, 0.42);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  max-width: 230px;
  margin: 9px 0;
  color: rgba(245, 237, 226, 0.78);
  font-size: 12px;
  line-height: 1.6;
  text-decoration: none;
}

.footer-col a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  color: var(--coral);
  transform: translateX(2px);
}

.footer-word {
  margin: 64px 0 38px;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(48px, 14vw, 200px);
  font-weight: 800;
  line-height: 0.7;
  letter-spacing: -0.055em;
  text-align: center;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(245, 237, 226, 0.18);
  user-select: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 237, 226, 0.14);
  color: rgba(245, 237, 226, 0.5);
  font-size: 10px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: rgba(245, 237, 226, 0.62);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--coral);
}

.disclaimer {
  max-width: 930px;
  margin: 14px 0 0;
  color: rgba(245, 237, 226, 0.34);
  font-size: 9px;
  line-height: 1.8;
}

/* dialog */
.product-dialog {
  width: min(980px, calc(100% - 40px));
  max-height: 90vh;
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 2px solid var(--ink);
  border-radius: 30px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 16px 16px 0 rgba(31, 31, 31, 0.35);
}

.product-dialog[open] {
  animation: dialog-in 0.28s var(--ease) both;
}

.product-dialog::backdrop {
  background: rgba(31, 31, 31, 0.58);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.dialog-close:hover {
  color: var(--paper);
  background: var(--ink);
  transform: rotate(90deg);
}

.dialog-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.dialog-media {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 36px;
  background: var(--cream);
}

.dialog-media img {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.dialog-copy {
  padding: 52px 42px 40px;
}

.dialog-kicker {
  margin: 0 0 26px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.dialog-series {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.dialog-copy h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.dialog-en {
  margin: 8px 0 24px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-note {
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.dialog-meta {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dialog-meta span {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}

.dialog-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.dialog-like {
  margin-top: 24px;
  min-height: 48px;
  box-shadow: 3px 3px 0 var(--coral);
}

.dialog-like.is-liked {
  color: var(--ink);
  background: var(--coral);
}

/* toast */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  z-index: 120;
  max-width: calc(100% - 40px);
  padding: 13px 20px;
  border: 1.5px solid var(--cream);
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 10px 30px rgba(31, 31, 31, 0.2);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* motion */
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes quote-line-in {
  from {
    opacity: 0;
    transform: translateY(0.16em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes poster-in {
  from {
    opacity: 0;
    transform: rotate(0deg) translateY(22px);
  }
  to {
    opacity: 1;
    transform: rotate(2.2deg) translateY(0);
  }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* responsive */
@media (max-width: 1120px) {
  .hero-grid {
    gap: 26px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .hero h1 {
    font-size: clamp(46px, 6.4vw, 78px);
  }

  .story-grid {
    gap: 50px;
  }

  .vibe-grid {
    grid-template-columns: 1fr 1fr;
  }

  .vibe-wacky {
    grid-column: span 2;
    min-height: 400px;
  }

  .vibe-wacky h3 {
    max-width: 500px;
  }

  .vibe-wacky .vibe-photo {
    width: 34%;
    max-width: 300px;
    right: 6%;
    bottom: 10px;
  }
}

@media (max-width: 960px) {
  .announcement {
    display: none;
  }

  .primary-nav {
    position: fixed;
    inset: 78px 0 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 22px 40px 40px;
    border-top: 1px solid var(--line);
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 0.3s ease, transform 0.45s var(--ease), visibility 0.45s;
  }

  .primary-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
  }

  .primary-nav a::after {
    display: none;
  }

  body.nav-open .primary-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.45s var(--ease), visibility 0s;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero h1 {
    font-size: clamp(48px, 9vw, 78px);
  }

  .hero-visual {
    min-height: auto;
    padding: 10px 0 36px;
  }

  .poster {
    width: min(100%, 570px);
  }

  .hero-note {
    right: 4%;
    bottom: 2px;
  }

  .hero-stats {
    max-width: 520px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section-side {
    max-width: 520px;
    text-align: left;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .story-visual {
    max-width: 480px;
    margin-inline: auto;
  }

  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 44px;
  }

  .newsletter-copy {
    max-width: 560px;
  }

  .dialog-grid {
    grid-template-columns: 1fr;
  }

  .dialog-media {
    min-height: 340px;
    padding: 26px;
  }

  .dialog-media img {
    max-height: 300px;
  }

  .dialog-copy {
    padding: 34px 28px 30px;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .announcement p.announcement-note {
    display: none;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 44px 0 80px;
  }

  .hero::after {
    display: none;
  }

  .hero h1 {
    font-size: clamp(42px, 10.5vw, 66px);
  }

  .lede {
    margin: 22px 0 28px;
    font-size: 15px;
  }

  .hero-stats {
    gap: 24px;
    margin-top: 38px;
  }

  .hero-stats dd {
    font-size: 28px;
  }

  .poster {
    padding: 18px 16px 22px;
    border-radius: 26px;
    box-shadow: 9px 9px 0 var(--ink);
  }

  .sticker {
    top: -15px;
    right: -8px;
    min-height: 36px;
    padding: 0 13px;
    font-size: 9px;
  }

  .float-card {
    bottom: -18px;
    left: -6px;
    width: 144px;
  }

  .hero-note {
    display: none;
  }

  .ticker-group {
    gap: 20px;
    padding: 11px 20px 11px 0;
    font-size: 18px;
  }

  .section h2 {
    font-size: clamp(34px, 8vw, 48px);
  }

  .catalog-tools {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .product-grid {
    gap: 14px;
  }

  .product-card {
    padding: 8px;
    border-radius: 22px;
  }

  .product-media-wrap {
    border-radius: 16px;
  }

  .product-info {
    padding: 13px 6px 5px;
  }

  .product-info h3 {
    font-size: 18px;
  }

  .product-en {
    display: none;
  }

  .product-no {
    top: 10px;
    left: 10px;
    font-size: 7px;
  }

  .like-button {
    top: 8px;
    right: 8px;
    width: 35px;
    height: 35px;
  }

  .like-button svg {
    width: 16px;
    height: 16px;
  }

  .section-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .vibe-grid {
    grid-template-columns: 1fr;
  }

  .vibe-card,
  .vibe-wacky {
    grid-column: auto;
    min-height: 420px;
  }

  .vibe-card.vibe-wacky {
    min-height: 450px;
  }

  .vibe-wacky .vibe-photo {
    right: -6px;
    bottom: -4px;
    width: 46%;
  }

  .vibe-card.vibe-wacky p {
    max-width: 56%;
  }

  .vibe-count {
    font-size: 160px;
  }

  .story-grid {
    gap: 58px;
  }

  .mori-poster {
    box-shadow: 10px 10px 0 var(--coral);
  }

  .mori-poster-bottom strong {
    font-size: 34px;
  }

  .story-lead {
    font-size: 16px;
  }

  .story-stats {
    gap: 28px;
  }

  .story-stats dd {
    font-size: 32px;
  }

  .quote {
    padding: 72px 0 78px;
  }

  .quote blockquote {
    font-size: clamp(56px, 13vw, 86px);
  }

  .newsletter {
    padding: 68px 0 88px;
  }

  .newsletter-grid {
    padding: 32px 24px;
    border-radius: 28px;
    box-shadow: 8px 8px 0 var(--coral);
  }

  .newsletter h2 {
    font-size: 42px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;
  }

  .footer-top {
    flex-direction: column;
    gap: 38px;
  }

  .footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-word {
    margin: 46px 0 28px;
    font-size: 14vw;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .product-dialog {
    width: calc(100% - 24px);
    border-radius: 24px;
  }

  .dialog-media {
    min-height: 290px;
    padding: 20px;
  }

  .dialog-copy {
    padding: 28px 20px 24px;
  }

  .dialog-kicker {
    margin-bottom: 18px;
  }
}

@media (max-width: 520px) {
  .announcement {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .announcement p {
    gap: 7px;
  }

  .sticker {
    top: -14px;
    right: 0;
    min-height: 34px;
    padding: 0 11px;
    font-size: 8px;
  }

  .brand-type {
    font-size: 21px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .nav-shell {
    min-height: 72px;
  }

  .primary-nav {
    inset: 72px 0 0;
    padding: 16px 20px 32px;
  }

  .primary-nav a {
    font-size: 25px;
  }

  .hero h1 {
    font-size: clamp(39px, 11.3vw, 52px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .float-card {
    display: none;
  }

  .poster {
    transform: rotate(1.2deg);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-info h3 {
    font-size: 21px;
  }

  .product-en {
    display: block;
  }

  .vibe-card {
    min-height: 400px;
    padding: 22px;
  }

  .vibe-card h3 {
    margin-top: 28px;
    font-size: 36px;
  }

  .vibe-card p {
    max-width: 78%;
  }

  .vibe-card.vibe-wacky p {
    max-width: 56%;
  }

  .vibe-photo {
    width: 58%;
  }

  .vibe-card.vibe-wacky .vibe-photo {
    width: 46%;
  }

  .palette {
    gap: 18px;
  }

  .palette li {
    width: calc(50% - 9px);
  }

  .story-stats {
    justify-content: space-between;
    gap: 12px;
  }

  .quote-footer span {
    max-width: 190px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .disclaimer {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ticker-track {
    animation: none;
  }

  .quote.quote-animate .quote-line {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
