/* Rowlett palette for the thunder family: amber heat on a deep teal ink.
   Distinct from waterheatertustin.com (heat 10 / ink 196) and waterheaterwhittier.com (heat 26 / ink 232). */
:root {
  --th-ink: #0f2420;
  --th-ink-2: #142c27;
  --th-ink-3: #27433d;
  --th-bg: #f7f9f8;
  --th-bg-2: #ecf2f0;
  --th-card: #ffffff;
  --th-line: #d6e1de;
  --th-acc: #a64b05;
  --th-acc-dk: #873c03;
  --th-acc-lo: #fcefe3;
  --th-cool: #2a78c2;
  --th-text: #0f2420;
  --th-body: #36494a;
  --th-mute: #56696a;
  --th-on-dark: #cfdcd9;
}
/* four heater types: one row of four, never a 3+1 orphan */
.th-units { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .th-units { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .th-units { grid-template-columns: 1fr; } .th-unit-draw { aspect-ratio: 2 / 1; } }

/* ==========================================================================
   Homepage components (rw-). Appended to palette.css by build.py.
   Order on the page: hero, services, why us, compare, process,
   before/after, service areas, map, FAQ, CTA.
   ========================================================================== */

/* --- hero ----------------------------------------------------------------- */
.rw-hero { position: relative; overflow: hidden; color: var(--th-on-dark);
  background:
    radial-gradient(760px 520px at 84% 38%, rgba(214, 108, 20, .30), transparent 62%),
    radial-gradient(640px 480px at -4% 104%, rgba(42, 120, 194, .24), transparent 60%),
    var(--th-ink); }
.rw-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask: radial-gradient(900px 600px at 70% 40%, #000, transparent 75%);
          mask: radial-gradient(900px 600px at 70% 40%, #000, transparent 75%); }
.rw-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px;
  align-items: center; padding-top: 76px; padding-bottom: 96px; }
.rw-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  font: 600 14px/1.2 var(--th-sans); color: #e8f0ee; }
.rw-pill i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; animation: rw-pulse 2.2s infinite; }
.rw-hero h1 { color: #fff; font-size: clamp(42px, 5.4vw, 74px); line-height: 1.0; margin-top: 22px; }
.rw-hero h1 em { color: #f3a35a; }
.rw-hero .rw-lede { color: #d3dfdc; font-size: 19.5px; max-width: 560px; margin-top: 22px; }
.rw-hero .th-acts { margin-top: 30px; }
.rw-proof { display: flex; flex-wrap: wrap; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.rw-proof div { padding-right: 26px; margin-right: 26px; border-right: 1px solid rgba(255,255,255,.12); }
.rw-proof div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.rw-proof dt { font: 800 26px/1.1 var(--th-display); color: #fff; letter-spacing: -.01em; }
.rw-proof dd { margin: 5px 0 0; font-size: 14px; color: #a7bbb6; }
.rw-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: #d3dfdc; }
.rw-trust li { display: flex; align-items: center; gap: 8px; }
.rw-trust .th-ic { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--th-acc); color: #fff; stroke-width: 3; flex: none; }

.rw-hero-art { position: relative; padding: 18px 0 46px 34px; }
.rw-scene { position: relative; border-radius: 32px; padding: 16px;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.08); }
.rw-svg { display: block; width: 100%; height: auto; }
.rw-float { position: absolute; z-index: 2; background: #fff; color: var(--th-text); border-radius: 18px;
  box-shadow: 0 26px 50px -22px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.12); }
.rw-float-panel { left: 0; bottom: 8px; padding: 14px 20px 12px 14px; }
.rw-fp-fig { display: flex; align-items: center; gap: 14px; }
.rw-fp-fig .th-dial { width: 96px; height: auto; flex: none; }
.rw-fp-fig small { display: block; font-size: 12.5px; color: var(--th-mute); font-weight: 600; }
.rw-fp-fig strong { display: block; font: 800 24px/1.15 var(--th-display); color: var(--th-text); }
.rw-float-chip { right: -8px; top: 34px; display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  font: 650 14.5px/1.2 var(--th-sans); }
.rw-float-chip .th-ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: #1e9e5a; color: #fff; stroke-width: 3; flex: none; }

.rw-lab text { font: 700 11px var(--th-sans); letter-spacing: .12em; }
.rw-num text, .rw-x text { font: 800 13px var(--th-sans); }
.rw-flow { animation: rw-flow 1.3s linear infinite; }
.rw-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: rw-flick 1s ease-in-out infinite alternate; }
.rw-shimmer path { animation: rw-rise 2.6s ease-in-out infinite; }
.rw-shimmer path:nth-child(2) { animation-delay: .5s; }
.rw-shimmer path:nth-child(3) { animation-delay: 1s; }
.rw-heat { animation: rw-glow 3.2s ease-in-out infinite alternate; }
@keyframes rw-flow { to { stroke-dashoffset: -48; } }
@keyframes rw-flick { from { transform: scaleY(.84); } to { transform: scaleY(1.14); } }
@keyframes rw-rise { 0% { opacity: 0; transform: translateY(8px); } 45% { opacity: .9; } 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes rw-glow { from { opacity: .7; } to { opacity: 1; } }
@keyframes rw-pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
@media (prefers-reduced-motion: reduce) {
  .rw-flow, .rw-flame, .rw-shimmer path, .rw-heat, .rw-pill i { animation: none; }
}

/* --- centered section heads --------------------------------------------- */
.th-shead.rw-center { justify-content: center; text-align: center; }
.rw-center .th-shead-in { max-width: 780px; margin: 0 auto; }
.rw-center-note { text-align: center; max-width: 780px; margin: 22px auto 0; }

/* --- services cards ------------------------------------------------------- */
.rw-svcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rw-svc { display: flex; flex-direction: column; overflow: hidden; background: var(--th-card);
  border: 1px solid var(--th-line); border-radius: 22px; box-shadow: var(--th-shadow);
  transition: transform var(--th-fast), box-shadow var(--th-fast), border-color var(--th-fast); }
.rw-svc:hover { transform: translateY(-4px); box-shadow: var(--th-shadow-lg); border-color: rgba(166,75,5,.35); }
.rw-svc-draw { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10;
  background: radial-gradient(circle at 50% 62%, var(--th-acc-lo), transparent 68%), var(--th-bg-2);
  border-bottom: 1px solid var(--th-line); }
.rw-svc-draw svg, .rw-ct-ic svg { width: 46%; height: auto; fill: none; stroke: var(--th-ink); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round; }
.rw-svc-draw svg .th-hot, .rw-ct-ic svg .th-hot { stroke: var(--th-acc); }
.rw-svc-draw .th-unit-no { position: absolute; left: 14px; top: 14px; }
.rw-svc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.rw-svc-body h3 { font-size: 20px; }
.rw-svc-body p { margin: 10px 0 16px; color: var(--th-mute); font-size: 15.5px; }
.rw-svc-body dl { margin: 0 0 18px; display: grid; gap: 8px; }
.rw-svc-body dl div { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px;
  border-top: 1px dashed var(--th-line); font-size: 14.5px; }
.rw-svc-body dt { color: var(--th-mute); }
.rw-svc-body dd { margin: 0; font-weight: 700; color: var(--th-text); text-align: right; }
.rw-svc-call { margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font: 650 15px var(--th-display); color: var(--th-acc); text-decoration: none; }
.rw-svc-call .th-ic { width: 18px; height: 18px; }
.rw-svc-call:hover span { text-decoration: underline; }

/* --- why us --------------------------------------------------------------- */
.rw-why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.rw-why-copy p { margin: 0 0 16px; }
.rw-callout { display: flex; gap: 20px; align-items: center; margin: 24px 0; padding: 22px 24px;
  border-radius: 20px; background: var(--th-ink); color: var(--th-on-dark); }
.rw-callout strong { font: 800 46px/1 var(--th-display); color: #f3a35a; flex: none; }
.rw-callout span { font-size: 15.5px; line-height: 1.5; }
.rw-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rw-why-card { background: var(--th-card); border: 1px solid var(--th-line); border-radius: 18px; padding: 22px; }
.rw-why-ic .th-ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--th-acc-lo); color: var(--th-acc); }
.rw-why-card h3 { font-size: 18.5px; margin-top: 14px; }
.rw-why-card p { margin: 6px 0 0; font-size: 15px; color: var(--th-mute); }

/* --- comparison table ----------------------------------------------------- */
.rw-compare-wrap { overflow-x: auto; border-radius: 22px; border: 1px solid var(--th-line);
  background: var(--th-card); box-shadow: var(--th-shadow); }
.rw-compare { width: 100%; min-width: 780px; border-collapse: collapse; }
.rw-compare th, .rw-compare td { padding: 16px 18px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--th-line); font-size: 15.5px; }
.rw-compare thead th { vertical-align: bottom; background: var(--th-bg); font: 700 16.5px/1.2 var(--th-display); color: var(--th-text); }
.rw-compare thead th em { display: inline-block; margin-top: 6px; padding: 3px 8px; border-radius: 999px;
  background: #fff; color: var(--th-acc); font: 700 11px var(--th-sans); letter-spacing: .08em; text-transform: uppercase; font-style: normal; }
.rw-compare thead th.is-pop { background: var(--th-acc); color: #fff; }
.rw-compare thead th.is-pop svg { stroke: #fff; }
.rw-compare thead th.is-pop svg .th-hot { stroke: #ffd7ad; }
.rw-compare td.is-pop { background: var(--th-acc-lo); }
.rw-compare tbody th { width: 21%; font-weight: 650; color: var(--th-text); font-family: var(--th-sans); }
.rw-compare tbody tr:first-child td { font: 800 17px var(--th-display); color: var(--th-text); }
.rw-compare tbody tr:last-child th, .rw-compare tbody tr:last-child td { border-bottom: 0; }
.rw-compare thead th:first-child, .rw-compare tbody th { position: sticky; left: 0; z-index: 1; background: var(--th-card); }
.rw-compare thead th:first-child { background: var(--th-bg); }
.rw-ct-ic { display: block; width: 46px; height: 46px; margin-bottom: 8px; }
.rw-ct-ic svg { width: 100%; }
.rw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- process: included strip --------------------------------------------- */
.rw-incl { margin-top: 52px; padding: 26px 28px; border-radius: 22px; background: var(--th-bg); border: 1px solid var(--th-line); }
.rw-incl h3 { font-size: 19px; margin-bottom: 16px; }
.rw-incl ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 22px; }
.rw-incl li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; color: var(--th-text); }
.rw-incl .th-ic { flex: none; width: 20px; height: 20px; padding: 3px; margin-top: 1px; border-radius: 50%; background: var(--th-acc); color: #fff; stroke-width: 3; }

/* --- before / after ------------------------------------------------------- */
.rw-ba-split { display: grid; grid-template-columns: minmax(0, 500px) 1fr; gap: 56px; align-items: center; }
.rw-ba { position: relative; aspect-ratio: 520 / 580; border-radius: 24px; overflow: hidden; user-select: none;
  border: 1px solid var(--th-line); box-shadow: var(--th-shadow-lg); background: #f3eee4; }
.rw-ba-layer { position: absolute; inset: 0; }
.rw-ba-layer .rw-svg { width: 100%; height: 100%; }
.rw-ba-before { background: #f3eee4; }
.rw-ba-after { background: #eaf3f1; clip-path: inset(0 0 0 var(--pos)); }
.rw-ba input { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.rw-ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 3px; margin-left: -1.5px;
  background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); pointer-events: none; }
.rw-ba-line span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px;
  border-radius: 50%; background: var(--th-acc); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px -8px rgba(0,0,0,.5); }
.rw-ba-line .th-ic { width: 16px; height: 16px; stroke-width: 3; }
.rw-ba-line .rw-flip { transform: scaleX(-1); }
.rw-ba input:focus-visible + .rw-ba-line span { outline: 3px solid var(--th-ink); outline-offset: 3px; }
.rw-ba-tag { position: absolute; top: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; pointer-events: none;
  font: 700 12px var(--th-sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.rw-ba-tag-b { left: 14px; background: #9a2a1a; }
.rw-ba-tag-a { right: 14px; background: var(--th-ink); }
.rw-ba-cap { margin: 12px 0 0; text-align: center; font-size: 13.5px; color: var(--th-mute); }
.rw-ba-lede { font-size: 18px; margin: 0 0 22px; }
.rw-ba-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.rw-ba-list li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 18px; border-radius: 16px;
  background: var(--th-card); border: 1px solid var(--th-line); }
.rw-ba-list b { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--th-acc); color: #fff;
  display: grid; place-items: center; font: 800 14px var(--th-display); }
.rw-ba-list strong { display: block; color: var(--th-text); font-size: 16.5px; }
.rw-ba-list span { font-size: 15px; color: var(--th-mute); }

/* --- service areas -------------------------------------------------------- */
.rw-sub { font-size: 20px; margin: 0 0 16px; }
.th-areas + .rw-sub { margin-top: 38px; }

/* --- map ------------------------------------------------------------------ */
.rw-map { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: stretch; }
.rw-map-frame { position: relative; min-width: 0; min-height: 440px; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--th-line); box-shadow: var(--th-shadow); background: var(--th-bg-2); }
.rw-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rw-map-card { background: var(--th-card); border: 1px solid var(--th-line); border-radius: 24px; padding: 28px; box-shadow: var(--th-shadow); }
.rw-map-card h3 { font-size: 22px; }
.rw-map-card p { color: var(--th-mute); margin: 10px 0 18px; }
.rw-map-card dl { margin: 0 0 22px; }
.rw-map-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--th-line); font-size: 15px; }
.rw-map-card dt { color: var(--th-mute); }
.rw-map-card dd { margin: 0; font-weight: 650; color: var(--th-text); text-align: right; }
.rw-map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font: 650 15px var(--th-display); color: var(--th-text); }
.rw-map-link .th-ic { width: 18px; height: 18px; }

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 1040px) {
  .rw-hero-grid { grid-template-columns: 1fr; gap: 44px; padding-top: 56px; padding-bottom: 72px; }
  .rw-hero-art { max-width: 560px; width: 100%; margin: 0 auto; }
  .rw-svcs { grid-template-columns: 1fr 1fr; }
  .rw-why, .rw-ba-split, .rw-map { grid-template-columns: 1fr; }
  .rw-ba { max-width: 500px; margin: 0 auto; }
  .rw-incl ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .rw-hero-grid { padding-top: 40px; padding-bottom: 56px; }
  .rw-hero h1 { font-size: 40px; }
  .rw-hero .rw-lede { font-size: 17.5px; }
  .rw-proof div { padding-right: 12px; margin-right: 12px; }
  .rw-proof dt { font-size: 18px; }
  .rw-proof dd { font-size: 12.5px; }
  .rw-hero-art { padding: 10px 0 30px; }
  .rw-scene { padding: 10px; border-radius: 24px; }
  .rw-float-chip { right: 6px; top: -6px; padding: 9px 12px; font-size: 13px; }
  .rw-float-panel { left: 6px; bottom: -4px; padding: 10px 14px 8px 10px; }
  .rw-fp-fig .th-dial { width: 70px; }
  .rw-fp-fig strong { font-size: 19px; }
  .rw-svcs, .rw-why-grid, .rw-incl ul { grid-template-columns: 1fr; }
  .rw-callout { flex-direction: column; align-items: flex-start; gap: 8px; }
  .rw-callout strong { font-size: 36px; }
  .rw-map-frame { min-height: 0; aspect-ratio: 1 / 1; }
}

/* --- fixes after the first visual pass ------------------------------------ */
.rw-proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
.rw-svc-body dt { white-space: nowrap; }
.rw-end { background: var(--th-bg); color: var(--th-on-dark); padding: 84px 0; }
.rw-end::after { display: none; }
.rw-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: center;
  padding: 56px; border-radius: 32px; box-shadow: var(--th-shadow-lg);
  background: radial-gradient(640px 400px at 92% 20%, rgba(214,108,20,.38), transparent 62%),
              radial-gradient(520px 360px at 0% 110%, rgba(42,120,194,.28), transparent 60%), var(--th-ink); }
.rw-cta h2 { color: #fff; }
.rw-cta .th-end-in p { color: #d3dfdc; }
.rw-cta-side { padding: 28px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.rw-cta-side small { display: block; font: 700 12px var(--th-sans); letter-spacing: .12em; text-transform: uppercase; color: #a7bbb6; }
.rw-cta-num { display: block; margin: 6px 0 18px; font: 800 36px/1.1 var(--th-display); color: #fff; text-decoration: none; letter-spacing: -.01em; }
.rw-cta-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rw-cta-side li { display: flex; gap: 10px; align-items: center; color: #e3ecea; font-size: 15.5px; }
.rw-cta-side .th-ic { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--th-acc); color: #fff; stroke-width: 3; }
@media (max-width: 1040px) { .rw-cta { grid-template-columns: 1fr; padding: 40px 32px; } }
@media (max-width: 640px) {
  .rw-end { padding: 56px 0; }
  .rw-cta { padding: 32px 20px; border-radius: 24px; gap: 28px; }
  .rw-cta-num { font-size: 30px; }
  .rw-proof { grid-template-columns: repeat(3, minmax(0, auto)); }
}

/* --- compact service cards: no image, short height (owner, 2026-10-11) --- */
.rw-svc { padding: 22px 22px 18px; gap: 0; }
.rw-svc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.rw-svc-no { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 8px;
  background: var(--th-ink); color: #fff; font: 800 13px var(--th-display); font-style: italic; }
.rw-svc-price { padding: 5px 10px; border-radius: 999px; background: var(--th-acc-lo); color: var(--th-acc-dk);
  font: 700 13.5px var(--th-sans); white-space: nowrap; }
.rw-svc h3 { font-size: 19px; }
.rw-svc p { margin: 8px 0 16px; color: var(--th-mute); font-size: 15px; line-height: 1.55; }
.rw-svc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 12px; border-top: 1px dashed var(--th-line); font-size: 14px; color: var(--th-body); }
.rw-svc-foot b { display: block; font: 700 11.5px var(--th-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--th-mute); }
.rw-svc-call { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--th-acc); color: #fff; margin-top: 0; }
.rw-svc-call .th-ic { width: 18px; height: 18px; }
.rw-svc-call:hover { background: var(--th-acc-dk); }

/* --- process steps, boxed (owner, 2026-10-11): just a box, no effects;
       inside it the steps keep the theme's own styling and connector line --- */
.rw-steps-box .th-steps { gap: 20px; align-items: stretch; }
.rw-steps-box .th-step { padding: 94px 24px 26px; border-radius: 22px; background: var(--th-bg); border: 1px solid var(--th-line); }
.rw-steps-box .th-step-n { left: calc(50% - 26px); top: 24px; z-index: 1; }   /* number centered in the card */
.rw-steps-box .th-step::before { left: 24px; right: 24px; top: 49px; }          /* line runs behind the tile */
.rw-steps-box .th-step::after { left: 24px; right: 50%; width: auto; top: 49px; }

/* ---- 2026-10-13: dropdown nav, services and blog (reference site structure) ---- */
.th-dd { position: relative; display: flex; align-items: center; align-self: stretch; }
.th-dd > a { padding-right: 4px; }
.th-dd-btn { display: grid; place-items: center; width: 24px; height: 24px; margin-left: -2px; border: 0; background: none;
  color: var(--th-body); cursor: pointer; border-radius: 6px; }
.th-dd-btn svg { transition: transform var(--th-fast); }
.th-dd:hover .th-dd-btn svg, .th-dd.th-dd-open .th-dd-btn svg { transform: rotate(180deg); }
.th-dd-menu { display: none; position: absolute; left: -12px; top: 100%; z-index: 60; min-width: 330px; padding: 10px;
  background: var(--th-card); border: 1px solid var(--th-line); border-radius: 14px; box-shadow: var(--th-shadow-lg); }
.th-dd:hover .th-dd-menu, .th-dd:focus-within .th-dd-menu, .th-dd.th-dd-open .th-dd-menu { display: block; }
.th-dd-menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14.5px; white-space: nowrap; }
.th-dd-menu a::after { display: none; }
.th-dd-menu a:hover { background: var(--th-bg-2); }
.th-dd-menu .th-dd-all { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--th-line); font-weight: 700; color: var(--th-acc-dk); border-radius: 0 0 8px 8px; }
.th-dd-menu .th-dd-all .th-ic { width: 15px; height: 15px; vertical-align: -2px; margin-left: 6px; }
.th-dd-areas { min-width: 520px; }
.th-dd-areas.th-dd-menu { display: none; }
.th-dd:hover .th-dd-areas, .th-dd:focus-within .th-dd-areas, .th-dd.th-dd-open .th-dd-areas { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; }
.th-dd-areas .th-dd-all { grid-column: 1 / -1; }
.th-dd-col h4 { margin: 4px 12px 6px; font: 700 11.5px var(--th-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--th-mute); }
.th-foot-grid { grid-template-columns: 1.4fr 1.2fr 1fr 1fr .9fr; gap: 32px; }
.rw-svcs-3 { grid-template-columns: repeat(3, 1fr); }
.rw-svc h3 a { color: inherit; text-decoration: none; }
.rw-svc h3 a:hover { color: var(--th-acc-dk); }
.rw-svc-more { display: inline-flex; align-items: center; gap: 8px; font: 700 14.5px var(--th-sans); color: var(--th-acc-dk); text-decoration: none; }
.rw-svc-more .th-ic { width: 16px; height: 16px; }
.rw-svc-more:hover { text-decoration: underline; }
.rw-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rw-post { display: flex; flex-direction: column; padding: 24px 24px 20px; background: var(--th-card); border: 1px solid var(--th-line); border-radius: 18px; }
.rw-post-no { align-self: flex-start; padding: 3px 9px; border-radius: 8px; background: var(--th-acc-lo); color: var(--th-acc-dk); font: 700 12.5px var(--th-sans); margin-bottom: 14px; }
.rw-post h3 { font-size: 19px; line-height: 1.3; }
.rw-post h3 a { color: inherit; text-decoration: none; }
.rw-post h3 a:hover { color: var(--th-acc-dk); }
.rw-post p { margin: 10px 0 18px; color: var(--th-mute); font-size: 15px; line-height: 1.55; }
.rw-post .rw-svc-more { margin-top: auto; }
.rw-article { max-width: 760px; margin: 0 auto; }
.rw-article h2 { margin: 38px 0 12px; font-size: clamp(22px, 3vw, 28px); }
.rw-article h2:first-child { margin-top: 0; }
.rw-article p { margin: 0 0 16px; font-size: 17.5px; line-height: 1.7; color: var(--th-body); }
@media (max-width: 1180px) { .th-foot-grid { grid-template-columns: 1fr 1fr 1fr; } .th-dd-areas { min-width: 460px; } }
@media (max-width: 1040px) {
  .rw-svcs-3, .rw-posts { grid-template-columns: 1fr 1fr; }
  .th-dd { display: grid; grid-template-columns: 1fr auto; align-self: auto; border-bottom: 1px solid var(--th-line); }
  .th-dd > a { border-bottom: 0; }
  .th-dd-btn { width: 44px; height: 44px; margin: 0; }
  .th-dd-menu, .th-dd-areas.th-dd-menu { position: static; grid-column: 1 / -1; min-width: 0; box-shadow: none; border: 0; padding: 0 0 8px 12px; background: none; }
  .th-dd:hover .th-dd-menu, .th-dd:focus-within .th-dd-menu { display: none; }
  .th-dd.th-dd-open .th-dd-menu { display: block; }
  .th-dd.th-dd-open .th-dd-areas { display: block; }
  .th-dd-menu a { padding: 10px 6px; font-size: 15.5px; white-space: normal; border-bottom: 1px solid var(--th-line); }
  .th-dd-menu .th-dd-all { border-top: 0; margin-top: 0; padding-top: 10px; }
}
@media (max-width: 640px) { .rw-svcs-3, .rw-posts { grid-template-columns: 1fr; } .th-foot-grid { grid-template-columns: 1fr; } }
.th-dd-areas.th-dd-menu { left: auto; right: -40px; }
@media (max-width: 1040px) { .th-dd-areas.th-dd-menu { right: auto; } }
@media (max-width: 1040px) { .th-nav.th-open { max-height: calc(100vh - 76px); overflow-y: auto; overscroll-behavior: contain; } }
.rw-article ul { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; }
.rw-article li { font-size: 17.5px; line-height: 1.65; color: var(--th-body); }
.rw-article a { color: var(--th-acc-dk); text-decoration: underline; text-underline-offset: 3px; }
.rw-updated { margin: 14px 0 0; font-size: 13.5px; color: var(--th-mute); }
.rw-stats { background: var(--th-card); border-bottom: 1px solid var(--th-line); }
.rw-stats .th-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; }
.rw-stat { padding: 24px 22px; border-left: 1px solid var(--th-line); display: grid; gap: 4px; align-content: start; }
.rw-stat:first-child { border-left: 0; padding-left: 0; }
.rw-stat strong { font: 800 clamp(24px, 3vw, 32px)/1.1 var(--th-display); color: var(--th-text); letter-spacing: -.01em; }
.rw-stat span { font-size: 14.5px; line-height: 1.4; color: var(--th-body); }
.rw-stat em { font-style: normal; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--th-mute); margin-top: 4px; }
.rw-quick { max-width: 880px; margin: 0 auto; padding: 22px 26px; border-left: 5px solid var(--th-acc); background: var(--th-acc-lo); border-radius: 0 16px 16px 0; }
.rw-quick b { display: block; font: 700 12.5px var(--th-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--th-acc-dk); margin-bottom: 8px; }
.rw-quick p { margin: 0; font-size: 18.5px; line-height: 1.6; color: var(--th-text); }
.rw-prose { max-width: 820px; }
.rw-prose p, .rw-prose li { font-size: 17.5px; line-height: 1.7; color: var(--th-body); }
.rw-prose p { margin: 0 0 16px; }
.rw-prose ul { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; }
.rw-prose a { color: var(--th-acc-dk); text-decoration: underline; text-underline-offset: 3px; }
.rw-prose .rw-callout { margin: 0 0 22px; }
.rw-table-wrap { overflow-x: auto; margin: 6px 0 22px; border: 1px solid var(--th-line); border-radius: 14px; background: var(--th-card); }
.rw-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.rw-table caption { text-align: left; padding: 14px 18px 4px; font: 700 13px var(--th-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--th-mute); }
.rw-table th, .rw-table td { padding: 12px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--th-line); line-height: 1.45; }
.rw-table thead th { border-top: 0; font: 700 12.5px var(--th-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--th-mute); background: var(--th-bg-2); }
.rw-table tbody th { font-weight: 700; color: var(--th-text); white-space: nowrap; }
.rw-sources { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 10px; max-width: 900px; }
.rw-sources li { font-size: 15px; line-height: 1.5; color: var(--th-body); }
.rw-sources a { color: var(--th-acc-dk); }
.rw-sources span { display: block; font-size: 13.5px; color: var(--th-mute); }
@media (max-width: 700px) { .rw-stat { border-left: 0; border-top: 1px solid var(--th-line); padding: 18px 0; } .rw-stat:first-child { border-top: 0; } .rw-quick { border-radius: 0 12px 12px 0; padding: 18px 18px; } .rw-quick p { font-size: 17px; } }
