:root {
  --ri-blue: #0a45ff;
  --ri-blue-dark: #0935c8;
  --ri-dark: #06070b;
  --ri-ink: #111827;
  --ri-muted: #5d6472;
  --ri-line: rgba(17, 24, 39, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Rubik", Arial, sans-serif;
}

.rhode-logo {
  color: var(--ri-ink);
  display: inline-flex;
  flex-direction: column;
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
  max-width: 205px;
  text-transform: uppercase;
}

footer .rhode-logo {
  color: #fff;
  margin-bottom: 18px;
}

.rhode-logo strong {
  color: var(--ri-blue);
  font-size: 15px;
  font-weight: 800;
}

.rhode-page-shell {
  background: #fff;
}

.rhode-subhero {
  align-items: center;
  background-position: center;
  background-size: cover;
  display: flex;
  min-height: 590px;
  padding: 130px 24px 110px;
  position: relative;
  text-align: center;
}

.rhode-subhero-inner {
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.rhode-subhero p {
  color: #fff;
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.rhode-subhero h1 {
  color: #fff;
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: clamp(54px, 6.8vw, 92px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 auto;
  max-width: 1050px;
  text-transform: uppercase;
}

.rhode-page-section {
  padding: 84px 24px;
}

.rhode-page-section.rhode-soft {
  background: #f5f7fb;
}

.rhode-page-section.rhode-dark {
  background: var(--ri-dark);
  color: #fff;
}

.rhode-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.rhode-kicker {
  color: var(--ri-blue);
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.rhode-title {
  color: var(--ri-ink);
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: clamp(38px, 5vw, 82px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 0 24px;
  max-width: 950px;
  text-transform: uppercase;
}

.rhode-dark .rhode-title,
.rhode-dark h2,
.rhode-dark h3,
.rhode-dark p,
.rhode-dark li {
  color: #fff;
}

.rhode-lede {
  color: var(--ri-muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
  max-width: 820px;
}

.rhode-dark .rhode-lede {
  color: rgba(255, 255, 255, 0.78);
}

.rhode-content {
  color: var(--ri-ink);
  font-size: 18px;
  line-height: 1.72;
  max-width: 960px;
}

.rhode-content h2,
.rhode-content h3 {
  color: var(--ri-ink);
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 42px 0 16px;
  text-transform: uppercase;
}

.rhode-content h2 {
  font-size: clamp(30px, 4vw, 54px);
}

.rhode-content h3 {
  font-size: clamp(23px, 3vw, 34px);
}

.rhode-content p {
  margin: 0 0 20px;
}

.rhode-content ul {
  margin: 18px 0 28px;
  padding-left: 22px;
}

.rhode-content a {
  color: var(--ri-blue-dark);
  font-weight: 700;
  text-decoration: none;
}

.rhode-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.rhode-grid.rhode-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rhode-card {
  background: #fff;
  border: 1px solid var(--ri-line);
  color: var(--ri-ink);
  display: flex;
  flex-direction: column;
  min-height: 252px;
  padding: 28px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rhode-card:hover,
.rhode-card:focus-visible {
  border-color: rgba(10, 69, 255, 0.48);
  box-shadow: 0 22px 55px rgba(10, 18, 32, 0.14);
  outline: none;
  transform: translateY(-4px);
}

.rhode-card h3 {
  color: var(--ri-ink);
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.rhode-card p {
  color: var(--ri-muted);
  font-size: 16px;
  line-height: 1.62;
  margin: 0 0 24px;
}

.rhode-card span {
  color: var(--ri-blue);
  display: block;
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  margin-top: auto;
  text-transform: uppercase;
}

.rhode-detail-links {
  border-top: 1px solid var(--ri-line);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 46px;
  padding-top: 28px;
}

.rhode-detail-links a {
  background: #f5f7fb;
  color: var(--ri-ink);
  display: block;
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-weight: 800;
  padding: 18px 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.rhode-detail-links a:hover,
.rhode-detail-links a:focus-visible {
  background: var(--ri-blue);
  color: #fff;
}

.rhode-contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 42px;
}

.rhode-contact-panel {
  background: #fff;
  border: 1px solid var(--ri-line);
  padding: 32px;
}

.rhode-contact-panel h3 {
  color: var(--ri-ink);
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.rhode-contact-row {
  border-top: 1px solid var(--ri-line);
  padding: 20px 0;
}

.rhode-contact-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.rhode-contact-row span {
  color: var(--ri-blue);
  display: block;
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.rhode-contact-row a,
.rhode-contact-row p {
  color: var(--ri-ink);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  text-decoration: none;
}

.rhode-form {
  display: grid;
  gap: 16px;
}

.rhode-form input,
.rhode-form textarea {
  background: #f5f7fb;
  border: 1px solid transparent;
  color: var(--ri-ink);
  font: inherit;
  padding: 16px;
  width: 100%;
}

.rhode-form textarea {
  min-height: 142px;
  resize: vertical;
}

.rhode-button {
  align-items: center;
  background: var(--ri-blue);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-weight: 800;
  justify-content: center;
  padding: 17px 24px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.rhode-button:hover,
.rhode-button:focus-visible {
  background: var(--ri-blue-dark);
  outline: none;
  transform: translateY(-2px);
}

.rhode-steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 38px;
}

.rhode-step {
  border-left: 3px solid var(--ri-blue);
  padding: 0 18px;
}

.rhode-step strong {
  color: var(--ri-ink);
  display: block;
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.rhode-step p {
  color: var(--ri-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

header .cmx-nav-menu a,
footer a {
  cursor: pointer;
}

.cmx-widget-image .rhode-logo {
  min-height: 48px;
}

.rhode-hidden-source,
.rhode-hidden-source * {
  display: none !important;
}

@media (max-width: 1024px) {
  .rhode-grid,
  .rhode-grid.rhode-grid-compact,
  .rhode-contact-grid,
  .rhode-detail-links,
  .rhode-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .cmx-widget-nav-menu .cmx-nav-menu--dropdown {
    left: auto !important;
    min-width: 214px;
    right: 0 !important;
    width: 214px;
  }

  .cmx-widget-nav-menu .cmx-nav-menu--dropdown a {
    overflow-wrap: normal;
    white-space: nowrap;
  }

  .rhode-subhero {
    min-height: 420px;
    padding: 115px 18px 74px;
  }

  .rhode-subhero h1 {
    font-size: 42px;
  }

  .rhode-page-section {
    padding: 58px 18px;
  }

  .rhode-title {
    font-size: 42px;
  }

  .rhode-grid,
  .rhode-grid.rhode-grid-compact,
  .rhode-contact-grid,
  .rhode-detail-links,
  .rhode-steps {
    grid-template-columns: 1fr;
  }

  .rhode-card {
    min-height: 0;
  }

  .rhode-logo {
    font-size: 13px;
    max-width: 170px;
  }
}

/* ============================================================
   Mobile optimization + functional hamburger drawer
   (added in the form+mobile pass; theme preserved)
   ============================================================ */

/* --- Overflow + media safety net (all viewports) --- */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
iframe,
video {
  height: auto;
  max-width: 100%;
}

svg {
  max-width: 100%;
}

/* keep nav/toggle/close icons crisp regardless of the global svg rule */
.cmx-menu-toggle svg,
.ri-drawer-close svg {
  height: auto;
  width: 1em;
}

table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

pre {
  max-width: 100%;
  overflow-x: auto;
}

/* iframes (e.g. embedded maps) shouldn't blow out the layout */
iframe {
  width: 100%;
}

/* --- Overlay behind the drawer --- */
.ri-menu-overlay {
  background: rgba(6, 7, 11, 0.55);
  inset: 0;
  opacity: 0;
  position: fixed;
  transition: opacity 220ms ease;
  visibility: hidden;
  z-index: 99998;
}

.ri-menu-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.ri-menu-overlay[hidden] {
  display: none;
}

/* --- Body scroll-lock when the drawer is open --- */
html.ri-menu-open,
html.ri-menu-open body {
  overflow: hidden;
}

/* --- Close (X) button injected into the drawer --- */
.ri-drawer-close {
  align-items: center;
  background: #f5f7fb;
  border: 0;
  border-radius: 0;
  color: var(--ri-ink);
  cursor: pointer;
  display: none; /* only shown inside the mobile drawer */
  height: 46px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 14px;
  top: 14px;
  transition: background 160ms ease, color 160ms ease;
  width: 46px;
  z-index: 2;
}

.ri-drawer-close:hover,
.ri-drawer-close:focus-visible {
  background: var(--ri-blue);
  color: #fff;
  outline: none;
}

.ri-drawer-close svg {
  display: block;
  height: 22px;
  width: 22px;
}

/* --- Hamburger drawer (burger shows at <=1024px on this theme) --- */
@media (max-width: 1024px) {
  /* Make the toggle an easy 44px+ tap target */
  .cmx-menu-toggle {
    align-items: center;
    display: flex !important;
    justify-content: center;
    min-height: 46px;
    min-width: 46px;
  }

  .cmx-menu-toggle svg {
    font-size: 26px;
  }

  /* Turn the cmx dropdown into a real on-theme side drawer */
  .cmx-widget-nav-menu .cmx-nav-menu--dropdown {
    background: #fff !important;
    bottom: 0;
    box-shadow: -18px 0 60px rgba(6, 7, 11, 0.28);
    display: block !important;
    left: auto !important;
    margin: 0 !important;
    max-height: 100% !important;
    max-width: 88vw;
    overflow-y: auto !important;
    padding: 74px 22px 32px;
    position: fixed !important;
    right: 0 !important;
    top: 0;
    transform: translateX(105%);
    transition: transform 280ms ease;
    visibility: hidden;
    width: 320px !important;
    z-index: 99999;
  }

  .cmx-widget-nav-menu .cmx-nav-menu--dropdown.cmx-active {
    transform: translateX(0);
    visibility: visible;
  }

  .cmx-widget-nav-menu .cmx-nav-menu--dropdown .ri-drawer-close {
    display: inline-flex;
  }

  /* Drawer menu list + items: spaced, readable, >=44px tap targets */
  .cmx-widget-nav-menu .cmx-nav-menu--dropdown ul.cmx-nav-menu {
    display: block;
    margin: 0;
    padding: 0;
  }

  .cmx-widget-nav-menu .cmx-nav-menu--dropdown li.menu-item {
    border-bottom: 1px solid var(--ri-line);
    display: block;
    width: 100%;
  }

  .cmx-widget-nav-menu .cmx-nav-menu--dropdown a.cmx-item {
    align-items: center;
    color: var(--ri-ink) !important;
    display: flex;
    font-family: "Rubik", "Inter", Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0;
    min-height: 52px;
    overflow-wrap: normal;
    padding: 14px 6px;
    text-transform: uppercase;
    white-space: normal;
  }

  .cmx-widget-nav-menu .cmx-nav-menu--dropdown a.cmx-item:hover,
  .cmx-widget-nav-menu .cmx-nav-menu--dropdown a.cmx-item:focus-visible {
    color: var(--ri-blue) !important;
  }

  /* Phone CTA item stands out */
  .cmx-widget-nav-menu .cmx-nav-menu--dropdown a.ri-drawer-call-link {
    background: var(--ri-blue);
    color: #fff !important;
    justify-content: center;
    margin-top: 18px;
    padding: 16px 18px;
  }

  .cmx-widget-nav-menu
    .cmx-nav-menu--dropdown
    li.ri-drawer-call {
    border-bottom: 0;
  }
}

/* --- General mobile readability + tap targets --- */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .rhode-lede,
  .rhode-content,
  .rhode-content p {
    font-size: 16px;
  }

  /* Comfortable tap targets for buttons + form controls */
  .rhode-button,
  .cmx-button {
    min-height: 48px;
  }

  .rhode-form input,
  .rhode-form select,
  .rhode-form textarea {
    font-size: 16px; /* prevents iOS zoom-on-focus */
    min-height: 48px;
  }

  .rhode-form textarea {
    min-height: 132px;
  }

  /* Single-column contact + comfortable section padding */
  .rhode-contact-grid {
    gap: 22px;
  }

  .rhode-contact-panel {
    padding: 24px 20px;
  }
}

/* ============================================================
   Rhode Island refresh
   ============================================================ */
:root {
  --ri-blue: #176d62;
  --ri-blue-dark: #0d4c45;
  --ri-dark: #081f1d;
  --ri-ink: #12231f;
  --ri-muted: #5e6b63;
  --ri-line: rgba(18, 35, 31, 0.14);
  --ri-cream: #f4efe4;
  --ri-mist: #e8f0ec;
  --ri-accent: #c5a253;
}

body {
  background: #fff;
  color: var(--ri-ink);
}

a {
  color: inherit;
}

.rhode-logo strong,
.rhode-kicker,
.rhode-card span,
.rhode-contact-row span {
  color: var(--ri-blue);
}

.cmx-button,
.rhode-button {
  border-radius: 0 !important;
}

.cmx-button,
.rhode-button,
.cmx-button:visited {
  background: var(--ri-blue) !important;
  color: #fff !important;
}

.rhode-button:hover,
.cmx-button:hover {
  background: var(--ri-blue-dark) !important;
}

.ri-home-main {
  background: #fff;
  overflow: hidden;
}

.ri-home-hero {
  background-position: center;
  background-size: cover;
  color: #fff;
  min-height: 92vh;
  padding: 150px 24px 92px;
  position: relative;
}

.ri-home-hero::after {
  background: linear-gradient(180deg, rgba(8, 31, 29, 0), rgba(8, 31, 29, 0.64));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.ri-home-hero-grid {
  align-items: center;
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.74fr);
  margin: 0 auto;
  max-width: 1220px;
  min-height: calc(92vh - 240px);
  position: relative;
  z-index: 2;
}

.ri-home-hero-copy h1 {
  color: #fff;
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0 0 24px;
  max-width: 900px;
  text-transform: uppercase;
}

.ri-home-hero-copy p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.65;
  margin: 0;
  max-width: 710px;
}

.ri-eyebrow {
  color: var(--ri-accent) !important;
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: 14px !important;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 18px !important;
  text-transform: uppercase;
}

.ri-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ri-button-light {
  background: #fff !important;
  color: var(--ri-dark) !important;
}

.ri-button-light:hover {
  background: var(--ri-accent) !important;
  color: var(--ri-dark) !important;
}

.ri-hero-form-card {
  backdrop-filter: blur(18px);
  background: rgba(244, 239, 228, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.44);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  color: var(--ri-ink);
  padding: 30px;
}

.ri-hero-form-card > span,
.ri-side-box > span {
  color: var(--ri-blue);
  display: block;
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ri-hero-form-card h2,
.ri-contact-form-panel h2,
.ri-contact-info-panel h2 {
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: 31px;
  font-weight: 900;
  line-height: 1.02;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.rhode-form {
  position: relative;
}

.rhode-form label {
  color: var(--ri-muted);
  display: grid;
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rhode-form input,
.rhode-form textarea,
.rhode-form select {
  appearance: none;
  background: #fff;
  border: 1px solid rgba(18, 35, 31, 0.14);
  border-radius: 0;
  color: var(--ri-ink);
  font: 600 16px/1.4 "Inter", Arial, sans-serif;
  min-height: 50px;
  outline: none;
  padding: 14px 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.rhode-form select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ri-blue-dark) 50%),
    linear-gradient(135deg, var(--ri-blue-dark) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  padding-right: 44px;
}

.rhode-form input:focus,
.rhode-form textarea:focus,
.rhode-form select:focus {
  border-color: var(--ri-blue);
  box-shadow: 0 0 0 4px rgba(23, 109, 98, 0.14);
}

.ri-hero-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ri-hero-form .ri-field-full,
.ri-hero-form button {
  grid-column: 1 / -1;
}

.ri-hero-motion {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.ri-hero-motion span {
  animation: ri-drift 9s linear infinite;
  background: rgba(197, 162, 83, 0.28);
  height: 2px;
  left: -20%;
  position: absolute;
  transform: rotate(-20deg);
  width: 55%;
}

.ri-hero-motion span:nth-child(1) {
  top: 18%;
}

.ri-hero-motion span:nth-child(2) {
  animation-delay: -2s;
  top: 38%;
}

.ri-hero-motion span:nth-child(3) {
  animation-delay: -4s;
  top: 58%;
}

.ri-hero-motion span:nth-child(4) {
  animation-delay: -6s;
  top: 76%;
}

@keyframes ri-drift {
  from {
    opacity: 0;
    transform: translateX(-10%) rotate(-20deg);
  }
  18% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateX(250%) rotate(-20deg);
  }
}

.ri-plan-section,
.ri-systems-section,
.ri-final-cta,
.ri-taxonomy-bands,
.ri-carousel-section {
  padding: 96px 24px;
}

.ri-plan-section {
  align-items: center;
  background: var(--ri-cream);
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.ri-plan-copy,
.ri-section-head,
.ri-systems-section,
.ri-final-cta,
.ri-taxonomy-bands {
  margin-left: auto;
  margin-right: auto;
  max-width: 1220px;
  width: 100%;
}

.ri-plan-copy h2,
.ri-section-head h2,
.ri-systems-copy h2,
.ri-final-cta h2,
.ri-taxonomy-card h2 {
  color: var(--ri-ink);
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: clamp(38px, 5.2vw, 78px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.ri-pop-copy {
  background: var(--ri-dark);
  color: #fff;
  font-size: 19px;
  line-height: 1.75;
  margin: 0 0 24px;
  padding: 26px;
}

.ri-text-link {
  border-bottom: 2px solid var(--ri-accent);
  color: var(--ri-dark);
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.ri-plan-images {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ri-plan-images img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.ri-plan-images img:nth-child(2) {
  margin-top: 52px;
}

.ri-section-dark {
  background: var(--ri-dark);
  color: #fff;
}

.ri-section-dark .rhode-kicker,
.ri-section-dark h2,
.ri-section-dark p {
  color: #fff;
}

.ri-section-head {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 34px;
}

.ri-section-head p {
  color: var(--ri-muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  max-width: 770px;
}

.ri-section-dark .ri-section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.ri-carousel {
  display: grid;
  gap: 16px;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  margin: 0 auto;
  max-width: 1240px;
  width: 100%;
}

.ri-carousel-viewport {
  overflow: hidden;
  padding: 18px 4px 28px;
  scroll-behavior: smooth;
}

.ri-carousel-track {
  display: flex;
  gap: 24px;
}

.ri-carousel-card {
  background: #fff;
  border: 1px solid var(--ri-line);
  color: var(--ri-ink);
  flex: 0 0 calc((100% - 48px) / 3);
  min-height: 420px;
  opacity: 0.78;
  overflow: hidden;
  scroll-snap-align: center;
  text-decoration: none;
  transform: scale(0.94);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ri-section-dark .ri-carousel-card {
  background: #f9f5ed;
}

.ri-carousel-card.is-active {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  opacity: 1;
  transform: scale(1.02);
}

.ri-carousel-card img {
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  width: 100%;
}

.ri-carousel-card span {
  color: var(--ri-ink);
  display: block;
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.05;
  padding: 24px 24px 8px;
  text-transform: uppercase;
}

.ri-carousel-card p {
  color: var(--ri-muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  padding: 0 24px 26px;
}

.ri-carousel-arrow {
  align-self: center;
  background: var(--ri-accent);
  border: 0;
  color: var(--ri-dark);
  cursor: pointer;
  font-size: 34px;
  font-weight: 900;
  height: 54px;
  line-height: 1;
  transition: background 160ms ease, transform 160ms ease;
  width: 54px;
}

.ri-carousel-arrow:hover,
.ri-carousel-arrow:focus-visible {
  background: #fff;
  outline: none;
  transform: translateY(-2px);
}

.ri-taxonomy-bands {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ri-taxonomy-card {
  background: var(--ri-mist);
  border-left: 6px solid var(--ri-blue);
  min-height: 310px;
  padding: 30px;
}

.ri-taxonomy-card p {
  color: var(--ri-blue-dark);
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-weight: 900;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.ri-taxonomy-card h2 {
  font-size: clamp(28px, 3vw, 44px);
}

.ri-inline-links {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.ri-inline-links a,
.ri-systems-list a,
.ri-related-grid a {
  color: var(--ri-ink);
  text-decoration: none;
}

.ri-inline-links a {
  border-top: 1px solid rgba(18, 35, 31, 0.18);
  font-weight: 900;
  padding-top: 10px;
}

.ri-systems-section {
  align-items: center;
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.ri-systems-image img,
.ri-final-cta img {
  display: block;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  width: 100%;
}

.ri-systems-copy p,
.ri-final-cta p {
  color: var(--ri-muted);
  font-size: 18px;
  line-height: 1.72;
}

.ri-systems-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.ri-systems-list a {
  background: var(--ri-cream);
  border-left: 4px solid var(--ri-accent);
  display: grid;
  gap: 5px;
  padding: 18px 20px;
}

.ri-systems-list strong {
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.ri-systems-list span {
  color: var(--ri-muted);
}

.ri-final-cta {
  align-items: stretch;
  background: var(--ri-dark);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  padding-left: 0;
  padding-right: 0;
}

.ri-final-cta > div {
  padding: 66px;
}

.ri-final-cta .rhode-kicker,
.ri-final-cta h2,
.ri-final-cta p {
  color: #fff;
}

.ri-page-main {
  background: #fff;
}

.ri-subhero-polished {
  min-height: 520px;
  text-align: left;
}

.ri-subhero-polished .rhode-subhero-inner {
  max-width: 1220px;
}

.ri-subhero-polished h1 {
  margin-left: 0;
  max-width: 980px;
}

.ri-hero-lede {
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.65;
  margin-top: 18px;
  max-width: 760px;
}

.ri-breadcrumbs {
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  margin: 0 0 22px;
  padding: 10px 14px;
}

.ri-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ri-breadcrumbs a,
.ri-breadcrumbs span {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.ri-breadcrumbs li + li::before {
  color: rgba(255, 255, 255, 0.72);
  content: "/";
  margin-right: 10px;
}

.ri-index-section {
  background: var(--ri-cream);
}

.ri-index-grid {
  align-items: stretch;
}

.ri-index-card {
  min-height: 250px;
}

.ri-index-card h3 {
  font-size: 23px;
  overflow-wrap: anywhere;
}

.ri-detail-section {
  background: var(--ri-cream);
}

.ri-detail-layout {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.ri-detail-body {
  background: #fff;
  border: 1px solid var(--ri-line);
  max-width: none;
  padding: clamp(28px, 4vw, 56px);
}

.ri-detail-body h2:first-child,
.ri-detail-body h3:first-child {
  margin-top: 0;
}

.ri-detail-body li {
  margin-bottom: 10px;
}

.ri-detail-side {
  position: sticky;
  top: 28px;
}

.ri-side-box {
  background: var(--ri-dark);
  color: #fff;
  padding: 26px;
}

.ri-side-box h2 {
  color: #fff;
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.ri-side-box p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.62;
  margin: 0 0 20px;
}

.ri-side-phone {
  color: #fff;
  display: inline-block;
  font-weight: 900;
  margin-top: 16px;
  text-decoration: none;
}

.ri-related {
  margin-top: 54px;
}

.ri-related-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ri-related-grid a {
  background: #fff;
  border: 1px solid var(--ri-line);
  display: grid;
  gap: 12px;
  min-height: 128px;
  padding: 18px;
}

.ri-related-grid strong {
  font-family: "Rubik", "Inter", Arial, sans-serif;
  line-height: 1.16;
  text-transform: uppercase;
}

.ri-related-grid span {
  color: var(--ri-blue);
  font-weight: 900;
  margin-top: auto;
}

.ri-contact-section {
  background: var(--ri-cream);
}

.ri-contact-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
}

.ri-contact-form-panel,
.ri-contact-info-panel {
  border: 0;
  box-shadow: 0 20px 60px rgba(18, 35, 31, 0.1);
}

.ri-contact-map {
  margin-top: 20px;
}

.ri-contact-map iframe,
.ri-footer-map iframe {
  border: 0;
  display: block;
  min-height: 240px;
  width: 100%;
}

.ri-footer {
  background: var(--ri-dark);
  color: #fff;
  padding: 72px 24px 28px;
}

.ri-footer,
.ri-footer * {
  color: #fff;
}

.ri-footer-inner {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  margin: 0 auto;
  max-width: 1220px;
}

.ri-footer-brand p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.62;
  margin: 0 0 24px;
  max-width: 520px;
}

.ri-footer .rhode-logo {
  text-decoration: none;
}

.ri-footer .rhode-logo strong {
  color: var(--ri-accent);
}

.ri-footer-links {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ri-footer-links h3 {
  color: var(--ri-accent);
  font-family: "Rubik", "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.ri-footer-links a {
  color: rgba(255, 255, 255, 0.84);
  display: block;
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 11px;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.ri-footer-links a:hover,
.ri-footer-links a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.ri-footer-email {
  font-size: 14px !important;
}

.ri-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin: 42px auto 0;
  max-width: 1220px;
  padding-top: 22px;
}

.ri-footer-bottom span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .ri-home-hero-grid,
  .ri-plan-section,
  .ri-systems-section,
  .ri-final-cta,
  .ri-contact-layout,
  .ri-footer-inner {
    grid-template-columns: 1fr;
  }

  .ri-home-hero {
    min-height: 0;
  }

  .ri-taxonomy-bands,
  .ri-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .ri-detail-layout {
    grid-template-columns: 1fr;
  }

  .ri-detail-side {
    position: static;
  }
}

@media (max-width: 767px) {
  .ri-home-hero {
    padding: 118px 18px 62px;
  }

  .ri-home-hero-grid {
    gap: 28px;
    min-height: 0;
  }

  .ri-home-hero-copy h1 {
    font-size: clamp(42px, 14vw, 60px);
  }

  .ri-home-hero-copy p,
  .ri-section-head p,
  .ri-systems-copy p,
  .ri-final-cta p {
    font-size: 16px;
  }

  .ri-hero-form {
    grid-template-columns: 1fr;
  }

  .ri-plan-section,
  .ri-systems-section,
  .ri-final-cta,
  .ri-taxonomy-bands,
  .ri-carousel-section {
    padding: 62px 18px;
  }

  .ri-plan-images,
  .ri-taxonomy-bands,
  .ri-footer-links,
  .ri-related-grid {
    grid-template-columns: 1fr;
  }

  .ri-plan-images img:nth-child(2) {
    margin-top: 0;
  }

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

  .ri-carousel {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }

  .ri-carousel-card {
    flex-basis: 100%;
    min-height: 0;
  }

  .ri-carousel-arrow {
    font-size: 27px;
    height: 42px;
    width: 42px;
  }

  .ri-systems-image img,
  .ri-final-cta img {
    min-height: 280px;
  }

  .ri-final-cta > div {
    padding: 34px 0;
  }

  .ri-subhero-polished {
    min-height: 430px;
    padding-bottom: 70px;
  }

  .ri-detail-body {
    padding: 24px 20px;
  }

  .ri-contact-layout {
    grid-template-columns: 1fr;
  }

  .ri-footer {
    padding: 56px 18px 24px;
  }

  .cmx-widget-nav-menu .cmx-nav-menu--dropdown {
    max-width: 92vw !important;
    width: 340px !important;
  }
}
