:root {
  color-scheme: dark;
  --ink: #0a0a0a;
  --panel: #111;
  --line: #363636;
  --soft: #f5f5f0;
  --muted: #a7a7a2;
  --acid: #dbff42;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; overflow-x: hidden; background: var(--ink); color: var(--soft); font-family: var(--sans); }
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { border: 0; color: inherit; font: inherit; }
img { display: block; width: 100%; }

.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 12px 16px; background: var(--acid); color: var(--ink); transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; height: 82px; padding: 0 4vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.18); }
.wordmark { font-size: 23px; font-weight: 900; letter-spacing: -.06em; }
.wordmark span { color: var(--acid); }
.site-header nav { display: flex; gap: 30px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.site-header nav a { position: relative; padding: 10px 0; }
.site-header nav a::after { content: ""; position: absolute; inset: auto 0 5px; height: 1px; background: var(--acid); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { transform: scaleX(1); }
.language-toggle { justify-self: end; display: flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .12em; }
.language-toggle button { padding: 8px 2px; background: transparent; opacity: .4; cursor: pointer; }
.language-toggle button.active { opacity: 1; color: var(--acid); font-weight: 700; }
.language-toggle span { opacity: .35; }

.hero { position: relative; min-height: 100vh; display: grid; grid-template-columns: 47% 53%; }
.hero-media { position: relative; min-height: 100vh; overflow: hidden; background: var(--panel); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.05), rgba(0,0,0,.44)); pointer-events: none; }
.hero-media img { height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.13); transform: scale(1.02); transition: filter .7s ease, transform 1.4s ease; }
.hero:hover .hero-media img { filter: grayscale(30%) contrast(1.08); transform: scale(1.045); }
.vertical-credit { position: absolute; z-index: 2; left: 22px; bottom: 36px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 8px; letter-spacing: .25em; }
.hero-copy { align-self: center; padding: 13vh 6vw 10vh; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 9vh; color: var(--acid); font-size: 9px; letter-spacing: .24em; }
.hero h1 { margin: 0; font: 900 clamp(70px, 7vw, 118px)/.72 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.hero h1 em { color: var(--acid); font-style: normal; }
.hero-statement { display: grid; grid-template-columns: 165px 1fr; gap: 38px; align-items: start; max-width: 650px; margin: 10vh 0 7vh; }
.hero-statement p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.hero-statement .hero-role { color: var(--soft); text-transform: uppercase; font-size: 10px; letter-spacing: .12em; line-height: 1.5; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 70px; min-width: 240px; padding: 0 0 10px; border-bottom: 1px solid #4d4d4d; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.text-link b { color: var(--acid); font-size: 21px; font-weight: 400; }
.hero-location { position: absolute; right: 5vw; bottom: 28px; margin: 0; color: #7f7f7a; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }

.projects { padding: 130px 5vw 150px; }
.section-heading { display: grid; grid-template-columns: 90px 1fr auto; align-items: baseline; padding-top: 18px; margin-bottom: 78px; border-top: 1px solid var(--line); }
.section-heading > span, .section-heading > p { margin: 0; font-size: 9px; letter-spacing: .17em; }
.section-heading h2 { margin: 0; font: 900 clamp(45px, 6.2vw, 94px)/.82 var(--display); letter-spacing: -.025em; text-transform: uppercase; }

.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 70px 26px; align-items: start; }
.project-card { grid-column: span 6; }
.project-card:nth-child(2), .project-card:nth-child(4), .project-card:nth-child(7), .project-card:nth-child(9) { transform: translateY(90px); }
.project-card:nth-child(6) { grid-column: span 4; margin: 0px 0 10px; }
.project-card button { width: 100%; padding: 0; text-align: left; background: transparent; cursor: pointer; }
.image-wrap { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--panel); }
.commercial-card .image-wrap { aspect-ratio: 21/9; }
.image-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(78%); transition: filter .55s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.project-card button:hover img, .project-card button:focus-visible img { filter: grayscale(0); transform: scale(1.035); }
.project-card button:focus-visible { outline: 2px solid var(--acid); outline-offset: 6px; }
.image-wrap > b { position: absolute; top: 14px; left: 14px; padding: 7px 9px; background: var(--acid); color: var(--ink); font-size: 8px; font-weight: 400; letter-spacing: .15em; }
.card-meta { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 16px; align-items: start; margin-top: 16px; padding-top: 14px; border-top: 1px solid #414141; }
.card-meta strong { font: 900 29px/.9 var(--display); letter-spacing: -.01em; text-transform: uppercase; }
.card-meta small, .card-meta em { margin: 0; font-size: 9px; font-style: normal; font-weight: 400; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.card-meta small { color: #bbb; }

.about { padding: 125px 7vw; display: grid; grid-template-columns: 1fr 3fr; gap: 40px; background: var(--acid); color: var(--ink); }
.section-number { margin: 0; font-size: 9px; letter-spacing: .18em; }
.about h2 { margin: 0 0 80px; font: 900 clamp(58px, 8vw, 128px)/.78 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.about-copy { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-copy > p { max-width: 510px; margin: 0; font-size: 15px; line-height: 1.75; }
.about-copy .disciplines { font-size: 10px; line-height: 2.3; letter-spacing: .12em; }
.profiles-heading { grid-column: 2; display: flex; justify-content: space-between; gap: 40px; align-items: baseline; margin-top: 72px; padding-top: 18px; border-top: 2px solid var(--ink); }
.profiles-heading p { margin: 0; font: 900 28px/.9 var(--display); text-transform: uppercase; }
.profiles-heading span { max-width: 440px; font-size: 11px; line-height: 1.6; }
.profile-links { grid-column: 2; margin-top: 22px; border-top: 1px solid var(--ink); }
.profile-links a { display: grid; grid-template-columns: 60px 1fr 1fr auto; gap: 20px; align-items: center; min-height: 88px; border-bottom: 1px solid var(--ink); transition: padding .25s ease, color .25s ease, background .25s ease; }
.profile-links a:hover, .profile-links a:focus-visible { padding: 0 18px; background: var(--ink); color: var(--acid); outline: 0; }
.profile-links span, .profile-links small { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.profile-links strong { font: 900 35px/.9 var(--display); }
.profile-links b { font-size: 22px; }

.contact { padding: 100px 6vw 35px; background: var(--ink); color: var(--soft); }
.contact > p { margin: 0; color: #949494; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.contact h2 { max-width: 1100px; margin: 60px 0 110px; font: 900 clamp(48px, 7.5vw, 116px)/.78 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.contact h2::after { content: "↗"; color: var(--acid); }
.contact-row { display: flex; justify-content: space-between; gap: 28px; padding-top: 20px; border-top: 1px solid #454545; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.contact-row a:hover, .contact-row a:focus-visible { color: var(--acid); }

.project-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ink); color: var(--soft); }
.project-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
.dialog-shell { min-height: 100%; position: relative; padding: 92px 5vw 7vw; }
.dialog-close { position: fixed; z-index: 3; top: 24px; right: 3vw; display: grid; place-items: center; width: 48px; height: 48px; padding: 0 0 5px; border: 1px solid #555; border-radius: 50%; background: rgba(10,10,10,.82); color: var(--soft); font-size: 34px; line-height: 1; cursor: pointer; backdrop-filter: blur(10px); }
.dialog-close:hover, .dialog-close:focus-visible { border-color: var(--acid); background: var(--acid); color: var(--ink); outline: none; }
.dialog-header { display: grid; grid-template-columns: 120px 1fr; gap: 20px; margin-bottom: 70px; padding-top: 18px; border-top: 1px solid var(--line); }
.dialog-header > p:first-child { margin: 0; color: var(--acid); font-size: 9px; letter-spacing: .18em; }
.dialog-header h2 { max-width: 1100px; margin: 0; font: 900 clamp(58px, 10vw, 158px)/.76 var(--display); letter-spacing: -.03em; text-transform: uppercase; }
.dialog-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.dialog-meta span { padding: 8px 10px; border: 1px solid #484848; color: #c5c5c0; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
#dialog-description { grid-column: 2; max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.dialog-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.dialog-gallery figure { grid-column: span 6; margin: 0; overflow: hidden; background: var(--panel); }
.dialog-gallery figure:first-child { grid-column: span 12; }
.dialog-gallery img { width: 100%; height: 100%; max-height: 85vh; object-fit: cover; }
.dialog-gallery figure:first-child img { min-height: 62vh; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-header { height: 68px; grid-template-columns: 1fr auto; padding: 0 5vw; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { order: 1; padding: 120px 7vw 65px; }
  .hero-media { order: 2; min-height: 58vh; }
  .eyebrow { margin-bottom: 50px; }
  .hero h1 { font-size: clamp(68px, 20vw, 116px); }
  .hero-statement { grid-template-columns: 1fr; gap: 15px; margin: 55px 0 40px; }
  .hero-location { display: none; }
  .projects { padding: 80px 5vw 110px; }
  .section-heading { grid-template-columns: 42px 1fr; margin-bottom: 45px; }
  .section-heading > p { display: none; }
  .project-grid { gap: 42px; }
  .project-card, .project-card:nth-child(6) { grid-column: span 12; margin: 0; transform: none; }
  .commercial-card .image-wrap { aspect-ratio: 16/10; }
  .card-meta { grid-template-columns: 1fr auto; }
  .card-meta small { grid-column: 1; grid-row: 2; }
  .card-meta em { grid-column: 2; grid-row: 1; }
  .about { grid-template-columns: 1fr; padding: 80px 7vw; }
  .about h2, .about-copy, .profiles-heading, .profile-links { grid-column: 1; }
  .about-copy { grid-template-columns: 1fr; gap: 30px; }
  .profiles-heading { flex-direction: column; align-items: flex-start; }
  .profile-links a { grid-template-columns: 36px 1fr auto; gap: 12px; }
  .profile-links small { grid-column: 2; }
  .profile-links b { grid-column: 3; grid-row: 1 / span 2; }
  .contact h2 { margin-bottom: 75px; }
  .contact-row { flex-direction: column; }
  .dialog-shell { padding: 90px 5vw 8vw; }
  .dialog-header { grid-template-columns: 1fr; }
  .dialog-header h2, .dialog-meta, #dialog-description { grid-column: 1; }
  .dialog-gallery figure, .dialog-gallery figure:first-child { grid-column: span 12; }
  .dialog-gallery figure:first-child img { min-height: 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 18vw; }
  .card-meta strong { font-size: 25px; }
  .about h2 { font-size: 17vw; }
  .profile-links strong { font-size: 28px; }
  .contact h2 { font-size: 16vw; }
  .dialog-header h2 { font-size: 17vw; }
}

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