/* An illustrated home: selection moves only the parent's phone. */
.trust-strip + .home-scene { margin-top: clamp(32px, 4vw, 56px); }
.everyday-section.home-scene { --home-ink: #355441; --home-green: #426653; --home-soft: #e4ebde; position: relative; padding: 48px 42px 30px; background: #edf0e6; border: 1px solid #d8e0d0; border-radius: 32px; isolation: isolate; }
.home-scene-layout { display: grid; grid-template-columns: minmax(230px, .75fr) minmax(0, 1.6fr); gap: 18px; align-items: center; }
.home-scene-copy { position: relative; z-index: 2; padding-block: 12px; }
.home-scene-copy .eyebrow { margin-bottom: 22px; font-size: 10px; letter-spacing: .12em; }
.home-scene-copy h2 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -.045em; }
.home-scene-copy h2 span { color: var(--sage); }
.home-scene-intro { max-width: 290px; margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.home-chooser { margin-top: 27px; }
.home-chooser-label { margin-bottom: 10px; color: var(--sage); font-size: 11px; font-weight: 500; }
.home-room-options { display: flex; flex-wrap: wrap; gap: 8px; }
.home-room-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 25px; background: var(--surface); color: var(--text); font-size: 12px; font-weight: 500; line-height: 1.4; transition: background .2s, color .2s, border-color .2s; }
.home-room-button .icon { width: 17px; height: 17px; }
.home-room-button[aria-pressed="true"] { background: var(--sage); color: var(--on-green); border-color: var(--sage); }
.home-room-button:hover:enabled { border-color: var(--sage); }
.home-room-button:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }
.home-scene button:disabled { cursor: default; }
.home-room-story { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 11px; margin-top: 27px; min-height: 127px; max-width: 304px; padding-top: 20px; border-top: 1px solid var(--line); }
.home-room-story > span { font-size: 11px; line-height: 1.8; font-variant-numeric: tabular-nums; color: var(--peach); }
.home-room-story h3 { font-size: 17px; font-weight: 500; line-height: 1.4; letter-spacing: -.02em; }
.home-room-story p { margin-top: 7px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.home-scene-visual { position: relative; min-width: 0; margin: 0; }
.home-scene-canvas { position: relative; width: 100%; aspect-ratio: 800 / 640; isolation: isolate; }
.home-house-art { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.home-scene-canvas::before { content: ''; position: absolute; inset: 5% 1% 4%; border-radius: 50%; background: radial-gradient(ellipse, #f9e7c780 0%, #f6ecd54d 38%, transparent 69%); z-index: -1; }
.home-network-label { position: absolute; top: 2%; right: 8%; display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border: 1px solid #c7d1c0; border-radius: 20px; background: #faf7f2d9; color: #426653; font-size: 10px; line-height: 1.5; }
.home-network-label .icon { width: 14px; height: 14px; }
.home-nursery-label { position: absolute; top: 23%; left: 14%; color: var(--home-ink); font-size: clamp(10px, 1.1vw, 12px); font-weight: 500; line-height: 1.5; }
.home-nursery-label small { display: block; margin-top: 2px; font-size: 9px; font-weight: 400; opacity: .75; }
.home-room-hotspot { position: absolute; top: 54%; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 62px; min-height: 44px; padding: 7px 10px; border: 1px solid transparent; border-radius: 20px; background: transparent; color: var(--home-ink); font-size: clamp(10px, 1.05vw, 12px); line-height: 1.3; font-weight: 500; transition: background .2s, border-color .2s; }
.home-room-hotspot[data-home-hotspot="living"] { left: 13%; }
.home-room-hotspot[data-home-hotspot="kitchen"] { left: 55%; }
.home-room-hotspot::before { content: ''; width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; border: 1px solid currentColor; }
.home-room-hotspot[aria-pressed="true"] { background: #fffcf0cf; border-color: #48664e40; }
.home-room-hotspot[aria-pressed="true"]::before { background: currentColor; }
.home-room-hotspot:hover:enabled { background: #fffdf5e0; }
.home-room-hotspot:focus-visible { outline: 3px solid #9d583c; outline-offset: 2px; }
.home-signal-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.home-signal-path { fill: none; stroke: #426653; stroke-width: 3; stroke-dasharray: 4 9; stroke-linecap: round; opacity: 0; transition: opacity .25s; }
.home-scene[data-room="living"] .home-signal-living, .home-scene[data-room="kitchen"] .home-signal-kitchen { opacity: .65; }
.home-phone { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: clamp(20px, 4%, 32px); aspect-ratio: 9 / 19.5; border: 2px solid #2d4739; border-radius: 7px; background: #faf7f2; color: #426653; transform: translate(-50%, -100%); box-shadow: 2px 4px 5px #23352930, 0 0 0 3px #fffdf447; pointer-events: none; }
.home-phone::before { content: ''; position: absolute; top: 3px; width: 3px; height: 3px; border-radius: 50%; background: #2d4739; }
.home-phone::after { content: ''; position: absolute; bottom: 3px; width: 9px; height: 2px; border-radius: 2px; background: #a9b99e; }
.home-phone .icon { width: 13px; height: 13px; }
.home-phone-baby { left: 73.625%; top: 40%; background: #f5e3cd; }
.home-phone-parent { left: 40%; top: 75.78125%; background: #e1ebda; }
.home-scene[data-home-ready="true"] .home-phone-parent { transition: left .7s cubic-bezier(.22,.7,.25,1); }
.home-scene[data-room="kitchen"] .home-phone-parent { left: 78.75%; }
.home-mini-wave { display: flex; align-items: center; gap: 1px; height: 12px; }
.home-mini-wave i { display: block; width: 2px; height: 7px; border-radius: 2px; background: currentColor; }
.home-mini-wave i:nth-child(2), .home-mini-wave i:nth-child(4) { height: 11px; }
.home-mini-wave i:nth-child(3) { height: 5px; }
.home-scene-legend { display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 41px; padding: 9px 14px; color: var(--sage); font-size: 11px; line-height: 1.5; }
.home-scene-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.home-scene-legend .icon { width: 14px; height: 14px; }
.home-scene-legend > .icon { width: 23px; color: var(--peach); }
.home-scene-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.6; color: var(--muted); }
.home-scene-footer > span { display: inline-flex; align-items: center; gap: 6px; }
.home-scene-footer .icon { width: 15px; height: 15px; }
.home-scene-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.motion-enabled[data-motion="playing"] .home-scene.motion-active .home-signal-path { animation: home-signal-travel 2.6s linear infinite; }
.motion-enabled[data-motion="playing"] .home-scene.motion-active .home-mini-wave i { animation: home-phone-wave 1.7s ease-in-out infinite alternate; transform-origin: center; }
.motion-enabled[data-motion="playing"] .home-scene.motion-active .home-mini-wave i:nth-child(even) { animation-delay: -.65s; }
@keyframes home-signal-travel { to { stroke-dashoffset: -52; } }
@keyframes home-phone-wave { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
html[data-theme="night"] .everyday-section.home-scene { --home-soft: #2b4535; background: radial-gradient(ellipse at 85% 45%, #41533b42, transparent 60%), #20382c; border-color: #486143; box-shadow: none; }
html[data-theme="night"] .home-scene-canvas::before { background: radial-gradient(ellipse, #ddb17b24, transparent 67%); }
html[data-theme="night"] .home-house-art { filter: brightness(.88) saturate(.85); }
@media (max-width: 1050px) {
  .everyday-section.home-scene { padding: 36px 28px 25px; }
  .home-scene-layout { grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); gap: 0; }
  .home-scene-copy h2 { font-size: 38px; }
  .home-room-button { padding-inline: 12px; }
  .home-scene-legend { gap: 8px; padding-inline: 0; font-size: 10px; }
}
@media (max-width: 850px) {
  .everyday-section.home-scene { padding: 32px 25px 24px; }
  .home-scene-layout { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  .home-scene-copy { padding: 0; }
  .home-scene-copy h2 { font-size: clamp(32px, 5vw, 42px); }
  .home-scene-copy .eyebrow { margin-bottom: 14px; }
  .home-scene-intro { max-width: 440px; margin-top: 14px; }
  .home-chooser { margin-top: 20px; }
  .home-room-story { max-width: none; min-height: 111px; margin-top: 20px; padding-top: 16px; }
  .home-room-story p { max-width: 420px; }
  .home-scene-visual { width: 100%; max-width: 650px; align-self: center; }
  .home-nursery-label { font-size: 12px; }
  .home-room-hotspot { font-size: 12px; }
  .home-scene-legend { font-size: 11px; }
  .home-scene-footer { align-items: flex-start; }
}
@media (max-width: 480px) {
  .everyday-section.home-scene { padding: 28px 18px 22px; border-radius: 25px; }
  .home-scene-copy h2 { font-size: 34px; }
  .home-scene-intro { font-size: 13px; }
  .home-room-button { min-height: 46px; padding-inline: 13px; }
  .home-room-options { gap: 7px; }
  .home-room-story { min-height: 126px; }
  .home-room-story h3 { font-size: 16px; }
  .home-room-story p { font-size: 12px; }
  .home-scene-visual { width: calc(100% + 24px); max-width: none; margin-inline: -12px; }
  .home-nursery-label { top: 22%; font-size: 10px; }
  .home-nursery-label small { display: none; }
  .home-room-hotspot { top: 52%; min-width: 54px; padding-inline: 6px; font-size: 10px; }
  .home-room-hotspot[data-home-hotspot="living"] { left: 12%; }
  .home-room-hotspot[data-home-hotspot="kitchen"] { left: 53%; }
  .home-network-label { top: 0; right: 3%; padding: 4px 7px; font-size: 9px; }
  .home-network-label .icon { width: 12px; height: 12px; }
  .home-scene-legend { padding: 9px 6px; gap: 7px; font-size: 10px; }
  .home-scene-legend > span { gap: 4px; }
  .home-scene-legend > .icon { flex-shrink: 0; width: 18px; }
  .home-scene-legend > span:last-child { max-width: 126px; }
  .home-scene-footer { flex-direction: column; gap: 6px; margin-top: 14px; padding-top: 14px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-scene *, .home-scene *::before, .home-scene *::after { animation: none !important; transition: none !important; }
}
html[data-motion="paused"] .home-scene *, html[data-motion="paused"] .home-scene *::before, html[data-motion="paused"] .home-scene *::after { animation: none !important; transition: none !important; }
