/* Ray Hubbard Restoration */
:root {
  --ink: #0e2433;
  --lake: #16697a;
  --lake-deep: #0f4f5c;
  --lake-tint: #e3f0f1;
  --sand: #f7f3ea;
  --signal: #e4572e;
  --signal-dark: #c2441f;
  --text: #1d2b34;
  --muted: #53646e;
  --line: #d8e2e5;
  --paper: #ffffff;
  --radius: 14px;
  --wrap: 1180px;
  --head: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lake); text-underline-offset: 3px; }
a:hover { color: var(--lake-deep); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.15rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; margin-top: 1.6em; }
p { margin: 0 0 1em; }
svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.rh-wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.rh-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.rh-skip:focus { left: 8px; }

/* buttons */
.rh-btn { display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: .7em 1.25em; border-radius: 999px;
  font: 600 1rem/1.1 var(--head); text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s; }
.rh-btn--call { background: var(--signal); color: #fff; }
.rh-btn--call:hover { background: var(--signal-dark); color: #fff; }
.rh-btn--ghost { border-color: rgba(255,255,255,.75); color: #fff; }
.rh-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.rh-btn--big { font-size: 1.25rem; padding: .85em 1.5em; }

/* header */
.rh-top { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.rh-top__row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.rh-brand img { width: 200px; height: auto; max-height: 52px; object-fit: contain; object-position: left center; }
.rh-nav { margin-left: auto; }
.rh-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.rh-nav a { color: var(--ink); text-decoration: none; font: 600 .98rem var(--head); padding: 6px 0; border-bottom: 2px solid transparent; }
.rh-nav a:hover, .rh-nav a[aria-current="page"] { border-bottom-color: var(--lake); }
.rh-top__call { flex-direction: row; }
.rh-top__call small { font: 500 .78rem var(--body); opacity: .9; margin-right: .2em; }
.rh-menu { display: none; }

/* breadcrumbs */
.rh-crumbs ol { list-style: none; padding: 14px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); }
.rh-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.rh-crumbs a { color: var(--muted); }

/* hero */
.rh-hero { position: relative; color: #fff; overflow: hidden; background: var(--ink); }
.rh-hero__media { position: absolute; inset: 0; }
.rh-hero__fig { margin: 0; height: 100%; }
.rh-hero__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.rh-hero__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,36,51,.94) 0%, rgba(14,36,51,.82) 42%, rgba(14,36,51,.25) 75%, rgba(14,36,51,.1) 100%); }
.rh-hero__inner { position: relative; padding: 150px 0 110px; }
.rh-hero__copy { max-width: 620px; }
.rh-hero h1 { color: #fff; }
.rh-hero__lead { font-size: 1.15rem; color: #dce9ec; max-width: 540px; }
.rh-eyebrow { display: inline-flex; align-items: center; gap: .45em; font: 600 .82rem var(--head); text-transform: uppercase;
  letter-spacing: .08em; color: var(--lake); margin-bottom: 14px; }
.rh-hero .rh-eyebrow { color: #9fd3da; }
.rh-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.rh-trust { list-style: none; padding: 18px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 26px;
  border-top: 1px solid rgba(255,255,255,.18); font-size: .95rem; color: #e8f1f2; }
.rh-trust li { display: flex; align-items: center; gap: .5em; }
.rh-trust svg { color: #9fd3da; }

/* short answer */
.rh-short { background: var(--lake-tint); border-left: 5px solid var(--lake); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px 8px; margin: 0 0 28px; }
.rh-short__label { font: 700 .78rem var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--lake-deep); margin-bottom: 6px; }
.rh-short ul { margin: 0 0 10px; padding-left: 1.1em; }
.rh-short li { margin-bottom: 6px; }

/* layout */
.rh-split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: start; padding: 64px 0; }
.rh-split--main { grid-template-columns: minmax(0, 1fr) 320px; padding: 36px 0 64px; }
.rh-prose { min-width: 0; }
.rh-prose ul, .rh-prose ol { padding-left: 1.25em; }
.rh-prose li { margin-bottom: .45em; }
.rh-fig { margin: 0; border-radius: var(--radius); overflow: hidden; }
.rh-fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rh-fig--tall img { aspect-ratio: 4 / 5; }
.rh-sec { padding: 72px 0; }
.rh-sec--tint { background: var(--sand); }
.rh-sec--deep { background: var(--ink); color: #dbe7ea; }
.rh-sec--deep h2 { color: #fff; }
.rh-sec--deep a { color: #9fd3da; }
.rh-sec__intro { max-width: 680px; color: var(--muted); }
.rh-more { margin-top: 28px; font-weight: 600; }

/* cards */
.rh-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-top: 30px; }
.rh-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; }
.rh-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(14,36,51,.12); color: var(--text); }
.rh-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--lake-tint); }
.rh-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.rh-card__body strong { font: 600 1.08rem var(--head); color: var(--ink); }
.rh-card__body span { color: var(--muted); font-size: .96rem; }

/* steps */
.rh-steps ol { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 26px; }
.rh-steps li { counter-increment: s; position: relative; padding: 58px 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.rh-steps li::before { content: counter(s); position: absolute; top: 18px; left: 20px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--lake); color: #fff; font: 700 .95rem/30px var(--head); text-align: center; }

/* areas */
.rh-areas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.rh-towns { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.rh-towns li { break-inside: avoid; border-bottom: 1px solid rgba(255,255,255,.12); }
.rh-towns a { display: block; padding: 10px 0; text-decoration: none; font: 600 1rem var(--head); }
.rh-areagrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.rh-areagrid a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 20px; border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: var(--text); border-top: 4px solid var(--lake); }
.rh-areagrid strong { font: 600 1.1rem var(--head); color: var(--ink); }
.rh-areagrid span { color: var(--muted); font-size: .95rem; }
.rh-coverage { list-style: none; padding: 0; margin: 20px 0 0; columns: 4 170px; column-gap: 24px; font-size: .95rem; }
.rh-coverage li { padding: 4px 0; break-inside: avoid; }

/* page heads */
.rh-pagehead { padding: 40px 0 8px; }
.rh-pagehead > p, .rh-pagehead__grid p { font-size: 1.12rem; color: var(--muted); max-width: 680px; }
.rh-pagehead--img, .rh-pagehead--town { background: linear-gradient(180deg, var(--lake-tint), #fff); padding: 34px 0 40px; }
.rh-pagehead__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.rh-fig--head img { aspect-ratio: 4 / 3; }
.rh-fig--head { position: relative; }
.rh-illustrative-caption { position: absolute; right: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 5px 9px; border-radius: 5px; background: rgba(14, 36, 51, .9); color: #fff; font-size: .72rem; line-height: 1.25; }
/* page-head call button (CTA rules 2026-09-27) */
.rh-pagehead__call { margin: 4px 0 20px; }
.rh-btn__num { font-weight: 700; margin-left: .3em; white-space: nowrap; }

/* sidebar */
.rh-side { position: sticky; top: 20px; display: grid; gap: 18px; }
.rh-side__call { background: var(--ink); color: #dce9ec; border-radius: var(--radius); padding: 22px; }
.rh-side__call .rh-btn { width: 100%; justify-content: center; }
.rh-side__links { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.rh-side__links h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.rh-side__links ul { list-style: none; padding: 0; margin: 0; }
.rh-side__links li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.rh-side__links li:last-child { border: 0; }

/* band */
.rh-band { background: var(--lake); color: #fff; }
.rh-band__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 0; }
.rh-band__txt { margin: 0; font: 600 1.3rem/1.35 var(--head); max-width: 720px; }

/* faq */
.rh-faq { padding: 56px 0 72px; }
.rh-faq__list { max-width: 860px; }
.rh-q { border-bottom: 1px solid var(--line); }
.rh-q summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 600 1.06rem var(--head); color: var(--ink); }
.rh-q summary::-webkit-details-marker { display: none; }
.rh-q summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 400 1.6rem var(--head); color: var(--lake); }
.rh-q[open] summary::after { content: "\2212"; }
.rh-q__a { padding: 0 0 12px; color: var(--text); }

/* guides, contact, 404 */
.rh-guides { list-style: none; padding: 0; margin: 24px 0 72px; display: grid; gap: 14px; }
.rh-guide a { display: flex; flex-direction: column; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.rh-guide strong { font: 600 1.15rem var(--head); color: var(--ink); }
.rh-contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; padding: 36px 0 72px; }
.rh-contact__card { background: var(--sand); border-radius: var(--radius); padding: 28px; }
.rh-contact__label { font: 700 .8rem var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.rh-404 { padding: 90px 0; }

/* footer */
.rh-foot { background: #0a1b27; color: #b9c9cf; padding: 56px 0 20px; font-size: .95rem; }
.rh-foot a { color: #dfeaec; text-decoration: none; }
.rh-foot a:hover { text-decoration: underline; }
.rh-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.rh-foot h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: #8fb4bc; }
.rh-foot ul { list-style: none; padding: 0; margin: 0; }
.rh-foot li { padding: 4px 0; }
.rh-foot__about img { width: 180px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .9; }
.rh-foot__call { display: inline-flex; align-items: center; gap: .5em; font: 600 1.15rem var(--head); color: #fff; }
.rh-foot__legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 18px; font-size: .86rem; }
.rh-foot__disclosure { max-width: 820px; color: #9fb3ba; }

/* sticky mobile call bar */
.rh-dock { display: none; }

@media (max-width: 1000px) {
  .rh-nav ul { gap: 18px; }
  .rh-top__call small { display: none; }
  .rh-split--main { grid-template-columns: minmax(0, 1fr); }
  .rh-side { position: static; }
  .rh-foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 16.5px; padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .rh-top__row { min-height: 64px; gap: 12px; }
  .rh-brand img { width: 160px; }
  .rh-top__call { display: none; }
  .rh-menu { display: inline-flex; margin-left: auto; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
    border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 .95rem var(--head); color: var(--ink); cursor: pointer; }
  .rh-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .rh-nav.is-open { display: block; }
  .rh-nav ul { flex-direction: column; gap: 0; padding: 6px 20px 14px; }
  .rh-nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); }
  html:not(.js) .rh-nav { position: static; display: block; }
  html:not(.js) .rh-nav ul { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; padding: 0; }

  /* hero: H1, then the call buttons (above the fold, CTA rules 2026-09-27), then the photo and the lead */
  .rh-hero { display: flex; flex-direction: column; background: var(--ink); }
  .rh-hero__media, .rh-hero__inner, .rh-hero__copy { display: contents; }
  .rh-hero__media::after { display: none; }
  .rh-hero .rh-eyebrow { order: 1; margin: 26px 20px 10px; }
  .rh-hero h1 { order: 2; margin: 0 20px 18px; }
  .rh-hero__ctas { order: 3; margin: 0 20px 22px; }
  .rh-hero__ctas .rh-btn { flex: 1 1 100%; justify-content: center; text-align: center; }
  .rh-hero__fig { order: 5; height: auto; }
  .rh-hero__fig img { aspect-ratio: 16 / 10; height: auto; }
  .rh-hero__lead { order: 4; margin: 0 20px 22px; }
  .rh-trust { order: 6; margin: 20px 20px 30px; flex-direction: column; gap: 10px; }

  /* page heads: H1, call button, lead, then the photo */
  .rh-pagehead__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .rh-pagehead__grid > div { display: contents; }
  .rh-pagehead__grid .rh-eyebrow { order: 1; }
  .rh-pagehead__grid h1 { order: 2; }
  .rh-pagehead__grid > div > .rh-btn { order: 3; align-self: flex-start; margin-bottom: 18px; }
  .rh-pagehead__grid p { order: 4; }
  .rh-pagehead__grid .rh-fig { order: 5; margin: 4px 0 0; }
  .rh-illustrative-caption { top: 8px; bottom: auto; }

  .rh-split, .rh-areas, .rh-contact { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 40px 0; }
  .rh-sec { padding: 52px 0; }
  .rh-band__row { flex-direction: column; align-items: flex-start; }
  .rh-foot__grid { grid-template-columns: 1fr; }

  .rh-dock { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--ink); color: #fff; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0,0,0,.18); }
  .rh-dock__txt { font: 600 .9rem/1.2 var(--head); color: #cfe3e6; padding-left: 4px; }
  .rh-dock__btn { display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: 0 18px; border-radius: 12px;
    background: var(--signal); color: #fff; text-decoration: none; font: 700 1rem var(--head); white-space: nowrap; }
}

@media (max-width: 420px) {
  .rh-towns { columns: 1; }
  .rh-dock__txt { font-size: .82rem; }
  .rh-dock__btn { padding: 0 14px; font-size: .95rem; }
}

/* Service Areas dropdown (2026-09-26) */
.rh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rh-nav__drop { position: relative; display: flex; align-items: center; gap: 2px; }
.rh-drop__toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: 6px; }
.rh-drop__toggle::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.rh-drop__toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
.rh-drop__toggle:focus-visible { outline: 2px solid var(--lake); outline-offset: 2px; }
.rh-nav ul.rh-drop { display: none; position: absolute; top: 100%; left: -16px; z-index: 30; min-width: 240px; flex-direction: column; gap: 0;
  padding: 8px 0; margin-top: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(15, 30, 45, .14); }
.rh-nav ul.rh-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.rh-nav__drop:hover > ul.rh-drop, .rh-nav__drop:focus-within > ul.rh-drop, .rh-nav__drop.is-open > ul.rh-drop { display: flex; }
.rh-drop a { display: block; padding: 8px 18px; border-bottom: 0; font-weight: 600; white-space: nowrap; }
.rh-drop a:hover { background: #f1f6f8; }
.rh-drop__all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
  .rh-drop__all a { color: var(--lake); }

/* The existing first-steps guide can be printed as a short call checklist. */
@media print {
  body.rh-page--guide-first-steps-after-water-damage { color: #111; background: #fff; padding: 0; }
  body.rh-page--guide-first-steps-after-water-damage .rh-top,
  body.rh-page--guide-first-steps-after-water-damage .rh-foot,
  body.rh-page--guide-first-steps-after-water-damage .rh-dock,
  body.rh-page--guide-first-steps-after-water-damage .rh-crumbs,
  body.rh-page--guide-first-steps-after-water-damage .rh-band,
  body.rh-page--guide-first-steps-after-water-damage .rh-side,
  body.rh-page--guide-first-steps-after-water-damage .rh-fig,
  body.rh-page--guide-first-steps-after-water-damage .rh-faq { display: none !important; }
  body.rh-page--guide-first-steps-after-water-damage article.rh-prose > * { display: none !important; }
  body.rh-page--guide-first-steps-after-water-damage article.rh-prose > h3:first-of-type,
  body.rh-page--guide-first-steps-after-water-damage article.rh-prose > h3:first-of-type + p,
  body.rh-page--guide-first-steps-after-water-damage article.rh-prose > h3:first-of-type + p + ol { display: block !important; }
  body.rh-page--guide-first-steps-after-water-damage .rh-split { display: block; }
  body.rh-page--guide-first-steps-after-water-damage .rh-pagehead { padding: 0; }
  body.rh-page--guide-first-steps-after-water-damage .rh-pagehead p,
  body.rh-page--guide-first-steps-after-water-damage .rh-pagehead__call { display: none !important; }
  @page { size: letter; margin: .6in; }
}
@media (max-width: 860px) {
  .rh-nav__drop { flex-wrap: wrap; }
  .rh-nav__drop > a { flex: 1; }
  .rh-drop__toggle { width: 48px; height: auto; align-self: stretch; border-bottom: 1px solid var(--line); border-radius: 0; }
  .rh-nav ul.rh-drop { position: static; min-width: 0; width: 100%; margin: 0 0 6px; padding: 0 0 0 14px; border: 0; box-shadow: none; border-radius: 0; }
  .rh-nav ul.rh-drop::before { display: none; }
  .rh-nav__drop:hover > ul.rh-drop, .rh-nav__drop:focus-within > ul.rh-drop { display: none; }
  .rh-nav__drop.is-open > ul.rh-drop { display: flex; }
  .rh-drop a { padding: 11px 0; border-bottom: 1px solid var(--line); white-space: normal; }
  .rh-drop__all { border-top: 0; margin-top: 0; padding-top: 0; }
}

/* service-area map (2026-09-28) */
.rh-map { margin-top: 22px; }
.rh-map iframe { display: block; width: 100%; height: 340px; border: 0; border-radius: var(--radius); }
.rh-side .rh-map { margin-top: 8px; }
.rh-side .rh-map iframe { height: 220px; }

/* sidebar taller than the screen: scroll it with the page instead of pinning (2026-09-28) */
@media (max-height: 1000px) { .rh-side { position: static; } }

/* illustrative captions on figures (image-truth rule) */
.rh-fig, .rh-hero__fig { position: relative; }
.rh-hero__fig .rh-illustrative-caption { z-index: 2; top: auto; bottom: 12px; }
