.phone-line-break { display:none; }
/* Phone adaptation only. Approved desktop presentation is preserved. */
@media(max-width:760px) {
 body.typography-system[data-page="home"]:not(.nav-open) .site-header[data-header]:not(.is-scrolled),
 body[data-page="about"].about-flow-active:not(.nav-open) .site-header[data-header],
 body.case-page:not(.nav-open) .site-header[data-header]:not(.is-scrolled) { background:transparent; border-color:transparent; box-shadow:none; }
 body:not(.nav-open) .mobile-browser-chrome { display:none; }
 body.typography-system[data-page="home"] .home-hero { margin-top:0; min-height:100svh; }
 body.typography-system[data-page="about"] .about-flow__title,
 body.typography-system[data-page="about"] .about-flow__eyebrow { text-align:left; margin-inline:0; }
 body.typography-system[data-page="about"] .about-flow__copy { width:100%; max-width:34ch; text-align:left; margin:1.75rem 0 0; line-height:1.6; }
 body[data-page="about"] .about-flow__next { align-self:flex-start; }
 body .site-nav-wrap { justify-content:flex-start; padding-top:calc(var(--mobile-header-height) + 2.5rem); gap:2rem; }
 body .site-nav-wrap .site-nav { margin-top:0; }
 body.typography-system[data-page="home"] .work-row { grid-template-columns:1fr; gap:1.25rem; padding-block:1.75rem; }
 body.typography-system[data-page="home"] .work-row .work-media,
 body.typography-system[data-page="home"] .work-row .work-copy { grid-column:1; width:100%; }
 body.typography-system[data-page="home"] .work-row .work-media { aspect-ratio:16/9; }
 body.typography-system[data-page="home"] .work-row .work-media img { width:100%; height:100%; aspect-ratio:16/9; object-fit:cover; }
 body.typography-system[data-page="home"] .work-row[href="narom/"] .work-media img { object-fit:contain; }
 body.typography-system[data-page="home"] .work-row .work-copy h3 { font-size:28px; }
 body.typography-system[data-page="home"] .work-row .work-copy > p:not(.work-category) { font-size:16px; line-height:1.55; margin:.75rem 0 1rem; }
 body.typography-system[data-page="home"] .work-row .work-copy dl { display:grid; grid-template-columns:1.5fr 1fr; gap:1rem; }
 body.typography-system[data-page="home"] .work-row .work-copy dd { font-size:14px; }
 body.typography-system[data-page="home"] .work-row .work-copy dt { font-size:12px; }
 body.case-page .source-hero::after { background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.1) 25%,rgba(0,0,0,.65)); }
 body.case-page .wallet-k-hero__shade,body.case-page .fiture-hero__veil { background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.12) 25%,rgba(0,0,0,.68)); }
 body.typography-system[data-page="home"] .capabilities-story.is-swipe [data-media-mode="composition"] img { top:3.5rem; right:0; width:100%; height:48%; object-fit:contain; object-position:center; transform:translateX(3%); }
 body.typography-system[data-page="home"] .capabilities-story.is-swipe [data-capability-item="2"] [data-media-mode="composition"] img { transform:translateX(3%) scale(.88); }
 body.typography-system[data-page="home"] .capabilities-story.is-swipe .capabilities-story__copy { padding-top:20rem; }
 body.typography-system[data-page="home"] .capabilities-story.is-swipe .capabilities-story__visual picture { display:contents; }
}

/* Final mobile composition, measured against the 390 × 844 artwork.
   Safe-area is added once; ordinary browser viewports already exclude chrome. */
@media (max-width:760px) {
 body .site-header[data-header],body .site-header[data-header].is-scrolled {
  height:var(--mobile-header-height);
  min-height:0; padding:env(safe-area-inset-top,0px) 25px 0;
 }
 :root { --mobile-header-height:calc(60px + env(safe-area-inset-top,0px)); }
 .site-header .brand { gap:11px; padding:0; background:transparent; -webkit-tap-highlight-color:transparent; }
 .site-header .brand-mark { width:25px; height:25px; flex:0 0 25px; }
 .site-header .brand-name { font-size:15px; }
 .site-header .menu-toggle { width:44px; height:44px; margin-right:-12px; background:transparent; -webkit-tap-highlight-color:transparent; }
 .site-header .menu-toggle span { width:20px; }
 .site-header :is(.brand,.menu-toggle):active { background:transparent; box-shadow:none; }
 .site-header :is(.brand,.menu-toggle):focus:not(:focus-visible) { outline:none; }
 body.typography-system[data-page="home"] .home-hero {
  height:auto; min-height:100svh; padding:0; overflow:hidden; top:var(--home-stick-top,0px);
 }
 body.typography-system[data-page="home"] .home-hero__scene {
  position:relative;
  background:#16102f url('../images/home/mobile-flow-2026.webp') center / 100% 100% no-repeat;
 }
 body.typography-system[data-page="home"] .home-hero__media {
  inset:142px 22px auto; width:calc(100% - 44px); height:auto; aspect-ratio:346/248;
  border-radius:0;
  --home-liquid-width:100%; --home-liquid-height:100%; --home-liquid-inset:0;
 }
 body.typography-system[data-page="home"] .home-hero__media img {
  width:100%; max-width:none; height:100%; inset:0; object-fit:cover; object-position:center;
 }
 body.typography-system[data-page="home"] .home-hero__media > canvas {
  /* Same source framing as the photograph; the simulation remains unchanged. */
  width:var(--home-liquid-width); height:var(--home-liquid-height); inset:var(--home-liquid-inset);
 }
 body.typography-system[data-page="home"] .home-hero__shade { display:none; }
 body.typography-system[data-page="home"] .home-hero__content {
  display:block; height:auto; min-height:100svh; padding:0 34px max(56px, env(safe-area-inset-bottom,0px));
  padding-top:calc(162px + (100vw - 44px) * 248 / 346 - 47px);
 }
 body.typography-system[data-page="home"] .home-hero__identity { display:block; position:relative; top:-20px; }
 body.typography-system[data-page="home"] .home-hero h1 {
  font-size:50px; font-weight:var(--type-weight-heading); line-height:.94; letter-spacing:-.035em; margin:0; max-width:none;
 }
 body.typography-system[data-page="home"] .home-hero__role { font-size:14px; line-height:1.4; margin:6px 0 0; letter-spacing:-.02em; }
 body.typography-system[data-page="home"] .home-hero__statement { width:100%; max-width:none; padding:0; margin:22px 0 0; }
 body.typography-system[data-page="home"] .home-hero-positioning { font-size:18px; line-height:1.4; letter-spacing:-.025em; margin:0; }
 body.typography-system[data-page="home"] .home-hero-meta { font-size:12px; line-height:1.5; margin:15px 0 0; letter-spacing:-.02em; }
 body.typography-system[data-page="home"] .home-hero__explore { display:inline-flex; font-size:13.5px; line-height:20px; margin:23px 0 0; padding:8px 0; min-height:44px; }
 .source-case--music #research .music-research-comparison { background:rgba(255,255,255,.055); padding:18px 12px; gap:12px; align-items:stretch; }
 .source-case--music #research .music-research-group { grid-template-rows:112px auto; align-content:start; gap:12px; }
 .source-case--music #research .music-research-grid { gap:8px; align-items:start; }
 .source-case--music #research .music-research-label { min-height:0; }
}

@media(max-width:760px) {
 body.typography-system[data-page="home"] .home-hero__scene::before { content:none; }
 body.typography-system[data-page="home"] .home-hero__scene::after { content:none; }
 body.typography-system[data-page="home"] .home-hero__media { z-index:1; }
}

@media(max-width:760px) {
 .phone-line-break { display:inline; }
 body.typography-system[data-page="home"] .home-hero__statement { margin-top:20px; }
 body.typography-system[data-page="home"] .home-hero-meta { margin-top:8px; }
 body.typography-system[data-page="home"] .home-hero__explore { margin-top:20px; }
}

@media(max-width:760px) {
 body .site-header[data-header]::before { background:transparent; }
 body .site-header[data-header] { transition:background-color .12s linear, backdrop-filter .12s linear; }

}
@media(min-width:761px) { }

@media(max-width:760px) {
 html:has(body[data-page="home"]) { background:#5135ec; }
 body[data-page="home"] { background:#16102f; }
 body.typography-system[data-page="home"] .home-hero__media picture { display:contents; }
 body.typography-system[data-page="home"] .home-hero__media img { position:absolute; }
 body.typography-system[data-page="home"] .home-hero__media.is-liquid-ready img { opacity:0; }
 body.case-page .back-link { top:calc(var(--mobile-header-height) + 20px); margin-top:0; }
 body.case-page :is(.source-hero__overlay,.wallet-k-hero__content,.fiture-hero__inner) { padding-top:calc(var(--mobile-header-height) + 20px); }
}

/* Phone headings share the same weight as the other pages. */
@media (max-width:760px) {
 body.typography-system[data-page="home"] .selected-work .work-heading h2,
 body.typography-system[data-page="home"] .capabilities-stage-section .capabilities-stage-intro h2,
 body.typography-system[data-page="home"] .work-copy h3,
 body.typography-system[data-page="home"] .capabilities-story__copy h3,
 body.typography-system[data-page="home"] .capabilities-story.is-swipe .capabilities-story__copy h3 {
  font-weight:var(--type-weight-heading);
 }
}

/* One navigation surface across page themes. These surface declarations supersede
   historical page-specific gradients; menu overlay styling remains independent. */
body:not(.nav-open) .site-header[data-header] {
 background:rgba(20,18,28,calc(.22 * var(--nav-progress,0))) !important;
 -webkit-backdrop-filter:blur(calc(24px * var(--nav-progress,0))) saturate(calc(100% + 20% * var(--nav-progress,0))) !important;
 backdrop-filter:blur(calc(24px * var(--nav-progress,0))) saturate(calc(100% + 20% * var(--nav-progress,0))) !important;
 border:0 !important; box-shadow:none !important;
 transition:background-color .12s linear,backdrop-filter .12s linear,-webkit-backdrop-filter .12s linear;
}
body .site-header[data-header]::before { content:none; }
@media(min-width:761px) {
 body .site-header[data-header],body .site-header[data-header].is-scrolled { min-height:4.8rem; }
}
@media(max-width:760px) {
 body[data-page="about"].about-flow-active .site-header[data-header] { min-height:0; }
}
