.round-button { display: inline-flex; align-items: center; justify-content: center; }
.hero h1 { line-height: .98; }
.hero h1 span { display: block; }
.intro-grid { grid-template-columns: minmax(0, .9fr) minmax(100px, .42fr) minmax(0, 1.55fr); align-items: start; gap: clamp(28px, 3.2vw, 56px); }
.intro-heading { min-width: 0; container-type: inline-size; }
.intro-grid h2 { max-width: none; font-size: clamp(1.6rem, 3.1vw, 3.8rem); font-size: clamp(1.6rem, 14cqw, 4rem); }
.story-title > span { display: block; white-space: nowrap; }
.origin-figure { display: flex; flex-direction: column; align-items: center; align-self: center; gap: 18px; min-width: 0; margin: 0; }
.origin-figure img { display: block; width: auto; height: clamp(320px, 31vw, 440px); max-width: 100%; object-fit: contain; }
.origin-figure figcaption { display: grid; gap: 7px; max-width: 160px; color: var(--muted); font-size: .7rem; line-height: 1.6; text-align: center; }
.origin-figure figcaption strong { color: var(--red); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.intro-copy { max-width: 68ch; }
.intro-copy p { margin-bottom: 1.3em; line-height: 1.8; }
.intro-copy p:last-child { margin-bottom: 0; }
.project-overlay { inset: 0; background: linear-gradient(transparent 54%, rgba(0, 0, 0, .86)); }
.project-overlay .round-button { transform: none; background: rgba(21, 21, 21, .92); border-color: rgba(255, 255, 255, .14); }
.project-overlay .round-button::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.project-card:hover .round-button, .project-card:focus-within .round-button { background: var(--red); border-color: var(--red); color: var(--white); transform: none; }
.project-card:focus-within { outline: 3px solid var(--red); outline-offset: 4px; }
.project-overlay .round-button:focus-visible { outline: none; }
.coverage.section { padding-block: 88px; }
.coverage-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 64px); }
.coverage-copy { min-width: 0; padding-left: clamp(22px, 2.5vw, 36px); border-left: 3px solid var(--red); }
.coverage-copy .eyebrow { margin-bottom: 16px; }
.coverage-grid h2 { margin-bottom: 22px; font-size: clamp(2.5rem, 4vw, 3.8rem); }
.coverage-grid > .coverage-copy > p:not(.eyebrow) { margin: 0; line-height: 1.75; }
.coverage-copy > .text-link { margin-top: 28px; }
.contact-grid > * { min-width: 0; }
.contact-meta a { overflow-wrap: anywhere; }
.service-item { grid-template-columns: 70px minmax(0, 1fr); cursor: default; }
.service-item:hover { background: rgba(255, 255, 255, .025); }
.reference-attribution { display: block; margin-top: 9px; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.project-overlay .featured-attribution { margin: 12px 0 0; max-width: 48ch; color: rgba(255, 255, 255, .85); font-size: .75rem; line-height: 1.5; }
.reference-list .reference-attribution { padding-left: 0; font-size: .8rem; }
.reference-disclosure { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; line-height: 1.75; }
.reference-list + .container .reference-disclosure { padding-top: 0; border-top: 0; }
.reference-disclosure > p { max-width: 100ch; margin-bottom: 10px; }
.reference-disclosure summary { width: fit-content; cursor: pointer; color: var(--ink); font-weight: 600; }
.reference-disclosure summary:hover, .reference-disclosure summary:focus-visible { color: var(--red); }
.reference-disclosure details > div { max-width: 100ch; padding-top: 16px; }
.reference-disclosure details p { margin-bottom: 14px; }
.reference-disclosure a { text-decoration: underline; text-underline-offset: 3px; }
/* Stretch the native project link across its entire reference row. */
.reference-list article { position: relative; padding-block: 20px; padding-right: 66px; cursor: pointer; }
.reference-open::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.reference-list article::after { content: "↗"; position: absolute; right: 16px; top: 50%; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); font-size: 20px; line-height: 1; pointer-events: none; transform: translateY(-50%); transition: color .2s, border-color .2s, transform .2s; }
.reference-list article:hover, .reference-list article:focus-within { background: rgba(245, 52, 20, .055); box-shadow: inset 3px 0 var(--red); }
.reference-list article:hover .reference-open, .reference-list article:focus-within .reference-open { color: var(--red); }
.reference-list article:hover::after, .reference-list article:focus-within::after { color: var(--red); border-color: var(--red); transform: translate(2px, -50%); }
.reference-open:focus-visible { outline: none; }
.reference-list article:focus-within { outline: 2px solid var(--red); outline-offset: -2px; }
.questions { border-top: 1px solid var(--line); }
.questions-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: start; }
.questions h2 { font-size: clamp(2.7rem, 4.5vw, 4.7rem); }
.questions details { padding: 24px 0; border-bottom: 1px solid var(--line); }
.questions details:first-child { border-top: 1px solid var(--line); }
.questions summary { cursor: pointer; font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.questions summary:hover, .questions summary:focus-visible { color: var(--red); }
.questions details p { margin: 18px 0 0; color: var(--muted); }
.search-page .site-header { background: var(--ink); }
.detail-hero { padding: 145px 0 64px; background: var(--ink); color: var(--white); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px 12px; margin: 0 0 44px; padding: 0; list-style: none; color: rgba(255,255,255,.65); font-size: .75rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 12px; color: var(--red); }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.detail-hero h1 { max-width: 1060px; margin-bottom: 28px; font-size: clamp(2.9rem, 6.2vw, 6.3rem); line-height: var(--project-title-leading); overflow-wrap: anywhere; text-wrap: balance; }
.detail-hero .detail-lead { max-width: 800px; margin-bottom: 28px; color: rgba(255,255,255,.75); font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 7vw; align-items: start; }
.detail-copy { min-width: 0; font-size: 1.05rem; }
.detail-copy > p { color: var(--muted); }
.detail-copy h2 { margin: 50px 0 24px; font-size: clamp(2rem, 3.2vw, 3rem); }
.detail-copy h2:first-child { margin-top: 0; }
.detail-scope { padding-left: 22px; color: var(--muted); }
.detail-scope li { margin-bottom: 12px; padding-left: 6px; }
.detail-aside { padding: 28px; border: 1px solid var(--line); background: #fff; }
.detail-aside h2 { margin-bottom: 20px; font-size: 1.8rem; }
.detail-aside p { margin-bottom: 20px; color: var(--muted); font-size: .92rem; }
.detail-aside a:not(.button) { overflow-wrap: anywhere; }
.detail-aside .button { width: 100%; margin-top: 10px; }
.detail-facts { margin: 28px 0; }
.detail-facts > div { padding: 15px 0; border-top: 1px solid var(--line); }
.detail-facts dt { margin-bottom: 5px; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.detail-facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.project-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.project-photo { margin: 0; }
.project-photo:first-child { grid-column: 1 / -1; }
.project-photo img { width: 100%; height: auto; }
.project-photo figcaption { margin-top: 9px; color: var(--muted); font-size: .75rem; }
.related-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 38px; }
.related-project { display: block; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.related-project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 16px; }
.related-project h3 { margin-bottom: 9px; font-size: 1.3rem; line-height: var(--project-title-leading); }
.related-project p { margin: 0; color: var(--muted); font-size: .85rem; }
.related-project:hover h3, .related-project:focus-visible h3 { color: var(--red); }
.service-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.service-links a { padding: 12px 15px; border: 1px solid var(--line); font-size: .85rem; font-weight: 700; }
.service-links a:hover { border-color: var(--red); color: var(--red); }
.service-links > span { padding: 12px 15px; border: 1px solid var(--line); font-size: .85rem; font-weight: 700; }
.photo-heading { margin-bottom: 38px; font-size: clamp(2.3rem, 4vw, 4rem); }
.footer-grid > * { min-width: 0; }
.footer-grid { column-gap: 24px; }
.footer-links { max-width: 300px; flex-wrap: wrap; row-gap: 10px; }
.content-section { padding-block: 76px; }
.content-section + .content-section { padding-top: 0; }
.content-intro { max-width: 880px; margin-bottom: 60px; }
.content-intro h2, .content-heading { font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.1; margin-bottom: 24px; }
.content-intro p { color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.content-heading:not(:first-child) { margin-top: 56px; }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.info-card { position: relative; display: block; min-width: 0; padding: 28px 54px 28px 28px; border: 1px solid var(--line); background: rgba(255,255,255,.5); transition: border-color .2s, background .2s; }
.info-card h3 { margin: 0 0 14px; font-size: 1.45rem; line-height: 1.2; overflow-wrap: anywhere; }
.info-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.info-card > span { position: absolute; top: 25px; right: 23px; color: var(--red); font-size: 1.4rem; }
.info-card:hover, .info-card:focus-visible { background: #fff; border-color: var(--red); }
.info-card:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.detail-copy .content-grid { grid-template-columns: 1fr; }
.guide-cover { margin: 0 0 38px; }
.guide-cover img { width: 100%; height: auto; }
.guide-cover figcaption, .editorial-note { color: var(--muted); font-size: .82rem; line-height: 1.75; }
.guide-cover figcaption { margin-top: 10px; }
.editorial-note { padding-left: 18px; border-left: 2px solid var(--line); }
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: minmax(120px, .32fr) minmax(0, 1fr); gap: 36px; }
  .intro-heading { grid-column: 1 / -1; }
  .origin-figure { grid-column: 1; }
  .intro-copy { grid-column: 2; }
  .intro-grid h2 { max-width: 17ch; }
  .coverage-grid { grid-template-columns: 1fr; gap: 36px; }
  .coverage-copy { padding-left: 24px; }
  .questions-grid, .detail-layout { grid-template-columns: 1fr; gap: 42px; }
  .detail-aside { max-width: 700px; }
  .related-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .hero h1 { max-width: 100%; font-size: clamp(2.5rem, 11.2vw, 4.8rem); }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-heading { grid-column: auto; order: 0; }
  .intro-copy { grid-column: auto; order: 1; }
  .origin-figure { grid-column: auto; order: 2; margin-top: 12px; }
  .origin-figure img { height: 320px; max-width: 130px; }
  .origin-figure figcaption { max-width: 280px; }
  .intro-grid h2 { font-size: clamp(2.3rem, 10vw, 3.3rem); }
  .coverage.section { padding-block: 64px; }
  .coverage-copy { padding-left: 18px; }
  .intro-copy p { font-size: 1rem; }
  .contact h2 { font-size: clamp(2.4rem, 10.5vw, 3rem); }
  .service-item { grid-template-columns: 38px minmax(0, 1fr); }
  .reference-list article { padding-right: 52px; }
  .reference-list article::after { top: 25px; right: 10px; width: 28px; height: 28px; transform: none; }
  .reference-list article:hover::after, .reference-list article:focus-within::after { transform: translateX(2px); }
  .detail-hero { padding: 116px 0 50px; }
  .breadcrumbs { margin-bottom: 28px; }
  .project-photos, .related-projects { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .info-card { padding: 24px 48px 24px 22px; }
  .project-photo:first-child { grid-column: auto; }
  .detail-aside { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .reference-list article::after { transition: none; }
}
