/* ==========================================================================
   Ridgewood Mechanical — page layer.
   Sits on top of the Modernist tokens and components in styles.css. Colors,
   fonts and radii come from those tokens; the sizes reproduce the approved
   mockup (ridgewood-mechanical-website-redesign/project/Ridgewood Mechanical.dc.html).
   ========================================================================== */

:root {
  --color-text-soft: #3f3c3b; /* body-copy tone used throughout the mockup */
  /* Ridgewood orange — copied from the CTA band on the previous site
     (--brand-primary / --brand-secondary there). Used for the poster close. */
  --rm-brand: #d97706;
  --rm-brand-dark: #ae5f05;
  --rm-wrap: 1240px;
  --rm-gutter: 28px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-700); }
h1, h2, h3, h4 { margin: 0; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

.rm-page { min-height: 100vh; display: flex; flex-direction: column; }
.rm-page > main { flex: 1; }
.rm-wrap { max-width: var(--rm-wrap); margin: 0 auto; padding: 0 var(--rm-gutter); }
.rm-sec { border-bottom: 2px solid var(--color-divider); }

.rm-kick {
  font: 800 10px/1 var(--font-heading);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--color-accent-700);
}
.rm-lab {
  font: 800 9.5px/1 var(--font-heading);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-neutral-700);
}
.rm-ph {
  display: grid; place-content: center; gap: 4px;
  background: repeating-linear-gradient(45deg, var(--color-neutral-300) 0 10px, #cbc7c7 10px 20px);
  color: var(--color-neutral-700);
  font: 800 9.5px/1.5 var(--font-heading);
  letter-spacing: .12em; text-transform: uppercase; text-align: center;
  padding: 10px;
}
.rm-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-xl { font-size: 18px; padding: 15px 20px; }
.btn-lg { font-size: 16px; padding: 14px 20px; }
.btn-md { font-size: 15.5px; padding: 13px 18px; }
.btn-sm { font-size: 13px; }
.rm-wrap--flush { padding: 0; }

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 100;
  padding: 10px 14px; background: var(--color-neutral-900); color: var(--color-bg);
  font: 800 12px/1 var(--font-heading);
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.rm-topbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 9px var(--rm-gutter);
  background: var(--color-neutral-900); color: var(--color-bg);
  font: 800 11px/1.3 var(--font-heading);
  letter-spacing: .1em; text-transform: uppercase;
}
.rm-topbar__dot { width: 7px; height: 7px; background: var(--color-accent); border-radius: 50%; flex: none; }
.rm-topbar__phone { margin-left: auto; color: var(--color-bg); letter-spacing: .02em; font-size: 14px; }
.rm-topbar__phone:hover { color: var(--color-accent-400); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.rm-header { background: var(--color-bg); position: sticky; top: 0; z-index: 20; }
.rm-header__inner {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  padding-top: 14px; padding-bottom: 14px;
}
.rm-brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.rm-brand:hover { color: inherit; }
.rm-brand img { height: 36px; width: auto; }
.rm-brand__name { font: 800 15px/1.05 var(--font-heading); letter-spacing: -.01em; }
.rm-brand__name small { display: block; font-weight: 400; font-size: 10.5px; letter-spacing: .14em; }
.rm-nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.rm-nav a {
  color: inherit; font-size: 13.5px; letter-spacing: .01em;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.rm-nav a:hover, .rm-nav a[aria-current="page"] { color: var(--color-accent); border-color: var(--color-accent); }
.rm-header .btn-primary { font-size: 13.5px; padding: 11px 16px; }
.rm-nav-toggle { display: none; }
.rm-nav-toggle svg { width: 20px; height: 20px; }
.rm-nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.rm-nav-toggle[aria-expanded="false"] .i-close { display: none; }

@media (max-width: 899px) {
  .rm-header__inner { gap: 12px; }
  .rm-header .btn-primary { margin-left: auto; order: 2; }
  .rm-nav-toggle { display: inline-flex; order: 3; }
  .rm-nav {
    display: none; order: 4; flex-basis: 100%; flex-direction: column; gap: 0;
    margin-left: 0; margin-top: 4px; border-top: 1px solid var(--color-divider);
  }
  .rm-nav.is-open { display: flex; }
  .rm-nav a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--color-divider); }
  .rm-nav a:hover, .rm-nav a[aria-current="page"] { border-color: var(--color-divider); }
}
@media (max-width: 480px) {
  .rm-header .btn-primary { font-size: 12.5px; padding: 10px 12px; }
}

/* --------------------------------------------------------------------------
   Home — hero (1a Ruled Ledger)
   -------------------------------------------------------------------------- */
.rm-hero__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 0; }
.rm-hero__copy { padding: 56px 40px 48px 0; border-right: 2px solid var(--color-divider); }
.rm-hero__copy .rm-kick { margin-bottom: 22px; }
.rm-hero h1 {
  font-size: clamp(38px, 5.2vw, 68px); line-height: .95; letter-spacing: -.03em;
  max-width: 15ch; text-transform: uppercase;
}
.rm-hero__lede { font-size: 17px; line-height: 1.5; max-width: 48ch; margin: 22px 0 26px; }
.rm-hero__side { display: flex; flex-direction: column; }
.rm-stat { padding: 22px 0 22px 26px; border-bottom: 1px solid var(--color-divider); }
.rm-stat__num { font: 800 34px/1 var(--font-heading); }
.rm-stat__label { font: 400 12.5px/1.4 var(--font-body); color: var(--color-neutral-700); }
.rm-hero__photo { flex: 1; min-height: 140px; margin-left: 26px; position: relative; overflow: hidden; }
.rm-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 899px) {
  .rm-hero__grid { grid-template-columns: 1fr; }
  .rm-hero__copy { padding: 40px 0 32px; border-right: 0; border-bottom: 2px solid var(--color-divider); }
  .rm-stat { padding-left: 0; }
  .rm-hero__photo { margin-left: 0; margin-top: 16px; min-height: 220px; margin-bottom: 24px; }
}

/* --------------------------------------------------------------------------
   Home — trusted-by strip
   -------------------------------------------------------------------------- */
.rm-trusted { background: var(--color-neutral-200); }
.rm-trusted__inner { display: flex; align-items: center; gap: 26px; padding-top: 16px; padding-bottom: 16px; }
.rm-trusted__inner .rm-lab { flex: none; }

/* Logos in full colour, scrolling right-to-left. The track holds two identical
   groups; translating it by -50% (one group) loops seamlessly. Keeps moving
   under the mouse (client's request); stops only for reduced-motion users. */
.rm-marquee {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
}
.rm-marquee__track { display: flex; width: max-content; animation: rm-marquee 34s linear infinite; will-change: transform; }
.rm-marquee__group { display: flex; align-items: center; gap: 64px; padding-right: 64px; flex: none; }
.rm-marquee__group img {
  display: block; height: 40px; width: auto; max-width: 210px; object-fit: contain;
  mix-blend-mode: multiply; /* hides the white boxes on JPG logos */
}
.rm-marquee__group img.h-20 { height: 32px; }
@keyframes rm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 599px) {
  .rm-trusted__inner { flex-wrap: wrap; gap: 12px; }
  .rm-marquee { flex-basis: 100%; }
  .rm-marquee__group { gap: 40px; padding-right: 40px; }
  .rm-marquee__group img { height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .rm-marquee { -webkit-mask-image: none; mask-image: none; }
  .rm-marquee__track { animation: none; width: auto; }
  .rm-marquee__group { flex-wrap: wrap; gap: 28px 40px; padding-right: 0; }
  .rm-marquee__group[aria-hidden="true"] { display: none; }
}

/* --------------------------------------------------------------------------
   Home — services table
   -------------------------------------------------------------------------- */
.rm-home-services { padding-top: 44px; padding-bottom: 46px; }
.rm-h2-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.rm-h2-row h2 { font-size: 32px; letter-spacing: -.02em; }
.rm-h2-row span { font: 400 12.5px/1.4 var(--font-body); color: var(--color-neutral-700); }
.rm-table-scroll { overflow-x: auto; }
.rm-home-services .table { font-size: 15px; min-width: 640px; }
.rm-home-services .table th.w-num { width: 46px; }
.rm-home-services .table th.w-resp { width: 120px; }
.rm-home-services .table th.w-act { width: 96px; }
.rm-home-services .table td.num, .rm-home-services .table td.covers { color: var(--color-neutral-700); }
.rm-home-services .table td.name { font-weight: 800; }
.rm-home-services .table .btn-ghost { font-size: 13px; }

/* --------------------------------------------------------------------------
   Rows of cells (features, testimonials, about stats)
   -------------------------------------------------------------------------- */
.rm-row { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rm-cell { padding: 26px 22px; border-right: 1px solid var(--color-divider); }
.rm-cell:last-child { border-right: 0; }
.rm-cell h3, .rm-cell h4 { font-size: 17px; margin-bottom: 6px; }
.rm-cell p { font-size: 13.5px; color: var(--color-neutral-700); margin: 0; }
.rm-cell blockquote { margin: 0; }
.rm-cell blockquote p { font-size: 15px; line-height: 1.5; color: var(--color-text); margin: 0 0 var(--space-3); }
.rm-cell blockquote footer { font: 800 12px/1 var(--font-heading); }
.rm-cell .rm-stat__num { margin-bottom: 2px; }
@media (max-width: 899px) {
  .rm-cell { border-right: 0; border-bottom: 1px solid var(--color-divider); }
  .rm-cell:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------------------------
   Home — where we work
   -------------------------------------------------------------------------- */
.rm-where { padding-top: 38px; padding-bottom: 40px; }
.rm-where h2 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 6px; }
.rm-where p { font-size: 13.5px; color: var(--color-neutral-700); max-width: 60ch; margin: 0; }
.rm-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.rm-tags .tag { font-size: 12.5px; padding: 8px 12px; }
.rm-tags .tag:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); color: var(--color-accent-700); }

/* --------------------------------------------------------------------------
   Inner pages — breadcrumb and page hero
   -------------------------------------------------------------------------- */
.rm-crumb { padding: 12px var(--rm-gutter); }
.rm-crumb ol { display: flex; gap: 8px; flex-wrap: wrap; font: 400 11.5px/1 var(--font-body); color: var(--color-neutral-700); }
.rm-crumb li + li::before { content: "/"; margin-right: 8px; }
.rm-crumb a { color: inherit; }
.rm-crumb a:hover { color: var(--color-accent); }
.rm-crumb [aria-current="page"] { color: var(--color-text); }

.rm-phero { padding-bottom: 34px; }
.rm-phero .rm-kick { margin-bottom: 16px; display: block; }
.rm-phero h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: .98; letter-spacing: -.03em; max-width: 22ch; }
.rm-phero p { font-size: 16.5px; line-height: 1.55; max-width: 62ch; margin: 18px 0 0; }

/* Detail heroes: service, city, combo, request */
.rm-dhero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; padding-bottom: 40px; }
.rm-dhero--city { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); padding-bottom: 38px; }
.rm-dhero--request { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 44px; padding-bottom: 44px; }
.rm-dhero .rm-kick { margin-bottom: 16px; display: block; }
.rm-dhero h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: .98; letter-spacing: -.03em; max-width: 20ch; }
.rm-dhero--combo h1 { font-size: clamp(30px, 3.9vw, 48px); line-height: 1; max-width: 22ch; }
.rm-dhero--request h1 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1; max-width: 18ch; }
.rm-dhero__lede { font-size: 16.5px; line-height: 1.55; max-width: 58ch; margin: 18px 0 0; }
.rm-dhero--city .rm-dhero__lede { max-width: 56ch; }
.rm-dhero--request .rm-dhero__lede { max-width: 46ch; margin-bottom: var(--space-3); }
.rm-dhero .rm-actions { margin-top: 10px; }
.rm-dhero__lede + .rm-actions { margin-top: 22px; }
.rm-phero--about { padding-bottom: 38px; }
.rm-facts { display: flex; flex-direction: column; border-left: 2px solid var(--color-divider); padding-left: 26px; }
.rm-fact { padding: 14px 0; border-bottom: 1px solid var(--color-divider); }
.rm-fact__val { font: 800 19px/1.2 var(--font-heading); }
.rm-facts .rm-ph { min-height: 150px; margin-top: 16px; }
.rm-dhero--city .rm-facts .rm-ph { min-height: 130px; }
@media (max-width: 899px) {
  .rm-dhero, .rm-dhero--city, .rm-dhero--request { grid-template-columns: 1fr; gap: 24px; }
  .rm-facts { border-left: 0; padding-left: 0; border-top: 2px solid var(--color-divider); }
}

/* --------------------------------------------------------------------------
   Services index
   -------------------------------------------------------------------------- */
.rm-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0; }
.rm-svc-grid > div { padding: 30px 26px 30px 0; border-bottom: 1px solid var(--color-divider); }
.rm-svc-grid .rm-lab { margin-bottom: 10px; display: block; }
.rm-svc-grid h3 { font-size: 23px; letter-spacing: -.02em; margin-bottom: 8px; }
.rm-svc-grid p { font-size: 14.5px; line-height: 1.55; color: var(--color-text-soft); max-width: 46ch; margin: 0 0 var(--space-3); }
.rm-svc-grid .btn { font-size: 13.5px; margin-top: 6px; }
@media (max-width: 480px) { .rm-svc-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Service page sections
   -------------------------------------------------------------------------- */
.rm-block { padding-top: 36px; padding-bottom: 38px; }
.rm-block h2 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 16px; }
.rm-included { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; }
.rm-included li { padding: 16px 22px 16px 0; border-top: 2px solid var(--color-divider); font-size: 14.5px; line-height: 1.5; }
.rm-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; }
.rm-steps li { padding: 20px 22px 20px 0; border-right: 1px solid var(--color-divider); }
.rm-steps li + li { padding-left: 22px; } /* breathing room after the vertical rule */
.rm-steps li:last-child { border-right: 0; }
.rm-steps .n { font: 800 30px/1 var(--font-heading); color: var(--color-accent); margin-bottom: 8px; }
.rm-steps h3, .rm-steps h4 { font-size: 16px; margin-bottom: 6px; }
.rm-steps p { font-size: 13.5px; line-height: 1.5; color: var(--color-neutral-700); margin: 0; }
@media (max-width: 899px) {
  .rm-steps li { border-right: 0; border-bottom: 1px solid var(--color-divider); }
  .rm-steps li + li { padding-left: 0; }
  .rm-steps li:last-child { border-bottom: 0; }
}

.rm-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; padding-top: 36px; padding-bottom: 38px; }
.rm-2col h2 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 8px; }
.rm-2col .sub { font-size: 13px; color: var(--color-neutral-700); margin: 0 0 var(--space-2); }
.rm-2col--tight { gap: 36px; padding-top: 34px; padding-bottom: 36px; }
.rm-2col--tight h2 { font-size: 24px; margin-bottom: 14px; }
@media (max-width: 480px) { .rm-2col { grid-template-columns: 1fr; } }

.rm-faq { padding: 16px 0; border-bottom: 1px solid var(--color-divider); }
.rm-faq h3 { font-size: 15.5px; margin-bottom: 6px; }
.rm-faq p { font-size: 14px; line-height: 1.55; color: var(--color-text-soft); margin: 0; }

.rm-link {
  display: flex; align-items: baseline; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--color-divider);
  color: inherit;
}
.rm-link:hover { color: var(--color-accent); }
.rm-link .label { font-size: 14.5px; font-weight: 800; }
.rm-link .label--plain { font-weight: 400; font-size: 14px; }
.rm-link .url { margin-left: auto; font-size: 12px; color: var(--color-neutral-700); word-break: break-all; text-align: right; }
.rm-link .arrow { margin-left: auto; font-size: 16px; color: var(--color-accent); }

.rm-rows li { padding: 13px 0; border-bottom: 1px solid var(--color-divider); font-size: 14.5px; line-height: 1.5; }
.rm-rows .muted { color: var(--color-neutral-700); }

/* Real job photos. Fixed aspect boxes with object-fit so portrait phone shots
   fill landscape slots without layout shift; the grey shows while loading. */
.rm-photo { display: block; width: 100%; height: auto; object-fit: cover; background: var(--color-neutral-200); }
.rm-facts .rm-photo { aspect-ratio: 3 / 2; margin-top: 16px; }
.rm-work__grid .rm-photo { aspect-ratio: 4 / 3; }
.rm-about__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.rm-about__photos .rm-photo { aspect-ratio: 4 / 5; }
.rm-about__photos .rm-ph { grid-column: 1 / -1; min-height: 280px; }

/* --------------------------------------------------------------------------
   Service areas index
   -------------------------------------------------------------------------- */
.rm-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; }
.rm-areas > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--color-divider); }
.rm-areas h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 4px; }
.rm-areas .note { font: 400 12.5px/1.5 var(--font-body); color: var(--color-neutral-700); margin-bottom: 10px; }

/* --------------------------------------------------------------------------
   City page
   -------------------------------------------------------------------------- */
.rm-block--city { padding-top: 34px; padding-bottom: 36px; }
.rm-block--city h2 { margin-bottom: 14px; }
.rm-city-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 20px; }
.rm-city-links .rm-link { padding-right: 20px; }
.rm-work h2 { font-size: 22px; }
.rm-work__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.rm-work__grid .rm-ph { min-height: 150px; }
.rm-work__grid p { font-size: 14.5px; line-height: 1.55; margin: 0; padding-left: 4px; }

/* --------------------------------------------------------------------------
   Request service
   -------------------------------------------------------------------------- */
.rm-ready { margin-top: 26px; border-top: 2px solid var(--color-divider); padding-top: 16px; }
.rm-ready .rm-lab { display: block; margin-bottom: 8px; }
.rm-ready p { font-size: 14px; line-height: 1.6; color: var(--color-text-soft); margin: 0; }
.rm-ready--contact { margin-top: 20px; border-top-width: 1px; }
.rm-ready--contact p { font-size: 15px; line-height: 1.7; }
.rm-ready--contact a { color: var(--color-text); font-weight: 800; }
.rm-ready--contact a:hover { color: var(--color-accent); }
.rm-form { background: var(--color-surface); padding: 28px; border: 2px solid var(--color-divider); }
.rm-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.rm-form .field + .field, .rm-form .rm-form__grid + .field { margin-top: 16px; }
.rm-form .rm-form__grid .field { margin-top: 0; } /* inside the grid the gap spaces them; keeps Name / Company level */
.rm-form .field > label .req { color: var(--color-accent); }
.rm-form fieldset { border: 0; padding: 0; margin: 18px 0 0; min-width: 0; }
.rm-form legend { padding: 0; margin-bottom: 8px; }
.rm-form .seg { flex-wrap: wrap; }
.rm-form .rm-radios { display: flex; gap: 18px; flex-wrap: wrap; }
.rm-form .btn-block { font-size: 15.5px; padding: 14px 18px; margin-top: 18px; }
.rm-form .btn-block:disabled { opacity: .45; }
.rm-form__note { font-size: 11.5px; color: var(--color-neutral-700); margin: 10px 0 0; }
.rm-form__status { margin-top: 14px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; border-left: 4px solid var(--color-accent); background: var(--color-bg); }
.rm-form__status[hidden] { display: none; }
.rm-form__status.is-ok { border-left-color: var(--color-neutral-900); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.rm-about .rm-2col > div .rm-ph { min-height: 280px; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.rm-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; padding-bottom: 40px; }
.rm-contact h1 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1; letter-spacing: -.03em; }
.rm-contact .rm-kick { display: block; margin-bottom: 16px; }
.rm-contact__rows { margin-top: 24px; }
.rm-contact__rows > div { padding: 16px 0; border-top: 1px solid var(--color-divider); }
.rm-contact__rows > div:first-child { border-top-width: 2px; }
.rm-contact__rows .rm-lab { display: block; margin-bottom: 4px; }
.rm-contact__phone { font: 800 30px/1.1 var(--font-heading); letter-spacing: -.02em; }
.rm-contact__email { font: 800 18px/1.2 var(--font-heading); word-break: break-all; }
.rm-contact__rows p { font-size: 15px; line-height: 1.5; margin: 0; }
.rm-map { min-height: 360px; background: var(--color-neutral-200); }
.rm-map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(1) contrast(1.08); }

/* --------------------------------------------------------------------------
   Legal / plain prose pages
   -------------------------------------------------------------------------- */
.rm-prose { max-width: 70ch; padding-top: 8px; padding-bottom: 48px; }
.rm-prose h2 { font-size: 22px; letter-spacing: -.02em; margin: 28px 0 8px; }
.rm-prose p, .rm-prose li { font-size: 15px; line-height: 1.6; color: var(--color-text-soft); }
.rm-prose ul { list-style: disc; padding-left: 1.2em; }
.rm-prose li { margin-bottom: 4px; }

/* --------------------------------------------------------------------------
   Poster close (CTA band)
   -------------------------------------------------------------------------- */
/* Brand orange (see --rm-brand). Dark text on it, as on the previous site —
   off-white on this orange is only ~3.2:1 and would fail for the small line. */
.rm-cta { background: var(--rm-brand); color: var(--color-text); }
.rm-cta__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 40px; }
.rm-cta h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.025em; line-height: 1; max-width: 20ch; }
.rm-cta__right { margin-left: auto; }
.rm-cta__phone { font: 800 clamp(30px, 4vw, 46px)/1 var(--font-heading); letter-spacing: -.02em; color: var(--color-text); display: inline-block; }
.rm-cta__phone:hover { color: var(--color-text); text-decoration: underline; text-underline-offset: 6px; }
.rm-cta__sub { font: 400 13px/1.5 var(--font-body); }
.rm-cta__sub a { color: inherit; }
.rm-cta__sub a:hover { text-decoration: underline; }
@media (max-width: 899px) { .rm-cta__right { margin-left: 0; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.rm-footer { border-top: 2px solid var(--color-divider); background: var(--color-bg); }
.rm-footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px;
  padding-top: 34px; padding-bottom: 30px;
  font: 400 12.5px/1.9 var(--font-body);
}
.rm-footer__brand { font: 800 14px/1.1 var(--font-heading); margin-bottom: 8px; }
.rm-footer address, .rm-footer .muted { color: var(--color-neutral-700); }
.rm-footer address a { color: inherit; }
.rm-footer address a:hover { color: var(--color-accent); }
.rm-footer .rm-lab { display: block; margin-bottom: 10px; }
.rm-footer__social { display: flex; gap: 8px; margin-top: 14px; }
.rm-footer__social a {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border: 2px solid var(--color-divider); color: var(--color-text);
}
.rm-footer__social a:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); }
.rm-footer__social svg { width: 18px; height: 18px; }
.rm-footer__grid li a { color: var(--color-text-soft); }
.rm-footer__grid li a:hover { color: var(--color-accent); }
.rm-footer__bottom {
  display: flex; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--color-divider);
  padding-top: 14px; padding-bottom: 18px;
  font: 400 11.5px/1.6 var(--font-body); color: var(--color-neutral-700);
}
.rm-footer__bottom a { color: inherit; }
.rm-footer__bottom a:hover { color: var(--color-accent); }
.rm-footer__bottom .right { margin-left: auto; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.rm-404 { padding: 64px 0 72px; }
.rm-404 h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: .98; letter-spacing: -.03em; }
.rm-404 p { font-size: 16.5px; line-height: 1.55; max-width: 52ch; margin: 18px 0 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  .rm-topbar, .rm-header, .rm-cta, .rm-nav-toggle { display: none !important; }
}
