:root {
  --ink: #000000;
  --ink-2: #000000;
  --muted: #5f6268;
  --line: #e3e5ea;
  --paper: #f5f4f0;
  --soft: #fbfaf7;
  --white: #ffffff;
  --brand-start: #a99ad3;
  --brand-mid: #8f9dcf;
  --brand-end: #5b91ca;
  --brand-gradient: linear-gradient(90deg, var(--brand-start) 0%, var(--brand-mid) 48%, var(--brand-end) 100%);
  --font-latin: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial;
  --font-ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: var(--font-latin), var(--font-ja);
  font-feature-settings: "kern" 1, "palt" 1;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

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

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

.entry-mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--ink);
  pointer-events: none;
}

.entry-mask::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(50% + 38px);
  width: min(240px, 44vw);
  height: 1px;
  background: var(--brand-gradient);
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
}

.entry-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(169, 154, 211, 0.14), transparent 28%),
    radial-gradient(circle at 58% 52%, rgba(91, 145, 202, 0.12), transparent 32%);
  opacity: 0;
}

.entry-mask span {
  position: relative;
  font-family: var(--font-latin);
  font-size: clamp(18px, 2.4vw, 34px);
  font-weight: 760;
  letter-spacing: 0;
}

body.is-ready .entry-mask {
  animation: entryMaskExit 720ms cubic-bezier(0.22, 1, 0.36, 1) 780ms forwards;
}

body.is-ready .entry-mask::before {
  animation: entryLine 900ms cubic-bezier(0.22, 1, 0.36, 1) 140ms forwards;
}

body.is-ready .entry-mask::after {
  animation: entryAura 900ms ease 120ms forwards;
}

body.is-ready .entry-mask span {
  animation: entryWordExit 680ms cubic-bezier(0.22, 1, 0.36, 1) 420ms forwards;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--ink);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(251, 250, 247, 0.92);
  color: var(--ink);
  border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-family: var(--font-latin);
  font-weight: 760;
  letter-spacing: 0;
}

.brand-name {
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.primary-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.primary-nav a,
.site-footer nav a,
.language-switch a,
.language-switch span {
  opacity: 0.76;
}

.primary-nav a:hover,
.site-footer nav a:hover,
.language-switch .is-current {
  opacity: 1;
}

.language-switch {
  display: flex;
  gap: 13px;
  align-items: center;
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 720;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 116px clamp(22px, 7vw, 120px) 92px;
  color: var(--ink);
  background: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, transparent 0%, rgba(169, 154, 211, 0.24) 43%, rgba(91, 145, 202, 0.18) 52%, transparent 64%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-32%);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  transform: none;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0.42) 58%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0) 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
}

.site-header,
.hero-image,
.hero-overlay,
.hero-content > * {
  opacity: 0;
}

body.is-ready .site-header {
  animation: revealDown 760ms cubic-bezier(0.22, 1, 0.36, 1) 760ms forwards;
}

body.is-ready .hero-image {
  animation: heroImageIn 1600ms cubic-bezier(0.22, 1, 0.36, 1) 420ms forwards;
}

body.is-ready .hero-overlay {
  animation: fadeIn 1200ms ease 460ms forwards;
}

body.is-ready .hero::before {
  animation: heroSweep 1300ms cubic-bezier(0.22, 1, 0.36, 1) 720ms forwards;
}

body.is-ready .hero-content > * {
  animation: revealUp 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.is-ready .hero-content > :nth-child(1) {
  animation-delay: 780ms;
}

body.is-ready .hero-content > :nth-child(2) {
  animation-delay: 900ms;
}

body.is-ready .hero-content > :nth-child(3) {
  animation-delay: 1040ms;
}

body.is-ready .hero-content > :nth-child(4) {
  animation-delay: 1180ms;
}

.eyebrow {
  margin: 0 0 15px;
  width: fit-content;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.14em;
}

.hero h1,
.vision-grid h2,
.quote-band h2,
.product-copy h2,
.engine-copy h2,
.ip-layout h2,
.company-layout h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
  font-family: var(--font-ja);
  font-weight: 760;
}

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

.hero-copy {
  max-width: none;
  margin: 30px 0 0;
  color: var(--ink);
  font-size: clamp(15px, 1.42vw, 18px);
  font-weight: 440;
  white-space: nowrap;
}

.lang-en .hero-copy {
  max-width: 700px;
  white-space: normal;
}

.lang-en .vision-grid h2,
.lang-en .ip-layout h2,
.lang-en .company-layout h2 {
  max-width: 820px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 680;
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button.ghost {
  color: var(--ink);
  background: rgba(16, 17, 20, 0.035);
}

.ticker-strip {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  scrollbar-width: none;
}

.ticker-strip::-webkit-scrollbar {
  display: none;
}

.ticker-strip span {
  flex: 1 0 auto;
  min-width: 210px;
  padding: 16px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-family: var(--font-latin);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
}

.section,
.product-section,
.contact-section {
  padding: clamp(76px, 9vw, 132px) clamp(22px, 7vw, 120px);
  scroll-margin-top: 76px;
}

.section-kicker {
  max-width: var(--max);
  margin: 0 auto clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.section-kicker span {
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 17px);
}

.vision-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 22%, rgba(169, 154, 211, 0.2), transparent 28%),
    radial-gradient(circle at 18% 84%, rgba(91, 145, 202, 0.16), transparent 30%),
    linear-gradient(180deg, #fbfaf7 0%, #f7f7f8 48%, #fbfaf7 100%);
}

.vision-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 48%, black 0%, transparent 72%);
  opacity: 0.42;
}

.vision-section::after {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -1;
  background:
    conic-gradient(from 140deg at 50% 50%, transparent 0deg, rgba(169, 154, 211, 0.16) 72deg, rgba(91, 145, 202, 0.12) 128deg, transparent 202deg, transparent 360deg);
  filter: blur(46px);
  opacity: 0.72;
  animation: visionAura 18s ease-in-out infinite alternate;
}

.vision-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.82;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.vision-section .section-kicker {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: start;
}

.vision-section .section-kicker .eyebrow,
.quote-content > p:first-child,
.product-copy .eyebrow,
.engine-section .section-kicker .eyebrow,
.ip-section .section-kicker .eyebrow,
.company-section .section-kicker .eyebrow,
.contact-section > .eyebrow {
  margin-bottom: 12px;
  width: fit-content;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-latin);
  font-size: clamp(17px, 2.2vw, 28px);
  font-weight: 720;
}

.vision-grid,
.ip-layout,
.company-layout {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(34px, 7vw, 92px);
}

.vision-grid h2,
.ip-layout h2,
.company-layout h2 {
  font-size: clamp(34px, 4.8vw, 64px);
}

.vision-grid h2 {
  font-size: clamp(23px, 2.8vw, 36px);
  line-height: 1.2;
}

.lang-en .vision-grid h2 {
  font-size: clamp(19px, 1.85vw, 26px);
  line-height: 1.16;
  white-space: nowrap;
}

.body-copy {
  color: var(--ink);
  font-size: clamp(15px, 1.45vw, 18px);
}

.body-copy p:first-child {
  margin-top: 0;
}

.quote-band {
  position: relative;
  min-height: clamp(640px, 74vw, 880px);
  padding: clamp(70px, 9vw, 122px) clamp(22px, 8vw, 136px);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.quote-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 76% 38%, rgba(169, 154, 211, 0.1), transparent 32%),
    linear-gradient(90deg, #000 0%, #000 100%);
  pointer-events: none;
}

.quote-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.quote-content > p:first-child {
  margin-top: 0;
  margin-bottom: 22px;
}

.quote-band h2 {
  max-width: 840px;
  font-size: clamp(31px, 5.2vw, 76px);
}

.lang-en .quote-band h2 {
  max-width: 900px;
  font-size: clamp(24px, 3.1vw, 42px);
  line-height: 1.12;
  white-space: nowrap;
}

.quote-band span {
  display: block;
  max-width: 980px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.4vw, 31px);
  font-weight: 620;
  line-height: 1.55;
}

.quote-band .quote-copy {
  max-width: 780px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(14px, 1.32vw, 16px);
}

.quote-character {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  opacity: 1;
  filter: saturate(0.96) contrast(1.03);
}

.quote-character::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #000 0%, #000 43%, rgba(0, 0, 0, 0.72) 56%, rgba(0, 0, 0, 0.18) 76%, rgba(0, 0, 0, 0.36) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, transparent 34%, transparent 70%, rgba(0, 0, 0, 0.42) 100%);
  pointer-events: none;
}

.quote-character img {
  position: absolute;
  top: 0;
  right: 0;
  width: min(64vw, 1050px);
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center right;
  display: block;
  border-radius: 2px;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  background: var(--paper);
}

.product-media {
  min-height: 520px;
  overflow: hidden;
  border-radius: 4px;
  background:
    radial-gradient(circle at 52% 18%, rgba(169, 154, 211, 0.24), transparent 28%),
    linear-gradient(145deg, #050506 0%, #101114 52%, #050506 100%);
  box-shadow: 0 32px 90px rgba(16, 17, 20, 0.18);
}

.app-download-panel {
  position: relative;
  min-height: 520px;
  padding: clamp(28px, 4.5vw, 54px);
  display: grid;
  grid-template-rows: 1fr auto auto;
  justify-items: center;
  align-items: center;
  color: var(--white);
  isolation: isolate;
}

.app-download-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 36%),
    radial-gradient(circle at 50% 50%, rgba(91, 145, 202, 0.16), transparent 36%);
  pointer-events: none;
}

.phone-mock {
  width: min(54%, 250px);
  min-width: 190px;
  aspect-ratio: 0.49;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.12), #050506 78%),
    url("assets/relationship-character-portrait-black.png") center / cover;
}

.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.26), transparent 42%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 50%, rgba(0, 0, 0, 0.18));
}

.phone-status,
.phone-card,
.parallel-world {
  position: absolute;
  z-index: 1;
}

.phone-status {
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 700;
}

.parallel-world {
  inset: 24% 16% auto;
  aspect-ratio: 1;
  border: 1px solid rgba(169, 154, 211, 0.28);
  border-radius: 999px;
  box-shadow: 0 0 50px rgba(169, 154, 211, 0.18);
}

.parallel-world span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--origin-blue);
  box-shadow: 0 0 18px rgba(91, 145, 202, 0.75);
}

.parallel-world span:nth-child(1) {
  top: 18%;
  left: 32%;
}

.parallel-world span:nth-child(2) {
  top: 48%;
  right: 22%;
}

.parallel-world span:nth-child(3) {
  bottom: 20%;
  left: 44%;
}

.phone-card {
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(6, 6, 8, 0.56);
  backdrop-filter: blur(18px);
}

.phone-card small,
.download-copy span,
.store-badge small {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-latin);
}

.phone-card small {
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.download-copy {
  margin-top: 24px;
  text-align: center;
}

.download-copy p {
  margin: 0;
  font-family: var(--font-latin);
  font-size: 30px;
  font-weight: 720;
}

.download-copy span {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.store-badge {
  min-width: 154px;
  min-height: 48px;
  padding: 7px 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: #000;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, border-color 180ms ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.36);
}

.store-badge small {
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0;
}

.store-badge strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-latin);
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0;
}

.store-icon {
  position: relative;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
}

.store-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-icon-apple {
  filter: invert(1);
}

.store-icon-play {
  transform: scale(0.92);
}

.product-copy h2,
.engine-copy h2,
.contact-section h2 {
  font-size: clamp(34px, 4.6vw, 62px);
}

.product-copy h2 {
  font-size: clamp(29px, 3.7vw, 48px);
  line-height: 1.18;
}

.lang-en .product-copy h2 {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.16;
}

.product-copy p,
.engine-copy p,
.contact-section p {
  margin: 26px 0 0;
  color: var(--ink);
  font-size: clamp(15px, 1.42vw, 17px);
}

.engine-section {
  background: var(--ink);
  color: var(--white);
}

.engine-section .section-kicker {
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: start;
  border-color: rgba(255, 255, 255, 0.16);
}

.engine-section .section-kicker span,
.engine-copy p {
  color: rgba(255, 255, 255, 0.7);
}

.engine-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.84fr) minmax(360px, 1.16fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.engine-copy h2 {
  font-size: clamp(27px, 3.25vw, 44px);
  line-height: 1.18;
}

.lang-en .engine-copy h2 {
  font-size: clamp(26px, 2.85vw, 38px);
  line-height: 1.16;
}

.engine-visual {
  display: grid;
  gap: 20px;
  justify-items: center;
}

.engine-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: #050506;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.engine-figure img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  display: block;
}

.engine-try-button {
  min-height: 48px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(169, 154, 211, 0.46);
  border-radius: 999px;
  background:
    linear-gradient(#000, #000) padding-box,
    var(--brand-gradient) border-box;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, border-color 180ms ease;
}

.engine-try-button:hover {
  transform: translateY(-2px);
  border-color: transparent;
}

.character-lineup {
  max-width: var(--max);
  margin: clamp(46px, 6vw, 80px) auto 0;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.36);
}

.character-lineup img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.ip-section {
  background: var(--soft);
}

.ip-section .section-kicker {
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: start;
}

.ip-layout h2 {
  font-size: clamp(27px, 3.25vw, 44px);
  line-height: 1.18;
}

.portfolio-button {
  width: fit-content;
  min-height: 48px;
  margin: clamp(34px, 5vw, 54px) auto 0;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 17, 20, 0.72);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.portfolio-button:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: var(--white);
}

.company-section {
  background: var(--paper);
}

.company-section .section-kicker {
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: start;
}

.company-layout h2 {
  max-width: 760px;
  font-size: clamp(24px, 2.65vw, 36px);
  line-height: 1.22;
}

.lang-en .company-layout h2 {
  max-width: 720px;
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.2;
}

.company-table {
  margin: 0;
  border-top: 1px solid rgba(16, 17, 20, 0.16);
}

.company-intro p {
  margin: 26px 0 0;
  color: var(--ink);
  font-size: clamp(15px, 1.42vw, 17px);
}

.company-table div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 21px 0;
  border-bottom: 1px solid rgba(16, 17, 20, 0.16);
}

.company-table dt {
  color: var(--muted);
  font-weight: 680;
}

.company-table dd {
  margin: 0;
  font-weight: 620;
}

.contact-section {
  background: var(--ink);
  color: var(--white);
}

.contact-section > * {
  max-width: 860px;
}

.contact-section p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.contact-section .button.primary {
  margin-top: 34px;
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.contact-section .button {
  cursor: pointer;
}

.contact-dialog {
  width: min(92vw, 620px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: #050506;
  color: var(--white);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.42);
}

.contact-dialog::backdrop {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(14px);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 20px;
  padding: clamp(28px, 5vw, 46px);
}

.contact-form .eyebrow {
  margin-bottom: 0;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-form h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 680;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.contact-form input {
  min-height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 160px;
  padding: 13px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(169, 154, 211, 0.74);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form .button.primary {
  width: fit-content;
  margin-top: 4px;
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.contact-form .button.primary:disabled {
  cursor: wait;
  opacity: 0.58;
}

.contact-status {
  min-height: 1.4em;
  margin: -4px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.4;
}

.contact-status[data-state="success"] {
  color: #9ee7c4;
}

.contact-status[data-state="error"] {
  color: #ffb4b4;
}

.contact-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.contact-close::before,
.contact-close::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 10px;
  width: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.86);
}

.contact-close::before {
  transform: rotate(45deg);
}

.contact-close::after {
  transform: rotate(-45deg);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(22px, 7vw, 120px);
  background: var(--ink);
  color: var(--white);
}

.site-footer small {
  color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .primary-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 22px 28px;
    background: rgba(251, 250, 247, 0.97);
    color: var(--ink);
    border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  }

  .site-header.is-open .primary-nav {
    display: flex;
  }

  .primary-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .language-switch {
    justify-self: end;
  }

  .nav-toggle {
    display: block;
  }

  .vision-grid,
  .product-section,
  .engine-layout,
  .ip-layout,
  .company-layout {
    grid-template-columns: 1fr;
  }

  .product-media {
    min-height: 420px;
  }

  .engine-figure img {
    min-height: 420px;
  }

  .app-download-panel {
    min-height: 420px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    gap: 12px;
    padding-inline: 18px;
  }

  .primary-nav {
    top: 68px;
  }

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

  .language-switch {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding: 112px 22px 72px;
  }

  .hero-image {
    object-position: 68% center;
    opacity: 0.78;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 52%, rgba(255, 255, 255, 0.24) 100%),
      linear-gradient(0deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.24) 42%, rgba(255, 255, 255, 0) 100%);
  }

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

  .hero-copy {
    margin-top: 24px;
    max-width: 21em;
    white-space: normal;
  }

  .section,
  .product-section,
  .contact-section {
    padding-inline: 22px;
  }

  .section-kicker,
  .company-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quote-band h2 {
    font-size: clamp(25px, 7.1vw, 34px);
    line-height: 1.18;
  }

  .quote-band {
    min-height: auto;
    padding-bottom: clamp(320px, 78vw, 420px);
  }

  .quote-character {
    inset: auto 0 0;
    width: 100%;
    height: clamp(280px, 70vw, 390px);
    transform: none;
    opacity: 1;
  }

  .quote-character::after {
    background:
      linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.68) 18%, rgba(0, 0, 0, 0.14) 56%, rgba(0, 0, 0, 0.34) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.04) 46%, rgba(0, 0, 0, 0.34) 100%);
  }

  .quote-character img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-position: 72% center;
  }

  .product-media,
  .engine-figure img {
    min-height: 330px;
  }

  .app-download-panel {
    min-height: 330px;
    padding: 26px 18px;
  }

  .phone-mock {
    width: min(58%, 210px);
    min-width: 166px;
  }

  .store-badges {
    gap: 10px;
  }

  .store-badge {
    min-width: 145px;
  }

  .character-lineup img {
    object-position: center;
  }
}

body:not(.is-ready) .site-header,
body:not(.is-ready) .hero-image,
body:not(.is-ready) .hero-overlay,
body:not(.is-ready) .hero-content > * {
  opacity: 0;
}

@keyframes entryMaskExit {
  0% {
    opacity: 1;
    filter: blur(0);
  }

  100% {
    opacity: 0;
    filter: blur(14px);
  }
}

@keyframes entryWordExit {
  0% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }

  to {
    opacity: 0;
    transform: translateY(-6px);
    filter: blur(8px);
  }
}

@keyframes entryLine {
  0% {
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
  }

  42% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) scaleX(0.72);
  }
}

@keyframes entryAura {
  0% {
    opacity: 0;
  }

  42% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes revealDown {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

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

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: scale(1.035);
    filter: saturate(0.88) brightness(1.08);
  }

  to {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1) brightness(1);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes heroSweep {
  0% {
    opacity: 0;
    transform: translateX(-18%);
  }

  34% {
    opacity: 0.46;
  }

  100% {
    opacity: 0;
    transform: translateX(18%);
  }
}

@keyframes visionAura {
  from {
    transform: translate3d(-2%, -1%, 0) rotate(-4deg) scale(1);
  }

  to {
    transform: translate3d(2%, 1%, 0) rotate(5deg) scale(1.06);
  }
}

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

  body.is-loading {
    overflow: auto;
  }

  .entry-mask {
    display: none;
  }

  .vision-section::after {
    animation: none;
  }

  .site-header,
  .hero-image,
  .hero-overlay,
  .hero-content > * {
    opacity: 1;
  }
}
