:root {
  --bg: #0a090c;
  --bg-soft: #121017;
  --ink: #f9f6ef;
  --muted: rgba(249, 246, 239, 0.76);
  --accent: #e1c28a;
  --accent-2: #d8b985;
  --accent-ink: #140e08;
  --card: rgba(17, 16, 22, 0.88);
  --border: rgba(225, 194, 138, 0.42);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  --display: "Shippori Mincho B1", "Noto Serif JP", serif;
  --body: "Manrope", "Noto Sans JP", sans-serif;
  --shell-padding: clamp(16px, 3.6vw, 64px);
  --prism-cyan: rgba(120, 207, 255, 0.24);
  --prism-pink: rgba(250, 146, 228, 0.22);
  --gold-line: rgba(255, 221, 167, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.brand-body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.72;
  word-break: normal;
  line-break: strict;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 82% -15%, rgba(214, 178, 124, 0.22), transparent 45%),
    radial-gradient(circle at 10% -25%, rgba(188, 212, 214, 0.2), transparent 36%);
  background-size: 160px 160px, 160px 160px, auto, auto;
}

@supports (word-break: auto-phrase) {
  body.brand-body {
    word-break: auto-phrase;
  }
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #1c1712;
  font-weight: 700;
  padding: 0.7rem 0.9rem;
  z-index: 1200;
}

.skip-link:focus {
  left: 0.7rem;
  top: 0.7rem;
}

.brand-shell,
.brand-breadcrumbs,
.brand-header__inner,
.brand-footer__inner {
  width: 100%;
  max-width: none;
  padding-inline: var(--shell-padding);
}

.brand-main {
  min-height: 60vh;
  padding-bottom: 5rem;
}

.brand-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(10, 9, 12, 0.8);
  border-bottom: 1px solid rgba(225, 194, 138, 0.22);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225, 194, 138, 0.7), transparent);
  pointer-events: none;
}

.brand-header__inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(130deg, rgba(24, 22, 30, 0.95), rgba(12, 11, 16, 0.95));
  border: 1px solid rgba(214, 178, 124, 0.48);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 36px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.logo-mark {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
  transition: transform 0.35s ease;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-size: 1.04rem;
}

.logo-sub {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  align-items: center;
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  font-family: var(--display);
}

.nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  background: transparent;
  transition: color 0.25s ease, text-shadow 0.25s ease, letter-spacing 0.25s ease;
  overflow: hidden;
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff6e6;
  text-shadow: 0 0 22px rgba(225, 194, 138, 0.9);
  letter-spacing: 0.15em;
}

.nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 1px solid rgba(225, 194, 138, 0.65);
  box-shadow: 0 0 18px rgba(225, 194, 138, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  background: linear-gradient(120deg, rgba(255, 238, 208, 0.35), rgba(225, 194, 138, 0.22));
  opacity: 0;
  transform: scaleX(0.55);
  transform-origin: left center;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.nav a:hover::before,
.nav a:focus-visible::before,
.nav a.is-active::before {
  opacity: 1;
  transform: scaleX(1);
}

.nav a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  opacity: 0;
  transform: translate(-120%, -120%);
  transition: opacity 0.2s ease;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 65%);
  animation: none;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after {
  opacity: 1;
  animation: navSheen 1.5s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}

.nav a.is-active {
  color: #fff4df;
  text-shadow: 0 0 26px rgba(225, 194, 138, 0.95);
}

.logo:hover .logo-badge {
  transform: translateY(-1px) rotate(2deg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 20px 36px rgba(0, 0, 0, 0.5);
}

.logo:hover .logo-mark {
  transform: scale(1.05);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.brand-btn,
.header-cta {
  padding: 12px 24px;
  font-size: 0.88rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 178, 124, 0.45);
  background: rgba(10, 9, 12, 0.35);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-btn:hover,
.brand-btn:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
}

.header-cta.primary,
.brand-btn--primary {
  background: linear-gradient(120deg, #f7e7c7, #d6b27c 55%, #b28a56 100%);
  color: var(--accent-ink);
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(214, 178, 124, 0.35);
}

.brand-btn--ghost {
  background: rgba(10, 9, 12, 0.35);
}

.brand-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(225, 194, 138, 0.45);
  background: rgba(225, 194, 138, 0.08);
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
}

.brand-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.brand-scroll-progress {
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
}

.brand-scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 14px rgba(214, 178, 124, 0.6);
}

.brand-breadcrumbs {
  padding-top: 1rem;
  padding-bottom: 0.4rem;
}

.brand-breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.brand-breadcrumbs li:not(:first-child)::before {
  content: "/";
  margin-right: 0.45rem;
  color: rgba(225, 194, 138, 0.6);
}

.brand-main::before {
  content: "";
  position: fixed;
  inset: -20% -12% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at center, rgba(214, 178, 124, 0.25), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.brand-main::after {
  content: "";
  position: fixed;
  inset: auto auto -20% -10%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle at center, rgba(188, 212, 214, 0.18), transparent 60%);
  filter: blur(45px);
  z-index: -1;
  pointer-events: none;
}

.brand-section {
  width: 100%;
  padding: clamp(34px, 4.8vw, 74px) var(--shell-padding);
  position: relative;
}

.brand-section--alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(225, 194, 138, 0.16);
  border-bottom: 1px solid rgba(225, 194, 138, 0.16);
}

.brand-body:not(.brand-home) .brand-main > .brand-section:first-of-type {
  padding-top: clamp(22px, 3vw, 40px);
  padding-bottom: clamp(24px, 3.2vw, 44px);
}

.brand-body:not(.brand-home) .brand-main > .brand-section:first-of-type h1 {
  margin-bottom: 0.6rem;
}

.brand-body:not(.brand-home) .brand-main > .brand-section:first-of-type .brand-lead {
  max-width: 70ch;
}

.brand-body:not(.brand-home) .brand-main > .brand-section:first-of-type .brand-inline-actions {
  margin-top: 0.6rem;
}

.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.brand-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.brand-shell h1,
.brand-title,
.brand-shell h2,
.brand-shell h3 {
  font-family: var(--display);
  letter-spacing: 0.02em;
  margin-top: 0;
  text-wrap: balance;
}

.brand-shell h1,
.brand-title {
  font-size: clamp(1.78rem, 2.8vw, 2.54rem);
  margin-bottom: 0.8rem;
}

.brand-shell h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  margin-bottom: 0.7rem;
}

.brand-shell h3 {
  font-size: clamp(1.06rem, 1.8vw, 1.3rem);
  margin-bottom: 0.4rem;
}

.brand-lead {
  color: var(--muted);
  max-width: 80ch;
  font-size: 1.04rem;
}

.brand-lead,
.brand-card p,
.brand-list li,
.notice-box p,
.channel p,
.release-panel p,
.release-latest-meta {
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.brand-grid {
  display: grid;
  gap: 16px;
}

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

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

.brand-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(17, 16, 22, 0.88), rgba(11, 11, 15, 0.92));
  padding: clamp(16px, 2.4vw, 24px);
  box-shadow: var(--shadow);
}

.brand-card p,
.brand-list,
.brand-article__body p,
.brand-footer p {
  color: var(--muted);
}

.brand-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-list {
  margin: 0;
  padding-left: 1.1rem;
}

.brand-list li {
  margin-bottom: 0.35rem;
}

.brand-hero {
  width: 100%;
  padding: clamp(20px, 3.4vw, 44px) var(--shell-padding);
}

.brand-hero__layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: stretch;
}

.brand-hero__media {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(225, 194, 138, 0.38);
  box-shadow: var(--shadow);
  background: #08080c;
  min-height: 244px;
}

.brand-hero__media video,
.brand-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-hero__media .hero-light {
  opacity: 0.38;
  mix-blend-mode: screen;
}

[data-deferred-video] .hero-light:not([data-hydrated="true"]) {
  opacity: 0;
}

.brand-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(11, 10, 14, 0.12), rgba(11, 10, 14, 0.46));
}

.brand-hero--premium {
  position: relative;
}

.brand-hero--premium::before {
  content: "";
  position: absolute;
  inset: 0 12% auto;
  height: clamp(170px, 34vw, 260px);
  background:
    radial-gradient(circle at 24% 35%, var(--prism-cyan), transparent 42%),
    radial-gradient(circle at 68% 14%, var(--prism-pink), transparent 44%),
    radial-gradient(circle at 42% 22%, rgba(255, 230, 175, 0.22), transparent 52%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
}

.brand-hero--premium .brand-hero__layout {
  position: relative;
  z-index: 1;
}

.premium-rainbow-media::before {
  content: "";
  position: absolute;
  inset: -14% -6% auto auto;
  width: 62%;
  aspect-ratio: 1 / 1;
  background:
    conic-gradient(from 35deg, rgba(255, 93, 163, 0.28), rgba(89, 214, 255, 0.32), rgba(255, 221, 112, 0.3), rgba(255, 93, 163, 0.28));
  filter: blur(22px);
  opacity: 0.86;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-prism-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0.24) 47%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(166deg, rgba(255, 72, 163, 0.16), rgba(44, 198, 255, 0.15) 48%, rgba(255, 216, 135, 0.18));
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-video-fallback-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  border: 1px solid rgba(255, 229, 181, 0.75);
  border-radius: 999px;
  padding: 8px 14px;
  color: #fff5df;
  background: rgba(9, 8, 11, 0.72);
  font-family: var(--body);
  font-size: 0.82rem;
  cursor: pointer;
}

.hero-video-fallback-btn:hover,
.hero-video-fallback-btn:focus-visible {
  box-shadow: 0 0 0 1px rgba(255, 245, 214, 0.8), 0 10px 24px rgba(0, 0, 0, 0.35);
}

.brand-main > .brand-section {
  animation: sectionFloatIn 620ms ease both;
}

.brand-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1rem 0 1.2rem;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}

.brand-media-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 1rem;
}

.brand-media-strip figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(9, 9, 12, 0.8);
  min-height: 190px;
}

.brand-media-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-footer {
  border-top: 1px solid rgba(225, 194, 138, 0.26);
  margin-top: 4rem;
  padding: 2.6rem 0 1.2rem;
  background: rgba(7, 7, 10, 0.7);
}

.brand-footer__lead h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
}

.brand-footer__grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.brand-footer__grid h3 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
}

.brand-footer__grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.brand-footer__grid a {
  color: var(--muted);
  text-decoration: none;
}

.brand-footer__grid a:hover,
.brand-footer__grid a:focus-visible {
  color: #fff6e6;
  text-decoration: underline;
}

.brand-footer__copyright {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin: 1.2rem 0 0;
}

.brand-article {
  width: 100%;
  padding-inline: var(--shell-padding);
}

.brand-article__header,
.brand-article__body,
.brand-article__cta {
  padding-inline: 0;
}

.brand-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

.brand-article__body {
  border-top: 1px solid rgba(225, 194, 138, 0.2);
  border-bottom: 1px solid rgba(225, 194, 138, 0.2);
  padding: 1.3rem 0;
}

.brand-panorama picture {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-article__cta {
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(225, 194, 138, 0.05);
}

@keyframes navSheen {
  0% {
    transform: translate(-120%, -120%);
  }
  70%,
  100% {
    transform: translate(120%, 120%);
  }
}

@keyframes sectionFloatIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .brand-header__inner {
    grid-template-columns: auto auto;
    grid-template-areas:
      "logo toggle"
      "nav nav"
      "actions actions";
    padding-block: 10px;
  }

  .brand-logo {
    grid-area: logo;
  }

  .brand-nav-toggle {
    grid-area: toggle;
    justify-self: end;
    display: inline-flex;
  }

  .brand-nav {
    grid-area: nav;
    display: none;
    width: 100%;
    justify-content: flex-start;
  }

  .brand-nav[data-open="true"] {
    display: flex;
  }

  .brand-header__actions {
    grid-area: actions;
    justify-self: start;
    flex-wrap: wrap;
  }

  .brand-hero__layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .brand-grid--2,
  .brand-grid--3,
  .brand-footer__grid,
  .brand-media-strip {
    grid-template-columns: 1fr;
  }

  .brand-section,
  .brand-hero,
  .brand-shell,
  .brand-breadcrumbs,
  .brand-header__inner,
  .brand-footer__inner,
  .brand-article {
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
