:root { color-scheme: dark; --paper: #181a1d; --ink: #d9d9d9; --muted: #a7a9ad; --line: #3d4147; --surface: #23262b; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
@supports not (scrollbar-gutter: stable) { html { overflow-y: scroll; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Geist', Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #a0abff; outline-offset: 7px; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
.motion-image { position: relative; }
.motion-image picture { display: block; }
.motion-control { position: absolute; right: 6px; bottom: 6px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #d9d9d9; cursor: pointer; }
.motion-control[hidden] { display: none; }
.motion-control svg { grid-area: 1 / 1; width: 32px; height: 32px; border-radius: 50%; background: #181a1ded; }
.motion-control:focus-visible { outline: 3px solid #a0abff; outline-offset: 2px; border-radius: 50%; }
.motion-control .motion-control-play, .motion-control[data-paused="true"] .motion-control-pause { display: none; }
.motion-control[data-paused="true"] .motion-control-play { display: block; }
.site-header, main, .site-footer { width: min(1440px, calc(100% - 96px)); margin-inline: auto; }
.site-header { display: flex; align-items: baseline; justify-content: space-between; padding-block: 32px; border-bottom: 2px solid var(--line); gap: 24px; }
.wordmark { position: relative; isolation: isolate; display: inline-flex; flex-direction: row; align-items: baseline; gap: 0; white-space: nowrap; font-size: 22px; font-weight: 400; letter-spacing: -.025em; line-height: 1.3; }
/* Explicit radii let the glow fade to transparent before its lower and right edges. */
.wordmark::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: min(640px, 100vw); height: 220px; left: -150px; top: -120px; background: radial-gradient(ellipse 75% 80% at 25% 20%, rgba(255, 255, 255, .36), rgba(255, 255, 255, .22) 20%, rgba(255, 255, 255, .12) 40%, rgba(255, 255, 255, .04) 60%, rgba(255, 255, 255, 0) 80%); opacity: 0; will-change: opacity; transition: opacity .35s ease; }
.wordmark:hover, .wordmark:focus-visible { text-decoration: none; }
.wordmark:focus-visible::before { opacity: 1; }
@media (hover: hover) { .wordmark:hover::before { opacity: 1; } }
.wordmark-name { font-weight: 500; }
.wordmark-role { font-size: inherit; font-weight: 400; letter-spacing: -.025em; line-height: 1.3; color: #606266; }
.wordmark-divider { display: inline-block; margin-inline: 10px; }
nav { font-size: 14px; }
nav span { margin-left: 14px; }
.site-nav { display: flex; gap: 28px; margin-left: auto; font-size: 22px; font-weight: 400; letter-spacing: -.025em; line-height: 1.3; }
.site-nav a[aria-current="page"] { text-decoration: none; }
.page-header { padding: 60px 0 32px; }
.page-header h1 { font-size: clamp(48px, 7.5vw, 108px); font-weight: 500; line-height: 1; letter-spacing: -.055em; margin: 0; }
.page-copy { max-width: 660px; font-size: 20px; line-height: 1.6; margin-bottom: 48px; }
.text-page { min-height: 60vh; }
.case-study-list { list-style: none; padding: 0; margin: 0 0 48px; border-top: 2px solid var(--line); }
.case-study-list li { border-bottom: 1px solid var(--line); }
.case-study-link { display: flex; align-items: flex-start; gap: 24px; padding: 28px 0; }
.case-study-index, .case-study-client { font-size: 12px; color: var(--muted); }
.case-study-details { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1; }
.case-study-meta { display: flex; align-items: center; gap: 20px; }
.case-study-index, .case-study-client { line-height: 1.5; }
.case-study-title { font-size: clamp(24px, 3vw, 38px); line-height: 1.15; letter-spacing: -.04em; }
.case-study-arrow { font-size: 18px; line-height: 1; flex-shrink: 0; margin-left: auto; }
.archive-page { min-height: 60vh; }
.archive-grid { --archive-height: clamp(180px, 20vw, 260px); display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin-bottom: 64px; }
.archive-grid figure { margin: 0; min-width: 0; max-width: 100%; flex: var(--ratio) 1 calc(var(--ratio) * var(--archive-height)); }
.archive-grid img { display: block; width: 100%; height: auto; filter: grayscale(1); transition: filter .3s ease; }
.archive-grid figure:focus-visible { outline: 2px solid var(--muted); outline-offset: 8px; }
.archive-grid figure:focus-visible img, .archive-grid figure:active img { filter: grayscale(0); }
@media (hover: hover) { .archive-grid figure:hover img { filter: grayscale(0); } }
.archive-grid figcaption { font-size: 13px; color: var(--muted); line-height: 1.6; padding-top: 12px; overflow-wrap: anywhere; }
.intro { padding: 60px 0 54px; }
.eyebrow { font-size: 12px; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 18px; }
.eyebrow p { margin: 0; }
h1, h2, h3, p { margin-top: 0; }
.intro h1 { font-size: clamp(42px, 5.4vw, 78px); line-height: 1.02; font-weight: 500; letter-spacing: -.055em; max-width: 1020px; margin-bottom: 0; text-wrap: balance; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 0; border-top: 1px solid var(--line); }
.section-heading h2, .section-heading span { font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.section-heading span { color: var(--muted); }
.selected-work > .section-heading { border-top: 0; }
.selected-work .section-heading h2 { font-size: 20px; text-transform: none; letter-spacing: -.025em; }
.home-project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 64px 24px; padding-top: 16px; padding-bottom: 48px; align-items: start; }
.project-card { display: block; grid-column: span 4; min-width: 0; }
.project-card--highlight { grid-column: 5 / span 8; grid-row: 1; }
.project-card--highlight + .project-card { grid-column: 1 / span 4; grid-row: 1; }
.project-card:hover { text-decoration: none; }
.project-thumbnail { position: relative; isolation: isolate; aspect-ratio: 3 / 2; background: var(--surface); margin-bottom: 12px; }
.placeholder-thumbnail { background: #44474c; display: flex; align-items: center; justify-content: center; color: var(--ink); font-size: 13px; }
.project-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumbnail-frame { display: block; width: 100%; height: 100%; overflow: hidden; }
.thumbnail-image { position: relative; background: var(--surface); transition: transform .4s ease; }
.project-card:focus-visible .thumbnail-image { transform: scale(1.025); }
@media (hover: hover) { .project-card:hover .thumbnail-image { transform: scale(1.025); } }
@media (prefers-reduced-motion: reduce) { .project-card .thumbnail-image { transform: none; } }
/* Sampled cover colors provide balanced hover glows. */
.project-thumbnail .thumbnail-glow { position: absolute; inset: -4px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 20% 65%, var(--glow-1, transparent), transparent 70%), radial-gradient(ellipse at 80% 35%, var(--glow-2, transparent), transparent 70%), radial-gradient(ellipse at 55% 85%, var(--glow-3, transparent), transparent 75%); filter: blur(36px); opacity: 0; transition: opacity .4s ease; }
.project-card:focus-visible .thumbnail-glow { opacity: .8; }
@media (hover: hover) { .project-card:hover .thumbnail-glow { opacity: .8; } }
.empty-cover { height: 100%; display: flex; align-items: flex-end; justify-content: space-between; padding: 24px; color: var(--muted); }
.empty-index { font-size: clamp(64px, 9vw, 132px); font-weight: 400; line-height: .85; letter-spacing: -.06em; color: var(--muted); }
.empty-label { font-size: 12px; }
.card-copy h3, .card-copy p { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.25; letter-spacing: -.02em; }
.card-copy h3 { font-weight: 500; margin-bottom: 0; }
.card-copy p { color: var(--muted); font-weight: 400; max-width: 60ch; margin-bottom: 0; }
.home-archive { margin-top: 56px; margin-bottom: 64px; }
.client-logo-strip { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; margin: 0 0 32px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.client-logo-strip li { display: flex; align-items: center; justify-content: center; min-width: 0; }
.client-logo-strip img { display: block; max-width: 100%; max-height: 40px; object-fit: contain; }
.archive-preview { position: relative; isolation: isolate; padding-bottom: 32px; }
.archive-preview::after { content: ""; position: absolute; inset: 25% 0 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, transparent 0%, rgba(24, 26, 29, .35) 35%, rgba(24, 26, 29, .85) 80%, var(--paper) 100%); }
.archive-teaser-grid { display: grid; gap: 16px; }
.archive-teaser-row { display: flex; gap: 16px; align-items: flex-start; }
.archive-teaser { display: block; min-width: 0; flex: var(--ratio) 1 0; }
.archive-teaser img { display: block; width: 100%; height: auto; filter: grayscale(1); transition: filter .35s ease; }
.archive-teaser:focus-visible img, .archive-teaser:active img { filter: grayscale(0); }
@media (hover: hover) { .archive-teaser:hover img { filter: grayscale(0); } }
.archive-explore { position: absolute; right: 0; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 20px; font-size: 15px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: none; transition: background .25s ease, box-shadow .35s ease; }
.archive-explore:hover, .archive-explore:focus-visible { background: var(--surface); text-decoration: none; box-shadow: 0 0 28px 6px rgba(55, 115, 255, .4), 0 0 64px 16px rgba(55, 115, 255, .2); }
.site-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding-block: 24px; color: var(--muted); font-size: 12px; }
.footer-clock { font-family: 'Geist Mono', monospace; white-space: nowrap; font-variant-numeric: tabular-nums; }
.project-header { padding-top: 60px; }
.project-header h1 { font-weight: 500; font-size: clamp(48px, 7.5vw, 108px); line-height: .98; letter-spacing: -.055em; max-width: 1000px; margin-bottom: 28px; text-wrap: balance; }
.project-header { border-bottom: 2px solid var(--line); padding-bottom: 12px; margin-bottom: 40px; }
.project-summary { font-size: clamp(19px, 2vw, 26px); line-height: 1.4; max-width: 650px; color: var(--muted); margin-bottom: 40px; }
.project-facts { display: flex; flex-wrap: wrap; gap: 32px 80px; border-top: 1px solid var(--line); padding-top: 22px; margin: 0 0 48px; }
dt { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
dd { margin: 0; font-size: 15px; }
.project-credits { flex-basis: 100%; }
.project-credits ul { list-style: none; margin: 0; padding: 0; }
.project-credits li { line-height: 1.6; margin-bottom: 6px; overflow-wrap: anywhere; }
.credit-role { color: var(--muted); }
.local-notes { border: 1px dashed var(--line); padding: 22px 26px; margin-bottom: 44px; max-width: 850px; }
.local-notes .eyebrow { margin-bottom: 12px; }
.local-notes ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.project-story { max-width: 660px; margin: 0 0 48px auto; font-size: 20px; line-height: 1.6; }
.project-story h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 400; margin: 32px 0 16px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; margin-bottom: 40px; align-items: start; }
.gallery figure { grid-column: 1 / -1; min-width: 0; margin: 0; }
.gallery figure.gallery-half { grid-column: span 1; }
.gallery img, .gallery video { display: block; width: 100%; height: auto; }
.gallery img { background: transparent; }
.gallery video { background: var(--surface); }
.gallery figcaption { color: var(--muted); font-size: 20px; line-height: 1.6; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; padding-bottom: 30px; }
.gallery .caption-text { display: block; max-width: 60ch; white-space: pre-line; }
.project-pagination { border-top: 1px solid var(--line); margin-top: 56px; padding: 28px 0; }
.project-next { display: inline-flex; flex-direction: column; gap: 10px; max-width: 100%; }
.project-next span { margin: 0; }
.next-project-title { font-size: clamp(24px, 3vw, 38px); line-height: 1.15; letter-spacing: -.04em; }
.skip-link { position: fixed; left: 16px; top: -100px; padding: 12px; background: var(--ink); color: var(--paper); z-index: 10; }
.skip-link:focus { top: 16px; }
@media (max-width: 700px) {
  .site-header, main, .site-footer { width: calc(100% - 40px); }
  .site-header { padding-block: 22px; flex-wrap: nowrap; gap: 16px; }
  .wordmark { flex-direction: column; align-items: flex-start; white-space: normal; font-size: 16px; gap: 0; }
  .wordmark-name { white-space: nowrap; }
  .wordmark-role { flex-basis: auto; font-size: inherit; white-space: nowrap; }
  .wordmark-divider { display: none; }
  nav { font-size: 12px; }
  nav span { margin-left: 4px; }
  .site-nav { gap: 20px; font-size: 16px; }
  .page-header { padding-top: 40px; }
  .page-copy { font-size: 18px; }
  .case-study-link { gap: 16px; }
  .archive-grid { --archive-height: 140px; gap: 16px; }
  .intro { padding: 46px 0 40px; }
  .home-project-grid { grid-template-columns: 1fr; gap: 40px; }
  .home-archive { margin-top: 24px; margin-bottom: 32px; }
  .client-logo-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; padding-block: 24px; }
  .archive-teaser-grid, .archive-teaser-row { gap: 8px; }
  .archive-preview { padding-bottom: 48px; }
  .archive-explore { font-size: 13px; padding: 10px 16px; bottom: 0; }
  .project-card, .project-card--highlight, .project-card--highlight + .project-card { grid-column: auto; grid-row: auto; }
  .empty-cover { padding: 20px; }
  .site-footer { line-height: 1.5; }
  .site-footer span:last-child { text-align: right; }
  .project-header { padding-top: 40px; }
  .project-facts { gap: 24px 40px; }
  .project-story { font-size: 18px; }
  .gallery figure.gallery-half { grid-column: 1 / -1; }
  .local-notes { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
