:root {
  --ink: #121212;
  --paper: #f4f1ea;
  --white: #fffdfa;
  --signal: #ed4b32;
  --acid: #d8f04f;
  --sky: #b8dce5;
  --mint: #b5d9c3;
  --line: rgba(18, 18, 18, .2);
  --display: "Bodoni 72", Didot, "Times New Roman", serif;
  --body: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input { font: inherit; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 14px; background: var(--acid); color: var(--ink); }
.skip:focus { transform: none; }

.site-header { position: relative; z-index: 30; display: grid; grid-template-columns: minmax(280px, 1fr) auto; align-items: center; min-height: 92px; padding: 0 4vw; border-bottom: 1px solid var(--ink); background: var(--white); }
.wordmark { display: flex; align-items: baseline; width: max-content; color: var(--ink); font-family: var(--display); font-size: 25px; line-height: 1; text-decoration: none; }
.wordmark i { margin: 0 8px; color: var(--signal); font-family: var(--display); font-size: 31px; font-style: italic; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a { position: relative; padding: 8px 0; font-size: 13px; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.site-header nav a::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; background: var(--signal); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.site-header nav a:hover::after, .site-header nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-button { display: none; width: 46px; height: 46px; padding: 10px; border: 1px solid var(--ink); border-radius: 0; background: transparent; cursor: pointer; }
.menu-button span { display: block; height: 2px; margin: 4px 0; background: var(--ink); }
.menu-button b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.home-hero { position: relative; height: 700px; max-height: calc(100vh - 92px); min-height: 570px; overflow: hidden; background: #111; color: white; }
.home-hero > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0 0 0 50%; background: #080808; }
.hero-copy { position: absolute; z-index: 2; right: 5vw; bottom: 72px; width: min(650px, 45vw); }
.hero-copy p, .eyebrow, .section-heading p, .page-hero > p, .article-hero > p, .case-hero p { margin: 0 0 15px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.hero-copy h1 { margin: 0; font-family: var(--display); font-size: 58px; font-weight: 400; line-height: 1.03; }
.hero-copy a { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding-bottom: 5px; border-bottom: 1px solid white; font-size: 14px; font-weight: 700; text-decoration: none; }
.hero-copy a span, .section-heading a span { color: var(--acid); font-size: 19px; }
.hero-index { position: absolute; z-index: 2; bottom: 37px; left: 4vw; display: grid; gap: 5px; font-size: 12px; text-transform: uppercase; }
.hero-index b { color: var(--acid); font-size: 20px; }

.article-shelf { padding: 55px 4vw 64px; border-bottom: 1px solid var(--ink); background: var(--acid); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; max-width: 1440px; margin: 0 auto 34px; }
.section-heading h2 { margin: 0; font-family: var(--display); font-size: 48px; font-weight: 400; line-height: 1.02; }
.section-heading p { color: #4d5709; }
.section-heading > a { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 800; text-decoration: none; }
.section-heading > span { font-size: 13px; font-weight: 800; }
.tabs { max-width: 1440px; margin: 0 auto; }
.tab-controls { display: flex; gap: 8px; margin-bottom: 18px; overflow-x: auto; }
.tab-controls button { min-width: 122px; min-height: 42px; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font-size: 13px; font-weight: 800; cursor: pointer; }
.tab-controls button span { margin-left: 6px; font-weight: 500; }
.tab-controls button[aria-selected="true"] { background: var(--ink); color: white; }
.story-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--ink); background: var(--ink); }
.story-card { display: flex; min-width: 0; min-height: 190px; flex-direction: column; padding: 22px; background: var(--white); text-decoration: none; transition: background .18s ease, color .18s ease; }
.story-card:hover { background: var(--signal); color: white; }
.story-card span { margin-bottom: 25px; color: #676760; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.story-card:hover span { color: white; }
.story-card strong { overflow-wrap: anywhere; font-family: var(--display); font-size: 24px; font-weight: 400; line-height: 1.12; }
.story-card i { margin-top: auto; padding-top: 25px; font-size: 12px; font-style: normal; font-weight: 800; }

.manifesto { display: grid; grid-template-columns: 100px 1.4fr 1fr; gap: 4vw; padding: 110px 4vw; border-bottom: 1px solid var(--ink); background: var(--white); }
.manifesto-number { color: var(--signal); font-family: var(--display); font-size: 42px; }
.manifesto h2 { max-width: 760px; margin: 0; font-family: var(--display); font-size: 62px; font-weight: 400; line-height: 1.03; }
.manifesto-copy { align-self: end; max-width: 520px; }
.manifesto-copy p { margin: 0 0 28px; font-size: 18px; }
.text-link { font-size: 13px; font-weight: 800; text-decoration: none; }

.work-band { padding: 100px 4vw 115px; background: var(--ink); color: white; }
.section-heading.inverse p { color: var(--acid); }
.section-heading.inverse > a { border-color: white; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 18px; max-width: 1440px; margin: 0 auto; }
.project-card { min-width: 0; text-decoration: none; }
.project-card img { width: 100%; aspect-ratio: 1.3; object-fit: cover; filter: grayscale(1); transition: filter .3s ease, transform .3s ease; }
.project-card:hover img { filter: grayscale(0); transform: translateY(-5px); }
.project-card span { display: block; margin-top: 15px; color: var(--acid); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.project-card h3 { margin: 4px 0; font-family: var(--display); font-size: 33px; font-weight: 400; }
.project-card p { max-width: 420px; margin: 0; color: #bdbdb9; font-size: 14px; }

.service-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--signal); color: white; }
.service-strip a { display: grid; grid-template-columns: 40px minmax(0, 1fr); min-width: 0; min-height: 210px; padding: 35px; border-right: 1px solid rgba(255,255,255,.6); text-decoration: none; }
.service-strip a:last-child { border-right: 0; }
.service-strip b { color: var(--acid); }
.service-strip span { align-self: end; min-width: 0; overflow-wrap: anywhere; font-family: var(--display); font-size: 32px; }
.service-strip i { grid-column: 2; min-width: 0; margin-top: 9px; overflow-wrap: anywhere; font-size: 13px; font-style: normal; }

.page-hero { padding: 90px 7vw; border-bottom: 1px solid var(--ink); }
.page-hero h1 { max-width: 980px; margin: 0; font-family: var(--display); font-size: 76px; font-weight: 400; line-height: 1; }
.page-hero h1 em { color: var(--signal); font-weight: 400; }
.editorial-hero { min-height: 520px; background: var(--sky); }
.compact-hero { min-height: 330px; background: var(--acid); }
.compact-hero h1 { font-size: 66px; }
.insights-hero { min-height: 560px; background: var(--mint); }

.reference-list { max-width: 1440px; margin: 0 auto; padding: 70px 4vw 120px; }
.reference { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 5vw; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.reference:nth-child(even) { grid-template-columns: minmax(320px, .75fr) minmax(0, 1.25fr); }
.reference:nth-child(even) .reference-image { order: 2; }
.reference-image { overflow: hidden; }
.reference-image img { width: 100%; aspect-ratio: 1.68; object-fit: cover; transition: transform .35s ease; }
.reference:hover img { transform: scale(1.025); }
.reference span { color: var(--signal); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.reference h2 { margin: 8px 0 10px; font-family: var(--display); font-size: 45px; font-weight: 400; line-height: 1; }
.reference p { max-width: 430px; }
.reference i { font-size: 12px; font-style: normal; font-weight: 800; }

.feature-visual { width: min(1440px, 92vw); margin: 0 auto; padding: 0; }
.feature-visual img { width: 100%; max-height: 720px; object-fit: cover; }
.prose { width: min(840px, 88vw); margin: 0 auto; padding: 80px 0 120px; font-size: 18px; }
.prose h1, .prose h2, .prose h3 { margin: 58px 0 18px; font-family: var(--display); font-weight: 400; line-height: 1.08; }
.prose h1 { font-size: 50px; }
.prose h2 { font-size: 40px; }
.prose h3 { font-size: 29px; }
.prose p { margin: 0 0 22px; }
.prose img { width: 100%; margin: 34px 0 14px; }
.prose a { font-weight: 700; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { min-width: 180px; padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }

.case-hero { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr); min-height: 570px; border-bottom: 1px solid var(--ink); background: var(--white); }
.case-hero > div { display: flex; flex-direction: column; justify-content: end; padding: 70px 5vw; }
.case-hero h1 { margin: 0; font-family: var(--display); font-size: 68px; font-weight: 400; line-height: 1; }
.case-hero span { margin-top: 25px; font-size: 16px; }
.case-hero > img { width: 100%; height: 100%; min-height: 570px; object-fit: cover; }
.case-prose { width: min(1000px, 88vw); }
.case-prose > div { display: contents; }
.next-case { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 55px 7vw; border-top: 1px solid var(--ink); background: var(--acid); text-decoration: none; }
.next-case span { font-size: 12px; font-weight: 800; text-transform: uppercase; }
.next-case strong { font-family: var(--display); font-size: 35px; font-weight: 400; }

.curated-stories { padding: 90px 4vw 105px; background: var(--white); }
.feature-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; max-width: 1440px; margin: 0 auto; border: 1px solid var(--ink); background: var(--ink); }
.feature-story { display: flex; min-height: 330px; flex-direction: column; padding: 30px; background: var(--paper); text-decoration: none; }
.feature-story:nth-child(2) { background: var(--sky); }
.feature-story:nth-child(3) { background: var(--acid); }
.feature-story span { color: var(--signal); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.feature-story h2 { margin: 18px 0; font-family: var(--display); font-size: 34px; font-weight: 400; line-height: 1.05; }
.feature-story p { margin: 0; font-size: 14px; }
.feature-story i { margin-top: auto; font-size: 12px; font-style: normal; font-weight: 800; }
.article-library { padding: 95px 4vw 115px; background: var(--ink); color: white; }
.article-library .story-grid { border-color: #777; background: #777; }
.article-library .story-card { background: #202020; }
.article-library .story-card:hover { background: var(--signal); }
.article-library .tab-controls button { border-color: white; color: white; }
.article-library .tab-controls button[aria-selected="true"] { background: var(--acid); color: var(--ink); }

.article-hero { padding: 85px max(6vw, calc((100vw - 1000px)/2)); background: var(--acid); }
.article-hero h1 { max-width: 1000px; margin: 0; overflow-wrap: anywhere; font-family: var(--display); font-size: 64px; font-weight: 400; line-height: 1.02; }
.article-hero > div { display: flex; gap: 26px; margin-top: 35px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.article-visual { width: min(1120px, 92vw); margin: 45px auto 0; }
.article-visual img { width: 100%; max-height: 630px; object-fit: contain; background: white; }
.article-prose { width: min(820px, 88vw); }
.article-prose > div { display: contents; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 45px 7vw; border-top: 1px solid var(--ink); background: var(--sky); }
.article-cta p { margin: 0; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.article-cta a { font-family: var(--display); font-size: 27px; text-decoration: none; }

.not-found { min-height: 65vh; padding: 100px 7vw; background: var(--acid); }
.not-found p { color: var(--signal); font-size: 18px; font-weight: 800; }
.not-found h1 { margin: 0 0 40px; font-family: var(--display); font-size: 80px; font-weight: 400; line-height: 1; }
.not-found a { margin-right: 25px; font-weight: 800; text-decoration: none; }

.site-footer { padding: 80px 4vw 38px; background: var(--ink); color: white; }
.footer-lead { display: grid; gap: 12px; max-width: 1440px; margin: 0 auto 75px; }
.footer-lead span { color: var(--acid); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.footer-lead strong { font-family: var(--display); font-size: 55px; font-weight: 400; line-height: 1.03; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .5fr; gap: 35px; max-width: 1440px; margin: 0 auto; padding-top: 28px; border-top: 1px solid #626262; color: #c6c6c1; font-size: 13px; }
.footer-grid, .footer-grid a { overflow-wrap: anywhere; }
.footer-grid a { color: white; }

@media (max-width: 1050px) {
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manifesto { grid-template-columns: 70px 1fr; }
  .manifesto-copy { grid-column: 2; }
  .feature-story-grid { grid-template-columns: 1fr; }
  .feature-story { min-height: 230px; }
}

@media (max-width: 780px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 74px; padding: 0 18px; }
  .wordmark { font-size: 18px; }
  .wordmark i { margin: 0 5px; font-size: 23px; }
  .menu-button { display: block; }
  .site-header nav { position: absolute; top: 74px; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px 18px 22px; border-bottom: 1px solid var(--ink); background: var(--white); }
  .site-header nav[data-open] { display: flex; }
  .site-header nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .home-hero { height: 650px; max-height: none; min-height: 0; }
  .home-hero > img { object-position: 37% center; }
  .hero-shade { inset: 43% 0 0; }
  .hero-copy { right: 20px; bottom: 70px; left: 20px; width: auto; }
  .hero-copy h1 { font-size: 42px; }
  .hero-index { display: none; }
  .article-shelf, .work-band, .curated-stories, .article-library { padding-right: 18px; padding-left: 18px; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading h2 { font-size: 39px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card { min-height: 150px; }
  .manifesto { grid-template-columns: 1fr; padding: 80px 20px; }
  .manifesto-number { font-size: 30px; }
  .manifesto-copy { grid-column: 1; }
  .manifesto h2 { font-size: 44px; }
  .project-grid { grid-template-columns: 1fr; }
  .service-strip { grid-template-columns: 1fr; }
  .service-strip a { min-height: 170px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.6); }
  .page-hero { min-height: 0; padding: 70px 20px; }
  .page-hero h1, .compact-hero h1 { font-size: 48px; }
  .reference-list { padding: 40px 20px 80px; }
  .reference, .reference:nth-child(even) { grid-template-columns: 1fr; gap: 22px; padding: 26px 0 40px; }
  .reference:nth-child(even) .reference-image { order: 0; }
  .reference h2 { font-size: 37px; }
  .case-hero { grid-template-columns: 1fr; }
  .case-hero > div { padding: 65px 20px 45px; }
  .case-hero h1 { font-size: 50px; }
  .case-hero > img { min-height: 300px; max-height: 430px; }
  .prose { width: min(100% - 40px, 840px); padding: 55px 0 80px; font-size: 17px; }
  .prose h1 { font-size: 39px; }
  .prose h2 { font-size: 33px; }
  .prose h3 { font-size: 26px; }
  .article-hero { padding: 65px 20px; }
  .article-hero h1 { font-size: 44px; }
  .article-hero > div { align-items: start; flex-direction: column; gap: 4px; }
  .article-cta, .next-case { align-items: start; flex-direction: column; padding: 40px 20px; }
  .next-case strong { font-size: 29px; }
  .footer-lead strong { font-size: 42px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .wordmark { font-size: 16px; }
  .wordmark i { font-size: 20px; }
  .home-hero { height: 600px; }
  .hero-copy h1 { font-size: 36px; }
  .page-hero h1, .compact-hero h1, .article-hero h1 { font-size: 40px; }
  .not-found h1 { font-size: 58px; }
}

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