/* nuriAI / editorial product studio. One palette, distinct chapter layouts. */
:root {
  --paper: #101214; --ink: #f1f3f5; --muted: #a7adb5; --line: #333940;
  --panel: #181b1f; --panel-raised: #20242a; --accent: #f4f4f4; --accent-soft: #292929;
  --dark: #090a0c; color-scheme: dark;
  --description-lead-size: 17px; --description-body-size: 15px; --description-summary-size: 14px;
}
html { background: var(--paper); scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; letter-spacing: -.025em; }
::selection { background: #444; color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { text-underline-offset: 5px; }
a:hover { text-decoration: none; }
.wrap, .studio-page-container { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
:target, section[id], article[id], div[id], #partnership { scroll-margin-top: 86px; }
h1, h2, h3, h4 { letter-spacing: -.055em; font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.32; }
.middle-dot { margin-inline: 0.10em; }
h2 em, h2 span { font-style: normal; color: inherit; }
h3 { font-size: 25px; line-height: 1.45; }
p { text-wrap: pretty; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 2000; padding: 12px 24px; background: var(--accent); color: #101214; }
.skip:focus { top: 16px; }
.header {
  --nav-glass-tint: rgb(16 18 20 / 28%);
  --nav-glass-filter: saturate(155%) blur(24px);
  position: sticky; top: 0; z-index: 100;
}
/* The glass and its shadow extend behind the mobile menu as a single surface. */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--nav-glass-tint);
  box-shadow: 0 12px 36px rgb(0 0 0 / 8%);
  -webkit-backdrop-filter: var(--nav-glass-filter); backdrop-filter: var(--nav-glass-filter);
}
.nav { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { width: 32px; border-radius: 8px; filter: grayscale(1); }
.wordmark { font: 700 25px/1.2 var(--sans); letter-spacing: -.06em; }
.brand-dot { color: var(--accent); }
.header-status-badge { display: none; }
.nav nav { display: flex; gap: 28px; }
.nav nav a { font-size: 14px; padding-block: 12px; }
.nav nav a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { background: var(--accent); color: #101214; padding: 11px 18px; border-radius: 6px; font-size: 13px; }
.menu-toggle { position: relative; display: none; flex-shrink: 0; border: 0; background: none; border-radius: 50%; width: 44px; height: 44px; padding: 0; }
.menu-toggle span { position: absolute; inset-inline: 0; margin-inline: auto; top: 21px; width: 23px; height: 2px; border-radius: 999px; background: var(--ink); transform-origin: center; transition: width .28s cubic-bezier(.2,.7,.2,1), transform .28s cubic-bezier(.2,.7,.2,1), opacity .18s ease; }
.menu-toggle span:nth-child(1) { transform: translateY(-7.5px) scaleY(.9); }
.menu-toggle span:nth-child(2) { transform: scaleY(.9); }
.menu-toggle span:nth-child(3) { transform: translateY(7.5px) scaleY(.9); }
.menu-toggle[aria-expanded="true"] span { width: 24px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.5); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }
/* Keep initial spacing while enhanced product links float below the header. */
.ondevice-notice { position: relative; background: transparent; }
.has-service-capsules .ondevice-notice-slot { min-height: var(--capsule-height); }
.has-service-capsules .ondevice-notice { position: fixed; top: var(--capsule-top, 84px); inset-inline: 0; z-index: 90; pointer-events: none; opacity: var(--capsule-opacity, 1); visibility: visible; }
.has-service-capsules .ondevice-notice-link { pointer-events: auto; }
.has-service-capsules .ondevice-notice.is-hidden { visibility: hidden; }
.has-service-capsules .ondevice-notice.is-hidden .ondevice-notice-link { pointer-events: none; }
.ondevice-notice-inner { display: flex; justify-content: center; align-items: center; padding-block: 2px; font-size: 12px; line-height: 1.5; }
.ondevice-notice-group { display: flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 8px; border-radius: 999px; background: linear-gradient(90deg, #101113, #030405); }
.ondevice-notice-copy { display: flex; align-items: center; gap: 6px; min-width: 0; margin-right: 4px; white-space: nowrap; }
.ondevice-notice-logo { width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; filter: grayscale(1); }
.ondevice-notice-copy strong { color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.ondevice-notice-link { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex-shrink: 0; white-space: nowrap; min-width: 0; min-height: 32px; padding: 4px 8px; border: 0; border-radius: 999px; background: rgb(255 255 255 / 7%); color: var(--ink); text-decoration: none; }
.ondevice-notice-link:focus-visible { outline-offset: 2px; }
.ondevice-notice-icon { width: 14px; height: 14px; flex-shrink: 0; }


.back-to-top { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 95; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgb(24 27 31 / 62%); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); color: var(--ink); box-shadow: 0 6px 20px rgb(0 0 0 / 20%); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility 0s .25s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .25s ease, visibility 0s; }
.back-to-top:hover { background: rgb(40 45 52 / 78%); }
.back-to-top svg { width: 20px; height: 20px; }
.studio-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 13px 22px; border-radius: 6px; border: 1px solid transparent; font-size: 14px; font-weight: 500; line-height: 1.5; transition: background .18s, color .18s; }
.studio-button-primary { background: var(--accent); color: #101214; }
.studio-button-primary:hover { background: #ffffff; color: #101214; }
.studio-button-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.studio-button-ghost:hover { background: var(--accent-soft); }
.studio-section-kicker, .eyebrow, .studio-eyebrow { display: flex; align-items: center; gap: 12px; font: 11px/1.6 var(--mono); letter-spacing: .08em; margin-bottom: 24px; color: var(--muted); }
.kicker-num { color: var(--accent); }
.studio-section { padding-block: 64px 88px; }
.studio-section-heading, .studio-why-header { display: flex; align-items: end; justify-content: space-between; gap: 64px; margin-bottom: 56px; }
.studio-section-heading > p, .studio-why-header > p { max-width: 380px; color: var(--muted); font-size: var(--description-summary-size); }
/* 01: Lead with the service promise and direct paths to each service. */
.studio-hero { position: relative; overflow: hidden; padding-top: 24px; }
.studio-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; padding-block: 60px 72px; position: relative; z-index: 1; }
.studio-hero-copy { z-index: 1; }
/* Hero label: flat mono text with no box chrome. The transparent pseudo-element keeps the click target at 24px+. */
.hero-greeting { position: relative; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; text-decoration: none; width: fit-content; }
.hero-greeting::after { content: ""; position: absolute; inset: -12px -6px; }
.greeting-text { font: 500 12px/1.4 var(--mono); letter-spacing: .05em; color: #cbd5e1; }
.greeting-line { display: block; flex: 0 0 16px; height: 1px; background: #8d99a8; opacity: .75; }
@media (forced-colors: active) { .greeting-text { color: LinkText; background: none; } .greeting-line { background: LinkText; } }
.studio-hero h1 { max-width: 980px; font-size: clamp(44px, 5.5vw, 68px); font-weight: 600; line-height: 1.2; letter-spacing: -.07em; }
.studio-hero-highlight { color: var(--accent); }
.hero-type-char { position: relative; opacity: 0; }
.hero-type-char.is-typed { opacity: 1; }
.hero-type-hangul { display: inline-grid; }
.hero-type-hangul > span { grid-area: 1 / 1; }
.hero-type-reserve { visibility: hidden; }
.hero-type-char.is-cursor::after { content: ""; position: absolute; left: calc(100% + .12em); top: 50%; transform: translateY(-50%); width: 4px; height: .96em; background: currentColor; opacity: .65; animation: hero-caret .615384615s steps(1, end) infinite; }
.hero-motion-paused .hero-type-char::after { animation-play-state: paused; }
@keyframes hero-caret { 50% { opacity: 0; } }
.hero-type-char.is-cursor-ending::after { animation: hero-caret-ending .615384615s steps(1, end) 2 forwards; }
@keyframes hero-caret-ending { 0% { opacity: .65; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-type-char { opacity: 1; } }
@media print { .hero-type-char { opacity: 1; } }
.studio-hero-description { max-width: 650px; font-size: var(--description-lead-size); line-height: 1.85; margin-top: 28px; }
.hero-supporting { font-size: 13px; margin-top: 18px; color: var(--muted); }
.studio-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.hero-text-link { display: inline-flex; align-items: center; gap: 20px; padding-block: 12px; font-size: 14px; }
.hero-text-link:hover { color: var(--accent); }

/* Hero Visual & Geometric Motion */
.studio-hero-visual { position: relative; width: 100%; max-width: 540px; justify-self: center; }
.hero-visual-frame { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); background: #121519; box-shadow: 0 24px 48px -12px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.15); }
.hero-mesh-grid { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; z-index: 2; }
.hero-artwork-img { display: block; width: 100%; height: auto; object-fit: cover; filter: contrast(1.05) brightness(0.95); transition: transform 0.6s ease; }
.hero-visual-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(16,18,20,0.85) 100%), radial-gradient(circle at 80% 20%, transparent 40%, rgba(16,18,20,0.5) 100%); pointer-events: none; z-index: 1; }
.geometric-node { position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 3px; padding: 9px 13px; border-radius: 10px; background: rgba(18, 21, 26, 0.88); border: 1px solid rgba(255,255,255,0.13); backdrop-filter: blur(12px); box-shadow: 0 10px 24px rgba(0,0,0,0.5); font-size: 11px; }
.geometric-node strong { font-size: 12px; font-weight: 600; color: #f1f3f5; }
.node-tag { font: 700 9px var(--mono); letter-spacing: 0.08em; color: #94a3b8; }
.node-pulse { position: absolute; top: -3px; right: -3px; width: 6px; height: 6px; border-radius: 50%; background: #60a5fa; box-shadow: 0 0 8px #60a5fa; animation: statusPulse 2s ease-in-out infinite; }
.node-build { top: 12%; left: 6%; animation: floatSlow 6s ease-in-out infinite; }
.node-connect { top: 44%; right: 6%; animation: floatSlow 7s ease-in-out infinite 1s; }
.node-ax { bottom: 10%; left: 14%; animation: floatSlow 8s ease-in-out infinite 2s; }
.geometric-flow-lines { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.flow-line { stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.5; stroke-dasharray: 4 6; animation: dashMove 25s linear infinite; }
.flow-particle { fill: #ffffff; filter: drop-shadow(0 0 6px #60a5fa); }
.particle-1 { animation: particleTravel1 5s ease-in-out infinite alternate; }
.particle-2 { animation: particleTravel2 6s ease-in-out infinite alternate 1s; }
.particle-3 { animation: particleTravel3 7s ease-in-out infinite alternate 2s; }

.hero-service-index { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); padding-block: 12px; position: relative; z-index: 1; }
.hero-service-index a { padding: 16px 20px; font-size: 14px; border-right: 1px solid var(--line); }
.hero-service-index a:last-child { border: 0; }
.hero-service-index a > span:first-child { font: 11px var(--mono); margin-right: 14px; color: var(--muted); }

/* Services: one consistent comparison, each row answers the same questions. */
#services { background: var(--paper); }
.studio-service-grid { display: grid; grid-template-columns: 1fr; }
.studio-service-card { min-width: 0; display: grid; grid-template-columns: 110px .9fr 1.25fr; gap: 32px; padding-block: 40px; border-top: 1px solid var(--line); }
.studio-service-card:last-child { padding-bottom: 0; }
.studio-service-number { display: grid; gap: 14px; color: var(--muted); font: 10px var(--mono); letter-spacing: .07em; white-space: nowrap; }
.studio-service-number b { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; font: 12px/1 var(--mono); font-weight: 500; color: var(--accent); letter-spacing: 0; }
.studio-service-question { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.studio-service-card h3 { font-size: 28px; }
.studio-service-description { font-size: var(--description-body-size); line-height: 1.85; color: #c0c5cc; }
.service-deliverables { margin-top: 20px; }
.service-deliverables p { font-size: 13px; color: var(--muted); margin-top: 7px; }
.service-deliverables p > span:first-child { font-size: 11px; margin-right: 12px; color: var(--ink); }
.studio-service-cta { display: inline-flex; gap: 24px; align-items: center; min-height: 44px; color: var(--accent); font-size: 14px; font-weight: 500; margin-top: 18px; }
.studio-service-cta:hover { text-decoration: underline; }

/* AX: Visual Interactive Pipeline Diagram */
.ax-workflow-section { background: #191c21; color: #f1f3f5; --muted: #adb3bb; --ink: #f1f3f5; --accent: #f4f4f4; --line: #3a3a3a; }
.ax-feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.ax-intro-copy { color: #c4c4c4; font-size: var(--description-body-size); margin-top: 24px; max-width: 470px; }
.ax-note { font-size: 12px; color: #bcbcbc; margin-top: 32px; max-width: 400px; }
.ax-example { min-width: 0; }
.ax-example-label { display: inline-block; font-size: 11px; color: #ededed; margin-bottom: 12px; }
.ax-example h3 { font-size: 23px; }
.ax-handoff { display: inline-flex; align-items: center; vertical-align: bottom; max-width: 100%; }
.ax-handoff svg { width: .44em; height: auto; margin-inline: .35em; }
.ax-example p { font-size: 12px; color: #bcbcbc; }

.ax-pipeline-diagram { margin-block: 24px; position: relative; }
.ax-flow { --step-gap: 18px; padding: 0; list-style: none; margin: 0; display: grid; gap: var(--step-gap); }
.ax-step {
  position: relative; display: grid; grid-template-areas: "meta chip" "body body"; grid-template-columns: 1fr auto;
  align-items: center; row-gap: 8px; column-gap: 16px; padding: 27px 20px 31px;
  background: linear-gradient(135deg, rgb(255 255 255 / 5%), transparent 85%) #1b1e22;
  border-radius: 10px;
  box-shadow: 0 2px 3px -1px rgb(0 0 0 / 16%);
  transition: background-color .2s, transform .2s;
}
.ax-step:hover { background-color: #24282c; transform: translateX(2px); }
.ax-connector {
  position: absolute; pointer-events: none; grid-column-start: 1;
  left: 4px; top: 100%; transform: translateX(-50%);
  width: 1.5px; height: var(--step-gap); background-color: #30363c; transition: transform .2s;
}
.ax-step:hover .ax-connector { transform: translateX(calc(-50% - 2px)); }
@media (forced-colors: active) {
  .ax-connector { background-color: CanvasText; }
}
.step-header-meta { grid-area: meta; display: flex; align-items: center; }
.step-phase-tag { font: 600 9px var(--mono); letter-spacing: .05em; padding: 2px 7px; border-radius: 4px; background: rgba(255,255,255,0.07); color: #94a3b8; }
.step-phase-ai { background: rgba(96, 165, 250, 0.14); color: #93c5fd; }
.step-phase-human { background: rgba(245, 158, 11, 0.14); color: #fcd34d; }
.step-body-content { grid-area: body; }
.step-body-content strong { display: block; font-size: 15px; font-weight: 600; color: #f1f3f5; margin-bottom: 3px; line-height: 1.4; }
.step-body-content span { font-size: 13px; color: #94a3b8; line-height: 1.5; }
.step-status-chip { grid-area: chip; justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #94a3b8; font-weight: 500; padding: 4px 10px; border-radius: 99px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.06); white-space: nowrap; }
.status-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #64748b; }
.step-status-active .status-live-dot { background: #60a5fa; box-shadow: 0 0 8px #60a5fa; animation: statusPulse 1.8s ease-in-out infinite; }
.step-status-gate .status-live-dot { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes dashMove {
  to { stroke-dashoffset: -100; }
}
@keyframes particleTravel1 {
  0% { cx: 40px; cy: 50px; opacity: 0.2; }
  50% { opacity: 1; }
  100% { cx: 360px; cy: 70px; opacity: 0.2; }
}
@keyframes particleTravel2 {
  0% { cx: 70px; cy: 190px; opacity: 0.2; }
  50% { opacity: 1; }
  100% { cx: 340px; cy: 160px; opacity: 0.2; }
}
@keyframes particleTravel3 {
  0% { cx: 120px; cy: 70px; opacity: 0.2; }
  50% { opacity: 1; }
  100% { cx: 280px; cy: 180px; opacity: 0.2; }
}
/* Quality: a focused interactive demonstration, with compact human-readable examples. */
#why-nuriai { background: var(--paper); }
.quality-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.quality-tabs button { background: transparent; border: 1px solid var(--line); border-radius: 50px; padding: 10px 18px; min-height: 44px; display: flex; align-items: center; font-size: 14px; color: var(--muted); }
.quality-tabs button[aria-selected=true] { background: var(--accent); border-color: var(--accent); color: #101214; }
.quality-tabs .tab-label { font-size: calc(1em - 1px); }
.studio-reason-grid { display: grid; gap: 24px; }
.studio-reason-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; background: var(--panel); padding: 48px; border: 1px solid var(--line); border-radius: 12px; }
/* All enhanced panels size the same grid cell, including the inactive ones. */
.quality-tabs:not([hidden]) + .studio-reason-grid { isolation: isolate; background: var(--panel); border-radius: 12px; }
.studio-reason-card[role="tabpanel"] { grid-area: 1 / 1; min-width: 0; z-index: 1; }
.studio-reason-card[role="tabpanel"][inert] { opacity: 0; visibility: hidden; z-index: 0; }
@media (prefers-reduced-motion: no-preference) {
  .studio-reason-card[role="tabpanel"] { transition: opacity 280ms ease-in-out, visibility 0s; }
  .studio-reason-card[role="tabpanel"][inert] { transition-delay: 0s, 280ms; }
}
.quality-copy { align-self: start; }
.studio-reason-card-top { font: 10px var(--mono); color: var(--muted); margin-bottom: 24px; }
.studio-reason-card-top > span:last-child { display: none; }
.studio-reason-card h3 { font-size: 29px; margin-bottom: 24px; }
.studio-reason-situation { margin-bottom: 20px; }
.situation-label, .solution-label { display: block; color: var(--accent); font-size: 11px; margin-bottom: 8px; }
.studio-reason-situation p, .studio-reason-early p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.quality-visual { border: 1px solid #3a3a3a; padding: 24px; border-radius: 8px; background: #121518; }
.proof-label { display: flex; justify-content: space-between; color: #a7adb5; font: 10px var(--mono); gap: 12px; }
.proof-person { display: flex; align-items: center; gap: 12px; margin-block: 30px; }
.proof-avatar { display: grid; place-items: center; background: #292929; color: var(--accent); width: 42px; height: 42px; border-radius: 50%; }
.proof-person strong { display: block; font-size: 15px; }
.proof-person div > span { font-size: 11px; color: #a7adb5; }
.proof-result { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 16px 0; font-size: 12px; }
.proof-result b { font-weight: 400; color: #a7adb5; }
.proof-result .proof-pass { color: var(--accent); }
.proof-caption { font-size: 11px; color: #a7adb5; margin-top: 14px; }
.proof-question { background: #20242a; padding: 16px; font-size: 14px; margin-top: 24px; border-radius: 6px; }
.proof-answer { border-left: 2px solid var(--accent); padding: 0 0 0 16px; margin-block: 24px; }
.proof-answer > span { font-size: 11px; color: #a7adb5; }
.proof-answer p { font-size: 14px; margin-block: 8px 16px; }
.proof-answer .proof-source { color: var(--accent); }
.proof-recovery { display: grid; justify-items: center; gap: 12px; padding-block: 24px; text-align: center; }
.proof-recovery > span:first-child { font-size: 40px; color: var(--accent); line-height: 1; }
.proof-recovery strong { font-size: 16px; }
.proof-recovery p { font-size: 12px; color: #a7adb5; }
.proof-retry { padding: 8px 20px; background: var(--accent); color: #101214; font-size: 12px; border-radius: 5px; }
.studio-why-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; }
.why-bottom-copy strong { font-weight: 500; font-size: 14px; }
.why-bottom-copy p { color: var(--muted); font-size: 12px; margin-top: 4px; }
.studio-why-bottom .studio-button { background: transparent; border-color: var(--line); color: var(--ink); flex-shrink: 0; }
/* Working together: timeline, roles and handover form one chapter. */
#process { background: var(--paper); }
#process > .studio-page-container { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px 96px; }
#process .studio-section-heading { display: block; margin: 0; }
#process .studio-section-heading > p { margin-top: 28px; }
#process .studio-section-heading h2 { font-size: clamp(34px, 3.4vw, 48px); }
.studio-process-grid { list-style: none; margin: 0; padding: 0; }
.studio-process-step { position: relative; padding: 0 0 32px 56px; border-left: 1px solid var(--line); margin-left: 20px; }
.studio-process-step:last-child { border-color: transparent; padding-bottom: 0; }
.process-step-header { position: absolute; left: -20px; top: 0; }
.studio-process-number { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #292929; color: var(--accent); font: 12px var(--mono); border: 1px solid #4b4b4b; }
.process-phase-tag { display: none; }
.studio-process-step h3 { font-size: 22px; margin-bottom: 12px; padding-top: 3px; }
.studio-process-step p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.process-spec-chip { font-size: 11px; color: var(--accent); margin-top: 14px; }
.studio-support-note { grid-column: 2; display: flex; gap: 12px; font-size: 12px; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); }
.studio-support-mark { color: var(--accent); }
.handover-panel { grid-column: 1 / -1; background: var(--panel); padding: 32px; border: 1px solid var(--line); border-radius: 8px; }
.handover-intro { display: grid; grid-template-columns: .35fr 1fr 1fr; gap: 36px; align-items: start; }
.handover-intro h3 { font-size: 22px; }
.handover-intro p:last-child { color: var(--muted); font-size: 13px; }
.handover-arrow { display: block; margin: clamp(32px, 4vw, 40px) auto; color: var(--muted); }
@media (forced-colors: active) { .handover-arrow polygon { fill: CanvasText; } }
.handover-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.handover-list li { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.handover-list li > div + div { flex: 1 1 10rem; }
.handover-icon-box { flex: none; white-space: nowrap; font: 11px var(--mono); color: var(--accent); padding-top: 6px; }
.handover-list strong { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.handover-list span { font-size: 12px; color: var(--muted); }
/* Roles are subordinate to working together, not another chapter. */
#partnership { min-width: 0; grid-column: 1 / -1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px 88px; border-top: 1px solid var(--line); padding-top: 48px; margin-top: 16px; }
.partnership-head h3 { font-size: 28px; }
.partnership-lead { color: var(--muted); font-size: 14px; max-width: 400px; margin-top: 20px; }
.partner-list { display: grid; grid-template-columns: 1fr; }
.partner-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; padding-block: 24px; border-top: 1px solid var(--line); }
.partner-card:first-child { padding-top: 0; border: 0; }
.partner-icon { grid-row: 1 / span 2; width: 28px; height: 28px; align-self: start; margin-top: 4px; color: var(--muted); }
.partner-card h4 { font-size: 20px; margin-bottom: 10px; }
.partner-card p { font-size: 14px; color: var(--muted); }
.responsibility-details { min-width: 0; grid-column: 1 / -1; border-block: 1px solid var(--line); }
.responsibility-details summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; cursor: pointer; padding: 24px 0; font-size: 15px; }
.responsibility-toggle-icon { align-self: center; color: var(--muted); }
.responsibility-details:not([open]) .toggle-close,
.responsibility-details[open] .toggle-arrow { display: none; }
.responsibility-panel { padding: 0 0 32px; }
.responsibility-intro { margin-bottom: 24px; }
.responsibility-intro .eyebrow { display: none; }
.responsibility-intro h4 { font-size: 22px; margin-bottom: 12px; }
.responsibility-intro p { font-size: 13px; color: var(--muted); }
.table-scroll { max-width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; min-width: 600px; }
th, td { padding: 16px; border-bottom: 1px solid var(--line); }
.responsibility-panel :is(th, td) { vertical-align: top; }
.responsibility-panel th:first-child { white-space: nowrap; }
thead { background: #1a1d21; }
td { color: var(--muted); }
.partnership-note { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
/* FAQ: a typographic index with native accordions, no repeated cards. */
#faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 88px; padding-block: 64px 88px; }
.faq-description { font-size: 14px; color: var(--muted); margin-top: 24px; }
.faq-contact-link { display: inline-flex; align-items: center; gap: 24px; color: var(--accent); font-size: 14px; margin-top: 28px; min-height: 44px; }
.faqs { --question-mark-width: 22px; --question-gap: 16px; }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs summary { padding-block: 24px; display: flex; gap: var(--question-gap); align-items: start; cursor: pointer; list-style: none; font-size: 15px; }
summary::-webkit-details-marker { display: none; }
.faq-q-badge { flex: 0 0 var(--question-mark-width); font: 600 1.15em/1.5 var(--sans); color: var(--muted); }
.faq-toggle-icon { margin-left: auto; flex-shrink: 0; color: #7c828a; font-size: 21px; line-height: 1.2; }
.faq-toggle-icon::before { content: "+"; }
.faqs details[open] .faq-toggle-icon::before { content: "−"; color: var(--muted); }
.faqs p { color: var(--muted); font-size: 14px; padding: 0 0 24px calc(var(--question-mark-width) + var(--question-gap)); }
@media screen and (prefers-reduced-motion: no-preference) {
  :is(.faqs details, .responsibility-details)::details-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 0fr);
    overflow: clip;
    transition: grid-template-rows 256ms ease-in-out, content-visibility 256ms allow-discrete;
  }
  :is(.faqs details, .responsibility-details)[open]::details-content { grid-template-rows: minmax(0, 1fr); }
}
/* Contact: quiet charcoal and a form that matches the site. */
.studio-contact-section { background: #181b1f; color: var(--ink); padding-block: 64px 88px; }
.studio-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }
.studio-contact-kicker { color: #bcbcbc; }
.studio-contact-kicker .kicker-num { color: inherit; }
#contact h2 { font-size: clamp(36px, 3.8vw, 54px); }
.contact-lead-text { color: #bcbcbc; font-size: var(--description-body-size); margin-block: 24px 32px; }
.threads-channel-card { border-top: 1px solid var(--line); padding-top: 24px; }
.channel-label { font: 10px var(--mono); color: #bcbcbc; }
.channel-info strong { display: block; font-size: 18px; margin-block: 8px; }
.channel-info p { color: #bcbcbc; font-size: 13px; }
.threads-btn { background: var(--accent); color: #101214; margin-top: 24px; }
.threads-btn:hover { background: #ffffff; color: #101214; }
.studio-contact-list { display: grid; gap: 20px; margin-top: 36px; }
.contact-guide-item { display: flex; gap: 16px; }
.guide-num { flex-shrink: 0; white-space: nowrap; color: var(--accent); font: 11px var(--mono); padding-top: 5px; }
.contact-guide-item h3 { font-size: 14px; margin-bottom: 6px; }
.contact-guide-item p { color: #bcbcbc; font-size: 12px; }
.studio-contact-note { color: #bcbcbc; font-size: 12px; margin-top: 24px; }
.brief-form-container { background: var(--panel-raised); color: var(--ink); border-radius: 12px; padding: 32px; box-shadow: 0 6px 18px rgb(0 0 0 / 18%); }
.brief-builder-form { display: grid; gap: 20px; }
.form-top { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 4px; }
.form-title-wrap { display: inline-flex; align-items: center; gap: 3px; }
.form-title { font-size: 15px; font-weight: 600; }
.form-badge { font-size: 10px; color: #a7adb5; }
.form-field-group { display: grid; gap: 8px; }
.field-label { font-size: 12px; font-weight: 500; }
.text-accent { color: var(--accent); }
.brief-builder-form input, .brief-builder-form textarea, .brief-builder-form select { width: 100%; max-width: 100%; min-width: 0; border: 1px solid #3b4149; padding: 12px; border-radius: 5px; background: #111417; color: var(--ink); font-size: 16px; }
.brief-builder-form textarea { resize: vertical; }
.brief-builder-form ::placeholder { color: #a7adb5; font-size: 13px; }
.select-wrapper { position: relative; }
.select-wrapper select { appearance: none; padding-right: 32px; font-size: 13px; line-height: 28px; }
.select-arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.form-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-buttons .studio-button { font-size: 12px; padding-inline: 12px; gap: 10px; }
.form-note { display: flex; gap: 8px; align-items: start; font-size: 11px; color: #a7adb5; }
.form-note svg { margin-top: 3px; }
.form-status-message { font-size: 12px; color: var(--accent); }
.form-status-message:empty { display: none; }
/* Compact footer with a bounded logo and useful links. */
.studio-footer { background: #0a0c0e; color: #f1f3f5; padding-top: 64px; }
.footer-content { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; }
.footer-tagline { font-size: 14px; margin-top: 20px; color: #a7adb5; }
.footer-nav { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.footer-nav-col { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-title { font: 12px var(--sans); color: #a7adb5; margin-bottom: 8px; }
.footer-nav-col a { font-size: 12px; }
.footer-bottom { display: flex; gap: 24px; justify-content: space-between; padding-block: 32px; margin-top: 40px; border-top: 1px solid var(--line); color: #a7adb5; font-size: 11px; }
/* Desktop artwork begins at the slogan and leaves the action row clear. */
@media (min-width: 801px) {
  .studio-hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); gap: 0 48px; }
  .studio-hero-copy { display: grid; grid-template-rows: subgrid; grid-column: 1; grid-row: 1 / 6; }
  .studio-hero-visual { grid-column: 2; grid-row: 1 / 5; align-self: stretch; min-height: 0; max-width: none; }
  .hero-visual-frame { position: absolute; inset: 0; }
  .hero-artwork-img { height: 100%; }
}

/* Responsive: preserve reading width, not desktop density. */
@media (max-width: 1100px) {
  .wrap, .studio-page-container { width: calc(100% - 48px); }
  .nav nav { gap: 18px; }
  .studio-hero h1 { font-size: clamp(38px, 4.8vw, 53px); }
  .studio-service-card { grid-template-columns: 76px .85fr 1.2fr; gap: 24px; }
  .studio-reason-card { gap: 32px; padding: 32px; }
  .ax-feature { gap: 40px; }
  #process > .studio-page-container, #partnership, #faq, .studio-contact-grid { gap: 40px; }
  .studio-contact-grid { grid-template-columns: 1fr 1.1fr; }
  .form-buttons { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .ondevice-notice-inner { padding-block: 2px; }
  .ondevice-notice-group { gap: 4px; padding-inline: 6px; }
  .ondevice-notice-copy { gap: 4px; margin-right: 2px; }
  .ondevice-notice-logo { width: 16px; height: 16px; }
  .ondevice-notice-link::after { content: ""; position: absolute; inset: -6px 0; border-radius: inherit; }
  .back-to-top { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .nav { min-height: 72px; }
  .menu-toggle { display: block; }
  .has-navigation .header::before { transition: bottom .24s ease, background-color .24s ease; }
  .has-navigation .header:has(.nav nav.is-open)::before {
    bottom: calc(0px - var(--menu-height));
    background-color: rgb(12 14 16 / 72%);
    background-image: linear-gradient(to right, rgb(255 255 255 / 3%), rgb(255 255 255 / 0%));
    background-position: left bottom; background-size: 100% 1px; background-repeat: no-repeat;
  }
  .nav nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; padding: 24px; flex-direction: column; gap: 8px; }
  .has-navigation .nav nav {
    max-height: calc(100dvh - 100%); overflow-y: auto;
    visibility: hidden; pointer-events: none; clip-path: inset(0 0 100% 0);
    transition: clip-path .24s ease, visibility 0s .24s;
  }
  .has-navigation .nav nav.is-open { visibility: visible; pointer-events: auto; clip-path: inset(0); transition-delay: 0s; }
  html:not(.has-navigation) .header { position: relative; }
  html:not(.has-navigation) .nav { flex-wrap: wrap; padding-block: 12px; }
  html:not(.has-navigation) .nav nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; order: 3; width: 100%; padding: 0; border: 0; }
  html:not(.has-navigation) .menu-toggle { display: none; }
  .studio-hero-grid { grid-template-columns: 1fr; padding-block: 54px 56px; gap: 28px; }
  .studio-hero h1 { font-size: clamp(40px, 8vw, 58px); }
  .studio-hero-description { max-width: 560px; }
  .hero-service-index { grid-template-columns: 1fr 1fr; }
  .hero-service-index a { border: 0; padding: 14px 16px; }
  :target, section[id], article[id], div[id], #partnership { scroll-margin-top: 74px; }
  .studio-section { padding-block: 48px 64px; }
  .studio-section-heading, .studio-why-header { display: block; margin-bottom: 36px; }
  .studio-section-heading > p, .studio-why-header > p { margin-top: 20px; max-width: 540px; }
  .studio-service-card { grid-template-columns: 1fr; gap: 18px; padding-block: 32px; }
  .studio-service-number { display: flex; align-items: center; gap: 14px; }

  .studio-service-description { max-width: none; }
  .ax-feature { grid-template-columns: 1fr; gap: 40px; }
  .ax-example h3 { font-size: 24px; }
  .ax-example h3 br { display: none; }
  .studio-reason-card { grid-template-columns: 1fr; padding: 28px 24px; }
  .quality-visual { max-width: 520px; width: 100%; }
  .studio-why-bottom { align-items: start; flex-direction: column; }
  #process > .studio-page-container { grid-template-columns: 1fr; gap: 40px; }
  .studio-support-note, .handover-panel { grid-column: 1; }
  .handover-intro { grid-template-columns: 1fr; gap: 16px; }
  .handover-intro .eyebrow { margin-bottom: 0; }
  .handover-list { grid-template-columns: 1fr; gap: 24px; }
  #partnership { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .handover-panel { padding: 24px; }
  #faq { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 64px; }
  .faq-description { max-width: 500px; }
  .studio-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .studio-contact-section { padding-block: 48px 64px; }
  .studio-contact-list { display: none; }
  .footer-content { grid-template-columns: 1fr; gap: 36px; }
  .footer-nav { grid-template-columns: repeat(3,1fr); }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .studio-section-heading p br, .faq-description br { display: none; }
}
@media (max-width: 480px) {
  .wrap, .studio-page-container { width: calc(100% - 32px); }
  .nav { gap: 12px; }
  .logo { gap: 8px; }
  .logo img { width: 28px; }
  .wordmark { font-size: 22px; }
  .nav-actions { gap: 8px; }
  .nav-cta { padding: 11px 12px; font-size: 12px; }
  h2 { font-size: 33px; }
  .studio-hero { padding-top: 0; }
  .studio-hero-grid { padding-block: 40px 40px; }
  .studio-hero h1 { font-size: clamp(33px, 8.4vw, 40px); }
  .studio-eyebrow { font-size: 9px; margin-bottom: 22px; }
  .studio-hero-description { font-size: var(--description-body-size); margin-top: 24px; }
  .hero-supporting { font-size: 12px; }
  .studio-hero-actions { gap: 20px; margin-top: 28px; }
  .studio-hero-actions .studio-button { padding-inline: 18px; }
  .hero-text-link { font-size: 12px; gap: 8px; }
  .hero-service-index a { font-size: 12px; }
  .hero-service-index a > span:first-child { margin-right: 8px; }
  .studio-section-kicker, .eyebrow { font-size: 10px; margin-bottom: 20px; }
  .studio-service-card h3 { font-size: 26px; }
  .handover-panel { padding: 24px 16px; margin-inline: -16px; border-radius: 0; }
  .ax-flow strong, .ax-flow span:not(.middle-dot) { display: block; }
  .ax-flow strong { margin-bottom: 2px; }
  .quality-tabs { gap: 6px; }
  .quality-tabs button { padding: 9px 12px; font-size: 13px; }
  .studio-reason-card { padding: 24px 16px; gap: 24px; }
  .studio-reason-card h3 { font-size: 23px; }
  .quality-visual { padding: 20px 16px; }
  .studio-why-bottom .studio-button { width: 100%; }
  .studio-process-step { padding-left: 36px; }
  .studio-process-step h3 { font-size: 21px; }
  .studio-process-step p { font-size: 14px; }
  .faqs { --question-mark-width: 18px; --question-gap: 10px; }
  .faqs summary { font-size: 14px; }
  #contact h2 { font-size: 34px; }
  .brief-form-container { padding: 24px 16px; }
  .form-buttons { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.header .logo img { width: 38px; }
.header .wordmark { font-size: 28px; }

/* Section overlines & monochrome icons. */
#services .studio-section-heading { align-items: center; gap: 48px; }
.services-title-block { position: relative; padding: 0; }
.services-overline { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--ink); font-size: 13px; }
.services-icon { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #252525; color: var(--ink); }
.chapter-caption { margin: 0 0 22px; color: var(--ink); font-size: 13px; }
.studio-section-heading > .services-title-block + p { max-width: 340px; align-self: center; padding: 18px 0 18px 24px; border-left: 0; box-shadow: inset 3px 0 0 #3d3d3d; }
.ax-overline { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; color: #d1d1d1; font-size: 13px; }
.ax-overline > span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #101214; background: var(--accent); font: 600 10px var(--mono); }
.quality-overline { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--ink); font-size: 13px; }
.quality-spark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #252525; font-size: 16px; }
.process-overline { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--muted); font-size: 13px; }
.process-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #222; }
.chapter-caption { display: flex; align-items: center; gap: 8px; }
.services-icon svg, .chapter-caption svg, .quality-spark svg, .process-icon svg, .partner-icon, .faq-overline svg, .contact-chapter-number svg, .form-title-wrap svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.partner-icon { stroke: url("#partner-icon-gradient") currentColor; }
@media (forced-colors: active) { .partner-icon { stroke: CanvasText; } }
.ax-overline > svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 20px; }
.services-icon svg, .chapter-caption svg { width: 16px; height: 16px; }
.quality-spark svg, .process-icon svg { width: 18px; height: 18px; }
.process-icon { color: var(--ink); }
.faq-overline { display: flex; align-items: center; gap: 9px; width: fit-content; padding: 7px 12px; margin: 0 0 20px; border-radius: 99px; background: #202020; color: #eee; font-size: 12px; }
.faq-overline svg { width: 16px; height: 16px; }
.contact-chapter-number { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px 10px 10px 2px; background: #ededed; color: #101214; }
.contact-chapter-number svg { width: 17px; height: 17px; }

/* Let spacing and quiet surface shifts do more of the grouping work. */
.hero-service-index { border-top: 0; gap: 8px; }
.hero-service-index a { border: 0; padding: 16px 20px; border-radius: 8px; background: #15181c; transition: background .18s, transform .18s; }
.hero-service-index a:hover { background: #252525; transform: translateY(-2px); }
.studio-service-card { border: 0; padding-inline: 22px; border-radius: 10px; transition: background .2s; }
.studio-service-card:hover { background: #15181c; }
.studio-service-card:last-child { padding-bottom: 40px; }
.studio-service-number b { border: 0; background: #252525; }
.studio-reason-card, .quality-visual { border-color: transparent; }
.studio-process-step { border-left-color: #252a31; }
.studio-process-number { border-color: transparent; background: #252525; }
.handover-panel { border-color: transparent; }
#partnership { border-top: 0; }
.partner-card { border-top: 0; padding-block: 18px; border-radius: 8px; }
.partner-card:hover { background: #15181c; }
.responsibility-details { border-block: 0; background: #15181c; border-radius: 10px; padding-inline: 20px; }
.faqs { display: grid; gap: 8px; }
.faqs details { border: 0; border-radius: 8px; background: #15181c; padding-inline: 20px; }
.faqs summary { padding-block: 20px; }
.faqs details[open] { background: #191d22; }
.footer-bottom { border-top-color: #252a31; }
@media (max-width: 800px) {
  .studio-section-heading > .services-title-block + p { box-shadow: inset 2px 0 0 #3d3d3d; }
  .chapter-mark { margin-bottom: 10px; font-size: 12px; line-height: 1.5; letter-spacing: .1em; }
  .studio-service-card, .studio-service-card:last-child { padding: 24px 0; }
  .studio-service-card:hover, .partner-card:hover { background: transparent; }
  .partner-card { padding-inline: 0; }
  .faqs details { padding-inline: 14px; }
  .studio-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .studio-hero-visual { max-width: 100%; }
  .ax-step {
    row-gap: 6px; padding: 25px 18px 29px;
    box-shadow: 0 1px 1.5px -.5px rgb(0 0 0 / 16%);
  }
}
@media (max-width: 480px) {
  .header .logo img { width: 34px; }
  .header .wordmark { font-size: 24px; }
  .hero-greeting { margin-bottom: 20px; }
  .geometric-node { padding: 6px 10px; }
  .geometric-node strong { font-size: 11px; }
  .ax-step { grid-template-areas: "meta" "body" "chip"; grid-template-columns: 1fr; padding: 23px 14px 27px; }
  .step-status-chip { justify-self: start; margin-top: 4px; }
}
