@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --font-body: "Outfit", sans-serif;
  --font-heading: "Outfit", sans-serif;
  --paper: #f1f1f3; --ink: #202020; --pink: #d11a6e; --purple: #6e2c90;
  --rule: #bcbcc0; --gutter: clamp(1.25rem, 4.45vw, 4rem);
  font-family: var(--font-body);
  color: var(--ink); background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
p { margin: 0 0 1rem; line-height: 1.6; }
h1,h2,h3,h4 { margin: 0; }
h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.06; text-transform: uppercase; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.24; }
h4 { color: var(--pink); margin: 0 0 .35rem; font-size: 1.2rem; }
.wrap { padding-inline: var(--gutter); max-width: 96rem; margin-inline: auto; }
.eyebrow { font: .75rem/1.5 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.sr-only,.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 5; background: white; padding: .75rem; }
.site-header { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; padding: .5rem var(--gutter); min-height: 4rem; background: #f5f5f5e6; backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: .9rem; width: fit-content; color: var(--purple); letter-spacing: .28em; }
.mark { display: inline-flex; align-items: center; width: 3.55rem; height: 1.5rem; }
.mark i { display: block; width: 1.5rem; height: .62rem; margin-right: -.28rem; transform: skewX(28deg) rotate(25deg); border-radius: .2rem; background: var(--pink); }
.mark i:nth-child(2) { background: #a82484; transform: skewX(-26deg) rotate(-24deg); }
.mark i:nth-child(3) { background: var(--purple); }
nav,.header-actions,.actions { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 2rem); }
nav { text-transform: uppercase; }
nav a:hover,.site-footer a:hover { color: var(--pink); }
.header-actions { justify-self: end; gap: .75rem; }
.globe { display: grid; place-items: center; background: white; border-radius: .3rem; width: 3rem; height: 3rem; filter: grayscale(1); }
.menu-toggle { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; min-width: min(13.5rem, 100%); border: 1px solid var(--pink); padding: .65rem 1.1rem; border-radius: .4rem; background: var(--pink); color: white; font-weight: 700; text-align: center; }
.button:hover { background: #af145d; }
.secondary { background: white; color: var(--ink); border-color: #d3d3d6; }
.secondary:hover { background: #f2e8f3; }
.hero { position: relative; min-height: clamp(39rem, 58vw, 53rem); display: grid; align-items: center; background: linear-gradient(0deg,var(--paper),transparent 16%), url("hero-wizlex.webp") center / cover no-repeat, #fafafa; border-bottom: 1px solid var(--rule); }
.hero-content { padding: 3rem max(var(--gutter), 8.3vw) 5.5rem; }
.hero h1 { font-size: clamp(2.5rem, 4.65vw, 4.5rem); line-height: 1.04; text-transform: uppercase; letter-spacing: -.035em; }
.hero h1 small { font-size: .5em; font-weight: 400; text-transform: none; color: var(--pink); letter-spacing: normal; }
html[lang="ja"] #hero-title small { font-size: 1em; }
.hero h1 strong { color: var(--purple); font-size: 1.38em; }
.hero .actions { margin-top: clamp(2rem, 9vw, 8rem); gap: 1rem; flex-wrap: wrap; }
.hero-number { position: absolute; left: .8rem; top: 20%; font: 700 1.2rem var(--font-body); }
.hero-number small { display: block; color: var(--pink); font-size: .65rem; }
.hero-number::after { content: ""; display: block; width: 1px; height: 5rem; margin: .65rem auto; background: var(--rule); }
.scroll-note { position: absolute; bottom: 2rem; left: 8.3vw; display:inline-flex; align-items:center; gap:1rem; font: .875rem/1.4 var(--font-body); letter-spacing:.07em; text-transform:uppercase; color:#55555f; }
.scroll-mouse { position:relative; display:block; flex:none; width:16px; height:20px; border:1px solid var(--pink); border-radius:8px; }
.scroll-mouse::after { content:""; position:absolute; top:3px; left:calc(50% - 1px); width:2px; height:5px; border-radius:1px; background:var(--pink); }
.hero-side-label { position:absolute; top:2rem; right:2rem; bottom:3rem; display:flex; align-items:center; gap:2rem; margin:0; writing-mode:vertical-rl; white-space:nowrap; color:white; font:400 clamp(.65rem,.9vw,.875rem)/1 var(--font-body); letter-spacing:.23em; text-transform:uppercase; pointer-events:none; }
.hero-side-label::after { content:""; display:block; width:1px; flex:1; min-height:3rem; max-height:6rem; background:#fc3085; }
@media (prefers-reduced-motion:no-preference) {
  .is-loading :is(.hero-number,.hero-side-label) {visibility:hidden;}
  .hero-metadata-waiting {opacity:0;}
}
.split { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); align-items: center; gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(3rem, 8vw, 8rem); }
.intro h2::after,.phase-panel h3::after { content: ""; display: block; width: 3.3rem; height: 2px; background: var(--pink); margin-block: 1.5rem; }
.audiences { display: grid; gap: 2rem; }
.audiences article { display: grid; grid-template-columns: clamp(5rem, 15vw, 15rem) minmax(0,1fr); gap: clamp(1rem, 3vw, 3rem); align-items: center; }
.audiences b { font: 700 clamp(4rem, 13vw, 13rem)/.85 var(--font-body); letter-spacing: -.1em; color: var(--pink); }
.audiences h3,.services h3,.phase-panel h3 { text-transform: uppercase; margin-bottom: .65rem; }
.audiences h3 { color: var(--pink); }
.audiences .eyebrow { margin: 0 0 .25rem; }
.services { border-top: 1px solid var(--rule); grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); padding-bottom: 4rem; }
.services ol { margin: 0; padding: 0; list-style: none; counter-reset: service; }
.services li { position: relative; counter-increment: service; padding: 1.7rem 1rem 1.7rem 5rem; border-left: 3px solid transparent; }
.services li:hover,.services li:focus-within { background: white; border-left-color: var(--pink); }
.services li::before { content: counter(service, decimal-leading-zero); position: absolute; left: 1.5rem; top: 1.9rem; color: var(--pink); font: 700 1rem var(--font-body); }
.services p { margin-bottom: 0; }
.services .intro p { margin-bottom: 1.4rem; }
.process { max-width: 74rem; padding-block: 3rem; }
.phase-panel { position: relative; display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: 3rem; min-height: 25rem; padding: 3rem; margin-top: 2.6rem; border: 1px solid #d4cdd9; background: linear-gradient(125deg,#f4e6ee,#f4f3f6 70%,#eae3f0); }
.phase-number { position: absolute; top: -.8rem; left: 2rem; background: var(--ink); color: white; padding: .3rem .8rem; }
.phase-panel h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.phase-art {
  width: 100%;
  max-width: 453px;
  aspect-ratio: 453 / 320;
  justify-self: center;
  background: var(--phase-image, url("/phase-understand.webp")) center / var(--phase-image-size, 76.5% auto) no-repeat;
}
.phase-panel[data-current-phase="1"] { --phase-image: url("/phase-shape.webp"); --phase-image-size: 69.56% auto; }
.phase-panel[data-current-phase="2"] { --phase-image: url("/phase-build.webp"); --phase-image-size: 99% auto; }
.phase-panel[data-current-phase="3"] { --phase-image: url("/phase-improve.webp"); --phase-image-size: 77.5% auto; }
.ruler { display: flex; width: min(100%,48rem); margin: 2rem auto 0; }
.ruler button { flex: 1; min-width: 0; border: 0; border-top: 1px solid var(--rule); background: repeating-linear-gradient(90deg,#bdbdc3 0 1px,transparent 1px 9px) 0 0 / 100% 6px no-repeat; padding: .8rem .2rem 0; font: .72rem var(--font-body); text-transform: uppercase; color: #414146; }
.ruler button[aria-pressed="true"] { border-top: 3px solid var(--pink); color: #a31355; font-weight: bold; }
.ruler button > span:not(.ja-text-run) { display: block; margin-bottom: .5rem; }
.phase-display-number { display: none; }
@media (min-width: 1024px) {
  .process { position: relative; }
  .phase-display-number {
    position: absolute;
    bottom: 2.25rem;
    left: var(--gutter);
    display: block;
    pointer-events: none;
    color: #d11a6e40;
    font-size: clamp(7rem, 17vw, 15rem);
    font-weight: 700;
    line-height: .8;
    letter-spacing: -.04em;
  }
  .process .ruler { width: 62%; transform: translateX(var(--phase-offset, 37.5%)); }
  .process::after {
    content: "";
    position: absolute;
    bottom: 4.4rem;
    left: 50%;
    width: 2px;
    height: 2rem;
    background: var(--pink);
    pointer-events: none;
  }
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .process .ruler { transition: transform 550ms ease-out; }
}
.proof { border-top: 1px solid var(--rule); padding-block: 4rem 6rem; }
.proof-top { position: relative; isolation: isolate; padding-left: 30%; }
.proof h2 strong { color: var(--pink); font-size: 1.32em; }
.world { position: absolute; z-index: -1; left: 0; top: 0; width: min(42%,32.5rem); aspect-ratio: 520 / 363; background: url("/proof-globe.webp") center / contain no-repeat; }
.metrics,.cases { display: grid; gap: 1.35rem; }
.metrics { grid-template-columns: 1fr 1fr; margin-block: 1.35rem 2.4rem; }
.metrics div,.cases article { background: white; padding: 1.5rem; }
.metrics div { text-align: center; }
.metrics b { display: block; font-size: clamp(2rem,3vw,2.65rem); margin-bottom: .65rem; }
.metrics sup { color: var(--pink); font-size: .5em; }
.cases { grid-template-columns: repeat(3,minmax(0,1fr)); }
.cases h3 { margin-bottom: 1rem; }
.cases .eyebrow,.consent strong { color: #a71356; }
.cases .eyebrow .case-service { color: var(--ink); }
.partners { border: 1px solid #d8d6da; text-align: center; margin-top: 2.5rem; padding: 1.35rem; }
.partners ul { list-style: none; padding: 0; margin: 1.2rem 0 .4rem; display: flex; gap: 1.2rem; align-items: center; justify-content: space-around; flex-wrap: wrap; font-size: 1.45rem; font-weight: 700; }
.contact { border-top: 1px solid var(--rule); text-align: center; padding: 5rem var(--gutter); background: radial-gradient(ellipse at 7% 60%,#d11a6e28,transparent 29%),radial-gradient(ellipse at 93% 57%,#d11a6e22,transparent 29%); }
.contact-brand { margin: 0 auto 2rem; }
.contact > p { margin: 1.25rem auto; font-size: 1.2rem; }
form { width: min(100%,54rem); margin: 2.25rem auto 0; border: 1px solid #ccc9cf; padding: clamp(1rem,2.4vw,2rem); background-color: #ffffffb0; background-image: linear-gradient(#d9d6dc33 1px,transparent 1px),linear-gradient(90deg,#d9d6dc33 1px,transparent 1px); background-size: 40px 40px; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .95rem; }
.fields input,.fields select,.fields textarea { width: 100%; min-height: 3.75rem; padding: 1rem 1.3rem; border: 1px solid #aaa8af; border-radius: 0; color: var(--ink); background: white; }
.fields input::placeholder,.fields textarea::placeholder { color: #35353a; }
.message { grid-column: 1 / -1; }
.fields textarea { min-height: 7rem; resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: .8rem; text-align: left; margin: 1.4rem 0 1.65rem; }
.consent input { accent-color: var(--pink); width: 1.25rem; height: 1.25rem; flex: none; margin: 0; }
form:invalid .button { background: #dedee1; color: #38383c; border-color: #dedee1; }
.form-note,#form-status { font-size: .82rem; margin: .6rem 0 0; }
#form-status:empty { margin: 0; }
.site-footer { background-color: #151413; background-image: linear-gradient(#ffffff09 1px,transparent 1px),linear-gradient(90deg,#ffffff09 1px,transparent 1px); background-size: 64px 64px; color: #f1f0f2; padding: 3.6rem 0 2rem; }
.site-footer .brand { font-size: 1.65rem; color: #c889e0; margin-bottom: 2.5rem; }
.footer-columns { display: grid; grid-template-columns: 1.5fr 1fr 1fr .75fr; gap: 1rem; line-height: 1.65; }
.footer-columns address { font-style: normal; }
.footer-columns h3 { color: #c889e0; margin-bottom: .85rem; }
.footer-columns a,.footer-columns p { display: block; margin: 0 0 .6rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 4rem; font-size: .85rem; }
@media (max-width: 1023px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: .7rem; }
  .menu-toggle { display: block; background: white; border: 1px solid #ccc; padding: .55rem; border-radius: .25rem; }
  nav { display: none; position: absolute; inset: 100% 0 auto; background: white; padding: 1rem var(--gutter); }
  nav.open { display: flex; flex-wrap: wrap; }
  .header-actions .button { min-width: 0; }
  .hero { background-position: 58% center; }
}
@media (max-width: 767px) {
  .site-header { padding-inline: .8rem; }
  .brand { gap: .35rem; letter-spacing: .12em; font-size: .85rem; }
  .mark { width: 2.4rem; }
  .mark i { width: 1.05rem; }
  .header-actions .globe { display: none; }
  .header-actions .button { font-size: .82rem; padding: .4rem .55rem; }
  .hero { min-height: 40rem; background-position: 62% center; }
  .hero-content { padding-inline: var(--gutter); padding-top: 9rem; background: linear-gradient(90deg,#f8f8f8ef,#f8f8f82e); }
  .hero h1 { font-size: clamp(1.8rem,7vw,3rem); }
  .hero-number { display: none; }
  .hero-side-label { display:none; }
  .scroll-note { left:var(--gutter); }
  .hero .actions { margin-top: 2.5rem; gap: .65rem; }
  .hero .actions .button { min-width: 0; }
  .split,.services,.phase-panel,.fields,.cases { grid-template-columns: 1fr; }
  .audiences article { grid-template-columns: 1fr; }
  .phase-panel { padding: 2.5rem 1.2rem 1.2rem; gap: 1.6rem; }
  .proof-top { padding-left: 0; }
  .world { left: auto; right: 0; }
  .metrics div { padding-inline: .5rem; }
  .footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.consent a:hover { text-decoration: underline; }
.loading-screen[hidden] { display: none; }
.is-loading { overflow: hidden; }
.loading-screen { position: fixed; inset: 0; z-index: 6; display: grid; place-items: center; padding: var(--gutter); background: var(--paper); }
.loading-panel { position: relative; display: grid; place-content: center; justify-items: center; gap: 2rem; width: min(100%, 1200px); height: 552px; max-height: calc(100svh - 48px); padding: 3rem 1rem; border: 0; background: url("/loading-background-desktop.svg") center / 100% 100% no-repeat; }
.loading-panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background:
    linear-gradient(#221f1f,#221f1f) left top / 22px 1px,
    linear-gradient(#221f1f,#221f1f) left top / 1px 22px,
    linear-gradient(#221f1f,#221f1f) right top / 22px 1px,
    linear-gradient(#221f1f,#221f1f) right top / 1px 22px,
    linear-gradient(#221f1f,#221f1f) left bottom / 22px 1px,
    linear-gradient(#221f1f,#221f1f) left bottom / 1px 22px,
    linear-gradient(#221f1f,#221f1f) right bottom / 22px 1px,
    linear-gradient(#221f1f,#221f1f) right bottom / 1px 22px;
  background-repeat: no-repeat;
}
.loading-label { position: absolute; inset: 36px 24px auto; display: flex; justify-content: space-between; gap: 8px; }
.loading-panel .brand { font-size: clamp(1.2rem, 3vw, 2.5rem); }
.loading-progress { width: clamp(13rem, 42vw, 32rem); text-align: center; }
.loading-progress output { color: var(--purple); }
.loading-ticks { display: flex; justify-content: space-between; margin-top: 1.3rem; }
.loading-ruler { height: 1.5rem; border-top: 1px solid var(--rule); background: repeating-linear-gradient(90deg,#bdbdc3 0 1px,transparent 1px 9px) 0 0 / 100% 8px no-repeat; }
.loading-ruler span { display: block; width: 0; height: 2px; background: var(--pink); }
.service-hero {
  padding: clamp(3.5rem, 9vw, 8rem) 0;
  color: white;
  background: radial-gradient(ellipse at 81% 36%, transparent 5%, #000 96%), url("/services-hero.webp") center / cover no-repeat, #101010;
}
.service-hero h1,.legal h1 { font-size: clamp(2.65rem, 6vw, 6rem); text-transform: uppercase; line-height: 1.05; margin-bottom: 1rem; }
.service-hero .wrap { padding-inline: max(var(--gutter), 8.3vw); }
.service-hero h1 { font-size: clamp(2.65rem, 8.3vw, 8.5rem); margin-bottom: clamp(1.25rem, 4vw, 3.5rem); }
.service-hero p { max-width: 33rem; }
.service-jumps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; margin-top: 2.5rem; gap: clamp(.6rem, 1.5vw, 1.5rem); position: static; padding: 0; background: transparent; }
.service-jumps a { display: flex; align-items: center; gap: clamp(.45rem, 1.3vw, 1.25rem); min-height: clamp(4.25rem, 8.8vw, 8rem); padding: clamp(.75rem, 1.4vw, 1.35rem); font-weight: 700; text-transform: none; line-height: 1.2; overflow-wrap: anywhere; }
.service-jumps small { color: #f990bc; font: 400 1.1em/1 var(--font-body); flex: 0 0 2ch; white-space: nowrap; }
.service-jumps a:focus-visible { outline-offset: -4px; }
.service-lead { position: relative; max-width: min(36rem, calc(100% - 2 * var(--gutter))); margin: clamp(3rem, 11vw, 10rem) auto; padding: 1rem 1.5rem; font-size: clamp(1.2rem, 2.2vw, 2rem); }
.service-lead::before,.service-lead::after { content: ""; position: absolute; width: .75rem; height: 1rem; border: solid var(--purple); }
.service-lead::before { inset: 0 auto auto 0; border-width: 2px 0 0 2px; }
.service-lead::after { inset: auto 0 0 auto; border-width: 0 2px 2px 0; }
.service-detail {
  border-top: 1px solid var(--rule);
  padding: clamp(2rem, 5vw, 5rem) var(--gutter);
  background: var(--service-photo) right top / var(--service-photo-width) auto no-repeat;
}
#consulting { --service-photo: url("/services-consulting.webp"); --service-photo-width: 85.42%; }
#ai-office { --service-photo: url("/services-ai-office.webp"); --service-photo-width: 80.76%; }
#teams { --service-photo: url("/services-teams.webp"); --service-photo-width: 100%; }
#expansion { --service-photo: url("/services-expansion.webp"); --service-photo-width: 85.42%; }
.service-title { min-height: clamp(15rem, 28vw, 28rem); }
.service-title > span { color: var(--pink); font: 700 clamp(3.5rem, 7.5vw, 8rem)/1 var(--font-body); }
.service-title h2 { font-size: clamp(2rem, 5vw, 5rem); letter-spacing: -.035em; }
/* Japanese service names read as one title; English keeps its authored breaks. */
html[lang="ja"] .service-title h2 { white-space: nowrap; }
html[lang="ja"] .service-title h2 br { display: none; }
html[lang="ja"] #ai-office .service-title h2 > .ja-text-run { margin-inline-start: .18em; }
@media (width < 360px) {
  html[lang="ja"] .service-title h2 { font-size: 1.75rem; }
}
.service-title p { margin: .75rem 0 0; max-width: 32rem; font-size: clamp(1.15rem, 1.8vw, 1.65rem); line-height: 1.35; }
.service-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1rem, 1.7vw, 1.75rem); margin-top: 1.5rem; }
.service-cards-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.service-cards p { margin: .7rem 0 0; }
.legal { max-width: 66rem; min-height: 65vh; padding-block: clamp(3rem, 8vw, 7rem); }
.legal-notice { padding: 1.25rem; border-left: 3px solid var(--pink); background: white; margin-block: 2rem; }
.legal a { color: var(--purple); text-decoration: underline; }
@media (max-width: 767px) {
  .service-detail {
    background-image: linear-gradient(90deg, var(--paper), transparent 85%), var(--service-photo);
    background-size: 100% clamp(15rem, 65vw, 25rem), auto clamp(15rem, 65vw, 25rem);
  }
  .service-jumps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-cards,.service-cards-three { grid-template-columns: 1fr; }
}


[hidden] { display: none !important; }
.loading-screen { transition: opacity 520ms ease-out; }
.loading-screen.is-dismissing { opacity: 0; }
.phase-panel { overflow: clip; }
.phase-number { top: 0; }
.button { transition: background-color 240ms ease-out, color 150ms ease-in-out, border-color 150ms ease-in-out, transform 180ms ease-out; }
.button:hover { transition-duration: 340ms; }
.button:active:not(:disabled) { transform: translateY(2px); }
.button:disabled { background: #dedee1; color: #38383c; border-color: #dedee1; cursor: default; }
.secondary:hover { background: var(--purple); border-color: var(--purple); color: white; }
.fields :is(input,select,textarea) { transition: border-color 160ms cubic-bezier(.2,0,0,1); }
.fields [aria-invalid="true"] { border-color: #a71356; }
.field-error { display: block; text-align: left; color: #a71356; font-size: .85rem; margin-top: .35rem; }
.consent { flex-wrap: wrap; }
.consent .field-error { flex-basis: 100%; }
.is-revealing { animation: enter-section 720ms cubic-bezier(.2,0,0,1) both; }
@keyframes enter-section { from { opacity: .15; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
.service-rail { position: fixed; z-index: 2; left: 1.25vw; top: clamp(6rem, 15vh, 9rem); display: grid; gap: 0; width: 10.4vw; padding: 0 0 1.25rem; border: 1px solid #d1d1d1; border-radius: .65rem; background: white; opacity: 0; transition: opacity 280ms ease-out; }
.service-rail.is-visible { opacity: 1; }
.service-rail::before { content: ""; position: absolute; top: -3rem; bottom: 0; left: calc(var(--rail-axis, 13%) - .5px); border-left: 1px solid #d1d1d1; }
.service-rail a { position: relative; display: grid; align-content: center; gap: .25rem; height: 64px; padding: .35rem .2rem .35rem 29%; font-size: clamp(.67rem, .85vw, 1rem); line-height: 1.15; text-transform: none; }
.service-rail a::before,.service-marker { position: absolute; left: var(--rail-axis, 13%); top: 1.5rem; width: 1rem; height: 1rem; translate: -50% -50%; border-radius: 50%; }
.service-rail a::before { content: ""; border: 1px solid #aaa; }
.service-rail a[aria-current] { font-weight: 700; }
.service-rail a small { font: 400 .68rem/1 var(--font-body); }
.service-rail a[aria-current] small { color: var(--pink); }
.service-marker { z-index: 1; pointer-events: none; background: var(--pink); transition: transform 420ms ease-in-out; }
@media (max-width: 1023px) { .service-rail { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .loading-screen,.button,.fields :is(input,select,textarea),.service-rail,.service-marker { transition: none !important; }
  .is-revealing { animation: none; }
}

#navigation a { position: relative; }
.nav-cipher { display: none; position: absolute; inset: 0; color: var(--pink); font-family: var(--font-body); white-space: nowrap; }
#navigation .is-decoding { color: transparent; }
.is-decoding .nav-cipher { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .is-revealing :is(h1,h2) { animation: reveal-heading var(--heading-duration, 680ms) cubic-bezier(.5,0,.15,1) both; }
  .hero-content { --heading-duration: 1200ms; }
  .service-hero .wrap { --heading-duration: 690ms; }
  @media (min-width: 768px) and (max-width: 1023px) {
    .hero-content { --heading-duration: 900ms; }
  }
}
@keyframes reveal-heading { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
#services.is-revealing .services-cipher { position: relative; animation: none; }

.brand-logo { display: block; width: clamp(7rem, 12vw, 10rem); height: auto; }
.loading-panel .brand-logo,.site-footer .brand-logo { width: clamp(10rem, 19vw, 17rem); }
.loading-panel .brand-logo { width: min(503px,64vw); }
.loading-panel .loading-progress { width: min(720px,80vw); }
@media (768px <= width < 1024px) {
  .loading-panel { width: calc(100vw - 96px); height: 672px; background-image: url("/loading-background-tablet.svg"); }
}
@media (width < 768px) {
  .loading-screen { padding: 24px; }
  .loading-panel { height: 556px; background-image: url("/loading-background-mobile.svg"); }
  .loading-panel .loading-progress { width: min(280px,72vw); }
}
.site-footer .brand-logo { background: #f1f1f3; padding: .5rem .65rem; }

.phase-viewport { position: relative; overflow: clip; }
.phase-outgoing { position: absolute; inset: 0; margin-top: 2.6rem; }
.phase-preview { display: flex; justify-content: flex-end; align-items: baseline; gap: .75rem; margin: 1rem 0 0; }
.phase-preview strong { color: var(--purple); }
@media (min-width: 1024px) {
  .service-detail { padding-inline: 14.45vw var(--gutter); }
}
.capabilities { margin: clamp(1.5rem, 2.6vw, 3rem) 0 0; color: #a71356; }
.service-panel {
  --corner: clamp(1rem, 2.2vw, 2.5rem);
  --outline: polygon(0 0, calc(100% - var(--corner)) 0, 100% var(--corner), 100% 100%, var(--corner) 100%, 0 calc(100% - var(--corner)));
  --panel-fill: #fff;
  --panel-grid: #eee;
  --panel-outline: #d1d1d1;
  position: relative;
  isolation: isolate;
  clip-path: var(--outline);
  padding: clamp(1.25rem, 2.2vw, 2.5rem);
  background: var(--panel-outline);
}
.service-panel::before,.service-panel::after { content: ""; position: absolute; z-index: -1; }
.service-panel::before {
  inset: 1px;
  clip-path: var(--outline);
  background:
    linear-gradient(90deg, var(--purple), var(--purple)) var(--corner) 0 / 4rem 2px no-repeat,
    repeating-linear-gradient(90deg, var(--panel-grid) 0 1px, transparent 1px 24px) center / calc(100% - 2rem) calc(100% - 2rem) no-repeat,
    repeating-linear-gradient(var(--panel-grid) 0 1px, transparent 1px 24px) center / calc(100% - 2rem) calc(100% - 2rem) no-repeat,
    var(--panel-fill);
}
.service-panel::after { right: calc(var(--corner) + 1rem); bottom: calc(var(--corner) + 1rem); width: 4px; height: 4px; background: #e7b6d1; }
.service-jumps .service-panel { --panel-fill: #151415; --panel-grid: #272527; --panel-outline: #555; }
.service-jumps .service-panel::after { content: none; }
.service-jumps .service-panel:is(:hover,:focus-visible) { --panel-fill: #302037; color: white; }
.service-note { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.25rem; padding-block: 1.25rem; }
.service-note p { flex: 1 1 15rem; margin: 0; }
.service-cards article ul { list-style: none; padding: 0; margin-bottom: 0; line-height: 1.6; }
.service-cards .service-card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; color: var(--purple); margin: 0 0 1rem; }
.service-cards .service-card-meta:last-child { margin: auto 0 0; padding-top: 1rem; }
#expansion .service-cards article { display: flex; flex-direction: column; }
.service-ai-process ol,.service-capability-list,.service-principles,.service-team-flow,.service-technology ul { list-style: none; margin: 0; padding-inline-start: 0; }
.service-ai-process ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem, 2.5vw, 2.5rem); margin-inline: auto; max-width: 54rem; text-align: center; }
.service-ai-process li,.service-team-flow li { position: relative; }
.service-ai-process h3 { display: grid; place-items: center; min-height: 3.75rem; width: min(100%, max(8rem, 5.5em)); margin: 0 auto clamp(1rem, 2vw, 2rem); border-top: 2px solid var(--purple); background: var(--ink); color: white; font-size: clamp(1rem, 1.7vw, 1.65rem); font-weight: 400; text-transform: uppercase; }
.service-ai-process li:first-child h3 { font-weight: 700; }
.service-flow-arrows { position: absolute; left: 100%; top: 1.25rem; transform: translateX(-50%); display: flex; gap: .22em; color: var(--purple); font: 700 clamp(.5rem, .8vw, .95rem)/1 var(--font-body); }
.service-flow-arrows > span { opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .service-flow-arrows > span { animation: service-arrow-wave 2s linear infinite both; animation-delay: var(--arrow-delay); }
}
@keyframes service-arrow-wave {
  0%, 20%, 100% { opacity: .18; }
  5%, 15% { opacity: .5; }
  10% { opacity: 1; }
}
.service-ai-process p { margin: 0; font-size: clamp(.85rem, 1.05vw, 1.05rem); line-height: 1.25; }
.service-capability-list { margin-top: 1.5rem; }
.service-capability-list > li > span[aria-hidden="true"] { font-size: clamp(1.4rem, 2vw, 2rem); }
.service-capability-list p { color: #555; font-size: clamp(1rem, 1.35vw, 1.3rem); line-height: 1.45; }
.service-principles { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; margin-top: 1.5rem; padding: 1rem; background: var(--ink); color: #fff; }
.service-principles li + li::before { content: "•"; margin-right: .7rem; color: #e893c5; }
.service-team-models article { padding: 1rem 1.25rem; border: 1px solid #ddd; background: white; }
.service-team-models article + article { margin-top: .65rem; }
.service-team-benefits { align-self: center; }
.service-team-benefits p { margin: .25rem 0 1rem; }
.service-team-benefits h3 { margin-top: 0; }
.service-team-flow { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1rem; margin-top: 1.5rem; padding-inline: clamp(1.25rem, 2.2vw, 2.5rem); text-align: center; }
.service-team-flow li { display: grid; justify-items: center; align-content: start; gap: .85rem; font-weight: 700; }
.service-team-flow li > span:first-child { display: grid; place-items: center; width: 2rem; height: 2rem; background: var(--ink); color: white; font: .8rem var(--font-body); }
.service-team-flow .service-flow-arrows { top: .55rem; left: calc(100% + .5rem); }
.service-technology { margin-top: 1.5rem; padding: 1rem; border: 1px solid #ddd; border-inline-color: var(--purple); text-align: center; }
.technology-tiles img { display: block; width: 128px; height: 72px; }
.service-technology ul { display: flex; justify-content: space-evenly; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: .75rem; }
.service-technology li { display: grid; justify-items: center; align-content: start; gap: .55rem; min-width: 3.25rem; color: #5a5757; font-size: .875rem; }
@media (max-width: 767px) {
  .service-flow-arrows { display: none; }
}
@media (max-width: 767px) {
  .service-ai-process ol { grid-template-columns: 1fr; }
  .service-ai-process h3 { margin-bottom: .75rem; }
  .service-team-flow { grid-template-columns: 1fr; }
}
#inquiry-feedback { max-width: min(30rem, calc(100% - 2rem)); padding: 2rem; border: 1px solid var(--rule); background: white; text-align: center; color: var(--ink); }
#inquiry-feedback::backdrop { background: #16101bc9; }
#inquiry-feedback p { margin: .9rem 0; }
#inquiry-feedback form { border: 0; background: none; margin: 0; padding: 0; }

.hero-line { display: block; width: fit-content; max-width: 100%; }
.hero-line:last-child strong { white-space: nowrap; }
.phase-next-number { color: var(--pink); font: 700 1.35rem var(--font-body); }
.phase-transition-preview { position: absolute; z-index: 1; top: 48%; left: 50%; transform: translate(-50%, -50%); display: grid; justify-items: start; gap: .25rem; padding: .8rem 1rem; background: var(--paper); pointer-events: none; }
.phase-transition-preview .phase-next-number { font-size: 2rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero-content.is-revealing { animation: none; }
  @media (768px <= width < 1024px) {
    .hero-content.is-revealing { animation: hero-actions-in 550ms ease-out both; }
  }
  .hero-content.is-revealing h1 { animation: none; }
  .hero-content.is-revealing .hero-line {
    position: relative;
    animation: reveal-heading var(--hero-beat, 880ms) cubic-bezier(.5,0,.15,1) both;
    animation-delay: calc(var(--hero-step, 550ms) * var(--beat, 0));
  }
  .hero-line:nth-child(2) { --beat: 1; }
  .hero-line:nth-child(3) { --beat: 2; }
  .hero-line:nth-child(4) { --beat: 3; }
  .hero-content.is-revealing .actions { animation: enter-section 620ms ease-out 2.35s both; }
  #who.is-revealing .audiences article { animation: enter-section 750ms ease-out .4s both; }
  #who.is-revealing .audiences article + article { animation-delay: .8s; }
  #services.is-revealing li { animation: enter-section 550ms ease-out .3s both; }
  #services.is-revealing li:nth-child(2) { animation-delay: .45s; }
  #services.is-revealing li:nth-child(3) { animation-delay: .6s; }
  #services.is-revealing li:nth-child(4) { animation-delay: .75s; }
  .proof.is-revealing .world { animation: hero-actions-in 580ms ease-out 60ms both; }
  .proof.is-revealing .metrics b { animation: reveal-heading 520ms linear .28s both; }
  .proof.is-revealing .metrics div + div b { animation-delay: .44s; }
  .service-detail.is-revealing .service-title h2 { animation-duration: 1.2s; }
  .service-detail.is-revealing .service-cards { animation: enter-section 720ms ease-out .48s both; }
  @media (min-width: 768px) and (max-width: 1023px) {
    .hero-content { --hero-beat: 550ms; --hero-step: 250ms; }
    .hero-content.is-revealing .actions { animation-delay: 1.1s; }
  }
}

.language { position: relative; }
.language .globe { cursor: pointer; list-style: none; color: var(--ink); filter: none; }
.language .globe::-webkit-details-marker { display: none; }
.language-options { position: absolute; top: calc(100% + .45rem); right: 0; min-width: 8rem; padding: .35rem; background: white; border: 1px solid var(--rule); border-radius: .35rem; box-shadow: 0 .25rem 1rem #0002; }
.language-options button { width: 100%; padding: .45rem .65rem; text-align: left; border: 0; background: white; color: var(--ink); }
.language-options button:hover,.language-options button[aria-pressed="true"] { background: #f4e6ee; color: var(--purple); }
html[lang="ja"] {
  --font-body: "Zen Kaku Gothic New", "Outfit", "Yu Gothic", Meiryo, sans-serif;
  --font-heading: "Noto Sans JP", "Zen Kaku Gothic New", "Yu Gothic", Meiryo, sans-serif;
}
html[lang="ja"] body { font-family: var(--font-body); }
html[lang="ja"] :is(h1,h2,h3,h4,h5,h6) { font-family: var(--font-heading); }
html[lang="ja"] #hero-title { font-family: var(--font-body); }
@media (max-width: 767px) { .header-actions .language .globe { display: grid; width: 2rem; height: 2.5rem; } }

.loading-ruler span { width: 100%; transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  .is-loading .hero-content { visibility: hidden; }
  .hero-content.is-revealing .hero-line { animation: none; }
  .hero-content.is-revealing .actions { animation: hero-actions-in 550ms ease-out both; }
  @media (min-width: 768px) and (max-width: 1023px) {
  }
}
@media (max-width: 360px) {
  .site-header { gap: .4rem; padding-inline: .55rem; }
  .site-header .brand-logo { width: 5.5rem; }
  .header-actions { gap: .35rem; }
}

@media (max-width: 767px) {
  .hero-line:last-child strong { font-size: min(1.38em, 12vw); }
}

.hero-line { position: relative; }
.hero-cipher-waiting { visibility: hidden; }
@keyframes hero-actions-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion:no-preference) {
  .service-rail.is-visible::before { animation: hero-actions-in 500ms ease-in-out both; }
  .service-rail.is-visible a { animation: rail-item-in 380ms ease-out 80ms both; }
  .service-rail.is-visible a:nth-of-type(2) { animation-delay: 140ms; }
  .service-rail.is-visible a:nth-of-type(3) { animation-delay: 200ms; }
  .service-rail.is-visible a:nth-of-type(4) { animation-delay: 260ms; }
}
@keyframes rail-item-in {
  from { opacity: 0; translate: 0 5px; }
  to { opacity: 1; translate: 0 0; }
}
/* The scroll label and mouse enter together without changing position. */
@media (prefers-reduced-motion: no-preference) {
  .is-loading .scroll-note { visibility: hidden; }
  .hero-content.is-revealing ~ .scroll-note {
    animation: scroll-cue-in 550ms ease-out 1s both;
  }
  .hero-content.is-revealing ~ .scroll-note .scroll-mouse::after {
    animation: mouse-wheel-scroll 2s ease-in-out 1.55s infinite both;
  }
}
@keyframes scroll-cue-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes mouse-wheel-scroll {
  0%, 10% { transform:translateY(0); opacity:1; }
  60%, 85% { transform:translateY(6px); opacity:0; }
  86% { transform:translateY(0); opacity:0; }
  100% { transform:translateY(0); opacity:1; }
}
.hero-cipher-slot { position: relative; }
.hero-cipher-final { color: transparent; }
.hero-cipher-slot.is-resolved .hero-cipher-final { color: inherit; }
.hero-cipher-noise {
  position: absolute;
  inset: 0;
  display: block;
  overflow: clip;
  text-align: center;
  font-family: inherit;
  white-space: nowrap;
  opacity: .92;
}
.hero-cipher-slot.is-resolved .hero-cipher-noise { visibility: hidden; }
.hero-cipher-cursor {
  position: absolute;
  z-index: 1;
  width: 3px;
  background: var(--pink);
  box-shadow: -10px 0 18px 5px #d11a6e50;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-cipher-final { color: inherit; }
  .hero-cipher-noise,.hero-cipher-cursor { display: none; }
}

#navigation a[aria-current] { color: var(--purple); }
#navigation a[aria-current].is-decoding { color: transparent; }
@media (prefers-reduced-motion: no-preference) {
  .secondary,.secondary:hover { transition-duration: 150ms; }
  .secondary:active { transition-duration: 180ms; }
  .process.is-revealing .phase-panel { animation: enter-section 800ms ease-out .3s both; }
  .process.is-revealing #approach-title { width: fit-content; animation: none; }
  .proof.is-revealing { animation-duration: 220ms; }
  .contact.is-revealing { animation-duration: 500ms; animation-delay: 160ms; }
  .service-hero .wrap.is-revealing { animation-duration: 1060ms; }
  .service-hero .wrap.is-revealing h1 { animation-duration: 530ms; animation-delay: 160ms; }
  .service-lead.is-revealing { animation-duration: 2200ms; }
  .service-detail.is-revealing .service-title { animation: enter-section 600ms ease-out both; }
  .service-detail.is-revealing .service-cards { animation-duration: 720ms; }
  @media (max-width: 1023px) {
    #navigation.open { animation: none; }
    .contact.is-revealing { animation-duration: 600ms; animation-delay: 0ms; }
    .service-lead.is-revealing { animation-duration: 2176ms; }
  }
  @media (max-width: 767px) {
    .service-hero .wrap.is-revealing { animation-delay: 300ms; }
    .service-hero .wrap.is-revealing h1 { animation-delay: 460ms; }
    .service-detail.is-revealing .service-title h2 { animation-duration: 1040ms; animation-delay: 200ms; }
    .service-lead.is-revealing { animation-duration: 1880ms; }
    .service-detail.is-revealing .service-cards { animation-duration: 1070ms; }
    #ai-office.is-revealing .service-cards { animation-duration: 1160ms; }
  }
}
@keyframes mobile-menu-enter { from { opacity: 0; } to { opacity: 1; } }

/* AI Office reveal tracks from the desktop, tablet and mobile playback frames. */
@media (prefers-reduced-motion: no-preference) {
  #ai-office.is-revealing,
  #ai-office.is-revealing .service-title { animation: none; }
  #ai-office.is-revealing .service-title p { animation: ai-office-subheading 2s linear both; }
  #ai-office.is-revealing .service-ai-process { animation: ai-office-overview 2s linear both; }
}
@keyframes ai-office-subheading {
  0% { opacity: .02; }
  10% { opacity: .359; }
  20% { opacity: .853; }
  30%, 100% { opacity: 1; }
}
@keyframes ai-office-overview {
  0% { opacity: 0; }
  10% { opacity: .096; }
  20% { opacity: .557; }
  30% { opacity: .964; }
  40%, 100% { opacity: 1; }
}
@media (768px <= width < 1024px) and (prefers-reduced-motion: no-preference) {
  #ai-office.is-revealing :is(.service-title p,.service-ai-process) {
    animation-timing-function: step-end;
  }
}
@media (width < 768px) and (prefers-reduced-motion: no-preference) {
  #ai-office.is-revealing .service-title p { animation-name: ai-office-mobile-subheading; }
  #ai-office.is-revealing .service-ai-process { animation-name: ai-office-mobile-overview; }
}
@keyframes ai-office-mobile-subheading {
  0%, 3% { opacity: 0; translate: 0 12px; animation-timing-function: ease-in-out; }
  33%, 100% { opacity: 1; translate: 0 0; }
}
@keyframes ai-office-mobile-overview {
  0%, 9% { opacity: 0; translate: 0 12px; animation-timing-function: ease-in-out; }
  39%, 100% { opacity: 1; translate: 0 0; }
}

.call-cta::after {
  content: "↗" / "";
  display: inline-block;
  margin-inline-start: .45em;
}
@media (prefers-reduced-motion: no-preference) {
  .call-cta::after { transition: transform 240ms ease-out; }
  .call-cta:is(:hover,:focus-visible):not(:disabled)::after {
    transform: translate(3px, -3px);
    transition-duration: 340ms;
  }
}

.who-heading-line { display: block; position: relative; width: fit-content; }
.services li { padding: 0; }
.services li::before { pointer-events: none; }
.service-row { display: block; position: relative; padding: 1.7rem 4rem 1.7rem 5rem; }
.service-row-arrow {
  position: absolute;
  inset-inline-end: .85rem;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 2rem;
  aspect-ratio: 1;
  border: 1px solid var(--rule);
  border-radius: 50%;
}
.service-row:is(:hover,:focus-visible) .service-row-arrow { background: var(--pink); border-color: var(--pink); color: white; }
@media (max-width: 480px) {
  .service-row { padding-inline: 3.25rem 3rem; }
  .services li::before { left: .8rem; }
  .service-row-arrow { inset-inline-end: .4rem; }
}
@media (prefers-reduced-motion: no-preference) {
  #who.is-revealing #who-title { animation: none; }
  #who.is-revealing .who-heading-line {
    animation: reveal-heading 620ms cubic-bezier(.5,0,.15,1) both;
  }
  #who.is-revealing .who-heading-line + .who-heading-line { animation-delay: .2s; }
  #who.is-revealing .intro > p { animation: enter-section 480ms ease-out .6s both; }
  @media (768px <= width < 1024px) {
    #who.is-revealing .intro > p { animation-duration: 250ms; }
  }
  #who.is-revealing .intro > .call-cta { animation: enter-section 280ms ease-out .8s both; }
  .service-row-arrow { transition: background-color 150ms ease-out, color 150ms ease-out; }
  .call-cta:is(:hover,:focus-visible):not(:disabled)::after {
    animation: call-arrow-travel 340ms ease-out both;
    transform: none;
  }
}
@keyframes call-arrow-travel {
  0% { transform: translate(0,0); opacity: 1; }
  45% { transform: translate(5px,-5px); opacity: 0; }
  46% { transform: translate(-4px,4px); opacity: 0; }
  100% { transform: translate(0,0); opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  #who.is-revealing .who-heading-line::after {
    content: "";
    position: absolute;
    inset-block: .08em;
    width: 2px;
    background: var(--pink);
    animation: who-cursor 620ms cubic-bezier(.5,0,.15,1) both;
  }
  #who.is-revealing .who-heading-line + .who-heading-line::after { animation-delay: .2s; }
}
@keyframes who-cursor {
  from { left: 0; opacity: 1; }
  85% { opacity: 1; }
  to { left: calc(100% - 2px); opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .call-cta.call-arrow-returning::after { animation: call-arrow-return 240ms ease-out both; }
}
@keyframes call-arrow-return {
  0% { transform: translate(0,0); opacity: 1; }
  45% { transform: translate(-4px,4px); opacity: 0; }
  46% { transform: translate(5px,-5px); opacity: 0; }
  100% { transform: translate(0,0); opacity: 1; }
}

.language-options button[aria-pressed="true"] { background: white; color: #a71356; }
.language-options button[aria-pressed="true"]::after { content: "✓" / ""; float: inline-end; }
.language-options button:is(:hover,:focus-visible) { background: #f8d9e8; color: #a71356; }
.language[open] .globe { color: var(--pink); }
.secondary:is(:hover,:focus-visible) { background: white; border-color: var(--purple); color: var(--purple); }
.secondary:active { background: var(--ink); border-color: var(--ink); color: white; }
.service-row h3 { position: relative; }
.service-row .service-cipher { position: absolute; inset: 0; overflow: hidden; font-family: inherit; color: var(--ink); pointer-events: none; }
.service-row h3.is-decoding { color: transparent; }

.legal section { margin-block:2.5rem; }
.legal h1 { font-size:clamp(2rem,4vw,3.5rem); margin-bottom:1.5rem; }
.legal h2 { font-size:1.25rem; text-transform:none; line-height:1.6; margin-bottom:.75rem; }
.legal h2 > span:not(.ja-text-run) { color:var(--purple); font-size:.85em; margin-right:1rem; }
.legal-copy { white-space:pre-line; overflow-wrap:anywhere; }
.partner-viewport { overflow:hidden; margin-block:2rem; }
.partner-strip { display:block; width:4376px; max-width:none; height:72px; }
.contact { position:relative; isolation:isolate; background:var(--paper); }
.contact-particles { position:absolute; inset:0; width:100%;height:100%;z-index:-1;pointer-events:none; }
.contact #inquiry-form { background-color:transparent; }
.motion-toggle { margin-top:1.5rem;border:1px solid var(--rule);background:var(--paper);padding:.6rem 1rem;color:var(--ink);font-size:.75rem; }
.motion-paused .partner-strip { animation-play-state:paused; }
@media (prefers-reduced-motion:no-preference) {
 .partner-strip {animation:partners-travel 36s linear infinite;}
 .partner-viewport:hover .partner-strip {animation-play-state:paused;}
}
@keyframes partners-travel {to {transform:translateX(-50%);}}
@media (prefers-reduced-motion:reduce) {.partner-viewport {overflow-x:auto;} }
html[lang="ja"] .header-actions { flex-shrink:0; }
html[lang="ja"] #navigation { gap:clamp(.5rem,1.5vw,1.8rem); }
@media (width >= 768px) {
  html[lang="ja"] #navigation a { font-size:clamp(.75rem,1.2vw,1rem); }
}

/* Feedback pass: consistent free webfont and unboxed footer artwork. */
.service-title > span { font-family: inherit; }
.site-footer .brand-logo { background: transparent; padding: 0; }
.service-lead { text-align:center; }
@media (min-width: 1024px) {
  #who .intro > .eyebrow { display: none; }
}
.service-hero p { font-size:clamp(.85rem,1.1vw,1rem); }
.service-title p { max-width:23rem; font-size:clamp(1rem,1.25vw,1.125rem); line-height:1.45; }
@media (min-width:1024px) { .service-detail { padding-top:9.03vw; } .service-detail#teams { padding-top:15.97vw; } }
.process-scroll-track { position:relative; }
.process-scroll-track > .process { position:sticky; top:6rem; padding-block:1.5rem 2rem; }
.process-scroll-track .phase-panel { min-height:0; height:clamp(20rem,48vh,34rem); }
.process-scroll-track .phase-display-number { bottom:2.5rem; }
.process-scroll-track .phase-panel h3 { font-size:clamp(1.6rem,3vw,3rem); }
.process-scroll-track .phase-panel p { font-size:clamp(.85rem,1.2vw,1.1rem); }
@media (768px <= width < 1024px) {
  .process-scroll-track > .process { display: grid; padding-inline: 10.4%; }
  .process .phase-viewport, .process .phase-display-number { grid-area: 2 / 1; }
  .process-scroll-track .phase-panel {
    grid-template-columns: 1fr; height: auto; gap: 1rem; padding: 2rem 2rem 6rem;
  }
  .process .phase-art { max-width: 16rem; }
  .process-scroll-track .phase-display-number {
    display: block; place-self: end center; position: relative; bottom: auto;
    transform: translateY(26%); font-size: 8rem; font-weight: 700; line-height: .8;
    color: #d11a6e40; pointer-events: none;
  }
  .process #phase-preview { margin-top: 2.5rem; }
  .process .ruler { grid-column: 1; }
}
.site-header { transition:background-color .3s,box-shadow .3s; }
@media (1024px <= width < 1440px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 1rem; }
  .site-header #navigation { justify-self: center; gap: 1rem; }
  .header-actions .call-cta { min-width: 0; white-space: nowrap; }
}
.site-header:has(a:hover) { box-shadow:0 1px 0 #6e2c9030; }
@media (width < 768px) {
 .process-scroll-track .phase-panel { height:auto; min-height:28rem; padding:1.5rem; }
 .process-scroll-track .phase-art { height:11rem; }
 .process-scroll-track > .process { top:4rem; }
 .process-scroll-track .phase-panel p { line-height:1.5; }
}
@media (prefers-reduced-motion:reduce) { .process-scroll-track > .process {position:relative;top:auto;} }
@media (height < 750px) and (width < 768px) {
 .process-scroll-track > .process { padding-block:.5rem 1rem; }
 .process-scroll-track .phase-panel { min-height:0; padding:1rem; margin-top:1rem; gap:.5rem; }
 .process-scroll-track .phase-art { height:5rem; }
 .process-scroll-track .phase-panel h3 {font-size:1.4rem;}
 .process-scroll-track .phase-panel p {font-size:.8rem;line-height:1.4;}
 .process-scroll-track h2 { font-size:1.8rem; }
 .process-scroll-track .ruler { margin-top:1rem; }
}
@media (width < 768px) {
  .service-hero { padding-block: 52px 40px; }
  .service-hero .wrap { display: grid; gap: 24px; padding-inline: 24px; }
  .service-hero :is(h1,p), .service-jumps { margin: 0; }
  .service-jumps { grid-template-columns: 1fr; gap: 8px; }
  .service-jumps a { min-height: 108px; gap: 10px; padding: 20px; }
  .service-detail { padding: 56px 24px 32px; background-size: 100% auto, 100% auto; }
  .service-detail {
    --mobile-photo-height: clamp(340px, 100vw, 480px);
    background-image: linear-gradient(90deg,#f1f1f3e6,#f1f1f360 55%,transparent),var(--service-photo);
    background-size: 100% var(--mobile-photo-height),auto var(--mobile-photo-height);
    background-position: left top,right top;
  }
  .process-scroll-track > .process { padding: 32px 24px 24px; }
  .process-scroll-track .phase-panel {
    min-height: 0; padding: 32px 24px 72px; gap: 16px; align-content: start;
  }
  .process-scroll-track .phase-art { width: min(100%,276px); height: auto; aspect-ratio: 276 / 192; }
  .process-scroll-track .phase-art + div { border-top: 1px solid var(--rule); padding-top: 16px; }
  .process-scroll-track .phase-panel p { font-size: 1rem; line-height: 1.5; }
  .process-scroll-track .phase-display-number {
    display: block; position: relative; height: 0; bottom: auto; transform: translateY(-100%);
    font-family: inherit; font-size: 4rem; font-weight: 700;
    line-height: 1; color: #d11a6e55; pointer-events: none;
  }
  .process-scroll-track #phase-preview { float: right; margin: 0; align-items: center; min-height: 64px; }
  .process-scroll-track .ruler { clear: both; margin-top: 64px; }
  .site-header { grid-template-columns: 1fr auto; min-height: 72px; padding: 12px 20px; }
  .site-header .brand-logo { width: 128px; }
  .menu-toggle {
    width: 48px; height: 48px; font-size: 0; color: var(--ink);
    background: linear-gradient(currentColor,currentColor) center calc(50% - 5px)/18px 1.5px no-repeat,
                linear-gradient(currentColor,currentColor) center/18px 1.5px no-repeat,
                linear-gradient(currentColor,currentColor) center calc(50% + 5px)/18px 1.5px no-repeat, var(--paper);
  }
  .site-header .header-actions { display: none; }
  .site-header:has(#navigation.open) .header-actions { display: flex; width: 100%; grid-column: 1/-1; }
  .site-header #navigation.open { position: static; grid-column: 1/-1; padding: 12px 0; }
  .hero {
    min-height: max(520px,calc(100svh - 72px));
    background: linear-gradient(to top,var(--paper),transparent 24%), url("/hero-mobile.webp") center bottom / cover no-repeat;
  }
  .hero .hero-content {
    align-self: stretch; display: flex; flex-direction: column; justify-content: space-between;
    padding: max(88px, min(18.5svh, 176px)) 24px max(76px,min(13.5svh,130px)); background: none;
  }
  .hero h1 { font-size: clamp(25px,8.2vw,40px); line-height: 1; }
  .hero .actions { flex-direction: column; gap: 14px; margin-top: 32px; }
  .hero .actions .button { width: min(216px,100%); }
  .hero-number { display: flex; gap: 8px; align-items: baseline; left: 24px; top: 5%; font-size: .75rem; }
  .hero-number small { font-size: inherit; }
  .hero-number::after, .scroll-note .scroll-mouse { display: none; }
  .scroll-note { left: 24px; bottom: 20px; font-size: .7rem; gap: 8px; }
  .scroll-note::after { content: "↓" / ""; color: var(--pink); font-size: 1.2rem; }
}
.mobile-phases { display: none; }
.motion-heading { position: relative; }
.phase-panel h3 { position: relative; }
.motion-heading .hero-cipher-noise,.phase-panel h3 .hero-cipher-noise { color: var(--purple); }
.service-title h2 .hero-cipher-noise { color: var(--ink); }
.service-row .service-cipher { color: var(--purple); }
.contact #inquiry-form {
  width: min(100%,800px); padding: 0; border: 0; background: transparent;
}
.contact #inquiry-form .fields { gap: 16px; }
.contact #inquiry-form .consent { font-size: .75rem; line-height: 1.5; margin-block: 28px; }
.contact #inquiry-form .consent input { width: 16px; height: 16px; }
.contact #inquiry-form .fields :is(input,select,textarea) {
  border-color: #d1cdd5; padding-inline: 20px;
}
.contact #inquiry-form .fields :is(input,select,textarea):focus {
  outline: 1px solid var(--pink); outline-offset: 0; border-color: var(--pink);
}
.is-revealing .motion-heading,
#who.is-revealing .motion-heading .who-heading-line,
.service-detail.is-revealing .service-title h2.motion-heading { animation: none; }
#who.is-revealing .motion-heading .who-heading-line::after { content: none; }
@media (width < 768px) {
  body.mobile-menu-open { overflow: hidden; }
  .site-header:has(#navigation.open) { background: white; }
  .site-header #navigation.open {
    grid-column: auto; width: 100%; justify-self: stretch;
    position: absolute; inset: 72px 0 auto; height: calc(100dvh - 72px);
    display: flex; flex-direction: column; align-items: stretch; flex-wrap: nowrap;
    padding: 64px 24px 128px; gap: 0; background: white; overflow-y: auto;
    text-transform: none; counter-reset: menu-item;
  }
  #navigation.open::before {
    content: "/ SITE INDEX"; display: block; margin-bottom: 32px; padding-left: 16px;
    border-left: 1px solid var(--pink); color: var(--purple); font: .7rem/24px var(--font-body);
  }
  #navigation.open a {
    display: grid; grid-template-columns: 16px 1fr 20px; gap: 10px; align-items: center;
    min-height: 94px; flex: 0 0 auto; padding: 16px 20px 16px 32px;
    border-left: 1px solid #eee; font-size: 28px; font-weight: 600;
    counter-increment: menu-item;
  }
  #navigation.open a::before { content: "0" counter(menu-item); color: var(--purple); font: .65rem var(--font-body); }
  #navigation.open a::after { content: "➜" / ""; color: var(--pink); font-size: 22px; }
  #navigation.open a:is(:hover,:focus-visible,:active) { background: #fcecf3; color: var(--ink); }
  .site-header:has(#navigation.open) .header-actions {
    grid-column: auto; justify-self: stretch;
    position: absolute; inset: calc(100dvh - 80px) 24px auto; width: auto; height: 56px;
    background: white; z-index: 1;
  }
  .site-header:has(#navigation.open) .header-actions > .call-cta { display: none; }
  .site-header:has(#navigation.open) .language { display: flex; width: 100%; align-items: center; justify-content: space-between; }
  .site-header:has(#navigation.open) .language .globe { width: auto; gap: 8px; display: flex; color: var(--pink); filter: none; pointer-events: none; }
  .site-header:has(#navigation.open) .globe::after { content: "LANGUAGE"; color: var(--ink); font: .6rem var(--font-body); }
  .site-header:has(#navigation.open) .language-options {
    position: static; display: flex; min-width: 0; padding: 0; box-shadow: none; border-radius: 3px; overflow: hidden;
  }
  .site-header:has(#navigation.open) .language-options button { width: auto; padding: 12px 16px; font-size: .75rem; }
  .site-header:has(#navigation.open) .language-options button[aria-pressed="true"] { background: #fcecf3; color: var(--pink); }
  .site-header:has(#navigation.open) .language-options button::after { content: none; }
  .menu-toggle[aria-expanded="true"] {
    background: linear-gradient(45deg,transparent calc(50% - .75px),currentColor calc(50% - .75px),currentColor calc(50% + .75px),transparent calc(50% + .75px)) center/18px 18px no-repeat,
                linear-gradient(-45deg,transparent calc(50% - .75px),currentColor calc(50% - .75px),currentColor calc(50% + .75px),transparent calc(50% + .75px)) center/18px 18px no-repeat,var(--paper);
  }
}
@media (width < 768px) and (height < 600px) {
  .site-header #navigation.open { padding-top: 16px; }
  #navigation.open::before { margin-bottom: 8px; }
  #navigation.open a { min-height: 56px; font-size: 22px; }
}
@media (width < 768px), (height < 600px) {
  .process-scroll-track > .process { position: relative; }
  .process > :is(.phase-viewport,.phase-display-number,#phase-preview,.ruler) { display: none; }
  .process .mobile-phases { display: grid; gap: 60px; margin-bottom: 64px; }
  #work { padding-top: 56px; }
  .mobile-phases .phase-panel { overflow: visible; }
  .mobile-phase-count {
    position: absolute; bottom: 0; left: 50%; transform: translate(-50%,26%);
    color: #d11a6e55; font-size: 5rem; line-height: 1; pointer-events: none;
  }
}
@media (width < 768px) and (prefers-reduced-motion:no-preference) {
  .process.is-revealing .mobile-phases .phase-panel { animation: none; }
  .mobile-phases .phase-in-view :is(.phase-art,h3,p) { animation: hero-actions-in 680ms ease-out both; }
}

/* Japanese keeps short words together without hard-coding line breaks. */
html[lang="ja"] body { line-break: strict; word-break: normal; }
html[lang="ja"] .ja-word { white-space: nowrap; }
html[lang="ja"] :is(.button, .language-options button, .scroll-note) { white-space: nowrap; }
html[lang="ja"] :is(h2,h3,h4) { text-wrap: balance; }
html[lang="ja"] .service-jumps a { overflow-wrap: normal; }

html[lang="ja"] .ruler button { white-space: nowrap; }
html[lang="ja"] :is(.service-title p, .phase-panel p) { text-wrap: pretty; }

/* Case labels use separate service and client rows in both languages. */
.cases .eyebrow > .case-service,
.cases .eyebrow > .case-client { display: block; }
.cases .eyebrow > .case-service { margin-bottom: .2em; }
html[lang="ja"] .metric-industries { white-space: nowrap; }
html[lang="ja"] .metric-industries > br { display: none; }

@media (768px <= width < 1024px) {
  .cases article { padding-inline: 1rem; }
}

@media (768px <= width < 1024px) {
  .service-jumps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Short landscape screens need readable scrolling cards rather than a tall pinned panel. */
@media (width >= 768px) and (height < 600px) {
  .process-scroll-track > .process { display: block; top: auto; }
  .process .mobile-phases .phase-panel {
    height: auto; min-height: 0; padding: 2rem; gap: 1.5rem;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  }
  .process .mobile-phases .phase-art { height: 12rem; max-width: 16rem; }
}
