.ra-editorial-hero {
  --hero-ink: #fff9ef;
  --hero-secondary: #d1e0e5;
  background: radial-gradient(ellipse at 82% 0%, #294956 0, transparent 62%), #132f3e;
  color: var(--hero-ink);
  padding: clamp(30px, 5vw, 68px) 0;
}
.ra-editorial-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.ra-editorial-headline h1 {
  font-size: clamp(2.25rem, 7vw, 4.12rem);
  line-height: 1.03;
  letter-spacing: -.065em;
  text-wrap: balance;
  margin: 0 0 18px;
}
.ra-editorial-headline h1 em { color: #ffab78; font-style: normal; }
.ra-editorial-headline > p {
  color: var(--hero-secondary);
  font-size: clamp(.99rem, 2vw, 1.13rem);
  max-width: 51ch;
  margin: 0 0 22px;
}
.ra-editorial-inline { font-weight: 750; }
.ra-editorial-hero .ra-editorial-inline { color: var(--hero-ink); }
.ra-editorial-hero .ra-editorial-inline:hover { color: #ffab78; }
.ra-editorial-hero .ra-landing-cta { background: #ffa267; color: #132f3e; }
.ra-editorial-hero .ra-landing-cta:hover { background: #ffd2b3; }
.ra-editorial-photo { margin: 24px 0 0; }
.ra-editorial-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}
.ra-project-hero .ra-editorial-photo img { aspect-ratio: 2.45; }
.ra-editorial-photo figcaption { font-size: .77rem; color: var(--hero-secondary); margin-top: 7px; }
.ra-method-page-hero .ra-editorial-photo { margin: 0; }
.ra-editorial-calculator { min-width: 0; color: var(--ink); }
.ra-editorial-calculator .ra-wizard-shell { box-shadow: 0 18px 48px #06182447; }
.ra-editorial-hero .ra-cost-answer {
  max-width: 530px;
  background: #f8f4e9;
  border-left: 5px solid #ffa267;
  padding: 13px 18px;
}
.ra-editorial-hero .ra-cost-answer strong { font-size: clamp(1.65rem, 4.4vw, 2.38rem); }
.ra-editorial-jumps { background: #faf8f2; border-bottom: 1px solid #e6e4da; }
.ra-editorial-jumps ul {
  margin-block: 0;
  list-style: none;
  padding: 12px 0;
  display: flex;
  gap: 5px 25px;
  flex-wrap: wrap;
}
.ra-editorial-jumps a { display: inline-block; padding: 5px 0; font-size: .87rem; font-weight: 700; }
.ra-project-photo-grid, .ra-scope-grid, .ra-field-chapters, .ra-state-directory, .ra-reading-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
.ra-project-photo-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #dce6e7;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.ra-project-photo-card > a { display: block; }
.ra-project-photo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.ra-project-photo-card > div { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.ra-project-photo-card h3 { font-size: 1.28rem; margin-bottom: 13px; }
.ra-project-photo-card h3 a { text-decoration: none; }
.ra-project-photo-card p { font-size: .91rem; margin-bottom: 13px; }
.ra-project-photo-card .ra-photo-price { color: #904018; font-weight: 790; font-size: 1.47rem; margin-bottom: 4px; }
.ra-project-photo-card .ra-editorial-inline { margin-top: auto; }
.ra-project-decision { padding-top: 13px; border-top: 1px solid #e8eeef; }
.ra-home-method, .ra-editorial-scope, .ra-location-method { background: #edf3f3; }
.ra-method-lead { max-width: 67ch; margin-bottom: 23px; }
.ra-scope-grid article {
  border: 1px solid #dae7e7;
  background: #fff;
  padding: 22px;
  border-radius: 14px;
}
.ra-scope-grid article h3 { margin-bottom: 9px; color: #173c4c; }
.ra-scope-grid article p { margin-bottom: 0; font-size: .96rem; }
.ra-state-directory .ra-state-group { margin: 0; min-width: 0; }
.ra-editorial-states .ra-state-group {
  background: #fff;
  border: 1px solid #e1e8e9;
  padding: 18px;
  border-radius: 14px;
}
.ra-editorial-states .ra-state-grid { grid-template-columns: minmax(0, 1fr); }
.ra-editorial-states .ra-state-tile { box-shadow: none; }
.ra-editorial-guides .ra-guides-grid { margin-top: 24px; }
.ra-range-figure, .ra-ranking-figure {
  border: 1px solid #d9e4e6;
  background: #fff;
  margin: 0 0 19px;
  border-radius: 16px;
  padding: clamp(14px, 3vw, 25px);
}
.ra-range-figure figcaption strong { font-size: 1.13rem; color: #153849; }
.ra-range-figure figcaption span { display: block; color: #4d6470; font-size: .86rem; }
.ra-range-bars, .ra-ranking-panel ol { list-style: none; padding: 0; margin: 18px 0 0; }
.ra-range-bars li + li, .ra-ranking-panel li + li { margin-top: 12px; }
.ra-range-bars li div, .ra-ranking-panel li div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: 10px;
  font-size: .86rem;
  line-height: 1.35;
  margin-bottom: 4px;
}
.ra-range-bars li div span, .ra-ranking-panel li div span { font-variant-numeric: tabular-nums; font-weight: 750; }
.ra-range-track, .ra-rank-track {
  background: #eaf0f1;
  border-radius: 10px;
  height: 12px;
  display: block;
  position: relative;
}
.ra-range-track > span { position: absolute; display: block; height: 100%; border-radius: 10px; background: #478091; }
.ra-range-featured .ra-range-track > span { background: #d36427; }
.ra-range-track > i {
  width: 9px; height: 9px; border-radius: 50%;
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  background: #fff; outline: 2px solid #284755;
}
.ra-range-axis {
  display: flex;
  justify-content: space-between;
  color: #496574;
  font-size: .74rem;
  font-variant-numeric: tabular-nums;
  margin-top: 8px;
}
.ra-ranking-section { background: #f3f7f7; }
.ra-ranking-figure figcaption {
  display: flex;
  gap: 6px 15px;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: .89rem;
  color: #476371;
  border-bottom: 1px solid #e3eaeb;
  padding-bottom: 13px;
}
.ra-ranking-grid { display: grid; gap: 22px; }
.ra-ranking-panel { min-width: 0; padding-top: 15px; }
.ra-ranking-panel h3 { margin: 0; }
.ra-ranking-panel ol { margin-top: 12px; }
.ra-rank-track i { display: block; height: 100%; border-radius: inherit; }
.ra-rank-track .above { background: #d36427; }
.ra-rank-track .below { background: #438293; }
.ra-all-states { background: #fff; border: 1px solid #d9e4e6; border-radius: 12px; padding: 13px 15px; margin-bottom: 16px; }
.ra-all-states summary { font-weight: 750; cursor: pointer; }
.ra-all-states[open] summary { margin-bottom: 11px; }
.ra-all-states caption { text-align: left; }
.ra-state-position {
  display: grid; gap: 0 14px;
  margin: 0 auto 24px;
  border-left: 4px solid #d36427;
  border-radius: 0 12px 12px 0;
  background: #fff1e6;
  padding: 13px 18px;
  width: min(var(--width), calc(100% - 34px));
  font-size: .92rem;
}
.ra-state-position a { font-weight: 750; }
.ra-field-guide { background: #faf8f2; }
.ra-field-guide h2 { max-width: 27ch; }
.ra-field-chapter {
  border-top: 3px solid #37768a;
  background: #fff;
  border-radius: 0 0 14px 14px;
  padding: 21px;
}
.ra-field-chapter p { font-size: .94rem; }
.ra-field-chapter p:last-child { margin-bottom: 0; }
.ra-bid-brief, .ra-method-example, .ra-method-quote {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px;
  padding: clamp(17px, 3vw, 29px);
  background: #163543;
  border-radius: 15px;
  color: #fff9ef;
  margin-top: 21px;
}
.ra-bid-brief p, .ra-method-example p, .ra-method-quote p { color: #dee9eb; }
.ra-bid-brief ul { margin-bottom: 0; padding-left: 1.3rem; }
.ra-bid-key { margin: 15px 0 0; }
.ra-bid-key strong { color: #fff9ef; margin-right: 5px; }
.ra-local-brief { border-top: 1px solid #ffffff3d; padding-top: 16px; }
.ra-bid-brief a:hover, .ra-method-example a:hover, .ra-method-quote a:hover { color: #ffb587; }
.ra-reading-section { background: #faf8f2; }
.ra-reading-list { padding: 0; list-style: none; margin: 18px 0; }
.ra-reading-list li { min-width: 0; }
.ra-reading-list a {
  text-decoration: none; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 12px;
  background: #fff; border: 1px solid #e4e4dc; border-radius: 12px; padding: 15px; height: 100%;
}
.ra-reading-list a span:first-of-type { grid-row: 2; font-size: .89rem; color: #526875; }
.ra-reading-list a span:last-of-type { grid-column: 2; grid-row: 1 / span 2; font-weight: 800; color: #92431c; }
.ra-method-equation {
  color: #123d4e; background: #fff; border-left: 4px solid #3c7b8e;
  border-radius: 0 12px 12px 0; padding: 15px 20px; margin: 18px 0;
}
.ra-method-equation p { margin: 5px 0 0; }
.ra-method-example { align-items: start; }
.ra-method-example .ra-range-figure { margin: 0; color: var(--ink); }
.ra-method-quote { margin-top: 0; }
.ra-method-quote p, .ra-method-example p:last-child { margin-bottom: 0; }
.ra-evidence-types { margin-top: 23px; }
.ra-editorial-credit p { font-size: .86rem; padding-bottom: 25px; }
#main-content :is(.ra-ranking-section, .ra-range-figure, .ra-bid-brief) a:focus-visible { outline-offset: 3px; }
@media (min-width: 620px) {
  .ra-project-photo-grid, .ra-scope-grid, .ra-field-chapters, .ra-state-directory, .ra-reading-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ra-ranking-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px; }
}
@media (min-width: 950px) {
  .ra-editorial-hero-grid { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
  .ra-home-hero .ra-editorial-hero-grid, .ra-project-hero .ra-editorial-hero-grid {
    grid-template-areas: "heading calculator" "photo calculator";
    row-gap: 24px;
  }
  :is(.ra-home-hero, .ra-project-hero) .ra-editorial-headline { grid-area: heading; }
  :is(.ra-home-hero, .ra-project-hero) .ra-editorial-calculator { grid-area: calculator; }
  :is(.ra-home-hero, .ra-project-hero) .ra-editorial-photo { grid-area: photo; margin: 0; }
  .ra-project-photo-grid, .ra-scope-grid, .ra-field-chapters, .ra-state-directory, .ra-reading-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ra-bid-brief, .ra-method-example, .ra-method-quote { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
  .ra-local-brief { border-top: 0; border-left: 1px solid #ffffff3d; padding: 0 0 0 25px; }
  .ra-bid-brief > div:only-child { grid-column: 1 / -1; }
  .ra-state-position { grid-template-columns: auto 1fr auto; align-items: center; }
}
@media (max-width: 619px) {
  .ra-project-hero .ra-editorial-photo, .ra-home-hero .ra-editorial-photo { margin-top: 0; }
  .ra-project-hero .ra-editorial-photo img, .ra-home-hero .ra-editorial-photo img { aspect-ratio: 2.55; }
  .ra-range-bars li div { font-size: .81rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
