/* ==========================================================================
   Household Rate Check Advisory LLC — TB1 (householdratecheck.com)
   Direction: editorial-report ("The printed annual") · Palette: teal-on-paper
   Typography: Schibsted Grotesk (400, 600, 800)
   ========================================================================== */

:root {
  --hrc-paper: #f7f9f8;
  --hrc-surface: #ebf0ee;
  --hrc-ink: #06525c;
  --hrc-muted: #386168;
  --hrc-accent: #06525c;
  --hrc-accent-ink: #f7f9f8;
  --hrc-field-dark: #043840;
  --hrc-field-mid: #d6e3df;
  --hrc-radius: 0px;
  --hrc-gap: 8px;
  --hrc-margin: 32px;
  --hrc-axis: 42%;

  /* Five strictly enforced type steps from direction.json */
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(1.85rem, 1.2rem + 2.5vw, 3.35rem);
  --step-giant: clamp(2.65rem, 5.2vw, 5.25rem);

  /* Motion tokens */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

  /* Widget inheritance tokens for interactive-safe-widgets */
  --wp-bg: #f7f9f8;
  --wp-surface: #ebf0ee;
  --wp-ink: #06525c;
  --wp-muted: #386168;
  --wp-accent: #06525c;
  --wp-border: #d6e3df;
  --wp-radius: 0px;

  --font-main: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: var(--hrc-paper);
  color: var(--hrc-ink);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  accent-color: var(--hrc-accent);
}

body {
  margin: 0;
  background-color: var(--hrc-paper);
  color: var(--hrc-ink);
  font-family: var(--font-main);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.52;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  accent-color: var(--hrc-accent);
}

p,
li {
  max-width: 64ch;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: opacity 180ms ease, transform 180ms ease;
}

a:hover {
  opacity: 0.78;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--hrc-accent);
  outline-offset: 4px;
}

/* ==========================================================================
   Advertorial Disclosure Strip & Top Tile Navigation Board
   ========================================================================== */

.hrc-board-shell {
  padding: 20px var(--hrc-margin) 0;
  max-width: 1680px;
  margin-inline: auto;
}

.hrc-advertorial-bar {
  background-color: var(--hrc-surface);
  color: var(--hrc-ink);
  padding: 12px 24px;
  margin-bottom: var(--hrc-gap);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--step-small);
  font-weight: 600;
}

.hrc-advertorial-tag {
  background-color: var(--hrc-ink);
  color: var(--hrc-accent-ink);
  padding: 4px 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hrc-top-board {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--hrc-gap);
  min-height: 64px;
  margin-bottom: var(--hrc-gap);
}

.hrc-brand-tile {
  background-color: var(--hrc-ink);
  color: var(--hrc-accent-ink);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: var(--step-body);
  letter-spacing: -0.03em;
}

.hrc-brand-tile img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.hrc-nav-tile {
  background-color: var(--hrc-surface);
  color: var(--hrc-ink);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

.hrc-nav-tile a {
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step-small);
}

.hrc-nav-tile a[aria-current="page"] {
  text-decoration: underline;
  font-weight: 800;
}

.hrc-nav-tile a.hrc-nav-cta {
  background-color: var(--hrc-ink);
  color: var(--hrc-accent-ink);
  padding: 8px 18px;
  font-weight: 600;
}

/* ==========================================================================
   Hero: Two-by-Two Board (Blueprint: hero.id = two-by-two-board)
   ========================================================================== */

.hrc-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: minmax(410px, auto) minmax(300px, auto);
  gap: var(--hrc-gap);
}

.hrc-tile-title {
  background-color: var(--hrc-surface);
  color: var(--hrc-ink);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hrc-tile-title h1 {
  margin: 0;
  font-size: clamp(2.85rem, 7.6vw, 6.8rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.hrc-tile-lead {
  margin: 14px 0 0;
  font-size: var(--step-lead);
  line-height: 1.36;
  max-width: 44ch;
  color: var(--hrc-ink);
}

.hrc-hero-cta-wrap {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hrc-btn-solid {
  background-color: var(--hrc-ink);
  color: var(--hrc-accent-ink);
  padding: 14px 26px;
  font-family: var(--font-main);
  font-size: var(--step-small);
  font-weight: 600;
  text-decoration: none;
  border: 0;
  border-radius: var(--hrc-radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 160ms var(--ease-out), opacity 160ms ease;
}

.hrc-btn-solid:hover {
  opacity: 0.9;
}

.hrc-btn-solid:active {
  transform: translateY(1px);
}

.hrc-tile-photo {
  position: relative;
  overflow: clip;
  background-color: var(--hrc-ink);
  min-height: 260px;
}

.hrc-tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 900ms var(--ease-out);
}

.hrc-tile-photo:hover img {
  transform: scale(1.04);
}

.hrc-tile-split-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hrc-gap);
}

.hrc-tile-dark {
  background-color: var(--hrc-ink);
  color: var(--hrc-accent-ink);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hrc-tile-accent {
  background-color: var(--hrc-field-mid);
  color: var(--hrc-ink);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hrc-tile-statement {
  margin: 0;
  font-size: var(--step-lead);
  font-weight: 600;
  line-height: 1.32;
}

.hrc-tile-note {
  margin: 16px 0 0;
  font-size: var(--step-small);
}

/* ==========================================================================
   Section Rhythm & Printed Annual 42% Axis
   ========================================================================== */

.hrc-section {
  max-width: 1680px;
  margin-inline: auto;
  padding: 88px var(--hrc-margin);
}

.hrc-axis-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}

.hrc-axis-side {
  padding-right: 16px;
}

.hrc-axis-side h2 {
  margin: 0 0 16px;
  font-size: var(--step-head);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.04em;
  max-width: 16ch;
}

.hrc-axis-side p {
  margin: 0 0 16px;
  font-size: var(--step-body);
  color: var(--hrc-muted);
  max-width: 38ch;
}

.hrc-axis-main {
  min-width: 0;
}

/* ==========================================================================
   Section 1: Intro Statement Tiles (intro-statement-tiles)
   ========================================================================== */

.hrc-mosaic-board {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--hrc-gap);
  padding: 0 var(--hrc-margin);
  max-width: 1680px;
  margin-inline: auto;
  margin-top: 88px;
}

.hrc-mosaic-a {
  grid-column: 1 / 9;
  grid-row: 1 / 3;
  background-color: var(--hrc-ink);
  color: var(--hrc-accent-ink);
  padding: 32px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hrc-mosaic-a h2 {
  margin: 0;
  font-size: var(--step-giant);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.hrc-mosaic-a p {
  margin: 18px 0 0;
  font-size: var(--step-lead);
  max-width: 46ch;
}

.hrc-mosaic-b {
  grid-column: 9 / 13;
  grid-row: 1 / 2;
  background-color: var(--hrc-surface);
  color: var(--hrc-ink);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hrc-mosaic-figure {
  font-size: var(--step-giant);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.hrc-mosaic-c {
  grid-column: 9 / 13;
  grid-row: 2 / 3;
  position: relative;
  overflow: clip;
  min-height: 220px;
  background-color: var(--hrc-ink);
}

.hrc-mosaic-c img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.hrc-mosaic-d {
  grid-column: 1 / 13;
  background-color: var(--hrc-surface);
  color: var(--hrc-ink);
  padding: 36px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  align-items: start;
}

.hrc-mosaic-d-meta {
  font-size: var(--step-body);
  font-weight: 600;
  color: var(--hrc-ink);
}

.hrc-mosaic-d-copy {
  font-size: var(--step-lead);
  line-height: 1.42;
  margin: 0;
  max-width: 58ch;
}

/* ==========================================================================
   Section 2: Interactive 50/30/20 Household Budget & Utility Cost Planner
   ========================================================================== */

.hrc-calculator-band {
  background-color: var(--hrc-surface);
  padding: 80px var(--hrc-margin);
  margin-top: 88px;
}

.hrc-calculator-inner {
  max-width: 1620px;
  margin-inline: auto;
}

.hrc-calc-header {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.hrc-calc-header h2 {
  margin: 0;
  font-size: var(--step-head);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hrc-anon-notice {
  background-color: var(--hrc-ink);
  color: var(--hrc-accent-ink);
  padding: 18px 24px;
  font-size: var(--step-small);
  font-weight: 600;
  line-height: 1.45;
}

.hrc-planner-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  background-color: var(--hrc-paper);
  padding: 32px;
  font-variant-numeric: tabular-nums;
}

.hrc-controls-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hrc-slider-group {
  padding: 4px 0;
}

.hrc-slider-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.hrc-slider-top label {
  font-size: var(--step-body);
  font-weight: 600;
}

.hrc-slider-readout {
  font-size: var(--step-lead);
  font-weight: 800;
  color: var(--hrc-ink);
}

.hrc-slider-hint {
  margin: 4px 0 0;
  font-size: var(--step-small);
  color: var(--hrc-muted);
}

/* Native Range Input with Modern Web Guidance progressive enhancement */
input[type="range"].hrc-range {
  --slider-track-size: 0.55rem;
  --slider-thumb-size: 1.35rem;
  --slider-track-radius: 0px;
  --slider-thumb-radius: 0px;
  --slider-track-color: #c5d6d1;
  --slider-fill-color: #06525c;
  --slider-thumb-color: #06525c;
  --attr-min: 0;
  --attr-max: 100;
  --control-value: 50;
  --slider-progress: calc(
    (var(--control-value) - var(--attr-min)) /
    (var(--attr-max) - var(--attr-min)) * 100%
  );

  -webkit-appearance: none;
  appearance: none;
  inline-size: 100%;
  block-size: 2.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

input[type="range"].hrc-range::-webkit-slider-runnable-track {
  block-size: var(--slider-track-size);
  border: 0;
  border-radius: var(--slider-track-radius);
  background: var(--slider-track-color);
}

input[type="range"].hrc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  inline-size: var(--slider-thumb-size);
  block-size: var(--slider-thumb-size);
  margin-block-start: calc((var(--slider-track-size) - var(--slider-thumb-size)) / 2);
  border: 0;
  border-radius: var(--slider-thumb-radius);
  background: var(--slider-thumb-color);
  transition: transform 150ms var(--ease-out);
}

input[type="range"].hrc-range::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}

input[type="range"].hrc-range::-moz-range-track {
  block-size: var(--slider-track-size);
  border: 0;
  border-radius: var(--slider-track-radius);
  background: var(--slider-track-color);
}

input[type="range"].hrc-range::-moz-range-progress {
  block-size: var(--slider-track-size);
  border-radius: var(--slider-track-radius);
  background: var(--slider-fill-color);
}

input[type="range"].hrc-range::-moz-range-thumb {
  inline-size: var(--slider-thumb-size);
  block-size: var(--slider-thumb-size);
  border: 0;
  border-radius: var(--slider-thumb-radius);
  background: var(--slider-thumb-color);
}

.hrc-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hrc-preset-btn {
  background-color: var(--hrc-surface);
  color: var(--hrc-ink);
  border: 0;
  padding: 10px 16px;
  font-family: var(--font-main);
  font-size: var(--step-small);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.hrc-preset-btn[aria-pressed="true"],
.hrc-preset-btn:hover {
  background-color: var(--hrc-ink);
  color: var(--hrc-accent-ink);
}

.hrc-results-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.hrc-bucket-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--hrc-gap);
}

.hrc-bucket-tile {
  background-color: var(--hrc-surface);
  padding: 22px;
}

.hrc-bucket-tile.is-dark {
  background-color: var(--hrc-ink);
  color: var(--hrc-accent-ink);
}

.hrc-bucket-val {
  font-size: var(--step-head);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.hrc-bucket-label {
  font-size: var(--step-small);
  font-weight: 800;
  margin-bottom: 4px;
}

.hrc-bucket-sub {
  margin-top: 4px;
  font-size: var(--step-small);
}

.hrc-chart-box {
  background-color: var(--hrc-surface);
  padding: 22px;
}

.hrc-chart-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  font-size: var(--step-small);
  font-weight: 600;
}

/* ==========================================================================
   Section 3: Stats Column Aligned on the Decimal (stats-column-aligned-on-the-decimal)
   ========================================================================== */

.hrc-decimal-ledger {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-variant-numeric: tabular-nums;
}

.hrc-decimal-row {
  display: grid;
  grid-template-columns: 165px 115px 1fr;
  align-items: baseline;
  gap: 0 16px;
  padding: 8px 0;
}

.hrc-dec-whole {
  text-align: right;
  font-size: var(--step-head);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hrc-dec-frac {
  text-align: left;
  font-size: var(--step-head);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--hrc-muted);
}

.hrc-dec-caption {
  font-size: var(--step-body);
  line-height: 1.45;
  max-width: 52ch;
}

.hrc-dec-caption strong {
  display: block;
  font-weight: 800;
  margin-bottom: 4px;
}

/* ==========================================================================
   Section 4: Responsive Utility Rate Benchmark Table (responsive-table guide)
   ========================================================================== */

.hrc-table-region {
  overflow-x: auto;
  max-inline-size: 100%;
  background-color: var(--hrc-surface);
  padding: 24px;
}

.hrc-rate-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.hrc-rate-table caption {
  text-align: left;
  font-size: var(--step-lead);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--hrc-ink);
}

.hrc-rate-table thead th {
  background-color: var(--hrc-ink);
  color: var(--hrc-accent-ink);
  padding: 14px 16px;
  font-size: var(--step-small);
  font-weight: 600;
}

.hrc-rate-table tbody tr {
  background-color: var(--hrc-paper);
}

.hrc-rate-table tbody th {
  background-color: var(--hrc-paper);
  padding: 16px;
  font-weight: 800;
  font-size: var(--step-body);
}

.hrc-rate-table tbody td {
  padding: 16px;
  font-size: var(--step-body);
}

/* ==========================================================================
   Section 5: Pinned Heading, Passing Rows (features-pinned-heading-passing-rows)
   ========================================================================== */

.hrc-pinned-field {
  background-color: var(--hrc-ink);
  color: var(--hrc-accent-ink);
  padding: 80px var(--hrc-margin);
}

.hrc-pinned-inner {
  max-width: 1680px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}

.hrc-pinned-head {
  position: sticky;
  top: 32px;
}

.hrc-pinned-head h2 {
  margin: 0 0 18px;
  font-size: var(--step-giant);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.hrc-pinned-head p {
  margin: 0;
  font-size: var(--step-lead);
  max-width: 32ch;
}

.hrc-passing-rows {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hrc-pass-block h3 {
  margin: 0 0 14px;
  font-size: var(--step-lead);
  font-weight: 800;
}

.hrc-pass-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: start;
}

.hrc-pass-row.is-flipped {
  grid-template-columns: 1fr 180px;
}

.hrc-pass-photo {
  aspect-ratio: 3 / 4;
  overflow: clip;
  background-color: var(--hrc-field-dark);
}

.hrc-pass-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.hrc-pass-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: var(--step-body);
}

.hrc-pass-list li {
  padding: 4px 0;
  max-width: 54ch;
}

/* ==========================================================================
   Section 6: Continuous Reading FAQ (faq-open-two-column-reading)
   ========================================================================== */

.hrc-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
}

.hrc-faq-item {
  margin: 0;
  font-size: var(--step-body);
  line-height: 1.56;
  max-width: 58ch;
}

.hrc-faq-item strong {
  font-weight: 800;
  color: var(--hrc-ink);
}

/* ==========================================================================
   Subpage Editorial Content Containers (methodology, privacy, terms, contact)
   ========================================================================== */

.hrc-subpage-hero {
  background-color: var(--hrc-surface);
  padding: 64px var(--hrc-margin);
  max-width: 1680px;
  margin-inline: auto;
  margin-bottom: var(--hrc-gap);
}

.hrc-subpage-hero h1 {
  margin: 0 0 16px;
  font-size: var(--step-head);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.04em;
  max-width: 22ch;
}

.hrc-subpage-hero p {
  margin: 0;
  font-size: var(--step-lead);
  max-width: 58ch;
}

.hrc-prose-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hrc-prose-block {
  background-color: var(--hrc-surface);
  padding: 32px;
}

.hrc-prose-block h2,
.hrc-prose-block h3 {
  margin: 0 0 14px;
  font-size: var(--step-lead);
  font-weight: 800;
  line-height: 1.2;
}

.hrc-prose-block p,
.hrc-prose-block ul {
  margin: 0 0 14px;
  font-size: var(--step-body);
  max-width: 64ch;
}

.hrc-prose-block p:last-child,
.hrc-prose-block ul:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Footer: Wordmark First, Places Under It (footer-wordmark-first-places-below)
   ========================================================================== */

.hrc-footer {
  background-color: var(--hrc-ink);
  color: var(--hrc-accent-ink);
  overflow: hidden;
  padding: 40px var(--hrc-margin) 56px;
  margin-top: 88px;
}

.hrc-footer-inner {
  max-width: 1680px;
  margin-inline: auto;
}

.hrc-footer-wordmark {
  font-size: clamp(2.2rem, 7.6vw, 8.2rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin: 0 0 48px;
  user-select: none;
}

.hrc-footer-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  align-items: start;
}

.hrc-footer-places {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hrc-footer-places a,
.hrc-footer-places span {
  font-size: var(--step-lead);
  font-weight: 800;
  text-decoration: none;
}

.hrc-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  font-size: var(--step-small);
}

.hrc-footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hrc-footer-col strong {
  font-weight: 800;
  margin-bottom: 4px;
}

.hrc-footer-col a {
  text-decoration: none;
}

.hrc-footer-legal {
  margin-top: 56px;
  background-color: var(--hrc-field-dark);
  padding: 28px;
  font-size: var(--step-small);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hrc-footer-legal p {
  max-width: 65ch;
}

.hrc-footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

/* ==========================================================================
   Motion Layer (Load Sequence + Shutter + Staggered Section Choreography)
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .hrc-shutter-reveal {
    clip-path: inset(0 100% 0 0);
    animation: hrcShutterOpen 1100ms var(--ease-in-out) 120ms forwards;
  }
  .hrc-shutter-reveal img {
    transform: scale(1.1);
    animation: hrcImgSettle 1200ms var(--ease-expo) 120ms forwards;
  }
  .hrc-load-item {
    opacity: 0;
    transform: translateY(14px);
    animation: hrcLoadRise 620ms var(--ease-out) forwards;
    animation-delay: var(--d, 140ms);
  }
  .hrc-photo-drift img {
    animation: hrcSlowDrift 14s ease-in-out infinite alternate;
  }
}

@keyframes hrcShutterOpen {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes hrcImgSettle {
  to {
    transform: scale(1);
  }
}

@keyframes hrcLoadRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hrcSlowDrift {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.06);
  }
}

.hrc-anim-unit {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms var(--ease-expo),
              transform 650ms var(--ease-expo);
}

.js-motion-ready .hrc-anim-unit.is-pending {
  opacity: 0;
  transform: translateY(20px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hrc-shutter-reveal,
  .hrc-shutter-reveal img,
  .hrc-load-item,
  .hrc-photo-drift img,
  .hrc-anim-unit,
  .js-motion-ready .hrc-anim-unit.is-pending {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Responsive Mobile Composition (< 960px)
   ========================================================================== */

@media (max-width: 960px) {
  :root {
    --hrc-margin: 20px;
  }
  .hrc-top-board {
    grid-template-columns: 1fr;
  }
  .hrc-nav-tile {
    justify-content: flex-start;
  }
  .hrc-hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .hrc-tile-split-pair {
    grid-template-columns: 1fr;
  }
  .hrc-mosaic-a,
  .hrc-mosaic-b,
  .hrc-mosaic-c,
  .hrc-mosaic-d {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .hrc-mosaic-d,
  .hrc-axis-layout,
  .hrc-calc-header,
  .hrc-planner-grid,
  .hrc-pinned-inner,
  .hrc-faq-grid,
  .hrc-footer-grid {
    grid-template-columns: 1fr;
  }
  .hrc-pinned-head {
    position: static;
  }
  .hrc-pass-row,
  .hrc-pass-row.is-flipped {
    grid-template-columns: 1fr;
  }
  .hrc-decimal-row {
    grid-template-columns: 115px 95px 1fr;
  }
  .hrc-footer-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hrc-bucket-tiles,
  .hrc-footer-columns {
    grid-template-columns: 1fr;
  }
  .hrc-decimal-row {
    grid-template-columns: auto 1fr;
    gap: 4px 10px;
  }
  .hrc-dec-whole {
    text-align: left;
  }
  .hrc-dec-caption {
    grid-column: 1 / -1;
    margin-top: 6px;
  }
  .hrc-rate-table,
  .hrc-rate-table thead,
  .hrc-rate-table tbody,
  .hrc-rate-table tr,
  .hrc-rate-table th,
  .hrc-rate-table td {
    display: block;
  }
  .hrc-rate-table thead {
    display: none;
  }
  .hrc-rate-table tbody tr {
    margin-block-end: 14px;
    padding: 12px;
  }
  .hrc-rate-table tbody th {
    background-color: var(--hrc-surface);
    padding: 10px 12px;
  }
  .hrc-rate-table tbody td {
    padding: 8px 12px;
  }
  .hrc-rate-table tbody td:nth-child(2)::before {
    content: "Avg Electric Tariff: ";
    font-weight: 600;
  }
  .hrc-rate-table tbody td:nth-child(3)::before {
    content: "Monthly Electric (1,050 kWh): ";
    font-weight: 600;
  }
  .hrc-rate-table tbody td:nth-child(4)::before {
    content: "Gas + Water + Trash: ";
    font-weight: 600;
  }
  .hrc-rate-table tbody td:nth-child(5)::before {
    content: "Total Monthly Utility: ";
    font-weight: 600;
  }
}
