:root {
  --ink: #232323;
  --paper: #f5f3ef;
  --line: rgba(35, 35, 35, 0.12);
  --muted: #5d5a56;
  --accent: #ee5939;
  --card: rgba(255, 255, 255, 0.88);
  --shadow: 0 12px 34px rgba(42, 35, 29, 0.11);
  --source-sans: "Source Han Sans SC", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --source-serif: "Source Han Serif SC", "Noto Serif SC", "Noto Serif CJK SC", "SimSun", serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 1180px;
  scroll-behavior: smooth;
}

body {
  min-width: 1180px;
  margin: 0;
  padding-bottom: 18px;
  overflow-x: auto;
  color: var(--ink);
  background: #e9e6e0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  letter-spacing: 0;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

.page-shell {
  position: relative;
  width: min(calc(100% - 72px), 1600px);
  min-width: 1108px;
  height: auto;
  min-height: 720px;
  max-height: 980px;
  aspect-ratio: 1672 / 941;
  margin: 18px auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 12px 45px rgba(45, 37, 30, 0.08);
}

.profile-screen {
  position: relative;
  isolation: isolate;
  margin-top: 0;
  color: #2e2c29;
  background: #f6f4ef;
}

.profile-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 82px;
  margin: 0 38px;
  border-bottom: 1px solid rgba(46, 44, 41, 0.11);
}

.profile-brand {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
}

.profile-brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(46, 44, 41, 0.1);
  border-radius: 50%;
  object-fit: cover;
}

.profile-brand span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.profile-brand b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
}

.profile-brand small {
  color: #716d67;
  font-size: 11px;
}

.profile-nav {
  display: flex;
  align-self: stretch;
  gap: 42px;
}

.profile-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

.profile-nav a::after {
  position: absolute;
  right: 20%;
  bottom: 10px;
  left: 20%;
  height: 2px;
  background: #9daa87;
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.profile-nav a:hover::after,
.profile-nav a:focus-visible::after,
.profile-nav a.is-active::after {
  opacity: 1;
}

.follow-character {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(46, 44, 41, 0.3);
  border-radius: 22px;
  font-size: 13px;
  font-weight: 600;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.follow-character:hover,
.follow-character:focus-visible {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.paper-scrap {
  position: absolute;
  z-index: -2;
  pointer-events: none;
}

.scrap-sage {
  top: 96px;
  left: 168px;
  width: 420px;
  height: 400px;
  background: #cbd1bd;
  clip-path: polygon(9% 8%, 82% 0, 100% 11%, 93% 94%, 13% 100%, 0 80%, 4% 30%);
}

.scrap-coral {
  bottom: -18px;
  left: -30px;
  width: 510px;
  height: 300px;
  background: #d98a7b;
  clip-path: polygon(0 4%, 76% 25%, 100% 100%, 0 100%);
}

.scrap-blue {
  right: 250px;
  bottom: -35px;
  width: 720px;
  height: 155px;
  background: #92abb8;
  clip-path: polygon(0 33%, 16% 12%, 49% 25%, 70% 0, 100% 22%, 100% 100%, 0 100%);
}

.scrap-gold {
  right: -35px;
  bottom: -24px;
  width: 360px;
  height: 168px;
  background: #d9a62d;
  clip-path: polygon(18% 18%, 100% 0, 100% 100%, 0 100%);
}

.profile-grid-mark {
  position: absolute;
  right: 52px;
  bottom: 32px;
  z-index: -1;
  width: 116px;
  height: 116px;
  opacity: 0.2;
  background-size: 18px 18px;
  background-image: linear-gradient(rgba(46, 44, 41, 0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(46, 44, 41, 0.35) 1px, transparent 1px);
}

.profile-intro {
  position: absolute;
  top: 190px;
  left: 48px;
  z-index: 3;
  width: 255px;
}

.profile-intro p {
  margin: 0 0 16px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.profile-intro h2 {
  margin: 0;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.33;
}

.profile-intro i {
  display: block;
  width: 34px;
  height: 2px;
  margin: 18px 0;
  background: var(--accent);
}

.profile-intro span {
  color: #56524d;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 14px;
  line-height: 1.85;
}

.featured-character {
  position: absolute;
  bottom: -28px;
  left: 218px;
  z-index: 2;
  width: 425px;
  height: 650px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 18px rgba(58, 47, 37, 0.13));
}

.profile-content {
  position: absolute;
  top: 118px;
  right: 38px;
  z-index: 4;
  width: 655px;
}

.character-dossier {
  position: relative;
  height: 280px;
  overflow: hidden;
  padding: 26px 170px 20px 30px;
  border: 1px solid rgba(46, 44, 41, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 30px rgba(55, 48, 40, 0.09);
  backdrop-filter: blur(10px);
}

.dossier-heading {
  display: flex;
  align-items: end;
  gap: 15px;
}

.dossier-heading div {
  display: flex;
  align-items: end;
  gap: 12px;
}

.dossier-heading p {
  margin: 0 0 4px;
  color: #8b857c;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  writing-mode: vertical-rl;
}

.dossier-heading h3 {
  margin: 0;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 38px;
  line-height: 1;
}

.dossier-heading > span {
  margin-bottom: 3px;
  padding: 4px 9px;
  border: 1px solid rgba(46, 44, 41, 0.28);
  border-radius: 12px;
  font-family: Georgia, serif;
  font-size: 9px;
}

.dossier-subtitle {
  margin: 8px 0 0 22px;
  color: #6e6962;
  font-size: 12px;
}

.dossier-divider {
  height: 1px;
  margin: 14px 0 11px;
  background: rgba(46, 44, 41, 0.14);
}

.tag-group {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 9px;
}

.tag-group b,
.dossier-style b {
  width: 58px;
  flex: 0 0 auto;
  font-size: 11px;
}

.tag-group > div {
  display: flex;
  gap: 7px;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 24px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 10px;
}

.tag-sage {
  background: #dde2d5;
}

.tag-gold {
  background: #f2e4c2;
}

.dossier-style {
  display: flex;
  gap: 13px;
  margin: 0;
  color: #5e5952;
  font-size: 11px;
}

.character-dossier > img {
  position: absolute;
  right: 20px;
  bottom: -55px;
  width: 144px;
  height: 245px;
  object-fit: contain;
  filter: drop-shadow(0 9px 9px rgba(56, 47, 39, 0.1));
}

.dossier-flower {
  position: absolute;
  top: 24px;
  right: 25px;
  color: #9daa87;
  font-family: Georgia, serif;
  font-size: 22px;
}

.character-roster {
  margin-top: 20px;
}

.roster-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  height: 30px;
  margin-bottom: 12px;
}

.roster-heading h3 {
  margin: 0;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 20px;
}

.roster-heading > span {
  height: 1px;
  background: rgba(46, 44, 41, 0.2);
}

.roster-heading small {
  color: #817b74;
  font-family: Arial, sans-serif;
  font-size: 9px;
}

.character-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.character-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(46, 44, 41, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 9px 20px rgba(54, 47, 40, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.character-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 28px rgba(54, 47, 40, 0.14);
}

.card-visual {
  position: relative;
  height: 193px;
  overflow: hidden;
}

.card-terracotta .card-visual {
  background: #dfc0b6;
}

.card-emperor .card-visual {
  background: #c8d4d9;
}

.card-bronze .card-visual {
  background: #ead9a9;
}

.card-visual > span {
  position: absolute;
  top: 13px;
  left: 14px;
  z-index: 2;
  color: rgba(46, 44, 41, 0.58);
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
}

.card-visual img {
  position: absolute;
  inset: 16px 10px 0;
  width: calc(100% - 20px);
  height: calc(100% - 4px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 10px 8px rgba(50, 42, 35, 0.12));
  transition: transform 300ms ease;
}

.character-card:hover .card-visual img {
  transform: scale(1.035);
}

.card-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 14px;
}

.card-caption > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.card-caption b {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 15px;
}

.card-caption small {
  overflow: hidden;
  color: #66615a;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-caption i {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(46, 44, 41, 0.45);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 84px;
  margin: 0 38px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  height: 44px;
  font-weight: 800;
}

.brand-name {
  font-size: 27px;
  line-height: 1;
}

.brand-mark {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1px);
}

.main-nav {
  display: flex;
  align-items: stretch;
  gap: 56px;
  height: 84px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  transition: color 180ms ease;
}

.nav-link::after {
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--accent);
}

.nav-link.is-active::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.language-switcher {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
}

.language {
  padding: 7px 2px;
  cursor: pointer;
  background: transparent;
  opacity: 0.48;
  transition: color 180ms ease, opacity 180ms ease;
}

.language:hover,
.language:focus-visible,
.language.is-active {
  color: var(--ink);
  opacity: 1;
}

.hero {
  position: absolute;
  inset: 85px 0 0;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: -85px 0 0;
  background-image: url("characters/bg-2.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  transform: scale(1.012);
  transform-origin: center bottom;
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: 510px;
  margin: 73px 0 0 58px;
}

h1 {
  margin: 0;
  font-size: 66px;
  font-weight: 900;
  line-height: 1.28;
}

html[data-language="en"] .hero-copy h1 {
  font-size: 52px;
}

.hero-intro {
  margin: 24px 0 30px 2px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
}

.creator-card {
  width: 370px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.creator-account {
  display: flex;
  align-items: center;
  gap: 11px;
}

.creator-avatar-button {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: box-shadow 220ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.creator-avatar-button::before {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(
    from 10deg,
    transparent 0 18deg,
    rgba(35, 35, 35, 0.82) 18deg 82deg,
    transparent 82deg 128deg,
    var(--accent) 128deg 218deg,
    transparent 218deg 266deg,
    rgba(35, 35, 35, 0.58) 266deg 330deg,
    transparent 330deg 360deg
  );
  content: "";
  pointer-events: none;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  animation: avatar-orbit 3.8s linear infinite;
}

@keyframes avatar-orbit {
  to {
    transform: rotate(1turn);
  }
}

.creator-avatar-button:hover,
.creator-avatar-button:focus-visible {
  box-shadow: 0 0 0 4px rgba(238, 89, 57, 0.16), 0 8px 18px rgba(35, 35, 35, 0.16);
  outline: none;
  transform: scale(1.08) rotate(-6deg);
}

.creator-avatar-button:active {
  box-shadow: 0 0 0 3px rgba(238, 89, 57, 0.12);
  transform: scale(0.94) rotate(2deg);
}

.creator-account img {
  position: relative;
  z-index: 1;
  display: block;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(35, 35, 35, 0.12);
  border-radius: 50%;
  object-fit: cover;
}

.creator-name,
.creator-handle {
  margin: 0;
}

.creator-name {
  display: flex;
  align-items: center;
  gap: 6px;
}

.creator-name strong {
  font-size: 15px;
  font-weight: 800;
}

.verified-badge {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 10px;
  font-weight: 800;
}

.creator-handle {
  margin-top: 4px;
  color: #6b6761;
  font-size: 10px;
}

.creator-handle b {
  margin-left: 4px;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
}

.creator-stats {
  display: grid;
  width: 350px;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 12px;
}

.creator-stats > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.creator-stats strong {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.05;
}

.creator-stats small {
  margin-left: 3px;
  font-size: 17px;
}

.creator-stats span {
  color: #6b6761;
  font-size: 11px;
  font-weight: 600;
}

.hero-services {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 20px;
  color: #6b6761;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.hero-services span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: default;
  transition: color 180ms ease, transform 180ms ease;
}

.hero-services span::before {
  color: var(--accent);
  content: "·";
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.hero-services span::after {
  position: absolute;
  right: 12%;
  bottom: -7px;
  left: 12%;
  height: 1px;
  background: #aab396;
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-services span:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-services span:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero-actions {
  display: grid;
  width: max-content;
  grid-template-columns: repeat(3, max-content);
  column-gap: 18px;
  margin-top: 142px;
}

.action {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.action-primary {
  color: #fff;
  background: var(--ink);
}

.action-copy {
  justify-content: center;
}

.action-copy strong {
  font-size: 10px;
  font-weight: 800;
}

.action:hover,
.action:focus-visible,
.action:active {
  color: #fff;
  background: var(--ink);
  outline: none;
}

.hero-actions:has(.action:hover) .action {
  color: var(--ink);
  background: transparent;
}

.hero-actions:has(.action:hover) .action:hover {
  color: #fff;
  background: var(--ink);
}

.hero-actions:not(:has(.action:hover)):has(.action:focus-visible) .action {
  color: var(--ink);
  background: transparent;
}

.hero-actions:not(:has(.action:hover)):has(.action:focus-visible) .action:focus-visible {
  color: #fff;
  background: var(--ink);
}

.action-arrow {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.social-icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(40, 35, 31, 0.13);
  cursor: pointer;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  background: #fff;
  box-shadow: 0 9px 20px rgba(40, 35, 31, 0.2);
  transform: translateY(-3px) scale(1.03);
}

.social-icon:active {
  box-shadow: 0 3px 9px rgba(40, 35, 31, 0.16);
  transform: translateY(-1px) scale(0.96);
}

.social-logo {
  display: block;
  width: 24px;
  height: 24px;
  overflow: visible;
}

.wechat-icon .social-logo {
  width: 23px;
  height: 23px;
}

.weibo-icon .social-logo {
  width: 27px;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-height: 900px) {
  .page-shell {
    min-height: 760px;
  }

  .hero-copy {
    margin-top: 45px;
  }

  h1 {
    font-size: 58px;
  }

  .hero-intro {
    margin-top: 18px;
    margin-bottom: 22px;
  }

  .hero-actions {
    margin-top: 17px;
  }

  .action {
    height: 44px;
  }

  .social-links {
    margin-top: 14px;
  }
}

@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;
  }
}

/* Reference-matched Tang Lady archive screen */
body {
  padding-bottom: 36px;
}

.profile-screen {
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 4 / 3;
  margin-top: 0;
  overflow: hidden;
  background: #f6f4ef;
}

.reference-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 82px;
  padding: 0 42px;
  font-family: var(--source-serif);
}

.reference-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
}

.reference-portrait {
  display: block;
  width: 42px;
  height: 52px;
  overflow: hidden;
  border: 1px solid rgba(42, 40, 37, 0.5);
  border-radius: 46% 46% 42% 42%;
  background: #fff;
}

.reference-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
  filter: grayscale(1) contrast(0.82);
}

.reference-brand > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reference-brand b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 500;
}

.reference-brand small {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 13px;
}

.reference-nav {
  display: flex;
  align-self: stretch;
  gap: 50px;
}

.reference-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 14px;
  font-weight: 700;
}

.reference-nav a::after {
  position: absolute;
  right: 16%;
  bottom: 14px;
  left: 16%;
  height: 2px;
  background: #aab396;
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.reference-nav a:hover::after,
.reference-nav a:focus-visible::after,
.reference-nav a.is-active::after {
  opacity: 1;
}

.reference-follow {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  height: 43px;
  padding: 0 22px;
  border: 1px solid rgba(42, 40, 37, 0.24);
  border-radius: 24px;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease, background-color 180ms ease;
}

.reference-follow:hover,
.reference-follow:focus-visible {
  color: #fff;
  background: #2a2825;
}

.reference-paper {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.reference-paper::after {
  position: absolute;
  inset: -8px;
  z-index: -1;
  background: rgba(255, 255, 255, 0.9);
  clip-path: inherit;
  content: "";
  filter: url("#torn-paper-edge");
}

.paper-sage {
  top: 92px;
  left: 244px;
  width: 456px;
  height: 505px;
  background: #c3cbb4;
  clip-path: polygon(9% 4%, 72% 0, 96% 8%, 100% 26%, 91% 94%, 22% 100%, 0 82%, 4% 21%);
  filter: drop-shadow(-8px 7px 0 rgba(255, 255, 255, 0.9));
}

.paper-coral {
  bottom: -4px;
  left: -18px;
  width: 550px;
  height: 515px;
  background: #d78778;
  clip-path: polygon(0 2%, 72% 24%, 100% 100%, 0 100%);
  filter: drop-shadow(0 -10px 0 rgba(255, 255, 255, 0.96));
}

.paper-blue {
  bottom: -2px;
  left: -12px;
  width: 980px;
  height: 135px;
  background: #8fa8b5;
  clip-path: polygon(0 26%, 20% 18%, 41% 31%, 61% 12%, 82% 23%, 100% 4%, 100% 100%, 0 100%);
  filter: drop-shadow(0 -8px 0 rgba(255, 255, 255, 0.96));
}

.paper-yellow {
  right: -12px;
  bottom: -2px;
  width: 420px;
  height: 160px;
  background: #dca92d;
  clip-path: polygon(20% 16%, 100% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 -7px 0 rgba(255, 255, 255, 0.96));
}

.reference-orbit {
  position: absolute;
  bottom: 76px;
  left: -38px;
  z-index: 1;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
}

.reference-orbit::before,
.reference-orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  content: "";
}

.reference-orbit::before {
  inset: 25px;
}

.reference-orbit::after {
  inset: 52px;
}

.reference-intro {
  position: absolute;
  top: 210px;
  left: 54px;
  z-index: 3;
  width: 245px;
}

.reference-intro p {
  margin: 0 0 16px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.reference-intro h2 {
  margin: 0;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 51px;
  font-weight: 500;
  line-height: 1.36;
}

.reference-intro i {
  display: block;
  width: 32px;
  height: 2px;
  margin: 18px 0 20px;
  background: #b36d5e;
}

.reference-intro > span {
  color: #595650;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 14px;
  line-height: 1.9;
}

.reference-lady {
  position: absolute;
  bottom: -12px;
  left: 212px;
  z-index: 3;
  width: 470px;
  height: 930px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 17px rgba(54, 45, 37, 0.13));
  transform: scaleX(-1);
}

.reference-flower {
  position: absolute;
  top: 273px;
  left: 272px;
  z-index: 4;
  color: #b65f50;
  font-family: Georgia, serif;
  font-size: 31px;
}

.reference-dossier {
  position: absolute;
  top: 150px;
  right: 44px;
  z-index: 4;
  width: 610px;
  height: 382px;
  padding: 34px 34px 28px;
  border: 1px solid rgba(47, 44, 40, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 27px rgba(55, 48, 41, 0.1);
  backdrop-filter: blur(8px);
}

.reference-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.reference-title-row h3 {
  margin: 0;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 43px;
  font-weight: 500;
  line-height: 1.1;
}

.reference-title-row span {
  padding: 4px 10px;
  border: 1px solid rgba(47, 44, 40, 0.32);
  border-radius: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
}

.reference-subtitle {
  margin: 13px 0 0;
  color: #605c56;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 15px;
}

.reference-rule {
  height: 1px;
  margin: 22px 0 16px;
  background: rgba(47, 44, 40, 0.18);
}

.reference-tag-row {
  margin-bottom: 17px;
}

.reference-tag-row b,
.reference-style b {
  display: block;
  margin-bottom: 9px;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 13px;
}

.reference-tag-row > div {
  display: flex;
  gap: 10px;
}

.reference-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 31px;
  padding: 0 16px;
  border-radius: 16px;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 13px;
}

.sage-tag {
  background: #dfe4d7;
}

.gold-tag {
  background: #f2e3bf;
}

.reference-style {
  margin: 0;
  color: #5c5852;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 13px;
}

.reference-style span {
  display: block;
}

.reference-sparkle {
  position: absolute;
  top: 49px;
  right: 50px;
  color: #aeb797;
  font-size: 27px;
}

.reference-vase {
  position: absolute;
  right: 43px;
  bottom: 34px;
  width: 34px;
  height: 55px;
  border: 1px solid #aeb797;
  border-radius: 50% 50% 34% 34%;
  background: #dce3d5;
}

.reference-vase::before {
  position: absolute;
  top: -22px;
  left: 7px;
  width: 18px;
  height: 25px;
  border: 1px solid #aeb797;
  border-radius: 50%;
  content: "";
}

.styling-roster {
  position: absolute;
  top: 570px;
  right: 44px;
  z-index: 5;
  width: 700px;
}

.styling-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  height: 38px;
  margin-bottom: 16px;
}

.styling-heading h3 {
  margin: 0;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 21px;
  font-weight: 700;
}

.styling-heading > span {
  height: 1px;
  background: rgba(47, 44, 40, 0.2);
}

.styling-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.styling-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(47, 44, 40, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 9px 20px rgba(54, 47, 41, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.styling-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 28px rgba(54, 47, 41, 0.14);
}

.styling-visual {
  position: relative;
  height: 304px;
  overflow: hidden;
}

/* Desktop approval canvas: preserve the supplied 4:3 composition exactly. */
.profile-screen {
  width: 100%;
  min-width: 1180px;
  max-width: none;
  aspect-ratio: 4 / 3;
  margin: 0;
  box-shadow: none;
  font-family: var(--source-sans);
}

.red-card .styling-visual {
  background: #e5cac3;
}

.mecha-card .styling-visual {
  background: #cfdce1;
}

.keyboard-card .styling-visual {
  background: #efdda9;
}

.red-card .styling-visual img,
.mecha-card .styling-visual img {
  position: absolute;
  bottom: -185px;
  left: -70%;
  width: 240%;
  height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 10px 9px rgba(49, 42, 36, 0.12));
  transition: transform 260ms ease;
}

.keyboard-card .styling-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 260ms ease;
}

.styling-card:hover .styling-visual img {
  transform: scale(1.025);
}

.styling-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 73px;
  padding: 0 16px;
}

.styling-caption > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.styling-caption b {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 15px;
}

.styling-caption small {
  overflow: hidden;
  color: #625e58;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.styling-caption i {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(47, 44, 40, 0.42);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-style: normal;
}

/* Shared desktop navigation and full-screen sequencing */
html {
  min-width: 1180px;
  overflow-y: scroll;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  min-width: 1180px;
  margin: 0;
  padding: 0;
  background: #e6e3dd;
  font-family: var(--source-sans);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  width: min(calc(100% - 48px), 1672px);
  min-width: 1132px;
  height: 100vh;
  min-height: 720px;
  max-height: none;
  aspect-ratio: auto;
  margin: 0 auto;
  overflow: hidden;
  scroll-snap-align: end;
  scroll-snap-stop: always;
  box-shadow: none;
}

.global-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 100;
  display: grid;
  width: min(calc(100% - 48px), 1672px);
  min-width: 1132px;
  height: 82px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 34px;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: translateX(-50%);
}

.global-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  font-family: var(--source-sans);
  font-size: 15px;
  font-weight: 600;
  transition: color 180ms ease, transform 180ms ease;
}

.global-brand:hover,
.global-brand:focus-visible {
  color: var(--accent);
  transform: translateY(-2px);
}

.global-brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(47, 44, 40, 0.18);
  border-radius: 50%;
  object-fit: cover;
}

.global-nav {
  display: flex;
  align-self: stretch;
  gap: 48px;
  transform: translateX(130px);
}

.global-nav a,
.global-nav > span {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--source-sans);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease;
}

.global-nav > span[aria-disabled="true"] {
  cursor: default;
  opacity: 1;
}

.global-nav a::after,
.global-nav > span::after {
  position: absolute;
  right: 16%;
  bottom: 14px;
  left: 16%;
  height: 2px;
  background: #aab396;
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 180ms ease;
}

.global-nav a:hover,
.global-nav a:focus-visible,
.global-nav > span:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.global-nav a.is-active {
  color: #22211f;
}

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

.global-languages {
  display: inline-flex;
  height: 42px;
  align-items: center;
  justify-self: end;
  gap: 7px;
  padding: 0 15px;
  border: 1px solid rgba(47, 44, 40, 0.25);
  border-radius: 22px;
  font-family: var(--source-sans);
  font-size: 12px;
}

.global-languages .language {
  padding: 6px 2px;
  background: transparent;
  cursor: pointer;
  opacity: 0.46;
  transition: opacity 180ms ease, color 180ms ease;
}

.global-languages .language:hover,
.global-languages .language:focus-visible,
.global-languages .language.is-active {
  color: #23211f;
  opacity: 1;
}

.global-languages .language:hover,
.global-languages .language:focus-visible {
  transform: scale(1.08);
}

.hero {
  inset: 82px 0 0;
}

.hero h1,
.hero-copy,
.creator-card,
.action {
  font-family: var(--source-sans);
}

.profile-screen {
  width: min(calc(100% - 48px), 1600px);
  min-width: 1132px;
  height: 100vh;
  min-height: 720px;
  max-height: none;
  aspect-ratio: auto;
  margin: 0 auto;
  background: #f6f4ef;
}

.profile-canvas {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1448px;
  height: 1086px;
  overflow: hidden;
  visibility: visible;
  transform: translateX(-50%) scale(var(--profile-scale, 0.84));
  transform-origin: top center;
}

.profile-reference-base {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.profile-nav-cover {
  position: absolute;
  inset: 0 0 auto;
  z-index: 6;
  height: 105px;
  background: #f6f4ef;
  pointer-events: none;
}

.reference-paper,
.reference-orbit,
.reference-lady,
.reference-flower {
  display: none;
}

.reference-intro {
  z-index: 7;
}

.reference-intro::before {
  position: absolute;
  top: -14px;
  left: -12px;
  z-index: -1;
  width: 245px;
  height: 318px;
  background: #f8f6ef;
  content: "";
}

.reference-dossier {
  z-index: 7;
  background: #fbfaf7;
}

.styling-roster {
  z-index: 7;
}

.styling-roster::before {
  position: absolute;
  inset: -18px -18px -20px -25px;
  z-index: -1;
  background: #f8f6ef;
  content: "";
}

.styling-heading {
  background: #f8f6ef;
}

.styling-cards {
  gap: 30px;
  transform: translateX(-60px);
}

.reference-intro h2,
.reference-intro > span,
.reference-title-row h3,
.reference-subtitle,
.reference-tag-row b,
.reference-tag,
.reference-style,
.styling-heading h3,
.styling-caption b,
.styling-caption small {
  font-family: var(--source-serif);
}

.reference-intro p,
.reference-dossier,
.styling-roster {
  font-family: var(--source-sans);
}

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

/* Screens 2-5: desktop approval canvases based on the supplied 1672 x 941 artwork. */
.clone-screen {
  position: relative;
  width: 100%;
  min-width: 1180px;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  color: #272727;
  background: #fff;
  font-family: var(--source-sans);
  scroll-snap-align: end;
  scroll-snap-stop: always;
}

.clone-canvas {
  position: absolute;
  top: var(--stage-center-y, 50%);
  left: 50%;
  width: 1672px;
  height: 941px;
  overflow: hidden;
  transform: translate(-50%, -50%) rotate(var(--stage-rotation, 0deg)) scale(var(--stage-scale, 1));
  transform-origin: center;
}

.character-profile-screen .clone-canvas::after {
  position: absolute;
  top: 104px;
  left: 874px;
  z-index: 1;
  width: 752px;
  height: 454px;
  background: #faf8f4;
  content: "";
  pointer-events: none;
}

.screen-reference {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

/* Screen 2: styling-image hover crops for every carousel page. */
#characters .profile-carousel[data-active-state="lady"] {
  --profile-card-art: url("characters/screen-2-1-1-clean.png");
}

#characters .profile-carousel[data-active-state="warrior"] {
  --profile-card-art: url("characters/screen-2-2-clean.png");
}

#characters .profile-carousel[data-active-state="emperor"] {
  --profile-card-art: url("characters/screen-2-3-clean.png");
}

#characters .profile-carousel[data-active-state="standing"] {
  --profile-card-art: url("characters/screen-2-4-clean.png");
}

.profile-card-hover-layer {
  position: absolute;
  top: 614px;
  left: 789px;
  z-index: 3;
  display: grid;
  width: 785px;
  height: 240px;
  grid-template-columns: repeat(3, 239px);
  gap: 34px;
}

.profile-card-hover {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.profile-card-hover-image {
  position: absolute;
  inset: 0;
  background-image: var(--profile-card-art);
  background-repeat: no-repeat;
  background-size: 1672px 941px;
  transform: scale(1);
  transition: transform 240ms ease;
  pointer-events: none;
}

.profile-card-hover:nth-child(1) .profile-card-hover-image {
  background-position: -789px -614px;
}

.profile-card-hover:nth-child(2) .profile-card-hover-image {
  background-position: -1062px -614px;
}

.profile-card-hover:nth-child(3) .profile-card-hover-image {
  background-position: -1335px -614px;
}

.profile-card-hover:hover .profile-card-hover-image {
  transform: scale(1.05);
}

/* Scaled stage: preserve the approved 1672 x 941 composition at every width. */
html,
body {
  min-width: 0;
  overflow-x: hidden;
}

.page-shell,
.clone-screen {
  width: 100%;
  min-width: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
}

.page-shell {
  padding: 0;
}

.page-shell > .hero {
  position: absolute;
  top: var(--stage-center-y, 50%);
  left: 50%;
  width: 1672px;
  height: 941px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  transform: translate(-50%, -50%) rotate(var(--stage-rotation, 0deg)) scale(var(--stage-scale, 1));
  transform-origin: center;
}

@media (max-width: 1179px) {
  html {
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
  }

  body {
    padding: 0;
    background: #e6e3dd;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  .global-header {
    top: 0;
    left: 0;
    width: 100%;
    min-width: 0;
    height: 70px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(47, 44, 40, 0.13);
    background: rgba(248, 246, 241, 0.96);
    box-shadow: 0 8px 24px rgba(42, 35, 29, 0.08);
    backdrop-filter: blur(12px);
    transform: none;
  }

  .global-brand {
    min-width: 0;
    gap: 9px;
  }

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

  .global-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .global-languages {
    height: 38px;
    gap: 5px;
    padding: 0 11px;
  }

  .global-languages .language {
    min-width: 28px;
    min-height: 36px;
    padding: 0 3px;
  }

  .mobile-nav-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    padding: 0;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
  }

  .mobile-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #282624;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .global-nav.mobile-navigation {
    position: fixed;
    top: 70px;
    right: 18px;
    left: 18px;
    display: grid;
    height: auto;
    align-self: auto;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(47, 44, 40, 0.14);
    background: #faf8f4;
    box-shadow: 0 18px 38px rgba(42, 35, 29, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
    pointer-events: none;
  }

  .global-nav.mobile-navigation.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
    pointer-events: auto;
  }

  .global-nav.mobile-navigation a {
    min-height: 50px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(47, 44, 40, 0.09);
    font-size: 16px;
  }

  .global-nav.mobile-navigation a:last-child {
    border-bottom: 0;
  }

  .global-nav.mobile-navigation a::after {
    right: auto;
    bottom: 8px;
    left: 14px;
    width: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-card-hover-image {
    transition: none;
  }
}

.edit-layer {
  position: absolute;
  margin: 0;
}

.styling-caption-copy,
.media-info,
.case-info,
.service-copy,
.workflow-step {
  position: relative;
}

/* Screen 2 */
.profile-copy {
  top: 184px;
  left: 54px;
  width: 316px;
  height: 324px;
  padding: 10px 14px;
  isolation: isolate;
  background: transparent;
}

.profile-copy > * {
  position: relative;
  z-index: 1;
}

.profile-copy p {
  margin: 0 0 16px;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 2px;
}

.profile-copy h2 {
  margin: 0;
  font-family: var(--source-serif);
  font-size: 58px;
  font-weight: 500;
  line-height: 1.27;
}

.profile-copy i {
  display: block;
  width: 35px;
  height: 3px;
  margin: 24px 0 24px 2px;
  background: #a85e50;
}

.profile-copy span {
  display: block;
  font-family: var(--source-serif);
  font-size: 18px;
  line-height: 1.75;
}

.reference-only-copy {
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.dossier-copy {
  top: 92px;
  left: 895px;
  z-index: 2;
  width: 716px;
  height: 414px;
  padding: 40px 40px 28px;
  border: 1px solid rgba(50, 47, 43, 0.13);
  border-radius: 8px;
  background: rgba(250, 248, 244, 0.98);
  box-shadow: 0 12px 28px rgba(49, 44, 38, 0.12);
}

.dossier-copy-title {
  display: flex;
  align-items: center;
  gap: 23px;
}

.dossier-copy-title h3 {
  margin: 0;
  font-family: var(--source-serif);
  font-size: 46px;
  font-weight: 500;
  line-height: 1.25;
}

.dossier-copy-title span {
  display: inline-flex;
  height: 29px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #adb19f;
  border-radius: 15px;
  font-family: Georgia, serif;
  font-size: 13px;
  white-space: nowrap;
}

.dossier-copy-subtitle {
  margin: 9px 0 0;
  font-family: var(--source-serif);
  font-size: 17px;
}

.dossier-copy-rule {
  width: 100%;
  height: 1px;
  margin: 20px 0 13px;
  background: #c9c7c1;
}

.dossier-copy-group {
  margin-bottom: 17px;
}

.dossier-copy-group b,
.dossier-copy-style b {
  display: block;
  margin-bottom: 9px;
  font-family: var(--source-serif);
  font-size: 16px;
}

.dossier-copy-group > div {
  display: flex;
  gap: 10px;
}

.pill {
  display: inline-flex;
  min-width: 94px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 18px;
  font-family: var(--source-serif);
  font-size: 15px;
}

.pill.sage {
  background: #dde4d5;
}

.pill.gold {
  min-width: 89px;
  background: #f4e1b4;
}

.dossier-copy-style span {
  font-family: var(--source-serif);
  font-size: 16px;
}

.dossier-copy.is-changing {
  animation: dossier-refresh 220ms ease both;
}

@keyframes dossier-refresh {
  from {
    opacity: 0.68;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.role-switcher {
  position: absolute;
  top: 516px;
  left: 895px;
  z-index: 3;
  display: grid;
  width: 716px;
  height: 42px;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.role-switcher-button {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 44, 40, 0.24);
  border-radius: 21px;
  color: #3d3a36;
  background: rgba(250, 248, 244, 0.96);
  font-family: var(--source-serif);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.role-switcher-button:hover,
.role-switcher-button:focus-visible {
  color: #fff;
  border-color: #3c3934;
  background: #3c3934;
  transform: translateY(-2px);
}

.role-switcher-button.is-active {
  color: #fff;
  border-color: #272522;
  background: #272522;
}

.styling-heading-copy {
  top: 568px;
  left: 797px;
  display: grid;
  width: 780px;
  height: 43px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 0 10px;
  background:
    linear-gradient(#faf8f4 0 0) top / 100% 35px no-repeat,
    linear-gradient(90deg, #faf8f4 0 355px, transparent 355px 415px, #faf8f4 415px 100%) bottom / 100% 8px no-repeat;
}

.styling-heading-copy h3 {
  margin: 0;
  font-family: var(--source-serif);
  font-size: 23px;
  font-weight: 500;
}

.styling-heading-copy span {
  height: 1px;
  background: #c6c3bc;
}

.styling-captions {
  position: absolute;
  top: 854px;
  left: 789px;
  display: grid;
  width: 792px;
  grid-template-columns: 239px 239px 239px;
  gap: 34px;
}

.styling-caption-copy {
  display: flex;
  width: 239px;
  height: 73px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-radius: 0 0 8px 8px;
  background: #fbfaf7;
  transition: color 180ms ease, transform 180ms ease;
}

.styling-caption-copy:hover,
.styling-caption-copy:focus-visible {
  color: #9f594d;
  transform: translateY(-4px);
}

.styling-caption-copy > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.styling-caption-copy b {
  font-family: var(--source-serif);
  font-size: 16px;
  font-weight: 500;
}

.styling-caption-copy small {
  color: #4a4844;
  font-family: var(--source-serif);
  font-size: 14px;
}

.styling-caption-copy i {
  display: flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  place-items: center;
  border: 1px solid #5f5d58;
  border-radius: 50%;
  font-size: 18px;
  font-style: normal;
  line-height: 1;
}

/* Screen 3 */
.why-screen {
  background: #fff;
}

.why-copy {
  top: 100px;
  left: 78px;
  width: 405px;
  height: 197px;
  padding: 15px 48px 0 76px;
  background: transparent;
}

.why-copy span {
  position: relative;
  display: inline-flex;
  width: 191px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-left: -72px;
  isolation: isolate;
  color: #fff;
  background: transparent;
  font-size: 26px;
  font-weight: 800;
}

.why-copy span::before {
  position: absolute;
  top: 6px;
  left: 42px;
  z-index: -1;
  width: 108px;
  height: 36px;
  background: rgba(169, 170, 128, 0.94);
  backdrop-filter: blur(4px);
  content: "";
}

.why-copy h2 {
  margin: -1px 0 1px 0;
  color: #090909;
  background: transparent;
  box-shadow: none;
  font-size: 68px;
  font-weight: 900;
  line-height: 1.08;
}

.why-copy p {
  margin: 4px 0 0 0;
  color: #4a4a47;
  background: #fefefe;
  font-size: 16px;
  line-height: 1.55;
}

.radar-stat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 128px;
  height: 83px;
  padding: 5px 4px;
  background: #faf8f2;
}

.radar-stat b {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #77866e;
  font-size: 15px;
}

.stat-engage b { background: #b9623a; }
.stat-spread b { background: #4d7974; }
.stat-convert b { background: #6b5f87; }

.radar-stat > span {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.radar-stat strong {
  font-size: 30px;
  line-height: 1.05;
}

.radar-stat small {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.stat-play { top: 333px; left: 184px; color: #3c5b46; }
.stat-engage { top: 333px; left: 587px; color: #b9623a; }
.stat-spread { top: 494px; left: 184px; color: #3e7470; }
.stat-convert { top: 495px; left: 587px; color: #655783; }

.radar-score {
  top: 407px;
  left: 390px;
  display: flex;
  width: 106px;
  height: 92px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.radar-score small {
  font-size: 13px;
  font-weight: 600;
}

.radar-score strong {
  font-size: 36px;
  line-height: 1.05;
}

.radar-score span {
  font-size: 12px;
}

.radar-note {
  top: 596px;
  left: 318px;
  width: 270px;
  height: 24px;
  padding: 3px 12px;
  color: #77736d;
  background: #faf8f2;
  font-size: 11px;
  text-align: center;
}

.board-title {
  top: 104px;
  left: 835px;
  display: flex;
  width: 779px;
  height: 65px;
  align-items: flex-start;
  justify-content: space-between;
}

.board-title h3,
.service-title h3 {
  position: relative;
  display: inline-flex;
  min-width: 168px;
  height: 59px;
  align-items: center;
  margin: 0;
  padding: 0 24px;
  isolation: isolate;
  color: #fff;
  background: transparent;
  font-size: 30px;
  font-weight: 800;
}

.board-title h3::before,
.service-title h3::before {
  position: absolute;
  inset: 10px 17px 11px;
  z-index: -1;
  background: rgba(159, 165, 124, 0.96);
  backdrop-filter: blur(4px);
  content: "";
}

.board-title a {
  position: absolute;
  top: 14px;
  right: 0;
  width: 124px;
  margin: 0;
  padding: 5px 10px;
  color: #686863;
  background: #fbf9f4;
  font-size: 12px;
  text-align: right;
}

.media-info-grid,
.case-info-grid {
  position: absolute;
  top: 333px;
  left: 854px;
  display: grid;
  width: 727px;
  grid-template-columns: 235px 225px 225px;
  gap: 16px;
}

.media-info,
.case-info {
  display: flex;
  height: 72px;
  flex-direction: column;
  gap: 12px;
  padding: 7px 10px;
  background: #fbfaf7;
}

.media-info b,
.case-info b {
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-info span,
.case-info span {
  color: #565652;
  font-size: 14px;
  white-space: nowrap;
}

.media-info:hover,
.case-info:hover {
  color: #b9623a;
}

.board-cases .board-title {
  top: 429px;
}

.board-title.blue h3::before {
  background: rgba(104, 137, 179, 0.96);
}

.case-info-grid {
  top: 627px;
}

.case-info {
  height: 70px;
}

.service-title {
  top: 716px;
  left: 832px;
  width: 230px;
  height: 65px;
}

.service-title h3 {
  min-width: 216px;
  white-space: nowrap;
}

.service-title h3::before {
  background: rgba(219, 175, 89, 0.96);
}

.service-copy-grid {
  position: absolute;
  top: 782px;
  left: 864px;
  display: grid;
  width: 623px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 73px;
  gap: 10px 11px;
}

.service-copy {
  display: flex;
  width: 197px;
  height: 73px;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 7px;
  background: #fcfcfb;
}

.service-copy > b {
  width: 38px;
  color: #5c6967;
  font-size: 28px;
  text-align: center;
}

.service-copy > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-copy strong {
  font-size: 16px;
}

.service-copy small {
  color: #777;
  font-size: 12px;
  white-space: nowrap;
}

/* Screen 4 */
.workflow-screen {
  background: #fff;
}

.workflow-screen::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1672px;
  height: 56px;
  background: #fcfaf9;
  content: "";
  pointer-events: none;
  transform: translateX(-50%) scaleX(var(--clone-scale, 1));
  transform-origin: top center;
}

.workflow-screen .clone-canvas {
  top: var(--stage-center-y, 50%);
}

.workflow-sequence {
  position: absolute;
  z-index: 4;
  top: 178px;
  left: 44px;
  display: grid;
  width: 1584px;
  height: 625px;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  pointer-events: none;
}

.workflow-sequence-panel {
  background: #fcfaf9;
  transform: scaleX(1);
  transform-origin: right center;
  will-change: transform;
}

.workflow-character-hover-layer {
  position: absolute;
  z-index: 3;
  top: 178px;
  left: 44px;
  display: grid;
  width: 1584px;
  height: 435px;
  grid-template-columns: repeat(4, 396px);
}

.workflow-character-hover {
  background-image: url("characters/screen-4-clean.png");
  background-repeat: no-repeat;
  background-size: 1672px 941px;
  transform-origin: center bottom;
}

.workflow-character-hover:nth-child(1) { background-position: -44px -178px; }
.workflow-character-hover:nth-child(2) { background-position: -440px -178px; }
.workflow-character-hover:nth-child(3) { background-position: -836px -178px; }
.workflow-character-hover:nth-child(4) { background-position: -1232px -178px; }

.workflow-character-hover:hover {
  animation: workflow-character-shake 420ms ease-in-out both;
}

@keyframes workflow-character-shake {
  0% { transform: translateX(0) rotate(0); }
  18% { transform: translateX(-4px) rotate(-0.7deg); }
  38% { transform: translateX(4px) rotate(0.7deg); }
  58% { transform: translateX(-3px) rotate(-0.45deg); }
  78% { transform: translateX(2px) rotate(0.3deg); }
  100% { transform: translateX(0) rotate(0); }
}

.workflow-screen.is-sequence-visible .workflow-sequence-panel {
  animation: workflow-step-reveal 620ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.workflow-screen.is-sequence-visible .workflow-sequence-panel:nth-child(1) { animation-delay: 80ms; }
.workflow-screen.is-sequence-visible .workflow-sequence-panel:nth-child(2) { animation-delay: 360ms; }
.workflow-screen.is-sequence-visible .workflow-sequence-panel:nth-child(3) { animation-delay: 640ms; }
.workflow-screen.is-sequence-visible .workflow-sequence-panel:nth-child(4) { animation-delay: 920ms; }

@keyframes workflow-step-reveal {
  to {
    transform: scaleX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-sequence {
    display: none;
  }

  .workflow-character-hover:hover {
    animation: none;
  }
}

.workflow-copy {
  top: 34px;
  left: 590px;
  width: 520px;
  height: 156px;
  padding-top: 7px;
  background: transparent;
  text-align: center;
}

.workflow-copy h2 {
  margin: 0;
  color: #070707;
  font-size: 64px;
  font-weight: 900;
  line-height: 1.25;
}

.workflow-copy p {
  margin: 8px 0 0;
  font-family: var(--source-serif);
  font-size: 21px;
  letter-spacing: 2px;
}

.workflow-steps {
  position: absolute;
  top: 613px;
  left: 119px;
  display: grid;
  width: 1450px;
  height: 95px;
  grid-template-columns: 401px 371px 376px 302px;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 0;
}

.workflow-step {
  position: relative;
  display: flex;
  height: 95px;
  align-items: center;
  gap: 24px;
  padding: 0 18px;
  background: transparent;
}

.workflow-step b {
  font-family: Georgia, serif;
  font-size: 58px;
  font-weight: 400;
}

.workflow-step:nth-child(1) b { color: #a47d4c; }
.workflow-step:nth-child(2) b { color: #b85e52; }
.workflow-step:nth-child(3) b { color: #669a8b; }
.workflow-step:nth-child(4) b { color: #c28a24; }

.workflow-step strong {
  font-size: 28px;
  white-space: nowrap;
}

.workflow-step span {
  position: absolute;
  top: 35px;
  right: auto;
  z-index: 2;
  color: #666;
  background: transparent;
  font-family: Arial, sans-serif;
  font-size: 24px;
  letter-spacing: 0;
}

.workflow-step:nth-child(1) span { left: 274px; }
.workflow-step:nth-child(2) span { left: 267px; }
.workflow-step:nth-child(3) span { left: 262px; }

/* Screen 5 */
.contact-screen {
  background: #fff;
}

.contact-copy {
  top: 178px;
  left: 65px;
  width: 590px;
  height: 455px;
  padding: 8px 16px;
  z-index: 2;
  isolation: isolate;
  background: transparent;
}

.contact-copy > * {
  position: relative;
  z-index: 1;
}

.contact-copy > p {
  margin: 0 0 0 65px;
  font-family: var(--source-serif);
  font-size: 28px;
}

.copy-status {
  position: fixed;
  z-index: 100;
  top: 50%;
  left: 50%;
  min-width: 190px;
  margin: 0;
  padding: 11px 18px;
  border-radius: 6px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 28px rgba(35, 35, 35, 0.22);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(-100% + 8px));
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.copy-status.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -100%);
}

html {
  overflow-x: hidden;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  overflow-x: hidden;
}

.contact-copy > i {
  display: block;
  width: 48px;
  height: 2px;
  margin: 23px 0 19px;
  background: #b8aa98;
}

.contact-copy h2 {
  width: 520px;
  margin: 0;
  font-size: 72px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 3px;
  white-space: nowrap;
  transform: scaleX(1.09);
  transform-origin: left center;
}

.contact-copy h2 span {
  color: transparent;
  background: linear-gradient(90deg, #bf6b59 0 23%, #71a591 23% 51%, #bd9450 51% 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.contact-kicker {
  margin-top: 28px;
  font-size: 20px;
  letter-spacing: 2px;
}

.contact-actions {
  display: flex;
  gap: 42px;
  margin-top: 52px;
}

.contact-actions button,
.contact-actions a {
  display: inline-flex;
  width: 202px;
  height: 57px;
  align-items: center;
  justify-content: space-between;
  padding: 0 31px;
  border: 1px solid #666;
  border-radius: 29px;
  background: transparent;
  font-size: 19px;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.contact-actions button {
  color: #fff;
  border-color: #222;
  background: #222;
}

.contact-actions button:hover,
.contact-actions button:focus-visible,
.contact-actions a:hover,
.contact-actions a:focus-visible {
  color: #fff;
  border-color: #a85e50;
  background: #a85e50;
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .styling-caption-copy,
  .contact-actions button,
  .contact-actions a {
    transition: none;
  }
}

.mobile-nav-toggle {
  display: none;
}

.radar-stat em {
  font-style: normal;
}

@media (min-width: 1180px) and (max-width: 1320px) {
  html[data-language="ja"] .global-nav {
    gap: 28px;
    transform: translateX(75px);
  }
}

/* Retained for reference only; the live narrow layout now scales the approved canvas. */
@media not all {
  html {
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: none;
  }

  body {
    min-width: 0;
    padding: 0;
    overflow-x: hidden;
    background: #f5f3ef;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  .global-header {
    left: 0;
    width: 100%;
    min-width: 0;
    height: 70px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(47, 44, 40, 0.13);
    background: rgba(248, 246, 241, 0.96);
    box-shadow: 0 8px 24px rgba(42, 35, 29, 0.08);
    backdrop-filter: blur(12px);
    transform: none;
  }

  .global-brand {
    min-width: 0;
    gap: 9px;
  }

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

  .global-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .global-languages {
    height: 38px;
    gap: 5px;
    padding: 0 11px;
  }

  .global-languages .language {
    min-width: 28px;
    min-height: 36px;
    padding: 0 3px;
  }

  .mobile-nav-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    padding: 0;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
  }

  .mobile-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #282624;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .global-nav.mobile-navigation {
    position: fixed;
    top: 70px;
    right: 18px;
    left: 18px;
    display: grid;
    height: auto;
    align-self: auto;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(47, 44, 40, 0.14);
    background: #faf8f4;
    box-shadow: 0 18px 38px rgba(42, 35, 29, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
    pointer-events: none;
  }

  .global-nav.mobile-navigation.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
    pointer-events: auto;
  }

  .global-nav.mobile-navigation a {
    min-height: 50px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(47, 44, 40, 0.09);
    font-size: 16px;
  }

  .global-nav.mobile-navigation a:last-child {
    border-bottom: 0;
  }

  .global-nav.mobile-navigation a::after {
    right: auto;
    bottom: 8px;
    left: 14px;
    width: 36px;
  }

  .page-shell,
  .clone-screen {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    margin: 0;
    overflow: visible;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .page-shell {
    padding-top: 70px;
    background: #f5f3ef;
  }

  .hero {
    position: relative;
    inset: auto;
    min-height: 820px;
    padding: 50px 40px 380px;
    overflow: hidden;
  }

  .hero-background {
    inset: auto 0 0;
    height: 520px;
    background-position: center bottom;
    background-size: contain;
    transform: none;
  }

  #home .hero-awakening {
    display: none;
  }

  .hero-copy {
    width: min(100%, 620px);
    margin: 0;
  }

  .hero-copy h1 {
    font-size: 58px;
  }

  .hero-intro br {
    display: none;
  }

  .creator-card {
    width: min(100%, 430px);
  }

  .hero-actions {
    display: flex;
    width: auto;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 42px;
  }

  .action {
    min-height: 44px;
  }

  .clone-canvas {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    max-width: 1024px;
    margin: 0 auto;
    padding: 104px 32px 56px;
    overflow: visible;
    transform: none;
  }

  .screen-reference,
  body #characters .profile-reference {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1672 / 941;
    margin: 0 0 32px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 12px 30px rgba(42, 35, 29, 0.11);
  }

  body .clone-screen .edit-layer {
    position: relative;
    top: auto;
    left: auto;
  }

  body #characters .profile-carousel {
    position: relative;
    inset: auto;
    display: block;
    overflow: visible;
  }

  body #characters .profile-slide,
  body #characters .profile-slide.is-active {
    position: relative;
    inset: auto;
    display: none;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 24px;
    color: var(--profile-ink);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body #characters .profile-slide.is-active {
    display: grid;
  }

  body #characters .profile-reference {
    grid-column: 1 / -1;
  }

  body #characters .profile-left-copy,
  body #characters .profile-dossier,
  body #characters .profile-styling-title,
  body #characters .profile-captions {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0;
  }

  body #characters .profile-slide[data-profile-state="lady"] .profile-left-copy {
    top: auto;
    left: auto;
  }

  body #characters .profile-left-copy {
    padding: 26px;
    border-left: 4px solid var(--profile-accent);
    background: #f7f3ee;
  }

  body #characters .profile-left-title {
    margin-top: 12px;
    font-size: 44px;
  }

  body #characters .profile-left-mark {
    margin: 18px 0;
  }

  body #characters .profile-dossier {
    padding: 26px;
    border-radius: 6px;
  }

  body #characters .profile-dossier-title h3 {
    font-size: 34px;
  }

  body #characters .profile-styling-title {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
  }

  body #characters .profile-captions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  body #characters .profile-caption {
    min-height: 92px;
    padding: 16px;
    border: 1px solid rgba(47, 44, 40, 0.14);
    border-radius: 4px;
    background: #faf8f4;
  }

  body #characters .profile-card-hover-layer,
  body #characters .profile-unseal-effects {
    display: none;
  }

  body #characters .profile-tabs {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    margin-top: 28px;
  }

  body #characters .profile-tab {
    min-height: 46px;
  }

  body #why-us .why-awakening-layer,
  body #workflow .workflow-awakening-layer,
  body #workflow .workflow-sequence,
  body #workflow .workflow-character-hover-layer,
  body #contact .contact-awakening-layer {
    display: none;
  }

  body #why-us .why-copy,
  body #workflow .workflow-copy,
  body #contact .contact-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    padding: 0;
  }

  body #why-us .why-copy {
    margin: 0 0 28px;
  }

  body #why-us .why-copy span {
    margin-left: 0;
  }

  body #why-us .why-copy h2 {
    font-size: 60px;
  }

  body #why-us .why-copy p {
    width: min(100%, 620px);
    height: auto;
    white-space: normal;
    background: transparent;
  }

  body #why-us .radar-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 34px;
  }

  body #why-us .radar-stat,
  body #why-us .radar-score,
  body #why-us .radar-note {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    min-height: 96px;
    padding: 18px;
    background: #faf8f2;
  }

  body #why-us .radar-score {
    grid-column: 1 / 2;
  }

  body #why-us .radar-note {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
  }

  body #why-us .content-board,
  body #why-us .service-board {
    position: relative;
    margin: 0 0 36px;
  }

  body #why-us .board-title,
  body #why-us .service-title {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    margin-bottom: 14px;
  }

  body #why-us .board-hits .board-title h3,
  body #why-us .board-hits .board-title a,
  body #why-us .board-cases .board-title a {
    color: inherit;
  }

  body #why-us .board-hits .board-title h3 {
    color: #fff;
  }

  body #why-us .board-title a {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    background: transparent;
  }

  body #why-us .media-cover-grid,
  body #why-us .case-cover-grid,
  body #why-us .media-info-grid,
  body #why-us .case-info-grid {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  body #why-us .media-cover-grid,
  body #why-us .case-cover-grid {
    margin-bottom: 0;
  }

  body #why-us .media-cover,
  body #why-us .case-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    margin: 0;
    object-fit: cover;
  }

  body #why-us .media-info-grid,
  body #why-us .case-info-grid {
    margin-top: 0;
  }

  body #why-us .media-info,
  body #why-us .case-info {
    height: auto;
    min-height: 88px;
  }

  body #why-us .service-copy-grid {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  body #why-us .service-copy {
    width: 100%;
    height: auto;
    min-height: 82px;
  }

  body #workflow .workflow-copy {
    margin: 0 0 30px;
    text-align: left;
  }

  body #workflow .workflow-copy h2 {
    font-size: 56px;
  }

  body #workflow .workflow-steps {
    position: relative;
    top: auto;
    left: auto;
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    opacity: 1;
  }

  body #workflow .workflow-step {
    min-height: 150px;
    padding: 20px;
    border-top: 3px solid currentColor;
    background: #faf8f4;
  }

  body #workflow .workflow-step b,
  body #workflow .workflow-step strong {
    display: block;
  }

  body #workflow .workflow-step b {
    font-size: 36px;
  }

  body #workflow .workflow-step strong {
    margin-top: 10px;
    font-size: 18px;
  }

  body #workflow .workflow-step span {
    display: none;
  }

  body #contact .contact-copy {
    margin-top: 10px;
  }

  body #contact .contact-copy > p {
    margin-left: 0;
  }

  body #contact .contact-copy h2 {
    width: 100%;
    font-size: 60px;
    white-space: normal;
    transform: none;
  }

  body #contact .contact-actions {
    gap: 16px;
    margin-top: 34px;
  }

  body #contact .contact-home-nav {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 30px 0 0 auto;
  }
}

@media not all {
  body #workflow .workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body #workflow .workflow-step strong {
    white-space: normal;
  }
}

@media not all {
  .global-header {
    height: 64px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 6px;
    padding: 0 12px;
  }

  .global-brand img {
    width: 36px;
    height: 36px;
  }

  .global-brand span {
    max-width: 92px;
    font-size: 13px;
  }

  .global-languages {
    height: 36px;
    gap: 2px;
    padding: 0 7px;
    font-size: 11px;
  }

  .global-languages .language {
    min-width: 25px;
  }

  .mobile-nav-toggle {
    width: 40px;
    height: 40px;
  }

  .global-nav.mobile-navigation {
    top: 64px;
    right: 10px;
    left: 10px;
  }

  .page-shell {
    padding-top: 64px;
  }

  .hero {
    min-height: 860px;
    padding: 38px 20px 315px;
  }

  .hero-background {
    height: 340px;
    background-size: auto 100%;
  }

  .hero-copy h1 {
    font-size: 44px;
    line-height: 1.16;
  }

  html[data-language="en"] .hero-copy h1,
  html[data-language="ja"] .hero-copy h1 {
    font-size: 39px;
  }

  .hero-intro {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.65;
  }

  .creator-stats {
    width: 100%;
    gap: 18px;
  }

  .creator-stats strong {
    font-size: 31px;
  }

  .hero-services {
    flex-wrap: wrap;
  }

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

  .action {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .social-links {
    margin-top: 18px;
  }

  .clone-canvas {
    padding: 88px 18px 42px;
  }

  .screen-reference,
  body #characters .profile-reference {
    margin-bottom: 22px;
  }

  body #characters .profile-slide,
  body #characters .profile-slide.is-active {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body #characters .profile-reference,
  body #characters .profile-styling-title,
  body #characters .profile-captions {
    grid-column: 1;
  }

  body #characters .profile-left-copy,
  body #characters .profile-dossier {
    padding: 22px 18px;
  }

  body #characters .profile-left-title {
    font-size: 38px;
  }

  body #characters .profile-dossier-title {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  body #characters .profile-dossier-title h3 {
    font-size: 30px;
    white-space: normal;
  }

  body #characters .profile-pill-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  body #characters .profile-pill {
    min-width: 0;
  }

  body #characters .profile-captions {
    grid-template-columns: 1fr;
  }

  body #characters .profile-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body #why-us .why-copy h2,
  body #workflow .workflow-copy h2,
  body #contact .contact-copy h2 {
    font-size: 42px;
  }

  html[data-language="en"] body #why-us .why-copy h2,
  html[data-language="en"] body #contact .contact-copy h2 {
    font-size: 36px;
  }

  body #why-us .radar-copy,
  body #why-us .media-cover-grid,
  body #why-us .case-cover-grid,
  body #why-us .media-info-grid,
  body #why-us .case-info-grid,
  body #why-us .service-copy-grid {
    grid-template-columns: 1fr;
  }

  body #why-us .radar-score {
    grid-column: 1;
  }

  body #why-us .media-info,
  body #why-us .case-info {
    min-height: 0;
    padding: 14px;
  }

  body #why-us .media-info b,
  body #why-us .case-info b,
  body #why-us .media-info span,
  body #why-us .case-info span {
    white-space: normal;
  }

  body #workflow .workflow-steps {
    grid-template-columns: 1fr;
  }

  body #workflow .workflow-step {
    min-height: 112px;
  }

  body #contact .contact-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 16px;
  }

  body #contact .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body #contact .contact-actions button,
  body #contact .contact-actions a {
    width: 100%;
    min-height: 52px;
  }

  .copy-status {
    width: min(calc(100% - 32px), 360px);
    min-width: 0;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-toggle span,
  .global-nav.mobile-navigation {
    transition: none;
  }
}

/* Narrow viewports preserve the approved desktop navigation as part of the scaled stage. */
@media (max-width: 1179px) {
  .global-header {
    top: var(--header-center-y, 41px);
    left: var(--header-center-x, 50%);
    width: 1624px;
    min-width: 1624px;
    height: 82px;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    padding: 0 34px;
    border-bottom: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transform: translate(-50%, -50%) rotate(var(--stage-rotation, 0deg)) scale(var(--stage-scale, 1));
    transform-origin: center;
  }

  .global-brand {
    min-width: auto;
    gap: 12px;
  }

  .global-brand img {
    width: 48px;
    height: 48px;
  }

  .global-brand span {
    max-width: none;
    overflow: visible;
    font-size: 15px;
    text-overflow: clip;
  }

  .global-nav.mobile-navigation {
    position: static;
    display: flex;
    min-width: 0;
    height: auto;
    align-self: stretch;
    justify-content: flex-start;
    gap: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: translateX(130px);
    transition: none;
    pointer-events: auto;
  }

  .global-nav.mobile-navigation a {
    min-height: 0;
    padding: 0;
    border-bottom: 0;
    font-size: 15px;
  }

  .global-nav.mobile-navigation a::after {
    right: 16%;
    bottom: 14px;
    left: 16%;
    width: auto;
  }

  .global-languages {
    height: 42px;
    gap: 7px;
    padding: 0 15px;
    font-size: 12px;
  }

  .global-languages .language {
    min-width: 0;
    min-height: 0;
    padding: 6px 2px;
  }

  .mobile-nav-toggle {
    display: none;
  }
}
