:root {
  --paper: #fffaf8;
  --white: #ffffff;
  --ink: #201d2a;
  --muted: #686371;
  --line: rgba(32, 29, 42, 0.14);
  --pink: #ee4f87;
  --pink-pale: #ffe4ed;
  --aqua: #1598a7;
  --blue: #3159bb;
  --gold: #d6941e;
  --dark: #242033;
  --max: 1180px;
  --shadow: 0 18px 48px rgba(45, 34, 53, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(238, 79, 135, 0.12) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  content: "";
  pointer-events: none;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #0b7fc2;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 14px;
  transform: translateY(-150%);
  background: var(--white);
  border: 2px solid var(--ink);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(32, 29, 42, 0.08);
  background: rgba(255, 250, 248, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  line-height: 1.25;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}

.brand span {
  display: grid;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

nav a {
  position: relative;
  padding: 8px 0;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--pink);
  content: "";
  transition: transform 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  min-height: 690px;
  overflow: hidden;
  background: #171422;
  color: var(--white);
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
}

.hero-media::after {
  background: linear-gradient(90deg, rgba(18, 14, 28, 0.9) 0%, rgba(18, 14, 28, 0.5) 46%, rgba(18, 14, 28, 0.12) 73%),
    linear-gradient(0deg, rgba(18, 14, 28, 0.46), transparent 55%);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(620px, 100%);
  margin-left: max(24px, calc((100vw - var(--max)) / 2));
  padding: 80px 24px 76px 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--pink);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ffbad1;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.25;
}

h1 {
  margin-bottom: 14px;
  font-size: 72px;
  font-weight: 800;
}

h2 {
  margin-bottom: 0;
  font-size: 38px;
}

h3 {
  font-size: 19px;
}

.hero-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.mobile-line {
  display: inline;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-shop {
  gap: 8px;
  background: var(--pink);
  box-shadow: 0 12px 28px rgba(238, 79, 135, 0.3);
}

.button-shop span {
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--white);
  color: var(--pink);
  font-family: Arial, sans-serif;
  font-size: 10px;
}

.button-contact {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(24, 20, 34, 0.45);
  backdrop-filter: blur(8px);
}

.band {
  padding: 92px max(24px, calc((100vw - var(--max)) / 2));
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.section-note {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.section-note strong {
  color: var(--pink);
}

.shop {
  position: relative;
  background: var(--white);
}

.shop::before {
  position: absolute;
  top: 0;
  right: 0;
  width: min(28vw, 360px);
  height: 6px;
  background: linear-gradient(90deg, var(--pink), var(--gold), var(--aqua));
  content: "";
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-card.secondary {
  opacity: 0.9;
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2edf2;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  border-radius: 3px;
  background: rgba(28, 25, 37, 0.88);
  color: white;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
}

.product-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: start;
  padding: 17px;
}

.product-info h3 {
  margin: 0;
}

.product-info p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.product-price {
  color: var(--pink);
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.section-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 0 3px;
  border-bottom: 2px solid var(--pink);
  font-weight: 800;
}

.links {
  padding-top: 76px;
  padding-bottom: 76px;
  background: #f3f6f6;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.link-list a {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 84px;
  padding: 14px 18px 14px 0;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease, padding 160ms ease;
}

.link-list a:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.link-list a:nth-child(even) {
  padding-left: 18px;
}

.link-list a:hover {
  padding-right: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.link-list span:not(.link-mark) {
  display: grid;
}

.link-list strong {
  font-size: 14px;
}

.link-list small {
  color: var(--muted);
  font-size: 11px;
}

.link-list b {
  font-size: 16px;
}

.link-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.link-mark.pink {
  background: var(--pink);
}

.link-mark.blue {
  background: var(--blue);
}

.link-mark.gold {
  background: var(--gold);
}

.link-list .tools-link {
  background: rgba(255, 224, 148, 0.18);
}

.works {
  background: var(--dark);
  color: var(--white);
}

.works .section-note {
  color: rgba(255, 255, 255, 0.62);
}

.works-grid {
  display: grid;
  grid-auto-rows: 240px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.work {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #15121e;
}

.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.work-focus-top img {
  object-position: center 8%;
}

.work::after {
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(transparent, rgba(10, 8, 16, 0.82));
  content: "";
  pointer-events: none;
}

.work span {
  position: absolute;
  right: 16px;
  bottom: 13px;
  left: 16px;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
}

.work:hover img {
  transform: scale(1.035);
}

.work-tall {
  grid-row: span 2;
}

.work-wide {
  grid-column: span 2;
}

.characters {
  background: #fff2f6;
}

.character-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(360px, 1.14fr);
  gap: 7vw;
  align-items: center;
}

.character-art {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 12px solid var(--white);
  box-shadow: var(--shadow);
}

.character-art::after {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(238, 79, 135, 0.35);
  content: "";
  pointer-events: none;
}

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

.character-copy h2 {
  max-width: 620px;
  margin-bottom: 22px;
}

.character-copy > p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
}

.character-names {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 30px 0;
  padding: 0;
  border-top: 1px solid rgba(238, 79, 135, 0.3);
  list-style: none;
}

.character-names li {
  display: grid;
  padding: 13px 10px 12px 0;
  border-bottom: 1px solid rgba(238, 79, 135, 0.3);
  font-size: 16px;
  font-weight: 800;
}

.character-names small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.results {
  background: #f3f6f6;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.result-stats article {
  min-width: 0;
  padding: 32px 28px 30px 0;
}

.result-stats article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.result-stats strong {
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
  font-family: Arial, sans-serif;
  font-size: 44px;
  line-height: 1.05;
}

.result-stats article:nth-child(1) strong {
  color: var(--pink);
}

.result-stats article:nth-child(2) strong {
  color: var(--blue);
}

.result-stats article:nth-child(3) strong {
  color: var(--aqua);
}

.result-stats h3,
.result-stats p {
  margin: 0;
}

.result-stats h3 {
  margin-bottom: 5px;
  font-size: 15px;
}

.result-stats p,
.result-disclaimer {
  color: var(--muted);
  font-size: 11px;
}

.result-evidence {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: start;
  margin-top: 34px;
}

.result-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
}

.result-disclaimer {
  max-width: 390px;
  margin: 0;
}

.evidence-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.evidence-links a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 13px 10px 13px 0;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease, padding 160ms ease;
}

.evidence-links a:nth-child(odd) {
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.evidence-links a:nth-child(even) {
  padding-left: 18px;
}

.evidence-links a:hover {
  background: rgba(255, 255, 255, 0.72);
}

.evidence-links span {
  color: var(--pink);
  font-size: 10px;
  font-weight: 800;
}

.evidence-links strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.evidence-links b {
  font-size: 13px;
}

.services {
  background: var(--white);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 56px minmax(240px, 0.85fr) 1.3fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-list article > span {
  color: var(--pink);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.service-list h3,
.service-list p {
  margin: 0;
}

.service-list p {
  color: var(--muted);
  font-size: 13px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  background: #cdeff0;
}

.contact h2 {
  max-width: 700px;
  margin-bottom: 20px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: #45434e;
  font-size: 13px;
}

.button-dark {
  flex: 0 0 auto;
  gap: 8px;
  min-width: 190px;
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(36, 32, 51, 0.22);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
}

.footer-brand img {
  width: 38px;
  height: 38px;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 10px;
}

.lightbox {
  width: min(1040px, calc(100vw - 34px));
  max-width: none;
  max-height: calc(100vh - 34px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: white;
}

.lightbox::backdrop {
  background: rgba(15, 12, 21, 0.92);
  backdrop-filter: blur(8px);
}

.lightbox button {
  position: fixed;
  top: 17px;
  right: 19px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(19, 16, 27, 0.75);
  color: white;
  font-size: 26px;
  cursor: pointer;
}

.lightbox figure {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0;
}

.lightbox img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 90px);
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

.lightbox figcaption {
  min-height: 22px;
  font-size: 12px;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 64px;
    padding: 8px 16px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand small {
    display: none;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 650px;
  }

  .hero-media img {
    object-position: 55% center;
  }

  .hero-media::after {
    background: linear-gradient(0deg, rgba(18, 14, 28, 0.93) 0%, rgba(18, 14, 28, 0.66) 43%, rgba(18, 14, 28, 0.08) 76%);
  }

  .hero-copy {
    width: auto;
    margin: 0;
    padding: 200px 20px 26px;
  }

  h1 {
    margin-bottom: 8px;
    font-size: 44px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 13px;
  }

  .mobile-line {
    display: block;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .hero-actions .button {
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .button {
    min-height: 50px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .band {
    padding: 66px 20px;
  }

  .section-heading {
    display: grid;
    align-items: start;
    gap: 13px;
    margin-bottom: 26px;
  }

  .section-note br {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(250px, 74vw));
    gap: 12px;
    margin-right: -20px;
    padding-right: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .product-card {
    scroll-snap-align: start;
  }

  .links {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .link-list {
    grid-template-columns: 1fr;
  }

  .link-list a,
  .link-list a:nth-child(even) {
    min-height: 78px;
    padding: 12px 6px 12px 0;
    border-right: 0;
  }

  .works-grid {
    grid-auto-rows: 210px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .work-tall {
    grid-row: span 2;
  }

  .character-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .character-art {
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .result-stats {
    grid-template-columns: 1fr;
  }

  .result-stats article,
  .result-stats article + article {
    display: grid;
    grid-template-columns: minmax(138px, 0.6fr) 1fr;
    gap: 3px 18px;
    padding: 22px 0;
    border-left: 0;
  }

  .result-stats article + article {
    border-top: 1px solid var(--line);
  }

  .result-stats strong {
    grid-row: 1 / 3;
    margin: 0;
    font-size: 34px;
  }

  .result-stats h3 {
    align-self: end;
  }

  .result-evidence {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .evidence-links {
    grid-template-columns: 1fr;
  }

  .evidence-links a,
  .evidence-links a:nth-child(odd),
  .evidence-links a:nth-child(even) {
    padding: 13px 4px 13px 0;
    border-right: 0;
  }

  .service-list article {
    grid-template-columns: 40px 1fr;
    gap: 8px 14px;
  }

  .service-list p {
    grid-column: 2;
  }

  .contact {
    display: grid;
  }

  .button-dark {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .brand small {
    display: none;
  }

  nav {
    gap: 12px;
  }

  .hero {
    min-height: calc(100svh - 64px);
    max-height: 720px;
  }

  .hero-copy {
    padding-bottom: 18px;
  }

  .hero-lead br {
    display: none;
  }

  .section-heading {
    display: grid;
    gap: 13px;
  }

  .section-note br {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(244px, 80vw));
  }

  .section-action {
    justify-content: flex-start;
  }

  .works-grid {
    grid-auto-rows: 180px;
  }

  .work-wide {
    grid-column: span 2;
  }

  .character-art {
    border-width: 8px;
  }

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

  .service-list article {
    padding: 23px 0;
  }

  footer {
    align-items: flex-start;
  }

  .footer-brand small {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
