:root {
  --ink: #f3f8f2;
  --muted: #a4b6af;
  --paper: #07110e;
  --white: #ffffff;
  --panel: #101b17;
  --panel-2: #15231d;
  --panel-3: #1b2c25;
  --mist: #132821;
  --mint: #78d8b2;
  --teal: #55d0aa;
  --coral: #ff715c;
  --amber: #ffd166;
  --violet: #aa8cff;
  --sky: #78c8ee;
  --line: rgba(243, 248, 242, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
  font-family:
    "Noto Sans Thai", "Avenir Next", "Inter", "Noto Sans", system-ui,
    -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 16% 8%, rgba(85, 208, 170, 0.16), transparent 26vw),
    radial-gradient(circle at 86% 26%, rgba(170, 140, 255, 0.12), transparent 30vw),
    var(--paper);
  color: var(--ink);
}

:lang(th) {
  line-break: strict;
  word-break: normal;
}

h1,
h2,
h3,
p,
li,
button,
label,
small,
figcaption {
  overflow-wrap: break-word;
}

body::selection {
  background: var(--amber);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--coral);
}

.topbar {
  position: fixed;
  z-index: 40;
  top: 16px;
  left: 50%;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 56px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 17, 14, 0.72);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  padding: 8px 10px 8px 20px;
  backdrop-filter: blur(18px);
}

.brand {
  flex: 0 0 auto;
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(243, 248, 242, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(85, 208, 170, 0.18);
  color: var(--ink);
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 96vh;
  overflow: hidden;
  align-items: end;
  padding: 124px min(6vw, 72px) 28px;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 24, 20, 0.82), rgba(12, 24, 20, 0.16) 58%),
    linear-gradient(0deg, rgba(12, 24, 20, 0.72), rgba(12, 24, 20, 0) 38%);
}

.hero-copy {
  width: min(760px, 100%);
  color: var(--white);
  text-wrap: balance;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: clamp(0.82rem, 1.4vw, 0.98rem);
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd36f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 7.8rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.18;
}

p {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.72;
  text-wrap: pretty;
}

.meaning-title {
  text-wrap: balance;
}

.meaning-title .line {
  display: block;
  max-width: 100%;
}

.hero-copy p:last-child {
  width: min(700px, 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1120px, 100%);
  margin-top: 56px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 17, 14, 0.82);
  box-shadow: var(--shadow);
}

.hero-facts div {
  min-height: 150px;
  padding: clamp(18px, 3vw, 28px);
}

.hero-facts div + div {
  border-left: 1px solid var(--line);
}

.hero-facts span,
.load-meter span,
.story-step span,
.time-clock,
.hotspot-story span {
  display: block;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-facts strong {
  display: block;
  margin: 8px 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.5vw, 3.3rem);
  line-height: 1;
}

.hero-facts small {
  display: block;
  color: rgba(243, 248, 242, 0.72);
  font-size: 0.98rem;
  line-height: 1.48;
}

.chapter {
  padding: clamp(74px, 11vw, 140px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.lead {
  width: min(820px, 100%);
  margin-bottom: 42px;
  color: #bdcbc5;
  font-size: clamp(1.12rem, 2.1vw, 1.48rem);
}

.pain-band {
  background: linear-gradient(180deg, #07110e, #0b1713);
}

.pain-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.pain-switcher {
  display: grid;
  gap: 10px;
  align-self: center;
}

.pain-choice {
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 27, 23, 0.88);
  color: var(--ink);
  cursor: pointer;
  padding: 16px 18px;
  text-align: left;
  font-weight: 900;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.pain-choice span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.42;
}

.pain-choice:hover,
.pain-choice:focus-visible,
.pain-choice.is-active {
  border-color: rgba(85, 208, 170, 0.5);
  background: var(--mist);
  outline: none;
  transform: translateY(-2px);
}

.pain-visual {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 8px;
  background: #101b17;
  box-shadow: var(--shadow);
}

.pain-visual img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.pain-visual figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  background: rgba(7, 17, 14, 0.86);
  color: var(--ink);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.48;
}

.pain-copy {
  display: flex;
  min-height: 460px;
  flex-direction: column;
  justify-content: center;
  border-top: 5px solid var(--coral);
  background: linear-gradient(180deg, #171d18, #111b17);
  padding: clamp(22px, 3vw, 34px);
}

.pain-copy p {
  color: #b8c7c0;
}

.micro-stat {
  margin-top: 20px;
  border-left: 5px solid var(--amber);
  background: rgba(255, 255, 255, 0.06);
  padding: 14px 16px;
  color: #ecf5ef;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.5;
}

.scrolly {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: start;
  background: #101e1a;
  color: var(--white);
}

.scrolly-visual {
  position: sticky;
  top: 0;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  align-items: end;
  isolation: isolate;
}

.scrolly-visual::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(0deg, rgba(8, 19, 16, 0.84), rgba(8, 19, 16, 0.12) 50%),
    linear-gradient(90deg, rgba(8, 19, 16, 0.52), rgba(8, 19, 16, 0));
}

.scrolly-visual img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 240ms ease,
    transform 800ms ease;
}

.scene-overlay {
  width: min(680px, calc(100% - 48px));
  margin: 0 0 54px clamp(24px, 5vw, 70px);
}

.scene-overlay span {
  color: #ffd36f;
  font-size: clamp(1.4rem, 4vw, 3.2rem);
  font-weight: 950;
}

.scene-overlay h2 {
  margin: 8px 0 14px;
}

.scene-overlay p {
  color: rgba(255, 255, 255, 0.86);
}

.scrolly-steps {
  display: grid;
  gap: 22vh;
  padding: 22vh clamp(24px, 5vw, 68px);
}

.story-step {
  min-height: 360px;
  border-left: 6px solid rgba(255, 255, 255, 0.22);
  padding: 18px 0 18px 28px;
  opacity: 0.48;
  transition:
    opacity 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.story-step.is-active {
  border-color: var(--amber);
  opacity: 1;
  transform: translateX(4px);
}

.story-step h3 {
  color: var(--white);
}

.story-step p {
  color: rgba(255, 255, 255, 0.78);
}

.home-band {
  background: linear-gradient(180deg, #0b171b, #091411);
}

.home-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 36px;
}

.house {
  position: relative;
  display: grid;
  min-height: 570px;
  overflow: hidden;
  grid-template-columns: 1.05fr 0.75fr 0.62fr;
  grid-template-rows: 1.05fr 0.86fr;
  grid-template-areas:
    "living living entry"
    "bed kitchen bath";
  border: 1px solid rgba(243, 248, 242, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #0f211f;
  background-size: 46px 46px;
  box-shadow: var(--shadow);
}

.room {
  position: relative;
  display: grid;
  min-width: 0;
  align-items: start;
  border: 2px solid rgba(243, 248, 242, 0.18);
  padding: 18px;
}

.room span {
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(7, 17, 14, 0.76);
  padding: 8px 12px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.room-living {
  grid-area: living;
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.18), transparent 48%),
    #12251d;
}

.room-entry {
  grid-area: entry;
  background:
    linear-gradient(140deg, rgba(85, 208, 170, 0.2), transparent 54%),
    #0f241f;
}

.room-bed {
  grid-area: bed;
  background:
    linear-gradient(120deg, rgba(170, 140, 255, 0.2), transparent 54%),
    #17172a;
}

.room-kitchen {
  grid-area: kitchen;
  background:
  linear-gradient(120deg, rgba(255, 113, 92, 0.18), transparent 54%),
    #251a17;
}

.room-bath {
  grid-area: bath;
  background:
    linear-gradient(120deg, rgba(120, 200, 238, 0.18), transparent 54%),
    #10202a;
}

.room-living i {
  position: absolute;
  right: 19%;
  bottom: 18%;
  width: 46%;
  height: 8px;
  border-radius: 999px;
  background: rgba(85, 208, 170, 0.36);
}

.hotspot {
  position: absolute;
  z-index: 3;
  left: var(--x);
  top: var(--y);
  display: grid;
  width: 76px;
  min-width: 0;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  place-items: center;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: #0a1512;
  box-shadow:
    0 0 0 10px rgba(255, 113, 92, 0.18),
    0 18px 30px rgba(0, 0, 0, 0.26);
  color: var(--white);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.1;
  padding: 0 8px;
  text-align: center;
}

.hotspot::after {
  position: absolute;
  inset: -17px;
  border: 2px solid rgba(255, 113, 92, 0.28);
  border-radius: 50%;
  content: "";
}

.hotspot:hover,
.hotspot:focus-visible,
.hotspot.is-active {
  background: var(--coral);
  box-shadow:
    0 0 0 12px rgba(255, 113, 92, 0.28),
    0 20px 38px rgba(0, 0, 0, 0.34);
  outline: none;
}

.hotspot-story {
  display: flex;
  min-height: 570px;
  flex-direction: column;
  justify-content: center;
  border-radius: 8px;
  background: var(--panel);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.day-band {
  background: linear-gradient(180deg, #141108, #0b1713);
}

.time-lens {
  display: grid;
  gap: 28px;
  margin-top: 34px;
}

.time-lens label {
  display: grid;
  gap: 14px;
  color: var(--ink);
  font-size: clamp(2.2rem, 8vw, 7rem);
  font-weight: 950;
  line-height: 1;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--coral);
}

.time-scene {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

.time-clock {
  display: grid;
  aspect-ratio: 1;
  width: min(180px, 100%);
  place-items: center;
  border: 12px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  font-size: clamp(2.6rem, 6vw, 5.6rem);
}

.friction-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.friction-row span {
  min-height: 84px;
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(22, 32, 29, 0.08);
}

.care-band {
  background: linear-gradient(180deg, #110f1c, #0b1713);
}

.care-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
  align-items: center;
}

.care-photo {
  margin: 0;
}

.care-photo img {
  width: 100%;
  min-height: 580px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.care-photo figcaption {
  margin-top: 14px;
  color: #aebbb6;
  font-size: 0.95rem;
  line-height: 1.58;
}

.toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.toggle-grid label {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(170, 140, 255, 0.26);
  border-radius: 8px;
  background: rgba(16, 27, 23, 0.88);
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.38;
}

.toggle-grid input {
  width: 22px;
  height: 22px;
  accent-color: var(--violet);
  flex: 0 0 auto;
}

.load-meter {
  display: grid;
  gap: 10px;
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
  box-shadow: var(--shadow);
}

.load-meter strong {
  color: var(--violet);
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 0.9;
}

.meter-track {
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #2a2342;
}

.meter-track i {
  display: block;
  width: 66%;
  height: 100%;
  border-radius: inherit;
  background: var(--violet);
  transition: width 220ms ease;
}

.load-meter p {
  margin: 0;
}

.future-band {
  background: linear-gradient(180deg, #071715, #07110e);
}

.lens-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 24px;
}

.lens-tab {
  min-height: 46px;
  border: 1px solid rgba(85, 208, 170, 0.24);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  padding: 0 18px;
  font-weight: 900;
}

.lens-tab:hover,
.lens-tab:focus-visible,
.lens-tab.is-active {
  background: var(--teal);
  color: var(--white);
  outline: none;
}

.lens-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 30px;
  align-items: stretch;
}

.future-scene {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(243, 248, 242, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(243, 248, 242, 0.08) 1px, transparent 1px),
    #0e211c;
  background-size: 52px 52px;
  box-shadow: var(--shadow);
}

.future-scene::before {
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(243, 248, 242, 0.12);
  border-radius: 28px;
  background: radial-gradient(circle at 52% 58%, rgba(85, 208, 170, 0.12), transparent 34%);
  content: "";
}

.future-scene::after {
  position: absolute;
  left: 11%;
  right: 10%;
  bottom: 13%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), rgba(255, 113, 92, 0.12));
  content: "";
}

.future-house {
  position: absolute;
  right: 11%;
  bottom: 13%;
  z-index: 2;
  width: min(330px, 42%);
  height: 54%;
  border: 7px solid rgba(243, 248, 242, 0.34);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: rgba(255, 255, 255, 0.06);
}

.house-roof {
  position: absolute;
  top: -44px;
  left: -9%;
  width: 118%;
  height: 72px;
  clip-path: polygon(50% 0, 100% 78%, 0 78%);
  background: rgba(243, 248, 242, 0.34);
}

.house-window,
.house-door {
  position: absolute;
  border: 5px solid rgba(243, 248, 242, 0.34);
  border-radius: 8px;
  background: rgba(7, 17, 14, 0.42);
}

.house-window {
  top: 26%;
  width: 20%;
  height: 18%;
}

.window-a {
  left: 15%;
}

.window-b {
  right: 15%;
}

.house-door {
  right: 14%;
  bottom: 0;
  width: 24%;
  height: 37%;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.house-rail,
.house-ramp {
  position: absolute;
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(85, 208, 170, 0.62);
}

.house-rail {
  left: 15%;
  bottom: 35%;
  width: 48%;
}

.house-ramp {
  right: 22%;
  bottom: 5%;
  width: 58%;
  background: var(--coral);
  transform: rotate(-8deg);
  transform-origin: right center;
}

.future-chip {
  position: absolute;
  z-index: 3;
  display: grid;
  min-width: 96px;
  min-height: 44px;
  place-items: center;
  border: 2px solid rgba(243, 248, 242, 0.72);
  border-radius: 999px;
  background: rgba(7, 17, 14, 0.9);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 950;
  box-shadow:
    0 0 0 10px rgba(243, 248, 242, 0.08),
    0 18px 32px rgba(0, 0, 0, 0.26);
}

.chip-home {
  right: 19%;
  bottom: 46%;
  background: var(--teal);
}

.chip-clinic {
  left: 14%;
  top: 20%;
  background: #14231f;
}

.chip-shop {
  left: 33%;
  bottom: 25%;
  background: #17132a;
}

.chip-community {
  left: 17%;
  bottom: 43%;
  background: #23150f;
}

.future-link {
  position: absolute;
  z-index: 1;
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(243, 248, 242, 0.28);
  transform-origin: left center;
}

.link-a {
  left: 27%;
  top: 26%;
  width: 43%;
  transform: rotate(16deg);
}

.link-b {
  left: 39%;
  bottom: 29%;
  width: 30%;
  transform: rotate(-8deg);
}

.link-c {
  left: 27%;
  bottom: 47%;
  width: 39%;
  transform: rotate(33deg);
}

.lens-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 5px solid var(--teal);
  background: var(--panel);
  padding: clamp(24px, 4vw, 44px);
}

.lens-copy ul {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.lens-copy li {
  border-left: 5px solid var(--amber);
  background: rgba(255, 209, 102, 0.09);
  padding: 12px 14px;
  color: #f1f6ef;
  font-weight: 780;
  line-height: 1.5;
}

.closing-band {
  background: #050908;
  color: var(--white);
}

.closing {
  width: min(940px, calc(100% - 40px));
}

.closing h2 {
  color: var(--white);
}

.closing p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  background: #030605;
  color: rgba(255, 255, 255, 0.76);
  padding: 42px min(6vw, 72px);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.site-footer strong {
  width: 100%;
  color: var(--white);
  font-size: 0.92rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffd36f;
  outline: none;
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    border-radius: 24px;
    flex-wrap: wrap;
    padding: 14px 16px;
  }

  .nav-links {
    overflow-x: auto;
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 94vh;
    padding-top: 150px;
  }

  .hero-facts,
  .pain-layout,
  .home-explorer,
  .care-grid,
  .lens-stage {
    grid-template-columns: 1fr;
  }

  .hero-facts div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .pain-switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scrolly {
    display: block;
  }

  .scrolly-visual {
    min-height: 76vh;
  }

  .scrolly-steps {
    gap: 40px;
    padding: 48px 24px 74px;
  }

  .story-step {
    min-height: 0;
  }

  .care-photo img {
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  .topbar {
    position: absolute;
    top: 10px;
    width: calc(100% - 20px);
    transform: translateX(-50%);
  }

  .brand {
    width: 100%;
    font-size: 0.9rem;
  }

  .nav-links a {
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 92vh;
    padding: 166px 20px 18px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.9rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(1.72rem, 9vw, 3.1rem);
  }

  .hero-facts {
    margin-top: 32px;
  }

  .hero-facts div {
    min-height: 120px;
  }

  .section-inner,
  .closing {
    width: calc(100% - 28px);
  }

  .pain-switcher,
  .toggle-grid,
  .friction-row,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .pain-visual,
  .pain-visual img,
  .house,
  .hotspot-story,
  .future-scene {
    min-height: 430px;
  }

  .house {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, minmax(86px, 1fr));
    grid-template-areas:
      "living"
      "entry"
      "bed"
      "kitchen"
      "bath";
  }

  .room-living {
    grid-column: auto;
  }

  .hotspot {
    width: 58px;
    font-size: 0.78rem;
    padding: 0 6px;
  }

  .hotspot[data-hotspot="door"] {
    left: 78%;
    top: 30%;
  }

  .hotspot[data-hotspot="bed"] {
    left: 78%;
    top: 50%;
  }

  .hotspot[data-hotspot="kitchen"] {
    left: 78%;
    top: 70%;
  }

  .hotspot[data-hotspot="bath"] {
    left: 78%;
    top: 90%;
  }

  .time-scene {
    grid-template-columns: 1fr;
  }

  .time-clock {
    width: 132px;
  }

  .scene-overlay {
    width: calc(100% - 32px);
    margin: 0 16px 32px;
  }

  .care-photo img {
    min-height: 330px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
