/* ==========================================================================
   Site pages (about, who we serve, gallery, reviews, service areas, FAQ,
   legal, sitemap). Builds on assets/css/site.css tokens and components only.
   ========================================================================== */

/* Title block shared by these pages -------------------------------------- */
.page-hero .crumbs { margin-bottom: clamp(18px, 2.4vw, 28px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--ink-3); }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 .6em; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.page-hero__grid > :last-child { min-width: 0; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.page-hero .stamp-row { max-width: 560px; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; align-items: start; } }

/* Small type helpers ----------------------------------------------------- */
.sub-label { margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.note { font-size: .92rem; color: var(--ink-3); max-width: 70ch; }
.measure { max-width: 68ch; }
.text-link { color: var(--link); font-weight: 600; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--link); text-decoration: none; }
.arrow-link:hover { text-decoration: underline; }
.arrow-link .icon { transition: transform 160ms var(--ease); }
@media (hover: hover) { .arrow-link:hover .icon { transform: translateX(3px); } }

/* Ruled lists (problems, service links) ---------------------------------- */
.rule-list { list-style: none; margin: 0; padding: 0; border-top: var(--rule); }
.rule-list li { padding: 11px 0; border-bottom: 1px solid var(--hair); color: var(--ink-2); }
.rule-list li strong { color: var(--ink); }
.link-list { list-style: none; margin: 0; padding: 0; border-top: var(--rule); }
.link-list li { border-bottom: 1px solid var(--hair); }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 8px 0; font-weight: 700; text-decoration: none; color: var(--ink); }
.link-list a .icon { color: var(--ink-3); transition: transform 160ms var(--ease); }
.link-list a:hover { box-shadow: inset 0 -3px 0 var(--mark); }
@media (hover: hover) { .link-list a:hover .icon { transform: translateX(3px); color: var(--ink); } }
.link-list small { display: block; font-weight: 500; color: var(--ink-3); font-size: .88rem; }

/* ==========================================================================
   Who we serve
   ========================================================================== */
.jump-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; border: var(--rule); background: var(--sheet); }
.jump-index li + li { border-left: var(--rule); }
.jump-index a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px 20px; text-decoration: none; color: var(--ink); }
.jump-index a b { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 850 1.45rem/1 var(--font-display); font-stretch: 78%; text-transform: uppercase; }
.jump-index a span { color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.jump-index a:hover { background: var(--paper); }
.jump-index a:hover b { text-decoration: underline; text-decoration-thickness: 2px; }
@media (max-width: 760px) {
    .jump-index { grid-template-columns: 1fr; }
    .jump-index li + li { border-left: 0; border-top: var(--rule); }
}

.audience { scroll-margin-top: 80px; }
.audience h2 { max-width: 16ch; }
.audience__intro { font-size: var(--step-1); color: var(--ink-2); line-height: 1.5; max-width: 58ch; }
.audience__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: 28px; }
.audience__expect { margin-top: 28px; padding-top: 18px; border-top: var(--rule); }
.audience__expect p { color: var(--ink-2); margin-bottom: .6em; }
.audience__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 640px) { .audience__cols { grid-template-columns: 1fr; } }

/* HOA: photo left, sheet right */
.split--photo-l > .plate { border-left: 0; border-right: var(--rule); order: -1; }
.split--photo-l > .plate + * { border-left: 0; }
.audience .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.audience .split > .plate { min-height: 100%; }
.audience .split > .plate img { position: absolute; inset: 0; }
@media (max-width: 860px) {
    .audience .split { grid-template-columns: 1fr; }
    .audience .split > .plate { min-height: 0; aspect-ratio: 4 / 3; border-right: 0; border-bottom: var(--rule); }
    .audience .split > .plate img { position: static; }
    .split--photo-l > .plate + * { border-top: 0; }
}

/* Commercial: copy left with a problem/fix table, photo right */
.audience-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.audience-grid .plate { aspect-ratio: 4 / 5; position: sticky; top: 92px; }
.fix-table { margin-top: 28px; border-top: var(--rule); border-bottom: var(--rule); background: var(--sheet); }
.fix-table th, .fix-table td { text-align: left; vertical-align: top; padding: 14px 14px; border-bottom: 1px solid var(--hair); }
.fix-table thead th { padding-block: 10px; font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); background: var(--paper); border-bottom: var(--rule); }
.fix-table tbody tr:last-child > * { border-bottom: 0; }
.fix-table tbody th { width: 42%; font-weight: 700; }
.fix-table td a { color: var(--link); font-weight: 600; }
.fix-table td p { margin: 0 0 4px; color: var(--ink-2); }
@media (max-width: 900px) {
    .audience-grid { grid-template-columns: 1fr; }
    .audience-grid .plate { position: relative; top: 0; aspect-ratio: 4 / 3; order: -1; }
}
@media (max-width: 560px) {
    .fix-table thead { display: none; }
    .fix-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--hair); }
    .fix-table tbody tr:last-child { border-bottom: 0; }
    .fix-table th, .fix-table td { display: block; width: auto; padding: 2px 12px; border: 0; }
    .fix-table tbody th { width: auto; }
}

/* Residential: wide plate, three ruled columns under it */
.wide-plate { aspect-ratio: 21 / 8; }
.wide-plate img { object-position: center 55%; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: var(--rule); border-top: 0; background: var(--sheet); }
.trio > * { padding: clamp(20px, 2.6vw, 32px); min-width: 0; }
.trio > * + * { border-left: var(--rule); }
.trio h3 { font-size: 1.15rem; }
@media (max-width: 860px) {
    .wide-plate { aspect-ratio: 4 / 3; }
    .trio { grid-template-columns: 1fr; }
    .trio > * + * { border-left: 0; border-top: var(--rule); }
}
.residential-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(24px, 3vw, 36px); }
.residential-head p { margin: 0; }
@media (max-width: 860px) { .residential-head { grid-template-columns: 1fr; } }

/* ==========================================================================
   About
   ========================================================================== */
.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.story__copy p { color: var(--ink-2); max-width: 62ch; }
.story__copy p:first-of-type { font-size: var(--step-1); color: var(--ink); line-height: 1.5; }
.story__portrait { width: min(100%, 420px); justify-self: center; }
.story__portrait img { display: block; height: auto; }
.story__portrait figcaption { position: static; text-transform: none; font-size: .9rem; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

.do-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); list-style: none; margin: 0; padding: 0; border-top: var(--rule); }
.do-list li { border-bottom: 1px solid var(--hair); }
.do-list a { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; min-height: 56px; padding: 14px 0; text-decoration: none; color: var(--ink); }
.do-list a b { font: 850 1.35rem/1.05 var(--font-display); font-stretch: 78%; text-transform: uppercase; }
.do-list a span { color: var(--ink-3); font-size: .92rem; text-align: right; }
.do-list a:hover b { box-shadow: inset 0 -.2em 0 var(--mark); }
@media (max-width: 760px) { .do-list { grid-template-columns: 1fr; } .do-list a { flex-direction: column; gap: 2px; } .do-list a span { text-align: left; } }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: var(--rule); }
.steps li { counter-increment: step; padding: 20px 20px 22px 0; }
.steps li + li { padding-left: 20px; border-left: 1px solid var(--hair); }
.steps li::before { content: counter(step); display: block; margin-bottom: 12px; font: 850 2.2rem/1 var(--font-display); font-stretch: 74%; color: var(--ink); }
.steps h3 { font-size: 1.12rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .steps li:nth-child(4) { padding-left: 0; border-left: 0; } .steps li:nth-child(n+4) { border-top: 1px solid var(--hair); } }
@media (max-width: 640px) {
    .steps { grid-template-columns: 1fr; }
    .steps li, .steps li + li { padding: 16px 0 16px 56px; border-left: 0; border-top: 1px solid var(--hair); position: relative; }
    .steps li:first-child { border-top: 0; }
    .steps li::before { position: absolute; left: 0; top: 16px; margin: 0; }
}

.creds { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0; border: var(--rule); background: var(--sheet); }
.creds > * { padding: clamp(22px, 3.2vw, 44px); min-width: 0; }
.creds > * + * { border-left: var(--rule); }
.creds h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.creds .stamp-row { margin-top: 20px; }
.terms-table caption { text-align: left; padding: 0 0 12px; color: var(--ink-2); font-size: .95rem; }
.terms-table td { color: var(--ink-2); }
@media (max-width: 860px) { .creds { grid-template-columns: 1fr; } .creds > * + * { border-left: 0; border-top: var(--rule); } }

.photo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.photo-strip .plate { aspect-ratio: 4 / 3; }
.photo-strip .plate figcaption { font-size: .68rem; padding: 7px 10px; }
.strip-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.strip-foot p { margin: 0; }
@media (max-width: 860px) { .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-filters { position: sticky; top: 68px; z-index: 20; }
@media (max-width: 1280px) { .gallery-filters { top: 60px; } }
.gallery-filters__wrap { scrollbar-width: thin; }
.gallery-filter[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--mark); background: var(--paper); }
.gallery-filter small { margin-left: 8px; color: var(--ink-3); font-weight: 500; font-size: .85rem; }
.gallery-filter:hover { background: var(--paper); }
.gallery-main__header h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); margin: 0; }
.gallery-main__header p { margin: 0; color: var(--ink-3); }

.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(14px, 1.8vw, 24px); list-style: none; margin: 0; padding: 0; }
.work-tile { margin: 0; }
.work-tile__open { position: relative; display: block; width: 100%; padding: 0; border: var(--rule); background: var(--asphalt); cursor: zoom-in; text-align: left; color: inherit; }
.work-tile__frame { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.work-tile__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.work-tile--comparison .work-tile__frame img { object-fit: contain; }
@media (hover: hover) { .work-tile__open:hover img { transform: scale(1.03); } }
.work-tile--comparison .work-tile__open:hover img { transform: none; }
.work-tile__open:focus-visible { outline-offset: 3px; }
.work-tile__count { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--asphalt); color: var(--on-asphalt); border-left: var(--rule); border-bottom: var(--rule); font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1.2; }
.work-tile__count .icon { width: 15px; height: 15px; }
.work-tile figcaption { display: grid; gap: 4px; padding: 9px 2px 0; color: var(--ink-2); }
.work-tile figcaption strong { font-size: .92rem; line-height: 1.3; }
.work-tile figcaption time { color: var(--ink-3); font-size: .78rem; }
.work-tile__description { margin: 0; font-size: .85rem; line-height: 1.4; }
.gallery-empty { padding: 40px; border: var(--rule); background: var(--sheet); }

.pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: clamp(28px, 4vw, 44px); padding-top: 18px; border-top: var(--rule); }
.pager__pages { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pager__pages a, .pager__pages span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--hair); text-decoration: none; font-weight: 700; color: var(--ink); background: var(--sheet); }
.pager__pages a:hover { border-color: var(--ink); }
.pager__pages [aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager__status { margin: 0; color: var(--ink-3); font-size: .95rem; }

/* Lightbox (dialog) */
.lightbox { flex-direction: column; gap: 12px; }
.lightbox__content { display: flex; flex-direction: column; align-items: center; max-height: 100%; }
.lightbox__content img { max-height: calc(100vh - 160px); max-width: 100%; object-fit: contain; background: #0b0d0f; }
.lightbox__close, .lightbox__prev, .lightbox__next { border-radius: var(--radius); }
.lightbox__close .icon, .lightbox__prev .icon, .lightbox__next .icon { width: 24px; height: 24px; }
.lightbox__prev .icon { transform: rotate(90deg); }
.lightbox__next .icon { transform: rotate(-90deg); }
.lightbox__close:focus-visible, .lightbox__prev:focus-visible, .lightbox__next:focus-visible { outline: 3px solid var(--mark); outline-offset: 3px; }
.lightbox__title { color: var(--on-asphalt); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; font-size: .85rem; }
.lightbox__description { color: var(--on-asphalt); font-size: .85rem; margin: 4px auto; max-width: 60ch; }
.lightbox__description:empty { display: none; }
.lightbox__counter { font-size: .85rem; }
@media (max-width: 640px) {
    .lightbox { padding: 64px 8px 80px; }
    .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
    .lightbox__prev { left: calc(50% - 60px); }
    .lightbox__next { right: calc(50% - 60px); }
    .lightbox__content img { max-height: calc(100vh - 220px); }
}
body.has-lightbox { overflow: hidden; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.proof { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); border: var(--rule); background: var(--sheet); }
.proof > * { padding: clamp(22px, 3vw, 40px); min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.proof > * + * { border-left: var(--rule); }
.proof__figure { display: flex; align-items: baseline; gap: 12px; margin: 0; }
.proof__figure b { font: 900 clamp(4rem, 3rem + 4vw, 6.4rem)/.85 var(--font-display); font-stretch: 72%; letter-spacing: -.02em; }
.proof__figure span { font: 850 1.3rem/1 var(--font-display); font-stretch: 78%; text-transform: uppercase; }
.proof__stars { display: flex; gap: 4px; color: var(--ink); }
.proof__stars .icon { width: 22px; height: 22px; fill: currentColor; }
.proof h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); margin: 0; }
.proof p { margin: 0; color: var(--ink-2); }
.proof .button { align-self: flex-start; margin-top: auto; }
.proof__big { font: 900 clamp(3rem, 2.4rem + 2.4vw, 4.4rem)/.9 var(--font-display); font-stretch: 72%; }
@media (max-width: 960px) {
    .proof { grid-template-columns: 1fr 1fr; }
    .proof > :first-child { grid-column: 1 / -1; }
    .proof > :nth-child(2) { border-left: 0; }
    .proof > :nth-child(n+2) { border-top: var(--rule); }
}
@media (max-width: 560px) { .proof { grid-template-columns: 1fr; } .proof > * + * { border-left: 0; border-top: var(--rule); } }

.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); list-style: none; margin: 0; padding: 0; border-top: var(--rule); }
.quotes li { padding: 22px 0; border-bottom: 1px solid var(--hair); }
.quotes blockquote { margin: 0 0 10px; font-size: 1.12rem; line-height: 1.55; color: var(--ink); }
.quotes cite { font-style: normal; font-size: .92rem; color: var(--ink-3); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }
.leave-review { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 18px 20px; border: var(--line) dashed var(--rule-c); }
.leave-review p { margin: 0; max-width: 60ch; }

/* ==========================================================================
   Service areas
   ========================================================================== */
.counties { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 0; border: var(--rule); background: var(--sheet); }
.county { padding: 20px 22px 22px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); min-width: 0; }
.county h3 { font: 850 1.45rem/1 var(--font-display); font-stretch: 78%; text-transform: uppercase; margin-bottom: 12px; padding-bottom: 10px; border-bottom: var(--rule); }
.county ul { list-style: none; margin: 0; padding: 0; }
.county li { padding: 6px 0; font-weight: 600; }
.county li small { display: block; font-weight: 500; color: var(--ink-3); font-size: .85rem; }
.areas-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.areas-layout .area-map { margin-top: 0; background: var(--sheet); }
.areas-layout .area-map iframe { min-height: 440px; }
@media (max-width: 960px) { .areas-layout { grid-template-columns: 1fr; } .areas-layout .area-map iframe { min-height: 320px; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-toc { position: sticky; top: 96px; }
.faq-toc ul { list-style: none; margin: 0; padding: 0; border-top: var(--rule); }
.faq-toc li { border-bottom: 1px solid var(--hair); }
.faq-toc a { display: flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--ink); }
.faq-toc a:hover { text-decoration: underline; }
.faq-group { scroll-margin-top: 90px; }
.faq-group + .faq-group { margin-top: clamp(40px, 5vw, 64px); }
.faq-group h2 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); }
.faq-group .faq-list { max-width: none; }
.faq-item__answer p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-toc { position: static; } }

/* ==========================================================================
   Legal + sitemap
   ========================================================================== */
.legal-content { padding-block: var(--section); }
.legal-content .legal-meta { color: var(--ink-3); }
.legal-content ul { padding-left: 1.3em; margin-bottom: 1.4em; }
.legal-content li { margin-bottom: .35em; color: var(--ink-2); }
.legal-content p { color: var(--ink-2); }
.legal-content h2:first-of-type { margin-top: .8em; }

.sitemap-list a { display: block; padding: 2px 0; text-decoration: none; color: var(--ink); }
.sitemap-list a:hover .sitemap-list__title { text-decoration: underline; }
.sitemap-category__header h2 { margin-bottom: .4em; }
.sitemap-contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; border-top: var(--line) solid var(--mark); }
.sitemap-contact h2 { color: var(--on-asphalt); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); margin-bottom: .2em; }
.sitemap-contact p { color: var(--on-asphalt-2); margin: 0; }
.sitemap-contact__buttons { margin-top: 0; }
.sitemap-contact .button--solid { border-color: var(--mark); }
.sitemap-contact .button--outline { border-color: var(--on-asphalt); color: var(--on-asphalt); }
.sitemap-contact .button--outline:hover { background: var(--on-asphalt); color: var(--ink); }
.sitemap-contact :focus-visible { outline-color: var(--mark); }

/* Close panel buttons keep tap size on phones */
@media (max-width: 480px) {
    .close-panel__actions .button, .audience__actions .button, .page-hero__actions .button { width: 100%; }
}
.note--spaced { margin-top: 14px; }
.facts-table { background: var(--sheet); border: var(--rule); }
.facts-table th, .facts-table td { padding: 11px 16px; }
.facts-table th { width: 40%; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; }
.facts-table td { color: var(--ink); font-weight: 600; }
.facts-table a { color: var(--link); }
.close-panel .button--outline:hover { color: var(--asphalt); }
.faq-item__h { margin: 0; font: inherit; }
html:not(.js) .faq-item__answer { display: block; }
html:not(.js) .faq-item__icon { display: none; }
/* a sheet section that follows a plain section still needs its top padding */
.section + .section--sheet { padding-top: var(--section); }
/* photo captions stay a dark strip in both themes */
.plate figcaption { background: var(--asphalt); color: var(--on-asphalt); }
.gallery-main { padding-top: clamp(28px, 4vw, 48px); }
.close-panel p a.close-link { color: var(--on-asphalt); }

/* Phones: two photos per row so the gallery doesn't become one very long column */
@media (max-width: 560px) {
    .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .work-tile__count { padding: 5px 7px; font-size: .68rem; gap: 4px; }
    .work-tile__count .icon { width: 13px; height: 13px; }
    .work-tile figcaption { flex-wrap: wrap; gap: 2px 8px; font-size: .72rem; letter-spacing: .03em; padding-top: 6px; }
}

.featured-work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.job-films { scroll-margin-top: 5rem; }
.job-films__layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: clamp(1rem, 3vw, 3rem); align-items: start; }
.job-films__screen { margin: 0; }
.job-films__screen video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #111; }
.job-films__screen video.job-films__portrait { aspect-ratio: 9 / 16; width: min(100%, 40.5vh, 349px); height: auto; margin-inline: auto; }
.job-films__screen figcaption { padding-top: .8rem; }
.job-films__screen h3, .job-films__screen p { margin: 0 0 .4rem; }
.job-films__list { list-style: none; margin: 0; padding: 0; }
.job-films__list a { display: flex; gap: .75rem; align-items: center; padding: .4rem .55rem; color: inherit; text-decoration: none; border-inline-start: 3px solid transparent; }
.job-films__list a:hover span, .job-films__list a[aria-current] span { text-decoration: underline; }
.job-films__list a[aria-current] { border-color: currentColor; }
.job-films__list img { width: 88px; height: 50px; object-fit: cover; }
.job-films__list small { display: block; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.job-films__groups details { border-bottom: var(--rule); }
.job-films__groups summary { cursor: pointer; padding: .8rem .55rem; font-weight: 700; }
@media (min-width: 761px) { .job-films__groups { max-height: 37rem; overflow-y: auto; } }
@media (max-width: 760px) { .job-films__layout { grid-template-columns: minmax(0, 1fr); } }
.featured-work-grid .arrow-link { margin-top: .5rem; }
@media (max-width: 640px) { .featured-work-grid { grid-template-columns: 1fr; } }
