@charset "UTF-8";

:root {
  --ink: #101b1d;
  --ink-soft: #1b2a2c;
  --ink-faint: #2b3c3d;
  --chalk: #f2f0e9;
  --paper: #faf9f5;
  --white: #fffefa;
  --orange: #ee6c3b;
  --orange-dark: #a43c1c;
  --sage: #b8cabd;
  --sage-light: #e0e9df;
  --sky: #b8d8db;
  --muted: #667371;
  --line: #d4d8d0;
  --line-dark: rgba(242, 240, 233, .18);
  --display: "Bodoni MT", Didot, "Times New Roman", serif;
  --body: "Avenir Next", "Trebuchet MS", sans-serif;
  --mono: var(--body);
  --code: "Cascadia Mono", "Courier New", monospace;
  --max: 1380px;
  --pad: clamp(1.1rem, 3vw, 3rem);
  --radius: 1.1rem;
  --shadow: 0 24px 80px rgba(16, 27, 29, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
code, pre, .formula, .embed-code, .brief-output { font-family: var(--code); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: not-allowed; opacity: .45; }
input, select, textarea { color: var(--ink); }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.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;
}
.shell { width: min(100% - (var(--pad) * 2), var(--max)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 8rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section-dark { background: var(--ink); color: var(--chalk); }
.section-sage { background: var(--sage-light); }
.section-orange { background: var(--orange); color: var(--ink); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 6rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.25rem;
  font-family: var(--mono);
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.8rem; height: 2px; background: currentColor; }
.display {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .93;
}
.display em { color: var(--orange); font-weight: 400; }
.h2 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.35rem, 4.8vw, 5rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1;
}
.h3 {
  margin: 0 0 .75rem;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.1;
}
.lede { max-width: 62ch; margin: 1.4rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.section-dark .lede { color: #b7c3bf; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.text-link { font-weight: 700; }
.text-link::after { content: " ↗"; }
.rule { height: 1px; margin: 2rem 0; background: var(--line); border: 0; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(16, 27, 29, .93);
  color: var(--chalk);
  backdrop-filter: blur(18px);
}
.header-inner { display: flex; min-height: 76px; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: inherit; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex: 0 0 auto; }
.brand-name { font-size: 1.05rem; font-weight: 800; letter-spacing: .16em; line-height: 1; text-transform: uppercase; }
.brand-place { display: block; margin-top: .36rem; color: #9baaa5; font-family: var(--mono); font-size: .57rem; letter-spacing: .13em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.site-nav a { position: relative; color: #d4dcd7; font-size: .86rem; font-weight: 700; text-decoration: none; }
.site-nav a::after { position: absolute; right: 0; bottom: -.45rem; left: 0; height: 2px; background: var(--orange); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .55rem; }
.icon-button, .menu-button {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--chalk);
  font-size: .75rem;
  font-weight: 700;
}
.icon-button { padding: .4rem .8rem; }
.icon-button:hover, .menu-button:hover { border-color: var(--orange); background: rgba(255,255,255,.05); }
.icon-button svg { width: 16px; height: 16px; }
.saved-count { display: inline-grid; min-width: 1.35rem; height: 1.35rem; place-items: center; border-radius: 50%; background: var(--orange); color: var(--ink); font-family: var(--mono); font-size: .65rem; }
.menu-button { display: none; padding: .4rem .8rem; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font-size: .83rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s, background .2s, border-color .2s;
}
.button:hover { background: #ff8050; transform: translateY(-2px); }
.button svg { width: 17px; height: 17px; }
.button-dark { background: var(--ink); color: var(--chalk); }
.button-dark:hover { background: var(--ink-faint); }
.button-ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.button-ghost:hover { border-color: var(--ink); background: transparent; }
.section-dark .button-ghost, .hero .button-ghost { border-color: var(--line-dark); color: var(--chalk); }
.section-dark .button-ghost:hover, .hero .button-ghost:hover { border-color: var(--chalk); background: rgba(255,255,255,.06); }
.button-small { min-height: 38px; padding: .55rem .85rem; font-size: .74rem; }
.button[aria-pressed="true"] { border-color: var(--orange); background: var(--orange); color: var(--ink); }
.button-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  background: var(--ink);
  color: var(--chalk);
  isolation: isolate;
}
.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: linear-gradient(rgba(242,240,233,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(242,240,233,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to right, #000, transparent 75%);
}
.hero::after {
  position: absolute;
  z-index: -1;
  top: -30%;
  right: -15%;
  width: 70vw;
  height: 90vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238,108,59,.13), transparent 66%);
  content: "";
}
.hero-layout { display: grid; min-height: calc(100svh - 76px); grid-template-columns: 1.08fr .92fr; align-items: center; gap: 2rem; padding-top: 4rem; padding-bottom: 4rem; }
.hero-copy { position: relative; z-index: 2; }
.hero .display { max-width: 10ch; font-size: clamp(3.4rem, 6.3vw, 7rem); }
.hero .lede { max-width: 49ch; color: #bdc8c3; }
.hero-search { position: relative; display: flex; max-width: 610px; margin-top: 2.2rem; padding: .45rem; border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(255,255,255,.07); backdrop-filter: blur(12px); }
.hero-search svg { width: 20px; margin: auto .4rem auto .8rem; color: #aab9b2; }
.hero-search input { width: 100%; min-width: 0; padding: .7rem .3rem; border: 0; outline: 0; background: transparent; color: var(--chalk); }
.hero-search input::placeholder { color: #aab9b2; }
.hero-search .button { flex: 0 0 auto; }
.search-note { margin: .75rem 0 0; color: #95a49e; font-family: var(--mono); font-size: .68rem; }
.hero-art { position: relative; min-height: 600px; perspective: 1200px; }
.roof-scene { position: absolute; inset: 0; display: grid; place-items: center; transform: rotateX(var(--scene-x, 0deg)) rotateY(var(--scene-y, 0deg)); transition: transform .35s ease-out; }
.roof-drawing { width: 115%; max-width: none; overflow: visible; filter: drop-shadow(0 40px 60px rgba(0,0,0,.3)); }
.roof-line { fill: none; stroke: rgba(242,240,233,.5); stroke-width: 1; }
.hero-coordinate { position: absolute; top: 10%; right: 0; color: #91a19a; font-family: var(--mono); font-size: .63rem; letter-spacing: .12em; writing-mode: vertical-rl; }
.hero-stamp { position: absolute; top: 14%; left: 0; display: grid; width: 105px; height: 105px; place-items: center; border: 1px solid var(--orange); border-radius: 50%; color: var(--orange); font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-align: center; text-transform: uppercase; transform: rotate(-12deg); }
.scroll-cue { position: absolute; bottom: 1.4rem; left: var(--pad); display: flex; align-items: center; gap: .7rem; color: #8e9d97; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue::before { content: ""; width: 38px; height: 1px; background: currentColor; }

.stats-band { border-bottom: 1px solid var(--line); background: var(--chalk); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2rem var(--pad); border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border: 0; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 400; letter-spacing: -.05em; line-height: 1; }
.stat span { display: block; margin-top: .5rem; color: var(--muted); font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }

.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 3rem; border: 1px solid var(--line-dark); background: var(--line-dark); }
.path-card { position: relative; min-height: 330px; padding: clamp(1.5rem, 3vw, 2.5rem); overflow: hidden; background: var(--ink); color: var(--chalk); text-decoration: none; transition: background .3s; }
.path-card:hover { background: var(--ink-soft); }
.path-number { color: var(--orange); font-family: var(--mono); font-size: .68rem; }
.path-card h3 { max-width: 9ch; margin: 3.5rem 0 1rem; font-family: var(--display); font-size: 2.5rem; font-weight: 400; line-height: 1; }
.path-card p { max-width: 33ch; color: #aebcb5; font-size: .9rem; }
.path-icon { position: absolute; right: 1.5rem; bottom: 1.5rem; width: 54px; color: var(--sage); transition: transform .3s; }
.path-card:hover .path-icon { color: var(--orange); transform: translate(4px, -4px); }

.town-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2rem; margin-top: 3rem; border-top: 1px solid var(--line); }
.town-tile { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.town-tile:hover .town-name { color: var(--orange-dark); transform: translateX(4px); }
.town-name { font-family: var(--display); font-size: 1.55rem; line-height: 1; transition: transform .2s, color .2s; }
.town-count { color: var(--muted); font-family: var(--mono); font-size: .68rem; }
.town-meter { grid-column: 1 / -1; height: 2px; overflow: hidden; background: var(--line); }
.town-meter i { display: block; height: 100%; background: var(--orange); transform-origin: left; }

.tool-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 1rem; margin-top: 3rem; }
.tool-card { position: relative; display: flex; min-height: 350px; flex-direction: column; padding: 2rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.tool-card:first-child { background: var(--orange); }
.tool-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.tool-card .tool-index { font-family: var(--mono); font-size: .65rem; }
.tool-card h3 { max-width: 11ch; margin: auto 0 .8rem; font-family: var(--display); font-size: 2.5rem; font-weight: 400; line-height: 1; }
.tool-card p { max-width: 35ch; margin: 0; color: var(--muted); font-size: .9rem; }
.tool-card:first-child p { color: #41251b; }
.tool-glyph { position: absolute; top: 1.5rem; right: 1.5rem; width: 70px; height: 70px; opacity: .65; }

.page-hero { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 7.5rem) 0 clamp(3rem, 6vw, 5.5rem); background: var(--ink); color: var(--chalk); }
.page-hero::after { position: absolute; right: -4rem; bottom: -10rem; width: 440px; height: 440px; border: 1px solid var(--line-dark); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.018), 0 0 0 140px rgba(255,255,255,.012); content: ""; }
.page-hero .h2 { max-width: 16ch; font-size: clamp(3rem, 6vw, 6.5rem); }
.page-hero .lede { position: relative; z-index: 1; color: #b8c4be; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.7rem; }
.breadcrumbs { padding: 1.1rem 0; color: var(--muted); font-family: var(--mono); font-size: .65rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { margin-left: .45rem; content: "/"; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange-dark); }

.directory-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 2.5rem; }
.filters { position: sticky; top: 100px; }
.filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.filter-head h2 { margin: 0; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.filter-reset { padding: 0; border: 0; background: none; color: var(--orange-dark); font-size: .73rem; text-decoration: underline; }
.field { margin-bottom: 1.1rem; }
.field label, .field-label { display: block; margin-bottom: .4rem; font-family: var(--mono); font-size: .65rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: var(--white);
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--orange-dark); }
.check-row { display: flex; align-items: flex-start; gap: .65rem; margin: .75rem 0; font-size: .84rem; }
.check-row input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: .18rem; accent-color: var(--orange-dark); }
.filter-note { padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.results-toolbar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.results-count { margin: 0; font-family: var(--mono); font-size: .72rem; }
.results-toolbar .select { width: auto; min-height: 40px; margin-left: auto; padding: .45rem 2rem .45rem .7rem; font-size: .75rem; }
.directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.roof-card { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 1.4rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--white); transition: border-color .2s, transform .2s, box-shadow .2s; }
.roof-card:hover { border-color: #9da9a2; box-shadow: 0 12px 35px rgba(16,27,29,.07); transform: translateY(-2px); }
.roof-card.is-saved { border-color: var(--orange); }
.card-top { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.card-location { color: var(--muted); font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; }
.save-button { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.save-button svg { width: 16px; height: 16px; }
.save-button:hover, .save-button[aria-pressed="true"] { border-color: var(--orange); background: var(--orange); }
.roof-card h3 { margin: .85rem 0 .6rem; font-family: var(--display); font-size: 1.65rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.roof-card h3 a { text-decoration: none; }
.roof-card h3 a::after { position: absolute; inset: 0; content: ""; }
.card-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .27rem .55rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-family: var(--mono); font-size: .58rem; letter-spacing: .02em; line-height: 1.25; }
.badge-registered { border-color: #a7c2ad; background: #edf4ec; color: #28573a; }
.badge-orange { border-color: #e9aa91; background: #fff1e9; color: #813516; }
.card-services { min-height: 1.4rem; margin: 0 0 1rem; color: var(--muted); font-size: .76rem; }
.card-foot { position: relative; z-index: 1; display: flex; align-items: center; gap: .7rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.card-phone { overflow: hidden; font-size: .76rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.card-compare { margin-left: auto; padding: .3rem 0; border: 0; background: transparent; color: var(--muted); font-size: .68rem; text-decoration: underline; }
.empty-state { padding: 3rem 1.5rem; border: 1px dashed var(--line); text-align: center; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 2rem; }

.data-panel { padding: clamp(1.4rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.data-panel-dark { border-color: var(--line-dark); background: var(--ink-soft); color: var(--chalk); }
.notice { padding: 1rem 1.2rem; border-left: 3px solid var(--orange); background: #fff0e7; color: #573224; font-size: .83rem; }
.notice-neutral { border-color: var(--sage); background: var(--sage-light); color: var(--ink); }
.notice a { font-weight: 800; }
.definition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 0; }
.definition-grid > div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.definition-grid dt { color: var(--muted); font-family: var(--mono); font-size: .62rem; letter-spacing: .07em; text-transform: uppercase; }
.definition-grid dd { margin: .35rem 0 0; font-size: .92rem; font-weight: 700; overflow-wrap: anywhere; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: start; gap: 2rem; }
.profile-aside { position: sticky; top: 100px; }
.profile-title { max-width: 15ch; }
.next-steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.next-steps li { position: relative; padding: 1rem 0 1rem 3rem; border-bottom: 1px solid var(--line); counter-increment: steps; }
.next-steps li::before { position: absolute; top: 1rem; left: 0; color: var(--orange-dark); content: "0" counter(steps); font-family: var(--mono); font-size: .68rem; }

.town-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.permit-visual { display: flex; min-height: 220px; align-items: end; gap: 1rem; padding-top: 2rem; }
.permit-column { display: flex; height: 170px; flex: 1; flex-direction: column; justify-content: end; gap: .6rem; }
.permit-column i { display: block; min-height: 5px; background: var(--sage); }
.permit-column:last-child i { background: var(--orange); }
.permit-column span { font-family: var(--mono); font-size: .62rem; }
.permit-column strong { font-family: var(--display); font-size: 1.7rem; font-weight: 400; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.35rem 2.5rem 1.35rem 0; font-weight: 800; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 1.2rem; right: .3rem; content: "+"; color: var(--orange-dark); font-family: var(--display); font-size: 1.7rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 70ch; margin: 0; padding: 0 2rem 1.5rem 0; color: var(--muted); }

.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.guide-card { display: flex; min-height: 250px; flex-direction: column; padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.guide-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.guide-card .eyebrow { color: var(--orange-dark); }
.guide-card h2 { margin: auto 0 .7rem; font-family: var(--display); font-size: 2.2rem; font-weight: 400; line-height: 1; }
.guide-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); justify-content: center; gap: clamp(2rem, 6vw, 6rem); }
.article-toc { position: sticky; top: 110px; align-self: start; }
.article-toc strong { display: block; margin-bottom: .8rem; font-family: var(--mono); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.article-toc a { display: block; padding: .45rem 0; color: var(--muted); font-size: .8rem; text-decoration: none; }
.article-toc a:hover { color: var(--orange-dark); }
.article { min-width: 0; }
.article > section { margin-bottom: 3.5rem; }
.article h2 { margin: 0 0 1rem; font-family: var(--display); font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.05; scroll-margin-top: 110px; }
.article h3 { margin: 1.7rem 0 .6rem; font-size: 1rem; }
.article p, .article li { color: #43504e; }
.article ul, .article ol { padding-left: 1.3rem; }
.article li { margin: .55rem 0; }
.article table { width: 100%; border-collapse: collapse; font-size: .83rem; }
.article th, .article td { padding: .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article th { background: var(--chalk); font-family: var(--mono); font-size: .64rem; letter-spacing: .04em; text-transform: uppercase; }
.source-box { margin-top: 3rem; padding: 1.2rem; border: 1px solid var(--line); font-size: .76rem; }
.source-box strong { display: block; margin-bottom: .4rem; }
.source-box a { overflow-wrap: anywhere; }

.workspace-nav { display: flex; gap: .4rem; margin-bottom: 2rem; padding: .35rem; overflow-x: auto; border: 1px solid var(--line); border-radius: 999px; background: var(--chalk); }
.workspace-tab { min-width: max-content; flex: 1; padding: .7rem 1rem; border: 0; border-radius: 999px; background: transparent; font-size: .78rem; font-weight: 800; }
.workspace-tab[aria-selected="true"] { background: var(--ink); color: var(--chalk); }
.workspace-panel { min-height: 500px; }
.workspace-intro { display: flex; align-items: start; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.workspace-intro h2 { margin: 0; font-family: var(--display); font-size: 2.5rem; font-weight: 400; line-height: 1; }
.workspace-intro p { max-width: 55ch; margin: .6rem 0 0; color: var(--muted); }
.privacy-chip { flex: 0 0 auto; padding: .4rem .7rem; border: 1px solid #a7c2ad; border-radius: 999px; color: #28573a; font-family: var(--mono); font-size: .59rem; }
.calculator-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.range-row { display: flex; align-items: center; gap: 1rem; }
.range-row input { width: 100%; accent-color: var(--orange-dark); }
.range-value { min-width: 3rem; font-family: var(--mono); font-size: .75rem; }
.calculation-result { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius); background: var(--ink); color: var(--chalk); }
.result-main { padding: 1.3rem 0; border-bottom: 1px solid var(--line-dark); }
.result-main:first-child { padding-top: 0; }
.result-main:last-child { border: 0; }
.result-main span { display: block; color: #9dada6; font-family: var(--mono); font-size: .62rem; letter-spacing: .07em; text-transform: uppercase; }
.result-main strong { display: block; margin-top: .3rem; color: var(--orange); font-family: var(--display); font-size: clamp(2.7rem, 5vw, 4.7rem); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.result-main small { color: #b5c0bb; }
.formula { margin-top: 1.2rem; color: #a9b7b0; font-family: var(--mono); font-size: .63rem; }
.bid-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: .7rem; }
.bid-table { width: 100%; min-width: 760px; border-collapse: collapse; background: var(--white); }
.bid-table th, .bid-table td { padding: .75rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.bid-table th:first-child, .bid-table td:first-child { width: 190px; background: var(--chalk); font-size: .76rem; font-weight: 800; }
.bid-table input, .bid-table textarea { width: 100%; min-width: 150px; padding: .55rem; border: 1px solid transparent; border-radius: .3rem; background: transparent; font-size: .8rem; }
.bid-table input:hover, .bid-table textarea:hover, .bid-table input:focus, .bid-table textarea:focus { border-color: var(--line); background: var(--paper); }
.bid-table textarea { min-height: 62px; resize: vertical; }
.bid-score { font-family: var(--display); font-size: 2rem; }
.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.checklist-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--white); }
.checklist-card h3 { margin: 0 0 .7rem; font-family: var(--display); font-size: 1.55rem; font-weight: 400; }
.progress-track { height: 5px; margin: 1rem 0; overflow: hidden; border-radius: 99px; background: var(--line); }
.progress-track i { display: block; width: 0; height: 100%; background: var(--orange); transition: width .25s; }
.material-selector { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.material-button { padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: .75rem; font-weight: 800; }
.material-button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--chalk); }
.material-profile { display: grid; grid-template-columns: .75fr 1.25fr; gap: 2rem; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.material-profile h3 { margin: 0; font-family: var(--display); font-size: 3rem; font-weight: 400; line-height: 1; }
.material-profile dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0; }
.material-profile dt { color: var(--muted); font-family: var(--mono); font-size: .6rem; text-transform: uppercase; }
.material-profile dd { margin: .2rem 0 0; font-size: .84rem; }

.modal { position: fixed; z-index: 500; inset: 0; display: grid; place-items: center; padding: var(--pad); }
.modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(7,14,15,.78); backdrop-filter: blur(8px); }
.modal-panel { position: relative; width: min(100%, 760px); max-height: min(84vh, 900px); overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 30px 120px rgba(0,0,0,.35); }
.modal-wide .modal-panel { width: min(100%, 1120px); }
.modal-head { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; gap: 1rem; padding: 1.2rem; border-bottom: 1px solid var(--line); background: rgba(250,249,245,.95); backdrop-filter: blur(12px); }
.modal-head h2 { margin: 0; font-family: var(--display); font-size: 1.7rem; font-weight: 400; }
.modal-close { display: grid; width: 40px; height: 40px; flex: 0 0 auto; margin-left: auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 1.2rem; }
.modal-body { padding: 1.2rem; }
.search-modal-input { display: flex; width: 100%; align-items: center; gap: .7rem; border: 0; background: transparent; }
.search-modal-input input { width: 100%; padding: .4rem; border: 0; outline: 0; background: transparent; font-size: 1.1rem; }
.search-results { margin-top: 1rem; }
.search-result { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding: 1rem .3rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-result:hover { background: var(--chalk); }
.search-result strong { font-family: var(--display); font-size: 1.25rem; font-weight: 400; }
.search-result span { color: var(--muted); font-family: var(--mono); font-size: .62rem; }
.search-result small { grid-column: 1 / -1; color: var(--muted); }
.key-hint { padding: .15rem .35rem; border: 1px solid var(--line); border-radius: .25rem; color: var(--muted); font-family: var(--mono); font-size: .58rem; }

.compare-tray { position: fixed; z-index: 150; right: 50%; bottom: 1.2rem; display: flex; width: min(calc(100% - 2rem), 700px); align-items: center; gap: .8rem; padding: .65rem .7rem .65rem 1rem; border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(16,27,29,.96); color: var(--chalk); box-shadow: 0 20px 70px rgba(0,0,0,.28); transform: translateX(50%); backdrop-filter: blur(16px); }
.compare-tray .button-ghost { border-color: var(--line-dark); color: var(--chalk); }
.compare-tray .button-ghost:hover { border-color: var(--chalk); background: rgba(255,255,255,.06); }
.compare-tray-text { min-width: 0; flex: 1; }
.compare-tray-text strong { display: block; font-size: .78rem; }
.compare-tray-text span { display: block; overflow: hidden; color: #aab8b1; font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: .85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table th:first-child { width: 150px; color: var(--muted); font-family: var(--mono); font-size: .62rem; text-transform: uppercase; }
.compare-table td { font-size: .8rem; }
.compare-table a { overflow-wrap: anywhere; }
.toast { position: fixed; z-index: 800; right: 1.2rem; bottom: 1.2rem; max-width: 340px; padding: .85rem 1.1rem; border-radius: .5rem; background: var(--orange); color: var(--ink); box-shadow: var(--shadow); font-size: .8rem; font-weight: 800; }

.site-footer { padding: 4rem 0 2rem; border-top: 1px solid var(--line-dark); background: var(--ink); color: var(--chalk); }
.footer-top { display: grid; grid-template-columns: 1.4fr .6fr .6fr; gap: 3rem; padding-bottom: 3rem; }
.footer-statement { max-width: 14ch; margin: 1.5rem 0 0; font-family: var(--display); font-size: clamp(2rem, 3vw, 3.3rem); line-height: 1; }
.footer-col strong { display: block; margin-bottom: 1rem; color: #8fa099; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-col a { display: block; margin: .55rem 0; color: #d4ddd8; font-size: .82rem; text-decoration: none; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { display: flex; align-items: start; justify-content: space-between; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); color: #8fa099; font-size: .66rem; }
.footer-bottom p { max-width: 85ch; margin: 0; }

.reveal { animation: rise .8s both; animation-delay: var(--delay, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes draw { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
.roof-line { stroke-dasharray: 900; animation: draw 2s ease-out both; }

@media (max-width: 1100px) {
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: .78rem; }
  .hero-layout { grid-template-columns: 1.15fr .85fr; }
  .hero-art { min-height: 470px; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .tool-card:first-child { grid-column: 1 / -1; }
  .directory-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 1.5rem; }
  .directory-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .header-inner { min-height: 68px; gap: .8rem; }
  .site-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; align-items: stretch; padding: 1rem var(--pad) 1.5rem; border-bottom: 1px solid var(--line-dark); background: var(--ink); }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav a { padding: .7rem 0; font-size: 1rem; }
  .site-nav a::after { display: none; }
  .header-actions { margin-left: auto; }
  .menu-button { display: inline-flex; }
  .header-saved-label { display: none; }
  .hero { min-height: auto; }
  .hero-layout { min-height: auto; grid-template-columns: 1fr; padding-top: 5rem; padding-bottom: 5rem; }
  .hero .display { max-width: 12ch; }
  .hero-art { position: absolute; right: -20%; bottom: -5%; width: 70%; min-height: 400px; opacity: .35; pointer-events: none; }
  .hero-stamp, .hero-coordinate { display: none; }
  .scroll-cue { display: none; }
  .grid-2, .profile-layout, .town-intro-grid, .calculator-grid, .material-profile { grid-template-columns: 1fr; }
  .profile-aside, .article-toc { position: static; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 260px; }
  .path-card h3 { margin-top: 2rem; }
  .town-grid { grid-template-columns: repeat(2, 1fr); }
  .directory-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--chalk); }
  .filter-head, .filter-note { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .checklist-grid { grid-template-columns: 1fr; }
  .workspace-intro { flex-direction: column; gap: 1rem; }
}

@media (max-width: 560px) {
  :root { --pad: 1rem; }
  .brand-name { font-size: .9rem; }
  .brand-place { font-size: .5rem; }
  .brand-mark { width: 30px; height: 30px; }
  .header-search-label { display: none; }
  .icon-button { padding: .35rem .55rem; }
  .menu-button { min-width: 40px; padding: .35rem .55rem; font-size: 0; }
  .menu-button::after { content: "☰"; font-size: 1rem; }
  .hero-layout { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .hero .display { font-size: clamp(3.1rem, 15vw, 4.5rem); }
  .hero-search { border-radius: .8rem; }
  .hero-search .button { padding-inline: .9rem; }
  .hero-search input { font-size: .8rem; }
  .search-note { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 1.4rem 1rem; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(even) { border-right: 0; }
  .stat strong { font-size: 2.7rem; }
  .town-grid, .tool-grid, .guide-grid, .directory-grid, .definition-grid, .form-grid { grid-template-columns: 1fr; }
  .tool-card:first-child { grid-column: auto; }
  .tool-card { min-height: 290px; }
  .town-tile { padding: 1rem 0; }
  .filters { grid-template-columns: 1fr; }
  .results-toolbar { flex-wrap: wrap; }
  .results-toolbar .select { max-width: 100%; margin-left: 0; }
  .page-hero .h2 { font-size: 3.2rem; }
  .button-row .button { width: 100%; }
  .compare-tray { border-radius: .8rem; }
  .compare-tray .button-ghost { display: none; }
  .modal { padding: .5rem; }
  .modal-panel { max-height: 92vh; }
  .material-profile dl { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .toast { right: 1rem; bottom: 6rem; left: 1rem; max-width: none; }
}

.roof-wall { fill: rgba(184,202,189,.09); stroke: rgba(242,240,233,.65); stroke-width: 1.5; }
.roof-shingles { fill: none; stroke: var(--orange); stroke-width: 18; stroke-linecap: square; stroke-linejoin: miter; }
.roof-underlayment { fill: none; stroke: var(--sage); stroke-width: 8; }
.roof-decking { fill: none; stroke: var(--chalk); stroke-width: 5; }
.roof-rafter { fill: none; stroke: rgba(242,240,233,.5); stroke-width: 3; }
.roof-gutter { fill: none; stroke: var(--sky); stroke-width: 10; stroke-linecap: square; }
.roof-label { fill: var(--chalk); font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }
.roof-label-accent { fill: var(--orange); }
.roof-leader { fill: none; stroke: rgba(242,240,233,.48); stroke-width: 1.2; }
.roof-shingle-line { fill: none; stroke: rgba(16,27,29,.55); stroke-width: 2; }
.card-brand-logo { position: absolute; right: 1.1rem; bottom: 3.4rem; width: 58px; height: 58px; object-fit: contain; opacity: .24; filter: grayscale(1); pointer-events: none; transition: opacity .25s, filter .25s, transform .25s; }
.roof-card:hover .card-brand-logo { opacity: .62; filter: grayscale(.2); transform: rotate(-4deg) scale(1.04); }
.profile-brand-logo { width: 68px; height: 68px; object-fit: contain; padding: .35rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--white); opacity: .82; }
.availability-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .55rem; border: 1px solid #afc5c6; border-radius: 999px; color: #365a5e; font-size: .72rem; background: #edf4f3; }

.page-hero { border-bottom: 1px solid var(--line); background: var(--chalk); color: var(--ink); }
.page-hero::after { border-color: rgba(16,27,29,.08); box-shadow: 0 0 0 70px rgba(16,27,29,.025), 0 0 0 140px rgba(16,27,29,.018); }
.page-hero .lede { color: var(--muted); }
.page-hero h1 em { color: var(--orange-dark); font-weight: 400; }
.path-grid-light { border-color: var(--line); background: var(--line); }
.path-grid-light .path-card { background: var(--white); color: var(--ink); }
.path-grid-light .path-card:hover { background: var(--sage-light); }
.path-grid-light .path-card p { color: var(--muted); }
.path-grid-light .path-icon { color: var(--orange-dark); }

.small, .filter-note, .notice, .source-box, .card-compare, .toast, .compare-tray-text strong { font-size: .88rem; }
.eyebrow, .stat span, .search-note, .town-count, .path-number, .tool-card .tool-index, .breadcrumbs, .field label, .field-label, .card-location, .definition-grid dt, .permit-column span, .material-profile dt, .compare-table th:first-child, .footer-col strong { font-size: .73rem; }
.brand-place, .badge, .key-hint, .saved-count, .hero-coordinate, .hero-stamp, .scroll-cue, .results-count, .filter-reset, .formula, .privacy-chip, .search-result span, .compare-tray-text span, .footer-bottom { font-size: .69rem; }
.card-services, .article-toc a, .article table, .bid-table input, .bid-table textarea, .compare-table td, .footer-col a, .button, .workspace-tab { font-size: .88rem; }
.button-small { font-size: .82rem; }
.icon-button { font-size: .82rem; }

.owner-profile { margin: 1.5rem 0; padding: 1.25rem; border-left: 3px solid var(--orange); background: var(--sage-light); }
.owner-profile p:last-child { margin-bottom: 0; }
.owner-photo { width: 100%; max-height: 360px; margin-top: 1rem; border-radius: .65rem; object-fit: cover; }

.quote-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 2rem; }
.brief-output { min-height: 460px; margin: 0; padding: 1.5rem; overflow: auto; border: 1px solid #b6c8b9; border-radius: var(--radius); background: var(--sage-light); color: var(--ink); font-family: var(--mono); font-size: .86rem; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.project-transfer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.2rem 0; }
.project-transfer p { max-width: 58ch; margin: 0; }
.project-transfer .button-row { flex: 0 0 auto; margin: 0; }
.badge-kit { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 2rem; }
.roofline-badge-preview { display: flex; min-height: 150px; align-items: center; gap: 1rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--white); box-shadow: var(--shadow); }
.badge-preview-icon { display: grid; width: 54px; height: 54px; flex: 0 0 auto; place-items: center; border-radius: .6rem; background: var(--ink); color: var(--orange); font-family: var(--display); font-size: 2rem; }
.badge-preview-copy strong { display: block; font-family: var(--display); font-size: 1.55rem; font-weight: 400; line-height: 1.1; }
.badge-preview-copy span { display: block; margin-top: .45rem; color: var(--muted); font-family: var(--mono); font-size: .72rem; }
.embed-code { min-height: 145px; font-family: var(--mono); font-size: .82rem; }
.readiness-actions { margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--chalk); }
.readiness-actions textarea { min-height: 160px; font-size: .88rem; }

@media (max-width: 820px) {
  .quote-layout, .badge-kit { grid-template-columns: 1fr; }
  .project-transfer { align-items: flex-start; flex-direction: column; }
  .project-transfer .button-row { margin-top: .5rem; }
  .brief-output { min-height: 360px; }
}
@media (max-width: 560px) {
  .brand-place { font-size: .59rem; }
  .hero-art { right: 0; width: 72%; opacity: .25; }
  .hero-art .roof-drawing { width: 100%; }
  .card-brand-logo { width: 46px; height: 46px; }
  .roofline-badge-preview { padding: 1rem; }
  .badge-preview-copy strong { font-size: 1.3rem; }
}

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

.consent-panel { position: fixed; z-index: 250; bottom: 1.25rem; left: max(1.25rem, calc((100vw - var(--max)) / 2)); width: min(510px, calc(100% - 2.5rem)); max-height: calc(100svh - 2.5rem); padding: 1.5rem; overflow-y: auto; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.consent-panel h2 { margin: 0 0 .6rem; font-family: var(--display); font-size: 1.8rem; font-weight: 400; line-height: 1.1; }
.consent-panel p { margin: .5rem 0; font-size: .94rem; line-height: 1.6; }
.consent-panel .button-row { margin-top: 1.2rem; }
.consent-reset { padding: .5rem 0; border: 0; background: transparent; font-size: .88rem; text-decoration: underline; }
.topic-fieldset { margin: 1.5rem 0; padding: 0; border: 0; }
.topic-fieldset legend { margin-bottom: .8rem; font-weight: 700; }
.topic-choice { display: flex; align-items: flex-start; gap: .8rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.topic-choice input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: .2rem; accent-color: var(--orange-dark); }
.topic-choice strong, .topic-choice small { display: block; }
.topic-choice small { margin-top: .2rem; color: var(--muted); font-size: .88rem; }
.updates-points { margin: 0; padding: 0; list-style: none; }
.updates-points li { padding: 1rem 0; border-top: 1px solid var(--line); }
.updates-points strong { display: block; margin-bottom: .3rem; }
.updates-points p { margin: 0; color: var(--muted); }
.field-error { margin-top: .4rem; color: #8b281c; font-size: .88rem; }
.input:user-invalid { border-color: #a43827; }
.engagement-chart { display: grid; gap: .8rem; margin: 1.5rem 0; }
.engagement-row { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(80px, 3fr) 3rem; align-items: center; gap: .75rem; font-size: .88rem; }
.engagement-bar { height: .65rem; overflow: hidden; border-radius: 999px; background: var(--sage-light); }
.engagement-bar i { display: block; height: 100%; border-radius: inherit; background: var(--orange-dark); }
.engagement-events { margin-top: 2rem; }
@media (max-width: 560px) {
  .consent-panel { right: .75rem; bottom: .75rem; left: .75rem; width: auto; padding: 1.2rem; }
  .consent-panel .button { flex: 1 1 auto; }
  .engagement-row { grid-template-columns: minmax(100px, 1fr) minmax(60px, 2fr) 2.5rem; gap: .5rem; }
}
@media print {
  .consent-panel { display: none !important; }
  .site-header, .site-footer, .compare-tray, .toast, .modal, .button, .save-button, .card-compare, .filters, .results-toolbar, .breadcrumbs, .workspace-nav, .hero-art, .scroll-cue { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .page-hero, .hero, .section-dark { padding: 1rem 0; background: #fff; color: #000; }
  .section, .section-sm { padding: 1rem 0; }
  .shell { width: 100%; }
  .workspace-panel, .workspace-panel[hidden] { display: block !important; page-break-before: always; }
  .data-panel, .checklist-card, .calculation-result { border: 1px solid #aaa; background: #fff; color: #000; box-shadow: none; }
  .result-main strong, .result-main span, .result-main small { color: #000; }
  .article-layout, .profile-layout, .calculator-grid { display: block; }
  a { text-decoration: none; }
  input, textarea, select { border-color: #aaa !important; }
}
