/* Phase 2 — minimal additions only. Loaded after styles.css.
   Wide photo placeholder band (strike team). Reuses existing tokens. */
.photo-placeholder-wide {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(220px, 34vw, 380px);
  padding: clamp(20px, 3vw, 30px);
  margin-top: 12px;
}
.photo-placeholder-wide::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, var(--primary) 0 72%, var(--accent) 72%);
}
.photo-placeholder-wide .photo-placeholder-label {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Real photos ---------- */

/* Photo card — replaces report-preview-card / photo-placeholder when we have a real image. */
.photo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.photo-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, var(--primary) 0 72%, var(--accent) 72%);
  z-index: 1;
}
.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Wide photo band — replaces photo-placeholder-wide when we have a real image. */
.photo-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  margin-top: 12px;
}
.photo-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, var(--primary) 0 72%, var(--accent) 72%);
  z-index: 1;
}
.photo-band img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* Marquis gallery — grid of thumbnails below the Marquis card. */
.marquis-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
@media (min-width: 720px) {
  .marquis-gallery { grid-template-columns: repeat(3, 1fr); }
}
.marquis-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.marquis-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ---------- Photo attribution caption ---------- */
.photo-attribution {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 2;
  text-align: right;
}

/* ---------- Manufacturer quote band (strike-team page) ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media (min-width: 900px) {
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
}
.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 2.5vw, 28px);
  position: relative;
  overflow: hidden;
  margin: 0;
}
.quote-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--border);
}
.quote-card--us::before {
  background: linear-gradient(90deg, var(--primary) 0 72%, var(--accent) 72%);
}
.quote-body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 20px 0;
  font-weight: 500;
}
.quote-attribution {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.quote-attribution strong {
  color: var(--text);
  font-weight: 700;
}
.quote-attribution a {
  color: var(--primary);
  text-decoration: none;
  font-size: 12px;
}
.quote-attribution a:hover { text-decoration: underline; }

/* =================== HOMEPAGE — SCOPE GRID =================== */
.scope-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) {
  .scope-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}
.scope-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.scope-col--in { border-left: 4px solid var(--primary); }
.scope-col--out { border-left: 4px solid var(--border-strong, var(--border)); }
.scope-col .scope-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.scope-col--in .scope-label { color: var(--primary); }
.scope-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.scope-col li {
  padding: 8px 0 8px 22px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  position: relative;
}
.scope-col li:last-child { border-bottom: none; }
.scope-col--in li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 12px; height: 8px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}
.scope-col--out li::before {
  content: "";
  position: absolute;
  left: 2px; top: 15px;
  width: 10px; height: 2px;
  background: var(--text-muted);
}
.scope-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* =================== HOMEPAGE — DRAWS BAND =================== */
.draws-band {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.draws-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 16px;
}
.draws-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) {
  .draws-grid { grid-template-columns: repeat(3, 1fr); }
}
.draw {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-left: 3px solid var(--primary);
  padding-left: 18px;
}
.draw-pct {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.draw-when {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* =================== HOMEPAGE — PROOF GRID =================== */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px)  { .proof-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px)  { .proof-grid { grid-template-columns: repeat(3, 1fr); } }
.proof-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.proof-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.proof-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.proof-card figcaption {
  padding: 20px 22px 22px;
}
.proof-card .proof-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 8px;
}
.proof-card .proof-detail {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.proof-cta {
  margin-top: 26px;
  text-align: center;
}

/* =================== HOMEPAGE — STATES GRID =================== */
.states-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) { .states-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .states-grid { grid-template-columns: repeat(4, 1fr); } }
.state-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.state-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--text);
}
.state-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* =================== FIRM FACTS GRID (strike-team.html) =================== */
.firm-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.firm-fact {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #D4D1CA);
  border-radius: 10px;
  padding: 22px 22px 24px;
}
.firm-fact-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, #7A7974);
  font-weight: 600;
  margin: 0 0 8px;
}
.firm-fact-value {
  font-size: 20px;
  line-height: 1.3;
  color: var(--text, #28251D);
  font-weight: 600;
  margin: 0 0 10px;
}
.firm-fact-detail {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted, #7A7974);
  margin: 0;
}

/* =================== CASE STUDY (case-studies/*.html) =================== */
.case-hero-photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border, #D4D1CA);
}
.case-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.case-hero-photo figcaption {
  padding: 14px 18px 16px;
  font-size: 14px;
  color: var(--text-muted, #7A7974);
  background: var(--surface, #fff);
  border-top: 1px solid var(--border, #D4D1CA);
  line-height: 1.5;
}
.case-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.case-photo {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border, #D4D1CA);
  background: var(--surface, #fff);
}
.case-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.case-photo figcaption {
  padding: 10px 14px 12px;
  font-size: 13px;
  color: var(--text-muted, #7A7974);
  border-top: 1px solid var(--border, #D4D1CA);
  line-height: 1.5;
}
.project-actions {
  margin-top: 20px;
}

/* =================== PHOTO CAPTION (what-we-build reference images) =================== */
.photo-caption-muted {
  margin-top: 10px;
  padding: 0 6px;
  font-size: 12px;
  color: var(--text-muted, #7A7974);
  font-style: normal;
  line-height: 1.5;
}

/* =================== ARTICLE PAGE — TYPOGRAPHY + COMPONENTS =================== */

/* Card variant used in articles (comparison / feature grids) */
.scope-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.scope-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 12px;
}
.scope-card p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 10px;
}
.scope-card ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.scope-card li {
  padding: 8px 0 8px 22px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  position: relative;
}
.scope-card li:last-child { border-bottom: 0; }
.scope-card li::before {
  content: "·";
  position: absolute;
  left: 6px;
  color: var(--primary);
  font-weight: 700;
}

/* Article body — narrow readable measure */
.text-column {
  max-width: 68ch;
}
.text-column p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 18px;
}
.text-column p:last-child { margin-bottom: 0; }

/* Ordered list for the "what to ask" section */
.ordered-list {
  counter-reset: item;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 68ch;
}
.ordered-list li {
  counter-increment: item;
  padding: 18px 0 18px 48px;
  border-bottom: 1px solid var(--border);
  position: relative;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}
.ordered-list li:last-child { border-bottom: 0; }
.ordered-list li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 0.06em;
}
.ordered-list li strong {
  color: var(--text);
  font-weight: 700;
}

/* Comparison table — desktop: normal table. Mobile: stacked cards (see styles.css). */
.comparison-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 721px) {
  .comparison-table-wrap { overflow-x: auto; }
}
.comparison-table-hint { display: none; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}
@media (min-width: 721px) {
  .comparison-table { min-width: 640px; }
}
.comparison-table thead th {
  background: var(--surface-alt, var(--surface));
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 2px solid var(--border);
}
.comparison-table tbody th {
  text-align: left;
  font-weight: 700;
  color: var(--text);
  padding: 14px 18px;
  vertical-align: top;
  width: 22%;
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt, var(--surface));
}
.comparison-table tbody td {
  padding: 14px 18px;
  color: var(--text);
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td { border-bottom: 0; }

/* CTA section at article end */
.section-cta { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 900px) {
  .cta-inner { grid-template-columns: 1.4fr 1fr; gap: 40px; }
}
.cta-copy .h2 { margin: 0 0 10px; }
.cta-copy .section-lede { margin: 0; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (min-width: 900px) {
  .cta-actions { justify-content: flex-end; }
}

/* ============ PLAN LADDER (lakes-by-size list) ============ */
.plan-ladder {
  list-style: none;
  padding: 0;
  margin: 2rem 0 1.5rem;
  border-top: 1px solid var(--border);
}
.plan-ladder li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
  color: var(--ink);
}
.plan-ladder li strong {
  color: var(--ink);
  margin-right: 0.5rem;
}
.plan-ladder li a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.plan-ladder li a:hover {
  color: var(--brand-hover);
}
.section-note {
  margin-top: 1rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.section-note a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* Alt-elevation strip beneath a plan's main two-column block */
.plan-alt-wrap {
  margin-top: 32px;
}
.plan-alt-kicker {
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted, #6b6b6b);
}
.plan-alt-figure {
  max-width: 100%;
}
.plan-alt-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* ============================================
   HOW IT WORKS — process blocks
   ============================================ */
.process-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .process-block { grid-template-columns: 200px 1fr; gap: 3.5rem; }
  .process-block--reverse { grid-template-columns: 1fr 200px; }
  .process-block--reverse .process-block-num { order: 2; }
  .process-block--reverse .process-block-body { order: 1; }
}

.process-block-num {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.4rem;
  border-top: 2px solid var(--text, #28251d);
}
.process-block-num .step-num {
  font-family: var(--font-display, 'DM Serif Display', Georgia, serif);
  font-size: 3.5rem;
  line-height: 1;
  margin: 0;
  color: var(--text, #28251d);
}
.process-block-num .step-tag {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted, #7a7974);
  margin: 0;
  font-weight: 600;
}

.process-block-body h2.h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}
.process-block-body p {
  margin-top: 0;
  margin-bottom: 1.1rem;
  line-height: 1.6;
}
.process-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1rem 0;
  border-left: 2px solid var(--border, #d4d1ca);
}
.process-list li {
  padding: 0.4rem 0 0.4rem 1.1rem;
  line-height: 1.5;
}
.process-list-note {
  font-size: 0.92rem;
  color: var(--text-muted, #7a7974);
  font-style: italic;
  margin-top: 0.6rem;
}

/* firm-facts container used on how-it-works and the-firm */
.firm-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 800px) {
  .firm-facts { grid-template-columns: repeat(3, 1fr); }
}
.firm-fact-note {
  font-size: 0.9rem;
  color: var(--text-muted, #7a7974);
  margin: 0.4rem 0 0 0;
  line-height: 1.45;
}

/* ============================================
   FEATURED PLAN STRIP — homepage Truman callout
   ============================================ */
.featured-plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .featured-plan-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.featured-plan-copy .kicker {
  margin-bottom: 0.6rem;
}
.featured-plan-photo {
  order: -1;
}
@media (min-width: 800px) {
  .featured-plan-photo { order: 2; }
}

/* ==========================================================================
   v3 — Buildings, states, guides (added 2026-07-27)
   Uses existing tokens only. No new fonts, no new palette entries.
   ========================================================================== */

/* --- Nav additions: Where we build dropdown --- */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown > button {
  font: inherit; color: inherit; background: none; border: 0; padding: 0;
  cursor: pointer; letter-spacing: inherit;
}
.nav-dropdown__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  min-width: 190px; background: var(--surface, #fbfbf9);
  border: 1px solid var(--border, #C9C2B2); border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20,19,19,0.14);
  padding: 8px; display: none; z-index: 60;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu { display: block; }
.nav-dropdown__menu a { display: block; padding: 7px 10px; border-radius: 5px; white-space: nowrap; }
.nav-dropdown__menu a:hover { background: var(--bg-tint, #f4f0e6); }

/* --- Kit hero --- */
.kit-hero__grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 940px) { .kit-hero__grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.kit-hero__meta {
  margin: 12px 0 0 0; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted, #6E6862);
}
.kit-hero__pricebar {
  margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border, #C9C2B2); border-radius: 8px; overflow: hidden;
  background: var(--surface, #fbfbf9);
}
.kit-hero__pricebar > div { padding: 12px 14px; border-right: 1px solid var(--border, #C9C2B2); }
.kit-hero__pricebar > div:last-child { border-right: 0; }
.kit-hero__pricelabel {
  margin: 0; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted, #6E6862);
}
.kit-hero__price { margin: 4px 0 0 0; font-size: 1.24rem; font-weight: 700; color: var(--text, #141313); }
.kit-hero__price span {
  display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-muted, #6b6862);
}
.kit-hero__price--quote { font-size: 1.05rem; }
.kit-hero__photo { margin: 0; }
.kit-hero__photo img { width: 100%; height: auto; border-radius: 10px; display: block; }
.kit-hero__photo figcaption {
  margin-top: 8px; font-size: 0.8rem; color: var(--text-muted, #6E6862); line-height: 1.5;
}
.kit-uses {
  margin: 18px 0 0 0; padding: 0; list-style: none;
  display: grid; gap: 8px; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .kit-uses { grid-template-columns: 1fr 1fr; } }
.kit-uses li { position: relative; padding-left: 18px; color: var(--text, #141313); }
.kit-uses li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px;
  background: #b8892f; border-radius: 1px;
}

/* --- Floor plan --- */
.fp-wrap {
  border: 1px solid var(--border, #C9C2B2); border-radius: 10px; background: #fdfaf3;
  padding: 14px; overflow-x: auto;
}
.fp-svg { display: block; margin: 0 auto; min-width: 560px; }

/* --- Kit spec table --- */
.kit-spec {
  margin: 0; border: 1px solid var(--border, #C9C2B2); border-radius: 10px; overflow: hidden;
  background: var(--surface, #fbfbf9);
}
.kit-spec__row { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--border, #C9C2B2); }
.kit-spec__row:last-child { border-bottom: 0; }
@media (min-width: 720px) { .kit-spec__row { grid-template-columns: 220px 1fr; } }
.kit-spec dt {
  padding: 12px 16px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted, #6E6862); background: var(--bg-tint, #f4f0e6);
}
.kit-spec dd { margin: 0; padding: 12px 16px; line-height: 1.55; }
.kit-spec__source {
  margin-top: 14px; font-size: 0.9rem; color: var(--text-muted, #6E6862);
  border-left: 4px solid #b8892f; padding: 8px 0 8px 14px;
}

/* --- Color swatches --- */
.color-families { display: grid; gap: 22px; }
.color-family__label {
  margin: 0 0 10px 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted, #6E6862);
}
.swatch-grid {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px;
}
.swatch { width: 92px; text-align: center; }
.swatch__chip { display: block; width: 40px; height: 40px; border-radius: 4px; margin: 0 auto 6px auto; }
.swatch__name { display: block; font-size: 0.72rem; line-height: 1.3; color: var(--text, #141313); }
.finish-note {
  margin-top: 24px; display: grid; gap: 14px; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .finish-note { grid-template-columns: 1fr 1fr; } }
.finish-note > div {
  border: 1px solid var(--border, #C9C2B2); border-radius: 8px; padding: 14px 16px;
  background: var(--surface, #fbfbf9);
}
.finish-note__label { margin: 0 0 6px 0; font-weight: 700; }
.finish-note p { margin: 0; color: var(--text-muted, #6E6862); }

/* --- Panel profiles --- */
.profile-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .profile-grid { grid-template-columns: 1fr 1fr; } }
.profile-card {
  border: 1px solid var(--border, #C9C2B2); border-radius: 10px; padding: 20px;
  background: var(--surface, #fbfbf9); border-top: 4px solid #b8892f;
}
.profile-card--upgrade { border-top-color: #1B2A4E; }
.profile-card__tag {
  margin: 0 0 6px 0; display: inline-block; background: #b8892f; color: #fff;
  padding: 3px 8px; border-radius: 3px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
}
.profile-card__tag--blue { background: #1B2A4E; }
.profile-card ul { margin: 12px 0 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.profile-card li { position: relative; padding-left: 18px; }
.profile-card li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: #b8892f;
}

/* --- Kit grid / cross-sell --- */
.kit-grid, .cross-grid {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: 1fr;
}
@media (min-width: 700px) { .kit-grid, .cross-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .kit-grid { grid-template-columns: repeat(3, 1fr); } }
.kit-card, .cross-card {
  border: 1px solid var(--border, #C9C2B2); border-radius: 10px; overflow: hidden;
  background: var(--surface, #fbfbf9); transition: transform .18s ease, box-shadow .18s ease;
}
.kit-card:hover, .cross-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(20,19,19,0.10); }
.kit-card a, .cross-card a { display: block; text-decoration: none; color: inherit; }
.kit-card img, .cross-card img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.kit-card__body, .cross-card__body { padding: 16px 18px 18px 18px; }
.kit-card__tag { margin: 0 0 10px 0; color: var(--text-muted, #6E6862); }
.kit-card__price { margin: 0 0 6px 0; }
.kit-card__price span { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted, #6E6862); display: block; }
.kit-card__price strong { font-size: 1.15rem; }
.kit-card__frame { margin: 0; font-size: 0.84rem; color: var(--text-muted, #6E6862); }

/* Framing chip — added Aug 2026 to distinguish red-iron vs C-channel */
.frame-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 10px 0; }
.frame-chip.red-iron { background: #B4232E; color: #fff; }
.frame-chip.c-channel { background: #DAAC4C; color: #1a1613; }
.frame-chip.bolt-up { background: #4A9EAF; color: #fff; }

/* Price anchor chip on detail pages */
.price-anchor { display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 18px; background: #1a1613; color: #fff; border-radius: 6px; margin: 12px 0 20px 0; font-weight: 600; }
.price-anchor .price-anchor__label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #DAAC4C; }
.price-anchor .price-anchor__value { font-size: 1.25rem; color: #fff; }

/* Compressed trust strip for detail pages */
.detail-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 24px; padding: 20px 24px; background: #1a1613; color: #e6e3dc; border-radius: 6px; margin: 20px 0 32px 0; }
.detail-trust .trust-item p:first-child { margin: 0; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: #B4232E; }
.detail-trust .trust-item p:last-child { margin: 4px 0 0 0; font-size: 0.85rem; color: #e6e3dc; line-height: 1.45; }

/* Steel-vs-post-frame callout on 30x40 Compact detail page */
.steel-vs-pole { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px 28px; padding: 24px 28px; background: #fff; border: 1px solid #C9C2B2; border-left: 4px solid #B4232E; border-radius: 6px; margin: 0 0 8px 0; }
.steel-vs-pole__lede { grid-column: 1 / -1; margin: 0 0 4px 0; }
.steel-vs-pole__lede .kicker { color: #B4232E; margin: 0 0 6px 0; }
.steel-vs-pole__lede h3 { margin: 0 0 8px 0; font-size: 1.15rem; }
.steel-vs-pole__lede p { margin: 0; color: #4a453e; }
.steel-vs-pole__col p:first-child { margin: 0 0 6px 0; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6E6862; }
.steel-vs-pole__col ul { margin: 0; padding-left: 18px; font-size: 0.9rem; line-height: 1.55; color: #1a1613; }
.steel-vs-pole__col ul li { margin-bottom: 4px; }
.steel-vs-pole__col.col-steel p:first-child { color: #B4232E; }

/* Kit-only comparison table */
.kit-vs-oc { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.92rem; }
.kit-vs-oc thead th { padding: 14px 12px; text-align: left; background: #1a1613; color: #fff; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.kit-vs-oc thead th.col-oc { background: #B4232E; }
.kit-vs-oc tbody td { padding: 12px; border-bottom: 1px solid rgba(0,0,0,0.08); vertical-align: top; }
.kit-vs-oc tbody tr:nth-child(even) { background: rgba(0,0,0,0.02); }
.kit-vs-oc .row-label { font-weight: 600; color: #1a1613; }
.kit-vs-oc .cell-no { color: #8a7f6d; }
.kit-vs-oc .cell-yes { color: #1a1613; font-weight: 600; }
.kit-vs-oc .cell-yes::before { content: "\2713  "; color: #B4232E; font-weight: 700; }
.kit-vs-oc .cell-no::before { content: "\2014  "; color: #8a7f6d; }

/* --- State pages --- */
.state-hero__grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 940px) { .state-hero__grid { grid-template-columns: 1.05fr 1fr; gap: 40px; } }
.state-hero__photo img { width: 100%; height: auto; border-radius: 10px; display: block; }
.coverage-flag {
  margin-top: 16px; border-left: 4px solid #B4232E; background: #fdf5e6;
  padding: 14px 18px; border-radius: 4px;
}
.coverage-flag p { margin: 0; }
.coverage-flag p + p { margin-top: 8px; }
.state-faq { margin-top: 8px; }
.state-faq details {
  border: 1px solid var(--border, #C9C2B2); border-radius: 8px; padding: 14px 16px;
  background: var(--surface, #fbfbf9); margin-bottom: 10px;
}
.state-faq summary { font-weight: 700; cursor: pointer; }
.state-faq p { margin: 10px 0 0 0; line-height: 1.6; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border, #C9C2B2); background: var(--surface, #fbfbf9);
  font-size: 0.84rem; text-decoration: none; color: var(--text, #141313);
}
.chip:hover { border-color: #b8892f; }

/* --- Guides --- */
.guide-hero__photo img {
  width: 100%; height: auto; max-height: 420px; object-fit: cover;
  border-radius: 10px; display: block; margin-top: 20px;
}
.guide-meta {
  margin: 10px 0 0 0; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted, #6E6862);
}
.guide-body { max-width: 720px; }
.guide-body h2 { margin: 34px 0 10px 0; }
.guide-body h3 { margin: 24px 0 8px 0; }
.guide-body p { line-height: 1.65; margin: 0 0 14px 0; }
.guide-body ul, .guide-body ol { margin: 0 0 16px 22px; line-height: 1.65; }
.guide-body li { margin-bottom: 7px; }
.pull-quote {
  margin: 28px 0; padding: 20px 24px; border-left: 5px solid #b8892f;
  background: var(--bg-tint, #f4f0e6); border-radius: 4px;
}
.pull-quote p { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.guide-callout {
  margin: 24px 0; padding: 16px 20px; border: 1px solid var(--border, #C9C2B2);
  border-top: 4px solid #1B2A4E; border-radius: 8px; background: var(--surface, #fbfbf9);
}
.guide-callout p:last-child { margin-bottom: 0; }
.related-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .related-grid { grid-template-columns: 1fr 1fr; } }
.related-grid li {
  border: 1px solid var(--border, #C9C2B2); border-radius: 8px; padding: 16px 18px;
  background: var(--surface, #fbfbf9);
}
.related-grid a { text-decoration: none; color: inherit; }
.related-grid h3 { margin: 4px 0 6px 0; }
.related-grid p { margin: 0; color: var(--text-muted, #6E6862); }

/* v3 nav compression — 9 items + dropdown need tighter spacing on mid-width screens */
@media (min-width: 920px) and (max-width: 1339px) {
  .primary-nav { gap: 14px; }
  .primary-nav a, .nav-dropdown > a { font-size: 14px; }
}
@media (min-width: 1340px) {
  .primary-nav { gap: 18px; }
}
.nav-dropdown > a { position: relative; }

/* Homepage SHOP BUILDINGS row — 4 across on desktop, 2 across on tablet */
@media (min-width: 1000px) {
  #shop-buildings .kit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 999px) {
  #shop-buildings .kit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#shop-buildings .kit-card__body .kicker { font-size: 0.66rem; }
#shop-buildings .kit-card__body .h3 { font-size: 1.15rem; }
#shop-buildings .kit-card__price span { font-size: 0.72rem; }
