:root {
  --ground: #F2F5F3;
  --surface: #FFFFFF;
  --ink: #172A2C;
  --ink-2: #475B5E;
  --line: #B7C8C7;
  --accent: #167486;
  --on-accent: #FFFFFF;
  --font-display: "Barlow", sans-serif;
  --font-body: "Inter", sans-serif;
  --wrap: 1328px;
  --gutter: clamp(20px, 5vw, 64px);
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --radius-control: 4px;
  --radius-card: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ground); font-family: var(--font-body); }
body, button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, p { margin: 0; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; top: -100px; left: var(--gutter); padding: var(--s-3) var(--s-4); background: var(--ink); color: var(--surface); }
.skip-link:focus { top: var(--s-2); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(242,245,243,.94); }
.header-layout { display: flex; align-items: center; min-height: 96px; gap: var(--s-6); }
.brand { flex: 0 0 auto; display: block; width: 205px; overflow: hidden; }
.brand { position: relative; }
.brand img { width: 205px; height: 54px; object-fit: contain; animation: brand-arrive .5s .65s both; }
.brand-trace { position: absolute; left: 0; top: 0; width: 48px; height: 54px; overflow: visible; pointer-events: none; animation: trace-leave .35s 1s both; }
.brand-trace path { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 130; stroke-dashoffset: 130; animation: trace-mark .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes trace-mark { to { stroke-dashoffset: 0; } }
@keyframes trace-leave { to { opacity: 0; } }
@keyframes brand-arrive { from { opacity: 0; } to { opacity: 1; } }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.1vw, 32px); margin-left: auto; }
.main-nav a { font-size: 14px; font-weight: 500; white-space: nowrap; transition: color .2s ease; }
.main-nav a:hover { color: var(--accent); }
.header-action { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-5); min-height: 48px; padding: 0 var(--s-4); border: 1px solid var(--ink); border-radius: var(--radius-control); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.header-action:hover { color: var(--surface); background: var(--ink); }
.header-action span { font-size: 20px; }

.hero { position: relative; isolation: isolate; min-height: calc(100svh - 96px); overflow: hidden; }
.hero-atmosphere { position: absolute; z-index: -1; inset: 0; background: linear-gradient(106deg, rgba(255,255,255,.12) 0 38%, rgba(255,255,255,.5) 58%, rgba(255,255,255,.16) 100%); pointer-events: none; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch; min-height: min(790px, calc(100svh - 150px)); }
.hero-copy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: var(--s-9); padding-right: var(--s-8); }
.hero h1 { max-width: 720px; font-family: var(--font-display); font-size: clamp(60px, 6.1vw, 98px); font-weight: 600; line-height: .99; letter-spacing: -.047em; text-wrap: balance; }
.hero h1 span { color: var(--accent); }
.hero-lede { max-width: 29ch; margin-top: var(--s-7); color: var(--ink-2); font-size: 20px; line-height: 1.48; text-wrap: pretty; }
.primary-action { display: inline-flex; align-items: center; justify-content: space-between; min-width: 288px; min-height: 64px; margin-top: var(--s-7); padding-inline: var(--s-5); border: 1px solid var(--accent); border-radius: var(--radius-control); color: var(--on-accent); background: var(--accent); font-size: 16px; font-weight: 600; transition: transform .24s ease, background .24s ease; }
.primary-action:hover { transform: translateY(-2px); background: var(--ink); border-color: var(--ink); }
.action-arrow { margin-left: var(--s-8); font-size: 24px; font-weight: 400; }
.hero-note { margin-top: var(--s-6); color: var(--ink-2); font-size: 14px; line-height: 1.5; }

.scene { position: relative; z-index: 1; min-height: 610px; overflow: visible; }
.scene-wall { position: absolute; z-index: 0; inset: 0 0 20% -10%; background: linear-gradient(88deg, #E4E9E7 0%, #F8FAF8 58%, #E0E8E7 100%); border-left: 1px solid rgba(23,42,44,.1); }
.scene-window-light { position: absolute; z-index: 1; width: 92%; height: 83%; top: -7%; right: -9%; transform: skewX(-17deg); background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.72) 44%, rgba(255,255,255,0) 75%); filter: blur(2px); pointer-events: none; }
.scene-bed { position: absolute; z-index: 1; right: -8%; bottom: 19%; width: 47%; height: 16%; transform: skewY(-6deg); border-radius: 30px 30px 12px 12px; background: #D8E1DF; box-shadow: 0 18px 35px rgba(47,67,67,.11), inset 0 2px 0 rgba(255,255,255,.8); }
.scene-bed::before, .scene-bed::after { content: ""; position: absolute; top: 95%; width: 10px; height: 92px; background: #8FA19E; }
.scene-bed::before { left: 17%; }
.scene-bed::after { right: 17%; }
.scene-bed span { position: absolute; top: 15%; left: 13%; width: 30%; height: 35%; border-radius: 24px; background: #EEF2EF; }
.scene-floor { position: absolute; z-index: 0; left: -10%; right: 0; bottom: -3%; height: 27%; background: linear-gradient(#D1DBD8, #CBD6D2); clip-path: polygon(0 24%, 100% 0, 100% 100%, 0 100%); }
.scene-device-shadow { position: absolute; z-index: 2; width: 56%; height: 6%; left: 13%; bottom: 8%; border-radius: 50%; background: rgba(25,39,40,.25); filter: blur(20px); }
.scene-device { position: absolute; z-index: 3; width: auto; height: 102%; max-width: none; left: 10%; bottom: 2%; object-fit: contain; object-position: bottom center; filter: drop-shadow(20px 18px 12px rgba(26,44,45,.17)); animation: device-place 1.1s cubic-bezier(.2,.8,.2,1) both; }
.scene-cable { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.scene-cable path { fill: none; stroke: #8AA2A4; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 660; stroke-dashoffset: 660; animation: cable-draw 1.5s .8s ease-out forwards; }
.scene-caption { position: absolute; z-index: 4; right: var(--s-6); bottom: var(--s-5); padding: var(--s-3) 0; border-top: 1px solid var(--ink); font-family: var(--font-display); font-size: 16px; font-weight: 600; }

@keyframes device-place { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cable-draw { to { stroke-dashoffset: 0; } }

@media (max-width: 1100px) {
  .header-layout { min-height: 80px; }
  .brand, .brand img { width: 180px; }
  .main-nav { gap: var(--s-4); }
  .main-nav a { font-size: 14px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); min-height: 650px; }
  .hero-copy { padding-right: var(--s-6); }
  .hero h1 { font-size: clamp(54px, 6vw, 72px); }
  .scene { min-height: 600px; }
  .scene-device { left: 0; height: 93%; }
}

@media (max-width: 760px) {
  .header-layout { min-height: 74px; }
  .brand, .brand img { width: 166px; }
  .brand img { height: 44px; }
  .main-nav { display: none; }
  .header-action { margin-left: auto; min-height: 42px; padding-inline: var(--s-3); font-size: 13px; }
  .hero-layout { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { min-height: 520px; padding-block: var(--s-8) var(--s-7); padding-right: 0; justify-content: flex-start; }
  .hero h1 { max-width: 620px; font-size: clamp(48px, 11.8vw, 72px); }
  .hero-lede { max-width: 32ch; margin-top: var(--s-6); font-size: 16px; }
  .primary-action { min-height: 58px; margin-top: var(--s-6); }
  .hero-note { margin-top: var(--s-5); }
  .scene { min-height: 590px; margin-inline: calc(-1 * var(--gutter)); overflow: hidden; }
  .scene-wall { inset: 0; border-left: 0; }
  .scene-bed { right: -10%; bottom: 23%; width: 48%; }
  .scene-floor { left: 0; bottom: 0; }
  .scene-device { left: 5%; height: 99%; bottom: 1%; }
  .scene-device-shadow { left: 12%; }
  .scene-caption { right: var(--gutter); bottom: var(--s-3); }
  .scene-cable { display: none; }
}

@media (max-width: 420px) {
  .hero-copy { min-height: 430px; padding-block: var(--s-7) var(--s-5); }
  .hero h1 { font-size: 48px; }
  .hero-lede { font-size: 16px; }
  .primary-action { width: 100%; min-width: 0; }
  .scene { min-height: 500px; }
  .scene-device { left: -2%; height: 99%; }
  .scene-caption { right: var(--gutter); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene-device, .scene-cable path { animation: none; }
  .scene-cable path { stroke-dashoffset: 0; }
  .brand img, .brand-trace, .brand-trace path { animation: none; }
  .brand-trace { display: none; }
  .primary-action, .header-action, .main-nav a { transition: none; }
}

/* One material palette, one layout rhythm. The cable is the only moving
   accent after the hero. */
h2, h3, ol, fieldset { margin: 0; }
button { font: inherit; }
main { position: relative; isolation: isolate; overflow: clip; }
.menu-toggle { display: none; }
.mobile-nav-action { display: none; }
.story-path { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; color: var(--accent); }
.story-path .cable-base { fill: none; stroke: #B4C7C6; stroke-width: 3; stroke-linecap: round; }
.story-path .cable-progress { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; }
.story-path .cable-head { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }
.story-path .cable-head-line { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.path-origin { position: absolute; left: 33%; bottom: 0; width: 2px; height: 2px; }
.path-marker { position: absolute; z-index: 3; top: 126px; left: max(32px, calc((100vw - var(--wrap)) / 2 - 48px)); width: 13px; height: 13px; border: 2px solid var(--accent); border-radius: 50%; background: var(--ground); transition: background .35s ease, transform .35s ease; }
.path-marker[data-path-lit] { background: var(--accent); transform: scale(1.22); }
.story-turn { position: relative; height: clamp(220px, 25vw, 360px); }
.story-turn span { position: absolute; left: max(38px, calc((100vw - var(--wrap)) / 2 - 42px)); bottom: 32px; width: 2px; height: 2px; }
.story-section { position: relative; z-index: 2; padding-block: var(--s-9); }
.section-copy { position: relative; z-index: 3; }
.section-copy h2 { max-width: 14ch; font-family: var(--font-display); font-size: clamp(46px, 4.8vw, 78px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.section-copy > p { max-width: 49ch; margin-top: var(--s-7); color: var(--ink-2); font-size: 20px; line-height: 1.62; }
.text-link { display: inline-flex; align-items: center; gap: var(--s-6); min-height: 48px; margin-top: var(--s-7); border-bottom: 1px solid var(--ink); color: var(--ink); font-weight: 600; }
.text-link:hover, .choice-catalog a:hover, .stage-bottom a:hover { color: var(--accent); border-color: var(--accent); }

.choice-section { padding-top: var(--s-8); }
.choice-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(64px, 7vw, 128px); align-items: center; }
.choice-controls { display: grid; margin-top: var(--s-8); border-top: 1px solid var(--line); }
.choice-control { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 88px; padding: var(--s-4) 0; border: 0; border-bottom: 1px solid var(--line); color: var(--ink-2); background: transparent; text-align: left; cursor: pointer; font-family: var(--font-display); font-size: 24px; font-weight: 500; transition: color .25s ease, padding-left .25s ease; }
.choice-control:hover, .choice-control.is-selected { color: var(--accent); padding-left: var(--s-4); }
.choice-control span:last-child { font-size: 24px; }
.choice-small { margin-top: var(--s-5) !important; font-size: 14px !important; }
.choice-stage { min-height: 730px; padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.stage-top, .stage-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); }
.stage-top { color: var(--ink-2); font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.stage-device-wrap { position: relative; display: grid; place-items: center; height: 585px; overflow: hidden; background: linear-gradient(90deg, #EEF2F0, #FAFBFA); }
.stage-device-wrap::after { content: ""; position: absolute; bottom: 30px; left: 20%; width: 60%; height: 35px; border-radius: 50%; background: #34444330; filter: blur(18px); }
.stage-device-wrap img { position: relative; z-index: 1; left: 8px; width: auto; height: 94%; object-fit: contain; filter: drop-shadow(15px 12px 10px #22373825); transition: opacity .24s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.choice-stage.is-changing img { opacity: .1; transform: translateX(22px); }
.stage-bottom { align-items: flex-end; min-height: 78px; padding-top: var(--s-5); }
.stage-bottom p { max-width: 30ch; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.stage-bottom a { flex: none; display: inline-flex; gap: var(--s-4); border-bottom: 1px solid var(--ink); padding-bottom: var(--s-2); font-size: 14px; font-weight: 600; }
.choice-catalog { display: flex; align-items: center; justify-content: space-between; gap: var(--s-7); margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.choice-catalog p { max-width: 56ch; color: var(--ink-2); line-height: 1.55; }
.choice-catalog a { flex: none; border-bottom: 1px solid var(--ink); padding-bottom: var(--s-2); font-weight: 600; }

.preparation-section { position: relative; z-index: 2; height: 235svh; min-height: 1350px; margin-top: var(--s-9); background: #E8EFEC; }
.preparation-sticky { position: sticky; top: 0; display: grid; align-items: center; height: 100svh; min-height: 720px; overflow: hidden; }
.preparation-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(64px, 6vw, 112px); align-items: center; }
.preparation-copy h2 { max-width: 11ch; }
.preparation-copy > p { max-width: 38ch; margin-top: var(--s-6); }
.prep-steps { display: grid; gap: 0; margin-top: var(--s-7); padding: 0; list-style: none; }
.prep-steps li { display: flex; gap: var(--s-5); padding: var(--s-4) 0; border-top: 1px solid #B4C7C1; color: var(--ink-2); opacity: .48; transition: opacity .25s ease, color .25s ease; }
.prep-steps li.is-current { opacity: 1; color: var(--ink); }
.prep-steps li > span { flex: 0 0 24px; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--accent); }
.prep-steps strong { font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.prep-steps p { margin-top: var(--s-2); font-size: 14px; line-height: 1.5; }
.prep-visual { position: relative; height: min(76svh, 660px); min-height: 500px; overflow: hidden; border: 1px solid #B5C8C2; border-radius: var(--radius-card); background: #F2F6F3; }
.prep-wall { position: absolute; inset: -1px -1px 24%; background: #F5F8F6; }
.prep-window { position: absolute; top: -12%; right: 10%; width: 47%; height: 83%; transform: skewX(-16deg); background: linear-gradient(90deg, transparent, #FFFFFFB8 45%, transparent); }
.prep-floor { position: absolute; inset: 74% 0 0; background: #CFDCD5; }
.prep-bed { position: absolute; z-index: 1; right: -4%; bottom: 22%; width: 54%; height: 13%; border-radius: 20px 20px 8px 8px; background: #D7E2DF; box-shadow: 0 15px 20px #223B3520; }
.prep-bed::before, .prep-bed::after { content: ""; position: absolute; top: 95%; width: 8px; height: 65px; background: #899F9A; }
.prep-bed::before { left: 14%; } .prep-bed::after { right: 14%; }
.prep-socket { position: absolute; z-index: 1; left: 21%; top: 23%; width: 34px; height: 30px; border: 2px solid #9CADAB; border-radius: 4px; background: #FCFDFC; }
.prep-socket i { display: inline-block; width: 3px; height: 8px; margin: 9px 4px; border-radius: 2px; background: #9CADAB; }
.prep-visual img { position: absolute; z-index: 2; left: 10%; bottom: 2%; width: auto; height: 84%; filter: drop-shadow(12px 10px 11px #243B3730); transform: translateY(12%); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.prep-visual[data-step="1"] img, .prep-visual[data-step="2"] img { transform: translateY(0); }
.prep-note { position: absolute; z-index: 3; width: max-content; padding: var(--s-3) var(--s-4); border: 1px solid var(--accent); border-radius: var(--radius-control); background: var(--surface); color: var(--ink); font-family: var(--font-display); font-weight: 600; box-shadow: 0 12px 32px #192E2924; opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .35s ease; }
.prep-note-room { top: 11%; left: 7%; }
.prep-note-team { top: 15%; right: 6%; }
.prep-note-service { right: 6%; bottom: 13%; }
.prep-visual[data-step="0"] .prep-note-room, .prep-visual[data-step="1"] .prep-note-team, .prep-visual[data-step="2"] .prep-note-service { opacity: 1; transform: none; }
.prep-desk-line { position: absolute; z-index: 1; left: 13%; bottom: 9%; width: 40%; height: 25px; border-bottom: 3px solid #90A8A1; border-radius: 50%; }
.prep-playback { display: none; }

.service-section { padding-block: calc(2 * var(--s-9)); }
.service-layout, .measure-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(64px, 8vw, 144px); align-items: center; }
.service-copy h2 { max-width: 13ch; }
.service-visual { display: grid; place-items: center; min-height: 570px; border: 1px solid var(--line); border-radius: var(--radius-card); background: #E5EBE8; }
.service-sheet { width: 72%; min-height: 420px; padding: var(--s-6); transform: rotate(-5deg); border: 1px solid #CAD7D3; background: var(--surface); box-shadow: 25px 30px 0 #C6D6D1, 30px 35px 30px #213D3526; }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4); font-family: var(--font-display); font-weight: 600; }
.sheet-head span:first-child { font-size: 27px; }
.sheet-head span:last-child { max-width: 10ch; color: var(--ink-2); font-size: 11px; text-align: right; }
.sheet-rule { height: 2px; margin-top: var(--s-4); background: var(--accent); }
.sheet-drawing { display: grid; gap: var(--s-5); padding-block: var(--s-8); }
.sheet-drawing span { height: 10px; border-bottom: 2px solid #A6B9B4; }
.sheet-drawing span:nth-child(1) { width: 85%; } .sheet-drawing span:nth-child(2) { width: 67%; } .sheet-drawing span:nth-child(3) { width: 76%; }
.sheet-bottom { margin-top: var(--s-8); font-family: var(--font-display); font-size: clamp(25px, 3vw, 42px); font-weight: 600; letter-spacing: -.03em; }

.measure-section { padding-block: calc(2 * var(--s-9)); background: #EAF0ED; }
.measure-visual { position: relative; display: grid; place-items: center; min-height: 580px; }
.measure-paper { position: relative; width: 72%; min-height: 450px; padding: var(--s-6); transform: rotate(4deg); border: 1px solid #C1CEC9; background: #FFFFFF; box-shadow: -24px 24px 0 #D2DDD8, 0 30px 44px #1C40341C; }
.measure-paper-top { display: flex; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-8); font-family: var(--font-display); font-size: 13px; font-weight: 600; }
.measure-line { display: flex; align-items: end; gap: var(--s-4); min-height: 62px; border-bottom: 1px solid #C5D3CE; }
.measure-line span { min-width: 72px; padding-bottom: var(--s-3); color: var(--ink-2); font-size: 14px; }
.measure-line i { flex: 1; }
.measure-question { position: absolute; right: var(--s-6); bottom: var(--s-5); color: var(--accent); font-family: var(--font-display); font-size: 74px; line-height: 1; }
.measure-probe { position: absolute; right: 5%; top: 13%; width: 35px; height: 270px; transform: rotate(23deg); border: 2px solid #92A9A4; border-radius: 19px; background: linear-gradient(90deg, #DDE8E3, #FFFFFF 42%, #B8CBC5); box-shadow: 8px 12px 14px #18362E25; }
.measure-probe span { position: absolute; bottom: 14px; left: 3px; right: 3px; height: 45px; border-radius: 4px 4px 13px 13px; background: #263C3D; }

.action-section { padding-block: calc(2 * var(--s-9)); }
.action-section > .path-marker { top: 65%; }
.action-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(64px, 9vw, 150px); align-items: start; }
.action-copy h2 { max-width: 10ch; }
.action-summary { margin-top: var(--s-8); padding-top: var(--s-4); border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.action-summary strong { color: var(--accent); font-weight: 600; }
.action-panel { padding: var(--s-7); border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.action-options { padding: 0; border: 0; }
.action-options legend { margin-bottom: var(--s-5); color: var(--ink); font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.action-options label { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; column-gap: var(--s-4); min-height: 75px; padding-block: var(--s-3); border-top: 1px solid var(--line); cursor: pointer; }
.action-options input { grid-row: span 2; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.action-options label span { font-weight: 600; }
.action-options small { grid-column: 2; color: var(--ink-2); font-size: 12px; }
.action-send { width: 100%; margin-top: var(--s-7); }
.action-help { margin-top: var(--s-5); color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.action-help a { border-bottom: 1px solid currentColor; }
.site-footer { position: relative; z-index: 2; padding-top: var(--s-8); background: #DCE7E2; }
.footer-layout { display: grid; grid-template-columns: 1.25fr .7fr .8fr; gap: var(--s-8); padding-bottom: var(--s-8); }
.footer-brand img { width: 200px; height: auto; }
.footer-brand p { max-width: 25ch; margin-top: var(--s-6); color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.footer-layout nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); font-size: 14px; }
.footer-layout a:hover, .footer-bottom a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--s-5); padding-block: var(--s-5); border-top: 1px solid #B7CAC2; color: var(--ink-2); font-size: 12px; }

@media (max-width: 1100px) {
  .choice-layout, .preparation-layout, .service-layout, .measure-layout, .action-layout { gap: var(--s-8); }
  .section-copy h2 { font-size: clamp(42px, 5vw, 64px); }
  .choice-stage { min-height: 650px; }
  .stage-device-wrap { height: 510px; }
  .prep-visual { min-height: 470px; }
}
@media (min-width: 761px) and (max-height: 500px) {
  .hero-layout { min-height: calc(100svh - 80px); }
  .hero-copy { padding-block: var(--s-4); padding-right: var(--s-4); }
  .hero h1 { font-size: 42px; }
  .hero-lede { margin-top: var(--s-4); font-size: 16px; line-height: 1.35; }
  .hero .primary-action { min-height: 48px; margin-top: var(--s-4); }
  .hero-note { display: none; }
  .scene { min-height: calc(100svh - 80px); }
  .scene-device { height: 105%; }
}
@media (max-width: 760px) {
  .header-layout { position: relative; }
  .menu-toggle { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; margin-left: auto; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; }
  .menu-toggle span { font-size: 20px; }
  .main-nav { position: absolute; top: 74px; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: var(--s-3) var(--gutter) var(--s-5); border-bottom: 1px solid var(--line); background: var(--ground); box-shadow: 0 20px 25px #223D3515; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: var(--s-3) 0; font-size: 16px; }
  .mobile-nav-action { display: block; color: var(--accent); font-weight: 600 !important; }
  .header-action { display: none; }
  .scene-window-light { right: 0; width: 100%; }
  .scene-bed { right: 0; }
  .path-origin { left: 14px; }
  .path-marker { left: 8px; top: 68px; width: 12px; height: 12px; }
  .story-turn { height: 112px; }
  .story-turn span { left: 14px; bottom: 0; }
  .story-section { padding: var(--s-9) 0 var(--s-8); }
  .story-section > .wrap, .preparation-layout { padding-left: 20px; }
  .section-copy h2 { max-width: 17ch; font-size: clamp(38px, 9vw, 60px); }
  .section-copy > p { margin-top: var(--s-6); font-size: 16px; }
  .choice-layout, .preparation-layout, .service-layout, .measure-layout, .action-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
  .choice-stage { min-height: 0; padding: var(--s-4); }
  .stage-device-wrap { height: 470px; }
  .choice-catalog { flex-direction: column; align-items: flex-start; gap: var(--s-5); }
  .preparation-section { height: auto; min-height: 0; margin-top: var(--s-8); padding-block: var(--s-9); }
  .preparation-sticky { position: relative; top: auto; height: auto; min-height: 0; overflow: visible; }
  .preparation-copy h2 { max-width: 13ch; }
  .prep-steps li { opacity: 1; }
  .prep-visual { height: 520px; min-height: 0; }
  .prep-playback { display: inline-flex; justify-self: start; align-items: center; min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--ink); border-radius: var(--radius-control); background: transparent; color: var(--ink); cursor: pointer; }
  .prep-visual img { transform: none; }
  .prep-note { display: none; }
  .prep-note-team { display: block; opacity: 1; transform: none; top: 6%; right: 5%; }
  .service-visual { order: 2; min-height: 450px; }
  .service-sheet { min-height: 350px; }
  .measure-visual { min-height: 470px; }
  .measure-paper { min-height: 390px; }
  .measure-probe { right: 10%; }
  .footer-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-section > .path-marker { top: 70%; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .brand, .brand img { width: 145px; }
  .menu-toggle { font-size: 14px; }
  .section-copy h2 { font-size: 39px; }
  .stage-device-wrap { height: 380px; }
  .stage-bottom { align-items: flex-start; flex-direction: column; gap: var(--s-4); }
  .prep-visual { height: 420px; }
  .service-visual { min-height: 360px; }
  .service-sheet { width: 75%; min-height: 290px; padding: var(--s-5); }
  .sheet-head span:first-child { font-size: 21px; }
  .sheet-bottom { font-size: 22px; }
  .measure-visual { min-height: 380px; }
  .measure-paper { width: 79%; min-height: 320px; padding: var(--s-5); }
  .measure-probe { height: 200px; }
  .action-panel { padding: var(--s-5); }
  .footer-layout { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .path-marker, .choice-control, .stage-device-wrap img, .prep-visual img, .prep-note { transition: none; }
}
