/* ==========================================================================
   SOLAR ME — shared design tokens + components
   Extracted from solarmeusa.com (captured 2026-07-22, live DOM + raw source).
   NJ solar installer, service/repair-led. Sharp-corner system: zero border
   radius anywhere on the live site. Navy #044071 fills and 1px borders,
   uppercase 700 buttons, Montserrat throughout, quiet gray tints.
   Fonts are Montserrat + Inter on the live site — both free, no substitution.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  /* COLOR — brand. Navy extracted verbatim; -deep/-soft/-pale derived. */
  --brand: #044071;            /* Solar Me navy — buttons, CTA band, borders */
  --brand-deep: #032f54;       /* derived hover / pressed */
  --brand-soft: rgba(4, 64, 113, .25);
  --brand-pale: #e8eff6;       /* palest navy surface tint */

  /* COLOR — accents (extracted: star yellow on ratings, gold on footer hovers) */
  --accent-star: #ffd600;
  --accent-gold: #e8ac14;

  /* COLOR — ink (extracted: #2e2e2e headings, #636363 body) */
  --ink-deep: #2e2e2e;
  --ink: #636363;
  --ink-soft: rgba(99, 99, 99, .85);
  --ink-muted: #acafb3;
  --ink-quiet: rgba(46, 46, 46, .38);

  /* COLOR — grounds (extracted section tints) */
  --bg: #ffffff;
  --bg-pure: #ffffff;
  --bg-soft: #fafafa;          /* services / process band */
  --bg-cool: #f7f9fb;          /* projects / reviews band */
  --bg-dark: #044071;          /* navy CTA band */
  --bg-deepest: #032f54;

  /* COLOR — on-dark text */
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, .78);

  /* COLOR — rules */
  --border: #e6e9ed;
  --border-mid: #cfd4da;

  /* TYPE — Montserrat carries the whole site; Inter for small meta */
  --font-display: 'Montserrat', 'Helvetica Neue', system-ui, sans-serif;
  --font-body: 'Montserrat', 'Helvetica Neue', system-ui, sans-serif;
  --font-meta: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* TYPE — fluid scale (site h1 32px / h2 28px, w600 — kept modest, elevated with clamp) */
  --text-display: clamp(2.1rem, 3.6vw + .9rem, 3.2rem);
  --text-h1: clamp(1.9rem, 2.8vw + .8rem, 2.7rem);
  --text-h2: clamp(1.5rem, 1.8vw + .7rem, 2.1rem);
  --text-h3: clamp(1.1rem, .8vw + .8rem, 1.3rem);
  --text-body-lg: clamp(1.02rem, .3vw + .95rem, 1.12rem);
  --text-body: 1rem;
  --text-meta: .875rem;

  /* LAYOUT */
  --container: 1240px;
  --container-narrow: 880px;
  --gutter: 32px;
  --section: 96px;

  /* RADII — zero everywhere; sharp corners are the brand signature */
  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;

  /* SHADOW — the live site is nearly flat; cards lift with borders, not shadow */
  --shadow-card: 0 1px 2px rgba(4, 64, 113, .04);
  --shadow-card-hover: 0 10px 28px -14px rgba(4, 64, 113, .28);

  /* GRADIENT */
  --grad-scrim: linear-gradient(180deg, rgba(3, 47, 84, .25) 0%, rgba(3, 47, 84, .72) 100%);
  --grad-navy-band: linear-gradient(120deg, #032f54 0%, #044071 60%, #0a5a99 140%);

  /* MOTION */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --t-fast: 150ms;
  --t-base: 280ms;
}

/* ==== base ============================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: var(--container-narrow); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-deep); line-height: 1.18; margin: 0 0 .5em; font-weight: 600; }
.display { font-size: var(--text-display); font-weight: 600; text-wrap: balance; }
h1, .h1 { font-size: var(--text-h1); }
h2, .h2 { font-size: var(--text-h2); }
h3, .h3 { font-size: var(--text-h3); }

.lede { font-size: var(--text-body-lg); color: var(--ink-soft); max-width: 64ch; margin: 0 0 1.2em; }

.mt-md { margin-top: 1rem; }
.mt-48 { margin-top: 48px; }

/* ==== buttons — chamfered, uppercase, 1px-bordered (extracted) ==========
   The live site clips two opposite corners off every .button via clip-path
   (27px x 22.5px), then repaints the diagonal edge with ::before/::after.
   This notch is the brand's single strongest shape signature. */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: .85rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 0;
  text-decoration: none; cursor: pointer; border: 1px solid var(--brand);
  --btn-edge: var(--brand);
  clip-path: polygon(0 0, calc(100% - 27px) 0, 100% 22.5px, 100% 100%, 27px 100%, 0 calc(100% - 22.5px));
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn::before, .btn::after {
  content: ''; position: absolute; inset: 0; background: var(--btn-edge);
  transition: background var(--t-fast) var(--ease);
}
.btn::before { clip-path: polygon(0 calc(100% - 22.5px), 27px 100%, 25px 100%, 0 calc(100% - 20.5px)); }
.btn::after  { clip-path: polygon(calc(100% - 27px) 0, calc(100% - 25px) 0, 100% 20.5px, 100% 22.5px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); --btn-edge: var(--brand-deep); }
.btn-white { background: #fff; color: var(--brand); border-color: #fff; --btn-edge: #fff; }
.btn-white:hover { background: var(--brand-pale); border-color: var(--brand-pale); --btn-edge: var(--brand-pale); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-outline.on-dark { color: #fff; border-color: #fff; --btn-edge: #fff; }
.btn-outline.on-dark:hover { background: #fff; color: var(--brand); }
/* smaller notch on the compact variant, matching .stella-banner__btn */
.btn-sm {
  padding: 11px 20px; font-size: .78rem;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 12.5px, 100% 100%, 15px 100%, 0 calc(100% - 12.5px));
}
.btn-sm::before { clip-path: polygon(0 calc(100% - 12.5px), 15px 100%, 13px 100%, 0 calc(100% - 10.5px)); }
.btn-sm::after  { clip-path: polygon(calc(100% - 15px) 0, calc(100% - 13px) 0, 100% 10.5px, 100% 12.5px); }

/* ==== announcement + nav =============================================== */
.announcement-bar {
  background: var(--brand); color: var(--text-on-dark);
  font-size: .85rem; text-align: center; padding: 9px var(--gutter);
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.announcement-bar .btn { padding: 6px 14px; font-size: .72rem; }

.nav { background: var(--bg-pure); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 60; }
.nav > .container { display: flex; align-items: center; gap: 36px; min-height: 78px; }
.nav .brand-mark { display: flex; align-items: center; flex-shrink: 0; }
.nav .brand-mark img { height: 40px; width: auto; }
.nav .links { display: flex; gap: 26px; margin-right: auto; }
.nav .links a {
  color: var(--ink-deep); text-decoration: none; font-weight: 500; font-size: .92rem;
  text-transform: uppercase; letter-spacing: .04em;
  transition: color var(--t-fast) var(--ease);
}
.nav .links a:hover { color: var(--brand); }
.nav .actions { display: flex; align-items: center; gap: 18px; }
.nav .actions .phone { color: var(--brand); text-decoration: none; font-weight: 700; font-size: .95rem; }

/* ==== sections ========================================================== */
.section { padding: var(--section) 0; }
.section.tight { padding: 64px 0; }
.section.bg-soft { background: var(--bg-soft); }
.section.bg-cool { background: var(--bg-cool); }
.section.on-dark { background: var(--bg-dark); }
.section.on-dark h1, .section.on-dark h2, .section.on-dark h3 { color: var(--text-on-dark); }
.section.on-dark .lede, .section.on-dark p { color: var(--text-on-dark-muted); }

/* hero — photo + scrim, stats row, review badges (homepage hero-section) */
.hero-main { position: relative; background: var(--bg-deepest); overflow: hidden; }
.hero-main .bg-image-abs { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-main::after { content: ""; position: absolute; inset: 0; background: var(--grad-scrim); z-index: 1; }
.hero-main .container { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 72px; }
.hero-main h1 { color: #fff; max-width: 24ch; }
.hero-main .lede { color: rgba(255,255,255,.9); }

.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.review-badge { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  color: #fff; padding: 8px 14px; font-size: .8rem; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.review-badge .stars { color: var(--accent-star); letter-spacing: 2px; font-size: .75rem; }

.stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.stat-band .stat .num { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700; color: var(--ink-deep); }
.stat-band .stat .label { font-size: var(--text-meta); color: var(--ink-muted); margin-top: 2px; text-transform: uppercase; letter-spacing: .05em; }
.section.on-dark .stat-band .stat .num, .hero-main .stat-band .stat .num { color: #fff; }
.section.on-dark .stat-band .stat .label, .hero-main .stat-band .stat .label { color: rgba(255,255,255,.7); }

/* service card slider — the hero's six service cards (extracted hero__cards) */
.service-slider { display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, 82vw);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; }
.service-slider::-webkit-scrollbar { height: 8px; }
.service-slider::-webkit-scrollbar-thumb { background: var(--border-mid); }
.service-slide { scroll-snap-align: start; background: var(--bg-pure); border: 1px solid var(--border);
  display: flex; flex-direction: column; }
.service-slide .media { aspect-ratio: 16/10; overflow: hidden; }
.service-slide .media img { width: 100%; height: 100%; object-fit: cover; }
.service-slide .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-slide h3 { margin: 0; }
.service-slide p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.service-slide .go { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--brand);
  font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.service-card { background: var(--bg-pure); border: 1px solid var(--border); padding: 28px;
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; }
.service-card:hover { box-shadow: var(--shadow-card-hover); border-color: var(--brand); }
.service-card h3 { margin: 0; }
.service-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* image + text split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media { overflow: hidden; border: 1px solid var(--border); }
.split .media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split.flip .media { order: 2; }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
  background: var(--brand-pale); color: var(--brand); font-weight: 600; font-size: .82rem; }
.chip.warm { background: #fdf3d6; color: #9a7208; }
.chip.dark { background: var(--brand); color: #fff; }

/* brand strip — manufacturer names as bordered tiles */
.brand-strip { display: flex; flex-wrap: wrap; gap: 14px; }
.brand-strip .maker { border: 1px solid var(--border); padding: 16px 26px;
  font-weight: 600; color: var(--ink-deep); font-size: .95rem; background: var(--bg-pure); }

/* projects slider — spec cards (extracted projects-section) */
.project-slider { display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 82vw);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; }
.project-slider::-webkit-scrollbar { height: 8px; }
.project-slider::-webkit-scrollbar-thumb { background: var(--border-mid); }
.project-card { scroll-snap-align: start; background: var(--bg-pure); border: 1px solid var(--border);
  display: flex; flex-direction: column; }
.project-card .media { aspect-ratio: 16/10; overflow: hidden; }
.project-card .media img { width: 100%; height: 100%; object-fit: cover; }
.project-card .body { padding: 20px 22px 24px; }
.project-card h3 { font-size: 1.02rem; margin: 0 0 12px; }
.project-card .specs { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.project-card .specs li { font-size: .85rem; color: var(--ink-soft); display: flex; gap: 8px; }
.project-card .specs .k { font-weight: 600; color: var(--ink-deep); }

/* reviews */
.quote-card { background: var(--bg-pure); border: 1px solid var(--border); padding: 26px 28px; }
.quote-card .stars { color: var(--accent-star); letter-spacing: 3px; font-size: .9rem; }
.quote-card blockquote { margin: 12px 0 14px; font-size: .98rem; color: var(--ink); }
.quote-card cite { font-style: normal; font-size: .88rem; font-weight: 600; color: var(--ink-deep); }

/* faq */
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; color: var(--ink-deep); padding: 16px 0; list-style: none; position: relative; padding-right: 36px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--brand); font-size: 1.4rem; font-weight: 500; transition: transform var(--t-fast) var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); max-width: 68ch; }

/* cta band — full-bleed navy (extracted cta-section) */
.cta-band { background: var(--grad-navy-band); padding: 64px 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; justify-content: space-between; }
.cta-band h2 { color: #fff; margin: 0 0 6px; max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; max-width: 58ch; }

/* boost — commercial split band */
.boost { position: relative; background: var(--bg-deepest); overflow: hidden; }
.boost .bg-image-abs { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.boost::after { content: ""; position: absolute; inset: 0; background: var(--grad-scrim); z-index: 1; }
.boost .container { position: relative; z-index: 2; padding-top: 88px; padding-bottom: 88px; }
.boost h2 { color: #fff; max-width: 26ch; }
.boost p { color: rgba(255,255,255,.88); max-width: 60ch; }
.boost .btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.steps .step { background: var(--bg-pure); border: 1px solid var(--border); padding: 26px; }
.steps .step .stepno { font-family: var(--font-mono); font-weight: 600; font-size: .78rem;
  color: var(--brand); letter-spacing: .1em; text-transform: uppercase; }
.steps .step h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.steps .step p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* feature tiles (trust-story: Affordable Rates / Simplified Process / Serving Your Area) */
.value-tile { background: var(--bg-pure); border: 1px solid var(--border); padding: 28px; }
.value-tile h3 { margin: 0 0 6px; }
.value-tile p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* statement lines (trust-story: "No hype. No guesswork. Just smart solar done right.") */
.statement-lines { font-family: var(--font-display); font-weight: 600; color: var(--ink-deep);
  font-size: var(--text-h3); line-height: 1.5; }

/* issues list — repair page detailed problem/solution blocks */
.issues-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.issue-block { border: 1px solid var(--border); background: var(--bg-pure); padding: 30px; }
.issue-block h3 { margin: 0 0 10px; }
.issue-block p { margin: 0 0 10px; font-size: .93rem; color: var(--ink-soft); }
.issue-block p:last-child { margin: 0; }

/* incentive blocks — long-form info sections */
.incentive-block { border-left: 3px solid var(--brand); background: var(--bg-pure); padding: 30px 34px; }
.incentive-block h2 { font-size: var(--text-h3); margin: 0 0 10px; }
.incentive-block p { margin: 0 0 12px; font-size: .95rem; color: var(--ink-soft); max-width: 75ch; }
.incentive-block p:last-child { margin: 0; }
.incentive-stack { display: grid; gap: 22px; }

/* contact panel — address / phone / hours (live form is a 3rd-party embed) */
.contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-panel .details { display: grid; gap: 18px; }
.contact-panel .detail .k { font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-muted); }
.contact-panel .detail .v { font-size: 1.05rem; font-weight: 600; color: var(--ink-deep); }
.contact-panel .detail .v a { color: var(--brand); text-decoration: none; }

/* footer — light ground like the live site */
.footer { background: var(--bg-cool); border-top: 1px solid var(--border); color: var(--ink); padding: 72px 0 36px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer .brand-block img { height: 40px; margin-bottom: 16px; }
.footer .brand-block p { margin: 0 0 6px; font-size: .92rem; }
.footer h4 { color: var(--ink-deep); font-size: .95rem; margin: 0 0 14px; }
.footer a { color: var(--ink); text-decoration: none; display: block; padding: 4px 0; font-size: .92rem; }
.footer a:hover { color: var(--accent-gold); }
.footer .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: .82rem; color: var(--ink-muted); }

/* ==== second-pass patterns (full-site sweep, 2026-07-22) ================ */

/* service-flow — repair page's numbered "How We Get Your Solar System Working" */
.service-flow { display: grid; gap: 0; border-top: 1px solid var(--border); }
.service-flow .row { display: grid; grid-template-columns: 210px 1fr; gap: 24px;
  padding: 20px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.service-flow .row .k { font-weight: 700; color: var(--ink-deep); font-size: .98rem; }
.service-flow .row p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* solutions-accordion — area page's three long-form solution blocks */
.solutions-accordion { display: grid; gap: 0; border-top: 1px solid var(--border-mid); }
.solutions-accordion details { border-bottom: 1px solid var(--border-mid); }
.solutions-accordion summary { cursor: pointer; list-style: none; padding: 22px 0;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-h3);
  color: var(--ink-deep); position: relative; padding-right: 40px; }
.solutions-accordion summary::-webkit-details-marker { display: none; }
.solutions-accordion summary::after { content: "+"; position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%); color: var(--brand); font-size: 1.5rem; font-weight: 500;
  transition: transform var(--t-fast) var(--ease); }
.solutions-accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.solutions-accordion details p { margin: 0 0 22px; color: var(--ink-soft); max-width: 78ch; font-size: .95rem; }

/* types-grid — EV page's Level 1/2/3 tiers */
.types-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0;
  border: 1px solid var(--border); }
.types-grid .tier { padding: 30px; border-right: 1px solid var(--border); background: var(--bg-pure); }
.types-grid .tier:last-child { border-right: 0; }
.types-grid .tier h3 { margin: 0 0 10px; }
.types-grid .tier p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* brand-detail-cards — /brands manufacturer write-ups */
.brand-details { display: grid; gap: 0; }
.brand-detail { display: grid; grid-template-columns: 260px 1fr; gap: 32px;
  padding: 32px 0; border-bottom: 1px solid var(--border); }
.brand-detail h3 { margin: 0; font-size: 1.15rem; }
.brand-detail .copy p { margin: 0 0 12px; font-size: .93rem; color: var(--ink-soft); max-width: 76ch; }
.brand-detail .copy p:last-child { margin: 0; }

/* commercial-solutions — carports / rooftop / canopies / ground-mount / storage */
.solution-rail { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.solution-rail .pill { border: 1px solid var(--brand); color: var(--brand); padding: 9px 18px;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.solution-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.solution-block { border-top: 3px solid var(--brand); background: var(--bg-pure); padding: 26px 0 0; }
.solution-block h3 { margin: 0 0 8px; font-size: 1.05rem; }
.solution-block p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* why-choose — branded product justification */
.why-choose .intro { max-width: 74ch; }
.why-choose .points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.why-choose .point { border-left: 3px solid var(--brand); padding: 4px 0 4px 22px; }
.why-choose .point h3 { margin: 0 0 6px; font-size: 1.02rem; }
.why-choose .point p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* features-table / data-table — comparison + pricing tables */
.data-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); background: var(--bg-pure); }
.data-table caption { caption-side: top; text-align: left; font-weight: 600; color: var(--ink-deep);
  padding: 0 0 12px; font-size: .95rem; }
.data-table th { background: var(--brand); color: #fff; text-align: left; padding: 14px 18px;
  font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.data-table td { padding: 14px 18px; border-top: 1px solid var(--border); font-size: .92rem; color: var(--ink-soft); vertical-align: top; }
.data-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.table-scroll { overflow-x: auto; }

/* inline-callout — "Not Putting the Panels Back?" cross-sell */
.inline-callout { border: 1px solid var(--brand); background: var(--brand-pale); padding: 30px 34px; }
.inline-callout h2, .inline-callout h3 { margin: 0 0 8px; font-size: var(--text-h3); }
.inline-callout p { margin: 0 0 6px; color: var(--ink-soft); font-size: .95rem; max-width: 70ch; }
.inline-callout .go { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--brand);
  text-decoration: none; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.inline-callout .note { font-size: .85rem; color: var(--ink-muted); }

/* location-directory — county-grouped town links */
.location-directory { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; }
.location-directory .county h3 { margin: 0 0 12px; font-size: 1rem; padding-bottom: 10px;
  border-bottom: 1px solid var(--border-mid); }
.location-directory .towns { display: grid; gap: 4px; }
.location-directory .towns a { color: var(--brand); text-decoration: none; font-size: .88rem; }
.location-directory .towns a:hover { text-decoration: underline; }

/* image-band — full-bleed layered photo band */
.image-band { position: relative; height: clamp(220px, 30vw, 340px); overflow: hidden; }
.image-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-band::after { content: ""; position: absolute; inset: 0; background: rgba(4, 64, 113, .35); }

/* project-overview — portfolio detail narrative + closing CTA */
.project-overview p { max-width: 78ch; color: var(--ink-soft); margin: 0 0 16px; }
.project-cta { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 32px; }
.project-cta h3 { margin: 0 0 6px; }
.project-cta p { margin: 0 0 18px; }

/* portfolio-grid — the /portfolio index */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

/* reviews-wall — the /reviews long-form wall */
.reviews-wall { columns: 3; column-gap: 24px; }
.reviews-wall .quote-card { break-inside: avoid; margin-bottom: 24px; display: inline-block; width: 100%; }

/* article-cards — "Recent Articles" + /blog index */
.article-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.article-card { display: block; border: 1px solid var(--border); padding: 26px 28px;
  background: var(--bg-pure); text-decoration: none; color: inherit;
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.article-card:hover { box-shadow: var(--shadow-card-hover); border-color: var(--brand); }
.article-card h3 { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.35; }
.article-card .byline { font-size: .8rem; color: var(--ink-muted); }

/* video-cards — the /videos index */
.video-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.video-card { border: 1px solid var(--border); background: var(--bg-pure); display: flex; flex-direction: column; }
.video-card .media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.video-card .media img { width: 100%; height: 100%; object-fit: cover; }
.video-card .media::after { content: "▶"; position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center; color: #fff; font-size: 1.6rem;
  background: rgba(4, 64, 113, .35); }
.video-card .body { padding: 20px 22px 24px; }
.video-card h3 { margin: 0 0 6px; font-size: 1rem; }
.video-card p { margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* industry-list — "we serve a variety of businesses, including:" */
.industry-list { display: flex; flex-wrap: wrap; gap: 12px; }
.industry-list .item { border: 1px solid var(--border); background: var(--bg-pure);
  padding: 14px 24px; font-weight: 600; color: var(--ink-deep); font-size: .93rem; }

/* ==== DS doc chrome ===================================================== */
.ds-nav { background: var(--brand-deep); padding: 14px var(--gutter); display: flex;
  align-items: center; justify-content: space-between; gap: 20px; position: sticky; top: 0; z-index: 70; }
.ds-nav .lockup-text { margin: 0; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.ds-nav .lockup-text small { display: block; font-family: var(--font-mono); font-weight: 500;
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.ds-nav .tabs { display: flex; gap: 6px; }
.ds-nav .tab { color: rgba(255,255,255,.7); text-decoration: none; font-size: .88rem;
  font-weight: 600; padding: 8px 14px; }
.ds-nav .tab:hover { color: #fff; }
.ds-nav .tab.active { background: #fff; color: var(--brand); }

.ds-hero { padding: 72px 0 48px; }
.ds-section { padding: 56px 0; border-top: 1px solid var(--border); }

/* ==== sections.html catalog chrome ===================================== */
.sx-header { background: var(--bg-cool); padding: 72px 0 48px; }
.sx-header .meta { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 28px; }
.sx-header .meta > div { font-size: .82rem; color: var(--ink-muted); }
.sx-header .meta strong { display: block; color: var(--ink-deep); font-size: .98rem; }

.sx-index { border-bottom: 1px solid var(--border); background: var(--bg-pure); }
.sx-index .grid { max-width: var(--container); margin: 0 auto; padding: 20px var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 4px; }
.sx-index a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px;
  text-decoration: none; color: var(--ink-soft); font-family: var(--font-mono); font-size: .78rem; }
.sx-index a:hover { background: var(--brand-pale); color: var(--brand); }
.sx-index a .num { color: var(--ink-quiet); }

.sx-pattern { border-bottom: 1px solid var(--border); }
.pattern-meta { max-width: var(--container); margin: 0 auto; padding: 40px var(--gutter) 18px;
  display: flex; gap: 28px; align-items: baseline; }
.pattern-meta .id { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-quiet);
  display: flex; gap: 10px; align-items: baseline; white-space: nowrap; }
.pattern-meta .id .num { font-weight: 600; color: var(--brand); }
.pattern-meta .id .signature { background: var(--brand); color: #fff;
  font-size: .62rem; letter-spacing: .14em; padding: 3px 8px; }
.pattern-meta .name { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--ink-deep); }
.pattern-meta .purpose { margin: 2px 0 0; font-size: .88rem; color: var(--ink-muted); }

.sx-demo { position: relative; border-top: 1px dashed var(--border-mid); }
.sx-demo .demo-label { position: absolute; top: 0; right: var(--gutter); transform: translateY(-50%);
  background: var(--bg-pure); border: 1px solid var(--border-mid); color: var(--ink-quiet);
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 10px; z-index: 5; }

/* ==== pages gallery ==================================================== */
.pages-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.page-card { border: 1px solid var(--border); overflow: hidden;
  background: var(--bg-pure); text-decoration: none; color: inherit;
  transition: box-shadow var(--t-base) var(--ease); display: flex; flex-direction: column; }
.page-card:hover { box-shadow: var(--shadow-card-hover); }
.page-card .preview { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); position: relative; }
.page-card .preview iframe { width: 200%; height: 200%; transform: scale(.5); transform-origin: 0 0;
  border: 0; pointer-events: none; }
.page-card .preview::after { content: ""; position: absolute; inset: 0; }
.page-card .body { padding: 20px 24px 24px; }
.page-card .body h3 { margin: 0 0 6px; }
.page-card .body p { margin: 0 0 10px; font-size: .92rem; color: var(--ink-soft); }
.page-card .page-cta { font-weight: 700; color: var(--brand); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }

/* ==== design-system.html chrome ======================================== */
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.swatch { border: 1px solid var(--border); overflow: hidden; background: var(--bg-pure); }
.swatch .chip-color { height: 72px; }
.swatch .meta { padding: 10px 12px; }
.swatch .meta .t { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-deep); font-weight: 600; }
.swatch .meta .v { font-family: var(--font-mono); font-size: .68rem; color: var(--ink-quiet); }

.type-spec { border-bottom: 1px solid var(--border); padding: 22px 0; display: grid;
  grid-template-columns: 200px 1fr; gap: 24px; align-items: baseline; }
.type-spec .spec { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-muted); line-height: 1.8; }

.asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.asset-card { border: 1px solid var(--border); overflow: hidden; background: var(--bg-pure); }
.asset-card .thumb { aspect-ratio: 16/10; background: var(--bg-soft); display: flex;
  align-items: center; justify-content: center; overflow: hidden; }
.asset-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.asset-card .thumb img.contain { object-fit: contain; width: 70%; height: auto; }
.asset-card .meta { padding: 12px 14px; font-family: var(--font-mono); font-size: .7rem; color: var(--ink-muted); }
.asset-card .meta strong { display: block; color: var(--ink-deep); font-size: .78rem; }

code.token { font-family: var(--font-mono); font-size: .8em; background: var(--bg-soft);
  border: 1px solid var(--border); padding: 1px 7px; color: var(--brand); }

/* ==== responsive ======================================================= */
@media (max-width: 768px) {
  .nav .actions { display: none; }
}
@media (max-width: 1100px) {
  .reviews-wall { columns: 2; }
}
@media (max-width: 880px) {
  .split, .split.flip { grid-template-columns: 1fr; gap: 28px; }
  .split.flip .media { order: 0; }
  .issues-grid { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; gap: 28px; }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pages-gallery { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 0; }
  .type-spec { grid-template-columns: 1fr; gap: 8px; }
  .service-flow .row { grid-template-columns: 1fr; gap: 6px; }
  .brand-detail { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; }
  .types-grid .tier { border-right: 0; border-bottom: 1px solid var(--border); }
  .types-grid .tier:last-child { border-bottom: 0; }
  .reviews-wall { columns: 1; }
  /* catalog chrome: the id column is nowrap, so stack it above the name */
  .pattern-meta { flex-direction: column; gap: 10px; }
  .pattern-meta .id { white-space: normal; flex-wrap: wrap; }
  .pattern-meta .name, .pattern-meta .purpose { overflow-wrap: anywhere; }
}
