/* polisite shell — shared stylesheet (phase 0 base).
   Theme variables are set on :root by main.js from the vertical's theme.json. */
:root {
    --color-primary: #1a1a1a; --color-primary-dark: #000000; --color-accent: #2a7f62;
    --color-bg: #fafafa; --color-bg-alt: #f0f0f0; --color-text: #1a1a1a; --color-text-muted: #666666; --color-border: #e5e5e5;
    --font-heading: 'Merriweather', Georgia, serif; --font-body: 'Inter', system-ui, sans-serif;
    /* Full width (2026-11-02): content uses the whole screen behind a fluid
       gutter; only reading text (.narrow, .details, forms) keeps a measure. */
    --nav-height: 72px; --container: 100%; --gutter: clamp(1rem, 4vw, 4rem); --radius: 6px;
    --space-1: 0.5rem; --space-2: 1rem; --space-3: 1.5rem; --space-4: 2rem; --space-6: 3rem; --space-8: 5rem;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; color: var(--color-text); }
h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); margin-bottom: var(--space-3); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: var(--space-3); }
h3 { font-size: 1.25rem; margin-bottom: var(--space-2); }
p { margin-bottom: var(--space-2); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 800px; }
.center { text-align: center; }
section { padding: var(--space-6) 0; }
/* Two plain sections in a row read as one page: tighten the seam so a page
   without colour bands is one flow, not a stack of boxes. */
section:not(.on-dark):not(.section-alt):not(.page-hero):not(.s-hero):not(.split) + section:not(.on-dark):not(.section-alt):not(.split) { padding-top: var(--space-2); }

/* ============ tones (section config `tone`: alt | dark | primary) ============ */
.tone-dark { background: var(--color-primary-dark); }
.tone-primary { background: var(--color-primary); }
.on-dark { color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark .issue-card h3, .on-dark .tile h3, .on-dark .fee-price, .on-dark .stat-value, .on-dark .endorse-name, .on-dark .result-amount, .on-dark .about-facts h3, .on-dark .detail-list h4, .on-dark .profile-badge strong, .on-dark .press-card h3 { color: #fff; }
.on-dark .muted, .on-dark .issue-card p, .on-dark .step p, .on-dark .review-meta, .on-dark .person-title, .on-dark .endorse-title, .on-dark .stat-label, .on-dark .stats-note, .on-dark .faq details p, .on-dark .section-eyebrow, .on-dark .hero-eyebrow, .on-dark .profile-badge span, .on-dark .result-amount small { color: rgba(255,255,255,0.78); }
.on-dark a:not(.btn) { color: #fff; }
.on-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,0.7); }
.on-dark .btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.on-dark .btn-secondary { background: #fff; color: var(--color-primary); border-color: #fff; }
.on-dark .step-num { background: #fff; color: var(--color-primary); }
.on-dark .issue-card, .on-dark .tile, .on-dark .review-card, .on-dark .fee-tier, .on-dark .result-item, .on-dark .endorse-card, .on-dark .contact-card, .on-dark .about-facts, .on-dark .detail-list, .on-dark .press-card, .on-dark .news-item, .on-dark .event-item, .on-dark .compare-a, .on-dark .profile-badge { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #fff; }
.on-dark .faq details, .on-dark .about-facts li, .on-dark .endorse-group h3 { border-color: rgba(255,255,255,0.2); }
.on-dark .form label, .on-dark .form .consent small, .on-dark .form-privacy { color: #fff; }
.on-dark .chip-fee, .on-dark .badge, .on-dark .person-tag, .on-dark .event-tag, .on-dark .rating-star, .on-dark .review-stars, .on-dark .tile .ico, .on-dark .checklist.plain .ico { color: #fff; }

/* ============ split (section config `split`: left | right) ============
   One column of a two-column section becomes a solid colour field the full
   height of the section, edge to edge: colour on the x axis, not only in
   bands down the page. The type marks the field column with .field. */
section.split { padding: 0; }
section.split > .container { padding: 0; max-width: none; }
.split .two-col, .split .about-wrap, .split .contact-grid, .split .media-wrap { gap: 0; max-width: none; align-items: stretch; }
.split .two-col > div, .split .about-wrap > div, .split .contact-grid > div, .split .media-copy { padding: var(--space-8) var(--gutter); }
.split .two-col > div:not(.field), .split .about-wrap > div:not(.field), .split .contact-grid > div:not(.field) { display: flex; flex-direction: column; justify-content: center; }
.field.tone-primary { background: var(--color-primary); }
.field.tone-dark { background: var(--color-primary-dark); }
.field.tone-alt { background: var(--color-bg-alt); }
.field.tone-accent { background: var(--color-accent); }
.split .contact-card { background: transparent; padding: 0; border-radius: 0; }
@media (max-width: 820px) { .split .two-col > div, .split .about-wrap > div, .split .contact-grid > div, .split .media-copy { padding: var(--space-6) var(--gutter); } }

/* nav */
.nav { position: sticky; top: 0; z-index: 100; height: var(--nav-height); background: var(--color-bg); border-bottom: 1px solid var(--color-border); display: flex; align-items: center; }
.nav:empty, .footer:empty { display: none; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
/* Over an immersive hero (main.js sets .nav-over when the page opens with
   one) the bar floats transparent on the photo and turns solid on scroll or
   when the phone menu opens. */
.nav.nav-over { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; transition: background 0.25s ease, border-color 0.25s ease; }
.nav.nav-over:not(.nav-solid) .nav-logo, .nav.nav-over:not(.nav-solid) .nav-links a, .nav.nav-over:not(.nav-solid) .nav-phone, .nav.nav-over:not(.nav-solid) .nav-phone small { color: #fff; }
.nav.nav-over:not(.nav-solid) .nav-toggle span { background: #fff; }
.nav.nav-over.nav-solid { background: var(--color-bg); border-bottom-color: var(--color-border); }
.nav-logo { font-family: var(--font-heading); font-weight: 900; font-size: 1.3rem; color: var(--color-primary); white-space: nowrap; }
.nav-links { display: flex; gap: 1.1rem; list-style: none; align-items: center; flex-shrink: 0; }
/* Menu position (site-settings.header.menuPosition): main.js sets data-menu
   to right (the default) or left; 'center' leaves it off for the three-way
   split — name, links, button. */
.nav[data-menu="left"] .nav-links { margin-right: auto; }
.nav[data-menu="right"] .nav-links { margin-left: auto; }
.nav-links a { color: var(--color-text); font-weight: 500; font-size: 0.92rem; white-space: nowrap; }
.nav-links a:hover { color: var(--color-primary); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-text); }
/* compact-3 is set by main.js fitNav() when the row overflows (also true on every phone) */
.nav.compact-3 .nav-links { position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--color-bg); flex-direction: column; padding: var(--space-3); gap: var(--space-2); border-bottom: 1px solid var(--color-border); display: none; }
.nav.compact-3 .nav-links.open { display: flex; }
.nav.compact-3 .nav-toggle { display: flex; }

/* page hero (inner pages) */
.page-hero { background: var(--color-primary-dark); color: #fff; padding: var(--space-6) 0; }
.page-hero h1 { color: #fff; margin-bottom: 0; }

/* footer */
.footer { background: var(--color-primary-dark); color: #fff; padding: var(--space-6) 0 var(--space-3); margin-top: var(--space-8); }
.footer a { color: #fff; opacity: 0.85; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-4); }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: var(--space-2); font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.05em; }
.footer ul { list-style: none; }
.footer-shell { font-size: 0.8rem; opacity: 0.6; align-self: end; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

/* section: text */
.s-text p { font-size: 1.15rem; }

/* section: placeholder (phase 0 only) */
.s-placeholder { padding: var(--space-2) 0; }
.s-placeholder .container { border: 1px dashed var(--color-border); border-radius: var(--radius); padding: var(--space-2) var(--space-3); background: var(--color-bg-alt); }
.ph-type { font-family: var(--font-heading); font-weight: 700; color: var(--color-primary); }
.ph-meta { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 0.25rem; overflow-wrap: anywhere; }

/* ============ SHARED PIECES USED BY SECTIONS ============ */
.section-title { text-align: center; margin-bottom: var(--space-4); }
.section-eyebrow { text-align: center; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; font-weight: 600; margin-bottom: var(--space-1); }
.section-alt { background: var(--color-bg-alt); }
.section-more { margin-top: var(--space-4); }
.lede { font-size: 1.15rem; }
.muted { color: var(--color-text-muted); }
.ico { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -0.25em; }
.btn { display: inline-block; padding: 0.85rem 1.5rem; border-radius: var(--radius); font-weight: 600; font-size: 1rem; cursor: pointer; border: 2px solid transparent; transition: all 0.2s; text-align: center; }
.btn-primary { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.btn-primary:hover { background: var(--color-primary); border-color: var(--color-primary); text-decoration: none; }
.btn-secondary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-secondary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; text-decoration: none; }
.btn-on-dark.btn-outline { color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-on-dark.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
/* Labels, not pills (2026-11-02): chips, badges and tags are small text so a
   page is not a field of capsules. Only icon circles keep a round shape. */
.chip-fee { display: inline-block; align-self: flex-start; color: var(--color-primary); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.chip-fee.alt { color: var(--color-text-muted); font-weight: 600; }
.rating-star { color: var(--color-accent); }

/* ============ s-hero ============ */
.s-hero.hero { padding: var(--space-8) 0 var(--space-6); background: var(--color-bg-alt); }
.hero-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-6); align-items: center; }
.hero-eyebrow { color: var(--color-primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.9rem; margin-bottom: var(--space-2); }
.hero-name { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; line-height: 1; margin-bottom: var(--space-2); color: var(--color-primary); }
.hero-office { font-size: 1.5rem; font-weight: 600; margin-bottom: var(--space-2); color: var(--color-text); }
.hero-tagline { font-size: 1.2rem; color: var(--color-text-muted); margin-bottom: var(--space-4); max-width: 620px; }
.hero-ctas { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.hero-photo { background: var(--color-border); border-radius: var(--radius); aspect-ratio: 4/5; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: var(--space-3); }
.hero-phone { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 1.15rem; color: inherit; }
.hero-rating, .rating-badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; color: var(--color-text); }
.layout-backdrop { position: relative; padding: var(--space-8) 0; overflow: hidden; color: #fff; min-height: 64vh; display: flex; align-items: center; }
.layout-backdrop .hero-bg { position: absolute; inset: 0; }
.layout-backdrop .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.layout-backdrop .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,28,0.86) 0%, rgba(10,14,28,0.62) 55%, rgba(10,14,28,0.35) 100%); }
.layout-backdrop .hero-split { position: relative; grid-template-columns: minmax(0, 640px); }
.layout-backdrop .hero-eyebrow, .layout-backdrop .hero-tagline { color: rgba(255,255,255,0.85); }
.layout-backdrop .hero-name, .layout-backdrop .hero-office { color: #fff; }
.layout-backdrop .btn-outline { color: #fff; border-color: #fff; }
.layout-backdrop .btn-outline:hover { background: rgba(255,255,255,0.15); }
.layout-backdrop .hero-rating { color: #fff; }
/* immersive: the photo fills the first screen and runs behind the nav */
.layout-immersive { position: relative; overflow: hidden; color: #fff; min-height: 92vh; display: flex; align-items: flex-end; padding: calc(var(--nav-height) + var(--space-8)) 0 var(--space-8); }
.layout-immersive .hero-bg { position: absolute; inset: 0; }
.layout-immersive .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.layout-immersive .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.12) 35%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.72) 100%); }
.layout-immersive .hero-split { position: relative; grid-template-columns: minmax(0, 720px); }
.layout-immersive .hero-eyebrow, .layout-immersive .hero-tagline { color: rgba(255,255,255,0.88); }
.layout-immersive .hero-name, .layout-immersive .hero-office, .layout-immersive .hero-rating { color: #fff; }
.layout-immersive .btn-outline { color: #fff; border-color: #fff; }
.layout-immersive .btn-outline:hover { background: rgba(255,255,255,0.15); }
.layout-immersive.no-photo { background: var(--color-primary-dark); min-height: 0; padding-bottom: var(--space-6); }
.layout-statement .hero-split { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.layout-statement .hero-copy { max-width: 760px; }
.layout-statement .hero-ctas, .layout-statement .hero-meta { justify-content: center; }
.hero-banner { margin-top: var(--space-6); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; background: var(--color-border); }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
@media (max-width: 820px) {
    .hero-split { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
    .hero-name { font-size: clamp(2.2rem, 11vw, 3rem); overflow-wrap: anywhere; }
    .hero-ctas .btn { flex: 1 1 auto; }
    .layout-backdrop { min-height: 0; }
    .layout-backdrop .hero-bg::after { background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.7) 100%); }
    .layout-immersive { min-height: 72vh; }
}

/* ============ s-page-hero ============ */
.page-hero { position: relative; overflow: hidden; }
.page-hero .container { position: relative; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 760px; }
.page-hero .hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.9); margin-bottom: var(--space-3); max-width: 760px; }
.page-hero .hero-ctas { margin-top: var(--space-2); }
.page-hero.has-bg .hero-bg { position: absolute; inset: 0; }
.page-hero.has-bg .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-hero.has-bg .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,28,0.9) 0%, rgba(10,14,28,0.7) 60%, rgba(10,14,28,0.45) 100%); }
.page-hero h1 { margin-bottom: var(--space-2); }

/* ============ s-stats-strip ============ */
.stats-band { padding: var(--space-4) 0; border-bottom: 1px solid var(--color-border); }
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-3); text-align: center; }
.stat-value { font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--color-primary); line-height: 1.1; }
.stat-label { color: var(--color-text-muted); font-size: 0.9rem; margin-top: 0.25rem; }
.stats-note { font-size: 0.78rem; color: var(--color-text-muted); text-align: center; margin: var(--space-2) auto 0; max-width: 720px; }

/* ============ s-cards ============ */
.issues-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-3); }
@media (min-width: 700px) { .issues-grid > *:only-child { max-width: 50%; margin-inline: auto; } }
.issue-card { background: var(--color-bg-alt); padding: var(--space-3); border-radius: var(--radius); border: 1px solid var(--color-border); transition: transform 0.2s, box-shadow 0.2s; }
.section-alt .issue-card { background: var(--color-bg); }
.issue-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.issue-card h3 { color: var(--color-primary); }
.issue-card p { color: var(--color-text-muted); margin-bottom: var(--space-2); }
.practice-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 0.5rem; }
.practice-card:hover { text-decoration: none; }
.practice-card .ico { width: 2rem; height: 2rem; color: var(--color-accent); }
.practice-card h3 { margin-bottom: 0; }
.practice-card p { flex: 1; }

/* ============ s-details ============ */
.details { max-width: 800px; margin: 0 auto; }
.issue-detail { margin-bottom: var(--space-6); }
.issue-detail h2 { margin-bottom: var(--space-2); }

/* ============ s-steps, s-tiles ============ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-4); }
.step-num { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--color-primary); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: var(--space-2); font-family: var(--font-heading); }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--color-text-muted); }
/* tiles are plain statements under a hairline, not cards with a rail and a check (design review, 2026-11-02) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4); }
.tile { border-top: 1px solid var(--color-text); padding-top: var(--space-2); }
.tile .ico { display: none; }
.tile h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin: 0; line-height: 1.35; }
.on-dark .tile { border-top-color: rgba(255,255,255,0.5); background: none; }

/* ============ s-dated-list ============ */
.results-list { display: grid; gap: var(--space-2); }
.result-item { display: grid; grid-template-columns: 1fr auto; gap: var(--space-3); align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-3); background: var(--color-bg); }
.result-item h3 { margin-bottom: 0.25rem; }
.result-item p { color: var(--color-text-muted); margin-bottom: 0.25rem; }
.review-meta { color: var(--color-text-muted); font-size: 0.85rem; }
.result-amount { font-family: var(--font-heading); font-weight: 900; font-size: 1.5rem; color: var(--color-primary); text-align: right; max-width: 260px; }
.result-amount.outcome-text { font-size: 1.15rem; }
.result-amount small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; color: var(--color-text-muted); }
@media (max-width: 820px) { .result-item { grid-template-columns: 1fr; } .result-amount { text-align: left; max-width: none; } }

/* ============ s-form ============ */
.s-form { border-top: 1px solid var(--color-border); }
.form { max-width: 560px; margin: 0 auto; display: grid; gap: var(--space-2); }
.form label { display: block; font-weight: 500; margin-bottom: 0.25rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form input[type="file"], .form textarea, .form select { width: 100%; padding: 0.7rem; border: 1px solid var(--color-border); border-radius: var(--radius); font: inherit; background: #fff; }
.form input[type="file"] { padding: 0.5rem; }
.form textarea { min-height: 120px; resize: vertical; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.form .consent { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; font-size: 0.95rem; }
.form .consent input { margin-top: 0.3rem; }
.form .consent small { display: block; color: var(--color-text-muted); font-size: 0.78rem; margin-top: 0.2rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { padding: var(--space-2); border-radius: var(--radius); margin-top: var(--space-2); display: none; }
.form-status.success { display: block; background: #e6f4ea; color: #137333; }
.form-status.error { display: block; background: #fce8e6; color: #c5221f; }
.form-privacy { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.5rem; text-align: center; }
@media (max-width: 820px) { .form-two { grid-template-columns: 1fr; } }

/* ============ nav phone + cta (definition.chrome.nav) ============ */
.nav-right { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; }
.nav-phone { display: flex; flex-direction: column; line-height: 1.15; color: var(--color-primary); font-weight: 700; text-align: right; }
.nav-phone small, .nav-phone span { white-space: nowrap; }
.nav-phone small { font-size: 0.68rem; font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.nav-phone:hover { text-decoration: none; color: var(--color-accent); }
.nav-cta { background: var(--color-accent); color: #fff !important; padding: 0.55rem 1rem; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.nav-cta:hover { background: var(--color-primary); text-decoration: none; }
.nav.compact-1 .nav-phone small { display: none; }
.nav.compact-2 .nav-cta { display: none; }
.nav.compact-3 .nav-phone { font-size: 0.95rem; }
/* ============ footer (definition.chrome.footer) ============ */
.footer li { margin-bottom: 0.5rem; }
.footer-social { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.footer-social a { text-transform: capitalize; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,0.15); padding-top: var(--space-2); font-size: 0.85rem; opacity: 0.7; text-align: center; margin-top: var(--space-4); }
.footer-disclaimer p { margin-bottom: 0.4rem; }
/* The platform credit, on every vertical: small, bottom corner. The logo is
   drawn white because the footer's colour is the site's own theme. */
.footer-credit { display: flex; justify-content: flex-end; margin-top: var(--space-3); }
.footer-credit a { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; opacity: 0.7; transition: opacity 0.15s ease; }
.footer-credit a:hover { opacity: 1; text-decoration: none; }
.footer-credit img { display: block; width: auto; height: 16px; filter: brightness(0) invert(1); }
.footer ul { margin-bottom: var(--space-3); }

/* ============ s-strip ============ */
.service-line { background: var(--color-primary); color: #fff; text-align: center; padding: 0.65rem var(--space-3); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
/* ============ s-compare ============ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.compare > div { padding: var(--space-4); border-radius: var(--radius); }
.compare-a { background: var(--color-bg-alt); border: 1px solid var(--color-border); }
.compare-b { background: var(--color-primary); color: #fff; }
.compare-b h3, .compare-b strong { color: #fff; }
.compare-b strong { color: var(--color-accent); font-size: 1.2rem; }
.compare-b p:last-child { margin-bottom: 0; }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } }
/* ============ s-tiers ============ */
.fee-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-3); }
.fee-tier { border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-3); background: var(--color-bg); }
.fee-tier.featured { border-color: var(--color-accent); box-shadow: 0 6px 24px rgba(0,0,0,0.06); }
.fee-price { font-family: var(--font-heading); font-weight: 900; font-size: 1.7rem; color: var(--color-primary); margin-bottom: var(--space-1); }
/* ============ s-faq ============ */
.faq details { border-bottom: 1px solid var(--color-border); padding: 0.9rem 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: var(--space-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--color-accent); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.75rem 0 0; color: var(--color-text-muted); }
/* ============ s-people ============ */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: var(--space-4); }
.person-card { display: grid; grid-template-columns: 150px 1fr; gap: var(--space-3); align-items: start; }
.person-photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--color-border); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-card h3 { margin-bottom: 0.15rem; }
.person-title { color: var(--color-text-muted); font-weight: 500; margin-bottom: 0.5rem; }
.person-tag { display: inline-block; color: var(--color-accent); font-size: 0.72rem; font-weight: 700; line-height: 1.5; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-2); }
.small { font-size: 0.9rem; }
@media (max-width: 600px) { .person-card { grid-template-columns: 1fr; } .person-photo { max-width: 160px; } }
/* ============ s-badges ============ */
.badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-4); }
.badge { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; font-weight: 500; color: var(--color-text); }
.badge .ico { color: var(--color-accent); }
/* ============ s-reviews ============ */
.section-intro { max-width: 640px; margin: calc(-1 * var(--space-2)) auto var(--space-4); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-3); }
.profile-badges + .review-grid { margin-top: var(--space-4); }
.review-card { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-3); display: flex; flex-direction: column; gap: 0.5rem; }
.review-stars { color: var(--color-accent); letter-spacing: 0.1em; font-size: 1.05rem; }
.review-card blockquote { font-style: italic; flex: 1; margin: 0; }
.profile-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); }
.profile-badge { display: flex; flex-direction: column; align-items: center; min-width: 160px; padding: 0.75rem 1.2rem; border: 1px solid var(--color-border); border-radius: var(--radius); color: var(--color-text); text-decoration: none; background: var(--color-bg); }
.profile-badge strong { font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-primary); }
.profile-badge span { font-size: 0.85rem; color: var(--color-text-muted); }
.profile-badge:hover { text-decoration: none; border-color: var(--color-accent); }
/* ============ s-columns ============ */
.two-col { display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr); gap: var(--space-6); }
.checklist.plain { list-style: none; padding: 0; margin: 0; }
.checklist.plain li { display: flex; gap: 0.5rem; align-items: flex-start; padding: 0.35rem 0; }
.checklist.plain .ico { color: var(--color-accent); margin-top: 0.2rem; }
.social-row { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-2); }
.social-row a { text-transform: capitalize; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
/* ============ s-cta-band ============ */
.cta-band { text-align: center; }
.cta-band p { max-width: 560px; margin: 0 auto var(--space-3); }
.cta-band .hero-ctas { justify-content: center; }
/* ============ s-contact-card ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--space-6); align-items: start; }
.contact-grid.single { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
.contact-card { background: var(--color-bg-alt); border-radius: var(--radius); padding: var(--space-4); }
.contact-card .btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; margin-bottom: 0.6rem; }
.contact-card h3 { margin-top: var(--space-3); }
.contact-card h3:first-child { margin-top: 0; }
.contact-card p { display: flex; gap: 0.5rem; align-items: flex-start; }
.contact-card .ico { color: var(--color-accent); margin-top: 0.2rem; }
.s-contact-card .form { margin: 0; max-width: none; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============ countdown (definition.chrome.countdown) ============ */
.countdown { background: var(--color-primary); color: #fff; text-align: center; padding: 0.6rem var(--space-3); font-weight: 500; font-size: 0.95rem; }
.countdown strong { font-weight: 700; }
/* ============ page-title (page-hero plain) ============ */
.page-title { padding: var(--space-6) 0 0; }
.page-title h1 { margin-bottom: var(--space-2); }
.page-title .section-intro { margin: 0 auto var(--space-2); }
.section-title.left { text-align: left; }
.hero-tagline.italic { font-style: italic; }
.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; }
/* social icon rows: light (page) and dark (footer) */
.page-social { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-2); }
.page-social a { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--color-bg-alt); color: var(--color-primary); border: 1px solid var(--color-border); transition: background 0.15s ease, color 0.15s ease; }
.page-social a:hover { background: var(--color-primary); color: #fff; }
.page-social svg, .footer-social svg { width: 1.1rem; height: 1.1rem; display: block; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; height: 2.25rem; padding: 0 0.5rem; border-radius: 999px; background: rgba(255,255,255,0.1); opacity: 0.85; transition: opacity 0.15s ease, background 0.15s ease; text-transform: none; }
.footer-social a:hover { opacity: 1; background: rgba(255,255,255,0.2); text-decoration: none; }
.social-text { font-size: 0.85rem; }
/* ============ s-profile ============ */
.about-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--space-6); align-items: start; }
.about-portrait { aspect-ratio: 4/5; background: var(--color-border); border-radius: var(--radius); overflow: hidden; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-facts { background: var(--color-bg-alt); padding: var(--space-3); border-radius: var(--radius); margin-top: var(--space-4); }
.about-facts h3 { color: var(--color-primary); margin-bottom: var(--space-2); }
.about-facts ul { list-style: none; padding: 0; margin: 0; }
.about-facts li { padding: 0.4rem 0; border-bottom: 1px solid var(--color-border); }
.about-facts li:last-child { border-bottom: none; }
.about-social { margin-top: var(--space-3); }
.about-teaser { align-items: center; }
.about-teaser .about-portrait { max-width: 260px; }
.profile-more { margin-top: var(--space-3); }
@media (max-width: 820px) { .about-wrap { grid-template-columns: 1fr; } .about-portrait { max-width: 400px; } }
/* ============ s-cards: in-card link ============ */
.card-link { font-weight: 600; }
/* ============ s-details: list block ============ */
.detail-list { background: var(--color-bg-alt); padding: var(--space-3); border-radius: var(--radius); margin-top: var(--space-3); }
.detail-list h4 { color: var(--color-primary); margin-bottom: var(--space-2); }
.detail-list ul { padding-left: 1.25rem; margin: 0; }
/* ============ s-quotes ============ */
.endorsements-list { display: grid; gap: var(--space-3); }
.endorse-group h3 { color: var(--color-primary); margin-bottom: var(--space-3); border-bottom: 2px solid var(--color-border); padding-bottom: var(--space-1); }
.endorse-card { background: var(--color-bg-alt); padding: var(--space-3); border-radius: var(--radius); margin-bottom: var(--space-2); }
.endorse-head { display: flex; align-items: center; gap: var(--space-2); }
.endorse-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.endorse-name { font-weight: 700; color: var(--color-text); }
.endorse-title { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: var(--space-1); }
.endorse-card blockquote { font-style: italic; color: var(--color-text); border-left: 3px solid var(--color-accent); padding-left: var(--space-2); margin: var(--space-1) 0 0; }
/* ============ s-dated-list news variant, s-events ============ */
.s-dated-list .results-list:has(.news-item), .events-list { display: grid; gap: var(--space-3); max-width: 800px; margin: 0 auto; }
.news-item, .event-item { padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-bg); }
.news-meta, .event-meta { color: var(--color-text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-1); }
.news-item h3, .event-item h3 { margin-bottom: var(--space-1); }
.event-location { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: var(--space-1); display: flex; align-items: center; gap: 0.35rem; }
.event-location .ico { width: 14px; height: 14px; color: var(--color-primary); }
.event-tag { display: inline-block; color: var(--color-text-muted); font-size: 0.7rem; font-weight: 600; line-height: 1.5; text-transform: uppercase; letter-spacing: 0.05em; margin-right: 0.75rem; }
.event-rsvp { margin-top: var(--space-2); }
/* ============ s-donate ============ */
.donate-wrap { max-width: 560px; margin: 0 auto; text-align: center; }
.donate-select { margin-top: var(--space-3); }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-1); margin: var(--space-3) 0; }
.amount-btn { padding: 1rem 0.5rem; border: 2px solid var(--color-primary); background: transparent; color: var(--color-primary); border-radius: var(--radius); font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: all 0.15s; font-family: inherit; }
.amount-btn:hover, .amount-btn.selected { background: var(--color-primary); color: #fff; }
.amount-other { grid-column: span 3; }
.amount-other input { width: 100%; padding: 0.85rem; border: 2px solid var(--color-border); border-radius: var(--radius); font-size: 1.1rem; text-align: center; font: inherit; }
.recurring-toggle { display: flex; align-items: center; gap: 0.5rem; justify-content: center; margin: var(--space-2) 0; color: var(--color-text-muted); }
.donate-go { width: 100%; font-size: 1.1rem; margin-top: var(--space-2); }
.donate-note { font-size: 0.85rem; margin-top: var(--space-3); }
/* ============ s-form: checkbox groups ============ */
.form fieldset { border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-2) var(--space-3); }
.form legend { font-weight: 500; padding: 0 0.4rem; }
.form .checkbox-group { display: grid; gap: 0.4rem; }
.form .checkbox-group label { font-weight: 400; display: flex; align-items: center; gap: 0.5rem; margin: 0; }
/* ============ s-contact-card stacked ============ */
.contact-grid.stacked { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
.contact-grid.stacked .contact-card p { display: block; }
/* ============ s-press-kit ============ */
.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-3); }
.press-card { padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius); }
.press-card h3 { color: var(--color-primary); }
.press-card p { margin-top: var(--space-1); }
.press-photos { grid-column: 1 / -1; }
.press-photo-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-1); }
.press-photo-row figure { margin: 0; max-width: 260px; }
.press-photo-row img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.press-photo-row figcaption { margin-top: var(--space-1); font-size: 0.9rem; }
.press-card pre { background: var(--color-bg-alt); padding: var(--space-2); border-radius: var(--radius); white-space: pre-wrap; font-family: var(--font-body); font-size: 0.95rem; color: var(--color-text); margin-top: var(--space-1); }
/* ============ newsletter popup (definition.chrome.newsletter) ============ */
.newsletter-popup { position: fixed; bottom: 1.5rem; right: 1.5rem; max-width: 360px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-3); box-shadow: 0 10px 40px rgba(0,0,0,0.15); transform: translateY(150%); transition: transform 0.4s ease; z-index: 200; }
.newsletter-popup.active { transform: translateY(0); }
.newsletter-popup-close { position: absolute; top: 8px; right: 12px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--color-text-muted); }
.newsletter-popup form { display: flex; gap: 0.5rem; margin-top: var(--space-2); }
.newsletter-popup input[type="email"] { flex: 1 1 0; min-width: 0; padding: 0.5rem; border: 1px solid var(--color-border); border-radius: var(--radius); font: inherit; }
.newsletter-popup button[type="submit"] { flex-shrink: 0; background: var(--color-accent); color: #fff; border: none; padding: 0.5rem 1rem; border-radius: var(--radius); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.page-title + section { padding-top: var(--space-3); }

/* ============ s-media: a photo beside copy, the human "feature" row ============ */
.media-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
.media-wrap.photo-right .media-photo { order: 2; }
/* The img is taken out of flow so a portrait photo cannot stretch the row: the box sets the size, the photo is cropped to it. */
.media-photo { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--color-border); position: relative; }
.media-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-copy h2 { text-align: left; }
.media-copy .lede { margin-bottom: var(--space-3); }
.split .media-photo { aspect-ratio: auto; min-height: 460px; border-radius: 0; height: 100%; }
@media (max-width: 820px) { .media-wrap { grid-template-columns: 1fr; } .media-wrap.photo-right .media-photo { order: 0; } .split .media-photo { min-height: 0; aspect-ratio: 4 / 3; } }

/* ============ empty-state polish (a new site before its photos and copy) ============ */
.layout-backdrop.no-photo { background: var(--color-primary-dark); min-height: 0; padding: var(--space-6) 0; }
.s-hero.no-photo .hero-split { grid-template-columns: 1fr; }
.person-card.no-photo { grid-template-columns: 1fr; }
