
section[id] {
  scroll-margin-top: 5rem;
}

#contact {
  scroll-margin-top: calc(5.5rem - var(--section-y));
}

.section + .section {
  padding-top: 0;
}

.pillar-idx, .pillar-tag, .pillar-tags li, .hub-label span, .eco-out-eyebrow,
.stage-bar, .scene-tag, .story-num, .story-out span, .bento-idx,
.bento-meta, .viz-chip, .hw-label {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* grid behind key sections */
.hw-grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(238, 222, 196, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 222, 196, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 100%);
}

.hw-grid-bg > .container {
  position: relative;
  z-index: 1;
}

/* cursor-following glow on cards */
.spot {
  --mx: 50%;
  --my: 50%;
}

.spot > .spot-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(230, 169, 78, 0.1), transparent 45%);
  transition: opacity 0.4s ease;
}

.spot:hover .spot-layer {
  opacity: 1;
}

/* check bullet */
.chk {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(230, 169, 78, 0.55);
  background: rgba(230, 169, 78, 0.12);
}

.chk::after {
  content: "";
  width: 5px;
  height: 8px;
  border: solid var(--gold);
  border-width: 0 1.8px 1.8px 0;
  transform: translateY(-1px) rotate(42deg);
}

.live {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(230, 169, 78, 0.8);
  animation: hw-pulse 1.8s ease-in-out infinite;
}

@keyframes hw-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* HERO: planet with orbiting devices */
.hw-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  text-align: left;
}

.hw-hero h1 {
  margin: 0 0 1.4rem;
  max-width: none;
}

.hw-hero .lede {
  margin: 0 0 2.4rem;
}

.hw-hero .btn-row {
  justify-content: flex-start;
}

.hw-orbit {
  --size: min(440px, 36vw);
  position: relative;
  width: var(--size);
  height: var(--size);
  justify-self: center;
}

.orbit-glow {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(230, 169, 78, 0.22),
    rgba(196, 86, 47, 0.1) 40%,
    transparent 68%);
  animation: hw-breathe 6s ease-in-out infinite;
}

@keyframes hw-breathe {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-ring--outer {
  inset: 0;
  border: 1px solid var(--line-2);
}

.orbit-ring--inner {
  inset: 17%;
  border: 1px dashed rgba(230, 169, 78, 0.35);
  animation: hw-spin 40s linear infinite;
}

.orbit-ring--outer::before,
.orbit-ring--inner::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 12px var(--gold);
}

.orbit-ring--outer::before {
  bottom: -3.5px;
}

.orbit-ring--inner::before {
  top: -3.5px;
}

.orbit-planet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 40px rgba(230, 169, 78, 0.35));
}

/* the chips travel along the ring but never rotate themselves, which keeps
   them on the ring in Safari on iOS */
@property --orbit-turn {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

.orbit-spin {
  position: absolute;
  inset: 0;
}

.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform:
    rotate(calc(var(--a) + var(--orbit-turn, 0deg)))
    translateX(calc(var(--size) / 2))
    rotate(calc((var(--a) + var(--orbit-turn, 0deg)) * -1));
  animation: hw-orbit 60s linear infinite;
}

.orbit-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(27, 24, 23, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.orbit-chip .material-icons-outlined {
  font-size: 1.1rem;
  color: var(--gold);
}

@keyframes hw-spin {
  to { transform: rotate(360deg); }
}

@keyframes hw-orbit {
  to { --orbit-turn: 360deg; }
}

@media (max-width: 900px) {
  .hw-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hw-hero h1,
  .hw-hero .lede {
    margin-inline: auto;
  }

  .hw-hero .btn-row {
    justify-content: center;
  }

  .hw-orbit {
    --size: min(320px, 60vw);
    margin-top: 2.5rem;
  }
}

/* JUPITER SYSTEM */
.eco-diagram {
  position: relative;
}

.eco-pillars::before,
.eco-hub::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  z-index: 0;
  pointer-events: none;
  background: rgba(230, 169, 78, 0.45);
}

.eco-pillars::before {
  top: 40px;
  bottom: -96px;
  background: linear-gradient(180deg, transparent, rgba(230, 169, 78, 0.45) 10%, rgba(230, 169, 78, 0.45));
}

.eco-hub::after {
  top: 100%;
  height: 64px;
}

.eco-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: none;
  overflow: visible;
}

.eco-lines .base {
  fill: none;
  stroke: rgba(247, 241, 232, 0.12);
  stroke-width: 1.2;
  transition: stroke 0.3s ease;
}

.eco-lines .base.is-hot {
  stroke: rgba(230, 169, 78, 0.6);
  stroke-width: 1.6;
}

.eco-lines .sig {
  fill: none;
  stroke: url(#lineGold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 14 260;
  animation: hw-flow 3.2s linear infinite;
  animation-delay: var(--d, 0s);
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(230, 169, 78, 0.5));
}

.eco-lines .sig--out {
  stroke: var(--gold-soft);
  stroke-dasharray: 18 120;
  animation-duration: 2.2s;
}

.eco-lines .node {
  fill: var(--bg-1);
  stroke: rgba(230, 169, 78, 0.8);
  stroke-width: 1.5;
}

@keyframes hw-flow {
  from { stroke-dashoffset: 600; }
  to { stroke-dashoffset: 0; }
}

.eco-pillars {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.1rem;
}

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.9rem 1.7rem 2rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 169, 78, 0.35);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5);
}

.pillar > * {
  position: relative;
  z-index: 1;
}

.pillar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
}

.pillar-idx {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.pillar-tag {
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.pillar-ic {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
  border-radius: 14px;
  background: rgba(230, 169, 78, 0.13);
  color: var(--gold);
}

.pillar-ic .material-icons-outlined {
  font-size: 1.5rem;
}

.pillar-title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.pillar-text {
  margin-bottom: 1.3rem;
  font-size: 0.93rem;
  color: var(--ink-2);
  text-wrap: pretty;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  list-style: none;
}

.pillar-tags li {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.pillar-tags li::before {
  content: "/ ";
  color: var(--gold);
}

.eco-hub {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 96px auto 0;
  text-align: center;
}

.hub-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #241f1c, var(--bg-0) 72%);
  border: 1px solid rgba(230, 169, 78, 0.5);
  box-shadow: 0 0 0 8px rgba(230, 169, 78, 0.05), 0 0 60px rgba(230, 169, 78, 0.22), inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.hub-core img {
  width: 72px;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(230, 169, 78, 0.4));
}

.hub-ring {
  position: absolute;
  top: 56px;
  left: 50%;
  width: 154px;
  height: 154px;
  border-radius: 50%;
  border: 1px dashed rgba(230, 169, 78, 0.4);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: hw-hub-spin 26s linear infinite;
}

.hub-ring--2 {
  width: 200px;
  height: 200px;
  border: 1px solid var(--line);
  animation-duration: 40s;
  animation-direction: reverse;
}

.hub-ring--2::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  transform: translateX(-50%);
}

@keyframes hw-hub-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hub-label {
  margin-top: 58px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.hub-label span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.66rem;
  color: var(--gold);
}

.hub-label .hub-note {
  max-width: 36ch;
  margin: 0.8rem auto 0;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.55;
  color: var(--ink-2);
}

.eco-out {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin: 64px auto 0;
  padding: 1.9rem 1.9rem 2rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(230, 169, 78, 0.32);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(230, 169, 78, 0.12), transparent 60%),
    var(--bg-2);
  text-align: center;
}

.eco-out-eyebrow {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  color: var(--gold);
}

.eco-out-title {
  font-size: 1.45rem;
  margin-bottom: 1.2rem;
}

.eco-out-list {
  display: grid;
  gap: 0.65rem;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  list-style: none;
  text-align: left;
}

.eco-out-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--ink-2);
}

/* JUPITER METHOD */
.story-grid {
  display: grid;
  gap: 2.25rem;
}

.story-sticky {
  display: none;
}

.stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(230, 169, 78, 0.07), transparent 60%),
    linear-gradient(180deg, #1b1817, #0f0d0c);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5);
}

.stage-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--line);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: rgba(10, 9, 8, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.66rem;
  color: var(--ink-3);
}

.stage-bar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: hw-pulse 2s infinite;
}

.stage-bar-label {
  color: var(--ink);
}

.stage-bar-right {
  margin-left: auto;
}

.scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: 62px 22px 22px;
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.scene.is-active {
  opacity: 1;
  transform: none;
}

.scene-tag {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 3;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(10, 9, 8, 0.75);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}

/* floor plan with a scanning line */
.scan-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 50% 55%, #000 30%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 55%, #000 30%, transparent 75%);
}

.plan-svg {
  position: relative;
  display: block;
  width: 100%;
  height: calc(100% - 34px);
}

.plan-walls rect,
.plan-walls path {
  fill: none;
  stroke: rgba(247, 241, 232, 0.4);
  stroke-width: 2;
  stroke-linecap: round;
}

.plan-walls rect {
  fill: rgba(247, 241, 232, 0.02);
}

.plan-rooms text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--ink-3);
}

.plan-devs circle {
  fill: var(--gold);
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(230, 169, 78, 0.9));
}

.scene--plan.is-active .plan-devs circle {
  animation: hw-dev-in 0.5s ease forwards;
  animation-delay: var(--d, 0s);
}

@keyframes hw-dev-in {
  from { opacity: 0; transform: scale(0.3); transform-origin: center; transform-box: fill-box; }
  to { opacity: 1; transform: scale(1); transform-origin: center; transform-box: fill-box; }
}

.plan-scan {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 14px rgba(230, 169, 78, 0.7);
  animation: hw-scan 3.4s ease-in-out infinite;
}

@keyframes hw-scan {
  0%, 100% { top: 16%; }
  50% { top: 80%; }
}

/* network layout */
.net-svg {
  width: 100%;
  height: 100%;
}

.net-lines line {
  stroke: rgba(247, 241, 232, 0.14);
  stroke-width: 1.2;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}

.scene--net.is-active .net-lines line {
  animation: hw-draw 1.2s ease forwards;
}

@keyframes hw-draw {
  to { stroke-dashoffset: 0; }
}

.net-nodes circle {
  fill: #241f1c;
  stroke: rgba(217, 138, 60, 0.8);
  stroke-width: 1.5;
  opacity: 0;
}

.scene--net.is-active .net-nodes circle {
  animation: hw-dev-in 0.6s ease forwards;
  animation-delay: var(--d, 0s);
}

.net-nodes .net-core {
  stroke: var(--gold-soft);
  fill: #2a221c;
  filter: drop-shadow(0 0 12px rgba(230, 169, 78, 0.7));
}

/* proposal document */
.doc {
  position: relative;
  width: min(78%, 340px);
  height: calc(100% - 30px);
  margin: 0 auto;
  padding: 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #241f1c, #161312);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5);
}

.doc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.doc-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.doc-chip {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(230, 169, 78, 0.14);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.doc-lines {
  display: grid;
  gap: 0.6rem;
}

.doc-lines i {
  display: block;
  width: var(--w);
  height: 7px;
  border-radius: 4px;
  background: rgba(247, 241, 232, 0.1);
  transform: scaleX(0);
  transform-origin: left;
}

.scene--doc.is-active .doc-lines i {
  animation: hw-grow 0.8s ease forwards;
}

.scene--doc.is-active .doc-lines i:nth-child(2) { animation-delay: 0.1s; }
.scene--doc.is-active .doc-lines i:nth-child(3) { animation-delay: 0.2s; }

@keyframes hw-grow {
  to { transform: none; }
}

.doc-steps {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.3rem;
}

.doc-steps span {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.doc-steps span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}

.doc-steps span.done {
  color: var(--ink-2);
}

.doc-steps span.done::before {
  background: var(--gold);
  border-color: var(--gold);
}

.doc-steps span.now {
  color: var(--gold);
}

.doc-steps span.now::before {
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: hw-pulse 1.6s infinite;
}

.doc-seal {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: rgba(230, 169, 78, 0.1);
  color: var(--gold);
  transform: scale(0) rotate(-20deg);
}

.scene--doc.is-active .doc-seal {
  animation: hw-seal 0.6s ease 0.8s forwards;
}

@keyframes hw-seal {
  to { transform: scale(1) rotate(0); }
}

/* install progress */
.install {
  display: grid;
  gap: 1.1rem;
}

.dash-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.dash-tile {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(247, 241, 232, 0.02);
}

.dash-tile--gold {
  border-color: rgba(230, 169, 78, 0.45);
  background: rgba(230, 169, 78, 0.06);
}

.dash-k {
  overflow: hidden;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink-3);
}

.dash-v {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.dash-tile--gold .dash-v {
  color: var(--gold);
}

.prog {
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.prog li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.prog i {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(247, 241, 232, 0.07);
  overflow: hidden;
}

.prog i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
}

.scene--install.is-active .prog i::after {
  animation: hw-grow 1s ease forwards;
}

.scene--install.is-active .prog li:nth-child(2) i::after { animation-delay: 0.15s; }
.scene--install.is-active .prog li:nth-child(3) i::after { animation-delay: 0.3s; }
.scene--install.is-active .prog li:nth-child(4) i::after { animation-delay: 0.45s; }

/* tests */
.checks {
  display: grid;
  gap: 0.75rem;
  max-width: 360px;
  margin: 0.6rem auto 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(247, 241, 232, 0.02);
  font-size: 0.92rem;
  color: var(--ink-2);
  opacity: 0;
  transform: translateX(-12px);
}

.scene--check.is-active .checks li {
  animation: hw-slide-in 0.5s ease forwards;
  animation-delay: var(--d);
}

@keyframes hw-slide-in {
  to { opacity: 1; transform: none; }
}

.status-pill {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(230, 169, 78, 0.45);
  background: rgba(230, 169, 78, 0.08);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: hw-pulse 1.6s infinite;
}

/* dashboard mock-up */
.dash-shell {
  container-type: inline-size;
}

.dash-app {
  overflow: hidden;
  line-height: 1.25;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #141110;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.da-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 241, 232, 0.03);
}

.da-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(247, 241, 232, 0.18);
}

.da-url {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex: 1;
  min-width: 0;
  margin-left: 0.5rem;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  background: rgba(247, 241, 232, 0.05);
  font-size: 0.58rem;
  white-space: nowrap;
  color: var(--ink-3);
}

.da-url .material-icons-outlined {
  font-size: 0.7rem;
  color: var(--gold);
}

.da-body {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
}

.da-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0;
  border-right: 1px solid var(--line);
  background: rgba(10, 9, 8, 0.45);
}

.da-side .material-icons-outlined {
  padding: 0.25rem;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--ink-3);
}

.da-side .is-on {
  background: rgba(230, 169, 78, 0.12);
  color: var(--gold);
}

.da-mark {
  width: 14px;
  height: 14px;
  margin-bottom: 0.2rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f6e4bd, #e6a94e 40%, #8a4f24);
  box-shadow: 0 0 8px rgba(230, 169, 78, 0.5);
}

.da-main {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.7rem;
}

.da-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.da-title b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--ink);
}

.da-title small {
  font-size: 0.56rem;
  color: var(--ink-3);
}

.da-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(230, 169, 78, 0.1);
  font-size: 0.56rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--gold);
}

.da-status .live {
  width: 6px;
  height: 6px;
}

.da-status--alert {
  background: rgba(196, 86, 47, 0.16);
  color: #f0a07e;
}

.da-status--alert .live {
  background: #e0714f;
  box-shadow: 0 0 8px #e0714f;
}

.da-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
}

.da-kpi {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(247, 241, 232, 0.03);
}

.da-kpi small {
  overflow: hidden;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink-3);
}

.da-kpi b {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink);
}

.da-kpi em {
  overflow: hidden;
  font-size: 0.52rem;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink-3);
}

.da-kpi--alert {
  border-color: rgba(196, 86, 47, 0.45);
  background: rgba(196, 86, 47, 0.08);
}

.da-kpi--alert b,
.da-kpi--alert em {
  color: #f0a07e;
}

.da-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0.4rem;
}

.da-panel {
  min-width: 0;
  padding: 0.5rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(247, 241, 232, 0.02);
}

.da-ph {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 0.56rem;
  font-weight: 600;
  color: var(--ink-2);
}

.da-ph small {
  font-size: 0.5rem;
  font-weight: 500;
  color: var(--ink-3);
}

.da-chart {
  display: block;
  width: 100%;
  height: 62px;
}

.da-chart line {
  stroke: rgba(247, 241, 232, 0.07);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.da-area {
  fill: rgba(230, 169, 78, 0.14);
}

.da-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.da-line--b {
  stroke: rgba(247, 241, 232, 0.35);
  stroke-dasharray: 3 3;
}

.da-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 0.2rem;
  font-size: 0.46rem;
  color: var(--ink-3);
}

.da-events {
  display: grid;
  gap: 0.35rem;
  list-style: none;
}

.da-events li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem;
}

.da-events .material-icons-outlined {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(230, 169, 78, 0.12);
  font-size: 0.7rem;
  color: var(--gold);
}

.da-events li > span:nth-child(2) {
  display: grid;
  overflow: hidden;
  font-size: 0.56rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink);
}

.da-events small {
  font-size: 0.5rem;
  font-weight: 400;
  color: var(--ink-3);
}

.da-events time {
  font-family: var(--font-display);
  font-size: 0.5rem;
  color: var(--ink-3);
}

.da-events .is-alert .material-icons-outlined {
  background: rgba(196, 86, 47, 0.2);
  color: #f0a07e;
}

.da-events .is-alert small {
  color: #f0a07e;
}

@container (max-width: 440px) {
  .da-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .da-side {
    display: none;
  }

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

  .da-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .da-grid .da-panel + .da-panel {
    display: none;
  }
}

@container (max-width: 300px) {
  .da-grid {
    display: none;
  }
}

@container (max-width: 500px) {
  .scene--live .da-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .scene--live .da-side,
  .scene--live .da-grid {
    display: none;
  }

  .scene--live .da-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .scene--live .da-kpi {
    padding-inline: 0.45rem;
  }

  .scene--live .da-kpi small {
    letter-spacing: 0.04em;
  }
}

@container (max-width: 320px) {
  .scene--live .da-kpi {
    padding-inline: 0.35rem;
  }

  .scene--live .da-kpi small {
    font-size: 0.45rem;
    letter-spacing: 0;
  }
}

@container (max-width: 250px) {
  .scene--live .da-kpi {
    padding-inline: 0.2rem;
  }

  .scene--live .da-kpi small {
    font-size: 0.42rem;
  }
}

@container (max-width: 230px) {
  .scene--live .da-kpi em {
    display: none;
  }
}

.scene--live {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 58px;
}

.scene--live .dash-shell {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.story-scene-box {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0 0 1.25rem;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(230, 169, 78, 0.07), transparent 60%),
    linear-gradient(180deg, #1b1817, #0f0d0c);
}

.story-scene-box .scene {
  padding: 16px 14px 14px;
  opacity: 1;
  transform: none;
}

/* the smallest phones get a taller box so the scenes still fit */
@media (max-width: 359px) {
  .story-scene-box {
    aspect-ratio: 1 / 1;
  }

  .story-scene-box .dash-k {
    font-size: 0.5rem;
    letter-spacing: 0.04em;
  }
}

.story-scene-box .scene-tag {
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
}

.story-scene-box .status-pill,
.story-scene-box .doc-steps,
.story-scene-box .scene--check .scene-tag,
.story-scene-box .scene--live .scene-tag,
.story-scene-box .scene--install .scene-tag,
.story-scene-box .plan-rooms {
  display: none;
}

.story-scene-box .plan-svg {
  height: calc(100% - 30px);
}

.story-scene-box .net-svg {
  height: calc(100% - 34px);
  transform: translateY(-10%);
}

.story-scene-box .doc {
  width: 100%;
  height: calc(100% - 40px);
  padding: 0.9rem;
}

.story-scene-box .doc-head {
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
}

.story-scene-box .doc-chip {
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.story-scene-box .doc-lines {
  margin-right: 48px;
}

.story-scene-box .doc-seal {
  right: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
}

.story-scene-box .checks {
  gap: 0.45rem;
  margin-top: 0;
}

.story-scene-box .checks li {
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
}

.story-scene-box .dash-tile {
  grid-template-rows: 1fr auto;
  padding: 0.5rem;
}

.story-scene-box .dash-k {
  letter-spacing: 0.08em;
  line-height: 1.3;
  white-space: normal;
  text-overflow: clip;
}

.story-scene-box .dash-v {
  font-size: 0.92rem;
}

.story-scene-box .install {
  gap: 0.8rem;
}

.story-scene-box .prog {
  gap: 0.55rem;
}

.story-scene-box .prog li {
  grid-template-columns: 5.2rem 1fr;
  font-size: 0.6rem;
}

.story-scene-box .scene--live {
  padding-bottom: 14px;
}

.story-progress {
  display: none;
}

.story-steps {
  display: grid;
  gap: 1.25rem;
  list-style: none;
}

.story-step {
  position: relative;
  padding: 1.75rem 1.6rem 1.6rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(27, 24, 23, 0.55);
  transition: border-color 0.4s ease, background 0.4s ease, opacity 0.4s ease;
}

.story-step.is-active {
  border-color: rgba(230, 169, 78, 0.45);
  background: var(--bg-2);
}

.story-num {
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
}

.story-title {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.story-text {
  color: var(--ink-2);
}

.story-out {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.story-out span {
  font-size: 0.62rem;
  color: var(--ink-3);
}

/* SOLUTIONS: bento */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 169, 78, 0.35);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5);
}

.bento-card > * {
  position: relative;
  z-index: 1;
}

.bento-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 1.5rem 0;
}

.bento-idx {
  font-size: 0.68rem;
  color: var(--gold);
}

.bento-body {
  margin-top: auto;
  padding: 0 1.5rem 1.6rem;
}

.bento-title {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.bento-text {
  font-size: 0.93rem;
  color: var(--ink-2);
  text-wrap: pretty;
}

.bento-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.1rem;
  list-style: none;
}

.bento-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.bento-list .chk {
  margin-top: 1px;
}

.bento-list strong {
  display: block;
  font-weight: 600;
}

.bento-meta {
  margin-top: 1.1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.viz {
  position: relative;
  flex: 1;
  min-height: 150px;
  margin: 1.1rem 1.5rem;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(10, 9, 8, 0.55);
}

.viz-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(10, 9, 8, 0.75);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}

.viz-chip--tl { top: 10px; left: 10px; }
.viz-chip--br { bottom: 10px; right: 10px; color: var(--gold); }

/* network */
.viz-net svg {
  width: 100%;
  height: 100%;
}

.vn-lines path {
  fill: none;
  stroke: rgba(247, 241, 232, 0.13);
  stroke-width: 1.2;
}

.vn-pulse path {
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 10 200;
  stroke-dashoffset: 210;
  animation: hw-vnflow 3.6s linear infinite;
  animation-delay: var(--d);
  filter: drop-shadow(0 0 4px var(--gold));
}

@keyframes hw-vnflow {
  to { stroke-dashoffset: 0; }
}

.vn-nodes rect {
  fill: #241f1c;
  stroke: rgba(217, 138, 60, 0.65);
  stroke-width: 1.3;
}

.vn-core {
  fill: #2a221c;
  stroke: var(--gold-soft);
  stroke-width: 1.6;
  filter: drop-shadow(0 0 14px rgba(230, 169, 78, 0.55));
}

.vn-core-chk {
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* cameras with AI boxes */
.viz-cam {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px;
}

.cam {
  position: relative;
  min-height: 70px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #221d1a, #100e0d);
}

.cam::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(247, 241, 232, 0.05) 1px, transparent 1.4px);
  background-size: 10px 10px;
}

.cam-id {
  position: absolute;
  left: 8px;
  top: 7px;
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}

.cam-rec {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e0714f;
  box-shadow: 0 0 8px #e0714f;
  animation: hw-pulse 1.2s infinite;
}

.cam-box {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(230, 169, 78, 0.35);
  animation: hw-pulse 2.6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.cam-box b {
  position: absolute;
  left: -1.5px;
  top: 100%;
  margin-top: 3px;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--gold);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-accent);
  white-space: nowrap;
}

.cam-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(230, 169, 78, 0.9), transparent);
  animation: hw-cam-scan 3s linear infinite;
  animation-delay: var(--d, 0s);
}

@keyframes hw-cam-scan {
  from { top: -2px; }
  to { top: 100%; }
}

/* access + device event feed */
.viz-feed {
  display: grid;
  align-items: center;
  padding: 0.7rem;
}

.feed {
  display: grid;
  gap: 0.45rem;
  list-style: none;
}

.feed li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(247, 241, 232, 0.025);
  animation: hw-slide-in 0.5s ease both;
  animation-delay: var(--d, 0s);
}

.feed-ic {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(230, 169, 78, 0.12);
  font-size: 1rem;
  color: var(--gold);
}

.feed-t {
  display: grid;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.feed-t small {
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--ink-3);
}

.feed time {
  font-family: var(--font-display);
  font-size: 0.68rem;
  color: var(--ink-3);
}

.feed .is-alert {
  border-color: rgba(196, 86, 47, 0.5);
  background: rgba(196, 86, 47, 0.1);
}

.feed .is-alert .feed-ic {
  background: rgba(196, 86, 47, 0.2);
  color: #f0a07e;
}

.feed .is-alert small {
  color: #f0a07e;
}

/* light dashboard card */
.bento-card--light {
  border-color: transparent;
  background: var(--light-card);
  color: var(--light-ink);
}

.bento-card--light:hover {
  border-color: rgba(181, 98, 42, 0.35);
}

.bento-card--light .bento-idx {
  color: var(--light-accent);
}

.bento-card--light .bento-text {
  color: var(--light-ink-2);
}

.bento-card--light .bento-list li {
  color: var(--light-ink-2);
}

.bento-card--light .bento-list strong {
  color: var(--light-ink);
}

.bento-card--light .chk {
  border-color: rgba(181, 98, 42, 0.5);
  background: rgba(181, 98, 42, 0.1);
}

.bento-card--light .chk::after {
  border-color: var(--light-accent);
}

.bento-card--light .bento-meta {
  border-top-color: var(--light-line);
  color: var(--light-ink-3);
}

.bento-split {
  display: grid;
  gap: 0.5rem;
  flex: 1;
}

.bento-split .bento-body {
  margin-top: 0;
  padding-top: 1.2rem;
}

.viz-dash {
  position: relative;
  min-height: 0;
  padding: 1.1rem 6rem 1.6rem 1.1rem;
  overflow: visible;
  border-color: transparent;
  background: #1b1817;
}

.phone {
  position: absolute;
  right: 1rem;
  bottom: -2rem;
  z-index: 2;
  width: 148px;
  height: 296px;
  padding: 5px;
  border-radius: 28px;
  border: 1px solid rgba(247, 241, 232, 0.16);
  background: linear-gradient(160deg, #2c2724, #0c0b0a 55%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 10px 24px rgba(0, 0, 0, 0.3);
}

.ph-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 100%;
  padding: 1.5rem 0.5rem 0.4rem;
  overflow: hidden;
  border-radius: 23px;
  background: #141110;
  line-height: 1.25;
}

.ph-island {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 40px;
  height: 11px;
  border-radius: 999px;
  background: #050404;
  transform: translateX(-50%);
}

.ph-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.1rem 0.1rem;
}

.ph-head .da-mark {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0;
}

.ph-title {
  flex: 1;
  min-width: 0;
}

.ph-title b,
.ph-title small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ph-title b {
  font-family: var(--font-display);
  font-size: 0.62rem;
  color: var(--ink);
}

.ph-title small {
  font-size: 0.45rem;
  color: var(--ink-3);
}

.ph-bell {
  position: relative;
  font-size: 0.85rem;
  color: var(--ink-2);
}

.ph-bell::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e0714f;
  box-shadow: 0 0 6px #e0714f;
}

.ph-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem;
}

.ph-screen .da-kpi {
  padding: 0.4rem 0.45rem;
  border-radius: 7px;
}

.ph-screen .da-kpi small {
  font-size: 0.42rem;
  letter-spacing: 0.06em;
}

.ph-screen .da-kpi b {
  font-size: 0.82rem;
}

.ph-screen .da-panel {
  padding: 0.4rem 0.45rem;
  border-radius: 7px;
}

.ph-screen .da-ph {
  margin-bottom: 0.3rem;
  font-size: 0.5rem;
}

.ph-screen .da-ph small,
.ph-screen .da-events small,
.ph-screen .da-events time {
  font-size: 0.44rem;
}

.ph-screen .da-events {
  gap: 0.3rem;
}

.ph-screen .da-events .material-icons-outlined {
  width: 16px;
  height: 16px;
  font-size: 0.62rem;
}

.ph-screen .da-events li > span:nth-child(2) {
  font-size: 0.5rem;
}

.ph-tabs {
  display: flex;
  justify-content: space-around;
  margin-top: auto;
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
}

.ph-tabs .material-icons-outlined {
  padding: 0.18rem;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--ink-3);
}

.ph-tabs .is-on {
  background: rgba(230, 169, 78, 0.12);
  color: var(--gold);
}

.viz-note {
  position: absolute;
  top: calc(100% + 2.6rem);
  right: 1rem;
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--light-ink-3);
}

.phone-home {
  align-self: center;
  width: 40px;
  height: 3px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: rgba(247, 241, 232, 0.3);
}

/* OUR PRINCIPLE */
.manifest {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 5.5vw, 4.5rem);
  border-block: 1px solid var(--line);
  background: var(--bg-0);
}

.manifest-head {
  max-width: 1160px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.manifest-head h2 {
  text-wrap: balance;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee + .marquee {
  margin-top: 0.6rem;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  width: max-content;
  padding-inline: 1.05rem;
  animation: hw-marquee 38s linear infinite;
}

.marquee--rev .marquee-track {
  animation-direction: reverse;
  animation-duration: 46s;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes hw-marquee {
  to { transform: translateX(-50%); }
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.6rem + 4vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}

.marquee-track span.outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 241, 232, 0.35);
}

.marquee-track i {
  font-style: normal;
  font-size: 1.2rem;
  color: var(--gold);
}

/* CONTACT */
.contact-form-card {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(110% 70% at 50% 0%, rgba(230, 169, 78, 0.08), transparent 60%),
    var(--bg-2);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
}

.hw-form-grid {
  gap: 1.25rem;
}

.hw-head-wide,
.hw-head-wide p {
  max-width: none;
}

.hw-form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem 2rem;
  margin-top: 1.6rem;
}

.hw-form-foot .form-legal {
  flex: 1 1 18rem;
  margin: 0;
  text-wrap: balance;
}

.hw-form-foot .form-legal a {
  white-space: nowrap;
}

.hw-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.hw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hw-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(247, 241, 232, 0.03);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.hw-chip .material-icons-outlined {
  font-size: 1.1rem;
  color: var(--gold);
  transition: color 0.2s ease;
}

.hw-chip:hover {
  border-color: rgba(230, 169, 78, 0.7);
  color: var(--ink);
}

.hw-chip.is-on {
  border-color: transparent;
  background: var(--gold);
  color: var(--on-accent);
}

.hw-chip.is-on .material-icons-outlined {
  color: var(--on-accent);
}

/* Responsive */
@media (max-width: 1279px) {
  .hw-chip {
    gap: 0.35rem;
    padding: 0.5rem 0.75rem 0.5rem 0.6rem;
  }
}

@media (max-width: 719px) {
  .hw-form-foot .btn {
    width: 100%;
  }

  .viz-dash {
    padding: 1rem;
  }

  .phone {
    display: none;
  }

  .viz-note {
    position: static;
    margin-top: 0.75rem;
    text-align: right;
    white-space: normal;
    color: var(--ink-3);
  }
}

@media (min-width: 720px) and (max-width: 1279px) {
  .viz-dash {
    padding-right: 5rem;
  }

  .phone {
    width: 132px;
    height: 256px;
    border-radius: 24px;
  }

  .ph-screen {
    border-radius: 19px;
  }

  .ph-screen .da-events li + li {
    display: none;
  }

  .ph-head {
    gap: 0.3rem;
  }

  .ph-head .da-mark {
    width: 13px;
    height: 13px;
  }

  .ph-title b {
    font-size: 0.56rem;
  }

  .ph-title small {
    display: none;
  }

  .ph-bell {
    font-size: 0.75rem;
  }

  .ph-screen .da-kpi {
    padding-inline: 0.32rem;
  }

  .ph-screen .da-kpi small {
    font-size: 0.4rem;
    letter-spacing: 0;
  }
}

@media (min-width: 720px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento-card--net,
  .bento-card--light {
    grid-column: 1 / -1;
  }

  .bento-split {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
  }

  .bento-split .bento-body {
    padding-top: 1.6rem;
  }

  .viz-dash {
    margin: 1.4rem 1.5rem 1.4rem 0;
  }

  .viz-cam .cam {
    min-height: 80px;
  }
}

@media (min-width: 900px) {

  .eco-pillars::before,
  .eco-hub::after {
    display: none;
  }

  .eco-lines {
    display: block;
  }

  .eco-pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }

  .eco-hub {
    margin-top: 130px;
  }

  .eco-out {
    margin-top: 120px;
  }

  .story-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 4rem;
    align-items: start;
  }

  .story-sticky {
    display: block;
    position: sticky;
    top: max(7rem, calc(50vh - 250px));
    z-index: 2;
  }

  .story-progress {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.1rem;
    list-style: none;
  }

  .story-progress li {
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: var(--line-2);
    transition: background 0.4s ease;
  }

  .story-progress li.is-active {
    background: var(--gold);
    box-shadow: 0 0 10px rgba(230, 169, 78, 0.5);
  }

  .story-steps {
    gap: 1.6rem;
  }

  .story-step {
    padding: 2rem 1.9rem 1.8rem;
    opacity: 0.7;
  }

  .story-step.is-active {
    opacity: 1;
  }

  .story-title {
    font-size: 1.55rem;
  }

}

@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 1.25rem;
  }

  .bento-card {
    min-height: 0;
  }

  .bento-card--net {
    grid-column: span 8;
    grid-row: span 2;
  }

  .bento-card:nth-child(2),
  .bento-card:nth-child(3) {
    grid-column: span 4;
  }

  .bento-card--light {
    grid-column: 1 / -1;
  }

  .bento-card--net .viz {
    min-height: 280px;
  }
}

@media (hover: none) {
  .pillar:hover,
  .bento-card:hover {
    transform: none;
    border-color: var(--line);
    box-shadow: none;
  }

  .bento-card--light:hover {
    border-color: transparent;
  }

  .spot:hover .spot-layer {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .orbit-node,
  .orbit-ring--inner {
    animation: none;
  }

  .scene {
    transform: none;
  }

  .doc-lines i,
  .prog i::after {
    transform: none;
  }

  .checks li,
  .net-nodes circle,
  .plan-devs circle {
    opacity: 1;
    transform: none;
  }

  .doc-seal {
    transform: none;
  }
}