:root {
  --ink: #0b1b33;
  --ink-2: #132a4a;
  --paper: #f4f0e8;
  --paper-2: #ebe5da;
  --white: #fffdf8;
  --red: #e64a36;
  --red-dark: #c43729;
  --line: rgba(11, 27, 51, 0.16);
  --muted: #586474;
  --shell: min(1180px, calc(100vw - 48px));
  --sans: "DM Sans", "Noto Sans JP", system-ui, sans-serif;
  --jp: "Noto Sans JP", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 128px 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1000; padding: 10px 16px;
  color: white; background: var(--ink); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(244, 240, 232, .93); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px);
}
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; width: 184px; height: auto; }
.brand-footer-plate { display: inline-flex; padding: 10px 14px; background: var(--paper); }
.site-nav { display: flex; align-items: center; gap: 24px; font-family: var(--jp); font-size: 13px; font-weight: 600; }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px;
  background: var(--red); transition: right .25s;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.nav-cta { padding: 12px 20px; color: white; background: var(--ink); transition: background .25s; }
.nav-cta:hover { background: var(--red); }
.language-switcher {
  display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 100px;
  background: rgba(255,255,255,.34);
}
.language-switcher button {
  min-width: 30px; height: 28px; padding: 0 7px; border: 0; border-radius: 100px; color: var(--muted);
  background: transparent; font-family: var(--sans); font-size: 10px; font-weight: 700; cursor: pointer; transition: color .2s, background .2s;
}
.language-switcher button[aria-pressed="true"] { color: white; background: var(--ink); }
.language-switcher button:hover:not([aria-pressed="true"]) { color: var(--ink); background: rgba(11,27,51,.08); }
.menu-button { display: none; border: 0; background: none; padding: 8px; }
.menu-button > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px; background: var(--ink); }

.hero { min-height: 840px; padding-top: 88px; background: var(--paper); overflow: hidden; }
.hero-grid { min-height: 670px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 55px; }
.eyebrow { margin: 0 0 22px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .23em; }
.eyebrow.light { color: #ff8f7d; }
.hero h1, .section h2 { margin: 0; font-family: var(--jp); line-height: 1.35; letter-spacing: -.03em; }
.hero h1 { font-size: clamp(38px, 4.4vw, 62px); font-weight: 600; }
.hero h1 .phrase, .section h2 .phrase { display: inline-block; }
.hero h1 em, .section h2 em { color: var(--red); font-style: normal; }
.hero-lead { margin: 30px 0 0; color: #34445a; font-family: var(--jp); font-size: 17px; line-height: 2; }
.hero-actions { margin-top: 42px; display: flex; align-items: center; gap: 30px; }
.button {
  min-height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 0 29px;
  font-family: var(--jp); font-size: 13px; font-weight: 700; transition: transform .25s, background .25s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.button-light { color: var(--ink); background: var(--white); }
.text-link { display: inline-flex; gap: 9px; align-items: center; font-family: var(--jp); font-size: 13px; font-weight: 700; }
.text-link span { color: var(--red); font-size: 18px; transition: transform .25s; }
.text-link:hover span { transform: translate(3px, -3px); }

.hero-visual { position: relative; height: 510px; }
.hero-visual::before {
  content: ""; position: absolute; left: 48%; top: 48%; width: 370px; height: 370px;
  background: var(--ink); transform: translate(-50%, -50%) rotate(7deg);
  clip-path: polygon(12% 0, 100% 6%, 91% 89%, 7% 100%, 0 18%);
}
.orbit { position: absolute; border: 1px solid rgba(230, 74, 54, .5); border-radius: 50%; z-index: 1; }
.orbit-a { width: 440px; height: 225px; left: 0; top: 130px; transform: rotate(-18deg); }
.orbit-b { width: 240px; height: 410px; left: 150px; top: 40px; transform: rotate(33deg); border-color: rgba(255,255,255,.17); }
.signal-card {
  position: absolute; z-index: 3; width: 188px; height: 188px; padding: 24px; display: flex;
  flex-direction: column; justify-content: center; box-shadow: 0 22px 50px rgba(0,0,0,.18);
}
.signal-card strong { font-family: var(--jp); font-size: 40px; line-height: 1.25; white-space: nowrap; }
html[lang="en"] .signal-card strong { font-size: 32px; }
.signal-card small { margin-top: 7px; font-size: 10px; letter-spacing: .13em; }
.signal-code { position: absolute; top: 17px; left: 18px; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.signal-source { left: 45px; top: 63px; color: var(--ink); background: var(--white); }
.signal-context { right: 35px; bottom: 50px; color: white; background: var(--red); }
.signal-path { position: absolute; z-index: 4; left: 221px; top: 246px; display: flex; gap: 14px; transform: rotate(28deg); }
.signal-path i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper); animation: pulse 1.8s infinite; }
.signal-path i:nth-child(2) { animation-delay: .25s; }
.signal-path i:nth-child(3) { animation-delay: .5s; }
@keyframes pulse { 0%, 80%, 100% { opacity: .25; transform: scale(.75); } 40% { opacity: 1; transform: scale(1); } }
.visual-caption { position: absolute; z-index: 4; left: 85px; bottom: 18px; margin: 0; color: white; font-size: 10px; letter-spacing: .18em; }
.visual-caption span { color: #ff8774; margin-right: 12px; }
.hero-footer { height: 82px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: #7a8390; font-size: 10px; letter-spacing: .2em; }
.hero-footer i { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }

.split-heading { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.section-kicker { display: flex; align-items: flex-start; gap: 18px; }
.section-kicker span { color: var(--red); font-size: 13px; font-weight: 700; }
.section-kicker p { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.mission-copy h2 { font-size: clamp(34px, 4vw, 53px); font-weight: 600; }
.mission-copy > p { max-width: 750px; margin: 34px 0 0; color: var(--muted); font-family: var(--jp); font-size: 15px; line-height: 2.15; }
.mission-copy > p + p { margin-top: 18px; }

.statement { padding: 115px 0; color: white; background: var(--red); }
.statement-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.statement-jp { margin: 0; font-family: var(--jp); font-size: clamp(27px, 3.5vw, 44px); font-weight: 600; letter-spacing: -.025em; }
.statement-en { margin: 0; text-align: right; font-size: 12px; font-weight: 700; letter-spacing: .2em; line-height: 1.8; }

.services { background: var(--white); }
.section-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 62px; }
.section-title-row h2 { font-size: clamp(42px, 4.5vw, 62px); }
.section-title-row > p { margin: 0 0 7px; color: var(--muted); font-family: var(--jp); font-size: 14px; line-height: 2; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 335px; padding: 38px 34px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s, transform .25s; }
.service-card:hover { z-index: 2; background: var(--paper); transform: translateY(-5px); }
.service-no { position: absolute; right: 25px; top: 20px; color: #9aa1aa; font-size: 10px; letter-spacing: .15em; }
.service-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 38px; color: white; background: var(--ink); font-family: var(--jp); font-size: 18px; }
.service-card h3 { margin: 0; min-height: 58px; font-family: var(--jp); font-size: 19px; line-height: 1.55; }
.service-card p { margin: 18px 0 28px; color: var(--muted); font-family: var(--jp); font-size: 13px; line-height: 1.9; }
.service-card small { position: absolute; left: 34px; bottom: 27px; color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .16em; }

.principles { color: white; background: var(--ink); }
.principles-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.principles-intro { position: sticky; top: 150px; align-self: start; }
.principles-intro h2 { font-size: clamp(42px, 4.6vw, 61px); }
.principles-intro > p:last-child { max-width: 430px; margin: 30px 0 0; color: #b8c1cf; font-family: var(--jp); font-size: 14px; line-height: 2; }
.principle { display: grid; grid-template-columns: 50px 1fr; gap: 30px; padding: 35px 0 40px; border-top: 1px solid rgba(255,255,255,.19); }
.principle:last-child { border-bottom: 1px solid rgba(255,255,255,.19); }
.principle > span { padding-top: 6px; color: #ff8270; font-size: 11px; font-weight: 700; }
.principle h3 { margin: 0; font-family: var(--jp); font-size: 24px; }
.principle p { margin: 14px 0 0; color: #b8c1cf; font-family: var(--jp); font-size: 14px; line-height: 2; }

.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line); }
.process-list li { position: relative; min-height: 190px; padding: 27px 23px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.process-list li:last-child { border-right: 0; }
.process-list li::after { content: "→"; position: absolute; right: -10px; top: 80px; z-index: 2; width: 20px; color: var(--red); background: var(--paper); text-align: center; }
.process-list li:last-child::after { display: none; }
.process-list span { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.process-list strong { margin-top: 32px; font-family: var(--jp); font-size: 17px; }
.process-list small { margin-top: 7px; color: var(--muted); font-family: var(--jp); font-size: 11px; }

.partners { padding-top: 20px; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; }
.partner-card { min-height: 480px; padding: 65px 62px; display: flex; flex-direction: column; align-items: flex-start; }
.partner-card h2 { margin-top: 10px; font-size: clamp(31px, 3.2vw, 43px); }
.partner-card > p:not(.eyebrow) { max-width: 450px; margin: 28px 0 45px; font-family: var(--jp); font-size: 14px; line-height: 2; }
.partner-card .text-link { margin-top: auto; }
.partner-japan { color: white; background: var(--red); }
.partner-japan .eyebrow, .partner-japan .text-link span { color: white; }
.partner-creator { background: var(--paper-2); }

.company { background: var(--white); }
.company-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; }
.company-grid h2 { font-size: clamp(42px, 4.5vw, 62px); }
.company-table { margin: 0; border-top: 1px solid var(--line); }
.company-table > div { display: grid; grid-template-columns: 150px 1fr; padding: 28px 0; border-bottom: 1px solid var(--line); }
.company-table dt, .company-table dd { font-family: var(--jp); font-size: 14px; }
.company-table dt { color: var(--muted); }
.company-table dd { margin: 0; line-height: 2; }

.contact { color: white; background: var(--red); text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact h2 { font-size: clamp(41px, 5.4vw, 70px); }
.contact > .shell > p:not(.eyebrow):not(.contact-pending) { margin: 30px 0 40px; font-family: var(--jp); font-size: 14px; }
.contact-pending { margin: 34px 0 0; padding: 12px 19px; border: 1px solid rgba(255,255,255,.4); font-family: var(--jp); font-size: 12px; }
.is-hidden { display: none !important; }
.company-table dd a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

.site-footer { padding: 65px 0 28px; color: white; background: #071327; }
.brand-footer .brand-mark { background: var(--red); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 65px; }
.footer-top nav { display: flex; gap: 28px; font-family: var(--jp); font-size: 12px; }
.footer-top nav a:hover { color: #ff8270; }
.footer-bottom { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; color: #8190a4; font-size: 9px; letter-spacing: .15em; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .section { padding: 95px 0; }
  .menu-button { display: block; z-index: 2; }
  .site-nav {
    position: fixed; inset: 0; width: 100vw; min-height: 100vh; min-height: 100dvh;
    display: flex; flex-direction: column; justify-content: center; gap: 28px;
    font-size: 17px; background: var(--paper); visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s;
  }
  .site-nav .language-switcher { margin: 4px 0; }
  .site-nav.open { visibility: visible; opacity: 1; }
  .menu-button.open > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button.open > span:nth-child(2) { opacity: 0; }
  .menu-button.open > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu-button > span { transition: transform .25s, opacity .2s; }
  .hero { min-height: auto; }
  .hero-grid { padding: 120px 0 70px; grid-template-columns: 1fr; gap: 45px; }
  .hero-copy { max-width: 690px; }
  .hero-visual { width: min(540px, 100%); justify-self: center; }
  .split-heading, .principles-grid, .company-grid { grid-template-columns: 1fr; gap: 50px; }
  .principles-intro { position: static; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(5, 220px); overflow-x: auto; }
  .partner-card { min-height: 450px; padding: 50px 40px; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 32px); }
  .section { padding: 78px 0; }
  .header-inner { height: 72px; }
  .brand-logo { width: 154px; }
  .hero { padding-top: 72px; }
  .hero-grid { padding-top: 75px; gap: 25px; }
  .hero h1 { font-size: clamp(32px, 10vw, 46px); }
  .hero-lead { font-size: 14px; }
  .desktop-only { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-visual { height: 420px; transform: scale(.92); transform-origin: center top; margin-bottom: -30px; }
  .hero-visual::before { width: 315px; height: 315px; }
  .signal-card { width: 150px; height: 150px; padding: 20px; }
  .signal-card strong { font-size: 32px; }
  html[lang="en"] .signal-card strong { font-size: 26px; }
  .signal-source { left: 10px; top: 65px; }
  .signal-context { right: 5px; bottom: 65px; }
  .signal-path { left: 150px; top: 210px; }
  .orbit-a { left: -35px; width: 390px; }
  .visual-caption { left: 30px; bottom: 35px; }
  .hero-footer { overflow: hidden; gap: 30px; justify-content: flex-start; white-space: nowrap; }
  .hero-footer i { flex: 0 0 4px; }
  .mission-copy h2 { font-size: 33px; }
  .statement { padding: 75px 0; }
  .statement-inner { align-items: flex-start; flex-direction: column; gap: 30px; }
  .statement-en { text-align: left; }
  .section-title-row { align-items: flex-start; flex-direction: column; margin-bottom: 42px; }
  .section-title-row > p br { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 305px; }
  .principles-grid { gap: 38px; }
  .principle { grid-template-columns: 38px 1fr; gap: 16px; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-card { min-height: 420px; padding: 48px 28px; }
  .company-table > div { grid-template-columns: 1fr; gap: 8px; }
  .company-table dt { font-size: 11px; }
  .footer-top { flex-direction: column; gap: 45px; }
  .footer-top nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
