:root {
  --forest: #173b31;
  --forest-deep: #0d2821;
  --paper: #f1ecdf;
  --paper-soft: #faf7f0;
  --ink: #18231f;
  --muted: #66736d;
  --orange: #ef5b32;
  --yellow: #efc44c;
  --line: rgba(23, 59, 49, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper-soft); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { display: block; width: 100%; }
a { color: inherit; }
button { font: inherit; }

.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: white; padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; min-height: 78px; padding: 0 4vw; color: var(--forest-deep); background: rgba(250, 247, 240, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: .8rem; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; gap: 2px; width: 30px; }
.brand-mark i { display: block; height: 4px; background: var(--orange); }
.brand-mark i:nth-child(2) { width: 75%; }
.brand-mark i:nth-child(3) { width: 45%; }
.site-header nav { display: flex; gap: 1.7rem; font-size: .88rem; font-weight: 700; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--orange); }
.header-cta { justify-self: end; padding: .65rem 1rem; border: 1px solid var(--forest); text-decoration: none; font-size: .86rem; font-weight: 800; }

.hero { min-height: calc(100vh - 78px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr); overflow: hidden; background: var(--paper); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 9rem) 5vw; }
.eyebrow { margin: 0 0 1rem; color: var(--orange); font-size: .74rem; line-height: 1.2; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: #ffc867; }
.hero h1, .section-heading h2, .legacy-intro h2, .results-heading h2, .source-copy h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; line-height: .94; }
.hero h1 { font-size: clamp(4.25rem, 7.4vw, 8.4rem); }
.hero h1 em, .source-copy h2 em { color: var(--orange); font-weight: 400; }
.hero-lede { max-width: 41rem; margin: 2rem 0 0; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.2rem; border: 1px solid transparent; text-decoration: none; font-weight: 850; }
.button.primary { color: white; background: var(--forest); }
.button.secondary { color: var(--forest); border-color: var(--forest); }
.text-link { color: var(--forest); font-weight: 800; text-underline-offset: .3em; }
.signature-line { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 3.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.signature-line span { color: var(--muted); }

.hero-visual { position: relative; min-height: 650px; background: var(--forest); overflow: hidden; }
.hero-main-photo { position: absolute; inset: 7% 0 0 12%; margin: 0; overflow: hidden; }
.hero-main-photo img { height: 82%; object-fit: cover; filter: saturate(.88) contrast(1.06); }
.hero-main-photo figcaption { display: flex; align-items: center; gap: 1rem; color: white; padding-top: 1.2rem; font-family: var(--serif); font-size: 1.15rem; }
.hero-main-photo figcaption span { color: #ffc867; font-family: var(--sans); font-size: .76rem; font-weight: 900; }
.hero-cover { position: absolute; left: 1.5rem; bottom: 1.75rem; width: min(29%, 230px); margin: 0; border: 7px solid var(--paper-soft); box-shadow: 0 18px 50px rgba(0,0,0,.35); transform: rotate(-2.5deg); }
.hero-stamp { position: absolute; right: 2rem; top: 2rem; color: rgba(255,255,255,.7); text-align: right; font-size: .7rem; font-weight: 900; line-height: 1.2; letter-spacing: .18em; text-transform: uppercase; }

.legacy-band { display: grid; grid-template-columns: 1fr 1.6fr; gap: 6vw; padding: 7rem 5vw; color: white; background: var(--forest-deep); }
.legacy-intro h2 { max-width: 12ch; font-size: clamp(2.8rem, 5vw, 5.5rem); }
.legacy-intro > p:last-child { max-width: 32rem; margin-top: 1.7rem; color: #c9d6d1; }
.legacy-stats { display: grid; grid-template-columns: 1fr 1fr; align-content: center; border-top: 1px solid rgba(255,255,255,.2); }
.legacy-stats article { min-height: 180px; padding: 2rem; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.legacy-stats article:nth-child(2n) { border-right: 0; }
.legacy-stats strong { display: block; color: #ffc867; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.6rem); font-weight: 400; line-height: 1; }
.legacy-stats span { display: block; max-width: 22rem; margin-top: 1rem; color: #d6dfdb; }

.works-section { padding: 8rem 5vw; background: var(--paper-soft); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 4rem; margin-bottom: 3rem; }
.section-heading h2 { font-size: clamp(3.3rem, 6vw, 7rem); }
.section-heading > p { max-width: 34rem; margin: 0 0 .6rem; font-size: 1.12rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.filter { padding: .65rem 1rem; color: var(--forest); background: transparent; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; font-size: .82rem; font-weight: 850; }
.filter:hover, .filter.is-active { color: white; background: var(--forest); border-color: var(--forest); }

.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.work-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; background: white; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(20, 54, 45, .11); }
.work-card--wide { grid-column: span 2; grid-template-columns: 1.2fr .8fr; grid-template-rows: 1fr; }
.work-card--feature { grid-column: span 2; }
.work-card.is-hidden { display: none; }
.image-button { position: relative; min-width: 0; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--forest); }
.image-button img { height: 300px; object-fit: cover; filter: saturate(.88); transition: transform .55s ease, filter .55s ease; }
.work-card--wide .image-button img { height: 100%; min-height: 420px; }
.work-card--feature .image-button img { height: 420px; }
.image-button:hover img { transform: scale(1.035); filter: saturate(1); }
.image-button span { position: absolute; right: .8rem; bottom: .8rem; padding: .45rem .65rem; color: white; background: rgba(13,40,33,.8); opacity: 0; font-size: .72rem; font-weight: 800; transition: opacity .2s ease; }
.image-button:hover span, .image-button:focus-visible span { opacity: 1; }
.work-content { display: flex; flex-direction: column; padding: 1.6rem; }
.work-number { margin: 0 0 .65rem; color: var(--orange); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.work-content h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.75rem, 2.3vw, 2.7rem); font-weight: 400; line-height: 1.02; letter-spacing: -.03em; }
.work-content > p:not(.work-number):not(.attribution) { color: #4c5b55; }
.attribution { margin-top: auto; padding-top: 1rem; color: var(--forest); border-top: 1px solid var(--line); font-size: .75rem; font-weight: 900; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; }
.work-link { display: inline-flex; align-self: flex-start; margin-top: .8rem; color: var(--forest); font-size: .82rem; font-weight: 850; text-decoration-thickness: 1px; text-underline-offset: .28em; }
.work-link:hover { color: var(--orange); }
.work-links { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.mini-stats { display: flex; flex-wrap: wrap; gap: 1.1rem; margin: .7rem 0 1.2rem; padding: 0; list-style: none; color: var(--muted); font-size: .76rem; }
.mini-stats strong { display: block; color: var(--forest); font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }

.results-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; padding: 8rem 5vw; color: white; background: var(--forest); }
.results-heading { position: sticky; top: 120px; align-self: start; }
.results-heading h2 { max-width: 9ch; font-size: clamp(3.2rem, 5.8vw, 6.3rem); }
.sector-list article { display: grid; grid-template-columns: 52px 1fr 1.2fr; gap: 1.2rem; align-items: start; padding: 2rem 0; border-top: 1px solid rgba(255,255,255,.2); }
.sector-list article:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.sector-list span { color: #ffc867; font-size: .75rem; font-weight: 900; }
.sector-list h3 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.sector-list p { margin: 0; color: #c7d5d0; }

.source-section { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 760px; background: var(--paper); }
.source-cover { display: grid; place-items: center; padding: 7vw; background: var(--orange); }
.source-cover img { width: min(100%, 420px); box-shadow: 0 28px 70px rgba(59, 22, 10, .35); transform: rotate(-2deg); }
.source-copy { display: flex; flex-direction: column; justify-content: center; padding: 7vw; }
.source-copy h2 { font-size: clamp(4rem, 7vw, 8rem); }
.source-copy > p:not(.eyebrow):not(.quote-credit) { max-width: 42rem; font-size: 1.08rem; }
blockquote { max-width: 42rem; margin: 2rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 2.2rem); line-height: 1.25; }
.quote-credit { margin: .8rem 0 2rem; color: var(--muted); font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.source-copy .button { align-self: flex-start; }

footer { display: flex; justify-content: space-between; gap: 2rem; padding: 3rem 5vw; color: #c4d2cd; background: var(--forest-deep); font-size: .82rem; }
footer strong { color: white; }
footer p { margin: .3rem 0 0; }

.lightbox { width: min(92vw, 1200px); max-height: 92vh; padding: 0; color: white; background: var(--forest-deep); border: 0; }
.lightbox::backdrop { background: rgba(5,16,13,.88); backdrop-filter: blur(5px); }
.lightbox img { max-height: 78vh; object-fit: contain; background: #081c17; }
.lightbox p { margin: 0; padding: .9rem 1rem; }
.lightbox-close { position: absolute; z-index: 2; right: .8rem; top: .8rem; padding: .55rem .8rem; color: white; background: rgba(13,40,33,.82); border: 1px solid rgba(255,255,255,.35); cursor: pointer; font-weight: 800; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 680px; }
  .legacy-band, .section-heading, .results-section { grid-template-columns: 1fr; }
  .results-heading { position: static; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-card--feature { grid-column: span 2; }
}

@media (max-width: 680px) {
  .site-header { min-height: 68px; padding: 0 1rem; }
  .brand span:last-child { max-width: 150px; font-size: .82rem; line-height: 1.1; }
  .header-cta { display: none; }
  .hero { min-height: auto; }
  .hero-copy { padding: 4.5rem 1.25rem 3rem; }
  .hero h1 { font-size: clamp(3.7rem, 17vw, 5.4rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 520px; }
  .hero-main-photo { inset: 8% 0 0 8%; }
  .hero-main-photo img { height: 76%; }
  .hero-cover { width: 34%; left: 1rem; bottom: 1.2rem; }
  .legacy-band, .works-section, .results-section { padding: 5rem 1.25rem; }
  .legacy-stats { grid-template-columns: 1fr; }
  .legacy-stats article, .legacy-stats article:nth-child(2n) { min-height: 0; border-right: 0; }
  .section-heading { gap: 1.5rem; }
  .works-grid { grid-template-columns: 1fr; }
  .work-card--wide, .work-card--feature { grid-column: auto; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .work-card--wide .image-button img, .work-card--feature .image-button img, .image-button img { height: 290px; min-height: 0; }
  .sector-list article { grid-template-columns: 38px 1fr; }
  .sector-list p { grid-column: 2; }
  .source-section { grid-template-columns: 1fr; }
  .source-cover, .source-copy { padding: 5rem 1.25rem; }
  footer { flex-direction: column; padding: 2.5rem 1.25rem; }
}

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