/* ==========================================================================
   Rooting 2026 — React layer
   Extends the approved theme (styles.css / custom.css / rooting.css).
   No global palette, typography or component resets live here.
   ========================================================================== */

:root {
  --rt-gold: #d19a3c;
  --rt-green: #3f7a6c;
  --rt-forest: #163c3c;
  --rt-ink: #101824;
  --rt-body: #4a5257;
}

/* Boot state ------------------------------------------------------------- */
.rt-boot {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--rt-cream);
  color: var(--rt-teal);
}
.rt-boot-mark {
  font-weight: 800;
  letter-spacing: 6px;
  font-size: 22px;
}
.rt-boot p { margin: 0; color: var(--rt-body); }
.rt-route-loading {
  padding: 160px 0;
  text-align: center;
  color: var(--rt-teal);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
}

/* Header: logo eye, Sign Up, mobile nav ---------------------------------- */
/* The raster eye inside img/logos/logo.png (ink ends at 25.2% of the width) is
   clipped away and replaced by the animated Rooting eye + tick, so the header
   shows the full mark once, blinking, in the same position. */
.rt-brand { display: inline-block; }
.rt-brand-lockup {
  position: relative;
  display: inline-block;
  line-height: 0;
}
.rt-brand-lockup > img {
  display: block;
  clip-path: inset(0 0 0 31%);
}
/* Uploaded logo artwork is shown whole: no eye clipped, no overlay. */
.rt-brand-lockup--plain > img {
  clip-path: none;
}
.rt-brand-eye {
  position: absolute;
  left: -5.1%;
  top: -10.8%;
  width: 35.8%;
  height: 120%;
  display: block;
  pointer-events: none;
}
.rt-brand-eye svg { position: relative; display: block; width: 100%; height: 100%; overflow: visible; }
.rt-nav-actions { gap: 12px; }
.rt-nav-actions .butn-style02 { white-space: nowrap; }
.rt-app-link a { letter-spacing: .3px; }

.navbar-toggler.rt-toggler-bars,
button.navbar-toggler {
  position: relative;
  width: 46px;
  height: 42px;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
}
button.navbar-toggler span.rt-toggler-bars {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  position: relative;
}
button.navbar-toggler span.rt-toggler-bars::before,
button.navbar-toggler span.rt-toggler-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #fff;
}
button.navbar-toggler span.rt-toggler-bars::before { top: -6px; }
button.navbar-toggler span.rt-toggler-bars::after { top: 6px; }
@media (min-width: 992px) {
  .navbar-toggler { display: none !important; }
}

@media (max-width: 991px) {
  #nav { display: none !important; }
  #nav.rt-nav-open {
    display: block !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 999;
    margin: 0;
    padding: 14px 22px 22px;
    background: #fff;
    border-top: 1px solid rgba(33, 80, 80, .12);
    box-shadow: 0 30px 50px -30px rgba(16, 24, 36, .45);
    max-height: 78vh;
    overflow-y: auto;
  }
  #nav.rt-nav-open > li > a { display: block; padding: 13px 0; }
  #nav.rt-nav-open > li + li { border-top: 1px solid rgba(33, 80, 80, .08); }
  #nav.rt-nav-open > li > ul {
    position: static;
    display: block;
    background: transparent;
    box-shadow: none;
    padding: 0 0 10px 18px;
    margin: 0;
    border-left: 2px solid rgba(188, 79, 41, .25);
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
  }
  #nav.rt-nav-open > li > ul li a { display: block; padding: 8px 0; font-size: 15px; }
}

/* Home hero -------------------------------------------------------------- */
.rt-home-hero {
  min-height: 1080px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rt-home-hero .rt-hero-copy { padding-right: 40px; }
.rt-home-title {
  color: #fff;
  font-size: 72px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 30px;
}
.rt-home-lead {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: .95;
}
.rt-home-lead .text-primary { font-weight: 800; }
.rt-hero-actions .butn-style02 {
  padding: 15px 32px !important;
  font-size: 14px !important;
}
.rt-hero-phone { display: flex; justify-content: center; align-items: center; }
.rt-hero-phone img { max-width: 100%; height: auto; width: 550px; object-fit: contain; }

/* Keep the hero calls to action above the fold on shorter desktop windows. */
@media (min-width: 992px) and (max-height: 980px) {
  .rt-home-hero .rt-turnkey { font-size: 26px; }
  .rt-home-title { font-size: 64px; margin-bottom: 24px; }
  .rt-home-lead { margin-bottom: 32px; }
  .rt-home-hero { min-height: 0; padding-top: 96px; padding-bottom: 108px; }
  .rt-hero-phone img { width: 500px; }
}

@media (max-width: 1199px) {
  .rt-home-hero { min-height: 940px; }
  .rt-home-title { font-size: 62px; }
}
@media (max-width: 991px) {
  .rt-home-hero { min-height: auto; padding: 80px 0 120px; }
  .rt-home-hero .rt-hero-copy { padding-right: 0; margin-bottom: 40px; }
  .rt-home-title { font-size: 46px !important; }
}
@media (max-width: 575px) {
  .rt-home-title { font-size: 38px !important; }
  .rt-home-lead { font-size: 17px; }
  .rt-hero-actions .butn-style02 { flex: 1 1 100%; text-align: center; }
}

/* Section furniture ------------------------------------------------------ */
.rt-section-lead {
  max-width: 780px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--rt-body);
  margin-bottom: 44px;
}
.rt-section-head { margin-bottom: 26px; }
.rt-heading-link { color: inherit; }
.rt-heading-link:hover { color: var(--rt-orange); }
.rt-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--rt-orange);
}
.rt-card-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rt-orange);
}
.rt-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--rt-teal);
}
.rt-card-link i { transition: transform .3s; }
a:hover .rt-card-link i { transform: translateX(5px); }
.rt-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--rt-teal);
}
.rt-inline-link:hover { color: var(--rt-orange); }
.rt-inline-link i { transition: transform .3s; }
.rt-inline-link:hover i { transform: translateX(4px); }

/* Reveal motion ---------------------------------------------------------- */
.rt-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}
.rt-reveal.is-visible { opacity: 1; transform: none; }

/* Ecosystem wheel -------------------------------------------------------- */
.rt-wheel-section { padding: 110px 0; }
.rt-wheel-wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.rt-wheel-wrap--lg { grid-template-columns: 1fr 1fr; gap: 56px; }
.rt-wheel-stage { position: relative; }
.rt-wheel-svg { width: 100%; max-width: 620px; display: block; margin: 0 auto; overflow: visible; }
.rt-wheel-wrap--lg .rt-wheel-svg { max-width: 560px; }

.rt-wheel-svg .rt-seg path { transition: filter .35s ease, fill .3s ease, stroke .3s ease; }
.rt-wheel-svg .rt-seg.is-active path { filter: drop-shadow(0 18px 26px rgba(16, 24, 36, .2)); }
.rt-wheel-svg .rt-seg text {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  font-weight: 800;
  letter-spacing: .2px;
}
.rt-wheel-svg .rt-seg:focus { outline: none; }
.rt-wheel-svg .rt-seg:focus-visible path { stroke: #fff; stroke-width: 2.5; }
.rt-wheel-hub-hit { cursor: pointer; }
.rt-wheel-word { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: 2.5px; fill: var(--rt-teal); }
.rt-wheel-tag { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12.5px; font-weight: 700; fill: var(--rt-orange); }
.rt-wheel-powered { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 9.5px; font-weight: 800; letter-spacing: 1.6px; fill: rgba(33, 80, 80, .62); }

.rt-panel { padding-left: 26px; }
.rt-panel-body { animation: rtPanelIn .5s cubic-bezier(.22, 1, .36, 1) both; }
.rt-panel-rule { display: block; width: 64px; height: 4px; margin-bottom: 24px; border-radius: 2px; }
.rt-panel-kicker {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--seg-accent, var(--rt-orange));
}
.rt-panel h3 { font-size: 42px; line-height: 1.04; letter-spacing: -1.2px; margin-bottom: 18px; }
.rt-panel .lead { font-size: 19px; line-height: 1.7; color: #3c4a4d; }
.rt-panel-note {
  font-size: 15px;
  color: #5a686b;
  border-left: 2px solid rgba(33, 80, 80, .18);
  padding-left: 14px;
}
.rt-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--seg-accent, var(--rt-orange));
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--rt-teal);
}
.rt-more:hover { color: var(--seg-accent, var(--rt-orange)); }
.rt-more i { transition: transform .3s; }
.rt-more:hover i { transform: translateX(5px); }
.rt-panel .rt-dots { margin-top: 30px; flex-wrap: wrap; }
.rt-panel .rt-dots button { width: 24px; height: 6px; cursor: pointer; }
.rt-panel .rt-dots button.is-active { width: 44px; }

@keyframes rtPanelIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1199px) {
  .rt-wheel-wrap--lg { grid-template-columns: 1fr; gap: 40px; }
  .rt-wheel-wrap--lg .rt-wheel-svg { max-width: 100%; }
}
@media (max-width: 991px) {
  .rt-wheel-section { padding: 78px 0; }
  .rt-wheel-wrap { grid-template-columns: 1fr; gap: 34px; }
  .rt-wheel-wrap--lg .rt-wheel-svg { max-width: 100%; }
  .rt-panel { padding-left: 0; }
  .rt-panel h3 { font-size: 32px; }
  .rt-section-lead { font-size: 17px; }
}
@media (max-width: 575px) {
  .rt-wheel-svg .rt-seg-label { font-size: 19px; }
  .rt-wheel-word { font-size: 26px; }
  .rt-wheel-tag { font-size: 15px; }
  .rt-wheel-powered { font-size: 11px; }
}

/* CPASTS band ------------------------------------------------------------ */
.rt-cpasts {
  position: relative;
  overflow: hidden;
  padding: 100px 0 92px;
  background:
    radial-gradient(70% 90% at 88% 8%, rgba(188, 79, 41, .28), transparent 62%),
    linear-gradient(160deg, #163c3c 0%, #215050 58%, #17403f 100%);
  color: #fff;
}
.rt-cpasts::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .5;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
}
.rt-cpasts > .container { position: relative; z-index: 1; }
.rt-cpasts .rt-cpasts-seal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.rt-cpasts .butn-style02.white {
  background: #fff;
  color: var(--rt-teal);
  border-color: #fff;
}
.rt-cpasts .butn-style02.white:hover {
  background: var(--rt-gold);
  border-color: var(--rt-gold);
  color: #1b2a2a;
}
.rt-cpasts-foot { padding-bottom: 6px; }
.rt-cpasts-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 40px;
  justify-content: start;
  margin: 0;
}
.rt-cpasts-points li {
  padding-left: 34px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255, 255, 255, .9);
  text-align: left;
}
.rt-cpasts-points li::before { top: -1px; font-size: 17px; color: var(--rt-gold); }
@media (max-width: 767px) {
  .rt-cpasts { padding: 72px 0 64px; }
  .rt-cpasts-points { grid-template-columns: 1fr; gap: 12px; }
}

/* Partners --------------------------------------------------------------- */
.rt-partners-section { padding: 124px 0 132px; }
.rt-partners-head { margin-bottom: 56px; }
.rt-partners-lead {
  max-width: 760px;
  margin: 20px auto 0;
  font-size: 17px;
  line-height: 1.75;
  color: #4a5559;
}
/* Long partner names sit on two lines inside the approved 230px tile. */
.rt-partner-tile--name { padding: 0 20px; text-align: center; line-height: 1.35; }

/* Home partner strip: eight logo slots scrolling as one uninterrupted loop.
   Two identical groups, shifted by exactly one group width, so it never jumps. */
.rt-partner-marquee {
  position: relative;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.rt-partner-marquee .scroll-track {
  animation-name: rt-partner-marquee-left;
  animation-duration: 30s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-play-state: running;
}
@keyframes rt-partner-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.rt-partner-marquee .scroll-group { align-items: center; }
/* Bigger logo tiles: partner marks are the proof in this band, so they get a
   larger chip and a larger mark than the default 230px tile allows. */
.rt-partner-marquee .rt-partner-tile {
  min-width: 262px;
  height: 126px;
  margin: 0 10px;
  transition: box-shadow .3s ease, color .3s ease;
}
.rt-partner-marquee .rt-partner-tile img { max-width: 224px; max-height: 100px; }
@media (max-width: 767px) {
  .rt-partner-marquee .rt-partner-tile { min-width: 220px; height: 108px; }
  .rt-partner-marquee .rt-partner-tile img { max-width: 186px; max-height: 82px; }
}
.rt-partner-marquee a.rt-partner-tile:hover { color: var(--rt-teal); box-shadow: 0 18px 40px -24px rgba(16, 24, 36, .35); }
@media (prefers-reduced-motion: reduce) {
  .rt-partner-marquee .scroll-track { animation: none; }
}

/* Approved partner strip (partners hero + each service hero) --------------- */
.rt-ph-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.rt-ph-track::-webkit-scrollbar { display: none; }
.rt-ph-track > :first-child { border-left: 0 !important; }
.rt-ph-track .rt-ph-item { flex: 0 0 25%; min-width: 0; scroll-snap-align: start; }
/* Logos are drawn in teal, so the strip gives them a light chip to sit on. */
.rt-ph-track .rt-ph-logo {
  width: 88px;
  height: 56px;
  background: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.rt-ph-track .rt-ph-logo img { max-width: 94%; max-height: 88%; }
@media (max-width: 991px) {
  .rt-ph-track .rt-ph-logo { width: 68px; height: 46px; }
}
@media (max-width: 1199px) {
  .rt-ph-track .rt-ph-item { flex-basis: 33.3333%; }
}
@media (max-width: 767px) {
  .rt-ph-track .rt-ph-item { flex-basis: 50%; }
}

/* Partner hero: rotating photo behind the page title plus the live brief. */
.rt-page-hero.rt-partner-hero { padding-bottom: 148px; }
.rt-page-hero.rt-partner-hero .rt-bg { opacity: 0; transition: opacity 1.2s ease; }
.rt-page-hero.rt-partner-hero .rt-bg.is-active { opacity: .62; }
.rt-partner-brief {
  position: relative;
  max-width: 640px;
  margin-top: 34px;
  padding-left: 26px;
  animation: rt-partner-swap .5s ease both;
}
.rt-partner-brief::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--rt-orange);
}
.rt-partner-brief-name {
  color: #fff;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 10px;
}
.rt-partner-brief p { color: rgba(255, 255, 255, .86); margin: 0; }
@keyframes rt-partner-swap {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: none; }
}
/* Every partner brings its own photo into the service hero; layers cross-fade
   as the strip advances instead of swapping the background abruptly. */
.rt-service-hero .rt-bg { opacity: 0; animation: none; transition: opacity 1s ease; }
.rt-service-hero .rt-bg.is-active { opacity: 1; }

/* The strip is pinned to the hero floor, so the copy needs room above it. */
.rt-service-hero.rt-has-strip { padding-bottom: 160px; }
@media (max-width: 991px) {
  .rt-page-hero.rt-partner-hero { padding-bottom: 200px; }
  .rt-partner-brief { margin-top: 26px; }
  .rt-service-hero.rt-has-strip { padding-bottom: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .rt-partner-brief { animation: none; }
}

@media (max-width: 991px) {
  .rt-partners-section { padding: 78px 0 84px; }
  .rt-partners-head { margin-bottom: 36px; }
}

/* Project stories -------------------------------------------------------- */
.rt-stories-section { padding: 110px 0; }

/* Home story reel: rotating before/after pairs beside the project film. */
.rt-reel {
  display: grid;
  grid-template-columns: 1.42fr .78fr;
  gap: 34px;
  align-items: start;
  margin-top: 46px;
}
.rt-reel-main { min-width: 0; }
.rt-ba.rt-reel-photo { aspect-ratio: 16 / 10; }
.rt-reel-caption {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 22px 4px 0;
}
.rt-reel-caption h3 a { color: var(--rt-teal); }
.rt-reel-caption h3 a:hover { color: var(--rt-orange); }
.rt-reel-caption p { font-size: 14px; color: #5a686b; }
.rt-reel-side { display: flex; flex-direction: column; gap: 18px; }
.rt-reel-film { position: relative; }
.rt-reel-film .rt-video,
.rt-reel-film .rt-video-still {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 26px 54px -34px rgba(16, 24, 36, .55);
}
.rt-reel-film .rt-video { aspect-ratio: 16 / 10; }
.rt-reel-film .rt-video-still img { aspect-ratio: 16 / 10; }
.rt-reel-film-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 2px;
  background: rgba(22, 60, 60, .86);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  pointer-events: none;
}
.rt-reel-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.rt-reel-thumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(33, 80, 80, .16);
  border-radius: 6px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.rt-reel-thumb img { flex-shrink: 0; width: 52px; height: 40px; object-fit: cover; border-radius: 4px; }
.rt-reel-thumb span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: #3c4a4d;
}
.rt-reel-thumb.is-active { border-color: var(--rt-orange); box-shadow: 0 12px 26px -20px rgba(16, 24, 36, .5); }
.rt-reel-thumb.is-active span { color: var(--rt-teal); }
.rt-reel-cta { align-self: flex-start; }

@media (max-width: 1199px) {
  .rt-reel { grid-template-columns: 1fr; }
  .rt-reel-side { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .rt-reel-film { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .rt-reel-caption { flex-direction: column; align-items: flex-start; }
  .rt-reel-side { grid-template-columns: 1fr; }
}
.rt-story-feature {
  display: grid;
  grid-template-columns: 1.28fr .72fr;
  gap: 44px;
  align-items: start;
}
.rt-story-media { min-width: 0; }
.rt-story-media-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  flex-wrap: wrap;
}
.rt-story-location { font-size: 14px; color: #6b7679; font-weight: 600; }
.rt-story-location i { color: var(--rt-orange); }
.rt-story-side { display: flex; flex-direction: column; gap: 22px; }
.rt-story-copy {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 20px 50px -32px rgba(16, 24, 36, .35);
}
.rt-story-copy h3 a, .rt-story-copy h2 a { color: inherit; }
.rt-story-copy h3 a:hover, .rt-story-copy h2 a:hover { color: var(--rt-orange); }
.rt-story-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 0 0 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(33, 80, 80, .12);
  font-size: 15px;
}
.rt-story-dl dt { color: var(--rt-teal); font-weight: 700; }
.rt-story-dl dd { margin: 0; color: #3c4a4d; }
.rt-story-dl > div { display: contents; }
.rt-story-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid rgba(33, 80, 80, .1);
  font-weight: 700;
  color: var(--rt-teal);
  font-size: 15px;
}
.rt-story-list li a:hover { color: var(--rt-orange); }
.rt-story-list li a i { color: var(--rt-orange); }

.rt-proof-strip {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(33, 80, 80, .14);
}
.rt-proof-label {
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rt-orange);
}
.rt-proof-item { display: flex; flex-direction: column; gap: 4px; color: var(--rt-teal); padding: 12px 0; }
.rt-proof-item strong { font-weight: 700; font-size: 15px; line-height: 1.5; }
.rt-proof-item:hover { color: var(--rt-orange); }
.rt-proof-date { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #7a868a; }

@media (max-width: 991px) {
  .rt-stories-section { padding: 78px 0; }
  .rt-story-feature { grid-template-columns: 1fr; gap: 30px; }
}

/* Before / after --------------------------------------------------------- */
.rt-ba {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #dfe4e2;
  box-shadow: 0 32px 64px -34px rgba(16, 24, 36, .5);
  touch-action: pan-y;
}
.rt-ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rt-ba-before {
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: clip-path .7s cubic-bezier(.22, 1, .36, 1);
  will-change: clip-path;
}
.rt-ba-tag {
  position: absolute;
  top: 16px;
  z-index: 4;
  padding: 6px 11px;
  background: rgba(22, 60, 60, .84);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  pointer-events: none;
}
.rt-ba-tag--after { right: 16px; }
.rt-ba-tag--before { left: 16px; }
.rt-ba-divider {
  position: absolute;
  opacity: 1;
  transition: left .2s ease-out, opacity .25s ease;
  top: 0;
  bottom: 0;
  z-index: 5;
  width: 2px;
  background: rgba(255, 255, 255, .92);
  transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(22, 60, 60, .22);
  pointer-events: none;
}
.rt-ba.is-resting .rt-ba-divider { opacity: 0; }
.rt-ba:hover .rt-ba-divider,
.rt-ba:focus-within .rt-ba-divider { opacity: 1; }
.rt-ba.is-resting .rt-ba-tag--before { opacity: .7; }
.rt-ba-divider i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--rt-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .28);
}
.rt-ba-range {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  width: 100%;
  height: 46px;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.rt-ba:focus-within .rt-ba-range:focus-visible { opacity: .3; }
.rt-ba-note {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 4;
  max-width: calc(100% - 28px);
  margin: 0;
  padding: 6px 10px;
  background: rgba(22, 60, 60, .78);
  color: #fff;
  font-size: 11.5px;
  line-height: 1.4;
  border-radius: 3px;
  pointer-events: none;
}
.rt-ba-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 4 / 3;
  padding: 24px;
  text-align: center;
  border: 1px dashed rgba(33, 80, 80, .3);
  border-radius: 10px;
  background: var(--rt-cream);
  color: #5a686b;
}
.rt-ba-slot i { font-size: 34px; color: var(--rt-orange); }
.rt-ba-slot strong { color: var(--rt-teal); font-size: 15px; }
.rt-ba-slot span { font-size: 13px; }

/* Video ------------------------------------------------------------------ */
.rt-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rt-video-slot {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: 1px dashed rgba(33, 80, 80, .32);
  background: var(--rt-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px;
  text-align: center;
  color: #5a686b;
}
.rt-video-slot-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--rt-teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 6px;
  box-shadow: 0 16px 30px -16px rgba(22, 60, 60, .6);
}
.rt-video-slot strong { color: var(--rt-teal); font-size: 15px; font-weight: 800; letter-spacing: .4px; }
.rt-video-slot span { font-size: 13px; }

/* Still used where footage has not been supplied — no empty player. */
.rt-video-still {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--rt-cream);
}
.rt-video-still img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.rt-video-still figcaption {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--rt-teal);
  background: #fff;
}

/* Rail ------------------------------------------------------------------- */
.rt-rail-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.rt-rail-track::-webkit-scrollbar { display: none; }
.rt-rail-item { flex: 0 0 calc(33.333% - 20px); scroll-snap-align: start; min-width: 0; }
.rt-rail {
  --rt-rail-gap: 26px;
}
.rt-rail-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  min-height: 44px;
}
.rt-rail-dots { display: flex; align-items: center; gap: 10px; }
.rt-rail-dots button {
  width: 9px;
  height: 9px;
  min-width: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(33, 80, 80, .22);
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.rt-rail-dots button.is-active { width: 30px; border-radius: 5px; background: var(--rt-orange); }
.rt-rail-dots button:focus-visible { outline: 2px solid var(--rt-orange); outline-offset: 3px; }
.rt-rail--dark .rt-rail-dots button { background: rgba(255, 255, 255, .28); }
.rt-rail--dark .rt-rail-dots button.is-active { background: var(--rt-orange); }
.rt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.rt-rail-nav { display: flex; justify-content: flex-end; gap: 10px; }
.rt-rail-nav button {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 1px solid rgba(33, 80, 80, .25);
  background: transparent;
  color: var(--rt-teal);
  cursor: pointer;
  transition: all .25s;
}
.rt-rail--dark .rt-rail-nav button { border-color: rgba(255, 255, 255, .28); color: #fff; }
.rt-rail-nav button:hover { background: var(--rt-orange); border-color: var(--rt-orange); color: #fff; }
.rt-rail-nav button:disabled { opacity: .35; cursor: not-allowed; }
.rt-rail-nav button:disabled:hover { background: transparent; border-color: rgba(33, 80, 80, .25); color: var(--rt-teal); }
.rt-rail--dark .rt-rail-nav button:disabled:hover { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
.rt-voices { padding: 100px 0; }
@media (max-width: 991px) {
  .rt-rail-item { flex-basis: calc(50% - 15px); }
  .rt-voices { padding: 72px 0; }
}
@media (max-width: 640px) {
  .rt-rail-item { flex-basis: 88%; }
}

/* Benefits / values ------------------------------------------------------ */
.rt-benefit--value { border-top: 3px solid rgba(188, 79, 41, .35); }
.rt-benefit--value h3 { color: var(--rt-teal); }

/* About ------------------------------------------------------------------ */
.rt-about-lead { font-size: 17.5px; line-height: 1.8; }
.rt-about-image { aspect-ratio: 4 / 3; object-fit: cover; }
.rt-vm-section { padding: 100px 0; }
.rt-vm-card {
  height: 100%;
  padding: 44px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 60px -36px rgba(16, 24, 36, .35);
  border-top: 3px solid var(--rt-orange);
}
.rt-vm-card .h3, .rt-vm-card h2 { color: var(--rt-teal); }
.rt-vm-card--dark { background: var(--rt-teal); border-top-color: var(--rt-gold); }
.rt-vm-card--dark .rt-card-eyebrow { color: #f2a27e; }
.rt-counter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid rgba(33, 80, 80, .14);
}
.rt-counter { text-align: center; }
.rt-counter-value {
  display: block;
  font-size: 62px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--rt-orange);
}
.rt-counter-label { display: block; margin-top: 10px; font-size: 14px; color: #4a5257; font-weight: 600; }
.rt-problem { padding: 100px 0; }
.rt-team-note { padding: 96px 0; }
.rt-cta-band {
  background: linear-gradient(120deg, var(--rt-teal) 0%, var(--rt-forest) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.rt-cta-band::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 50px solid rgba(209, 154, 60, .12);
}
.rt-cta-band .container { position: relative; z-index: 2; }
.rt-cta-band h2 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -1.5px; }

@media (max-width: 767px) {
  .rt-vm-section, .rt-problem, .rt-team-note { padding: 64px 0; }
  .rt-counter-row { grid-template-columns: repeat(2, 1fr); }
  .rt-counter-value { font-size: 46px; }
  .rt-cta-band { padding: 58px 0; }
}

/* Services --------------------------------------------------------------- */
.rt-service-card {
  display: block;
  height: 100%;
  padding: 32px 30px 26px;
  background: #fff;
  border-radius: 8px;
  border-top: 4px solid var(--rt-orange);
  box-shadow: 0 18px 44px -30px rgba(16, 24, 36, .3);
  color: inherit;
  transition: transform .35s ease, box-shadow .35s ease;
}
.rt-service-card:hover { transform: translateY(-6px); box-shadow: 0 28px 56px -30px rgba(16, 24, 36, .38); color: inherit; }
.rt-service-card h3 { color: var(--rt-teal); }
.rt-service-card p { font-size: 15px; color: #5a686b; line-height: 1.65; }
.rt-service-icon { font-size: 42px; line-height: 1; }
.rt-turnkey-band { padding: 90px 0; }
.rt-access-panel { background: var(--rt-cream); border-left: 3px solid var(--rt-orange); padding: 28px 32px; }
.rt-service-partners { border-top: 1px solid rgba(33, 80, 80, .14); padding-top: 24px; }
.rt-service-partners li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid rgba(33, 80, 80, .08); }
.rt-service-partners strong { color: var(--rt-teal); }
.rt-service-partners span { font-size: 13px; color: #6b7679; }
.rt-service-note { font-size: 14px; color: #6b7679; padding-left: 16px; border-left: 2px solid rgba(33, 80, 80, .2); }
.rt-independence { font-size: 16px; font-weight: 700; letter-spacing: .2px; }

/* Sits below the partner hero: it must never cover the partner strip, which
   is the interactive carousel at the bottom of that hero. */
.rt-call-band { padding: 56px 0 40px; position: relative; z-index: 1; }
.rt-call-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 44px 48px;
  background: #fff;
  border-left: 5px solid var(--rt-orange);
  border-radius: 10px;
  box-shadow: 0 32px 70px -40px rgba(16, 24, 36, .5);
}
.rt-call-card h2 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -1px; color: var(--rt-teal); }
.rt-call-card p { max-width: 720px; color: #4a5257; }
.rt-call-action { flex-shrink: 0; }
.rt-partners-list { padding-top: 90px; }
.rt-partner-card {
  display: flex;
  gap: 26px;
  height: 100%;
  padding: 32px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 48px -32px rgba(16, 24, 36, .3);
}
.rt-partner-card-logo {
  flex-shrink: 0;
  width: 118px;
  height: 118px;
  border-radius: 8px;
  background: var(--rt-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--rt-orange);
}
.rt-partner-card-logo img { max-width: 86%; max-height: 86%; object-fit: contain; }
@media (max-width: 575px) {
  .rt-partner-card-logo { width: 88px; height: 88px; }
}
.rt-partner-card h3 { color: var(--rt-teal); }
.rt-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
}
.rt-category-grid li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.rt-category-grid i { color: var(--rt-gold); margin-top: 4px; }
.rt-accreditation-card { background: #fff; border-radius: 8px; padding: 36px; box-shadow: 0 24px 56px -34px rgba(16, 24, 36, .3); }
.rt-accreditation-card .rt-check-list li { color: #3c4a4d; }

@media (max-width: 991px) {
  .rt-call-band { padding-top: 40px; }
  .rt-call-card { flex-direction: column; align-items: flex-start; padding: 32px; }
  .rt-category-grid { grid-template-columns: 1fr; }
  .rt-partners-list { padding-top: 64px; }
}
@media (max-width: 575px) {
  .rt-partner-card { flex-direction: column; }
}

/* How we work ------------------------------------------------------------ */
.rt-principle-band { padding: 78px 0; }
.rt-principle-quote {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(26px, 3.4vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.4px;
}
.rt-principle-note { font-size: 17px; }
.rt-journey {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
}
.rt-journey-step {
  display: flex;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid rgba(33, 80, 80, .14);
}
.rt-journey-num {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--rt-orange);
  line-height: 1.2;
  min-width: 38px;
}
.rt-journey-step h3 { color: var(--rt-teal); }
.rt-journey-cta { margin-top: 40px; }

@media (max-width: 767px) {
  .rt-principle-band { padding: 56px 0; }
  .rt-journey { grid-template-columns: 1fr; }
}

/* Projects --------------------------------------------------------------- */
.rt-projects-lead { padding: 90px 0 100px; }
.rt-featured-label {
  display: block;
  margin-bottom: 26px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--rt-orange);
}
.rt-story-feature--lead .rt-story-copy { background: #fff; }
.rt-project-stories { padding-bottom: 90px; }
.rt-project-row {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid rgba(33, 80, 80, .12);
}
.rt-project-row--reverse .rt-project-row-media { order: 2; }
.rt-project-row-media { min-width: 0; }
.rt-project-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.rt-project-thumbs img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; width: 100%; }
.rt-project-row-copy h2 a { color: var(--rt-teal); }
.rt-project-row-copy h2 a:hover { color: var(--rt-orange); }
.rt-project-body {
  display: grid;
  grid-template-columns: 1.5fr .75fr;
  gap: 56px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(33, 80, 80, .12);
}
.rt-project-aside-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 20px 50px -34px rgba(16, 24, 36, .32);
  margin-bottom: 22px;
}
.rt-project-aside-card--note {
  background: var(--rt-cream);
  box-shadow: none;
  border-left: 3px solid var(--rt-gold);
  font-size: 14px;
  color: #4a5257;
}
.rt-project-aside-card--note i { color: var(--rt-orange); margin-bottom: 8px; display: inline-block; font-size: 18px; }
.rt-gallery { margin-top: 48px; }
.rt-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.rt-gallery-grid figure { margin: 0; }
.rt-gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.rt-gallery-grid figcaption { margin-top: 8px; font-size: 12px; letter-spacing: .4px; color: #6b7679; }
.rt-project-hero { padding-bottom: 120px; }
.rt-hero-meta { font-size: 16px; letter-spacing: .3px; }

@media (max-width: 991px) {
  .rt-project-row, .rt-project-body { grid-template-columns: 1fr; gap: 30px; }
  .rt-project-row--reverse .rt-project-row-media { order: 0; }
  .rt-projects-lead { padding: 60px 0 70px; }
}

/* BuildABLE -------------------------------------------------------------- */
.rt-buildable-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 170px 0 120px;
  overflow: hidden;
  background: var(--rt-forest);
  color: #fff;
}
.rt-buildable-hero .rt-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .42; }
.rt-buildable-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(22, 60, 60, .97) 0%, rgba(31, 74, 74, .86) 48%, rgba(31, 74, 74, .35) 100%);
}
.rt-buildable-hero .container { position: relative; z-index: 2; }
.rt-buildable-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  padding-bottom: 6px;
}
.rt-buildable-name {
  margin: 0;
  font-size: clamp(80px, 12vw, 196px);
  font-weight: 800;
  line-height: .86;
  letter-spacing: -6px;
  color: #fff;
}
.rt-buildable-sub {
  margin: 22px 0 0;
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 700;
  letter-spacing: -.5px;
  color: #fff;
}
.rt-buildable-lead { margin-top: 16px; max-width: 620px; font-size: 19px; line-height: 1.7; color: rgba(255, 255, 255, .88); }
.rt-buildable-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin: 26px 0 0;
  padding: 11px 16px;
  max-width: 620px;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .08);
  font-size: 14.5px;
  line-height: 1.5;
  color: #fff;
}
.rt-buildable-note i { color: var(--rt-gold); margin-top: 2px; }
.rt-buildable-intro { padding: 96px 0; }

.rt-pillar-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.rt-pillar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 60, 60, .97) 0%, rgba(31, 74, 74, .9) 46%, rgba(31, 74, 74, .32) 100%);
}
.rt-pillar-section--right .rt-pillar-overlay {
  background: linear-gradient(270deg, rgba(22, 60, 60, .97) 0%, rgba(31, 74, 74, .9) 46%, rgba(31, 74, 74, .32) 100%);
}
.rt-pillar-section--right .container { display: flex; justify-content: flex-end; }
.rt-pillar-content { position: relative; z-index: 2; max-width: 620px; padding: 76px 0; }
.rt-pillar-content h2 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -1.6px; }
.rt-pillar-content .rt-card-eyebrow { color: #f2a27e; text-transform: uppercase; }
.rt-pillar-section--pilot .rt-pillar-overlay {
  background: linear-gradient(270deg, rgba(24, 66, 58, .97) 0%, rgba(38, 86, 72, .88) 46%, rgba(38, 86, 72, .3) 100%);
}
.rt-pillar-section--partnership .rt-pillar-overlay {
  background: linear-gradient(90deg, rgba(28, 58, 58, .97) 0%, rgba(46, 82, 70, .88) 46%, rgba(46, 82, 70, .3) 100%);
}
.rt-approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.rt-approach-card {
  height: 100%;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  border-top: 3px solid var(--rt-green);
  box-shadow: 0 18px 44px -30px rgba(16, 24, 36, .3);
}
.rt-approach-card h3 { color: var(--rt-teal); }
.rt-approach-card p { font-size: 15px; color: #5a686b; }

@media (max-width: 767px) {
  .rt-buildable-hero { min-height: 0; padding: 130px 0 90px; }
  .rt-buildable-name { letter-spacing: -3px; }
  .rt-pillar-section { min-height: 400px; }
  .rt-pillar-content { padding: 56px 0; }
  .rt-pillar-section--right .container { justify-content: flex-start; }
}

/* News ------------------------------------------------------------------- */
.rt-news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.rt-news-card {
  height: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px -34px rgba(16, 24, 36, .32);
}
.rt-news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rt-news-body { padding: 28px; }
.rt-news-body h2 { color: var(--rt-teal); }
.rt-news-full { font-size: 15px; line-height: 1.7; color: #5a686b; }

/* Demo and forms --------------------------------------------------------- */
.rt-demo-side { padding: 36px; background: var(--rt-cream); border-radius: 8px; height: 100%; }
.rt-demo-box .form-group { margin-bottom: 18px; }
.rt-form-note { margin-top: 14px; font-size: 14px; font-weight: 600; }
.rt-form-note--ok { color: var(--rt-green); }
.rt-form-note--err { color: #b3261e; }
/* The newsletter form lives in the dark footer, where the mid-green success
   note all but disappears. Lift the note and error to a readable tint. */
footer .rt-form-note--ok { color: #cfe9dd; }
footer .rt-form-note--err { color: #ffc4b4; }
.rt-form-success { text-align: left; }
.rt-form-success > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--rt-green);
  color: #fff;
  font-size: 22px;
  margin-bottom: 18px;
}
.rt-form-success h2 { color: var(--rt-teal); }
.contact-map { width: 100%; height: 480px; display: block; }

/* Contact ---------------------------------------------------------------- */
.rt-contact-steps { padding: 86px 0 40px; }
.rt-contact-step {
  position: relative;
  height: 100%;
  padding: 30px 28px 28px;
  background: #fff;
  border-radius: 8px;
  border-top: 3px solid var(--rt-orange);
  box-shadow: 0 24px 56px -40px rgba(16, 24, 36, .5);
}
.rt-contact-step i { font-size: 26px; color: var(--rt-teal); }
.rt-contact-step-num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: rgba(33, 80, 80, .28);
}
.rt-contact-step h2 { color: var(--rt-teal); }
.rt-contact-step p { color: #4a5559; }
.rt-contact-details { padding: 96px 0; }
.rt-contact-details-head { max-width: 760px; margin-bottom: 46px; }
.rt-contact-details .sub-title { color: rgba(255, 255, 255, .62); }
.rt-contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  transition: background .3s ease, transform .3s ease;
}
.rt-contact-card i { font-size: 26px; color: var(--rt-gold); }
.rt-contact-card .rt-card-eyebrow { color: rgba(255, 255, 255, .6); }
.rt-contact-card strong { font-size: 18px; line-height: 1.35; }
.rt-contact-card span:last-child { font-size: 14px; color: rgba(255, 255, 255, .72); }
.rt-contact-card:hover { background: rgba(255, 255, 255, .1); transform: translateY(-3px); }
.rt-contact-note { margin-top: 34px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.rt-contact-note a { color: var(--rt-gold); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .rt-contact-steps { padding: 64px 0 24px; }
  .rt-contact-details { padding: 64px 0; }
}

.rt-legal { max-width: 820px; font-size: 17px; line-height: 1.85; color: #3c4a4d; }
.rt-legal p { margin-bottom: 22px; }

/* Gallery band ----------------------------------------------------------- */
.rt-band-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rt-band-gallery figure { margin: 0; }
.rt-band-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.rt-band-gallery figcaption { margin-top: 10px; font-size: 13px; color: #6b7679; letter-spacing: .3px; }
@media (max-width: 767px) {
  .rt-band-gallery { grid-template-columns: 1fr; }
  .contact-map { height: 340px; }
}

/* Page hero additions ---------------------------------------------------- */
.rt-page-hero { padding: 130px 0 110px; }
.rt-page-hero::before {
  background: linear-gradient(90deg, rgba(22, 60, 60, .96) 0%, rgba(33, 80, 80, .82) 55%, rgba(33, 80, 80, .55) 100%);
}
.rt-page-hero .rt-bg { opacity: .62; }
.rt-hero-eyebrow {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
  padding-bottom: 5px;
}
.rt-hero-title {
  color: #fff;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.06;
  letter-spacing: -2px;
  max-width: 920px;
  margin: 0;
}
.rt-hero-lead { max-width: 760px; font-size: 20px; line-height: 1.65; }
.rt-404 { padding-bottom: 140px; }

@media (max-width: 767px) {
  .rt-page-hero { padding: 90px 0 80px; }
  .rt-hero-title { letter-spacing: -1px; }
  .rt-hero-lead { font-size: 17px; }
}

/* Header fit -------------------------------------------------------------- */
/* The navigation grew a longer last item, so laptops tighten the item rhythm
   instead of letting the last link slide under the Sign In button. */
@media (min-width: 992px) and (max-width: 1499px) {
  .header-style2 .navbar-nav > li > a {
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 12.5px;
    letter-spacing: .4px;
  }
  .header-style2 .navbar-nav > li > a:after { margin-left: 4px; }
  .header-style2 .rt-brand-lockup img { max-width: 190px; }
}

/* Sign In stays at the top right on every screen; the mobile menu keeps only
   the page links. */
@media (max-width: 991px) {
  .header-style2 .menu_area .navbar { flex-wrap: nowrap; }
  .header-style2 .attr-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 8px;
  }
  .header-style2 .rt-nav-actions .butn-style02 {
    padding: 9px 13px !important;
    font-size: 11px !important;
    letter-spacing: .6px;
  }
  .header-style2 .navbar-nav > li.d-lg-none { display: none; }
}


/* Section flow ----------------------------------------------------------- */
/* Pages scroll normally. Deep links such as /contact#enquire land on their
   section with the header height allowed for. */
:root { --rt-section-offset: 96px; }
main > section { scroll-margin-top: var(--rt-section-offset); }

@media (min-width: 992px) {
  #main > section > .container { width: 100%; }
  /* The partner hero keeps its pinned strip: room underneath for the strip. */
  #main > section.rt-partner-hero { padding-top: 64px; padding-bottom: 146px; }
  #main > section.rt-partner-hero .rt-partner-brief { margin-top: 22px; }
}

/* Short laptop screens: keep the opening headline clear of the fold. */
@media (min-width: 992px) and (max-height: 820px) {
  #home.rt-home-hero .rt-home-title { font-size: clamp(38px, 4.2vw, 56px); }
  #home.rt-home-hero .rt-home-lead { font-size: 16px; }
  #home.rt-home-hero .rt-hero-phone img { max-height: 400px; width: auto; margin-inline: auto; }
  .rt-hero-actions .butn-style02 { padding-top: 14px; padding-bottom: 14px; }
}

/* The section padding is written for tall displays. On a 720px-tall laptop it
   alone can push a section past the fold, which would force an extra stop
   mid-block; trim it here so the screen stays whole, while the two opening
   screens keep their own composed spacing. */
@media (min-width: 992px) and (max-height: 820px) {
  #main > section {
    padding-top: clamp(24px, 6vh, 96px);
    padding-bottom: clamp(24px, 6vh, 96px);
  }
  #main > section#home.rt-home-hero { padding-top: 28px; padding-bottom: 28px; }
  #main > section.rt-process-section { padding-top: 28px; padding-bottom: 28px; }
  #main > section.rt-partner-hero { padding-top: 34px; padding-bottom: 132px; }
}


@media (max-width: 767px) {
  .rt-whatsapp {
    right: 12px;
    bottom: 4px !important;
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
}

/* Back to top ------------------------------------------------------------ */
.rt-back-top {
  position: fixed;
  right: 50px;
  bottom: 190px;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--rt-teal);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .2s ease;
  cursor: pointer;
}
.rt-back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.rt-back-top:hover { background: var(--rt-orange); transform: translateY(-2px); }
.rt-back-top:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 991px) {
  .rt-back-top { right: 20px; bottom: 160px; width: 46px; height: 46px; }
}
@media (max-width: 767px) {
  .rt-back-top { bottom: 84px; width: 44px; height: 44px; font-size: 18px; }
}

/* Reduced motion --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .rt-reveal { opacity: 1; transform: none; transition: none; }
  .rt-panel-body { animation: none; }
  .rt-service-hero .rt-bg, .rt-page-hero.rt-partner-hero .rt-bg { transition: none; }
  .rt-ba-before { transition: none; }
  .rt-service-card, .rt-partner-marquee .rt-partner-tile { transition: none; }
  .rt-wheel-svg .rt-seg { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* Admin ------------------------------------------------------------------ */
.rt-admin { min-height: 100vh; background: #f4f1ec; color: var(--rt-ink); }
.rt-admin-shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.rt-admin-side {
  background: var(--rt-forest);
  color: #fff;
  padding: 28px 22px;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow-y: auto;
}
.rt-admin-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.rt-admin-brand strong { font-size: 15px; letter-spacing: .6px; }
.rt-admin-brand small { display: block; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.rt-admin-nav { list-style: none; margin: 0; padding: 0; }
.rt-admin-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  margin-bottom: 4px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.rt-admin-nav button:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.rt-admin-nav button.is-active { background: var(--rt-orange); color: #fff; }
.rt-settings-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.rt-settings-tabs button {
  padding: 9px 16px;
  border: 1px solid #dce4e1;
  border-radius: 999px;
  background: #fff;
  color: #35534f;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.rt-settings-tabs button:hover { border-color: var(--rt-teal); }
.rt-settings-tabs button.is-active { border-color: var(--rt-teal); background: var(--rt-teal); color: #fff; }
.rt-settings-tabs button:focus-visible { outline: 2px solid var(--rt-orange); outline-offset: 2px; }
.rt-admin-side-foot { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.rt-admin-side-foot .rt-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.rt-admin-side-foot .rt-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .8); }
.rt-admin-main { padding: 34px 40px 60px; min-width: 0; }
.rt-admin-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.rt-admin-top h1 { font-size: 28px; letter-spacing: -1px; margin: 0 0 4px; color: var(--rt-teal); }
.rt-admin-top p { margin: 0; color: #6b7679; font-size: 14px; }
.rt-admin-user { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #4a5257; }
.rt-admin-card { background: #fff; border-radius: 8px; padding: 26px 28px; box-shadow: 0 18px 40px -34px rgba(16, 24, 36, .4); margin-bottom: 22px; }
.rt-admin-card h2 { font-size: 18px; color: var(--rt-teal); margin-bottom: 6px; }
.rt-admin-card p.hint { font-size: 13px; color: #6b7679; }
.rt-admin-readonly-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 22px;
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}
.rt-admin-readonly-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #ece7df; }
.rt-admin-readonly-list strong { display: block; font-size: 14px; color: #101824; }
.rt-admin-readonly-list small { display: block; font-size: 12px; color: #6b7679; line-height: 1.45; }
.rt-admin-readonly-dot { flex-shrink: 0; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; }
.rt-admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.rt-admin-grid-full { grid-column: 1 / -1; }
.rt-field { margin-bottom: 16px; }
.rt-field label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--rt-teal); margin-bottom: 6px; }
.rt-field input[type="text"], .rt-field input[type="url"], .rt-field input[type="number"], .rt-field textarea, .rt-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d9dedc;
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
  color: var(--rt-ink);
}
.rt-field textarea { min-height: 84px; resize: vertical; }
.rt-field input:focus, .rt-field textarea:focus, .rt-field select:focus { outline: 2px solid rgba(188, 79, 41, .35); border-color: var(--rt-orange); }
.rt-field .hint { display: block; margin-top: 4px; font-size: 12px; color: #8a9497; }
.rt-field--check { display: flex; align-items: center; gap: 10px; }
.rt-field--check label { margin: 0; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; color: #3c4a4d; }
.rt-repeat-row { border: 1px solid #e4e8e6; border-radius: 6px; padding: 14px; margin-bottom: 12px; position: relative; }
.rt-repeat-remove { position: absolute; top: 8px; right: 8px; border: 0; background: #f7e8e4; color: #b3261e; border-radius: 3px; font-size: 12px; padding: 4px 8px; cursor: pointer; }
.rt-admin-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.rt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: var(--rt-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  cursor: pointer;
}
.rt-btn:hover { filter: brightness(.95); }
.rt-btn--ghost { background: transparent; border-color: rgba(33, 80, 80, .28); color: var(--rt-teal); }
.rt-btn--danger { background: #f7e8e4; color: #b3261e; }
.rt-btn--sm { padding: 7px 12px; font-size: 12px; }
.rt-btn:disabled { opacity: .6; cursor: not-allowed; }
.rt-admin-banner { padding: 12px 16px; border-radius: 5px; font-size: 13.5px; margin-bottom: 18px; border-left: 4px solid; }
.rt-admin-banner--warn { background: #fdf3e3; border-color: var(--rt-gold); color: #6b4b12; }
.rt-admin-banner--ok { background: #eaf4ef; border-color: var(--rt-green); color: #215043; }
.rt-admin-banner--error { background: #f9eae7; border-color: #b3261e; color: #7a1d16; }
.rt-admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rt-admin-table th { text-align: left; padding: 10px 8px; border-bottom: 1px solid #e4e8e6; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #6b7679; }
.rt-admin-table td { padding: 12px 8px; border-bottom: 1px solid #f0f2f1; vertical-align: top; }
.rt-admin-table tr:hover td { background: #faf8f5; }
.rt-admin-pill { display: inline-block; padding: 3px 9px; border-radius: 999px; background: #eef1ef; font-size: 11px; font-weight: 700; letter-spacing: .4px; color: #4a5257; }
.rt-admin-pill--live { background: #e4f1e9; color: #24614b; }
.rt-admin-pill--draft { background: #f5ece0; color: #7a5a22; }
.rt-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.rt-tabs button { padding: 8px 14px; border-radius: 4px; border: 1px solid #dfe4e2; background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; color: #4a5257; }
.rt-tabs button.is-active { background: var(--rt-teal); border-color: var(--rt-teal); color: #fff; }
.rt-admin-login { min-height: 100vh; display: grid; place-items: center; background: var(--rt-forest); padding: 30px; }
.rt-admin-login-card { width: 100%; max-width: 440px; background: #fff; border-radius: 10px; padding: 44px 40px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .6); }
.rt-admin-login-card h1 { font-size: 26px; color: var(--rt-teal); margin-bottom: 8px; }
.rt-admin-login-card p { color: #5a686b; font-size: 14.5px; }
.rt-admin-login-card .rt-btn { width: 100%; justify-content: center; margin-top: 18px; padding: 13px; }
.rt-admin-login-mark { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.rt-media-preview { display: block; margin-top: 8px; max-height: 90px; max-width: 100%; border-radius: 4px; border: 1px solid #e4e8e6; }
.rt-media-grid-video { position: relative; display: block; }
.rt-media-grid-video video { width: 100%; height: 76px; object-fit: cover; border-radius: 3px; background: #101824; }
.rt-media-grid-video span {
  position: absolute;
  left: 4px;
  bottom: 4px;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(16, 24, 36, .78);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
}

/* Media tab -------------------------------------------------------------- */
.rt-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 26px 20px;
  border: 2px dashed #cfd8d4;
  border-radius: 8px;
  background: #faf8f5;
  cursor: pointer;
  text-align: center;
  transition: border-color .15s ease, background-color .15s ease;
}
.rt-upload-zone:hover,
.rt-upload-zone.is-dragging { border-color: var(--rt-orange); background: #fdf3ee; }
.rt-upload-zone strong { font-size: 15px; color: var(--rt-teal); }
.rt-media-search {
  flex: 1 1 200px;
  min-width: 160px;
  padding: 8px 12px;
  border: 1px solid #d9dedc;
  border-radius: 4px;
  font-size: 13px;
}
.rt-media-library {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
}
.rt-media-tile { margin: 0; border: 1px solid #e4e8e6; border-radius: 8px; overflow: hidden; background: #fff; }
.rt-media-thumb { position: relative; background: #f0f2f1; }
.rt-media-thumb img,
.rt-media-thumb video { width: 100%; height: 130px; object-fit: cover; display: block; }
.rt-media-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 24, 36, .72);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.rt-media-tile figcaption { display: flex; flex-direction: column; gap: 4px; padding: 12px; }
.rt-media-tile figcaption strong { font-size: 13px; color: #101824; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-media-path {
  display: block;
  font-size: 11px;
  color: #6b7679;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rt-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; max-height: 380px; overflow-y: auto; padding: 4px; }
.rt-media-grid button { border: 1px solid #e4e8e6; background: #fff; border-radius: 5px; padding: 6px; cursor: pointer; }
.rt-media-grid button.is-active { border-color: var(--rt-orange); box-shadow: 0 0 0 2px rgba(188, 79, 41, .2); }
.rt-media-grid img { width: 100%; height: 76px; object-fit: cover; border-radius: 3px; }

.rt-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(16, 24, 36, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.rt-modal {
  width: 100%;
  max-width: 760px;
  max-height: 86vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  padding: 26px 28px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .6);
}
.rt-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.rt-modal-head h2 { margin: 0; font-size: 20px; color: var(--rt-teal); }
.rt-modal-close { border: 0; background: #f0f2f1; border-radius: 50%; width: 34px; height: 34px; cursor: pointer; font-size: 18px; line-height: 1; }

@media (max-width: 991px) {
  .rt-admin-shell { grid-template-columns: 1fr; }
  .rt-admin-side { position: static; height: auto; }
  .rt-admin-nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .rt-admin-nav button { width: auto; }
  .rt-admin-main { padding: 24px 18px 50px; }
  .rt-admin-top { flex-direction: column; }
}

/* Media usage, page filters and the detail drawer ------------------------- */
.rt-media-toolbar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.rt-media-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rt-media-divider { width: 1px; height: 22px; background: #e0e4e2; margin: 0 4px; }
.rt-media-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex: 1 1 320px; }
.rt-media-controls select {
  padding: 8px 10px;
  border: 1px solid #d9dedc;
  border-radius: 4px;
  font-size: 13px;
  background: #fff;
  color: var(--rt-ink);
  max-width: 280px;
}
.rt-media-summary { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-wrap: wrap; }
.rt-media-bulk {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 10px 14px;
  background: #fdf3e3;
  border-radius: 5px;
  font-size: 13px;
  color: #6b4b12;
}
.rt-media-thumb { border: 0; padding: 0; width: 100%; display: block; cursor: pointer; }
.rt-media-thumb:focus-visible { outline: 3px solid rgba(188, 79, 41, .45); outline-offset: -3px; }
.rt-media-badge--warn { left: auto; right: 8px; background: #7a5a22; }
.rt-media-usage { font-size: 11.5px; color: #4a5257; line-height: 1.35; }
.rt-media-usage--warn { color: #8a5a12; font-weight: 700; }
.rt-media-tile.is-selected { border-color: var(--rt-orange); box-shadow: 0 0 0 2px rgba(188, 79, 41, .18); }
.rt-media-tile.is-ticked { border-color: var(--rt-teal); box-shadow: 0 0 0 2px rgba(33, 80, 80, .16); }
.rt-media-tick { display: inline-flex; gap: 5px; align-items: center; font-size: 11.5px; color: #4a5257; }
.rt-media-detail-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.rt-media-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 28px;
  margin-top: 16px;
}
.rt-media-detail-preview img,
.rt-media-detail-preview video {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  background: #101824;
  border-radius: 6px;
  display: block;
}
.rt-media-detail-usage h3 { font-size: 15px; color: var(--rt-teal); margin: 0 0 10px; }
.rt-media-usage-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rt-media-usage-list a {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border: 1px solid #e4e8e6;
  border-radius: 5px;
  color: #101824;
  text-decoration: none;
  font-size: 13px;
}
.rt-media-usage-list a:hover { border-color: var(--rt-orange); background: #fdf6f2; }

/* Media picker usage label ---------------------------------------------- */
.rt-media-grid button { position: relative; }
.rt-media-grid-use {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(16, 24, 36, .82);
  color: #fff;
  font-size: 9.5px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.rt-media-grid-use--warn { background: #7a5a22; }

/* Deep links, drafts and history ---------------------------------------- */
.rt-admin-field { scroll-margin-top: 90px; border-radius: 5px; transition: background-color .3s ease, box-shadow .3s ease; }
.rt-admin-field.is-focused { background: #fdf3e3; box-shadow: 0 0 0 3px #f0d9a8; }
.rt-admin-dirty {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #8a5a12;
  background: #fdf3e3;
  padding: 4px 9px;
  border-radius: 999px;
}
.rt-tabs-draft { display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--rt-gold); vertical-align: middle; }
.rt-editor-state { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; text-align: right; }
.rt-btn--dark { background: var(--rt-teal); }
.rt-history { display: inline-block; }
.rt-history-panel {
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid #e4e8e6;
  border-radius: 6px;
  background: #faf8f5;
  max-width: 640px;
}
.rt-history-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rt-history-list li { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 8px 0; border-top: 1px solid #ece7df; }
.rt-history-list strong { display: block; font-size: 13px; color: #101824; }
.rt-history-list .hint { display: block; font-size: 11.5px; }

/* Overview --------------------------------------------------------------- */
.rt-overview-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 22px; }
.rt-stat {
  text-align: left;
  background: #fff;
  border: 1px solid #e9e4dc;
  border-radius: 8px;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 18px 40px -34px rgba(16, 24, 36, .4);
}
.rt-stat:hover { border-color: var(--rt-orange); }
.rt-stat span { font-size: 26px; font-weight: 800; color: var(--rt-teal); letter-spacing: -1px; }
.rt-stat strong { font-size: 13px; color: #101824; }
.rt-stat small { font-size: 12px; color: #6b7679; }
.rt-overview-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rt-overview-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  flex-wrap: wrap;
  padding: 8px 0;
  border-top: 1px solid #ece7df;
  font-size: 13.5px;
}
.rt-overview-list a,
.rt-overview-link {
  color: var(--rt-teal);
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.rt-overview-list a:hover,
.rt-overview-link:hover { color: var(--rt-orange); }
.rt-issue { border: 1px solid #e4e8e6; border-radius: 6px; padding: 12px 14px; margin-bottom: 10px; background: #fbfaf8; }
.rt-issue summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; color: #101824; }
.rt-issue--error { border-left: 4px solid #b3261e; }
.rt-issue--warning { border-left: 4px solid var(--rt-gold); }
.rt-issue--info { border-left: 4px solid #8aa39c; }
.rt-issue-count { background: #eef1ef; border-radius: 999px; padding: 2px 9px; font-size: 11.5px; }
.rt-admin-empty { text-align: center; padding: 26px 10px; }
.rt-admin-roles { margin: 10px 0 14px; padding-left: 18px; font-size: 13.5px; color: #3c4a4d; line-height: 1.6; }

/* Enquiries -------------------------------------------------------------- */
.rt-enquiry-table td select { max-width: 150px; }
.rt-enquiry-table tr.is-open td { background: #faf8f5; }
.rt-enquiry-detail td { background: #faf8f5; }
.rt-enquiry-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; padding: 6px 4px 12px; }
.rt-enquiry-panel h3 { font-size: 14px; color: var(--rt-teal); margin: 0 0 8px; }
.rt-enquiry-message { font-size: 14px; line-height: 1.6; color: #263238; white-space: pre-wrap; margin: 0 0 12px; }
.rt-enquiry-panel textarea { width: 100%; padding: 10px 12px; border: 1px solid #d9dedc; border-radius: 4px; font-size: 13.5px; resize: vertical; }

/* Draft preview banner --------------------------------------------------- */
.rt-preview-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 22px calc(12px + env(safe-area-inset-bottom, 0px));
  background: #101824;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .5);
}
.rt-preview-banner strong { text-transform: uppercase; letter-spacing: 1px; font-size: 11px; color: var(--rt-gold); }
.rt-preview-banner a { color: #fff; text-decoration: underline; }
.rt-preview-banner a:first-of-type { margin-left: auto; }

@media (max-width: 767px) {
  .rt-media-summary { margin-left: 0; }
  .rt-media-detail-body { grid-template-columns: 1fr; }
  .rt-enquiry-panel { grid-template-columns: 1fr; }
  .rt-preview-banner a:first-of-type { margin-left: 0; }
}

/* ==========================================================================
   Admin refinement: scoped to .rt-admin so the website's own styles (tabs,
   buttons, headings) can never leak in.
   ========================================================================== */
.rt-admin { background: #f3f1ec; }
.rt-admin-main { max-width: 1240px; }
.rt-admin-top h1 { font-size: 30px; }

/* Page picker: plain pills, readable in every state. */
.rt-admin .rt-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; border: 0; }
.rt-admin .rt-tabs button {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border: 1px solid #dcdfdc;
  border-radius: 999px;
  background: #fff;
  color: #3c4a4d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.rt-admin .rt-tabs button::after { display: none; }
.rt-admin .rt-tabs button:hover { border-color: var(--rt-teal); color: var(--rt-teal); }
.rt-admin .rt-tabs button.is-active { background: var(--rt-teal); border-color: var(--rt-teal); color: #fff; }

/* Cards and section headings. */
.rt-admin-card { border: 1px solid #e8e4dc; border-radius: 12px; box-shadow: 0 1px 2px rgba(16, 24, 36, .04); padding: 26px 28px 10px; }
.rt-admin-card h2 { font-size: 17px; margin-bottom: 4px; }

/* Pulling the Azoya catalogue into the Home hero's carousel. */
.rt-admin-pull { margin: 10px 0 18px; padding: 14px 16px; border: 1px solid #e8e4dc; border-radius: 10px; background: #faf8f5; }
.rt-admin-pull p.hint { margin: 0 0 10px; }
.rt-admin-pull-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rt-admin-pull-row input {
  flex: 1 1 220px; min-width: 0; padding: 9px 12px; font: inherit; font-size: 14px;
  border: 1px solid #d9d3c8; border-radius: 8px; background: #fff; color: inherit;
}
.rt-admin-pull-row input:focus-visible { outline: 2px solid var(--rt-teal); outline-offset: 1px; }
.rt-admin-pull-row button { flex: 0 0 auto; }
.rt-admin-pull .rt-admin-banner { margin: 12px 0 0; }
.rt-admin-card > h2 + .rt-admin-grid,
.rt-admin-card > h2 + p.hint { margin-top: 14px; }

/* Fields: two roomy columns; long text and lists get the full row. */
.rt-admin-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 4px 22px; }
.rt-admin .rt-field label { font-size: 11.5px; letter-spacing: .9px; color: #5a686b; }
.rt-admin .rt-field input[type="text"],
.rt-admin .rt-field input[type="url"],
.rt-admin .rt-field input[type="number"],
.rt-admin .rt-field textarea,
.rt-admin .rt-field select { padding: 11px 13px; border-color: #dcdfdc; border-radius: 8px; font-size: 14.5px; }
.rt-admin .rt-field textarea { min-height: 96px; line-height: 1.55; }
.rt-admin .rt-admin-field:has(textarea),
.rt-admin .rt-admin-field:has(.rt-repeat-row),
.rt-admin .rt-admin-field:has(> .rt-field > .rt-repeat-row) { grid-column: 1 / -1; }
.rt-admin .rt-repeat-row { border-color: #e8e4dc; border-radius: 10px; padding: 16px 16px 4px; background: #fbfaf7; }
.rt-admin .rt-repeat-remove { top: 10px; right: 10px; border-radius: 6px; }

/* Buttons. */
.rt-admin .rt-btn { border-radius: 8px; }
.rt-admin .rt-btn--ghost { background: #fff; }

/* Save bar stays in reach on long pages. */
.rt-admin-main .rt-admin-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin: 0 -4px;
  padding: 14px 4px;
  background: linear-gradient(to top, #f3f1ec 70%, rgba(243, 241, 236, 0));
}
.rt-admin .rt-admin-side-foot .rt-btn--ghost { background: transparent; }
.rt-admin .rt-editor-state { font-size: 13px; color: #5a686b; }
/* Anything without its own size reads as admin body text, not website text. */
.rt-admin-main { font-size: 14px; line-height: 1.55; letter-spacing: .1px; }
.rt-admin-main select:not(.rt-field select) { padding: 7px 30px 7px 10px; border: 1px solid #dcdfdc; border-radius: 8px; background-color: #fff; font-size: 13px; color: var(--rt-ink); }

/* Admin → Sections: one row per section with a show/hide switch. */
.rt-sections-list { list-style: none; margin: 0 0 16px; padding: 0; }
.rt-sections-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #eee9e1; font-weight: 600; color: var(--rt-ink); }
.rt-sections-list li.is-hidden > span:first-child { color: #9aa3a5; text-decoration: line-through; }
.rt-switch { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; }
.rt-switch-knob { position: relative; width: 42px; height: 24px; border-radius: 999px; background: var(--rt-teal); transition: background-color .2s ease; }
.rt-switch-knob::after { content: ""; position: absolute; top: 3px; left: 21px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .2s ease; }
.rt-switch[aria-checked="false"] .rt-switch-knob { background: #c9cfcd; }
.rt-switch[aria-checked="false"] .rt-switch-knob::after { left: 3px; }
.rt-switch-text { min-width: 58px; font-size: 12.5px; font-weight: 700; color: #5a686b; text-align: left; }

@media (max-width: 767px) {
  .rt-settings-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt-settings-tabs button { padding: 10px 8px; }
}
