:root {
  --paper: #f1f0ea;
  --ink: #11110f;
  --acid: #d7ff3f;
  --line: rgba(17, 17, 15, .24);
  --pad: clamp(18px, 3.2vw, 52px);
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; }
body.dialog-open { overflow: hidden; }
a { color: inherit; }
button { color: inherit; font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 0; left: 0; z-index: 100; padding: 10px 14px; background: var(--acid); transform: translateY(-110%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; display: grid; grid-template-columns: 1fr 2fr; align-items: center; min-height: 82px; padding: 14px var(--pad); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.scrolled { background: rgba(241,240,234,.94); border-color: var(--line); backdrop-filter: blur(12px); }
.brand { display: block; width: 84px; height: 48px; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.55); }
.site-nav { display: flex; justify-content: flex-end; gap: clamp(20px, 3.2vw, 50px); }
.site-nav a, .menu-toggle { text-decoration: none; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px; background: currentColor; transition: right .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.menu-toggle { display: none; border: 0; background: none; padding: 8px 0; }

.hero { position: relative; padding: 82px 0 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.hero-image { position: relative; display: block; width: 100%; height: calc(100svh - 82px); min-height: 560px; max-height: 900px; margin: 0; padding: 0; overflow: hidden; border: 0; color: #fff; background: #20201e; text-align: left; cursor: pointer; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.hero-image:hover img { transform: scale(1.012); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(0,0,0,.46)); pointer-events: none; }
.eyebrow, .label, .section-note, .card-meta, .dialog-kicker, .dialog-date { text-transform: uppercase; letter-spacing: .09em; font-size: 11px; }
.hero-current { position: absolute; left: var(--pad); bottom: clamp(34px, 6vw, 92px); display: grid; gap: 26px; color: #fff; }
.hero-date { text-transform: uppercase; letter-spacing: .06em; font-size: 12px; font-weight: 600; }
.hero-current strong { display: grid; gap: 2px; font-size: clamp(38px, 6vw, 92px); font-weight: 400; line-height: .87; letter-spacing: -.055em; }
.hero-current strong span { font-size: .36em; line-height: 1.15; letter-spacing: -.02em; }
.hero-current em { font-weight: 400; }
.section { padding: clamp(78px, 10vw, 155px) var(--pad); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; align-items: baseline; padding-bottom: 25px; border-bottom: 1px solid var(--line); margin-bottom: clamp(42px, 6vw, 90px); }
.section-head p, .section-head h2 { margin: 0; }
.section-head h2 { font-size: clamp(34px, 4.2vw, 68px); font-weight: 400; letter-spacing: -.045em; }
.section-note { justify-self: end; max-width: 280px; line-height: 1.45; }

.project-open { width: 100%; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.visual { position: relative; overflow: hidden; min-height: 300px; background: #181816; }
.feature-card .visual { aspect-ratio: 16/8.3; }
.programme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); margin-top: clamp(80px, 12vw, 190px); }
.project-card .visual { aspect-ratio: 4/4.6; }
.visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.project-open:hover .visual img { transform: scale(1.02); }
.card-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.card-meta p { margin: 0; }
.card-title { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 28px; }
.card-title h3 { margin: 0; font-size: clamp(29px, 3.25vw, 55px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.card-title em { font-weight: 400; }
.card-title span { font-size: 25px; transition: transform .25s; }
.diagonal-arrow::after {
  content: "";
  display: inline-block;
  width: .45em;
  height: .45em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  margin-inline-start: .35em;
  background: linear-gradient(135deg, transparent 43%, currentColor 44% 54%, transparent 55%);
}
.project-open:hover .card-title span { transform: translate(4px,-4px); }

.visual-radev img { object-position: center 54%; }
.visual-aftermath img { object-position: center; }
.visual-posteriori img { object-position: center; }

.about { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.light-head { border-color: rgba(241,240,234,.3); }
.about-grid { max-width: 65ch; font-size: clamp(18px, 1.45vw, 24px); line-height: 1.35; }
.about-grid p { margin: 0; }
.about-body p { margin-top: 1.5em; }

.visit-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: var(--pad); }
.visit-grid > div { border-top: 1px solid var(--line); padding-top: 16px; }
.visit-grid p, address { font-style: normal; font-size: clamp(18px, 1.7vw, 28px); line-height: 1.25; }
.visit-grid .label { font-size: 11px; margin: 0 0 50px; }
.text-link, .social-links a { display: inline-block; margin-top: 28px; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; text-underline-offset: 4px; }
.contact-mail { display: inline-block; max-width: 100%; font-size: clamp(20px, 2.1vw, 36px); line-height: 1.1; text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.social-links { margin-top: 40px; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 30px; min-height: 260px; padding: var(--pad); background: var(--acid); border-top: 1px solid var(--ink); }
.site-footer img { width: clamp(110px, 13vw, 220px); mix-blend-mode: multiply; }
.site-footer > div { justify-self: end; text-align: right; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer button { border: 0; background: none; padding: 10px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.project-dialog { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: var(--paper); background: var(--ink); }
.project-dialog::backdrop { background: rgba(0,0,0,.7); }
.project-dialog[open] { animation: dialog-in .35s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(30px); } }
.dialog-top { position: sticky; top: 0; display: flex; justify-content: space-between; padding: 24px var(--pad); background: var(--ink); border-bottom: 1px solid rgba(241,240,234,.25); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; z-index: 2; }
.dialog-top p { margin: 0; }.dialog-top button { border: 0; background: none; cursor: pointer; text-transform: uppercase; letter-spacing: .08em; }
.dialog-content { width: min(100%, 1150px); margin: 0 auto; padding: clamp(70px, 10vw, 140px) var(--pad); }
.dialog-content h2 { max-width: 900px; margin: 14px 0 22px; font-size: clamp(52px, 9vw, 130px); font-weight: 400; line-height: .86; letter-spacing: -.06em; }
.dialog-date { margin-bottom: 80px; color: var(--acid); }
.dialog-nav { position: sticky; top: 64px; z-index: 1; display: flex; gap: 30px; margin: 0 0 65px; padding: 18px 0; background: var(--ink); border-top: 1px solid rgba(241,240,234,.25); border-bottom: 1px solid rgba(241,240,234,.25); }
.dialog-nav button { padding: 0; border: 0; color: rgba(241,240,234,.55); background: none; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; cursor: pointer; }
.dialog-nav button.active { color: var(--acid); }
.dialog-panel { display: none; }
.dialog-panel.active { display: block; animation: panel-in .35s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.dialog-text { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 70px; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.38; }
.dialog-text p { margin: 0; }
.dialog-content .text-link { color: var(--acid); margin-top: 70px; }
.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(30px,5vw,80px) 24px; }
.media-item { margin: 0; }
.media-item button { display: block; width: 100%; padding: 0; border: 0; background: #20201e; cursor: zoom-in; }
.media-item img { display: block; width: 100%; height: 52vh; min-height: 330px; object-fit: contain; }
.media-item figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.work-groups { display: grid; gap: clamp(90px, 12vw, 170px); }
.work-group { padding-top: 22px; border-top: 1px solid rgba(241,240,234,.3); }
.work-info { display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 24px; align-items: start; margin-top: 22px; }
.work-info h3 { margin: 0; font-size: clamp(20px, 2.2vw, 30px); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.work-details { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 24px; align-content: start; margin: 0; font-size: 12px; line-height: 1.4; text-transform: uppercase; letter-spacing: .06em; }
.work-details div { display: contents; }
.work-details dt { color: rgba(241,240,234,.55); }.work-details dd { margin: 0; }
.work-media { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.inquire-link { display: inline-block; padding: 10px 15px; border: 1px solid rgba(241,240,234,.55); border-radius: 999px; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; white-space: nowrap; transition: background .2s, color .2s; }
.inquire-link:hover { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.work-images { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.work-images button { padding: 0; border: 0; background: #20201e; cursor: zoom-in; }
.work-images button:first-child { grid-column: 1 / -1; }
.work-images img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.work-images button:first-child img { aspect-ratio: 4/4.8; }
.work-video { position: sticky; top: 145px; }
.work-video .video-frame { aspect-ratio: 9/16; max-height: 76vh; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 24px; }
.video-item { margin: 0; }
.video-title { margin: 0 0 12px; font-size: 15px; font-weight: 400; letter-spacing: -.01em; }
.video-frame { position: relative; aspect-ratio: 16/9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-item figcaption { margin-top: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.image-viewer { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 70px clamp(60px,9vw,150px); border: 0; background: rgba(10,10,9,.97); color: var(--paper); }
.image-viewer::backdrop { background: #000; }
.image-viewer > button[data-viewer-close] { position: fixed; top: 24px; right: 28px; z-index: 2; padding: 0; border: 0; color: var(--paper); background: none; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; cursor: pointer; }
.image-viewer figure { height: 100%; margin: 0; display: grid; grid-template-rows: 1fr auto; gap: 14px; place-items: center; }
.image-viewer img { max-width: 100%; max-height: calc(100vh - 125px); object-fit: contain; }
.image-viewer figcaption { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.viewer-arrow { position: fixed; top: 50%; z-index: 2; width: 48px; height: 48px; border: 1px solid rgba(241,240,234,.5); border-radius: 50%; background: transparent; color: var(--paper); cursor: pointer; }
.viewer-prev { left: 22px; }.viewer-next { right: 22px; }
.viewer-arrow::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: auto;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateX(-2px) rotate(45deg);
}
.viewer-prev::after { transform: translateX(2px) rotate(-135deg); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 68px; }
  .brand { width: 67px; height: 40px; }
  .menu-toggle { display: flex; gap: 10px; align-items: center; }
  .menu-mark { font-size: 19px; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] .menu-mark { transform: rotate(45deg); }
  .site-nav { position: absolute; inset: 68px 0 auto; display: none; flex-direction: column; gap: 0; padding: 0 var(--pad) 26px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; font-size: 18px; }
  .hero { padding-top: 68px; }
  .hero-image { height: 72svh; min-height: 480px; }
  .hero-current { gap: 18px; }
  .section-head { grid-template-columns: 1fr; }
  .section-note { justify-self: start; margin-top: 15px !important; }
  .programme-grid { grid-template-columns: 1fr; }
  .feature-card .visual { aspect-ratio: 4/4.5; }
  .card-meta { display: block; }.card-meta p + p { margin-top: 5px; }
  .visit-grid, .dialog-text, .media-grid, .video-grid, .work-media, .work-info { grid-template-columns: 1fr; }
  .visit-grid { gap: 70px; }
  .site-footer { grid-template-columns: 1fr 1fr; min-height: 420px; }
  .dialog-date { margin-bottom: 50px; }
  .dialog-nav { gap: 20px; overflow-x: auto; }
  .media-item img { height: auto; min-height: 0; }
  .work-video { position: static; }
  .image-viewer { padding: 70px 20px; }
  .viewer-arrow { top: auto; bottom: 22px; }
}

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