:root {
  --charcoal: #2b2b2b;
  --charcoal-deep: #171717;
  --gold: #c9a227;
  --gold-light: #ead68c;
  --navy: #1b2a41;
  --white: #ffffff;
  --paper: #f6f4ef;
  --warm: #ece7dd;
  --ink: #222325;
  --muted: #606166;
  --line: #d8d4cb;
  --success: #355f49;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1240px;
  --shadow: 0 20px 60px rgba(24, 24, 24, 0.12);
}

.service-page-links { display:flex; flex-wrap:wrap; justify-content:center; gap:12px 28px; padding:22px 24px; border-bottom:1px solid var(--line); background:var(--white); font-weight:650; }
.service-page-links a { text-underline-offset:5px; }
.google-review-panel { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr); gap:32px; align-items:center; margin-top:28px; padding-top:28px; border-top:1px solid rgba(255,255,255,.24); }
.google-review-panel h3 { font-size:clamp(24px,3vw,34px); margin:0 0 12px; }
.google-review-panel p { max-width:660px; }
.review-actions { display:flex; flex-wrap:wrap; gap:12px; }
@media(max-width:700px) { .google-review-panel { grid-template-columns:1fr; gap:16px; } .service-page-links { align-items:flex-start; justify-content:flex-start; flex-direction:column; } }

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.65 var(--sans);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.dialog-open {
  overflow: hidden;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid #f0c84a;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--white);
  color: var(--charcoal);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  color: var(--white);
  background: rgba(31, 31, 31, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
  display: grid;
  gap: 5px;
  text-decoration: none;
}

.brand-main {
  font: 600 clamp(20px, 2vw, 27px)/0.9 var(--serif);
  letter-spacing: 0.015em;
}

.brand-main strong {
  color: var(--gold);
  font-weight: 600;
}

.brand-trade {
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.desktop-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 14px;
}

.desktop-nav a:hover {
  color: var(--gold-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  min-width: 52px;
  min-height: 48px;
  border: 0;
  color: var(--white);
  background: transparent;
  display: grid;
  place-items: center;
  gap: 2px;
  cursor: pointer;
  font-size: 10px;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.header-call {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  color: var(--charcoal-deep);
  background: var(--gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.context-bar {
  min-height: 36px;
  padding: 0 max(20px, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.65);
  background: #202020;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

.context-bar ol {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.context-bar li + li::before {
  content: "/";
  margin-right: 20px;
  color: var(--gold);
}

.context-bar a {
  text-decoration: none;
}

.context-bar p {
  margin: 0;
}

main {
  display: block;
}

.section,
.hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: clamp(74px, 9vw, 126px) 0;
}

.hero {
  min-height: 650px;
  padding: clamp(44px, 7vw, 86px) 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.65fr);
  grid-template-areas: "copy brand" "guide brand";
  align-items: center;
  gap: 34px 64px;
}

.hero-copy {
  grid-area: copy;
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.card-kicker,
.dialog-kicker {
  margin: 0 0 14px;
  color: #816a19;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.hero h1,
.section-heading h2,
.owner-copy h2,
.contact-copy h2 {
  margin: 0;
  font: 500 clamp(42px, 6.1vw, 78px)/1.02 var(--serif);
  letter-spacing: -0.035em;
}

.hero-intro {
  max-width: 700px;
  margin: 28px 0 0;
  color: #44464a;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  background: transparent;
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.015em;
  cursor: pointer;
}

.button-gold {
  color: #17140a;
  background: var(--gold);
  border-color: var(--gold);
}

.button-gold:hover {
  background: #d8b641;
  border-color: #d8b641;
}

.button-outline {
  border-color: #6a6b6e;
}

.button-outline:hover,
.button-dark {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.button-quiet {
  border-color: var(--line);
}

.brand-line {
  margin: 25px 0 0;
  color: #4e4f52;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.045em;
}

.brand-line span {
  color: var(--gold);
  padding: 0 5px;
}

.hero-brand-panel {
  grid-area: brand;
  position: relative;
  min-height: 540px;
  margin: 0;
  padding: clamp(38px, 5vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  background: var(--charcoal-deep);
  border: 1px solid rgba(201, 162, 39, 0.5);
  box-shadow: var(--shadow);
}

.hero-brand-panel::before {
  content: "+";
  position: absolute;
  top: 30px;
  right: 34px;
  color: rgba(201, 162, 39, 0.16);
  font: 400 110px/1 var(--serif);
}

.hero-brand-rule {
  width: 78px;
  height: 3px;
  margin-bottom: 34px;
  background: var(--gold);
}

.hero-brand-name,
.hero-brand-trade {
  margin: 0;
}

.hero-brand-name {
  font: 500 clamp(42px, 5vw, 68px)/0.95 var(--serif);
  letter-spacing: -0.035em;
}

.hero-brand-name strong {
  color: var(--gold);
  font-weight: 500;
}

.hero-brand-trade {
  margin-top: 14px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-brand-standard {
  margin-top: clamp(58px, 9vw, 110px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-brand-standard strong,
.hero-brand-standard span {
  display: block;
}

.hero-brand-standard strong {
  color: var(--white);
  font: 500 25px/1.2 var(--serif);
}

.hero-brand-standard span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.hero-guide {
  grid-area: guide;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hero-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-guide a,
.text-link {
  color: #5f4d12;
  font-weight: 760;
  text-underline-offset: 4px;
}

.section-heading {
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 30px 60px;
}

.section-heading h2,
.owner-copy h2,
.contact-copy h2 {
  font-size: clamp(36px, 5vw, 61px);
}

.section-heading > p,
.module-heading > p,
.compact-heading > p {
  margin: 0;
  color: var(--muted);
}

.situation-section {
  border-top: 1px solid var(--line);
}

.situation-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.situation-card,
.service-grid > a {
  min-height: 254px;
  padding: 26px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: inherit;
  background: rgba(255, 255, 255, 0.46);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.situation-card:hover,
.service-grid > a:hover {
  background: var(--white);
}

.situation-card > span,
.service-grid > a > span,
.selection-grid article > span,
.principle-grid article > span {
  color: #8a711b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.situation-card h3,
.service-grid h3 {
  margin: auto 0 12px;
  font: 500 25px/1.18 var(--serif);
}

.situation-card p,
.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.situation-card small {
  margin-top: 18px;
  color: #6c5610;
  font-size: 13px;
  font-weight: 750;
}

.principles,
.storm-section,
.process-section,
.evidence-section {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  color: var(--white);
  background: var(--charcoal-deep);
}

.light-heading .section-kicker,
.storm-section .section-kicker,
.process-section .section-kicker,
.evidence-section .section-kicker {
  color: var(--gold-light);
}

.light-heading > p,
.principles .inline-action p,
.storm-section .subsection-heading > p,
.process-toolbar span,
.evidence-section .section-heading > p {
  color: rgba(255, 255, 255, 0.68);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.principle-grid article {
  min-height: 285px;
  padding: 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.principle-grid h3 {
  margin: 50px 0 15px;
  color: var(--gold-light);
  font: 500 34px/1.1 var(--serif);
}

.principle-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.73);
}

.inline-action {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.inline-action p {
  max-width: 820px;
  margin: 0;
}

.text-action {
  min-height: 44px;
  padding: 0;
  border: 0;
  color: #5f4d12;
  background: transparent;
  font-weight: 780;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}

.light-action {
  color: var(--gold-light);
}

.services-section {
  background: var(--paper);
}

.storm-section {
  background: var(--navy);
}

.notice {
  padding: 18px 22px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.54);
}

.notice strong {
  color: #6c5610;
}

.notice p {
  margin: 0;
}

.important-notice {
  margin-bottom: 35px;
  border-color: rgba(234, 214, 140, 0.58);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.important-notice strong {
  color: var(--gold-light);
}

.storm-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 26px;
}

.content-panel,
.storm-sheet {
  padding: clamp(26px, 4vw, 42px);
  color: var(--ink);
  background: var(--white);
}

.content-panel h3,
.storm-sheet h3,
.subsection-heading h3,
.glossary-module h3,
.module-heading h3,
.roof-system-intro h3,
.education-columns h3,
.question-panel h3,
.selection-grid h3,
.warranty-module h3,
.evidence-rules h3,
.cost-layout h3,
.trust-controls h3 {
  margin: 0;
  font: 500 clamp(25px, 3vw, 38px)/1.17 var(--serif);
}

.number-list {
  margin: 26px 0 30px;
  padding: 0;
  counter-reset: item;
  list-style: none;
}

.number-list li {
  position: relative;
  min-height: 42px;
  padding: 0 0 18px 45px;
  counter-increment: item;
}

.number-list li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  color: #80691b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.sample-label {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 10px;
  color: #503f0d;
  background: var(--gold-light);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.storm-sheet dl {
  margin: 25px 0;
  border-top: 1px solid var(--line);
}

.storm-sheet dl > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) 1fr;
  gap: 18px;
}

.storm-sheet dt {
  color: var(--muted);
  font-size: 13px;
}

.storm-sheet dd {
  margin: 0;
  font-size: 14px;
  font-weight: 720;
}

.small-note,
.privacy-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.subsection-heading {
  max-width: 820px;
  margin: clamp(80px, 10vw, 130px) 0 34px;
}

.subsection-heading h3 {
  color: var(--white);
  font-size: clamp(32px, 4.6vw, 53px);
}

.claim-stepper {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  counter-reset: claim;
  list-style: none;
}

.claim-stepper li {
  min-height: 154px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  color: rgba(255, 255, 255, 0.82);
  counter-increment: claim;
}

.claim-stepper li::before {
  content: counter(claim, decimal-leading-zero);
  color: var(--gold-light);
  font: 500 22px/1 var(--serif);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.role-table tbody th {
  width: 240px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 19px;
}

.role-table tbody td {
  color: rgba(255, 255, 255, 0.74);
}

.boundary-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.boundary-grid article {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.boundary-grid h4 {
  margin: 0 0 12px;
  color: var(--gold-light);
  font: 500 25px/1.2 var(--serif);
}

.boundary-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.decision-path {
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.decision-path summary,
.guide-list summary,
.source-groups summary,
.faq-list summary {
  min-height: 70px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}

.decision-path summary::-webkit-details-marker,
.guide-list summary::-webkit-details-marker,
.source-groups summary::-webkit-details-marker,
.faq-list summary::-webkit-details-marker {
  display: none;
}

.decision-path summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--white);
}

.decision-path summary span:first-child {
  font: 500 25px/1.2 var(--serif);
}

.decision-path summary span:last-child {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 750;
}

.decision-path > div {
  padding: 0 24px 26px;
  color: rgba(255, 255, 255, 0.78);
}

.decision-path .small-note {
  color: rgba(255, 255, 255, 0.6);
}

.glossary-module {
  margin-top: 46px;
  padding: clamp(26px, 4vw, 42px);
  color: var(--ink);
  background: var(--paper);
}

.module-heading {
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 25px 50px;
}

.search-field {
  display: grid;
  gap: 7px;
}

.search-field > span,
form label > span {
  color: #4f5053;
  font-size: 13px;
  font-weight: 750;
}

.search-field input,
form input,
form select,
form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #aaa79f;
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
}

form textarea {
  resize: vertical;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.glossary-item {
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.glossary-item dt {
  margin-bottom: 7px;
  font: 600 20px/1.25 var(--serif);
}

.glossary-item dd {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.empty-state {
  padding: 24px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
}

.source-footer {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid currentColor;
  border-color: rgba(127, 127, 127, 0.28);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.storm-section .source-footer {
  color: rgba(255, 255, 255, 0.64);
}

.source-footer a {
  color: inherit;
  font-weight: 760;
  text-underline-offset: 4px;
}

.measurement-section {
  background: var(--paper);
}

.comparison-wrap {
  border-color: var(--line);
}

.comparison-table thead th {
  color: #5c4b15;
  background: var(--warm);
}

.comparison-table th,
.comparison-table td {
  border-color: var(--line);
}

.comparison-table tbody th {
  width: 135px;
  color: var(--navy);
  font: 600 20px/1.25 var(--serif);
}

.comparison-table tbody td {
  color: #4f5053;
  font-size: 16px;
}

.measurement-section .notice {
  margin-top: 22px;
}

.roof-projects { margin-bottom: 48px; }
.roof-projects-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: 24px; }
.roof-projects-heading h3 { margin: 0; font: 500 clamp(28px, 3vw, 40px)/1.15 var(--serif); }
.roof-projects-heading > p { margin: 0; color: var(--muted); }
.roof-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
.roof-project-photo { min-width: 0; margin: 0; }
.roof-project-photo > a { position: relative; display: block; overflow: hidden; background: var(--charcoal-deep); }
.roof-project-photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.roof-project-photo figcaption { padding: 16px 0 0; border-top: 3px solid var(--gold); }
.roof-project-photo h4 { margin: 0 0 5px; font-size: 18px; line-height: 1.35; }
.roof-project-photo figcaption p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.roof-project-featured { grid-column: 1 / -1; }
.roof-project-featured img { aspect-ratio: 1536 / 862; }
.roof-project-featured figcaption { padding: 20px 24px; background: var(--charcoal-deep); color: var(--white); }
.roof-project-featured figcaption p { color: #dddddd; }
.roof-photo-expand { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 16px; min-height: 44px; padding: 8px 14px; background: #171717; color: white; font-size: 14px; }
.roof-photo-expand > span { color: var(--gold-light); font-size: 22px; line-height: 1; }
.roof-project-photo > a:hover .roof-photo-expand, .roof-project-photo > a:focus-visible .roof-photo-expand { background: var(--gold); color: var(--charcoal-deep); }
.roof-project-photo > a:hover .roof-photo-expand > span, .roof-project-photo > a:focus-visible .roof-photo-expand > span { color: var(--charcoal-deep); }
.roof-projects-action { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.roof-projects-action p { max-width: 660px; margin: 0; }
.roof-projects-action .button { flex-shrink: 0; }
.project-photo-subheading { margin: 36px 0 22px; }
.project-photo-subheading h3 { margin: 0; font: 500 clamp(26px, 3vw, 34px)/1.2 var(--serif); }
.project-photo-subheading > p:last-child:not(.section-kicker) { margin: 12px 0 0; }
.protection-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.protection-photo-grid .roof-project-photo img { aspect-ratio: 4 / 3; }
.photo-focus-top img { object-position: center 25%; }
.service-project-photos { margin: 30px 0; }
#gutters > .guide-content, #roof-care > .guide-content, #skylights > .guide-content { max-width: none; padding-left: 0; }
#gutters > .guide-content > p, #roof-care > .guide-content > p, #skylights > .guide-content > p { max-width: 900px; }
.skylight-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.skylight-photo-grid .roof-project-photo img { aspect-ratio: 4 / 3; }
.service-project-photos .roof-project-photo figcaption p { color: var(--muted); }
.care-project-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 28px; }
.care-project-photo figcaption { padding: 20px 0; }
.project-photo-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 30px; }
.project-photo-links .button { min-height: 44px; }
@media (max-width: 560px) {
  .care-project-photo { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .care-project-photo figcaption { padding: 16px 0 0; }
  .project-photo-links .button { width: 100%; }
}
dialog.roof-photo-dialog { width: min(1120px, calc(100% - 24px)); max-height: 94dvh; background: var(--charcoal-deep); color: white; }
.roof-photo-dialog .dialog-head { background: var(--charcoal-deep); border-color: #555555; align-items: center; }
.roof-photo-dialog .dialog-head h2 { font-size: clamp(22px, 3vw, 30px); overflow-wrap: anywhere; }
.roof-photo-dialog .dialog-kicker { color: var(--gold-light); }
.roof-photo-dialog .dialog-head > button { color: white; border-color: #777777; }
.roof-photo-dialog > img { width: 100%; height: auto; max-height: 68dvh; object-fit: contain; }
.roof-photo-dialog > p { margin: 0; padding: 18px 24px 24px; font-size: 16px; color: #dddddd; }
@media (max-width: 820px) {
  .roof-projects-heading { grid-template-columns: 1fr; gap: 14px; }
  .roof-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roof-projects-action { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .roof-project-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .roof-project-featured figcaption { padding: 18px; }
  .roof-project-photo:not(.roof-project-featured) img { aspect-ratio: 4 / 5; }
  .roof-projects-action .button { width: 100%; }
  .roof-photo-dialog .dialog-head { padding: 18px; }
}

.roof-project-photo.roof-project-landscape img { aspect-ratio: 4 / 3; }
.roof-project-photo.roof-project-square img { aspect-ratio: 1; }
.roof-project-photo.roof-project-wide img { aspect-ratio: 16 / 9; }

.roof-system-intro {
  padding: clamp(28px, 5vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px 65px;
  color: var(--white);
  background: var(--navy);
}

.roof-system-intro p:not(.card-kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.roof-system-intro .text-link {
  color: var(--gold-light);
}

.system-order {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.system-order span {
  min-height: 82px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 18px;
}

.product-comparison {
  margin-top: 24px;
  padding: clamp(26px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(210px, 0.6fr));
  gap: 26px 42px;
  border: 1px solid var(--line);
  background: var(--white);
}

.product-comparison h3 {
  margin: 0;
  font: 500 clamp(27px, 3vw, 38px)/1.15 var(--serif);
}

.product-comparison h4 {
  margin: 0 0 10px;
  font: 600 23px/1.2 var(--serif);
}

.product-comparison p {
  color: var(--muted);
}

.product-comparison a {
  color: #5e4b10;
  font-weight: 760;
  text-underline-offset: 4px;
}

.product-comparison > .small-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.component-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.component-item {
  min-height: 190px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.component-item span {
  color: #80691b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.component-item h3 {
  margin: 32px 0 8px;
  font: 600 19px/1.25 var(--serif);
}

.component-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.education-columns {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.education-columns article {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.education-columns h3 {
  font-size: 25px;
}

.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0 0 13px 24px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border: 2px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

.question-panel {
  margin-top: 24px;
  padding: clamp(30px, 5vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 38px 70px;
  color: var(--white);
  background: var(--charcoal);
}

.question-panel ol {
  margin: 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.75);
}

.question-panel li {
  padding: 0 0 13px 8px;
}

.guide-list {
  border-top: 1px solid var(--line);
}

.guide-list details {
  border-bottom: 1px solid var(--line);
}

.guide-list summary {
  position: relative;
  padding: 25px 58px 25px 0;
  display: grid;
  grid-template-columns: minmax(230px, 0.6fr) 1fr;
  gap: 30px;
  align-items: center;
}

.guide-list summary::after,
.faq-list summary::after,
.source-groups summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #755f17;
  font-size: 25px;
  font-weight: 400;
}

.guide-list details[open] summary::after,
.faq-list details[open] summary::after,
.source-groups details[open] summary::after {
  content: "×";
}

.guide-list summary span:first-child {
  font: 500 27px/1.2 var(--serif);
}

.guide-list summary span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.guide-content {
  max-width: 900px;
  padding: 0 0 32px min(34%, 420px);
}

.guide-content p {
  color: var(--muted);
}

.process-section {
  background: var(--charcoal-deep);
}

.process-toolbar {
  margin-bottom: 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.process-toolbar p {
  margin: 0;
  display: flex;
  gap: 14px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.process-stage {
  background: var(--charcoal-deep);
}

.process-stage summary {
  min-height: 108px;
  padding: 24px;
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.process-stage summary::-webkit-details-marker {
  display: none;
}

.process-stage summary > span:first-child {
  color: var(--gold-light);
  font: 500 22px/1 var(--serif);
}

.process-stage summary strong {
  font: 500 22px/1.25 var(--serif);
}

.process-stage summary::after {
  content: "+";
  color: var(--gold-light);
  font-size: 24px;
}

.process-stage[open] summary::after {
  content: "×";
}

.stage-body {
  padding: 0 24px 26px 88px;
}

.stage-body dl {
  margin: 0;
}

.stage-body dl > div {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stage-body dt {
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stage-body dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
}

.selection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.selection-grid article {
  min-height: 220px;
  padding: 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.selection-grid h3 {
  margin-top: 38px;
  font-size: 26px;
}

.selection-grid p {
  color: var(--muted);
}

.warranty-module {
  margin-top: 26px;
  padding: clamp(30px, 5vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 28px 60px;
  background: var(--white);
  border: 1px solid var(--line);
}

.warranty-module > .notice {
  grid-column: 1 / -1;
}

.warranty-module p {
  color: var(--muted);
}

.video-library {
  margin-top: 70px;
}

.filter-row {
  margin-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-row button,
.suggested-searches button,
.dialog-utility button {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  color: #4d4e51;
  background: transparent;
  cursor: pointer;
}

.filter-row button.active,
.filter-row button:hover {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.video-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.video-card > button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d9d7d1;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--charcoal-deep);
  background: var(--gold);
}

.video-play svg {
  width: 19px;
  fill: currentColor;
}

.video-card-copy {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #715c16;
  font-size: 11px;
  font-weight: 770;
}

.video-card-title {
  margin-top: 22px;
  font: 600 22px/1.25 var(--serif);
}

.video-card-description {
  margin: 11px 0 20px;
  color: var(--muted);
  font-size: 16px;
}

.video-card-action {
  margin-top: auto;
  color: #6a5511;
  font-size: 13px;
  font-weight: 780;
}

.evidence-section {
  background: var(--navy);
}

.evidence-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 40px 68px;
}

.evidence-record {
  padding: 30px;
  background: #101827;
  border: 1px solid rgba(255, 255, 255, 0.17);
}

.evidence-record h3 {
  margin: 0;
  font: 500 28px/1.18 var(--serif);
}

.evidence-record dl {
  margin: 25px 0 0;
}

.evidence-record dl > div {
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 14px;
}

.evidence-record dt {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
}

.evidence-record dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.evidence-rules .check-list li {
  color: rgba(255, 255, 255, 0.73);
}

.approval-state,
.credential-state {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(234, 214, 140, 0.46);
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.05);
}

.approval-state strong,
.credential-state strong {
  color: var(--gold-light);
}

.approval-state p,
.credential-state p {
  margin: 7px 0 0;
}

.library-tools {
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
}

.large-search input {
  min-height: 55px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.resource-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  color: inherit;
  background: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.resource-card:hover {
  background: var(--white);
}

.resource-card > span {
  color: #725d17;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resource-card h3 {
  margin: 30px 0 10px;
  font: 600 21px/1.25 var(--serif);
}

.resource-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.resource-card small {
  margin-top: auto;
  padding-top: 17px;
  color: #6e5914;
  font-weight: 760;
}

.cost-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.cost-layout article {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  background: var(--white);
}

.factor-list {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.factor-list span {
  min-height: 58px;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  font-size: 13px;
}

.trust-section {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  background: var(--warm);
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 55px 90px;
}

.owner-copy > p:not(.section-kicker, .brand-line) {
  color: #55565a;
}

.trust-controls {
  padding: 35px;
  background: var(--charcoal);
  color: var(--white);
}

.trust-controls .check-list li {
  color: rgba(255, 255, 255, 0.72);
}

.credential-state {
  background: rgba(255, 255, 255, 0.04);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 60px 22px 0;
  font: 500 clamp(20px, 2.5vw, 28px)/1.25 var(--serif);
}

.faq-list .faq-answer {
  max-width: 880px;
  padding: 0 0 25px;
  color: var(--muted);
}

.contact-section {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 50px 90px;
  color: var(--white);
  background: var(--charcoal-deep);
}

.contact-copy > p:not(.section-kicker) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-options {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-options a {
  min-height: 82px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}

.contact-options span {
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-options strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
  font: 500 21px/1.3 var(--serif);
}

.compact-heading {
  align-items: start;
}

.source-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.source-groups details {
  align-self: start;
  border: 1px solid var(--line);
  background: var(--white);
}

.source-groups summary {
  position: relative;
  padding-right: 55px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.source-groups ul {
  margin: 0;
  padding: 0 25px 24px 42px;
}

.source-groups li {
  padding: 5px 0;
}

.source-groups a {
  color: #5d4b12;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 58px max(20px, calc((100% - var(--max)) / 2)) 30px;
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) repeat(2, minmax(180px, 0.6fr));
  gap: 34px 60px;
  color: rgba(255, 255, 255, 0.72);
  background: #0e0e0e;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-brand > strong,
.footer-brand > span {
  display: block;
}

.footer-brand > strong {
  color: var(--white);
  font: 500 31px/1.1 var(--serif);
}

.footer-brand .footer-plus {
  display: inline;
  color: var(--gold);
}

.footer-brand > span {
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-hours {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

.footer-hours strong {
  color: var(--white);
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-links a,
.footer-contact a {
  min-height: 32px;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-note,
.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.copyright {
  padding-top: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.48);
}

.mobile-actions {
  display: none;
}

dialog {
  width: min(760px, calc(100% - 30px));
  max-height: min(88vh, 900px);
  margin: auto;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.38);
  overflow: auto;
}

dialog::backdrop {
  background: rgba(8, 10, 13, 0.72);
  backdrop-filter: blur(4px);
}

.side-dialog {
  width: min(560px, calc(100% - 20px));
  height: 100%;
  max-height: 100%;
  margin: 0 0 0 auto;
}

.dialog-head {
  position: sticky;
  z-index: 2;
  top: 0;
  padding: 23px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  background: rgba(246, 244, 239, 0.98);
}

.dialog-head h2 {
  margin: 0;
  font: 500 clamp(28px, 5vw, 42px)/1.1 var(--serif);
}

.dialog-kicker {
  margin-bottom: 8px;
}

.dialog-head > button {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.resource-menu {
  display: grid;
}

.resource-menu a {
  min-height: 60px;
  padding: 12px 25px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 19px;
}

.resource-menu a:hover {
  background: var(--white);
}

.resource-menu span {
  color: #80691b;
  font: 800 11px/1 var(--sans);
}

.dialog-utility {
  padding: 20px 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-dialog,
.path-dialog,
.request-dialog,
.install-dialog,
.video-dialog {
  padding-bottom: 28px;
}

.modal-search,
.suggested-searches,
.result-count,
.search-results,
.path-summary,
.path-steps,
.path-questions,
.path-dialog > .button,
.dialog-intro,
.request-dialog form,
.install-copy,
.video-dialog-copy {
  margin-left: 26px;
  margin-right: 26px;
}

.modal-search {
  margin-top: 25px;
}

.suggested-searches {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.result-count {
  margin-top: 23px;
  color: var(--muted);
  font-size: 13px;
}

.search-results {
  display: grid;
  gap: 10px;
}

.search-result {
  padding: 18px;
  border: 1px solid var(--line);
  display: block;
  background: var(--white);
  text-decoration: none;
}

.search-result small {
  color: #705b16;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-result strong {
  display: block;
  margin: 6px 0;
  font: 600 20px/1.25 var(--serif);
}

.search-result span {
  color: var(--muted);
  font-size: 16px;
}

.path-summary,
.dialog-intro {
  color: var(--muted);
}

.path-steps {
  padding-left: 46px;
}

.path-steps li {
  padding: 5px 0 10px 7px;
}

.path-questions {
  padding: 20px;
  background: var(--warm);
}

.path-questions h3 {
  margin: 0;
  font: 600 21px/1.2 var(--serif);
}

.path-questions ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.request-dialog {
  width: min(850px, calc(100% - 30px));
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

form label {
  display: grid;
  gap: 6px;
}

.full-field {
  margin-top: 15px;
}

.consent-check {
  margin-top: 18px;
  grid-template-columns: 22px 1fr;
  align-items: start;
}

.consent-check input {
  width: 20px;
  min-height: 20px;
  margin: 2px 0 0;
}

.form-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
}

.form-status {
  min-height: 24px;
  color: var(--success);
  font-weight: 700;
}

.video-dialog {
  width: min(900px, calc(100% - 30px));
}

.video-frame-wrap {
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-dialog-copy {
  margin-top: 22px;
}

.video-dialog-copy > span {
  color: #6a5512;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.video-dialog-copy p {
  color: var(--muted);
}

.video-dialog-copy a {
  color: #5e4b10;
  font-weight: 760;
  text-underline-offset: 4px;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  max-width: min(400px, calc(100% - 40px));
  padding: 14px 18px;
  color: var(--white);
  background: var(--charcoal);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .situation-grid,
  .service-grid,
  .component-grid,
  .selection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .education-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 82px;
  }

  body {
    padding-bottom: 68px;
  }

  .header-inner {
    width: calc(100% - 28px);
    min-height: 68px;
  }

  .brand {
    gap: 4px;
  }

  .brand-main {
    font-size: 21px;
  }

  .brand-trade {
    font-size: 8px;
    letter-spacing: 0.13em;
  }

  .header-call,
  .icon-button[data-open-search] span,
  .icon-button[data-open-menu] span {
    display: none;
  }

  .icon-button {
    min-width: 46px;
    min-height: 46px;
  }

  .context-bar {
    min-height: 34px;
    padding: 6px 14px;
  }

  .context-bar p {
    display: none;
  }

  .section,
  .hero {
    width: calc(100% - 28px);
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    min-height: 0;
    padding: 38px 0 42px;
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "brand" "guide";
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-intro {
    font-size: 18px;
  }

  .hero-brand-panel {
    min-height: min(108vw, 530px);
  }

  .section-heading,
  .module-heading,
  .trust-layout,
  .contact-section,
  .storm-layout,
  .roof-system-intro,
  .warranty-module,
  .evidence-layout,
  .cost-layout,
  .question-panel {
    grid-template-columns: 1fr;
  }

  .product-comparison {
    grid-template-columns: 1fr;
  }

  .product-comparison > .small-note {
    grid-column: auto;
  }

  .section-heading {
    gap: 20px;
  }

  .principles,
  .storm-section,
  .process-section,
  .evidence-section,
  .trust-section,
  .contact-section {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .principle-grid,
  .claim-stepper,
  .process-list,
  .source-groups {
    grid-template-columns: 1fr;
  }

  .principle-grid article {
    min-height: 235px;
  }

  .inline-action,
  .process-toolbar,
  .library-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .library-tools {
    grid-template-columns: 1fr;
  }

  .boundary-grid {
    grid-template-columns: 1fr;
  }

  .comparison-wrap {
    overflow: visible;
    border: 0;
  }

  .comparison-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .comparison-table,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-table tr {
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    background: var(--white);
  }

  .comparison-table th,
  .comparison-table td {
    padding: 9px 0;
    border: 0;
  }

  .comparison-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: #705b16;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .guide-list summary {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .guide-content {
    padding-left: 0;
  }

  .stage-body {
    padding-left: 24px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .mobile-actions {
    position: fixed;
    z-index: 45;
    left: 0;
    right: 0;
    bottom: 0;
    height: 68px;
    padding: 8px max(10px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right));
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    background: rgba(23, 23, 23, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .mobile-actions a,
  .mobile-actions button {
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: grid;
    place-items: center;
    color: var(--white);
    background: transparent;
    text-decoration: none;
    font-size: 14px;
    font-weight: 760;
  }

  .mobile-actions button {
    color: var(--charcoal-deep);
    background: var(--gold);
    border-color: var(--gold);
  }

  .toast {
    bottom: 80px;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .form-actions {
    display: grid;
  }

  .hero-actions .button,
  .form-actions .button {
    width: 100%;
  }

  .hero-guide {
    align-items: flex-start;
    flex-direction: column;
  }

  .situation-grid,
  .service-grid,
  .component-grid,
  .selection-grid,
  .video-grid,
  .resource-grid,
  .glossary-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .situation-card,
  .service-grid > a {
    min-height: 225px;
  }

  .storm-sheet dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .role-table thead {
    display: none;
  }

  .role-table,
  .role-table tbody,
  .role-table tr,
  .role-table th,
  .role-table td {
    display: block;
    width: 100%;
  }

  .role-table tr {
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .role-table th,
  .role-table td {
    padding: 4px 0;
    border: 0;
  }

  .system-order,
  .factor-list {
    grid-template-columns: 1fr;
  }

  .process-stage summary {
    grid-template-columns: 38px 1fr 18px;
    padding: 20px 15px;
  }

  .stage-body {
    padding: 0 15px 22px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-note,
  .copyright {
    grid-column: auto;
  }

  dialog,
  .request-dialog,
  .video-dialog {
    width: 100%;
    max-height: 94vh;
    margin-bottom: 0;
  }

  .dialog-head {
    padding: 18px;
  }

  .modal-search,
  .suggested-searches,
  .result-count,
  .search-results,
  .path-summary,
  .path-steps,
  .path-questions,
  .path-dialog > .button,
  .dialog-intro,
  .request-dialog form,
  .install-copy,
  .video-dialog-copy {
    margin-left: 18px;
    margin-right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .mobile-actions,
  .hero-actions,
  .filter-row,
  .contact-section,
  dialog,
  .toast {
    display: none !important;
  }

  body {
    background: var(--white);
    color: #000;
  }

  .section,
  .hero,
  .principles,
  .storm-section,
  .process-section,
  .evidence-section,
  .trust-section {
    width: 100%;
    padding: 30px 0;
    color: #000;
    background: var(--white);
  }
}

/* Project inquiries use the existing charcoal, white, and gold identity. */
:root { --paper: #f5f6f7; --warm: #eceef0; --line: #d6d9dd; }
[hidden] { display: none !important; }
.brand-trade { font-size: 12px; line-height: 1.25; letter-spacing: .12em; }
.icon-button { font-size: 12px; }
.context-bar { font-size: 14px; }
.header-call { cursor: pointer; }
.header-phone { white-space: nowrap; }
.hero { min-height: 0; padding: 62px 0 40px; grid-template-columns: minmax(0,1.15fr) minmax(350px,.85fr); grid-template-areas: "copy start" "guide start"; gap: 28px 56px; }
.hero h1 { font-size: clamp(44px,5.3vw,70px); line-height: 1.07; letter-spacing: -.045em; }
.hero h1 em { color: #7d6417; font-style: normal; }
.hero-intro { font-size: clamp(18px,1.7vw,21px); margin-top: 23px; }
.hero-actions { margin-top: 25px; }
.hero-reassurance { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.project-start { grid-area: start; padding: 28px; color: white; background: var(--charcoal-deep); border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.project-start .card-kicker { color: var(--gold-light); font-size: 12px; }
.project-start h2 { margin: 0; font: 500 31px/1.15 var(--serif); letter-spacing: -.025em; }
.project-start > p:not(.card-kicker) { margin: 12px 0 19px; color: #d1d1d1; font-size: 14px; }
.project-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.project-choices button { min-height: 90px; padding: 15px 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; text-align: left; background: #292929; color: white; border: 1px solid #505050; cursor: pointer; }
.project-choices button:hover, .project-choices button:focus-visible { border-color: var(--gold); background: #36321f; }
.project-choices strong { font-size: 16px; line-height: 1.2; }
.project-choices span { color: #d0d0d0; font-size: 14px; line-height: 1.35; }
.leak-shortcut { margin-top: 20px; padding-top: 18px; border-top: 1px solid #4f4f4f; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 15px; font-size: 14px; }
.leak-shortcut a { color: var(--gold-light); min-height: 44px; display: flex; align-items: center; font-weight: 700; text-underline-offset: 4px; }
.project-start .project-start-note { margin: 8px 0 0 !important; font-size: 12px !important; }
.hero-guide { margin: 0; }
.service-area-strip { border-block: 1px solid var(--line); background: white; }
.service-area-strip p { width: min(var(--max),calc(100% - 40px)); margin: auto; padding: 20px 0; display: flex; justify-content: space-between; gap: 10px 24px; align-items: center; }
.service-area-strip strong { font-size: 14px; }
.service-area-strip span { font-size: 14px; color: var(--muted); }
.decision-section { padding-block: 65px; }
.decision-section .section-heading { margin-bottom: 28px; }
.decision-section h2 { font-size: clamp(34px,4vw,49px); }
.decision-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.decision-grid article { padding-top: 22px; border-top: 2px solid var(--gold); }
.decision-grid article > span { color: #80651a; font-size: 14px; font-weight: 700; }
.decision-grid h3 { font: 500 26px/1.2 var(--serif); margin: 18px 0 10px; }
.decision-grid p { margin: 0; color: var(--muted); }
.situation-card { min-height: 232px; }
.situation-card small { font-size: 14px; }
.conversion-service { display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; min-width: 0; }
.conversion-service > a { flex: 1; padding: 26px 24px 15px; text-decoration: none; display: block; }
.conversion-service > a > span:first-child { font-size: 14px; color: #80651a; }
.conversion-service h3 { margin: 30px 0 15px; }
.conversion-service .service-learn { display: block; margin-top: 20px; color: #715a16; font-size: 14px; font-weight: 700; }
.conversion-service > button { margin: 12px 24px 24px; padding: 12px 8px; min-height: 48px; border: 1px solid var(--charcoal); background: var(--charcoal); color: white; font-size: 14px; font-weight: 700; cursor: pointer; }
.conversion-service > button:hover { background: #423719; }
.guide-request { margin-top: 20px; display: flex; width: fit-content; }
.process-overview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 35px; }
.process-overview article { padding-top: 25px; border-top: 1px solid #666; }
.process-overview span { color: var(--gold-light); font-size: 14px; font-weight: 700; }
.process-overview h3 { font: 500 29px/1.2 var(--serif); margin: 23px 0 14px; }
.process-overview p { color: #d0d0d0; }
.process-conversion { margin: 20px 0 36px; display: flex; align-items: center; flex-wrap: wrap; gap: 15px 25px; }
.process-conversion p { max-width: 420px; font-size: 14px; color: #ccc; }
.process-full > summary { padding: 22px 0; border-block: 1px solid #5a5a5a; color: var(--gold-light); cursor: pointer; font-weight: 700; }
.reference-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 30px; border-top: 1px solid #5c6474; }
.reference-panel > div { max-width: 730px; }
.reference-panel h3 { margin-top: 0; font: 500 28px/1.2 var(--serif); }
.reference-panel p { color: #d7dce4; }
.reference-panel .button { flex-shrink: 0; }
.trust-controls > p { color: var(--muted); }
.request-dialog { max-width: 680px; }
.request-dialog .dialog-head h2 { font-size: clamp(26px,4vw,34px); line-height: 1.1; }
.request-dialog form { padding-top: 0; }
.request-progress { padding: 0 30px 25px; font-size: 14px; color: var(--muted); }
.request-progress > div { height: 3px; background: var(--line); margin-top: 12px; }
.request-progress i { display: block; height: 100%; width: 50%; background: var(--gold); }
.request-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.request-step .form-grid > .full-field { grid-column: 1 / -1; margin-top: 0; }
.request-step label { font-size: 16px; }
.request-step label small { color: var(--muted); font-size: 14px; }
.request-guidance { font-size: 14px; padding: 14px 16px; margin: 20px 0; background: #eef0f2; border-left: 3px solid var(--gold); }
.request-next { margin-top: 22px; width: 100%; }
.request-selection { margin: 0 0 20px; padding: 12px 16px; background: #eef0f2; font-size: 14px; font-weight: 700; }
.contact-method { padding: 0; margin: 24px 0 15px; border: 0; display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.contact-method legend { padding: 0 0 10px; font-size: 16px; }
.contact-method label { display: flex; align-items: center; gap: 10px; padding: 12px 16px; min-height: 48px; border: 1px solid var(--line); cursor: pointer; }
.contact-method label:has(input:checked) { background: #f9f3dd; border-color: #8a6b12; }
.contact-method input { width: 18px; min-height: 18px; height: 18px; margin: 0; accent-color: #786012; }
.request-extra { margin-top: 22px; }
.request-extra summary { cursor: pointer; font-size: 14px; min-height: 44px; padding: 10px 0; }
.request-extra summary span { color: var(--muted); padding-left: 5px; }
.request-review { padding: 0 30px 24px; }
.request-review h3 { font: 500 28px/1.15 var(--serif); }
.request-review .full-field { display: grid; gap: 8px; }
.request-review textarea { width: 100%; font: 400 16px/1.5 var(--sans); padding: 14px; resize: vertical; border: 1px solid var(--line); background: #f6f7f8; color: var(--ink); }
.request-review > p { font-size: 14px; }
.not-sent { width: fit-content; margin: 0; padding: 6px 12px; border: 1px solid #a5821b; color: #6b5311; font-weight: 800; letter-spacing: .05em; background: #fff7dd; }
.request-fallbacks { margin: 20px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 25px; font-size: 14px; }
.request-fallbacks a { min-height: 44px; display: flex; align-items: center; text-underline-offset: 4px; }
.request-privacy { margin: 0; padding: 0 30px 24px; font-size: 12px; }
.form-status:empty { margin: 0; min-height: 0; }
.form-status { color: #854519; }
.request-dialog input, .request-dialog select, .request-dialog textarea { max-width: 100%; min-width: 0; }
@media (max-width: 1120px) {
  .header-inner { gap: 20px; }
  .desktop-nav { gap: 16px; }
  .desktop-nav .header-phone { display: none; }
  .hero { gap: 25px 32px; }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "copy" "start" "guide"; padding-top: 38px; }
  .hero-copy { max-width: 650px; }
  .hero h1 { font-size: clamp(40px,7.5vw,64px); }
  .project-start { max-width: none; padding: 25px; }
  .project-choices { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .project-choices button { min-height: 95px; }
  .service-area-strip p { display: block; }
  .service-area-strip span { display: block; margin-top: 8px; }
  .decision-grid, .process-overview { gap: 18px; }
  .decision-grid h3 { font-size: 23px; }
  .reference-panel { flex-direction: column; align-items: flex-start; gap: 15px; }
  .context-bar { font-size: 12px; }
}
@media (max-width: 560px) {
  .brand-main { font-size: 23px; }
  .brand-trade { font-size: 12px; letter-spacing: .04em; }
  .header-inner { width: calc(100% - 30px); gap: 8px; }
  .header-call { display: none; }
  .hero h1 { font-size: clamp(38px,9vw,49px); }
  .hero-intro { font-size: 18px; }
  .hero .eyebrow { font-size: 12px; letter-spacing: .10em; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero .brand-line { font-size: 16px; margin-top: 15px; }
  .project-start { padding: 23px 18px 19px; }
  .project-choices { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-choices button { min-height: 88px; }
  .project-start h2 { font-size: 29px; }
  .decision-grid, .process-overview { grid-template-columns: 1fr; gap: 28px; }
  .decision-section { padding-block: 48px; }
  .decision-grid h3 { margin-top: 10px; }
  .process-overview h3 { margin-top: 14px; }
  .hero-guide { flex-direction: column; align-items: flex-start; gap: 4px; }
  .conversion-service > a { padding: 20px 17px 12px; }
  .conversion-service > button { margin: 8px 17px 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .request-progress { padding: 0 20px 22px; }
  .request-review { padding: 0 20px 20px; }
  .request-privacy { padding: 0 20px 24px; }
  .request-fallbacks { gap: 8px 18px; }
  .mobile-actions { grid-template-columns: .7fr .7fr 1.6fr; }
  .mobile-actions button { font-size: 14px; }
}
@media print {
  .project-start, .process-conversion, .guide-request, .conversion-service > button { display: none; }
}
.storm-sample { border: 1px solid #647084; align-self: start; }
.storm-sample > summary { padding: 22px; cursor: pointer; color: var(--gold-light); font-weight: 700; }
.storm-sample .storm-sheet { border: 0; }
