/* Restoration marketing: the storm night. Page-scoped styles (rs-). */
.rs-page {
  --rs-concrete: #ecebe6;
  --rs-paper: #f8f7f3;
  --rs-sheet: #ffffff;
  --rs-ink: #1b2127;
  --rs-soft: #4b535d;
  --rs-muted: #69717b;
  --rs-rule: #d7d4cc;
  --rs-orange: #b9481a;
  --rs-orange-deep: #963811;
  --rs-orange-wash: #f7e2d6;
  --rs-tape: #f2c21f;
  --rs-night: #131a21;
  --rs-night-2: #1d2630;
  --rs-water: #9cc3dc;
  --rs-missed: #e0603c;
  --rs-green: #2f6b52;
  --rs-green-wash: #dfece5;
  color: var(--rs-ink);
  background: var(--rs-paper);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  overflow: clip;
}
.rs-page *,
.rs-page *::before,
.rs-page *::after { box-sizing: border-box; }
.rs-page :where(h1, h2, h3, p, ol, ul, figure, dl, dd) { margin: 0; }
.rs-page :where(ol, ul) { padding: 0; list-style: none; }
.rs-page ::selection { background: var(--rs-tape); color: var(--rs-ink); }
.rs-page a:focus-visible,
.rs-page summary:focus-visible,
.rs-page [tabindex]:focus-visible {
  outline: 2px solid var(--rs-orange);
  outline-offset: 4px;
}
.rs-page section[id] { scroll-margin-top: 130px; }
.rs-wrap { width: min(100% - 80px, 1280px); margin-inline: auto; }
.rs-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rs-page h1, .rs-page h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.rs-page h2 { font-size: clamp(2.2rem, 3.6vw, 3.7rem); line-height: 1.05; }
.rs-page h1 em, .rs-page h2 em { font-style: italic; }
.rs-page h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.005em; }
.rs-section { padding: clamp(72px, 9vw, 120px) 0; }
.rs-section p { max-width: 68ch; }
.rs-page p a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.rs-page p a:hover { color: var(--rs-orange); }
.rs-tie { margin-top: 26px; font-weight: 500; }

/* Buttons and quiet links */
.rs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.rs-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--rs-orange);
  color: #fff;
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  box-shadow: 0 8px 20px -10px rgba(150, 56, 17, 0.75);
  transition: background-color 160ms ease-out, transform 160ms ease-out;
}
.rs-button:hover { background: var(--rs-orange-deep); transform: translateY(-1px); }
.rs-quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--rs-ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: rgba(27, 33, 39, 0.3);
  text-underline-offset: 5px;
}
.rs-quiet-link:hover { text-decoration-color: currentColor; }
.rs-close .rs-quiet-link { color: #eceae4; text-decoration-color: rgba(236, 234, 228, 0.35); }

/* Hero: poured concrete, the chart on a night panel */
.rs-hero-shell {
  background: linear-gradient(180deg, #e2e0da 0%, var(--rs-concrete) 55%, #f1f0ec 100%);
  padding-top: 101px;
  border-bottom: 1px solid var(--rs-rule);
}
.rs-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 28px; font-size: 12.5px; color: var(--rs-soft); }
.rs-breadcrumb a { color: inherit; text-decoration: none; }
.rs-breadcrumb a:hover { color: var(--rs-ink); }
.rs-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
  padding: clamp(28px, 3.5vw, 48px) 0 clamp(60px, 7vw, 96px);
}
.rs-hero-copy { padding-top: 8px; }
.rs-hero h1 { font-size: clamp(2.6rem, 4vw, 4rem); line-height: 1.02; }
.rs-hero .h1-kicker { color: var(--rs-orange-deep); }
.rs-h1-line { display: block; }
.rs-hero h1 em { display: block; color: #2c5a78; }
.rs-lede { margin-top: 20px; max-width: 54ch; font-size: 1.1rem; line-height: 1.6; color: #2a3038; }
.rs-price {
  display: grid;
  gap: 4px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(27, 33, 39, 0.16);
  max-width: 540px;
}
.rs-price span { font-size: 1rem; }
.rs-price strong { font-weight: 700; margin-right: 6px; }
.rs-price small { font-size: 13px; color: var(--rs-soft); }
.rs-hero-copy .rs-actions { margin-top: 22px; }

/* The storm night chart */
.rs-storm {
  min-width: 0;
  padding: 24px 24px 18px;
  border-radius: 16px;
  background: var(--rs-night);
  color: #e6e4de;
  box-shadow: 0 30px 60px -34px rgba(10, 16, 22, 0.8);
}
.rs-storm-title { font-family: var(--font-serif); font-size: 1.55rem; line-height: 1.15; color: #fff; }
.rs-storm-sub { margin-top: 4px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #9aa6b2; }
.rs-storm-svg { display: block; width: 100%; height: auto; margin-top: 14px; }
.rs-grid { stroke: #2b3540; stroke-width: 1; }
.rs-axis { font: 600 11px var(--font-sans); fill: #8d98a4; }
.rs-bar-answered { fill: var(--rs-water); }
.rs-bar-missed { fill: var(--rs-missed); }
.rs-one-phone { stroke: var(--rs-tape); stroke-width: 1.5; stroke-dasharray: 5 4; }
.rs-one-label { font: 700 11.5px var(--font-sans); fill: var(--rs-tape); }
.rs-storm-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid #2b3540; }
.rs-key-row { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; font-weight: 600; }
.rs-key-row > span { display: inline-flex; align-items: center; gap: 8px; }
.rs-key { display: inline-block; width: 12px; height: 12px; border-radius: 2px; }
.rs-key-answered { background: var(--rs-water); }
.rs-key-missed { background: var(--rs-missed); }
.rs-key-line { width: 18px; height: 0; border-top: 2px dashed var(--rs-tape); border-radius: 0; }
.rs-key-phone { display: none !important; }
.rs-storm-ai { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: #cfd6dd; }
.rs-storm figcaption { margin-top: 10px; font-size: 12.5px; color: #8d98a4; }

/* Jump nav */
.rs-jump {
  position: sticky;
  top: 72px;
  z-index: 5;
  background: rgba(248, 247, 243, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rs-rule);
}
.rs-jump .rs-wrap { display: flex; gap: 26px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.rs-jump a { flex: none; font-size: 13.5px; font-weight: 600; color: var(--rs-soft); text-decoration: none; }
.rs-jump a:hover { color: var(--rs-orange); }

/* Shared section heads */
.rs-sheet-head, .rs-callers-head, .rs-first-head, .rs-partners-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: end;
}
.rs-sheet-head p, .rs-callers-head p, .rs-first-head p, .rs-partners-head p { color: var(--rs-soft); }

/* The loss sheet */
.rs-sheet-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.rs-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.rs-transcript { display: grid; gap: 10px; margin-top: 20px; }
.rs-transcript li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; }
.rs-transcript p { padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: var(--rs-concrete); font-size: 15px; line-height: 1.45; max-width: none; }
.rs-pin {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--rs-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
}
.rs-pin-small { width: 18px; height: 18px; font-size: 10.5px; margin: 0 6px 0 0; vertical-align: 1px; }
.rs-sheet {
  position: sticky;
  top: 140px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 6px;
  background: var(--rs-sheet);
  box-shadow: 0 1px 0 rgba(27, 33, 39, 0.06), 0 24px 44px -30px rgba(30, 30, 20, 0.5);
}
.rs-sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--rs-ink); }
.rs-sheet-kind { font-family: var(--font-serif); font-size: 1.8rem; line-height: 1; }
.rs-sheet-stamp { padding: 5px 12px; border-radius: 999px; background: var(--rs-green-wash); color: var(--rs-green); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.rs-sheet dl { display: grid; margin-top: 4px; font-size: 14.5px; }
.rs-sheet dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rs-rule); }
.rs-sheet dt { font-size: 13px; font-weight: 700; color: var(--rs-soft); }
.rs-sheet figcaption { margin-top: 12px; font-size: 13px; color: var(--rs-muted); }
.rs-models { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 30px; font-size: 14px; }
.rs-models > p { font-weight: 700; }
.rs-models ul { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.rs-models li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.rs-models li span { font-weight: 400; color: var(--rs-soft); }
.rs-model-openai { border-radius: 4px; }

/* Who's calling */
.rs-callers { background: var(--rs-sheet); border-top: 1px solid var(--rs-rule); border-bottom: 1px solid var(--rs-rule); }
.rs-table-scroll { margin-top: clamp(28px, 4vw, 44px); overflow-x: auto; }
.rs-role-table { width: 100%; min-width: 880px; border-collapse: collapse; font-size: 15px; }
.rs-role-table th, .rs-role-table td { padding: 15px 18px 15px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rs-rule); }
.rs-role-table thead th { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--rs-soft); border-bottom: 2px solid var(--rs-ink); }
.rs-role-table tbody th { width: 17%; font-family: var(--font-serif); font-weight: 500; font-size: 1.18rem; line-height: 1.25; }
.rs-role-table td:nth-child(3) { color: var(--rs-green); font-weight: 500; }
.rs-role-table td:last-child { color: var(--rs-orange-deep); }

/* Safety card with caution tape */
.rs-safety { background: var(--rs-concrete); }
.rs-safety-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.rs-safety-copy > p { margin-top: 18px; color: #333a43; }
.rs-never { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(27, 33, 39, 0.2); }
.rs-never ul { display: grid; gap: 8px; margin-top: 12px; }
.rs-never s { font-family: var(--font-serif); font-size: 1.12rem; color: var(--rs-orange-deep); text-decoration-thickness: 1.5px; }
.rs-never > p { margin-top: 12px; font-size: 14.5px; color: var(--rs-soft); }
.rs-caution { border-radius: 10px; background: var(--rs-sheet); overflow: hidden; box-shadow: 0 1px 0 rgba(27, 33, 39, 0.06), 0 24px 44px -30px rgba(30, 30, 20, 0.5); }
.rs-tape {
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  background: repeating-linear-gradient(-45deg, var(--rs-tape) 0 22px, #1b1b1b 22px 44px);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.rs-tape span { padding: 2px 12px; background: var(--rs-tape); color: #111; }
.rs-caution ol { counter-reset: rs-line; padding: 8px 26px 4px; }
.rs-caution li { counter-increment: rs-line; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 6px 22px; padding: 16px 0; border-bottom: 1px solid var(--rs-rule); }
.rs-caution li:last-child { border-bottom: 0; }
.rs-hears { font-weight: 700; font-size: 15px; }
.rs-reads { font-size: 15px; }
.rs-page .rs-tape, .rs-page .rs-caution-foot { max-width: none; }
.rs-caution-foot { padding: 12px 26px 18px; font-size: 13px; color: var(--rs-muted); border-top: 1px solid var(--rs-rule); }

/* The first 48 hours */
.rs-ruler { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; margin-top: clamp(44px, 5vw, 68px); padding-top: 34px; }
.rs-ruler::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--rs-orange) 0%, #d99a3f 45%, var(--rs-green) 100%); }
.rs-ruler li { position: relative; }
.rs-ruler li::before { content: ""; position: absolute; left: 0; top: -30px; width: 16px; height: 16px; border-radius: 50%; background: var(--rs-paper); border: 3px solid var(--rs-ink); }
.rs-tick { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rs-orange-deep); font-variant-numeric: tabular-nums; }
.rs-ruler h3 { margin-top: 4px; font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; }
.rs-ruler p { margin-top: 4px; font-size: 15px; color: #333a43; }

/* Partners */
.rs-partners { background: var(--rs-concrete); }
.rs-partner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); margin-top: clamp(36px, 5vw, 56px); }
.rs-partner-list li { padding: 20px 0; border-top: 1px solid rgba(27, 33, 39, 0.2); }
.rs-partner-list h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; }
.rs-partner-list p { margin-top: 6px; font-size: 15px; }
.rs-partner-list p span { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--rs-muted); }
.rs-partner-list p:last-child { color: var(--rs-green); font-weight: 500; }
.rs-found-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid rgba(27, 33, 39, 0.18); }
.rs-found-grid p { margin-top: 10px; color: #333a43; }

/* How */
.rs-how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.rs-steps { margin-top: 28px; counter-reset: rs-step; }
.rs-steps li { counter-increment: rs-step; position: relative; padding: 0 0 26px 52px; }
.rs-steps li::before {
  content: counter(rs-step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--rs-ink);
  font-weight: 700;
  font-size: 14px;
}
.rs-steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 36px; bottom: 4px; width: 1px; background: rgba(27, 33, 39, 0.25); }
.rs-steps p { margin-top: 4px; color: #333a43; font-size: 15.5px; }
.rs-how-side { display: grid; gap: 22px; }
.rs-testsheet, .rs-stays { padding: 24px 26px; border-radius: 12px; background: var(--rs-sheet); box-shadow: 0 1px 0 rgba(27, 33, 39, 0.06); }
.rs-testsheet > p:first-of-type { margin-top: 6px; font-size: 14.5px; color: var(--rs-soft); }
.rs-testsheet ul { margin-top: 14px; display: grid; gap: 8px; }
.rs-testsheet li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.rs-check { flex: none; width: 17px; height: 17px; margin-top: 3px; border: 1.5px solid var(--rs-green); border-radius: 4px; }
.rs-testsheet-foot { margin-top: 16px; font-size: 14px; color: var(--rs-soft); }
.rs-stays ul { margin-top: 12px; display: grid; gap: 6px; }
.rs-stays li { padding-left: 16px; position: relative; font-size: 15px; }
.rs-stays li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 7px; height: 1.5px; background: var(--rs-orange); }
.rs-stays > p { margin-top: 12px; font-size: 14px; color: var(--rs-soft); }

/* FAQ */
.rs-faq { background: var(--rs-sheet); border-top: 1px solid var(--rs-rule); }
.rs-faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.rs-faq-grid > div > p { margin-top: 14px; color: var(--rs-soft); }
.rs-faq-list details { border-bottom: 1px solid var(--rs-rule); }
.rs-faq-list details:first-child { border-top: 1px solid var(--rs-rule); }
.rs-faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 1.04rem;
  cursor: pointer;
  list-style: none;
}
.rs-faq-list summary::-webkit-details-marker { display: none; }
.rs-faq-list summary span { color: var(--rs-orange); font-size: 1.3rem; line-height: 1; transition: transform 200ms ease-out; }
.rs-faq-list details[open] summary span { transform: rotate(45deg); }
.rs-faq-list details p { padding: 0 0 20px; color: #333a43; }

/* Close */
.rs-close { padding: clamp(72px, 9vw, 120px) 0; background: var(--rs-night); color: #dcdfe2; }
.rs-close-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: clamp(36px, 6vw, 96px); align-items: end; }
.rs-close h2 { color: #f8f7f3; }
.rs-close h2 em { color: var(--rs-tape); }
.rs-close p { margin-top: 20px; max-width: 60ch; color: #c1c8cf; }
.rs-close .rs-button { background: #d05a26; }
.rs-close .rs-button:hover { background: var(--rs-orange); }
.rs-close aside { display: grid; gap: 12px; }
.rs-close aside strong { font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; color: #9aa6b2; }
.rs-close aside a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(236, 234, 228, 0.2); color: #eceae4; text-decoration: none; font-weight: 600; }
.rs-close aside a:hover { color: var(--rs-tape); }

@media (max-width: 1100px) {
  .rs-hero { grid-template-columns: 1fr; }
  .rs-storm { max-width: 760px; }
  .rs-ruler { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
}

@media (max-width: 900px) {
  .rs-wrap { width: min(100% - 40px, 1280px); }
  .rs-sheet-head, .rs-callers-head, .rs-first-head, .rs-partners-head, .rs-sheet-grid, .rs-safety-grid,
  .rs-found-grid, .rs-how-grid, .rs-faq-grid, .rs-close-grid { grid-template-columns: 1fr; }
  .rs-sheet { position: static; }
  .rs-partner-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .rs-page { font-size: 16px; }
  .rs-hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .rs-lede { font-size: 1.02rem; margin-top: 16px; }
  .rs-hero h1 .h1-kicker { margin-bottom: 0.6rem; }
  .rs-hero-shell { padding-top: 76px; }
  .rs-breadcrumb { padding-top: 18px; }
  .rs-hero { padding-top: 22px; }
  .rs-actions { margin-top: 20px; }
  .rs-storm { padding: 18px 14px 14px; }
  .rs-axis { font-size: 22px; }
  .rs-one-label { display: none; }
  .rs-key-phone { display: inline-flex !important; }
  .rs-sheet dl > div { grid-template-columns: 1fr; gap: 1px; }
  .rs-caution ol { padding: 4px 16px; }
  .rs-caution li { grid-template-columns: 1fr; }
  .rs-tape span:nth-child(3) { display: none; }
  .rs-ruler { grid-template-columns: 1fr; gap: 0; padding: 0 0 0 30px; }
  .rs-ruler::before { left: 6px; right: auto; top: 4px; bottom: 4px; width: 4px; height: auto; background: linear-gradient(180deg, var(--rs-orange) 0%, #d99a3f 45%, var(--rs-green) 100%); }
  .rs-ruler li { padding-bottom: 24px; }
  .rs-ruler li::before { left: -30px; top: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .rs-page *, .rs-page *::before, .rs-page *::after { transition: none !important; }
}
