/* Native scroll scenes after the opening. The unenhanced page stays complete. */
:root { --motion-ease: cubic-bezier(.22, 1, .36, 1); --header-height: 88px; }
html { scroll-padding-top: calc(var(--header-height) + 24px); }
.site-header { position: sticky; z-index: 50; top: 0; transition: box-shadow 300ms ease, background-color 300ms ease; }
.site-header.is-scrolled { background: #000000; box-shadow: 0 4px 30px #1111110A; }
.scroll-progress { position: absolute; inset: auto 0 -1px; height: 2px; overflow: hidden; }
.scroll-progress span { display: block; height: 100%; background: #FFFFFF; transform: scaleX(0); transform-origin: left; }
.motion-toggle { position: fixed; z-index: 60; right: 22px; bottom: max(18px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 9px 15px; border: 1px solid #FFFFFF66; border-radius: 30px; background: var(--ink); color: var(--white); box-shadow: 0 3px 18px #1111111A; font-size: 14px; cursor: pointer; }
.motion-toggle::before { content: 'Ⅱ'; font-size: 16px; line-height: 1; }
.motion-toggle[aria-pressed='true']::before { content: '▷'; }
.motion-toggle:hover { background: var(--action-hover); }
.motion-toggle:disabled { cursor: default; }

/* The entrance translation and scroll transforms occupy separate properties. */
.motion-ready:not(.motion-paused) [data-reveal] { transition: opacity 850ms var(--motion-ease), translate 1100ms var(--motion-ease); transition-delay: var(--reveal-delay, 0ms); }
.motion-ready:not(.motion-paused) [data-reveal]:not(.is-revealed) { opacity: 0; translate: 0 54px; }
.motion-ready:not(.motion-paused) .program-card[data-reveal]:not(.is-revealed) { translate: 0 86px; }
.motion-ready:not(.motion-paused) .voice-image[data-reveal]:not(.is-revealed) { translate: 48px 36px; }
.motion-heading-line { display: block; padding-bottom: .12em; margin-bottom: -.12em; }
.motion-heading-text { display: block; }
.motion-ready:not(.motion-paused) .motion-heading-line { overflow: clip; }
.motion-ready:not(.motion-paused) .motion-heading-text { transform: translate3d(0, calc((1 - var(--line-progress, 1)) * 110%), 0); }
.motion-ready:not(.motion-paused) .intro-quote [data-word] { color: #AAAAAA; transition: color 140ms linear; }
.motion-ready:not(.motion-paused) .intro-quote [data-word].is-lit { color: var(--ink); }

.intro { position: relative; z-index: 2; padding-block: 140px 130px; border-radius: 36px 36px 0 0; }
.intro-grid { grid-template-columns: .85fr 1.15fr; gap: 85px; }
.intro h2, .section-top h2, .voice h2 { font-size: clamp(48px, 5.9vw, 82px); line-height: 1.02; letter-spacing: -.055em; }
.intro-copy .lead { font-size: clamp(27px, 2.8vw, 38px); line-height: 1.35; letter-spacing: -.025em; }
.intro-copy > p:not(.lead) { max-width: 580px; }
.eyebrow, .product-kind { font-size: 13px; }

/* The oversized ribbon is scrubbed by normal vertical scrolling. */
.identity-strip { padding-block: 34px 40px; border: 0; overflow: hidden; background: var(--accent); color: #FFFFFF; }
.identity-strip p { max-width: none; color: #FFFFFF; font-size: 15px; }
.identity-ribbon { margin: 22px 40px 0; }
.identity-roles { display: flex; flex-wrap: wrap; gap: 0 36px; color: #FFFFFF; font-size: clamp(50px, 8.6vw, 128px); font-weight: 500; letter-spacing: -.055em; line-height: 1.1; }
.identity-roles span { white-space: nowrap; }
.identity-roles span + span::before { content: '✳'; margin-right: 36px; color: #FFFFFF80; font-size: .55em; vertical-align: .12em; }
.identity-roles[aria-hidden] { display: none; }
.motion-ready:not(.motion-paused) .identity-ribbon { display: flex; gap: 40px; width: max-content; margin-inline: 0; transform: translate3d(var(--ribbon-shift, 0px), 0, 0); }
.motion-ready:not(.motion-paused) .identity-roles { flex-wrap: nowrap; gap: 40px; }
.motion-ready:not(.motion-paused) .identity-roles[aria-hidden] { display: flex; }

.work, .programs { padding-top: 120px; }
.section-top { align-items: end; margin-bottom: 50px; }
.section-top > p { padding-bottom: 3px; }
.app-feature { position: relative; overflow: clip; padding: 70px; border-radius: 32px; background: #F5F5F5; }
.app-story { position: relative; z-index: 1; }
.app-story h3 { font-size: clamp(35px, 3.4vw, 47px); letter-spacing: -.04em; }
.app-visual { position: relative; padding-block: 24px; }
.app-visual::before, .app-visual::after { position: absolute; content: ''; z-index: 0; pointer-events: none; border-radius: 50%; }
.app-visual::before { width: 350px; aspect-ratio: 1; top: 8%; left: 50%; transform: translateX(-50%) scale(var(--app-orbit-scale, 1)); background: radial-gradient(circle at 45% 35%, #E6E6E6, #EDEDED 62%, #EDEDED00 70%); }
.app-visual::after { width: 380px; height: 380px; top: 3%; left: 50%; border: 1px solid #11111135; transform: translateX(-50%) scale(var(--app-orbit-scale, 1)); }
.phone-frame { position: relative; z-index: 2; transform: rotate(-3deg); box-shadow: 0 30px 55px #1111111A; }
.app-mascot { position: relative; z-index: 3; transform: rotate(5deg); }
.app-note { position: relative; z-index: 4; }
.motion-ready:not(.motion-paused) .phone-frame { transform: translate3d(0, var(--phone-y, 0px), 0) rotate(var(--phone-rotate, -3deg)); }
.motion-ready:not(.motion-paused) .app-mascot { transform: translate3d(0, var(--mascot-y, 0px), 0) rotate(var(--mascot-rotate, 5deg)); }
.feature-list li { text-wrap: pretty; }

.program-grid { gap: 22px; }
.program-card { overflow: hidden; transition: box-shadow 400ms ease; }
.motion-ready:not(.motion-paused) .program-card { transform: translate3d(0, var(--card-y, 0px), 0); }
.program-card > figure { overflow: hidden; }
.program-card > figure > img { transition: scale 650ms var(--motion-ease); }
.motion-ready:not(.motion-paused) .program-card > figure > img { transform: translateY(var(--card-image-shift, 0px)) scale(1.045); }
.program-card:hover, .program-card:focus-within { box-shadow: 0 20px 48px #11111112; }
.program-card:hover > figure > img, .program-card:focus-within > figure > img { scale: 1.035; }
.program-tag { font-size: 12px; text-align: left; letter-spacing: .3px; }
.program-body { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; }
.program-number { display: none; }
.program-body h3 { font-size: 31px; }
.program-link { font-size: 16px; }
.program-link > [aria-hidden], .back-top > [aria-hidden] { display: none; }
.button { transition: background-color 240ms ease, color 240ms ease, box-shadow 300ms ease; }
.button:hover { box-shadow: 0 6px 20px #11111118; }
.text-link, .program-link { background-image: linear-gradient(var(--accent-ink), var(--accent-ink)); background-size: 0 1px; background-position: left bottom; background-repeat: no-repeat; transition: background-size 350ms ease, color 250ms ease; }
.text-link:hover, .program-link:hover, .text-link:focus-visible, .program-link:focus-visible { background-size: 100% 1px; }

.voice { overflow: clip; padding-block: 160px 145px; }
.voice-grid { grid-template-columns: 1fr 1.1fr; gap: 75px; }
.voice-image { position: relative; transform: rotate(2deg); }
.motion-ready:not(.motion-paused) .voice-image { transform: translate3d(0, var(--voice-y, 0px), 0) rotate(var(--voice-rotate, 2deg)); }
.voice-image > img { aspect-ratio: 1 / 1; border-radius: 100px 26px 100px 26px; object-position: 43% center; }
.motion-ready:not(.motion-paused) .voice-image > img { transform: translateY(var(--voice-image-y, 0px)); }
.voice-image figcaption { padding: 14px 15px 0; }
.voice-stats span { font-size: 14px; }
.connect { position: relative; overflow: hidden; padding-block: 125px; }
.connect::before { position: absolute; content: ''; width: 670px; height: 670px; right: -190px; top: -280px; border: 1px solid #FFFFFF38; border-radius: 50%; pointer-events: none; transform: translateY(var(--connect-orbit-y, 0px)); }
.connect::after { position: absolute; content: ''; left: 0; right: 0; top: 0; height: 3px; background: #BBBBBB; transform-origin: left; transform: scaleX(var(--connect-line, 1)); pointer-events: none; }
.connect h2 { font-size: clamp(48px, 5.9vw, 82px); line-height: 1.03; letter-spacing: -.05em; }
.connect-inner { position: relative; }
footer { padding-block: 36px 78px; }
.footer-inner p, .back-top { font-size: 14px; }

@media (max-width: 1100px) {
  .intro-grid { gap: 45px; }
  .app-feature { padding: 45px; }
  .program-body h3 { font-size: 27px; }
  .voice-grid { gap: 45px; }
}
@media (max-width: 860px) and (min-width: 701px) {
  .program-grid { grid-template-columns: 1fr; }
  .program-card { display: grid; grid-template-columns: .85fr 1.15fr; }
  .program-card > figure { height: 100%; }
  .program-card > figure > img { height: 100%; border-radius: 0; object-fit: cover; }
}
@media (max-width: 700px) {
  :root { --header-height: 72px; }
  .site-header .wordmark { font-size: 20px; }
  .motion-toggle { top: 15px; right: 64px; bottom: auto; justify-content: center; width: 42px; height: 42px; padding: 9px; gap: 0; border: 1px solid var(--line); background: var(--white); color: var(--ink); box-shadow: none; font-size: 0; }
  .motion-toggle::before { font-size: 20px; }
  .motion-toggle:hover, .motion-toggle:disabled { background: var(--line); color: var(--ink); }
  .intro { border-radius: 24px 24px 0 0; padding-block: 80px 74px; }
  .intro-grid { grid-template-columns: 1fr; gap: 38px; }
  .intro h2, .section-top h2, .voice h2 { font-size: clamp(39px, 11vw, 62px); letter-spacing: -.05em; }
  .intro-copy .lead { font-size: 28px; line-height: 1.38; }
  .eyebrow, .product-kind { font-size: 12px; }
  .identity-strip { padding-block: 30px 32px; color: #FFFFFF; }
  .identity-strip p { font-size: 14px; color: #FFFFFF; }
  .identity-ribbon { margin: 20px 20px 0; }
  .identity-roles { gap: 0 20px; font-size: clamp(45px, 13vw, 72px); color: #FFFFFF; }
  .identity-roles span + span::before { margin-right: 20px; color: #FFFFFF80; }
  .motion-ready:not(.motion-paused) .identity-roles, .motion-ready:not(.motion-paused) .identity-ribbon { gap: 28px; }
  .work, .programs { padding-top: 80px; }
  .section-top { margin-bottom: 35px; }
  .app-feature { padding: 30px 24px; border-radius: 24px; }
  .app-story h3 { font-size: 35px; }
  .app-visual { padding-block: 28px 8px; }
  .app-visual::before { width: 300px; }
  .app-visual::after { width: 310px; height: 310px; }
  .program-grid { gap: 28px; }
  .program-body { gap: 17px; }
  .program-body h3 { font-size: 31px; }
  .program-tag { font-size: 12px; }
  .program-link { font-size: 16px; }
  .voice { padding-block: 90px; }
  .voice-grid { grid-template-columns: 1fr; gap: 55px; }
  .voice-image { width: 95%; margin-inline: auto; }
  .voice-image > img { aspect-ratio: 5 / 4; border-radius: 70px 20px 70px 20px; }
  .voice-stats span { font-size: 13px; }
  .connect { padding-block: 80px; }
  .connect h2 { font-size: clamp(39px, 11vw, 58px); }
  .footer-inner p, .back-top { font-size: 13px; }
}

/* Pause and system reduction restore a full static composition immediately. */
.motion-paused { scroll-behavior: auto; }
.motion-paused [data-reveal] { opacity: 1 !important; translate: none !important; }
.motion-paused .motion-heading-text, .motion-paused .identity-ribbon,
.motion-paused .phone-frame, .motion-paused .app-mascot, .motion-paused .program-card,
.motion-paused .program-card > figure > img, .motion-paused .voice-image,
.motion-paused .voice-image > img, .motion-paused .connect::before { transform: none !important; }
.motion-paused [data-reveal], .motion-paused .intro-quote [data-word],
.motion-paused .program-card > figure > img { animation: none !important; transition: none !important; }
.motion-paused .program-card > figure > img { scale: none !important; }
.motion-paused .intro-quote [data-word] { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; translate: none !important; }
  .motion-heading-text, .identity-ribbon, .phone-frame, .app-mascot, .program-card,
  .program-card > figure > img, .voice-image, .voice-image > img, .connect::before { transform: none !important; }
  .identity-ribbon { display: block !important; width: auto !important; margin-inline: 20px !important; }
  .identity-roles { flex-wrap: wrap !important; color: #FFFFFF; }
  .identity-roles[aria-hidden] { display: none !important; }
  .intro-quote [data-word] { color: var(--ink) !important; }
  .program-card > figure > img { scale: none !important; }
}

/* The opening ribbon uses the inverse palette at every breakpoint. */
.identity-strip.identity-strip--light { background: #FFFFFF; color: #000000; }
.identity-strip--light p, .identity-strip--light .identity-roles { color: #000000; }
.identity-strip--light .identity-roles span + span::before { color: #00000080; }
