/* Press Room — Daniel Bnaya */

@font-face { font-family: "Inter Tight"; src: url(fonts/InterTight-var.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(fonts/JetBrainsMono-var.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --ink: #0e0e0e;
  --paper: #ffffff;
  --mute: #6d6d6a;
  --rule: #dcdcd8;
  --stage: #f1f1ee;
  --accent: #0e0e0e;  /* the agency is black and white only */
  --pad: clamp(16px, 3.2vw, 48px);
  --gap: clamp(12px, 1.6vw, 24px);
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--ink); color: #fff; }

.label, .meta, .card-spec, .tray-count, .lb-pos, dt, .link-btn {
  font-family: var(--mono); font-size: 11px; line-height: 1.45; letter-spacing: .05em; text-transform: uppercase;
}
.label { color: var(--mute); margin: 0; }

/* ---------------------------------------------------------- header */
.head { display: flex; align-items: center; gap: 20px; padding: 18px var(--pad); }
.head-logo { line-height: 0; }
.head-logo .logo { height: 20px; width: auto; display: block; }
.head-room { padding-left: 20px; border-left: 1px solid var(--rule); }
.head-mail { margin-left: auto; text-decoration: none; }
.head-mail:hover { text-decoration: underline; }
.head-room, .head-mail { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: baseline; gap: 14px; padding: 15px 20px;
  background: var(--ink); color: #fff; text-decoration: none; font-size: 17px; font-weight: 600; letter-spacing: -.01em;
  transition: background .18s;
}
.btn span { font: 400 11px var(--mono); letter-spacing: .05em; text-transform: uppercase; opacity: .7; }
.btn:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-inv { background: #fff; color: var(--ink); padding: 11px 16px; font-size: 15px; }
.btn-inv span { font: inherit; text-transform: none; letter-spacing: 0; opacity: 1; }
.btn-inv:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #fff; opacity: .85; }
.btn-inv[disabled] { opacity: .6; cursor: progress; }
.link-btn { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-btn:hover { border-bottom-width: 2px; }

/* ---------------------------------------------------------- blocks */
.block { padding: 0 var(--pad) clamp(64px, 8vw, 120px); }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; border-top: 1px solid var(--ink); margin-bottom: clamp(24px, 3vw, 40px); }
.block-head h2 { margin: 0; font-size: 15px; font-weight: 600; }

.prose { max-width: 40em; margin: 0 auto; }
.prose p { margin: 0 0 1.05em; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.6; }
.pull { margin: 1.2em 0 1.3em; font-size: clamp(28px, 3vw, 46px); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; }
.pull::before { content: "“"; }
.pull::after { content: "”"; }

/* ---------------------------------------------------------- materials */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 28px var(--gap); }
.card { position: relative; min-width: 0; }
.card-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stage); cursor: zoom-in; outline: 0 solid var(--accent); outline-offset: -2px; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card-media.fill img { object-fit: cover; padding: 0; }
.card-media:hover img { transform: scale(1.03); }
.card.sel .card-media { outline-width: 3px; }

.pick { position: absolute; z-index: 2; top: 10px; left: 10px; width: 26px; height: 26px; }
.pick input { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick span { position: absolute; inset: 0; background: rgba(255,255,255,.94); border: 1px solid var(--ink); opacity: 0; transition: opacity .15s; }
.card:hover .pick span, .picking .pick span, .pick input:focus-visible + span { opacity: 1; }
.pick input:checked + span { background: var(--accent); border-color: var(--accent); opacity: 1; }
.pick input:checked + span::after { content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 13px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (hover: none), (max-width: 700px) { .pick span { opacity: 1; } }

.card-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-top: 10px; }
.card-title { margin: 0 0 3px; font-size: 15px; font-weight: 600; line-height: 1.25; }
.card-spec { margin: 0; color: var(--mute); text-transform: none; letter-spacing: 0; }
.card-dl { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--rule); text-decoration: none; }
.card-dl:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------------------------------------------------------- credits */
.credits { margin: 0; max-width: 640px; }
.credits div { display: grid; grid-template-columns: 12em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.credits dt { color: var(--mute); padding-top: 4px; }
.credits dd { margin: 0; font-size: 17px; font-weight: 500; }

/* ---------------------------------------------------------- footer */
.foot { background: var(--ink); color: #e9e9e6; padding: clamp(48px, 6vw, 88px) var(--pad) 24px; }
.foot .label { color: #8d8d89; margin-bottom: 10px; }
.foot-mail { margin: 0; font-size: clamp(26px, 4vw, 56px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.foot-mail a { text-decoration: none; }
.foot-mail a { border-bottom: 2px solid transparent; }
.foot-mail a:hover { color: #fff; border-bottom-color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: clamp(48px, 7vw, 96px) 0 0; padding-top: 16px; border-top: 1px solid #333; font: 400 11px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: #8d8d89; }

/* ---------------------------------------------------------- selection tray */
.tray {
  position: fixed; z-index: 40; left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
  width: min(560px, calc(100% - 24px)); transform: translateX(-50%);
  background: var(--ink); color: #fff; box-shadow: 0 24px 48px -16px rgba(0,0,0,.45);
}
.tray[hidden] { display: none; }
.tray-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 10px 10px 18px; }
.tray-count { margin: 0; color: #cfcfcb; }
.tray-count b { color: #fff; }
.tray-actions { display: flex; align-items: center; gap: 18px; }
.tray .link-btn { color: #cfcfcb; }
.tray-progress { height: 3px; }
.tray-progress i { display: block; height: 100%; width: 0; background: #fff; transition: width .2s; }

/* ---------------------------------------------------------- lightbox */
.lb { position: fixed; inset: 0; z-index: 60; background: #0b0b0b; color: #fff; display: grid; grid-template-rows: 1fr auto; }
.lb[hidden] { display: none; }
.lb-stage { position: relative; min-height: 0; }
.lb-stage img, .lb-stage video { position: absolute; inset: clamp(16px, 3vw, 48px); width: calc(100% - 2 * clamp(16px, 3vw, 48px)); height: calc(100% - 2 * clamp(16px, 3vw, 48px)); max-width: none; object-fit: contain; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 12px var(--pad) max(14px, env(safe-area-inset-bottom)); border-top: 1px solid #262626; }
.lb-cap { margin: 0; font-size: 14px; color: #d6d6d2; }
.lb-cap b { color: #fff; font-weight: 600; margin-right: 8px; }
.lb-actions { display: flex; align-items: center; gap: 6px; }
.lb-pos { color: #8a8a86; margin-right: 10px; }
.lb-btn { display: inline-grid; place-items: center; min-width: 40px; height: 36px; padding: 0 12px; border: 1px solid #3a3a3a; color: #fff; text-decoration: none; font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.lb-btn:hover { border-color: #fff; }
.lb-dl { background: #fff; color: var(--ink); border-color: #fff; }

.toast { position: fixed; z-index: 70; left: 50%; top: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 14px; font: 400 11px var(--mono); text-transform: uppercase; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 860px) {
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .head-mail { display: none; }
  .head-logo .logo { height: 17px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .card-title { font-size: 14px; }
  .credits div { grid-template-columns: 1fr; gap: 2px; }
  .archive a { grid-template-columns: 1fr; gap: 4px; }
  .lb-pos { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------- split layout (release + room) */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 72px); padding: clamp(24px, 3vw, 40px) var(--pad) clamp(64px, 8vw, 120px); }
.split-sticky { position: sticky; top: 28px; }
.split-logo { display: block; line-height: 0; margin: 4px 0 clamp(28px, 4vw, 56px); }
.split-logo .logo { height: 20px; width: auto; }
.split-info h1 { margin: 12px 0 24px; font-size: clamp(56px, 6.4vw, 112px); line-height: .86; font-weight: 700; letter-spacing: -.05em; margin-left: -.04em; }
.split-info .standfirst { font-size: clamp(18px, 1.4vw, 20px); }
.split-sel { display: table; margin: 16px 0 0; }
.credits-small { margin-top: clamp(40px, 6vh, 72px); }
.credits-small div { grid-template-columns: 9.5em 1fr; padding: 9px 0; }
.credits-small dd { font-size: 15px; }
.split-flow { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); min-width: 0; }
.fig { position: relative; margin: 0; }
.fig-media { display: block; width: 100%; background: var(--stage); cursor: zoom-in; outline: 0 solid var(--accent); outline-offset: -3px; }
.fig-media img { width: 100%; height: auto; max-height: 92vh; object-fit: contain; }
.fig-media.kind-pdf { padding: clamp(24px, 4vw, 64px); }
.fig-media.kind-pdf img { max-height: 70vh; margin: 0 auto; width: auto; box-shadow: 0 10px 30px -14px rgba(0,0,0,.3); }
.card.sel .fig-media { outline-width: 3px; }
.fig figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; font: 400 11px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--mute); }
.fig figcaption b { color: var(--ink); font: 600 14px var(--sans); text-transform: none; letter-spacing: 0; margin-right: 10px; }
.dl-text { text-decoration: none; color: var(--ink); white-space: nowrap; }
.dl-text:hover { text-decoration: underline; }
.split-text { margin: 0; max-width: 36em; }

.release { display: block; text-decoration: none; }
.release .fig-media img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.release .fig-media { overflow: hidden; cursor: pointer; }
.release:hover .fig-media img { transform: scale(1.015); }
.release-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px var(--gap); padding-top: 18px; align-items: start; }
.release-text .label { grid-column: 1 / -1; }
.release-title { font-size: clamp(44px, 5vw, 88px); line-height: .88; font-weight: 700; letter-spacing: -.05em; }
.release-text .standfirst { margin: 0; }
.release-text .btn { grid-column: 2; justify-self: start; margin-top: 18px; }
.release:hover .btn { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-sticky { position: static; }
  .release-text { grid-template-columns: 1fr; }
  .release-text .btn { grid-column: 1; }
}
