/* RRG design layer: signature underline, turnkey product pages, extended home page. */

:root {
  --rrg-navy: 27 37 119;
  --rrg-blue: 47 72 214;
  --rrg-ink: 23 23 23;
  --rrg-soft: 244 245 248;
}

/* ---------- Signature underline: a slanted "speed stripe" that breaks into dashes ---------- */
.rrg-mark, .highlighted-text {
  font-style: normal;
  position: relative;
  display: inline-block;
  z-index: 0;
  white-space: nowrap;
}
.highlighted-text > svg { display: none !important; }
.rrg-mark::after, .highlighted-text::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.06em;
  right: -.12em;
  bottom: .02em;
  height: .2em;
  background: linear-gradient(90deg,
    rgb(var(--rrg-blue)) 0 74%, transparent 74% 77%,
    rgb(var(--rrg-blue)) 77% 85%, transparent 85% 88%,
    rgb(var(--rrg-blue)) 88% 93%, transparent 93% 96%,
    rgb(var(--rrg-blue)) 96% 100%);
  transform: skewX(-24deg) scaleX(0);
  transform-origin: left center;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1);
}
.rrg-mark.is-in::after, .highlighted-text.is-in::after { transform: skewX(-24deg) scaleX(1); }
.tk-dark .rrg-mark::after, .hm-dark .rrg-mark::after { filter: brightness(1.45); }
@media (prefers-reduced-motion: reduce) {
  .rrg-mark::after, .highlighted-text::after { transition: none; transform: skewX(-24deg) scaleX(1); }
}

/* Body links: hairline at rest, a slanted navy bar sweeps in on hover */
.rte a:not(.button), .rrg-link, .tk-small a, .hm-note a {
  text-decoration: none;
  background:
    linear-gradient(rgb(var(--rrg-blue)), rgb(var(--rrg-blue))) left 100% / 0 .18em no-repeat,
    linear-gradient(currentColor, currentColor) left 100% / 100% 1px no-repeat !important;
  padding-bottom: .1em;
  transition: background-size .35s cubic-bezier(.2, .8, .2, 1), color .2s;
}
.rte a:not(.button):hover, .rrg-link:hover, .tk-small a:hover, .hm-note a:hover {
  background-size: 100% .18em, 100% 1px !important;
  color: rgb(var(--rrg-navy));
}
.rrg-link { font-weight: 600; display: inline-flex; gap: .5em; align-items: center; margin-top: .5rem; justify-self: start; }
.rrg-link::after { content: "→"; transition: transform .25s; }
.rrg-link:hover::after { transform: translateX(4px); }
.hm-dark .rrg-link:hover, .tk-dark .rrg-link:hover { color: #fff; }

/* ---------- Shared section rhythm ---------- */
.tk-section, .hm-sec { padding: clamp(6rem, 12vw, 11rem) 0; }
.tk-head, .hm-head { max-width: 44rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.hm-center { text-align: center; margin-left: auto; margin-right: auto; display: grid; justify-items: center; }
.tk-head h2, .hm-head h2, .hm-split__body h2, .tk-cta h2, .hm-shop-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 1rem;
}
.tk-head p, .hm-head p { font-size: 1.1rem; opacity: .72; line-height: 1.6; margin: 0; }
.tk-dark, .hm-dark { background: rgb(var(--rrg-ink)); color: #fff; }
.tk-dark h2, .hm-dark h2, .tk-dark h3, .hm-dark h3 { color: #fff; }
.tk-dark .tk-head p, .hm-dark .hm-head p { opacity: .7; }

/* ---------- Turnkey product pages ---------- */
.rrg-turnkey .product-sticky-form { display: none !important; }
.tk-hero {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem); padding-top: 2.5rem; padding-bottom: clamp(5rem, 10vw, 9rem); align-items: start;
}
.tk-gallery { position: sticky; top: 7rem; display: grid; gap: .75rem; }
.tk-stage { border-radius: 18px; overflow: hidden; background: rgb(var(--rrg-soft)); aspect-ratio: 4 / 3; }
.tk-stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.tk-thumbs { display: flex; gap: .6rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tk-thumb {
  flex: 0 0 84px; height: 64px; border-radius: 10px; overflow: hidden; padding: 0; cursor: pointer;
  border: 2px solid transparent; opacity: .6; transition: opacity .2s, border-color .2s; background: none;
}
.tk-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tk-thumb:hover { opacity: 1; }
.tk-thumb.is-on { opacity: 1; border-color: rgb(var(--rrg-navy)); }

.tk-buy { display: grid; gap: 1.6rem; padding-top: .5rem; }
.tk-crumbs a { font-size: .85rem; opacity: .6; text-decoration: none; }
.tk-crumbs a::before { content: "← "; }
.tk-crumbs a:hover { opacity: 1; }
.tk-kicker { margin: 0; font-size: .9rem; font-weight: 600; color: rgb(var(--rrg-navy)); }
.tk-title { font-size: clamp(2.6rem, 5vw, 4.25rem); line-height: 1; letter-spacing: -.03em; margin: -.5rem 0 0; }
.tk-lede { font-size: 1.08rem; line-height: 1.6; opacity: .75; margin: 0; }
.tk-price { margin: .25rem 0 0; display: flex; align-items: baseline; gap: .4rem; }
.tk-price__from, .tk-price__cur { font-size: .9rem; opacity: .6; }
#tk-price { font-size: 1.9rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.tk-opt { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; }
.tk-opt legend { font-size: .9rem; font-weight: 600; margin-bottom: .6rem; padding: 0; }
.tk-opt > div { display: flex; flex-wrap: wrap; gap: .5rem; }
.tk-chip {
  font: inherit; font-size: .9rem; padding: .65rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgb(var(--rrg-ink) / .18); background: #fff; color: inherit; transition: all .2s;
}
.tk-chip:hover { border-color: rgb(var(--rrg-ink) / .5); }
.tk-chip.is-on { background: rgb(var(--rrg-ink)); border-color: rgb(var(--rrg-ink)); color: #fff; }

.tk-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: .25rem; }
.tk-actions .button { flex: 1 1 12rem; }
.tk-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: .5rem 0 0;
  border-top: 1px solid rgb(var(--rrg-ink) / .1); border-bottom: 1px solid rgb(var(--rrg-ink) / .1);
}
.tk-facts > div { padding: 1rem .9rem 1rem 0; }
.tk-facts > div + div { padding-left: .9rem; border-left: 1px solid rgb(var(--rrg-ink) / .1); }
.tk-facts dt { font-size: .78rem; opacity: .55; margin-bottom: .3rem; }
.tk-facts dd { margin: 0; font-weight: 500; font-size: .95rem; line-height: 1.35; }
.tk-small { font-size: .88rem; line-height: 1.6; opacity: .7; margin: 0; }

.tk-specs-wrap { border-top: 1px solid rgb(var(--rrg-ink) / .08); }
.tk-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.tk-spec { padding: 0; }
.tk-spec h3 { font-size: 1rem; margin: 0 0 1rem; padding-bottom: .9rem; border-bottom: 2px solid rgb(var(--rrg-navy)); }
.tk-spec ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.tk-spec li { font-size: .95rem; line-height: 1.4; padding-left: 1rem; position: relative; }
.tk-spec li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: .45rem; height: .2rem;
  background: rgb(var(--rrg-blue)); transform: skewX(-24deg);
}

.tk-ups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.tk-up { display: flex; flex-direction: column; gap: 1.25rem; }
.tk-up__img { aspect-ratio: 4 / 3; background: rgb(var(--rrg-soft)); overflow: hidden; border-radius: 18px; }
.tk-up__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.tk-up__img.is-cutout { background: rgb(var(--rrg-soft)); }
.tk-up__img.is-cutout img { object-fit: contain; padding: 1.25rem; }
.tk-up:hover .tk-up__img img { transform: scale(1.04); }
.tk-price__from[hidden] { display: none; }
.tk-up__body { display: grid; gap: .4rem; }
.tk-up__body h3 { font-size: 1.15rem; margin: 0; }
.tk-up__body p { margin: 0; font-size: .95rem; line-height: 1.5; opacity: .6; }
.tk-up__price { font-weight: 600; opacity: 1 !important; }
.tk-up__price s { opacity: .45; font-weight: 400; margin-left: .3rem; }

.tk-band { display: grid; grid-template-columns: 2fr 1fr; gap: .75rem; height: clamp(20rem, 40vw, 36rem); padding: 0 .75rem; }
.tk-band img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.tk-band img:nth-child(n+3) { display: none; }

.tk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.tk-steps li { padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .2); position: relative; }
.tk-steps li::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 3.5rem; height: 3px;
  background: rgb(var(--rrg-blue)); transform: skewX(-24deg); transform-origin: left;
}
.tk-steps h3 { font-size: 1.25rem; margin: 0 0 .6rem; color: #fff; }
.tk-steps p { margin: 0; opacity: .7; line-height: 1.6; }

.tk-cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem 4rem; align-items: center; }
.tk-cta p { font-size: 1.1rem; opacity: .72; line-height: 1.6; margin: 0; max-width: 34rem; }
.tk-cta .tk-actions { flex-direction: column; align-items: stretch; }
.tk-sib {
  display: grid; gap: .2rem; padding: 1rem 1.25rem; border-radius: 14px; text-decoration: none; color: inherit;
  background: rgb(var(--rrg-soft)); transition: background .2s;
}
.tk-sib:hover { background: rgb(var(--rrg-ink) / .08); }
.tk-sib span { font-weight: 600; }
.tk-sib span::after { content: " →"; }
.tk-sib small { opacity: .65; }

/* ---------- Home additions ---------- */
.hm-tks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); }
.hm-tk { display: grid; gap: 1.5rem; text-decoration: none; color: inherit; }
.hm-tk__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 22px; background: rgb(var(--rrg-soft)); }
.hm-tk__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.hm-tk:hover .hm-tk__img img { transform: scale(1.03); }
.hm-tk__body { display: grid; gap: .35rem; }
.hm-tk__body h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0; letter-spacing: -.02em; }
.hm-tk__body h3::after { content: " →"; display: inline-block; transition: transform .25s; }
.hm-tk:hover .hm-tk__body h3::after { transform: translateX(5px); }
.hm-tk__body p { margin: 0; opacity: .6; }

.hm-statement { text-align: center; }
.hm-statement h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 0 0 1rem; letter-spacing: -.02em; }
.hm-statement p { margin: 0; opacity: .6; font-size: 1.1rem; }

.hm-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.hm-split--flip .hm-split__img { order: 2; }
.hm-split__img { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.hm-split__img img { width: 100%; height: 100%; object-fit: cover; }
.hm-split__body { display: grid; gap: 1rem; max-width: 26rem; }
.hm-split__body p { margin: 0; opacity: .6; font-size: 1.1rem; }
.hm-shop-head { padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: 1rem; }

/* ---------- Mobile ---------- */
@media (max-width: 989px) {
  .tk-hero { grid-template-columns: 1fr; }
  .tk-gallery { position: static; }
  .tk-specs { grid-template-columns: 1fr 1fr; }
  .tk-ups { grid-template-columns: 1fr; }
  .tk-cta, .hm-split { grid-template-columns: 1fr; }
  .hm-split--flip .hm-split__img { order: 0; }
}
@media (max-width: 767px) {
  .tk-hero { padding-top: 1rem; }
  .tk-stage { border-radius: 14px; }
  .tk-facts { grid-template-columns: 1fr; }
  .tk-facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgb(var(--rrg-ink) / .1); }
  .tk-specs { grid-template-columns: 1fr; }
  .tk-steps { grid-template-columns: 1fr; gap: 2rem; }
  .tk-band { grid-template-columns: 1fr; height: auto; }
  .tk-band img { aspect-ratio: 4 / 3; height: auto; }
  .tk-band img:nth-child(n+2) { display: none; }
  .tk-section, .hm-sec { padding: 5rem 0; }
  .hm-tks { grid-template-columns: 1fr; }
  .rrg-mark { white-space: normal; }
}

/* ---------- Product pages: calmer description ---------- */
.product__text.rte { font-size: 1rem; }
.rrg-desc__lead { margin: 0 0 1.25rem; line-height: 1.65; opacity: .7; }
.rrg-desc { border-top: 1px solid rgb(var(--rrg-ink) / .1); border-bottom: 1px solid rgb(var(--rrg-ink) / .1); }
.rrg-desc summary {
  list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 600; font-size: .95rem;
  display: flex; justify-content: space-between; align-items: center;
}
.rrg-desc summary::-webkit-details-marker { display: none; }
.rrg-desc summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; transition: transform .25s; }
.rrg-desc[open] summary::after { transform: rotate(45deg); }
.rrg-desc__body { padding: 0 0 1.5rem; display: grid; gap: 1rem; font-size: .95rem; line-height: 1.7; opacity: .75; overflow-wrap: anywhere; }
.rrg-desc__body p { margin: 0; }
.rrg-desc__body strong { display: block; opacity: 1; margin-bottom: .2rem; }
.rrg-desc__body br { display: none; }
@media (max-width: 767px) {
  .product-info, .product__info { overflow-x: hidden; }
  .product__text.rte { font-size: .95rem; }
  .product__accordion .details__summary { padding-block: 1.1rem; }
  .product__accordion .details__content { line-height: 1.7; }
}


/* ---------- Flow: one continuous canvas ---------- */
.tk-dark, .hm-dark { background: transparent; color: inherit; }
.tk-dark h2, .hm-dark h2, .tk-dark h3, .hm-dark h3 { color: inherit; }
.tk-dark .rrg-mark::after, .hm-dark .rrg-mark::after { filter: none; }
.tk-steps li { border-top-color: rgb(var(--rrg-ink) / .12); }
.tk-steps p { opacity: .6; }
.tk-specs-wrap, .hm-biz { background: transparent; border: 0; }
.tk-section, .hm-sec { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.tk-section + .tk-section, .hm-sec + .hm-sec { padding-top: 0; }
.tk-band { margin-bottom: clamp(4.5rem, 9vw, 8rem); }

.rrg-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.rrg-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rrg-reveal { opacity: 1; transform: none; transition: none; } }

.product__text-inner strong { font-weight: 500; }
.product__text-inner .rte { font-size: .9rem; opacity: .7; }

/* ---------- LiDAR page ---------- */
.ld-intro h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 0 0 1rem; letter-spacing: -.02em; }
.ld-intro p { margin: 0; opacity: .6; font-size: 1.1rem; max-width: 32rem; }
.ld-compare { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.ld-compare figure { margin: 0; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.ld-compare img { width: 100%; height: 100%; object-fit: cover; }
.ld-compare figcaption {
  position: absolute; left: 1rem; bottom: 1rem; padding: .35rem .8rem; border-radius: 999px;
  background: rgb(255 255 255 / .9); font-size: .8rem; font-weight: 600;
}
.ld-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 5vw, 5rem); padding-top: clamp(4.5rem, 9vw, 8rem); }
.ld-points h3 { font-size: 1.3rem; margin: 0 0 .5rem; padding-top: 1.25rem; position: relative; }
.ld-points h3::before { content: ""; position: absolute; top: 0; left: 0; width: 2.5rem; height: 3px; background: rgb(var(--rrg-blue)); transform: skewX(-24deg); transform-origin: left; }
.ld-points p { margin: 0; opacity: .6; line-height: 1.6; }
.ld-note { margin-top: clamp(3rem, 6vw, 5rem); font-size: .8rem; opacity: .45; }
@media (max-width: 767px) {
  .ld-compare { grid-template-columns: 1fr; }
  .ld-points { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Theme hero zoom effects can spill sideways on phones */
main, [id*="image_with_text_overlay"] { overflow-x: clip; }

/* ---------- Home: venue block ---------- */
.hm-venue { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.hm-venue__img { margin: 0 .75rem; border-radius: 22px; overflow: hidden; aspect-ratio: 21 / 9; }
.hm-venue__img img { width: 100%; height: 100%; object-fit: cover; }
.hm-venue__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem clamp(3rem, 8vw, 8rem); padding-top: clamp(3rem, 6vw, 5rem); align-items: start; }
.hm-venue__body h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); letter-spacing: -.02em; line-height: 1.08; margin: 0; }
.hm-venue__lede { margin: 0; font-size: 1.1rem; line-height: 1.6; opacity: .65; align-self: end; max-width: 30rem; }
.hm-venue__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; grid-column: 1 / -1; }
.hm-venue__cols h3 { font-size: .85rem; font-weight: 600; opacity: .5; margin: 0 0 1rem; }
.hm-venue__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.hm-venue__cols li { font-size: 1.05rem; padding-left: 1.1rem; position: relative; }
.hm-venue__cols li::before { content: ""; position: absolute; left: 0; top: .55em; width: .5rem; height: .2rem; background: rgb(var(--rrg-blue)); transform: skewX(-24deg); }
.hm-venue__body > .button { justify-self: start; }
@media (min-width: 990px) { .hm-venue__cols { grid-column: 1; } .hm-venue__body > .button { grid-column: 2; align-self: end; justify-self: start; } }

/* ---------- Home: closing call to action ---------- */
.hm-cta { position: relative; margin: 0 .75rem clamp(4rem, 8vw, 7rem); border-radius: 22px; overflow: hidden; min-height: clamp(26rem, 48vw, 42rem); display: grid; place-items: center; text-align: center; color: #fff; }
.hm-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgb(0 0 0 / .35), rgb(0 0 0 / .7)); }
.hm-cta__body { position: relative; z-index: 2; display: grid; gap: 1rem; justify-items: center; padding: 2rem 1.25rem; }
.hm-cta h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.25rem); letter-spacing: -.03em; line-height: 1.02; margin: 0; }
.hm-cta p { margin: 0; font-size: 1.15rem; opacity: .8; }
.hm-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1rem; }
.hm-cta .button--primary { --color-button: 255 255 255; --color-button-text: 23 23 23; background: #fff; color: #171717; }
.hm-cta .button--secondary { color: #fff; border-color: rgb(255 255 255 / .6); background: transparent; }
.hm-cta .rrg-mark::after { filter: brightness(1.45); }

/* ---------- Terms ---------- */
.rrg-terms dl { display: grid; gap: 0; margin: 0; }
.rrg-terms dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgb(var(--rrg-ink) / .1); }
.rrg-terms dt { opacity: .55; }
.rrg-terms dd { margin: 0; font-weight: 500; }

/* ---------- B2B ---------- */
.bz-hero { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(4.5rem, 9vw, 8rem); }
.bz-hero__body { display: grid; gap: 1.25rem; justify-items: start; }
.bz-hero h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1.02; letter-spacing: -.03em; margin: 0; }
.bz-hero p { margin: 0; font-size: 1.15rem; line-height: 1.6; opacity: .65; max-width: 30rem; }
.bz-hero__img { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.bz-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.bz-points { grid-template-columns: repeat(4, 1fr); padding-top: 0; }

@media (max-width: 989px) {
  .hm-venue__body, .bz-hero { grid-template-columns: 1fr; }
  .bz-points { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .hm-venue__img { aspect-ratio: 4 / 3; }
  .hm-venue__cols { grid-template-columns: 1fr; }
  .bz-points { grid-template-columns: 1fr; }
  .rrg-terms dl > div { grid-template-columns: 1fr; gap: .25rem; }
  .hm-cta__actions .button { flex: 1 1 100%; }
}

/* ---------- LiDAR hero headline and enquiry form ---------- */
.ld-title { font-size: clamp(2.6rem, 6vw, 5.5rem) !important; font-weight: 800; letter-spacing: -.04em; line-height: .98 !important; max-width: 14ch; text-wrap: balance; }
.ld-title .rrg-mark::after { filter: brightness(1.45); }
.ld-note { margin: 1.25rem auto 0; font-size: .8rem; opacity: .45; text-align: center; }
.ld-form .contact__fields { display: grid !important; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ld-form .contact__fields > .field { width: auto !important; margin: 0 !important; }
.ld-form .contact__fields > .field:has(textarea),
.ld-form .contact__fields > .field:has(input[type=checkbox]),
.ld-form .contact__fields > .field:has(button),
.ld-form .contact__fields > :last-child { grid-column: 1 / -1; }
@media (max-width: 767px) { .ld-form .contact__fields { grid-template-columns: 1fr; } }
/* CTA text sits bottom-left so it never collides with the glowing logo in the photo */
.hm-cta { place-items: end start; text-align: left; }
.hm-cta::before { background: linear-gradient(to top, rgb(0 0 0 / .8) 0%, rgb(0 0 0 / .35) 45%, rgb(0 0 0 / 0) 75%); }
.hm-cta__body { justify-items: start; padding: clamp(1.5rem, 4vw, 3.5rem); }
.hm-cta__actions { justify-content: flex-start; }

/* ---------- Get in touch pop-up: centred dialog on desktop, bottom sheet on phones ---------- */
.rrg-sheet { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; inset: 0; }
.rrg-sheet::backdrop { background: rgb(0 0 0 / 0); transition: background .25s; }
.rrg-sheet.is-open::backdrop { background: rgb(0 0 0 / .45); }
.rrg-sheet__card {
  position: fixed; left: 50%; top: 50%; width: min(460px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); overflow: auto;
  transform: translate(-50%, -46%) scale(.97); opacity: 0; transition: transform .25s cubic-bezier(.2, .8, .2, 1), opacity .25s;
  background: #fff; color: rgb(var(--rrg-ink)); border-radius: 22px; padding: 2rem; display: grid; gap: 1rem;
  box-shadow: 0 30px 80px rgb(0 0 0 / .25);
}
.rrg-sheet.is-open .rrg-sheet__card { transform: translate(-50%, -50%); opacity: 1; }
.rrg-sheet h2 { font-size: 1.8rem; letter-spacing: -.02em; margin: 0; }
.rrg-sheet__about { margin: -.5rem 0 .25rem; opacity: .6; }
.rrg-sheet label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; }
.rrg-sheet label small { font-weight: 400; opacity: .55; }
.rrg-sheet input, .rrg-sheet textarea {
  font: inherit; font-size: 1rem; font-weight: 400; padding: .8rem 1rem; border-radius: 12px; width: 100%; box-sizing: border-box;
  border: 1px solid rgb(var(--rrg-ink) / .15); background: rgb(var(--rrg-soft)); color: inherit; resize: vertical;
}
.rrg-sheet input:focus, .rrg-sheet textarea:focus { outline: 2px solid rgb(var(--rrg-blue)); outline-offset: 1px; background: #fff; }
.rrg-sheet .button { margin-top: .25rem; }
.rrg-sheet__x { position: absolute; top: 1rem; right: 1rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 0; background: rgb(var(--rrg-soft)); font-size: 1.4rem; line-height: 1; cursor: pointer; color: inherit; }
@media (max-width: 767px) {
  .rrg-sheet__card {
    left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0;
    padding: 1.75rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); transform: translateY(100%); opacity: 1;
  }
  .rrg-sheet.is-open .rrg-sheet__card { transform: translateY(0); }
  .rrg-sheet__card::before { content: ""; justify-self: center; width: 2.5rem; height: 4px; border-radius: 4px; background: rgb(var(--rrg-ink) / .15); margin: -.75rem 0 .25rem; }
}

/* ---------- Turnkey collection ---------- */
.tc-cards { max-width: 1280px; margin: 0 auto; }
.tc-price { font-weight: 600; opacity: 1 !important; margin-top: .2rem !important; }
.tc-points .ld-points { padding-top: 0; text-align: center; }
.tc-points .ld-points h3::before { left: 50%; transform: translateX(-50%) skewX(-24deg); }

/* ---------- Built collection pages ---------- */
.cl-title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -.03em; margin: 0; }
.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.cl-card .hm-tk__img { aspect-ratio: 1; }
.cl-card .hm-tk__img img { object-fit: contain; background: #fff; padding: 1rem; box-sizing: border-box; }
.cl-card h3 { font-size: 1.05rem !important; }
.cl-card h3::after { content: none !important; }
.cl-empty { opacity: .7; }

/* ---------- Contact ---------- */
.ct-lede { margin: .75rem 0 2rem; opacity: .6; font-size: 1.1rem; }
.ct .contact__sidebar { gap: 2rem !important; }
.ct .contact__sidebar li { border: 0 !important; padding: 0 !important; background: none !important; }

/* ---------- Events ---------- */
.ev-uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(2rem, 4vw, 4rem); }
.ev-uses h3 { font-size: 1.25rem; margin: 0 0 .5rem; padding-top: 1.25rem; position: relative; }
.ev-uses h3::before { content: ""; position: absolute; top: 0; left: 0; width: 2.5rem; height: 3px; background: rgb(var(--rrg-blue)); transform: skewX(-24deg); transform-origin: left; }
.ev-uses p { margin: 0; opacity: .6; line-height: 1.6; }
@media (max-width: 989px) { .ev-uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .ev-uses { grid-template-columns: 1fr; gap: 2.25rem; } }

/* ---------- Turnkey gallery: tall photos ---------- */
.tk-stage { aspect-ratio: 4 / 5; }
.tk-thumb { flex-basis: 68px; height: 85px; }
@media (min-width: 990px) { .tk-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .tk-gallery { max-width: 640px; } }

/* ---------- Controls upgrade kit: the parts as cut-outs ---------- */
.tk-kit { display: grid; gap: 1.75rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.tk-kit__head h3 { font-size: 1.35rem; margin: 0 0 .35rem; }
.tk-kit__head p { margin: 0; opacity: .6; }
.tk-kit__parts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.tk-kit figure { margin: 0; display: grid; gap: .75rem; }
.tk-kit figure > div { aspect-ratio: 1; border-radius: 18px; background: rgb(var(--rrg-soft)); display: grid; place-items: center; padding: 1.25rem; box-sizing: border-box; }
.tk-kit img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.tk-kit figure:hover img { transform: scale(1.05); }
.tk-kit figcaption { font-size: .9rem; font-weight: 500; text-align: center; }
.tk-up--text { justify-content: flex-end; padding: 1.75rem; border-radius: 18px; background: rgb(var(--rrg-soft)); min-height: 12rem; }
.tk-up__img.is-cutout img { padding: 1rem; }
@media (max-width: 989px) { .tk-kit__parts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .tk-kit__parts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tk-up--text { min-height: 0; } }

/* ---------- Footer copyright line, centred ---------- */
.footer-copyright { justify-content: center !important; text-align: center; flex-direction: column; align-items: center; }
.footer-copyright .credits, .footer-copyright .credits ul { justify-content: center !important; text-align: center; }
/* Gallery sits against the text column instead of leaving a gap between them */
@media (min-width: 990px) { .tk-gallery { justify-self: end; width: 100%; } .tk-hero { gap: clamp(2rem, 3.5vw, 3.5rem); } }
/* Kit tiles: same-size boxes, and every part drawn to the same height inside them */
.tk-kit figure > div { overflow: hidden; container-type: inline-size; }
.tk-kit img { width: auto; max-width: 100%; height: 62cqi; }
/* Upgrades: matching panels, words left, part right */
.tk-ups { grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); }
.tk-up { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1.5rem; padding: clamp(1.5rem, 2.5vw, 2.5rem); border-radius: 18px; background: rgb(var(--rrg-soft)); min-height: 16rem; overflow: hidden; }
.tk-up__body { align-self: end; }
.tk-up__art { height: 100%; min-height: 11rem; display: grid; place-items: center; }
.tk-up__art img { width: 100%; height: 100%; max-height: 14rem; object-fit: contain; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.tk-up__art.is-photo img { object-fit: cover; border-radius: 12px; max-height: none; }
.tk-up:hover .tk-up__art img { transform: scale(1.04); }
/* LiDAR has no photo: a point-cloud grid with a scan line sweeping across it */
.tk-up__scan { position: relative; border-radius: 12px; overflow: hidden;
  background-image: radial-gradient(rgb(var(--rrg-ink, 17 17 17) / .28) 1.2px, transparent 1.6px); background-size: 12px 12px;
  -webkit-mask: radial-gradient(ellipse 70% 70% at 50% 50%, #000 40%, transparent 75%); mask: radial-gradient(ellipse 70% 70% at 50% 50%, #000 40%, transparent 75%); }
.tk-up__scan span { display: block !important; position: absolute; top: 0; bottom: 0; width: 2px; left: 0; background: #2f48d6; box-shadow: 0 0 18px 4px rgb(47 72 214 / .35); animation: tk-scan 3.2s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
@keyframes tk-scan { from { left: 8%; } to { left: 92%; } }
@media (prefers-reduced-motion: reduce) { .tk-up__scan span { animation: none; left: 50%; } }
@media (max-width: 767px) { .tk-up { grid-template-columns: 1fr; min-height: 0; } .tk-up__art { order: -1; min-height: 9rem; } }
/* Turnkey photos: one stacked column you scroll through; the text column stays pinned beside it */
.tk-gallery { position: static; display: grid; gap: 1rem; }
.tk-shot { margin: 0; border-radius: 18px; overflow: hidden; background: rgb(var(--rrg-soft)); }
.tk-shot img { display: block; width: 100%; height: auto; }
@media (min-width: 990px) { .tk-hero { align-items: start; } .tk-buy { position: sticky; top: 7rem; } }
@media (max-width: 767px) { .tk-shot { border-radius: 14px; } }
/* Full-width collection banners run edge to edge with square corners */
.collection-banner-section .section--rounded, .collection-banner-section .banner__media { border-radius: 0 !important; }
/* LiDAR point cloud viewer */
.ld-scan { background: #0a0c11; color: #fff; padding: clamp(4rem, 8vw, 7rem) 0; overflow: hidden; }
.ld-scan__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.ld-scan__text h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); margin: 0 0 1rem; letter-spacing: -.02em; }
.ld-scan__text p { margin: 0; opacity: .65; font-size: 1.1rem; line-height: 1.6; max-width: 26rem; }
.ld-scan__view { margin: 0; position: relative; height: clamp(320px, 42vw, 620px); }
.ld-scan__view canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity .6s; }
.ld-scan__view canvas:active { cursor: grabbing; }
.ld-scan__view.is-ready canvas { opacity: 1; }
.ld-scan__view figcaption { position: absolute; left: 0; bottom: 0; font-size: .8rem; opacity: .5; }
.ld-scan__view.is-fallback { height: auto; }
@media (max-width: 989px) { .ld-scan__grid { grid-template-columns: 1fr; } .ld-scan__view { height: clamp(300px, 80vw, 480px); } }
/* LiDAR viewer: full width, car switch, licence credit */
.ld-scan__text { max-width: 40rem; margin-bottom: 1.75rem; }
.ld-scan__view { height: clamp(340px, 38vw, 760px); margin: 0 calc(-1 * clamp(0rem, 2vw, 2rem)); }
.ld-scan__cars { display: flex; flex-wrap: wrap; gap: .5rem; }
.ld-scan__cars button { font: inherit; font-size: .9rem; color: #fff; background: transparent; border: 1px solid rgb(255 255 255 / .25); border-radius: 999px; padding: .5rem 1rem; cursor: pointer; transition: background .2s, border-color .2s; }
.ld-scan__cars button:hover { border-color: rgb(255 255 255 / .6); }
.ld-scan__cars button.is-on { background: #fff; color: #0a0c11; border-color: #fff; }
.ld-scan__credit { margin: .75rem 0 0; font-size: .75rem; opacity: .4; }
@media (max-width: 989px) { .ld-scan__view { height: clamp(300px, 78vw, 520px); margin: 0; } }
/* LiDAR comparison slider: whole photos (so before and after line up), sized to fit the screen height */
[id*=image_comparison] image-comparison { max-width: min(100%, calc(78svh * 4 / 3)); margin-inline: auto; }
/* Footer columns: headings, links and address all read at one size */
.footer__accordions, .footer__accordions p, .footer__accordions a, .footer__accordions strong, .footer__accordions .btn-text { font-size: 1rem !important; line-height: 1.6; }
.footer__accordions .heading { font-size: 1.05rem !important; }

/* LiDAR viewer fills one screen below the header */
.ld-scan { height: calc(100svh - var(--header-height, 89px)); min-height: 560px; box-sizing: border-box; padding: clamp(2rem, 4vh, 3.5rem) 0; display: flex; }
.ld-scan > .page-width { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.ld-scan__text { margin-bottom: clamp(1rem, 2.5vh, 1.75rem); }
.ld-scan .ld-scan__view { flex: 1; height: auto; min-height: 0; margin-top: 1rem; }
@media (max-width: 989px) { .ld-scan { height: auto; min-height: 0; display: block; } .ld-scan .ld-scan__view { height: clamp(300px, 78vw, 520px); } }
/* While the 3D section is under the header: black screen, see-through header with the white logo */
.ld-scan { height: 100svh; min-height: 560px; padding-top: calc(var(--header-height, 89px) + clamp(1rem, 3vh, 2.5rem)); background: #000; }
html.ld-dark .header-section .header { --header-background-opacity: 0; --header-logo-opacity: 0; color: #fff; box-shadow: none; }
html.ld-dark .header-section .header:before { opacity: 0; }
html.ld-dark .header-section .header__corner, html.ld-dark .header-section .header__cutout { opacity: 0 !important; }
/* LiDAR upgrade card: a small live point cloud on a dark panel */
.tk-up__scan.ld-cloud { background: #0a0c11; -webkit-mask: none; mask: none; min-height: 13rem; }
.tk-up__scan.ld-cloud canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity .6s; }
.tk-up__scan.ld-cloud.is-ready canvas { opacity: 1; }
/* Phone menu sub-lists */
.rrg-drawer-sub { list-style: none; margin: 0; padding: 1rem var(--sp-5, 1.25rem) 2rem; display: grid; gap: 1.1rem; }
/* Shorter header: one row of links, smaller logo, tighter padding */
.header-section .header { padding-block: 6px !important; }
.header-section .header__logo-link { height: 44px; }
.header-section .header .logo, .header-section .header .white-logo { height: 44px !important; width: auto !important; max-width: none; }
@media (min-width: 1024px) {
  .header__menu > ul { flex-wrap: nowrap; }
  .header__menu .menu__item { white-space: nowrap; padding-inline: clamp(.55rem, .9vw, 1rem); }
}
@media (max-width: 1023px) { .header-section .header__logo-link, .header-section .header .logo, .header-section .header .white-logo { height: 38px !important; } }
