@font-face {  
  font-family: "Oswald";
  src: url("../fonts/oswald-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
}

section {
  scroll-margin-top: 94px;
}

h2,
h3 {
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.055em;
  font-weight: 700;
}

h2 {
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.02;
  color: var(--black);
  position: relative;
  max-width: none;
  width: 100%;
  text-wrap: normal;
}

h3 {
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  line-height: 1.08;
  color: var(--black);
  letter-spacing: -0.04em;
}



.feature-row .feature-media:empty {
    min-height: 1px;
}

#mechanical {
  --tools-copy-col: minmax(0, 1fr);
  --tools-image-col: minmax(340px, 520px);
  --tools-gap: clamp(2rem, 5vw, 5rem);
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.section-head > div {
  width: 100%;
}

.section-head p {
  margin: 0;
  max-width: 44ch;
  color: var(--muted);
  text-wrap: pretty;
}

.label {
  display: inline-block;
  margin: 3.75rem 0 1rem;
  color: #6f7f8f;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
}

.image-hover-note {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-50%, -120%);
    padding: 0.7rem 0.95rem;
    background: rgba(255, 255, 255, 0.92);
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    z-index: 6;
    transition: opacity 180ms ease;
  }



.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.videos-intro {
  font-size: 1.25rem;
  line-height: 1.6;
}

#servicing .hero-copy,
#servicing .hero-side {
  min-height: 620px;
}

#servicing {
  position: relative;
  z-index: 2;
  background: var(--bg);
  padding-top: clamp(0.75rem, 2vw, 1.5rem);
  padding-bottom: 1.5rem;
  --tools-copy-col: minmax(0, 1fr);
  --tools-image-col: minmax(340px, 520px);
  --tools-gap: clamp(2rem, 5vw, 5rem);
  scroll-margin-top: 78px;
}

#servicing > * {
  position: relative;
  z-index: 3;
}

#servicing::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 100vw;
  height: 100%;
  background: transparent;
  pointer-events: none;
}

.tools-top,
.feature-row,
.feature-row-reverse {
  display: grid;
  grid-template-columns: var(--tools-copy-col) var(--tools-image-col);
  gap: var(--tools-gap);
  align-items: center;
}

.tools-top {
  position: relative;
  min-height: auto;
  padding-bottom: 0.5rem;
  padding-top: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
}

.tools-top-copy {
  position: relative;
  z-index: 5;
  max-width: none;
  width: 100%;
}

.tools-top-copy .label {
  margin-top: 0;
  margin-bottom: 1rem;
}

.tools-top-copy h2 {
  width: calc(100% + 24px);
  margin: 0 -24px 0 0;
}

/* ---- Photo stack showcase (Brigade-style stacked photos + hairline list) ---- */
.photo-stack-row {
  display: grid;
  grid-template-columns: minmax(380px, 660px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  margin: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.photo-stack-images {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
}

.photo-stack-img {
  position: absolute;
  display: block;
  width: 82%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(24, 34, 28, 0.16);
  background: transparent;
  cursor: default;

  /* Prevent light anti-aliased seams on rotated stacked-image edges */
  clip-path: inset(0.5px round 13.5px);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  transition:
    translate 480ms cubic-bezier(0.22, 1, 0.36, 1),
    rotate 480ms cubic-bezier(0.22, 1, 0.36, 1),
    width 480ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 480ms ease,
    opacity 480ms ease;
}

.photo-stack-img[data-order="0"] {
  cursor: pointer;
}

.photo-stack-img img {
  position: absolute;
  inset: -2px;
  width: calc(100% + 4px);
  max-width: none;
  height: calc(100% + 4px);
  object-fit: cover;
  display: block;
  pointer-events: none;

  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Stack position 0 = front / active, higher numbers sit further back.
   Each step back nudges right+down, rotates a little more, and dims slightly. */
.photo-stack-img[data-order="0"] {
  --stack-x: 0%;  --stack-y: 0%;  --stack-r: -2deg;
  width: 82%;
  z-index: 5; opacity: 1;
  box-shadow: 0 26px 48px rgba(24, 34, 28, 0.22);
}
.photo-stack-img[data-order="1"] {
  --stack-x: 9%;  --stack-y: 6%;  --stack-r: 4deg;
  width: 78.7%;
  z-index: 4; opacity: 0.92;
}
.photo-stack-img[data-order="2"] {
  --stack-x: 16%; --stack-y: 11%; --stack-r: -7deg;
  width: 75.4%;
  z-index: 3; opacity: 0.85;
}
.photo-stack-img[data-order="3"] {
  --stack-x: 21%; --stack-y: 15%; --stack-r: 9deg;
  width: 72.2%;
  z-index: 2; opacity: 0.78;
}
.photo-stack-img[data-order="4"] {
  --stack-x: 25%; --stack-y: 18%; --stack-r: -11deg;
  width: 68.9%;
  z-index: 1; opacity: 0.7;
}

.photo-stack-img {
  left: 0;
  top: 0;
  translate: var(--stack-x) var(--stack-y);
  rotate: var(--stack-r);
}

.photo-stack-img:hover {
  box-shadow: 0 30px 54px rgba(24, 34, 28, 0.26);
}

.photo-stack-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.photo-stack-list li {
  border-top: 1px solid rgba(34, 49, 41, 0.12);
}

.photo-stack-list li:last-child {
  border-bottom: 1px solid rgba(34, 49, 41, 0.12);
}

.photo-stack-list a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: clamp(0.9rem, 2vw, 1.3rem) 0.25rem;
  transition: transform 180ms ease;
}

.photo-stack-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.photo-stack-list a:hover,
.photo-stack-list a:focus-visible {
  transform: translateX(6px);
}

.photo-stack-list li.is-active a {
  transform: translateX(10px);
}

.photo-stack-list li.is-active .photo-stack-heading {
  color: #0c6980;
}

.photo-stack-kicker {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.photo-stack-heading {
font-size: clamp(1.05rem, 1.8vw, 1.4rem);
font-weight: 800;
letter-spacing: -0.02em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 180ms ease;
}


.photo-stack-arrow {
  font-size: 1.1rem;
  transition: transform 180ms ease;
}

.photo-stack-list a:hover .photo-stack-arrow,
.photo-stack-list a:focus-visible .photo-stack-arrow {
  transform: translateX(4px);
}

.photo-stack-thumb {
  display: none; /* only shown on mobile, next to each list item's text */
}

@media (max-width: 900px) {
  .photo-stack-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* The big shuffling stack is a desktop-only pattern; on mobile each
     row gets its own small thumbnail instead (styled below). */
  .photo-stack-images {
    display: none;
  }

  .photo-stack-list a {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .photo-stack-thumb {
    display: block;
    width: 104px;
    height: 104px;
    flex: 0 0 auto;
    border-radius: 12px;
    object-fit: cover;
    background: #eef0f2;
  }

  .photo-stack-item-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1 1 auto;
    min-width: 0;
  }

  .photo-stack-heading {
    justify-content: flex-start;
    width: auto;
    gap: 0.35rem;
  }

  .photo-stack-arrow {
    flex: 0 0 auto;
  }
}

@media (max-width: 480px) {
  .photo-stack-heading {
    font-size: 1.2rem;
  }

  .photo-stack-thumb {
    width: 84px;
    height: 84px;
  }
}


.tools-feature-image {
  position: relative;
  width: clamp(340px, 38vw, 540px);
  aspect-ratio: 3 / 2;
  align-self: center;
  justify-self: start;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  transition: transform 300ms ease, filter 300ms ease;
  z-index: 4;
  margin: 0;
}

.tools-feature-image:hover {
  transform: translateY(-6px);
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.18));
}

.tools-feature-image picture,
.tools-feature-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.tools-feature-image img {
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

.feature-stack {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 4rem);
}

.feature-copy {
  max-width: 61.4ch;
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #353c44;
}

.feature-copy h3 {
  margin-bottom: 0.75rem;
}

.feature-copy p {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.feature-media {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#servicing .grid-3,
#servicing .grid-2 {
  position: relative;
  z-index: 5;
}

#about,
#electrical,
#app-membership {
  --tools-copy-col: minmax(0, 1fr);
  --tools-image-col: minmax(340px, 520px);
  --tools-gap: clamp(2rem, 5vw, 5rem);
}

.tools-spanner-rain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.tools-spanner {
  position: absolute;
  top: -120px;
  left: 0;
  width: var(--size, 68px);
  height: auto;
  opacity: 0;
  will-change: transform, opacity;
}

.tools-spanner svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  shape-rendering: geometricPrecision;
}

.tools-spanner.is-dark path {
  fill: rgba(32, 36, 42, var(--opacity, 0.48));
}

.tools-spanner.is-grey path {
  fill: rgba(119, 129, 138, var(--opacity, 0.42));
}

.tools-spanner.is-foreground {
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.10));
}

.tools-spanner.is-background {
  filter: none;
}

.tools-spanner.animate-pile {
  animation: spannerPileDrop var(--duration, 5.5s) cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s) 1 forwards;
}

@keyframes spannerPileDrop {
  0% {
    opacity: 0;
    transform: translate3d(0, -90px, 0) rotate(var(--rotate-start, -25deg));
  }

  10% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translate3d(var(--drift-end, var(--drift, 0px)), var(--fall-distance, 360px), 0) rotate(var(--rotate-rest, var(--rotate-end, 180deg)));
  }
}

.media-tile-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: clamp(2rem, 4vw, 5rem);
}

.media-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background: #d9dde2;
  box-shadow: var(--shadow);
}

.media-tile picture,
.media-tile img {
  display: block;
  width: 100%;
  height: 100%;
}

.media-tile img {
  object-fit: cover;
  transition: transform 350ms ease;
}

.media-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 36%, rgba(0, 0, 0, 0.06) 70%, rgba(0, 0, 0, 0.02) 100%);
}

.media-tile:hover img,
.media-tile:focus-visible img {
  transform: scale(1.04);
}

.media-tile-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 0.85rem 0.85rem;
}

.media-tile-title {
  margin: 0;
  color: #fff;
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 11ch;
}

.media-tile-arrow {
  flex: 0 0 auto;
  display: inline-block;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.media-tile:hover .media-tile-arrow,
.media-tile:focus-visible .media-tile-arrow {
  transform: rotate(45deg) translateX(4px);
}

#contact {
  position: relative;
}

#contact .section-head {
  margin-bottom: 1.5rem;
}

.contact-overlap {
  position: relative;
  min-height: 860px;
}

.contact-panel {
  position: absolute;
  width: 54%;
  height: 600px;
  box-shadow: 0 18px 40px rgba(20, 28, 36, 0.10);
}

.contact-panel-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  box-sizing: border-box;
  min-height: 0;
}

.contact-panel-info {
    left: 4%;
    top: 22%;
    z-index: 10;
    border: 36px solid transparent;
    box-sizing: border-box;

    background:
        linear-gradient(#f2f4f6, #f2f4f6) padding-box,
        linear-gradient(
            135deg,
            #002060 0%,
            #0040a0 32%,
            #0090e0 68%,
            #00c0f0 100%
        ) border-box;

    color: #0040a0;
}

.contact-panel-form {
  right: 6%;
  top: 8%;
  z-index: 20;
  background: linear-gradient(135deg, #4f5c66 0%, #5c6873 52%, #7a8691 100%);
  color: #fff;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.contact-panel-form::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 9% 6%, rgba(111, 127, 143, 0.10), transparent 24%), radial-gradient(circle at 92% 8%, rgba(111, 127, 143, 0.08), transparent 22%), linear-gradient(180deg, #2b3138 0%, #353c44 38%, #48515a 68%, #66717b 86%, #8e98a2 100%);
}

.contact-panel-form .contact-panel-inner {
  position: relative;
  z-index: 1;
  justify-content: flex-start;
}

.contact-kicker {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.30em;
  color: #5f6d63;
}

.contact-title {
  margin: 0;
  max-width: 360px;
  font-size: clamp(2rem, 3vw, 2.35rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: var(--black);
}

.contact-copy {
  margin: 1.25rem 0 0;
  max-width: 340px;
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--black);
}

.contact-points {
  margin-top: auto;
  padding-top: 1rem;
  display: grid;
  gap: 1rem;
}

.contact-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-point-dot {
  width: 12px;
  height: 12px;
  margin-top: 0.4rem;
  background: var(--forest);
  flex: 0 0 auto;
}

.contact-point p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--black);
}

.contact-form-head {
  margin-bottom: 1.25rem;
}

.contact-form-title {
  margin: 0;
  font-size: clamp(1.9rem, 2.2vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}

.contact-form-intro {
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
  color: #fff;
}

#contact .contact-form {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

#contact .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1rem;
  margin: 0 0 0.8rem;
}

#contact .form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  min-width: 0;
}

#contact .form-field-message {
  margin-bottom: 0.8rem;
}

#contact .form-field label {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

#contact .form-field input,
#contact .form-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
  background: #fff;
  color: #223129;
  font: inherit;
  transition:
    box-shadow 160ms ease,
    border-color 160ms ease;
}

#contact .form-field input {
  min-height: 44px;
}

#contact .form-field textarea {
  height: 88px;
  min-height: 88px;
  margin: 0;
  resize: none;
}

#contact .form-field input::placeholder,
#contact .form-field textarea::placeholder {
  color: #707982;
  opacity: 1;
}

#contact .form-field input:focus,
#contact .form-field textarea:focus {
  outline: none;
  border-color: rgba(92, 225, 230, 0.45);
  box-shadow: 0 0 0 4px rgba(92, 225, 230, 0.14);
}

.contact-form-footer {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;    
}

.contact-form-footer p {
  margin: 0;
  font-size: 0.95rem;
  color: #fff;
}

#contact .form-submit {
  appearance: none;
  border: none;
  border-radius: 0;
  padding: 0.95rem 1.6rem;
  background: #fff;
  color: #000;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

#contact .form-submit:hover,
#contact .form-submit:focus-visible {
  transform: translateY(-1px);
  background: #f3f5f7;
  outline: none;
}

#contact .form-submit:active {
  transform: translateY(0);
}

.site-footer {
  position: relative;  
  color: #f7f8fa;
  background: radial-gradient(circle at 15% 10%, rgba(186, 187, 188, 0.12), transparent 42%), radial-gradient(circle at 85% 0%, rgba(111, 127, 143, 0.18), transparent 30%), linear-gradient(180deg, #2b3138 0%, #353c44 38%, #48515a 68%, #66717b 86%, #8e98a2 100%);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%, rgba(111, 127, 143, 0.12), transparent 28%), radial-gradient(circle at 80% 20%, rgba(186, 187, 188, 0.10), transparent 24%);
}



.footer-inner {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.4rem, 3vw, 2rem);
  display: grid;
  gap: 1.4rem;
  justify-items: center;
  text-align: center;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding-bottom: 0.5rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;

    color: #fff;

    background: linear-gradient(
        135deg,
        #002060 0%,
        #0040a0 30%,
        #0090e0 60%,
        #00c0f0 100%
    );

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);

    transition:
        transform 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    background: linear-gradient(
        135deg,
        #67717b 0%,
        #4d8296 30%,
        #1284a0 60%,
        #78edf2 100%
    );

    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}


.footer-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

.footer-meta {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
}

.footer-meta p {
  margin: 0;
}

.footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.86);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.92);
  transition: color 160ms ease;
}

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

/* =========================================
   FOOTER CONTACT DETAILS
========================================= */

.footer-details {
  width: 100%;
  display: grid;
  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.35fr)
    minmax(0, 1fr);

  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);

  text-align: left;
}

.footer-detail {
  min-width: 0;
  padding:
    clamp(1.4rem, 3vw, 2rem)
    clamp(1rem, 3vw, 2rem);
}

.footer-detail:first-child {
  padding-left: 0;
}

.footer-detail:last-child {
  padding-right: 0;
}

.footer-detail + .footer-detail {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-detail h2 {
  margin: 0 0 0.85rem;

  color: #78edf2;

  font-size: 0.90rem;
  font-weight: 800;
  line-height: 1.2;

  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-detail p,
.footer-detail address {
  margin: 0;

  color: #f7f8fa;

  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.65;
}

.footer-detail address {
  font-style: normal;
}

.footer-detail p + p {
  margin-top: 0.55rem;
}

.footer-detail a {
  color: inherit;
  text-decoration: none;
  text-decoration-color: transparent;
  text-underline-offset: 0.24em;

  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

.footer-detail a:hover,
.footer-detail a:focus-visible {
  color: #78edf2;
  text-decoration: underline;
  text-decoration-color: currentColor;
  outline: none;
}

/* Opening-hours rows */

.footer-hours {
  display: grid;
  gap: 0.4rem;
  margin: 0;
}

.footer-hours div {
  display: grid;
  grid-template-columns: minmax(7.2rem, auto) 1fr;
  gap: 0.75rem;

  line-height: 1.5;
}

.footer-hours dt,
.footer-hours dd {
  margin: 0;
}

.footer-hours dt {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

/* =========================================
   FOOTER DETAILS — TABLET
========================================= */

@media (max-width: 900px) {
  .footer-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-detail:nth-child(2) {
    padding-right: 0;
  }

  .footer-detail:nth-child(3) {
    grid-column: 1 / -1;

    padding-left: 0;

    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .footer-hours {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .footer-hours div {
    display: block;
  }

  .footer-hours dt {
    margin-bottom: 0.25rem;
  }
}

/* =========================================
   FOOTER DETAILS — MOBILE
========================================= */

@media (max-width: 620px) {
  .footer-details {
    grid-template-columns: 1fr;
  }

  .footer-detail,
  .footer-detail:first-child,
  .footer-detail:nth-child(2),
  .footer-detail:nth-child(3),
  .footer-detail:last-child {
    grid-column: auto;

    padding: 1.35rem 0;

    border-left: 0;
  }

  .footer-detail + .footer-detail {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .footer-hours {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .footer-hours div {
    display: grid;
    grid-template-columns: 7.3rem 1fr;
    gap: 0.65rem;
  }

  .footer-hours dt {
    margin: 0;
  }
}

.motorhome-gradient {
  display: inline-block;
  padding-right: 0.08em;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
  color: #0040a0;
  background-image: linear-gradient(
    90deg,
    #002060 0%,
    #0040a0 32%,
    #0090e0 68%,
    #00c0f0 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 1200px) {
  .media-tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  
  #servicing {
    --tools-copy-col: minmax(0, 1fr);
    --tools-image-col: minmax(240px, 320px);
    --tools-gap: clamp(1rem, 3vw, 2rem);
  }

  .tools-top-copy {
    max-width: min(30ch, 100%);
  }

  .tools-feature-image {
    width: min(100%, 380px);
    max-width: 380px;
  }

  .contact-overlap {
    min-height: 780px;
  }

  .contact-panel {
    height: 520px;
  }

  .contact-panel-inner {
    padding: 2.5rem;
  }

  .contact-panel-info {
    border-width: 28px;
  }
}

@media (max-width: 900px) {

  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-copy {
    max-width: 100%;
  }

  .feature-kicker {
    margin-bottom: 0.4rem;
  }

  .feature-row .feature-copy,
  .feature-row .feature-media,
  .feature-row-reverse .feature-copy,
  .feature-row-reverse .feature-media {
    grid-column: 1 / -1;
    justify-self: center !important;
    margin: 0 !important;
  }

  .feature-media {
    justify-content: center;
  }

  .tools-feature-image {
    margin-inline: auto !important;
  }
}

@media (max-width: 899px) {
  .contact-overlap {
    min-height: auto;
    display: grid;
    gap: 1.5rem;
  }

  .contact-panel {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .contact-panel-info,
  .contact-panel-form {
    left: auto;
    right: auto;
    top: auto;
  }

  .contact-panel-inner {
    padding: 1.75rem;
  }

  .contact-panel-info {
    border-width: 18px;
  }

 #contact .form-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }
    
 #contact .form-field textarea {
    height: 130px;
    min-height: 130px;
    margin: 0;
  }

  .contact-form-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }


  .contact-form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 780px) {
  .grid-3,
  .grid-2,
  .process-grid,
  .faq-grid,
  .stack-2,
  .tool-image-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  #servicing {
    padding-top: clamp(3rem, 6vw, 6rem);
  }

  .tools-top {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .tools-top-copy {
    max-width: 100%;
    width: 100%;
  }

  .tools-top-copy h2 {
    max-width: 12ch;
    width: 100%;
    margin-right: 0;
    text-wrap: balance;
  }

  h2 {
    max-width: 12ch;
    text-wrap: balance;
  }

  .section-head > div {
    width: auto;
  }

  .tools-feature-image {
    width: min(100%, 390px);
    max-width: 390px;
    justify-self: center;
    align-self: center;
    margin: 0 auto;
  }

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

  .media-tile {
    min-height: 210px;
    border-radius: 20px;
  }

  .media-tile-content {
    padding: 0.85rem 0.8rem 0.8rem;
  }

  .tools-spanner-rain {
    opacity: 1;
  }

  .tools-spanner {
    width: var(--size-mobile, 46px);
  }

  .tools-spanner.is-foreground {
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.08));
  }
}

@media (max-width: 560px) {
  .media-tile-grid {
    grid-template-columns: 1fr;
  }

  .media-tile {
    min-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .tools-feature-image,
  .media-tile img {
    transition: none;
  }

  .tools-spanner-rain {
    display: none;
  }
}

/* =========================================
   UNDERLINE LINK (VIDEOS / ARTICLES)
========================================= */

.link-underline {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.3rem;
}

.link-underline::before,
.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  bottom: 0;
  border-radius: 999px;
}

.link-underline::before {
  background: rgba(0, 0, 0, 0.25); /* subtle base line */
}

.link-underline::after {
  background: #000;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms ease;
}

.link-underline:hover::after,
.link-underline:focus-visible::after {
  transform: scaleX(1);
}

/* =========================================
   SHARED TEXT LINK STYLES
========================================= */

.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.link-inline .link-text {
  position: relative;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.link-inline .link-text::before,
.link-inline .link-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
}

.link-inline .link-text::before {
  background: rgba(0, 0, 0, 0.22);
}

.link-inline .link-text::after {
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms ease;
}

.link-inline:hover .link-text::after,
.link-inline:focus-visible .link-text::after {
  transform: scaleX(1);
}

.link-inline .link-arrow {
  transition: transform 180ms ease;
}

.link-inline:hover .link-arrow,
.link-inline:focus-visible .link-arrow {
  transform: translateX(4px);
}

.link-inline:focus-visible {
  outline: none;
}

/* Dark background version */
.link-inline.is-light {
  color: #fff;
}

.link-inline.is-light .link-text::before {
  background: rgba(255, 255, 255, 0.5);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .link-inline .link-text::after,
  .link-inline .link-arrow {
    transition: none;
  }
}


/* =========================================
   VERSION 19 MOVING ARTICLE/VIDEO TILE GALLERY
========================================= */

#components,
#mechanical {
  overflow: visible;
}

#components .ma-loop-viewport,
#mechanical .ma-loop-viewport {
  --ma-tile-size: clamp(190px, 18vw, 238px);
  --ma-field-top: clamp(74px, 7vw, 108px);
  --ma-field-bottom: clamp(74px, 7vw, 108px);
  --ma-motion-scale: 1;
  --ma-gap-scale: 1;
  --ma-float-scale-factor: 1;

  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: calc(var(--ma-tile-size) + var(--ma-field-top) + var(--ma-field-bottom));
  overflow: hidden;
  padding: var(--ma-field-top) 0 var(--ma-field-bottom);
  isolation: isolate;
}

#components .ma-loop-viewport::before,
#components .ma-loop-viewport::after,
#mechanical .ma-loop-viewport::before,
#mechanical .ma-loop-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(7vw, 88px);
  z-index: 20;
  pointer-events: none;
}

#components .ma-loop-viewport::before,
#mechanical .ma-loop-viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), rgba(242,244,246,0));
}

#components .ma-loop-viewport::after,
#mechanical .ma-loop-viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), rgba(242,244,246,0));
}

#components .media-tile-grid.ma-loop-track,
#mechanical .media-tile-grid.ma-loop-track {
  display: flex !important;
  align-items: center;
  gap: 0 !important;
  width: max-content;
  margin-top: 0;
  padding: 0;
  will-change: transform;
  animation: maTrueSeamlessScroll var(--ma-loop-duration, 62s) linear infinite;
}

#components .media-tile-grid.ma-loop-track {
  animation-direction: reverse;
}

#mechanical .media-tile-grid.ma-loop-track {
  animation-direction: normal;
}

#components .ma-loop-unit,
#mechanical .ma-loop-unit {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  min-width: max-content;
}

#components .ma-loop-unit .media-tile,
#mechanical .ma-loop-unit .media-tile {
  opacity: 1 !important;
  visibility: visible !important;
  flex: 0 0 var(--ma-tile-size);
  width: var(--ma-tile-size);
  height: var(--ma-tile-size);
  min-height: 0;
  aspect-ratio: 1 / 1;
  margin-left: calc(var(--ma-gap-left, 10px) * var(--ma-gap-scale));
  margin-right: calc(var(--ma-gap-right, 18px) * var(--ma-gap-scale));
  transform: translate3d(
    calc(var(--ma-x, 0px) * var(--ma-motion-scale)),
    calc(var(--ma-y, 0px) * var(--ma-motion-scale)),
    0
  ) rotate(var(--ma-r, 0deg));
  transform-origin: center;
  z-index: var(--ma-z, 1);
  box-shadow: var(--shadow);
  cursor: pointer;
}

#components .ma-loop-unit .media-tile:hover,
#components .ma-loop-unit .media-tile:focus-visible,
#mechanical .ma-loop-unit .media-tile:hover,
#mechanical .ma-loop-unit .media-tile:focus-visible {
  transform: translate3d(
    calc(var(--ma-x, 0px) * var(--ma-motion-scale)),
    calc((var(--ma-y, 0px) * var(--ma-motion-scale)) - 14px),
    0
  ) rotate(0deg) scale(1.02);
  z-index: 50;
}

#components .ma-loop-unit[aria-hidden="true"] .media-tile,
#mechanical .ma-loop-unit[aria-hidden="true"] .media-tile {
  pointer-events: auto;
}

@keyframes maTrueSeamlessScroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

#components .ma-floating-upload,

#mechanical .ma-floating-upload {
  opacity: 1 !important;
  visibility: visible !important;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate3d(
    calc(var(--ma-float-x, 0px) * var(--ma-motion-scale)),
    calc(var(--ma-float-y, 0px) * var(--ma-motion-scale)),
    0
  ) rotate(var(--ma-float-r, 0deg)) scale(var(--ma-float-scale, 1));
  transform-origin: center;
  z-index: var(--ma-float-z, 18);
  pointer-events: none;
  flex-shrink: 0;
  border-radius: 0;
  overflow: visible;
  filter: drop-shadow(0 22px 30px rgba(24, 34, 28, 0.18));
}

#components .ma-floating-upload img,
#mechanical .ma-floating-upload img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#components .ma-floating-upload {
  width: calc(222px * var(--ma-float-scale-factor)) !important;
  height: calc(222px * var(--ma-float-scale-factor)) !important;
  margin-left: calc(3px * var(--ma-gap-scale)) !important;
  margin-right: calc(3px * var(--ma-gap-scale)) !important;
}

#mechanical .ma-floating-upload {
  width: calc(270px * var(--ma-float-scale-factor)) !important;
  height: calc(270px * var(--ma-float-scale-factor)) !important;
  margin-left: calc(4px * var(--ma-gap-scale)) !important;
  margin-right: calc(4px * var(--ma-gap-scale)) !important;
}

@media (max-width: 1100px) {
  #components .ma-loop-viewport,
  #mechanical .ma-loop-viewport {
    --ma-tile-size: clamp(178px, 23vw, 220px);
    --ma-field-top: clamp(58px, 7vw, 82px);
    --ma-field-bottom: clamp(58px, 7vw, 82px);
    --ma-motion-scale: .72;
    --ma-gap-scale: .82;
    --ma-float-scale-factor: .78;
  }

  #components .media-tile-grid.ma-loop-track,
  #mechanical .media-tile-grid.ma-loop-track {
    --ma-loop-duration: 54s;
  }
}

@media (max-width: 780px) {
  #components .ma-loop-viewport,
  #mechanical .ma-loop-viewport {
    --ma-tile-size: clamp(138px, 42vw, 176px);
    --ma-field-top: 54px;
    --ma-field-bottom: 58px;
    --ma-motion-scale: .46;
    --ma-gap-scale: .58;
    --ma-float-scale-factor: .46;
    min-height: calc(var(--ma-tile-size) + 112px);
  }

  #components .media-tile-grid.ma-loop-track,
  #mechanical .media-tile-grid.ma-loop-track {
    --ma-loop-duration: 42s;
  }

  #components .ma-loop-unit .media-tile,
  #mechanical .ma-loop-unit .media-tile {
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  #components .ma-loop-viewport,
  #mechanical .ma-loop-viewport {
    --ma-tile-size: clamp(124px, 48vw, 158px);
    --ma-field-top: 44px;
    --ma-field-bottom: 48px;
    --ma-motion-scale: .34;
    --ma-gap-scale: .46;
    --ma-float-scale-factor: .36;
  }

  #components .media-tile-grid.ma-loop-track,
  #mechanical .media-tile-grid.ma-loop-track {
    --ma-loop-duration: 36s;
  }
}

@media (prefers-reduced-motion: reduce) {
  #components .media-tile-grid.ma-loop-track,
  #mechanical .media-tile-grid.ma-loop-track {
    animation: none;
  }
}


#components .ma-loop-unit .media-tile,
#mechanical .ma-loop-unit .media-tile,
#components .ma-floating-upload,
#mechanical .ma-floating-upload {
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

#components .ma-loop-unit .media-tile.is-ma-hovered,
#mechanical .ma-loop-unit .media-tile.is-ma-hovered,
#components .ma-floating-upload.is-ma-hovered,
#mechanical .ma-floating-upload.is-ma-hovered {
  filter: drop-shadow(0 28px 42px rgba(24, 34, 28, 0.22));
  z-index: 80 !important;
}

#components .ma-floating-upload,
#mechanical .ma-floating-upload {
  pointer-events: auto;
}

#components .media-tile,
#components .ma-floating-upload,
#mechanical .media-tile,
#mechanical .ma-floating-upload {
  cursor: none !important;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/circuit-board-background.svg");
  background-size: 700px auto;
  background-position: center;
  background-repeat: repeat;
  opacity: 0.16;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
}

.contact-panel-form::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/circuit-board-background.svg") center/600px auto repeat;
  opacity: 0.15;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

.contact-panel-form .contact-panel-inner {
  position: relative;
  z-index: 1;
}

#servicing,
#components,
#mechanical,
#electrical,
#off-grid,
#app-membership,
#app-access,
#about,
#contact {
  position: relative;
  isolation: isolate;
}

#servicing::before,
#components::before,
#mechanical::before,
#electrical::before,
#off-grid::before,
#app-membership::before,
#app-access::before,
#about::before,
#contact::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);  
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

#servicing > *,
#components > *,
#mechanical > *,
#electrical > *,
#off-grid > *,
#app-membership > *,
#app-access > *,
#about > *,
#contact > * {
  position: relative;
  z-index: 1;
}

#contact {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

#app-membership {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}


.site-footer {
  margin-top: 0;
}


/* ARTICLES GRAPHIC */

.trees-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.homepage-compass {
  position: relative;
  width: 90px;
  height: 90px;
  display: block;
  pointer-events: none;
  opacity: .92;
  transform: translateX(2rem) translateY(20px);
}

@media (max-width: 900px) {
  .trees-panel {
    min-height: auto;
    margin-top: 1rem;
  }

  .homepage-compass {
    transform: translateX(1rem) translateY(25px);
  }
}

@media (max-width: 560px) {
  .homepage-compass {
    transform: translateX(0) translateY(15px);
  }
}

#components .articles-graphic-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 540px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (min-width: 901px) {
  #components .articles-graphic-row .feature-copy {
    justify-self: start;
  }

  #components .articles-graphic-row .feature-media {
    width: min(100%, 540px);
    justify-self: end;
    justify-content: flex-end;
  }

  #components .articles-graphic-row .tools-feature-image {
    width: 100%;
    max-width: 540px;
    margin-left: auto;
    margin-right: 0;
  }

  #mechanical .feature-row .feature-media {
    width: min(100%, 540px);
    justify-self: start;
    justify-content: flex-start;
  }

  #mechanical .feature-row .tools-feature-image {
    width: 100%;
    max-width: 540px;
    margin-left: 0;
    margin-right: auto;
  }

  #mechanical .feature-row .feature-copy {
    width: 100%;
    justify-self: end;
  }
}


/* =========================================
   APP EDITORIAL SECTIONS
========================================= */

.app-editorial-section {
  padding-top: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(1.5rem, 3vw, 3rem);
}

.app-editorial-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 6vw, 6.5rem);
  align-items: start;
}

.app-editorial-heading {
  position: sticky;
  top: 120px;
}

.app-editorial-heading .label {
  margin: 0 0 1rem;
}

.app-editorial-heading h2 {
    margin-bottom: 0.8rem;
}

.app-editorial-copy {
  max-width: 760px;
  padding-top: 0.2rem;
}

.app-editorial-copy p {
 margin-bottom: 0.6rem;
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.72;
  color: var(--text);
  text-wrap: pretty;
}

.app-editorial-copy p:last-child {
  margin-bottom: 0;
}

.app-feature-list {
  display: grid;
  gap: clamp(1.4rem, 2.5vw, 2.1rem);
}

.app-feature-item {
  padding-bottom: clamp(1.2rem, 2vw, 1.7rem);
  border-bottom: 1px solid rgba(34, 49, 41, 0.14);
}

.app-feature-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.app-feature-item h3 {
  margin-bottom: 0.65rem;
}

.app-access-links p {
  margin-top: 1rem;
  margin-bottom: 0.7rem;
}

.app-access-links .link-inline + p {
  margin-top: 1.35rem;
}

@media (max-width: 900px) {
  .app-editorial-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .app-editorial-heading {
    position: relative;
    top: auto;
  }

  .app-editorial-heading h2 {
    max-width: 12ch;
  }
}

@media (max-width: 560px) {
  .app-editorial-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .app-editorial-copy p {
    font-size: 1.05rem;
  }
}

.app-feature-title {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.65rem;
}

.app-feature-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  stroke: #6f7f8f;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-feature-icon-leveller {
  fill: #6f7f8f;
  stroke: none;
}

.hero-video-shell{
  position:relative;
  width:100%;
  max-width:900px;
  aspect-ratio:16 / 10;
  overflow:visible;
  background:transparent;
  box-shadow:none;
}

.hero-video-poster,
.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.hero-video-poster{
  z-index:2;
  display:block;
  padding:0;
  border:0;
  background:transparent;
  cursor: pointer;
}

.hero-video-poster img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:drop-shadow(0 24px 40px rgba(0,0,0,.18));
}

.hero-video-play{
  position:absolute;
  left:50%;
  top:47%;
  width:clamp(58px, 6vw, 84px);
  height:clamp(58px, 6vw, 84px);
  transform:translate(-50%,-50%);
  border:4px solid rgba(63,71,80,.9);
  border-radius:50%;
  background:rgba(255,255,255,.45);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  pointer-events:none;
  animation:heroPlayPulse 2.2s ease-in-out infinite;
}

.hero-video-play::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-38%,-50%);
  border-top:13px solid transparent;
  border-bottom:13px solid transparent;
  border-left:19px solid rgba(63,71,80,.95);
}

.hero-video-play::after{
  content:"";
  position:absolute;
  inset:-10px;
  border:2px solid rgba(255,255,255,.45);
  border-radius:50%;
  opacity:0;
  animation:heroPlayRing 2.2s ease-out infinite;
}

@keyframes heroPlayPulse{
  0%, 100%{
    transform:translate(-50%,-50%) scale(1);
  }

  45%{
    transform:translate(-50%,-50%) scale(1.06);
  }
}

@keyframes heroPlayRing{
  0%{
    transform:scale(.8);
    opacity:.65;
  }

  70%, 100%{
    transform:scale(1.35);
    opacity:0;
  }
}

@media (prefers-reduced-motion: reduce){
  .hero-video-play,
  .hero-video-play::after{
    animation:none;
  }
}

.hero-video{
  position:absolute;
  inset:0;
  z-index:1;

  width:100%;
  height:100%;

  display:block;
  object-fit:cover;

  opacity:0;
  visibility:hidden;
  pointer-events:none;

  background:transparent;
}

.hero-video-shell.is-playing .hero-video{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  z-index:3;
  background:#111;
}



.hero-video-shell.is-playing .hero-video-poster{
  display:none;
}

@media (max-width:780px){
  .hero-video-shell{
    width:100%;
    max-width:520px;
    margin-inline:auto;
  }
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* HOMEPAGE COMPASS - TOURS PAGE STYLE */

.homepage-compass {
  position: relative;
  width: 90px;
  height: 90px;
  pointer-events: none;
  opacity: .92;
  transform: translateX(2rem) translateY(20px);
}

.homepage-compass-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(74,82,91,.8);
  border-radius: 50%;
}

.homepage-compass-ring::before,
.homepage-compass-ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(74,82,91,.8);
  transform: translate(-50%, -50%);
}

.homepage-compass-ring::before {
  width: 1px;
  height: 70%;
}

.homepage-compass-ring::after {
  width: 70%;
  height: 1px;
}

.homepage-compass-contours {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  overflow: hidden;
  background: url("../images/circuit-board-background.svg") center / 240% no-repeat;
  opacity: .16;
}

.homepage-compass-needle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 36px;
  background: #5ce1e6;
  border-radius: 999px;
  transform: translate(-50%, -82%) rotate(0deg);
  transform-origin: 50% 82%;
  transition: transform .12s linear;
  box-shadow: 0 0 14px rgba(92,225,230,.45);
}

.homepage-compass-needle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -8px;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 13px solid #5ce1e6;
}

.homepage-compass-needle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 12px solid rgba(74,82,91,.8);
}

.homepage-compass-centre {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 13px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #f2f4f6;
  border: 2px solid #4a525b;
  box-shadow: 0 0 10px rgba(92,225,230,.35);
}

.homepage-compass-n {
  position: absolute;
  left: 50%;
  top: -22px;
  transform: translateX(-50%);
  color: #4a525b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
}

@media (max-width: 900px) {
  .homepage-compass {
    transform: translateX(1rem) translateY(25px);
  }
}

@media (max-width: 560px) {
  .homepage-compass {
    transform: translateX(0) translateY(15px);
  }
}



:root{
  --nav-font:'Oswald', ui-sans-serif, system-ui, sans-serif;
  --brand-cyan:#50deff;
  --hero-1:#2b3138; --hero-2:#353c44; --hero-3:#48515a; --hero-4:#66717b;
}

/* ---- Secondary top bar ---- */
.top-bar {
  background: #3f4750;
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 10050;
}
.top-bar-inner{
  max-width:1240px; margin-inline:auto; width:min(calc(100% - 2rem), 1240px);
  display:flex; align-items:center; justify-content:flex-start; gap:clamp(0.12rem, 0.25vw, 0.25rem);
  flex-wrap:wrap;
}
.top-bar-item{ position:relative; display:flex; align-items:center; }
.top-bar-divider{ width:1px; height:20px; background:rgba(255,255,255,.28); flex:0 0 auto; margin-top:8px; }
.top-bar-link{
  display:inline-flex; align-items:center; gap:0.22rem;
  font-family:var(--nav-font); font-weight:600; font-size:clamp(0.96rem, 0.82vw, 1.05rem);
  letter-spacing:.035em; text-transform:uppercase; color:#ffffff;
  text-decoration:none; padding:26px 0 10px; cursor:pointer;
  transition:color .18s ease; background:none; border:0;
}
.top-bar-link:hover, .top-bar-item.open .top-bar-link{ color:var(--brand-cyan); }
.top-bar-arrow{
  font-size:1rem; line-height:1; color:var(--brand-cyan);
  transition:transform .25s cubic-bezier(.22,1,.36,1);
}
.top-bar-item.open .top-bar-arrow{ transform:rotate(180deg); }
@media(max-width:900px){ .top-bar{ display:none; } }

.top-bar-dropdown{
  position:absolute; top:100%; left:50%; transform:translateX(-50%) translateY(6px);
  min-width:200px; background:#3f4750; border-radius:12px;
  padding:0.5rem; box-shadow:0 18px 44px rgba(24,34,28,.18);
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .22s ease, transform .22s ease, visibility .22s ease;
  z-index:60;
}
.top-bar-item.open .top-bar-dropdown,
.top-bar-item:hover .top-bar-dropdown{
  opacity:1; visibility:visible; pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
.top-bar-item-contact .top-bar-dropdown{
  left:auto; right:0; transform:translateY(6px);
}
.top-bar-item-contact.open .top-bar-dropdown,
.top-bar-item-contact:hover .top-bar-dropdown{
  transform:translateY(0);
}
.top-bar-dropdown a{
  display:block; padding:0.45rem 0.9rem; border-radius:9px;
  color:#fff; font-family:Inter, sans-serif; font-weight:500; font-size:1.05rem;
  text-decoration:none; position:relative;
}
.top-bar-dropdown a .label{ position:relative; display:inline-block; color:#fff; margin:0; font-size:inherit; text-transform:none; letter-spacing:normal; font-weight:inherit; }
.top-bar-dropdown a .label::after{
  content:""; position:absolute; left:0; bottom:-3px; width:0; height:1.5px;
  background:var(--brand-cyan); transition:width .24s ease;
}
.top-bar-dropdown a:hover .label::after{ width:100%; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  overflow: visible;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: #3f4750;
}

.top-bar,
.site-header {
  transition: transform 280ms cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.top-bar.nav-hidden,
.site-header.nav-hidden {
  transform: translateY(-100%);
}

@media (prefers-reduced-motion: reduce) {
  .top-bar,
  .site-header {
    transition: none;
  }
}

.header-inner {
  width:100%; padding-inline:clamp(16px, 3vw, 40px);
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-sizing: border-box;
}

.brand-wordmark{
  font-family:var(--nav-font); font-weight:600; font-size:1.15rem;
  letter-spacing:.1em; text-transform:uppercase; color:#fff;
  white-space:nowrap;
}
@media(max-width:900px){ .brand-wordmark{ font-size:0.95rem; } }
@media(max-width:640px){
  .header-inner{ justify-content:flex-end; }
  .brand-wordmark{
    display:block;
    position:absolute;
    top:50%;
    left:20px;
    transform:translateY(-50%);
    font-size:0.72rem;
    line-height:1.25;
    letter-spacing:.04em;
    white-space:normal;
    max-width:100px;
  }
}
@media(max-width:420px){ .brand-wordmark{ font-size:0.88rem; letter-spacing:.04em; } }
.badge-frame{
  position:absolute; left:50%; top:6px; transform:translateX(-50%);
  width:148px; height:110px; z-index:1;
  pointer-events:none;
}
.badge-frame svg{ display:block; width:100%; height:100%; }

.badge-wrap{
  position:absolute; left:50%; top:70px; transform:translateX(-50%);
  width:96px; z-index:2;
}
.badge-shield{
  display:block; width:100%; height:auto;  
}
.badge-logo-img{
  position:absolute; left:50%; top:42%; transform:translate(-50%,-50%);
  width:60px; height:60px; object-fit:contain; z-index:1;
}
@media(max-width:640px){
   .badge-frame{ width:116px; height:88px; top:30px; }
  .badge-wrap{ width:78px; }

  .badge-logo-img{ width:46px; height:46px; }
}

.menu-trigger{
  display:inline-flex; align-items:center; gap:10px; cursor:pointer;
  background:none; border:0; padding:0.6rem 0.2rem; color:#fff;
  font-family:var(--nav-font); font-weight:600; font-size:0.95rem;
  letter-spacing:.08em; text-transform:uppercase;
  position:relative; z-index:5; touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.menu-trigger .bars{display:flex; flex-direction:column; gap:5px;}
.menu-trigger .bars span{width:22px; height:2px; background:#fff; display:block;}

/* ---- Backdrop + drawer ---- */
.menu-backdrop{
  position:fixed; inset:0; background:rgba(0,0,0,0);
  pointer-events:none; transition:background .35s ease; z-index:10098;
}
.menu-backdrop.open{ background:rgba(0,0,0,.45); pointer-events:auto; }

.menu-drawer{ 
  position:fixed; top:0; right:0; bottom:0;
  height:100vh; height:100dvh;
  width:min(480px, 88vw); z-index:10099;
  background:linear-gradient(165deg, var(--hero-1) 0%, var(--hero-2) 55%, #2f363d 100%);
  box-shadow:-24px 0 60px rgba(0,0,0,.35);

  transform:translateX(100%);
  transition:transform .45s cubic-bezier(.22,1,.36,1);
  display:flex; flex-direction:column;
  overflow:hidden;
}
.menu-drawer.open{ transform:translateX(0); }
.menu-drawer::before{
  content:""; position:absolute; inset:0;
  background-image:url("../images/circuit-board-background.svg");
  background-size:600px auto; background-position:center;
  opacity:.18; mix-blend-mode:screen; pointer-events:none;
}

.drawer-top{
  position:relative; z-index:1;
  display:flex; align-items:center; gap:10px;
  padding:26px 30px 6px;
  font-family:var(--nav-font); font-weight:600; font-size:0.8rem;
  letter-spacing:.12em; text-transform:uppercase; color:#fff;
  cursor:pointer; width:fit-content;
}
.drawer-top .x{ width:16px; height:16px; position:relative; }
.drawer-top .x::before, .drawer-top .x::after{
  content:""; position:absolute; top:50%; left:0; width:100%; height:2px; background:#fff;
}
.drawer-top .x::before{ transform:rotate(45deg); }
.drawer-top .x::after{ transform:rotate(-45deg); }

.drawer-list{
  position:relative; z-index:1;
  list-style:none; margin:0; padding:44px 30px 30px;
  display:flex; flex-direction:column;
  overflow-y:auto;
}
.drawer-list > li{ border-top:1px solid rgba(255,255,255,.1); }
.drawer-list > li:last-child{ border-bottom:1px solid rgba(255,255,255,.1); }

.drawer-item-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:15px 2px; cursor:pointer; text-decoration:none;
  color:#fff; font-family:var(--nav-font); font-weight:700;
  font-size:clamp(1.15rem, 2.6vw, 1.45rem); text-transform:uppercase;
  letter-spacing:.01em;
}
.drawer-item-row .label{ position:relative; display:inline-block; color:#fff; margin:0; font-size:inherit; text-transform:none; letter-spacing:normal; font-weight:inherit; }
.drawer-item-row .label::after{
  content:""; position:absolute; left:0; bottom:-5px; width:0; height:2px;
  background:var(--brand-cyan); transition:width .28s cubic-bezier(.22,1,.36,1);
}
.drawer-item-row:hover .label::after,
.drawer-item-row:focus-visible .label::after{ width:100%; }
.drawer-item-row .chev{
  color:var(--brand-cyan); font-size:2rem; line-height:1; flex:0 0 auto; margin-left:14px;
  transition:transform .3s cubic-bezier(.22,1,.36,1);
}
li.expanded > .drawer-item-row .chev{ transform:rotate(90deg); }

.sublist{
  list-style:none; margin:0; padding:0 2px;
  max-height:0; overflow:hidden;
  transition:max-height .38s cubic-bezier(.22,1,.36,1);
}
li.expanded .sublist {
  max-height: 600px;
}
.sublist li{ padding:0; }
.sublist a{
  display:block; text-decoration:none; color:rgba(255,255,255,.75);
  font-family:Inter, sans-serif; font-weight:500;
  font-size:1.08rem; padding:5px 0 5px 4px;
  position:relative;
}
.sublist a .label{ position:relative; display:inline-block; color:inherit; margin:0; font-size:inherit; text-transform:none; letter-spacing:normal; font-weight:inherit; }

.sublist a .label::after{
  content:""; position:absolute; left:0; bottom:-3px; width:0; height:1.5px;
  background:var(--brand-cyan); transition:width .24s ease;
}
.sublist a:hover .label::after,
.sublist a:focus-visible .label::after{ width:100%; }
.sublist a:hover, .sublist a:focus-visible{ color:#fff; }

/* =========================================
   ABOUT SECTION — DESKTOP ONLY
   Text left / image right
========================================= */

@media (min-width: 901px) {

  #about .feature-row,
  #about .feature-row-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
  }

  #about .feature-copy {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    max-width: 61.4ch;
  }

  #about .feature-media {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    justify-self: end;
    justify-content: flex-end;
  }

  #about .tools-feature-image {
    justify-self: end;
    margin-left: auto;
    margin-right: 0;
  }
}

/* =========================================
   ARTICLES + VIDEOS
   STRAIGHT CONTINUOUS CARD ROWS
========================================= */

#components .ma-loop-viewport,
#mechanical .ma-loop-viewport {
  --ma-field-top: clamp(2rem, 4vw, 3.5rem);
  --ma-field-bottom: clamp(2rem, 4vw, 3.5rem);
}

#components .ma-loop-unit,
#mechanical .ma-loop-unit {
  align-items: center;
}

#components .ma-loop-unit .media-tile,
#mechanical .ma-loop-unit .media-tile {
  margin-left: 12px;
  margin-right: 12px;

  transform: translate3d(0, 0, 0) rotate(0deg);

  z-index: 1;
}

/* Small hover lift while remaining upright */
#components .ma-loop-unit .media-tile:hover,
#components .ma-loop-unit .media-tile:focus-visible,
#mechanical .ma-loop-unit .media-tile:hover,
#mechanical .ma-loop-unit .media-tile:focus-visible {
  transform: translate3d(0, -6px, 0) rotate(0deg) scale(1.02);
  z-index: 10;
}

/* Restore normal clickable cursor */
#components .media-tile,
#mechanical .media-tile {
  cursor: pointer !important;
}

/* =========================================
   MEMBERSHIP — STACKED TYPOGRAPHY SCROLL
   Headings stay in normal document flow.
   Open copy pushes headings below it down.
========================================= */

#electrical,
#off-grid {
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
  scroll-margin-top: 78px;
}

#electrical .section-head,
#off-grid .section-head {
  margin-bottom: 0.25rem;
}


.membership-scroll-shell {
  position: relative;
  width: 100%;
  margin: 0;
}

.membership-scroll-sticky {
  position: sticky;
  top: 74px;

  height: calc(100vh - 74px);
  min-height: 560px;

  overflow: hidden;
  isolation: isolate;
}

.membership-scroll-stack {
  --membership-stack-y: 0px;

  position: absolute;
  left: 50%;
  top: 3rem;

  width: min(96vw, 1100px);

  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;

  transform:
    translateX(-50%)
    translate3d(0, var(--membership-stack-y), 0);

  will-change: transform;
}

/*
  Each item remains in normal vertical flow.
  Therefore an opening paragraph pushes every
  following heading down exactly as in the reference.
*/
.membership-scroll-item {
  width: 100%;
  padding: 0.28rem 0;
  opacity: 1; 
  cursor: pointer;
  transform: none;
}

.membership-scroll-heading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%; 
}

.membership-scroll-title {
  margin: 0;
  max-width: 24ch;

  font-family: var(--nav-font);
  font-size: clamp(1.85rem, 3.15vw, 3.25rem);
  line-height: 1.03;
  font-weight: 650;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-align: center;
  text-wrap: balance;
  color: #000;
}

/*
  This wrapper is what actually opens/closes.
  Its height collapses to zero, so the heading
  below moves upward when the paragraph disappears.
*/
.membership-scroll-copy-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;

  transition:
    grid-template-rows 650ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms ease;
}

.membership-scroll-copy-wrap > * {
  min-height: 0;
  overflow: hidden;
}

/* =========================================
   MEMBERSHIP PARAGRAPH — WORD REVEAL
========================================= */

.membership-scroll-copy {
  width: min(100%, 760px);
  margin: 0 auto;
  padding-top: 0;
  font-size: 1.25rem;
  line-height: 1.62;
  color: #223129;
  text-align: center;
  text-wrap: pretty;
  transform: translateY(-4px);
  transition:
    transform 550ms cubic-bezier(0.22, 1, 0.36, 1),
    padding-top 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

/*
  Each word is revealed independently.
  Slower duration gives each word a softer,
  more deliberate left-to-right appearance.
*/
.membership-word {
  display: inline-block;

  opacity: 0;

  clip-path: inset(0 100% 0 0);

  transform: translate3d(5px, 0, 0);

  transition:
    clip-path 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);

  /*
    No delay when hiding again.
  */
  transition-delay: 0ms;

  will-change:
    clip-path,
    opacity,
    transform;
}

/*
  Reveal words progressively from left to right.
  Increasing this from 32ms to 55ms slows the
  overall reading rhythm noticeably.
*/
.membership-scroll-item.is-copy-visible .membership-word {
  opacity: 1;

  clip-path: inset(0 0 0 0);

  transform: translate3d(0, 0, 0);

  transition-delay:
    calc(var(--membership-word-index) * 55ms);
}

/*
  Desktop/tablet:
  hover over a heading/item and the paragraph takes up
  real space beneath it, pushing subsequent headings down.
*/
@media (min-width: 561px) {

  .membership-scroll-item.is-copy-visible
  .membership-scroll-copy-wrap {
    grid-template-rows: 1fr;
    opacity: 1;
  }

  .membership-scroll-item.is-copy-visible
  .membership-scroll-copy {
    padding-top: 0.8rem;
  }
}

/* Mobile arrow hidden above phone breakpoint */
.membership-scroll-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: #222a30;
  line-height: 1;
  cursor: pointer;
}

.membership-scroll-toggle span {
  display: block;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.membership-scroll-toggle[aria-expanded="true"] span {
  transform: rotate(90deg);
}


/* Tablet */
@media (max-width: 900px) {
  .membership-scroll-sticky {
    height: calc(86vh - 74px);
    min-height: 460px;
  }  
}

@media (max-width: 560px) {
  .membership-scroll-sticky {
    height: calc(88dvh - 74px);
    min-height: 440px;
  }

  .membership-scroll-item {
    padding: 0.25rem 0;
  }  
}

/* Phones */
@media (max-width: 560px) {
  #electrical,
  #off-grid {
    padding-bottom: 0.75rem;
  }

  

  .membership-scroll-sticky {
    top: 74px;
    height: calc(100dvh - 74px);
    min-height: 500px;
  }

  .membership-scroll-stack {
    width: calc(100vw - 2rem);
    align-items: stretch;
  }

  .membership-scroll-item {
    padding: 0.55rem 0;
    transform-origin: left center;
  }

   .membership-scroll-heading-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 0.65rem;
    cursor: pointer;
  }

  .membership-scroll-title {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;

    /* Smaller phone heading size */
    font-size: clamp(1.2rem, 5.2vw, 1.55rem);
    line-height: 1.08;

    text-align: left;
  }

  .membership-scroll-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* Keep every arrow in the same right-hand column */
    flex: 0 0 1.9rem;
    width: 1.9rem;
    height: 1.9rem;
    margin-left: auto;

    font-size: 1.35rem;
  }


  .membership-scroll-copy {
    width: 100%;
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    text-align: left;
  }

  .membership-scroll-item.is-expanded .membership-scroll-copy-wrap {
    grid-template-rows: 1fr;
    opacity: 1;
  }

  .membership-scroll-item.is-expanded .membership-scroll-copy {
    padding-top: 0.7rem;
    transform: translateY(0);
  }  
}

@media (prefers-reduced-motion: reduce) {
  .membership-scroll-shell {
    height: auto;
  }

  .membership-scroll-sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .membership-scroll-stack {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
  }

  .membership-scroll-item {
    opacity: 1;
    transform: none;
  }

  .membership-scroll-copy-wrap {
    grid-template-rows: 1fr;
    opacity: 1;
  }

  .membership-scroll-copy {
    padding-top: 0.7rem;
    transform: none;
  }

  .membership-scroll-toggle {
    display: none !important;
  }
}

/* =========================================
   MEMBERSHIP — FINAL LEARN MORE LINK
========================================= */

.membership-scroll-link-item {
  width: 100%;
  padding: 0.28rem 0;
}


.membership-scroll-learn-more {
  display: inline-block;
  max-width: none;
  text-decoration: none;
  cursor: pointer;

  /* Same typography as stack headings */
  font-family: var(--nav-font);
  font-size: clamp(1.85rem, 3.15vw, 3.25rem);
  line-height: 1.03;
  font-weight: 650;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-align: center;

  /* Your existing motorhome gradient */
  color: #5a646e;
  background-image: linear-gradient(
    90deg,
    #5a646e 0%,
    #0c6980 55%,
    #5ce1e6 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  transition: transform 180ms ease;
}

.membership-scroll-learn-more:hover,
.membership-scroll-learn-more:focus-visible {
  transform: translateX(6px);
}

.membership-scroll-learn-more:focus-visible {
  outline: 2px solid #0c6980;
  outline-offset: 6px;
}

@media (max-width: 560px) {
  .membership-scroll-link-item {
    padding: 0.55rem 0;
  }

  .membership-scroll-link-item .membership-scroll-heading-row {
    justify-content: flex-start;
  }

  .membership-scroll-learn-more {
    font-size: clamp(1.45rem, 6.8vw, 2rem);
    text-align: left;
  }
}

.membership-scroll-learn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
}

.membership-learn-more-arrow {
  display: inline-block;
  font-size: 0.8em;
  line-height: 1;
  transition: transform 220ms ease;
}

.membership-scroll-learn-more:hover .membership-learn-more-arrow,
.membership-scroll-learn-more:focus-visible .membership-learn-more-arrow {
  transform: translateX(0.25em);
}

/* =========================================
   MEMBERSHIP — MOBILE LEARN MORE FIX
========================================= */

@media (max-width: 560px) {

  .membership-scroll-link-item {
    position: relative;
    z-index: 30;
    pointer-events: auto;
  }

  .membership-scroll-link-item .membership-scroll-heading-row {
    position: relative;
    z-index: 30;
    display: block;
    width: 100%;
    pointer-events: auto;
    cursor: default;
  }

  .membership-scroll-learn-more {
    position: relative;
    z-index: 31;

    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45em;

    width: auto;
    max-width: none;
    flex: none;

    font-size: clamp(1.2rem, 5.2vw, 1.55rem);
    line-height: 1.08;
    text-align: left;

    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
  }

  .membership-learn-more-arrow {
    flex: 0 0 auto;
  }
}

/* =========================================
   MEMBERSHIP — PHONE NATURAL HEIGHT FIX
========================================= */

@media (max-width: 560px) {

  .membership-scroll-shell {
    height: auto !important;
    min-height: 0;
  }

  .membership-scroll-sticky {
    position: relative;
    top: auto;

    height: auto;
    min-height: 0;

    overflow: visible;
  }

  .membership-scroll-stack {
    position: relative;

    left: auto;
    top: auto;

    width: calc(100vw - 2rem);
    margin: 3rem auto 0;

    transform: none !important;
  }

}

@media (min-width: 901px) {
  #servicing .photo-stack-images {
    transform: translateY(32px);
  }
}


/* =========================================================
   OFF-GRID CONFIGURATOR INNER PAGE
   ========================================================= */
.offgrid-page{--ink:#20262d;--muted:#66717b;--paper:#f2f4f6;--card:#fff;--line:#dce3e8;--navy:#002060;--blue:#006fc4;--cyan:#00c0f0;--dark:#2b3138;--ok:#087f5b;--shadow:0 22px 54px rgba(22,32,42,.12);--radius:24px;background:#f2f4f6;color:#20262d}
.inner-hero{position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;color:#fff;background:#263039}
.inner-hero-picture,.inner-hero-picture img,.inner-hero-shade{position:absolute;inset:0;width:100%;height:100%}
.inner-hero-picture img{object-fit:cover;object-position:center 55%}
.inner-hero-shade{z-index:1;background:linear-gradient(90deg,rgba(20,27,33,.88) 0%,rgba(29,38,45,.68) 48%,rgba(24,31,37,.28) 100%)}
.inner-hero-content{z-index:2;padding-block:1rem}
.offgrid-intro-kicker {
  display: inline-block;
  margin-bottom: 0.5rem;  
  font-family: inherit;  
  font-weight: 800;
  line-height: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
    color: #6f7f8f;
    font-size: 0.98rem;    
    letter-spacing: 0.08em;
    font-weight: 900;
}
.inner-hero h1{max-width:850px;margin:0 0 8px;color:#fff;font-family:"Oswald",Inter,sans-serif;font-size:22px;font-weight:800;line-height:26.4px;letter-spacing:0}
.inner-hero p{max-width:760px;margin:0 0 24px;color:#f1f5f7;font-size:16px;line-height:20px}
.offgrid-introduction{padding-block:clamp(4rem,8vw,7rem) clamp(3rem,6vw,5rem)}
.offgrid-introduction h2{max-width:900px;margin:.3rem 0 1.25rem;font-size:clamp(2.25rem,5vw,4.5rem);line-height:1.02}
.offgrid-intro-lead{margin:0 0 1.35rem;font-size:clamp(1.15rem,1.7vw,1.4rem)}
.offgrid-intro-copy {
  max-width: 900px;
  color: var(--text);
  font-size: 1.25rem;
}
.offgrid-intro-copy p{margin:0 0 1.05rem}.offgrid-intro-copy strong{color:#27333c}
.og-configurator{padding:0 0 clamp(4rem,8vw,7rem)}
.og-shell{width:min(1280px,calc(100% - 32px));margin:42px auto 72px;display:grid;grid-template-columns:250px minmax(0,1fr);gap:30px;align-items:start}
    .og-side{position:sticky;top:24px}
    .og-progress-meta{display:flex;justify-content:space-between;align-items:center;font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:10px}
    .og-progress-track{height:8px;border-radius:99px;background:#dce3e8;overflow:hidden;margin-bottom:22px}.og-progress-bar{height:100%;width:10%;background:linear-gradient(90deg,var(--navy),var(--cyan));transition:width .3s ease}
    .og-step-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.og-step-list button{width:100%;border:0;background:transparent;padding:10px 8px;display:grid;grid-template-columns:32px 1fr;gap:10px;text-align:left;color:#707b85;border-radius:12px}.og-step-list button:hover{background:#e7ecef}.og-step-list button.active{background:#fff;color:var(--ink);box-shadow:0 8px 20px rgba(30,45,58,.08)}
    .og-step-num{width:28px;height:28px;border:1px solid #b9c4cc;border-radius:50%;display:grid;place-items:center;font-size:.76rem;font-weight:850}.active .og-step-num{border-color:var(--cyan);background:linear-gradient(145deg,var(--navy),var(--cyan));color:#fff}.complete .og-step-num{background:var(--ok);border-color:var(--ok);color:#fff}.og-step-text{font-weight:750;font-size:.9rem;padding-top:3px}
    .og-panel{background:var(--card);border:1px solid rgba(185,197,206,.7);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
    .og-form-step{display:none;padding:clamp(26px,5vw,58px)}.og-form-step.active{display:block;animation:enter .28s ease}@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
    .og-step-kicker{font-size:.76rem;text-transform:uppercase;letter-spacing:.14em;font-weight:850;color:var(--blue)}
    .og-configurator h2{font-size:clamp(2rem,4.2vw,3.8rem);line-height:1.02;letter-spacing:-.055em;margin:.45rem 0 .75rem}.og-configurator h3{font-size:1.12rem;margin:28px 0 12px}.og-intro{max-width:760px;color:var(--muted);font-size:1.03rem;margin:0 0 28px}
    .og-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.og-field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.og-field{display:grid;gap:7px}.og-field.og-wide{grid-column:1/-1}.og-field label,.og-legend{font-weight:780;font-size:.88rem}.og-hint{font-size:.82rem;color:var(--muted)}
    .og-configurator input[type=text],.og-configurator input[type=email],.og-configurator input[type=tel],.og-configurator input[type=number],.og-configurator textarea,.og-configurator select{width:100%;border:1px solid #cbd5dc;background:#fbfcfd;border-radius:12px;padding:13px 14px;color:var(--ink);outline:0;transition:.18s}.og-configurator textarea{min-height:112px;resize:vertical}.og-configurator input:focus,.og-configurator textarea:focus,.og-configurator select:focus{border-color:#008fcf;box-shadow:0 0 0 4px rgba(0,153,210,.12)}
    .og-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.og-choices.og-cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}.og-choices.og-cards-4{grid-template-columns:repeat(4,minmax(0,1fr))}
    .og-choice{position:relative}.og-choice input{position:absolute;opacity:0;pointer-events:none}.og-choice label{height:100%;min-height:62px;border:1px solid #d3dce2;border-radius:14px;padding:13px 14px;display:flex;gap:11px;align-items:flex-start;background:#fff;transition:.18s}.og-choice label:hover{border-color:#8dcfe7;transform:translateY(-1px)}.og-choice input:checked+label{border-color:#008fcf;background:#f1fbfe;box-shadow:inset 0 0 0 1px #008fcf}.og-choice-icon{width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#e8f7fc;color:#006fa6;display:grid;place-items:center;font-size:1.05rem}.og-choice-svg{width:22px;height:22px;display:block}.og-appliance .og-choice-svg{width:25px;height:25px}.og-choice-copy strong{display:block;font-size:.91rem;line-height:1.25}.og-choice-copy small{display:block;color:var(--muted);font-size:.76rem;margin-top:3px;line-height:1.35}
    .og-appliance-group{margin-top:26px}.og-appliance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.og-appliance label{min-height:102px;flex-direction:column;justify-content:space-between}.og-appliance .og-choice-icon{width:42px;height:42px;font-size:1.25rem}
    .og-select-count{margin-top:12px;color:var(--muted);font-size:.85rem}.og-select-count.warn{color:#a15c00;font-weight:750}
    .og-rank-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.og-rank-grid .og-choice input:checked+label:after{content:"Selected";margin-left:auto;color:#007b59;font-size:.72rem;font-weight:850}
    .og-nav-actions{display:flex;justify-content:space-between;gap:12px;margin-top:40px;padding-top:24px;border-top:1px solid #e2e8ec}.og-btn{border:0;border-radius:12px;padding:13px 19px;font-weight:820}.og-btn-primary{color:#fff;background:linear-gradient(100deg,#00347d,#008fd0 68%,#00bce9);box-shadow:0 10px 22px rgba(0,105,160,.22)}.og-btn-secondary{background:#e9eef1;color:#28323a}.og-btn-link{background:transparent;color:#53616c}.og-btn:focus-visible{outline:3px solid rgba(0,192,240,.35);outline-offset:2px}
    .og-review-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.og-status{display:inline-flex;gap:7px;align-items:center;color:var(--ok);font-size:.8rem;font-weight:850;background:#eaf8f3;border-radius:999px;padding:8px 11px}.og-summary{display:grid;gap:16px;margin-top:28px}.og-summary-section{border-top:1px solid #dfe6ea;padding-top:18px}.og-summary-section h3{margin:0 0 8px;font-size:.82rem;text-transform:uppercase;letter-spacing:.11em;color:#62717c}.og-summary-section p{margin:0;white-space:pre-wrap}.og-summary-empty{color:#8a969e;font-style:italic}
    .og-diagram{margin:30px 0;background:linear-gradient(145deg,#283139,#3d4851);color:#fff;border-radius:18px;padding:24px;overflow:hidden}.og-diagram-title{font-weight:850;margin-bottom:18px}.og-flow{display:flex;align-items:center;gap:9px;overflow:auto;padding-bottom:6px}.og-flow-node{min-width:120px;border:1px solid rgba(255,255,255,.2);border-radius:13px;padding:13px;text-align:center;background:rgba(255,255,255,.07)}.og-flow-node.active{border-color:#31d4f6;background:rgba(0,192,240,.14)}.og-flow-node span{display:block;font-size:1.35rem}.og-flow-node b{font-size:.78rem}.og-flow-arrow{color:#53d9f6;font-weight:900}.og-diagram small{display:block;color:#c9d7de;margin-top:15px}
    .og-review-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.og-privacy{margin-top:18px;color:var(--muted);font-size:.78rem}.og-toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,20px);background:#20272d;color:#fff;padding:11px 16px;border-radius:999px;opacity:0;pointer-events:none;transition:.25s;z-index:10}.og-toast.show{opacity:1;transform:translate(-50%,0)}
    @media(max-width:960px){.og-shell{grid-template-columns:1fr}.og-side{position:static}.og-step-list{display:flex;overflow:auto;padding-bottom:5px}.og-step-list button{min-width:55px;display:block;text-align:center}.og-step-text{display:none}.og-step-num{margin:auto}.og-progress-track{margin-bottom:14px}.og-appliance-grid{grid-template-columns:repeat(3,1fr)}}
    @media(max-width:680px){.og-field-grid,.og-field-grid.three,.og-choices,.og-choices.cards-3,.og-choices.cards-4,.og-rank-grid{grid-template-columns:1fr}.og-appliance-grid{grid-template-columns:repeat(2,1fr)}.og-form-step{padding:25px 20px}.og-nav-actions{position:sticky;bottom:0;background:#fff;margin-inline:-20px;padding:16px 20px;border-top:1px solid #dfe6ea;z-index:3}.og-review-head{display:block}.og-status{margin-top:10px}}
    @media print{body{background:#fff;font-size:11pt}.og-side,.og-nav-actions,.og-review-actions,.og-privacy,.og-toast{display:none!important}.og-shell{display:block;width:100%;margin:0}.og-panel{border:0;box-shadow:none}.og-form-step{display:none!important;padding:0}.og-form-step[data-step="10"]{display:block!important}.og-summary-section{break-inside:avoid}.og-diagram{color:#111;background:#eef3f5;border:1px solid #ccd7dd}.og-flow-node{color:#111;border-color:#9eb1bc;background:#fff}.og-configurator h2{font-size:28pt}}
  
@media(min-width:768px){.inner-hero h1{font-size:calc(20.5px + .375vw);line-height:1.2}}
@media(min-width:1200px){.inner-hero-content{padding-block:48px}.inner-hero h1{font-size:25px;line-height:30px}}
@media(max-width:680px){.inner-hero-shade{background:linear-gradient(90deg,rgba(20,27,33,.9),rgba(24,31,37,.5))}.offgrid-introduction{padding-block:3.5rem 2.75rem}.og-configurator .og-shell{width:min(calc(100% - 1.25rem),1280px)}}
@media print{.top-bar,.site-header,.menu-backdrop,.menu-drawer,.inner-hero,.offgrid-introduction,.site-footer{display:none!important}.offgrid-page,.og-configurator{padding:0;background:#fff}}

/* Configurator responsive safeguards — intentionally scoped away from navigation. */
.og-configurator,
.og-configurator *,
.og-configurator *::before,
.og-configurator *::after {
  box-sizing: border-box;
}

.og-shell,
.og-panel,
.og-form-step,
.og-field-grid > *,
.og-choices > *,
.og-appliance-grid > *,
.og-rank-grid > * {
  min-width: 0;
}

.og-choice-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.og-configurator input,
.og-configurator textarea,
.og-configurator select,
.og-configurator button {
  max-width: 100%;
}

@media (max-width: 960px) {
  .og-shell {
    width: min(100% - 2rem, 760px);
    margin: 28px auto 56px;
    gap: 22px;
  }

  .og-side {
    min-width: 0;
  }

  .og-step-list {
    max-width: 100%;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .og-step-list li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .og-panel {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .og-shell {
    width: calc(100% - 1.25rem);
    margin: 22px auto 44px;
    gap: 18px;
  }

  .og-panel {
    border-radius: 18px;
  }

  .og-form-step {
    padding: 24px 16px;
  }

  .og-configurator h2 {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
    letter-spacing: -0.035em;
  }

  .og-configurator h3 {
    margin-top: 24px;
  }

  .og-intro {
    font-size: 1rem;
  }

  .og-field-grid,
  .og-field-grid.three,
  .og-choices,
  .og-choices.og-cards-3,
  .og-choices.og-cards-4,
  .og-rank-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .og-configurator input,
  .og-configurator textarea,
  .og-configurator select {
    font-size: 16px;
  }

  .og-nav-actions {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 32px 0 0;
    padding: 20px 0 0;
  }

  .og-nav-actions .og-btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 10px;
  }

  .og-review-head {
    display: block;
  }

  .og-status {
    margin-top: 10px;
  }

  .og-diagram {
    padding: 20px 16px;
  }

  .og-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    overflow: visible;
  }

  .og-flow-node {
    width: 100%;
    min-width: 0;
  }

  .og-flow-arrow {
    line-height: 1;
    text-align: center;
    transform: rotate(90deg);
  }

  .og-review-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .og-review-actions .og-btn {
    width: 100%;
    min-height: 48px;
  }

  .og-toast {
    width: calc(100% - 2rem);
    bottom: 12px;
    border-radius: 14px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .og-appliance-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .og-nav-actions > span:empty {
    display: none;
  }
}

/* Show all ten configurator steps on phones — two columns, five rows. */
@media (max-width: 680px) {
  .og-step-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: none;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .og-step-list li {
    width: auto;
    min-width: 0;
  }

  .og-step-list button {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    min-width: 0;
    min-height: 46px;
    padding: 7px 6px;
    text-align: left;
  }

  .og-step-list .og-step-num {
    width: 28px;
    height: 28px;
    margin: 0;
  }

  .og-step-list .og-step-text {
    display: block;
    min-width: 0;
    padding: 0;
    font-size: .76rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }
}
