/* Homepage */

/* ---------- Hero: the live board ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; background: var(--mask); color: var(--silk); overflow: clip; isolation: isolate; }
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.hero__poster, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__canvas { opacity: 0; transition: opacity .9s ease; }
.hero.is-live .hero__canvas { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 22, 15, .72) 0%, rgba(10, 22, 15, 0) 22%),
    linear-gradient(90deg, rgba(12, 26, 17, .96) 0%, rgba(12, 26, 17, .88) 34%, rgba(12, 26, 17, .5) 50%, rgba(12, 26, 17, 0) 66%),
    linear-gradient(0deg, rgba(10, 22, 15, .7) 0%, rgba(10, 22, 15, 0) 26%);
}
.hero__content { position: relative; padding-top: calc(var(--head-h) + 24px); padding-bottom: 110px; }
.hero__title {
  font-size: clamp(3rem, 5.4vw, 6rem); font-weight: 850; font-stretch: 84%; line-height: .96; letter-spacing: -.02em;
  color: var(--silk); margin-bottom: 26px; max-width: 11.5em; display: flow-root;
}
.hero__title em { font-style: normal; color: var(--gold); }
@media (min-width: 761px) { .hero__title { white-space: nowrap; } }
@media (max-width: 760px) { .hero__title br { display: none; } }
.hero__lede { font-size: clamp(1.1rem, 1.35vw, 1.28rem); line-height: 1.55; color: #D9E2DB; max-width: 34em; margin-bottom: 34px; }
.hero .btns { margin-bottom: 30px; }
.hero__live { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; font: 600 1.02rem/1.3 var(--display); font-stretch: 100%; color: var(--silk-2); }
.hero__live-text { color: var(--gold); min-width: 12em; }
.hero__led { width: 10px; height: 10px; border-radius: 50%; background: #3FD07A; box-shadow: 0 0 12px #3FD07A; }
.hero__areas { position: absolute; right: var(--gut); bottom: 32px; z-index: 2; list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.hero__areas li { padding: 8px 12px; border: 1px solid var(--line-dark); border-radius: var(--r); font-size: .98rem; color: var(--silk); background: rgba(12, 26, 17, .55); transition: border-color .4s, color .4s, box-shadow .4s, background-color .4s; }
.hero__areas li.is-hot { border-color: var(--gold); color: var(--mask); background: var(--gold); box-shadow: 0 0 22px rgba(232, 194, 122, .55); }

/* The hero copy is held back until fonts are in and then revealed by script (no-JS and reduced motion show it at once) */
.js .hero [data-hero-in] { opacity: 0; }
.js .hero__title { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .js .hero [data-hero-in] { opacity: 1; }
  .js .hero__title { visibility: visible; }
}

@media (max-width: 1100px) {
  .hero__areas { left: var(--gut); right: auto; flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .hero { align-items: flex-end; }
  .hero__content { padding-top: calc(var(--head-h) + 13svh); padding-bottom: 84px; }
  .hero .btns { gap: 10px; margin-bottom: 20px; }
  .hero .btns .btn { min-height: 50px; padding: 12px 18px; }
  .hero__live-label { display: none; }
  .hero__lede { margin-bottom: 24px; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(10, 22, 15, .6) 0%, rgba(10, 22, 15, 0) 18%),
      linear-gradient(0deg, rgba(12, 26, 17, .97) 0%, rgba(12, 26, 17, .9) 45%, rgba(12, 26, 17, .1) 72%);
  }
  .hero__title { font-size: clamp(2.4rem, 10.4vw, 3.4rem); margin-bottom: 18px; }
  .hero__lede { font-size: 1.04rem; line-height: 1.5; }
  .hero__areas { bottom: 24px; gap: 6px; }
  .hero__areas li { padding: 6px 9px; font-size: .9rem; }
}

/* ---------- Service drivers: image cards whose copper edge draws round them ---------- */
.drivers { padding-block: clamp(80px, 8vw, 112px); }
.drivers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.dcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--mask-2); color: var(--silk); text-decoration: none; transform-style: preserve-3d; will-change: transform; }
.dcard__edge { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: var(--r); }
.dcard__edge i { position: absolute; background: var(--copper); }
.dcard__edge i:nth-child(1) { left: 0; top: 0; width: 100%; height: 1.5px; transform-origin: left; }
.dcard__edge i:nth-child(2) { right: 0; top: 0; width: 1.5px; height: 100%; transform-origin: top; }
.dcard__edge i:nth-child(3) { right: 0; bottom: 0; width: 100%; height: 1.5px; transform-origin: right; }
.dcard__edge i:nth-child(4) { left: 0; bottom: 0; width: 1.5px; height: 100%; transform-origin: bottom; }
.dcard__media { position: relative; display: block; aspect-ratio: 4 / 3.2; overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.dcard__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.dcard:hover .dcard__media img { transform: scale(1.12); filter: saturate(1.05); }
.dcard__body { position: relative; display: grid; gap: 8px; padding: 20px 22px 24px; flex: 1; align-content: start; }
.dcard__title { display: flex; align-items: center; gap: 10px; font: 800 1.38rem/1.15 var(--display); font-stretch: 88%; }
.dcard__pad { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--copper); flex: none; transition: background-color .3s, box-shadow .3s; }
.dcard:hover .dcard__pad { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.dcard__text { color: var(--silk-2); font-size: 1rem; line-height: 1.5; padding-right: 40px; }
.dcard__go { position: absolute; right: 18px; bottom: 20px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--copper); color: var(--mask); transition: background-color .3s, transform .5s var(--ease); }
.dcard__go .ico { width: 20px; height: 20px; }
.dcard:hover .dcard__go { background: var(--gold); transform: translateX(4px); }
@media (max-width: 1100px) { .drivers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .drivers__grid { grid-template-columns: 1fr; }
  .dcard { display: grid; grid-template-columns: 38% 1fr; }
  .dcard__media { aspect-ratio: auto; height: 100%; min-height: 150px; border-radius: var(--r) 0 0 var(--r); }
  .dcard__body { padding: 16px 16px 60px; }
  .dcard__title { font-size: 1.2rem; }
  .dcard__text { padding-right: 0; }
  .dcard__go { right: 14px; bottom: 14px; }
}

/* ---------- Open it up: the pinned teardown ---------- */
.opened { padding-block: 0; background: #EDEEEE; }
.opened__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 64px); align-items: center; min-height: 100vh; padding-block: calc(78px + 32px) 40px; }
.opened .title { margin-bottom: 16px; }
.opened__intro { margin-bottom: 18px; }
.opened__steps { position: relative; display: grid; gap: 22px; }
.ostep { padding: 14px 20px; border-left: 3px solid var(--copper); background: #fff; border-radius: 0 var(--r) var(--r) 0; box-shadow: 0 20px 40px -30px rgba(16, 24, 19, .5); }
.ostep__count { margin: 0 0 2px; color: #8A5A2B; font-size: .98rem; }
.ostep .h3 { margin-bottom: 6px; font-size: clamp(1.2rem, 1.5vw, 1.5rem); }
.ostep p:last-child { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.opened__bar { position: relative; height: 3px; margin-top: 26px; background: var(--line-light); }
.opened__bar span { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.opened__stage { position: relative; display: grid; place-items: center; }
.laptop { position: relative; width: min(100%, calc((100vh - 190px) * 1.392)); aspect-ratio: 924 / 664; }
.laptop__img { width: 100%; height: 100%; object-fit: contain; }
.laptop__case {
  position: absolute; left: 3.1%; top: 4.4%; width: 93.7%; height: 91.2%; border-radius: 2.6% / 3.6%; overflow: hidden;
  background: linear-gradient(165deg, #e4e6e8 0%, #cdd0d3 38%, #bfc3c7 62%, #d6d9dc 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), inset 0 -10px 30px rgba(0, 0, 0, .08), 0 30px 50px -20px rgba(0, 0, 0, .35);
  display: none;
}
.laptop__screw { position: absolute; width: 1.4%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #8e9399, #4a4e53); transform: translateX(-50%); }
.laptop__screw[style*="right"] { transform: translateX(50%); }
.laptop__vent { position: absolute; left: 22%; right: 22%; top: 3%; height: 2.4%; border-radius: 99px; background: repeating-linear-gradient(90deg, rgba(60, 64, 68, .45) 0 3px, transparent 3px 7px); }
.laptop__sheen { position: absolute; inset: -20% -60%; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .55) 48%, rgba(255, 255, 255, 0) 58%); pointer-events: none; }
.hotspot { position: absolute; width: 0; height: 0; z-index: 3; }
.hotspot__ring { position: absolute; left: -34px; top: -34px; width: 68px; height: 68px; border-radius: 50%; border: 2.5px solid var(--red); box-shadow: 0 0 0 6px rgba(227, 38, 43, .16), 0 0 30px rgba(227, 38, 43, .35); }
.hotspot__ring i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--red); }
.hotspot__tag { position: absolute; left: 44px; top: -19px; white-space: nowrap; padding: 8px 12px; background: var(--mask); color: var(--silk); border-radius: var(--r); font: 700 .95rem/1.1 var(--display); font-stretch: 100%; }
.hotspot__tag::before { content: ''; position: absolute; right: 100%; top: 50%; width: 10px; height: 2px; background: var(--mask); }
/* With script and motion every step stays readable; the one the ring is on is lit, the rest dim */
.js .laptop__case { display: block; }
.js .hotspot { opacity: 0; }
.js .hotspot.is-on { opacity: 1; }
.js .opened__steps { gap: 10px; }
.ostep { transition: opacity .5s var(--ease), background-color .5s, box-shadow .5s, border-color .5s, transform .6s var(--ease); }
.js .ostep:not(.is-on) { opacity: .5; background: transparent; box-shadow: none; border-left-color: var(--line-light); }
.js .ostep.is-on { transform: translateX(8px); }
@media (prefers-reduced-motion: reduce) {
  .js .laptop__case { display: none; }
  .js .hotspot { opacity: 1; }
  .js .ostep:not(.is-on) { opacity: 1; background: #fff; border-left-color: var(--copper); }
  .js .ostep.is-on { transform: none; }
}
@media (min-width: 861px) and (max-height: 820px) {
  .opened .title { font-size: clamp(1.9rem, 2.6vw, 2.4rem); margin-bottom: 8px; }
  .opened__intro { display: none; }
  .ostep__count { display: none; }
  .ostep { padding-block: 10px; }
  .opened__bar { margin-top: 16px; }
}
@media (max-width: 860px) {
  .opened__grid { grid-template-columns: 1fr; min-height: 0; padding-block: 72px 56px; gap: 18px; }
  .opened__stage { order: -1; }
  .opened .title { font-size: clamp(1.8rem, 7.4vw, 2.4rem); }
  .opened__intro { margin-bottom: 14px; font-size: 1rem; }
  .ostep { padding: 16px 18px; }
  .ostep .h3 { font-size: 1.3rem; margin-bottom: 6px; }
  .ostep p:last-child { font-size: 1rem; }
  .laptop { width: 100%; }
  .hotspot__ring { left: -22px; top: -22px; width: 44px; height: 44px; }
  .hotspot__tag { left: 28px; top: -16px; padding: 6px 9px; font-size: .9rem; }
}

/* ---------- Two ways: the bridge between the van and the workshop ---------- */
.ways__head { margin-bottom: 36px; }
.ways__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, 230px) minmax(0, 1fr); column-gap: clamp(18px, 2vw, 28px); align-items: center; }
.ways__row--text { align-items: start; margin-top: 22px; }
.ways__codescell { text-align: center; padding-top: 6px; }
.way__media { aspect-ratio: 16 / 9.5; }
.way__media img { height: 100%; }
.way__body p { color: var(--silk-2); }
.way__body .h3 { margin-bottom: 10px; }
.way__body .link-arrow { margin-top: 8px; }
.ways__bridge { position: relative; width: calc(100% + 2 * clamp(18px, 2vw, 28px) + 4px); max-width: none; height: auto; margin-inline: calc(-1 * clamp(18px, 2vw, 28px) - 2px); }
.ways__codes { margin: 0 0 8px; font-size: 1.15rem; color: var(--gold); word-spacing: .3em; }
.js .ways__codes { background: linear-gradient(90deg, var(--gold) 0 42%, #fff 50%, var(--gold) 58% 100%) 100% 0 / 300% 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; animation: codes-sweep 3.6s linear infinite; }
@keyframes codes-sweep { to { background-position: 0 0; } }
.ways__free { margin: 0 0 14px; font-size: 1rem; color: var(--silk); }
.ways__note { margin: 26px 0 0; font-size: 1rem; color: var(--silk-2); }
@media (max-width: 860px) {
  .ways__grid { grid-template-columns: 1fr; row-gap: 18px; }
  .ways__row:not(.ways__row--text) { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .ways__row:not(.ways__row--text) .way__media { aspect-ratio: 4 / 3.4; }
  .ways__row--text { margin-top: 18px; }
  .ways__row .ways__bridgecell { display: none; }
  .ways__row--text .ways__codescell { order: 3; padding-top: 0; }
  .ways__row--text .way__body:last-child { order: 4; }
}

/* ---------- Price and the postcode check ---------- */
.price__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.price .title { margin-bottom: 18px; }
.price__figs { display: grid; grid-template-columns: auto 1fr; gap: 22px 28px; align-items: center; margin: 30px 0; }
.fig { display: contents; }
.fig__num { margin: 0; font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 850; font-stretch: 80%; line-height: 1; color: var(--brand); letter-spacing: -.02em; }
.fig__label { margin: 0; font-size: 1.08rem; color: var(--muted); border-left: 2px solid var(--copper); padding-left: 18px; }
.price__pay { color: var(--muted); }
.check__panel { position: relative; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r); background: var(--mask); color: var(--silk); box-shadow: 0 40px 70px -40px rgba(16, 24, 19, .7); overflow: hidden; }
.check__panel .h3 { margin-bottom: 6px; }
.check__hint { color: var(--silk-2); font-size: 1rem; margin-bottom: 16px; }
.check__form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.check__form .field input { background: #fff; text-transform: uppercase; }
.check__form .field input::placeholder { text-transform: none; color: #6E7A72; }
.check__map { width: 100%; height: auto; margin: 16px 0 8px; overflow: visible; }
.check__map .r { fill: none; stroke: #4C8C5E; stroke-width: 2; stroke-linejoin: round; transition: stroke .4s; }
.check__map .r.is-hit { stroke: var(--gold); stroke-width: 3; }
.check__map .dot { fill: var(--gold); filter: drop-shadow(0 0 6px var(--gold)); }
.check__map .pad { fill: var(--mask); stroke: var(--copper); stroke-width: 2; transition: fill .4s, stroke .4s; }
.check__map .pad.is-hit { fill: var(--gold); stroke: var(--gold); }
.check__map text { fill: var(--silk); font: 700 15px var(--display); font-stretch: 100%; }
.check__map .u1 { fill: #C9CCD0; stroke: var(--copper); stroke-width: 2; }
.check__map .u1t { fill: var(--gold); font-size: 13px; }
.check__result { margin: 0 0 14px; font-weight: 600; color: var(--silk); min-height: 3.2em; }
.check__result.is-yes { color: #9BE3B4; }
.check__result.is-no { color: #FFB4A8; }
@media (max-width: 960px) { .price__grid { grid-template-columns: 1fr; } }

/* ---------- Home networks: three install photos, layered ---------- */
.nets__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.nets .title { margin-bottom: 18px; }
.nets__list { margin: 26px 0 32px; color: var(--silk); }
.nets__stack { position: relative; height: min(600px, 66vh); min-height: 440px; }
.nshot { position: absolute; margin: 0; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); cursor: pointer; }
.nshot img { height: 100%; }
.nshot figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 11px; border-radius: calc(var(--r) - 3px); background: rgba(20, 41, 28, .9); color: var(--silk); font: 700 .95rem/1.1 var(--display); font-stretch: 100%; }
.nshot--a { left: 0; top: 6%; width: 54%; aspect-ratio: 1; z-index: 1; }
.nshot--b { left: 47%; top: 19%; width: 47%; aspect-ratio: 1; z-index: 2; }
.nshot--c { left: 24%; bottom: 0; width: 31%; aspect-ratio: 3 / 4; z-index: 3; }
.nets__rings { position: absolute; left: 72%; top: 46%; width: 0; height: 0; z-index: 0; pointer-events: none; }
.nets__rings i { position: absolute; left: -240px; top: -240px; width: 480px; height: 480px; border-radius: 50%; border: 1.5px solid rgba(232, 194, 122, .5); opacity: 0; }
.nshot.is-front { z-index: 5; }
@media (max-width: 860px) {
  .nets__grid { grid-template-columns: 1fr; }
  .nets__stack { height: min(118vw, 470px); min-height: 0; }
  .nshot--a { top: 0; width: 64%; }
  .nshot--b { left: 42%; top: 22%; width: 56%; }
  .nshot--c { left: 6%; width: 40%; }
  .nshot figcaption { left: 8px; bottom: 8px; font-size: .9rem; }
}

/* ---------- Blog advice and refurbished machines ---------- */
.news__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.news .title { margin-bottom: 26px; }
.posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.posts li { border-bottom: 1px solid var(--line-light); }
.post { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px 48px 20px 8px; text-decoration: none; color: var(--ink); transition: background-color .35s, padding .45s var(--ease); }
.post__date { color: #8A5A2B; font-size: .98rem; }
.post__title { font: 750 1.2rem/1.3 var(--display); font-stretch: 94%; color: var(--brand); }
.post .ico { position: absolute; right: 12px; top: 50%; margin-top: -11px; width: 22px; height: 22px; color: var(--red); transition: transform .4s var(--ease); }
.post:hover { background: #fff; padding-left: 18px; }
.post:hover .ico { transform: translateX(5px); }
.refurb { border-radius: var(--r); background: var(--mask); color: var(--silk); overflow: hidden; box-shadow: 0 40px 70px -40px rgba(16, 24, 19, .7); }
.refurb__media { aspect-ratio: 16 / 9; border-radius: 0; }
.refurb__media img { height: 100%; }
.refurb__body { padding: 24px 28px 30px; }
.refurb__body .h3 { margin-bottom: 10px; }
.refurb__body p { color: var(--silk-2); margin-bottom: 20px; }
@media (max-width: 960px) { .news__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .post { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ---------- Final call to action over the van ---------- */
.cta { position: relative; min-height: min(84vh, 760px); display: flex; align-items: center; padding-block: 120px 96px; color: var(--silk); overflow: clip; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -2; overflow: clip; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 26, 17, .94) 0%, rgba(12, 26, 17, .8) 45%, rgba(12, 26, 17, .35) 100%); }
.cta__marquee { position: absolute; left: 0; right: 0; top: 34px; overflow: hidden; pointer-events: none; }
.cta__track { display: flex; gap: 48px; width: max-content; font: 900 clamp(2.4rem, 4vw, 3.6rem)/1 var(--display); font-stretch: 112%; color: transparent; -webkit-text-stroke: 1.5px rgba(232, 194, 122, .5); white-space: nowrap; }
.cta__inner { display: grid; justify-items: start; gap: 18px; }
.cta .title { font-size: clamp(2.2rem, 3.9vw, 3.9rem); }
.cta__phone { display: inline-flex; align-items: center; min-height: 48px; font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 850; font-stretch: 82%; line-height: 1; color: var(--gold); text-decoration: none; letter-spacing: -.01em; }
.cta__phone:hover { color: #fff; }
.cta .btns { margin-top: 12px; }
@media (max-width: 560px) { .cta .btns .btn { width: 100%; } }
