/* ==========================================================================
   DW WiFi · home.css · the home page only (HOME builder owns this file)
   Reads the shell tokens in site.css. Sections, top to bottom:
     1 Arrival scene: 1a parallax hero, 1b Survey Walk (signature), pinned together
     8 CabinetPro proof + cafe Lottie (rises over the finished walk)
     3 Why choose DW WiFi             6 Services + scene-a Lottie
     4 Environments bento             7 Cambium reseller stage
     5 Expertise / Reliability / Economics band
     9 Contact + green-wifi Lottie
   Every animated thing has a visible resting state and a reduced-motion
   fallback (section 10). No em-dashes, no tracked uppercase kickers.
   ========================================================================== */

/* 1 Arrival scene ----------------------------------------------------------- */
/* One stage, two moments. Without .is-pinned (no JS, reduced motion, screens under
   560px tall) the hero and the finished Survey Walk simply stack. home.js adds
   .is-pinned: the stage sticks under the header for two viewports of scroll, the
   hero hands over to the walk in the first, and the proof section slides up over
   the finished map in the second. No ancestor of .scene-sticky may clip (body uses
   overflow-x: clip, which is safe). */
.scene { position: relative; z-index: 0; background: var(--navy-950); }
.scene-sticky { position: relative; }
.scene.is-pinned { height: calc(300vh - 2 * var(--header-h)); height: calc(300svh - 2 * var(--header-h)); }
.scene.is-pinned .scene-sticky {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  overflow: hidden; /* on the sticky box itself, never an ancestor: safe */
}
.scene-dim { display: none; }
.scene.is-pinned .scene-dim {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #030C17;
  opacity: 0;
  pointer-events: none;
}
/* the next section rises over the pinned, finished map like a card */
.scene.is-pinned + .section {
  position: relative;
  z-index: 1;
  margin-top: calc(-100vh + var(--header-h));
  margin-top: calc(-100svh + var(--header-h));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: 0 -30px 60px -28px rgba(0, 0, 0, .6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh; /* a full screen: the stage never shows below it, and the next section starts on a screen edge */
  min-height: 100svh;
  padding-top: calc(var(--section-y) + var(--header-h) * .5); /* it lands under the header */
}
.scene.is-pinned + .section > .container { width: 100%; }

/* 1a Hero ---------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  min-height: 35rem;
  max-height: 72rem;
  overflow: hidden; /* no sticky inside the hero */
  background: var(--navy-950);
}
.scene.is-pinned .hero { position: absolute; inset: 0; height: auto; min-height: 0; max-height: none; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-plate {
  position: absolute;
  inset: 0;
  transform: scale(1.04);
  transform-origin: 50% 43.5%;
  will-change: transform;
}
.hero-plate picture, .hero-still, .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-still, .hero-video { object-fit: cover; object-position: 50% 50%; }
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }

/* the five logo loops: one lime at the logo's own 100/80/60/40/20 steps,
   radiating up and right out of the lime light at the vanishing point */
.hero-loops {
  position: absolute;
  left: 50%;
  top: 43.5%;
  width: clamp(34rem, 58vw, 70rem);
  height: auto;
  overflow: visible;
  transform: translate(-15%, -80%); /* (150, 560) of the viewBox sits on the light */
  pointer-events: none;
}
.loop path { fill: var(--lime-500); fill-rule: evenodd; }
.loop { opacity: calc((1 - var(--k) * .2) * .62); }
@media (prefers-reduced-motion: no-preference) {
  .loop path { animation: loop-in 1.1s var(--ease-out) both; animation-delay: calc(.25s + var(--k) * .12s); }
}
@keyframes loop-in { from { opacity: 0; } }

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 43.5%, rgba(165, 193, 108, .30) 0, rgba(136, 174, 62, .10) 4.5rem, rgba(136, 174, 62, 0) 11rem),
    linear-gradient(90deg, rgba(7, 27, 49, .92) 0%, rgba(7, 27, 49, .72) 30%, rgba(7, 27, 49, .18) 58%, rgba(7, 27, 49, 0) 72%),
    linear-gradient(180deg, rgba(7, 27, 49, .45) 0%, rgba(7, 27, 49, 0) 22%, rgba(7, 27, 49, 0) 58%, rgba(7, 27, 49, .78) 86%, var(--navy-950) 100%);
}
/* the walk's ground: JS raises it as the camera pushes into the aisle */
.hero-veil {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(ellipse 90% 80% at 62% 55%, rgba(12, 43, 77, .9), var(--navy-950) 70%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding-top: clamp(2rem, 1rem + 4vh, 4rem);
  padding-bottom: clamp(1.25rem, .75rem + 2vh, 2.25rem);
}
.hero-copy { max-width: 44rem; margin-block: auto; will-change: transform, opacity; }
.hero-title {
  max-width: 11.5em;
  font-weight: 750;
  letter-spacing: -0.032em;
  line-height: 1;
  color: var(--white);
}
.hero-lead {
  max-width: 33em;
  margin-top: clamp(1.1rem, .8rem + 1vw, 1.6rem);
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: #D5DEE8; /* 11.9:1 on navy-950 */
}
.hero-ctas { margin-top: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); }
.hero-ctas .btn-ghost { border-color: rgba(255, 255, 255, .45); background: rgba(7, 27, 49, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.hero-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-pillars { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 0; list-style: none; margin: 0; padding: 0; }
.hero-pillars li { display: inline-flex; align-items: center; font-size: .9375rem; font-weight: 500; color: var(--fog); }
.hero-pillars li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-inline: 1rem;
  border-radius: 50%;
  background: var(--lime-500);
}
.hero-cue {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding-inline: .25rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
}
.hero-cue .icon { width: 1.1em; height: 1.1em; color: var(--lime-300); }
.hero-cue:hover { text-decoration: underline; text-decoration-color: var(--lime-500); text-decoration-thickness: 2px; text-underline-offset: .22em; }
@media (prefers-reduced-motion: no-preference) {
  .hero-cue .icon { animation: cue 1.6s var(--ease-in-out) 1.4s 3 both; }
}
@keyframes cue { 50% { transform: translateY(4px); } }

@media (max-width: 699px), (max-width: 1080px) and (orientation: portrait) {
  .hero { min-height: 36rem; }
  .hero-loops { top: 62%; width: 30rem; transform: translate(-15%, -80%) scale(.9); }
  .loop { opacity: calc((1 - var(--k) * .2) * .42); }
  .hero-shade {
    background:
      radial-gradient(circle at 50% 62%, rgba(165, 193, 108, .30) 0, rgba(136, 174, 62, .08) 3.5rem, rgba(136, 174, 62, 0) 8rem),
      linear-gradient(180deg, rgba(7, 27, 49, .9) 0%, rgba(7, 27, 49, .74) 38%, rgba(7, 27, 49, .3) 60%, rgba(7, 27, 49, .55) 78%, var(--navy-950) 100%);
  }
  .hero-plate { transform-origin: 50% 62%; }
  .hero-inner { padding-top: 2rem; }
  .hero-copy { margin-block: 0 auto; }
  .hero-title { font-size: clamp(2.6rem, 1.2rem + 6.4vw, 3.25rem); line-height: 1.02; }
  .hero-lead { font-size: 1.0625rem; }
  .hero-ctas { flex-wrap: nowrap; }
  .hero-ctas .btn { flex: 1 1 0; padding-inline: .9rem; min-height: 52px; font-size: 1rem; }
  .hero-ctas .btn-ghost .icon { display: none; }
  .hero-pillars { flex-direction: column; align-items: flex-start; }
  .hero-pillars li { font-size: .875rem; }
  .hero-pillars li::before, .hero-pillars li + li::before {
    content: "";
    width: 5px;
    height: 5px;
    margin: 0 .6rem 0 0;
    border-radius: 50%;
    background: var(--lime-500);
  }
  .hero-cue { display: none; }
  .hero-base { padding-top: .9rem; }
}
@media (max-width: 359px) {
  .hero-ctas { flex-wrap: wrap; }
}
@media (min-width: 700px) and (max-width: 1279px) {
  .hero-copy { max-width: 36rem; }
}
@media (min-width: 700px) and (max-width: 1080px) and (orientation: portrait) {
  .hero-inner { padding-top: clamp(3rem, 6vh, 5rem); }
  .hero-title { font-size: clamp(3.25rem, 1rem + 5.4vw, 4.5rem); }
  .hero-lead { font-size: var(--fs-lead); }
  .hero-ctas .btn { flex: 0 1 auto; padding-inline: 1.75rem; }
  .hero-loops { width: 44rem; }
  .hero-pillars { flex-direction: row; }
  .hero-pillars li::before { display: none; }
  .hero-pillars li + li::before { display: block; margin: 0 1rem; }
}


/* 1b Survey Walk (SIGNATURE moment 1) --------------------------------------------- */
.walk {
  --walk-plan: #0A2440;            /* plan paper, between navy-950 and navy-900 */
  --walk-ink: #F4F7FA;
  --walk-ink-soft: rgba(244, 247, 250, .78);
  position: relative;
  z-index: 1;
  background: var(--navy-950);
}
.scene.is-pinned .walk { position: absolute; inset: 0; z-index: 2; background: none; opacity: 0; pointer-events: none; }
.scene.is-pinned .walk.is-on { pointer-events: auto; }
.walk-grid {
  display: grid;
  grid-template-columns: minmax(18rem, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1.75rem, 4.5vw, 4.5rem);
  max-width: calc(var(--container-wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.scene.is-pinned .walk-grid { height: 100%; padding-block: clamp(1.25rem, 4vh, 3rem); will-change: transform; }
.scene.is-pinned .walk-copy, .scene.is-pinned .walk-stage { will-change: transform; }

.beats { display: grid; gap: 2.25rem; margin: 0; padding: 0; list-style: none; }
.scene.is-pinned .beats { gap: 0; }
.scene.is-pinned .beat {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
  pointer-events: none;
}
.scene.is-pinned .beat.is-active { opacity: 1; transform: none; pointer-events: auto; }
.beat h3 {
  margin: 0 0 .9rem;
  font-size: clamp(1.65rem, 1.05rem + 2vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--white);
}
.beat h3 em { font-style: normal; color: var(--lime-300); }
.beat p { max-width: 30em; font-size: clamp(1rem, .94rem + .3vw, 1.15rem); line-height: 1.55; color: var(--walk-ink-soft); }

.walk-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.9rem; }

/* the four steps: one continuous track (never a dash ornament); each label jumps the walk there */
.walk-steps { display: none; }
.scene.is-pinned .walk-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.9rem 0 0;
  padding: 0;
  list-style: none;
}
.walk-steps::before, .walk-steps::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; border-radius: 3px; pointer-events: none; }
.walk-steps::before { right: 0; background: rgba(255, 255, 255, .12); }
.walk-steps::after { width: calc(var(--prog, 0) * 100%); background: var(--lime-500); }
.walk-steps button {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: .85rem .25rem .35rem 0;
  border: 0;
  background: none;
  color: rgba(244, 247, 250, .6);
  font: inherit;
  font-size: .8125rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color .3s;
}
.walk-steps button:hover { color: var(--walk-ink); }
.walk-steps button:focus-visible { outline: 2px solid var(--lime-300); outline-offset: 2px; border-radius: 4px; }
.walk-steps li.is-on button { color: var(--walk-ink); }
.walk-steps li.is-now button { font-weight: 650; }

.walk-stage { margin: 0; min-width: 0; }
.scene.is-pinned .walk-stage { width: min(100%, calc((100svh - var(--header-h) - 8rem) * 1.4286)); justify-self: center; transform-origin: 50% 100%; }
.plan-wrap { position: relative; }
.plan {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 700;
  overflow: hidden;
  border-radius: 20px;
  background-color: var(--walk-plan);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.plan-art {
  position: absolute;
  inset: 0;
  background-color: var(--walk-plan);
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 5% 7.142857%;
}
html:not(.js) .plan-art {
  background-image: url("../img/home/walk-poster.webp");
  background-size: cover;
}
html:not(.js) .hud, html:not(.js) .palette { display: none; }
.plan-art canvas, .plan-art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.plan-label { position: absolute; transform: translate(-50%, -50%); font-size: 12px; font-weight: 500; line-height: 1.2; color: rgba(244, 247, 250, .86); text-shadow: 0 1px 2px rgba(7, 27, 49, .9), 0 0 8px rgba(7, 27, 49, .7); white-space: nowrap; pointer-events: none; }
.plan-label.is-vertical { writing-mode: vertical-rl; transform: translate(-50%, -50%) rotate(180deg); }
.ap-pill {
  position: absolute;
  transform: translate(-50%, calc(-100% - 16px));
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--walk-ink);
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.plan.is-report .ap-pill { opacity: 1; }
/* one readout bar (never loose pills over the wall line), parts split by a dot */
.hud {
  position: absolute;
  left: 14px;
  top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: calc(100% - 28px);
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(7, 27, 49, .88);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6);
}
.hud span {
  color: var(--walk-ink);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums slashed-zero;
  white-space: nowrap;
}
.hud span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 9px 2px; border-radius: 50%; background: rgba(244, 247, 250, .45); vertical-align: middle; }
.hud b { color: var(--lime-300); font-weight: 600; }

/* a real photo from a DW survey, clipped to the finished map like a page of the report */
.walk-photo {
  position: absolute;
  z-index: 2;
  top: -1.5rem;
  right: .75rem;
  width: clamp(6.75rem, 21%, 10.5rem);
  margin: 0;
  padding: .45rem .45rem .55rem;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 28px 50px -20px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .25);
  transform: rotate(3deg);
}
.walk-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 7px; }
.walk-photo-cap { display: block; margin-top: .45rem; padding-inline: .15rem; font-size: .75rem; font-weight: 600; line-height: 1.3; color: var(--navy-900); }
.scene.is-pinned .walk-photo {
  opacity: 0;
  transform: translate3d(0, 28px, 0) rotate(9deg) scale(.9);
  transition: opacity .45s var(--ease-out), transform .8s cubic-bezier(.16, 1, .3, 1);
}
.scene.is-pinned .plan-wrap.is-report .walk-photo { opacity: 1; transform: rotate(3deg); }

.plan-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 12px; }
.legend { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--walk-ink-soft); }
.legend i { display: block; width: 120px; height: 8px; border-radius: 8px; background: var(--legend, linear-gradient(90deg, #104D20, #88AE3E, #F2F9E0)); }
.palette { display: inline-flex; padding: 3px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; }
.palette button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--walk-ink-soft);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
}
.palette button[aria-pressed="true"] { background: rgba(255, 255, 255, .12); color: var(--walk-ink); }
.palette button:focus-visible { outline: 2px solid var(--lime-300); outline-offset: 2px; }
.walk-stage figcaption { margin-top: 8px; font-size: 13px; color: rgba(244, 247, 250, .66); }

/* plan drawing */
.wall-ext { stroke: rgba(244, 247, 250, .78); stroke-width: 5; fill: none; stroke-linecap: square; }
.wall-block { stroke: rgba(244, 247, 250, .62); stroke-width: 4; stroke-linecap: square; }
.wall-board { stroke: rgba(244, 247, 250, .42); stroke-width: 2.5; stroke-linecap: square; }
.rack { fill: rgba(244, 247, 250, .07); stroke: rgba(244, 247, 250, .36); stroke-width: 1.6; }
.core { fill: url(#walk-hatch); stroke: rgba(244, 247, 250, .62); stroke-width: 3; }
.shutter { stroke: rgba(244, 247, 250, .45); stroke-width: 2.5; stroke-dasharray: 8 7; }
.trail { fill: none; stroke: #B4D96A; stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .95; transition: opacity .5s; }
.trail.is-past { opacity: .3; }
.plan.is-report .trail { opacity: 0; }
.ap { opacity: 0; transition: opacity .35s; }
.ap.is-placed { opacity: 1; }
.ap .legs line { stroke: rgba(244, 247, 250, .85); stroke-width: 2.4; stroke-linecap: round; }
.ap .disc { fill: var(--walk-ink); stroke: var(--lime-500); stroke-width: 3.5; }
.ap .unit { fill: var(--walk-ink); opacity: 0; transition: opacity .4s; }
.ap .unit-dot { fill: var(--lime-500); opacity: 0; transition: opacity .4s; }
.plan.is-report .ap .legs, .plan.is-report .ap .disc { opacity: 0; transition: opacity .4s; }
.plan.is-report .ap .unit, .plan.is-report .ap .unit-dot { opacity: 1; }
.ap .drop { transform-box: fill-box; transform-origin: center; transform: scale(.2); transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.ap.is-placed .drop { transform: scale(1); }
.ring { fill: none; stroke: #B4D96A; stroke-width: 2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; opacity: 0; }
.ap.is-live .ring { animation: ring 2.4s cubic-bezier(.2, .6, .3, 1) 3 both; }
.ap.is-live .ring:nth-of-type(2) { animation-delay: .8s; }
.ap.is-live .ring:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes ring { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(5.5); opacity: 0; } }
.walker { transition: opacity .3s; }
.walker .halo { fill: #B4D96A; opacity: .28; }
.walker .dot { fill: #fff; stroke: var(--navy-900); stroke-width: 2.5; }

@media (max-width: 860px) {
  .walk-grid { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 1.5rem; }
  .scene.is-pinned .walk-grid { gap: .9rem; padding-block: .75rem; }
  .scene.is-pinned .walk-stage { width: min(100%, calc((100svh - var(--header-h) - 19rem) * 1.4286)); }
  .beat h3 { font-size: clamp(1.6rem, 1.2rem + 2.4vw, 2.2rem); margin-bottom: .55rem; }
  .beat p { font-size: 1rem; }
  .walk-cta { margin-top: 1.25rem; }
  .scene.is-pinned .walk-steps { margin-top: .9rem; }
  .plan { border-radius: 14px; }
}
/* phones: the plan turns portrait so it fills the width at a readable size */
@media (max-width: 699px) {
  .plan { aspect-ratio: 700 / 1000; }
  .plan-art { inset: auto; left: 50%; top: 50%; width: 142.857143%; height: 70%; transform: translate(-50%, -50%) rotate(90deg); }
  .scene.is-pinned .walk-grid { padding-block: 1.15rem .85rem; }
  .scene.is-pinned .walk-stage { width: min(100%, calc((100svh - var(--header-h) - 19rem) * .7)); }
  .scene.is-pinned .walk-cta { display: none; } /* Book a survey rides in the header on phones */
  .walk-photo { top: auto; right: auto; left: -.35rem; bottom: -.35rem; width: min(7.75rem, 34%); padding: .35rem .35rem .4rem; border-radius: 10px; transform: rotate(-3deg); }
  .scene.is-pinned .walk-photo { transform: translate3d(0, 28px, 0) rotate(-9deg) scale(.9); }
  .scene.is-pinned .plan-wrap.is-report .walk-photo { transform: rotate(-3deg); }
  .ap-pill { transform: translate(-50%, 16px); } /* below the unit: the readout bar owns the top edge */
  .walk-photo img { border-radius: 6px; }
  .walk-photo-cap { margin-top: .3rem; font-size: .6875rem; }
  .hud { left: 9px; top: 9px; padding: 3px 10px; }
  .hud span { font-size: 12px; }
  .hud span + span::before { margin-inline: 7px; }
  .hud .hud-band { display: none; }
  .ap-pill { padding: 2px 8px; }
  .legend i { width: 96px; }
  .palette { display: none; }
  .walk-stage figcaption { font-size: 12.5px; }
  .scene.is-pinned .walk-stage figcaption { display: none; }
  .plan-foot { margin-top: 10px; }
}
@media (max-height: 740px) and (max-width: 699px) {
  .scene.is-pinned .beat h3 { font-size: 1.5rem; }
  .scene.is-pinned .beat p { font-size: .9375rem; line-height: 1.5; }
}
/* short phones: the plan is the story, so the step text steps aside (still read by
   screen readers; the reduced-motion and no-JS layouts show every word) */
@media (max-height: 700px) and (max-width: 699px) {
  .scene.is-pinned .beat h3 { margin-bottom: 0; }
  .scene.is-pinned .beat p { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .scene.is-pinned .walk-stage { width: min(100%, calc((100svh - var(--header-h) - 13rem) * .7)); }
}
@media (min-width: 861px) and (max-height: 760px) {
  .scene.is-pinned .walk-stage figcaption { display: none; }
}


/* 3 Why choose DW WiFi ------------------------------------------------------- */
.why .section-head { margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.why-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 1rem + 4vw, 5.5rem);
  align-items: center;
}
.why-row-b { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); margin-top: clamp(4.5rem, 3rem + 5vw, 8rem); }
.why-h { font-size: clamp(1.625rem, 1.25rem + 1.2vw, 2.25rem); line-height: 1.12; letter-spacing: -0.018em; font-weight: 700; }
.why-intro { margin-top: .9rem; font-size: var(--fs-lead); line-height: 1.5; color: var(--fg-muted); }
.ticks { display: grid; gap: 1.1rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 2.4rem; line-height: 1.55; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .05em;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--arc-20) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23587028' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 1rem no-repeat;
}
.ticks strong { font-weight: 650; color: var(--navy-900); }
/* the experience claim is its own 44px link line (it goes to About), not a thin inline link */
.ticks .tick-lead::before { top: .62rem; }
.tick-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  min-height: 44px;
  margin-top: -.55rem;
  font-weight: 650;
  color: var(--navy-900);
  text-decoration: underline;
  text-decoration-color: var(--lime-ink);
  text-decoration-thickness: 2px;
  text-underline-offset: .25em;
}
.tick-link .icon { width: 1.05em; height: 1.05em; color: var(--lime-ink); transition: transform var(--dur-fast) ease; }
.tick-link:hover .icon { transform: translateX(3px); }
.tick-rest { display: block; margin-top: -.3rem; }
.why-media {
  min-width: 0;
  padding: clamp(1rem, .4rem + 2vw, 2rem);
  border-radius: var(--radius-xl);
  background: var(--paper);
}
.why-pills { justify-content: center; margin-bottom: clamp(1rem, .7rem + 1vw, 1.5rem); }
.why-pills .pill { min-height: 44px; background: var(--white); }
.why-pills .pill[aria-selected="true"] { background: var(--navy-900); }
.why-frame { margin: 0; }
.why-frame img { width: 100%; height: auto; }
.why-frame-spec { max-width: 652px; margin-inline: auto; }
.why-cap { margin-top: .9rem; font-size: .875rem; line-height: 1.5; color: var(--fg-muted); text-align: center; }
.why-photo { margin: 0; }
.why-photo img { width: 100%; height: auto; border-radius: var(--radius-xl); box-shadow: var(--shadow-2); }
.why-photo figcaption { margin-top: .8rem; font-size: .875rem; color: var(--fg-muted); }
.why-cta { margin-top: 2.25rem; gap: .75rem 1.5rem; }
@media (max-width: 899px) {
  .why-row, .why-row-b { grid-template-columns: minmax(0, 1fr); }
  .why-row-b .why-photo { order: 2; }
}
@media (max-width: 599px) {
  .why-media { padding: .75rem; border-radius: var(--radius-lg); }
  .why-pills { justify-content: flex-start; }
  .why-cap { text-align: left; }
}


/* 4 Environments bento ------------------------------------------------------- */
.places-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem clamp(2rem, 1rem + 4vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem);
}
.places-head h2 { max-width: 14em; }
.places-head .lead { max-width: 34em; }
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(10.5rem, 7rem + 7vw, 15.5rem);
  gap: clamp(.75rem, .5rem + .6vw, 1.1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tile {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: var(--white);
}
.tile-xl { grid-column: span 2; grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 27, 49, 0) 38%, rgba(7, 27, 49, .55) 68%, rgba(7, 27, 49, .92) 100%);
}
.tile:hover img { transform: scale(1.04); }
.tile-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1rem, .7rem + 1vw, 1.5rem); }
.tile h3 { font-size: 1.125rem; line-height: 1.25; font-weight: 650; letter-spacing: -0.005em; }
.tile-xl h3 { font-size: clamp(1.375rem, 1.1rem + .8vw, 1.875rem); letter-spacing: -0.015em; }
.tile-copy p { max-width: 30em; margin-top: .55rem; font-size: .9375rem; line-height: 1.5; color: #D5DEE8; }
@media (max-width: 899px) {
  .places-head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 719px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 9.25rem; }
  .tile-xl { grid-column: span 2; grid-row: span 2; }
  .tile-wide { grid-column: span 1; }
  .tile h3 { font-size: 1rem; }
  .tile-copy { padding: .85rem; }
  .tile-xl .tile-copy { padding: 1.1rem; }
  .tile-copy p { font-size: .875rem; }
}


/* 5 Expertise / Reliability / Economics band --------------------------------- */
.pillars {
  position: relative;
  isolation: isolate;
  overflow: hidden; /* no sticky inside */
  padding-block: clamp(5rem, 3rem + 9vw, 11rem);
}
.pillars-bg { position: absolute; inset: -14% 0; z-index: -1; will-change: transform; }
.pillars-bg picture, .pillars-bg img { width: 100%; height: 100%; }
.pillars-bg img { object-fit: cover; object-position: 50% 45%; }
.pillars-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 27, 49, .88) 0%, rgba(7, 27, 49, .38) 28%, rgba(7, 27, 49, .38) 66%, rgba(7, 27, 49, .9) 100%),
    rgba(12, 43, 77, .2);
}
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, .6rem + 1vw, 1.5rem); }
.pillar {
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  background: rgba(7, 27, 49, .74);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.pillar-h { margin-top: 1.5rem; font-size: clamp(1.5rem, 1.3rem + .6vw, 1.875rem); line-height: 1.15; letter-spacing: -0.015em; }
.pillar p { margin-top: .75rem; line-height: 1.6; color: #D5DEE8; }
.pillars-cap { margin-top: 1.5rem; font-size: .875rem; color: var(--fog); text-align: right; }

/* the animated icons: visible at rest; JS arms them only below the fold */
.p-icon { width: 56px; height: 56px; overflow: visible; }
.p-ring { fill: none; stroke: var(--lime-500); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.p-ring.r2 { opacity: .6; }
.p-ring.r3 { opacity: .3; }
.p-core { fill: var(--lime-300); }
.p-bar { fill: var(--lime-500); transform-box: fill-box; transform-origin: 50% 100%; }
.p-bar.b1 { opacity: .4; } .p-bar.b2 { opacity: .6; } .p-bar.b3 { opacity: .8; }
.p-trend, .p-head { fill: none; stroke: var(--lime-500); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.p-head { stroke: var(--lime-300); }
@media (prefers-reduced-motion: no-preference) {
  .pillar.is-armed .p-ring, .pillar.is-armed .p-core, .pillar.is-armed .p-bar, .pillar.is-armed .p-trend, .pillar.is-armed .p-head { opacity: 0; }
  .pillar.is-in .p-core { animation: p-pop .5s var(--ease-out) .15s both; }
  .pillar.is-in .p-ring.r1 { animation: p-ring-1 .7s var(--ease-out) .3s both; }
  .pillar.is-in .p-ring.r2 { animation: p-ring-2 .7s var(--ease-out) .45s both; }
  .pillar.is-in .p-ring.r3 { animation: p-ring-3 .7s var(--ease-out) .6s both; }
  .pillar.is-in .p-bar { animation: p-bar .6s var(--ease-out) both; }
  .pillar.is-in .p-bar.b1 { animation-delay: .2s; --o: .4; }
  .pillar.is-in .p-bar.b2 { animation-delay: .32s; --o: .6; }
  .pillar.is-in .p-bar.b3 { animation-delay: .44s; --o: .8; }
  .pillar.is-in .p-bar.b4 { animation-delay: .56s; --o: 1; }
  .pillar.is-in .p-trend { stroke-dasharray: 1; animation: p-draw .9s var(--ease-out) .2s both; }
  .pillar.is-in .p-head { animation: p-pop .4s var(--ease-out) 1s both; }
}
@keyframes p-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes p-ring-1 { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
@keyframes p-ring-2 { from { opacity: 0; transform: scale(.5); } to { opacity: .6; transform: none; } }
@keyframes p-ring-3 { from { opacity: 0; transform: scale(.5); } to { opacity: .3; transform: none; } }
@keyframes p-bar { from { opacity: 0; transform: scaleY(.1); } to { opacity: var(--o, 1); transform: none; } }
@keyframes p-draw { from { opacity: 1; stroke-dashoffset: 1; } to { opacity: 1; stroke-dashoffset: 0; } }
@media (max-width: 899px) {
  .pillar-grid { grid-template-columns: minmax(0, 1fr); }
  .pillar { display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; align-items: center; }
  .pillar .p-icon { width: 46px; height: 46px; }
  .pillar-h { margin-top: 0; }
  .pillar p { grid-column: 1 / -1; }
  .pillars-cap { text-align: left; }
}


/* 6 Services ------------------------------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: center;
}
.services-head h2 { max-width: 15em; }
.services-head .lead { margin-top: 1rem; }
.svc-list { margin: clamp(2rem, 1.5rem + 1.5vw, 3rem) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.svc-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem .75rem 1.4rem .25rem;
  border-bottom: 1px solid var(--rule);
  color: inherit;
  text-decoration: none;
  transition: background-color var(--dur-fast) ease;
}
.svc-row:hover { background: var(--paper); }
.svc-num { align-self: start; padding-top: .35rem; font-size: .875rem; color: var(--lime-ink); }
.svc-name { display: block; font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 650; line-height: 1.2; letter-spacing: -0.01em; }
.svc-sub { display: block; margin-top: .35rem; max-width: 36em; font-size: .9375rem; line-height: 1.5; color: var(--slate); }
.svc-row .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1.5px solid var(--rule-strong);
  border-radius: 50%;
  color: var(--navy-900);
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.svc-row:hover .icon { background: var(--lime-500); border-color: var(--lime-500); transform: translateX(3px); }
.services-art {
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, .5rem + 3vw, 3rem);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 50% 42%, var(--white) 0, var(--white) 40%, var(--mist) 75%);
}
.lottie-scene { width: min(100%, 22rem); aspect-ratio: 4 / 5; }
@media (max-width: 899px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .services-art { padding: 1.25rem; }
  .lottie-scene { width: min(100%, 17rem); }
}
@media (max-width: 479px) {
  .svc-row { gap: .9rem; padding-inline: 0; }
  .svc-num { display: none; }
  .svc-row { grid-template-columns: minmax(0, 1fr) auto; }
}


/* 7 Cambium stage --------------------------------------------------------------- */
.cambium {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(5rem, 3rem + 7vw, 9.5rem) 0;
  background:
    radial-gradient(ellipse 55% 42% at 50% 92%, rgba(136, 174, 62, .26), rgba(136, 174, 62, 0) 70%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(18, 58, 99, .9), rgba(18, 58, 99, 0) 70%),
    var(--navy-950);
}
.cambium-head { max-width: 46rem; margin-inline: auto; text-align: center; }
.cambium-logo { display: inline-block; margin-bottom: 1.75rem; border-radius: var(--radius-sm); }
.cambium-logo img { height: 52px; width: auto; }
.cambium h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.06; letter-spacing: -0.022em; }
.cambium .lead { margin: 1.1rem auto 0; color: #D5DEE8; }
.cambium-ctas { justify-content: center; margin-top: 2rem; }
.cam-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(.5rem, 2vw, 2.5rem);
  max-width: 64rem;
  margin: clamp(3rem, 2rem + 3vw, 4.5rem) auto 0;
  padding: 0 0 clamp(3rem, 2rem + 3vw, 5rem);
  list-style: none;
}
.cam-ap { display: flex; flex-direction: column; align-items: center; will-change: transform; }
.cam-ap img { width: 100%; height: auto; filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .45)); }
.cam-hero img { max-width: 30rem; }
.cam-side:first-child img { max-width: 16rem; }
.cam-side:last-child img { max-width: 9rem; }
.cam-label { display: grid; justify-items: center; gap: .1rem; margin-top: 1.1rem; text-align: center; }
.cam-label .readout { font-size: 1rem; color: var(--white); }
.cam-spec { font-size: .875rem; color: var(--fog); }
@media (max-width: 599px) {
  .cam-stage { gap: .5rem; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr) minmax(0, .8fr); }
  .cam-label .readout { font-size: .875rem; }
  .cam-spec { font-size: .75rem; line-height: 1.35; }
  .cambium-ctas .btn { width: 100%; }
}


/* 8 Proof ------------------------------------------------------------------------ */
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: center;
}
.proof-context { max-width: 40em; font-size: 1.0625rem; line-height: 1.6; color: var(--slate); }
.quote { margin: clamp(2rem, 1.5rem + 1.5vw, 3rem) 0 0; }
.quote-mark { width: 44px; height: 33px; fill: var(--lime-ink-deep); }
.quote blockquote { margin: 1.1rem 0 0; }
.quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.35vw, 2.375rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.018em;
  color: var(--navy-900);
  text-wrap: pretty;
}
.quote-by { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 2rem; }
.quote-by .logo-chip { box-shadow: var(--shadow-1); }
.quote-who { display: grid; line-height: 1.35; }
.quote-who strong { font-size: 1.0625rem; color: var(--navy-900); }
.quote-who span { font-size: .9375rem; color: var(--slate); }
.proof-art {
  padding: clamp(1.25rem, .5rem + 2vw, 2.25rem);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-1);
}
.lottie-cafe { width: min(100%, 22rem); margin-inline: auto; aspect-ratio: 809 / 865; }
.proof-art-cap { margin-top: 1rem; font-size: .9375rem; line-height: 1.5; color: var(--slate); text-align: center; }
@media (max-width: 899px) {
  .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .lottie-cafe { width: min(100%, 15rem); }
}


/* 9 Contact ------------------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: start;
}
.lottie-wifi {
  width: 104px;
  aspect-ratio: 1;
  margin-bottom: 1.5rem;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--rule);
  overflow: hidden;
}
.contact-copy .lead { margin-top: 1rem; }
.contact-list { display: grid; gap: .25rem; margin: 2rem 0 0; }
.contact-list > div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: center; padding: .35rem 0; border-bottom: 1px solid var(--rule); }
.contact-list dt { font-size: .875rem; color: var(--slate); }
.contact-list dd { margin: 0; min-width: 0; }
.contact-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-900);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--lime-ink); text-decoration-thickness: 2px; text-underline-offset: .22em; }
.contact-list dt { line-height: 1.25; }
.contact-prep {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--arc-20);
  color: var(--navy-900);
}
.contact-prep .icon { width: 1.5rem; height: 1.5rem; margin-top: .1rem; color: var(--lime-ink-deep); }
.contact-prep p { font-size: .9375rem; line-height: 1.55; }
.contact-prep strong { font-weight: 650; }
.contact-card {
  padding: clamp(1.25rem, .6rem + 2.4vw, 2.75rem);
  border-radius: var(--radius-xl);
  background: var(--paper);
}
.contact-hint { flex: 1 1 16rem; max-width: 30em; }
@media (max-width: 899px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .lottie-wifi { width: 88px; border-radius: 20px; }
}
@media (max-width: 479px) {
  .contact-card { margin-inline: calc(var(--gutter) * -.5); padding: 1.1rem; }
  .form-actions .btn { width: 100%; }
}


/* 10 Reduced motion --------------------------------------------------------------- */
/* home.js never pins under reduced motion, so the scene is the static stack:
   hero, then every beat as a list beside the finished map and the photo. */
@media (prefers-reduced-motion: reduce) {
  .hero-plate, .hero-copy, .loop, .pillars-bg, .cam-ap, .walk-grid, .walk-copy, .walk-stage { transform: none !important; }
  .hero-video { display: none; }
  .ap .drop, .ap, .trail, .walker, .walk-photo { transition: none; }
  .ap.is-live .ring { animation: none; }
  .ring { opacity: .35; transform: scale(2); }
  .ring:nth-of-type(2) { opacity: .2; transform: scale(3.2); }
  .ring:nth-of-type(3) { opacity: .1; transform: scale(4.4); }
  .tile:hover img { transform: none; }
}
