/* Expoline: shared by every page (fonts, top bar, menu panel, page transitions). */

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("../fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FFFFFF;
  --ph: #F1F1EF;
  --ph2: #E8E8E5;
  --ease: cubic-bezier(.22, .61, .2, 1);
  --gap: 16px;
  --m: max(16px, 1.4vw);
  --bar: 56px;
  --pw: min(440px, 86vw);
  --ink: #121211;
  --mute: #8A8A84;
  --line: #ECECEA;
  --font: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wpab: 0px;
  color-scheme: light;
}
/* Logged-in admin bar sits above the fixed top bar. */
.admin-bar { --wpab: 32px; }
@media (max-width: 782px) { .admin-bar { --wpab: 46px; } }
@media (max-width: 600px) { .admin-bar { --wpab: 0px; } }

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  overflow-x: hidden;
}
img, video { max-width: 100%; }

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  z-index: 100;
  top: calc(var(--wpab) + 8px);
  left: 8px;
  padding: 10px 14px;
  background: var(--bg);
  color: var(--ink);
  font: 400 13px/1 var(--font);
  letter-spacing: .2em;
  text-transform: uppercase;
  outline: 1px solid var(--ink);
}

/* Smooth scroll (Lenis) base rules */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Top bar */
.bar {
  position: fixed;
  top: var(--wpab); left: 0; right: 0;
  z-index: 50;
  height: calc(var(--bar) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: max(var(--m), env(safe-area-inset-left, 0px));
  padding-right: max(var(--m), env(safe-area-inset-right, 0px));
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform .7s var(--ease);
  view-transition-name: bar;
}
.bar-hidden .bar { transform: translateY(calc(-100% - var(--wpab))); }
.logo {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 1.2vw, 18px);
  font-family: var(--font);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: .16em;
  color: var(--ink);
  text-decoration: none;
}
.logo img { display: block; height: 22px; width: auto; }
/* Both logos are 22px tall: their lettering then has the same height and centre line. */
.logo-sep { flex: none; width: 1px; height: 16px; background: rgba(18, 18, 17, .28); }
.burger {
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1px;
  background: var(--ink);
  transition: transform .7s var(--ease), top .7s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.burger:focus-visible, .panel a:focus-visible, .logo:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

/* Slide-in menu */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s var(--ease), visibility 0s .8s;
}
.menu-open .scrim { opacity: 1; visibility: visible; transition: opacity .8s var(--ease); }

.panel {
  position: fixed;
  right: 0;
  bottom: 0;
  top: calc(var(--wpab) + var(--bar) + env(safe-area-inset-top, 0px));
  width: var(--pw);
  z-index: 40;
  background: var(--bg);
  border-left: 1px solid var(--line);
  padding: clamp(28px, 6vh, 64px) max(var(--m), env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) clamp(28px, 4vw, 56px);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .9s var(--ease), visibility 0s .9s;
}
.menu-open .panel { transform: none; visibility: visible; transition: transform .9s var(--ease); }

/* Content is pushed to the left by the width of the panel */
.stage { transition: transform .9s var(--ease); }
.menu-open .stage { transform: translateX(calc(-1 * var(--pw))); }

.panel ul { list-style: none; margin: 0; padding: 0; }
.panel li {
  opacity: 0;
  transform: translateX(14px);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.menu-open .panel li {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--k) * 60ms + 250ms);
}
.panel a {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font);
  font-weight: 300;
  text-transform: uppercase;
  transition: opacity .8s var(--ease);
}
.panel ul.primary > li > a { font-size: clamp(24px, 3vw, 30px); letter-spacing: .14em; padding-block: 10px; }
.panel ul.sub { padding: 6px 0 20px 2px; }
.panel ul.sub a { font-size: 13px; letter-spacing: .24em; color: var(--mute); padding-block: 7px; transition: color .8s var(--ease); }
.panel ul.sub a:hover, .panel ul.sub .is-current > a { color: var(--ink); }
.panel ul.primary > li > a:hover { opacity: .55; }

/* Rank Math breadcrumbs (only when enabled in Rank Math) */
.crumbs p {
  margin: 0 0 18px;
  font-family: var(--font);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute);
}
.crumbs a { color: inherit; text-decoration: none; transition: color .8s var(--ease); }
.crumbs a:hover { color: var(--ink); }
.crumbs .separator { margin: 0 .5em; }

/* Text pages (pages, posts, 404) */
.stage.page {
  padding: calc(var(--bar) + env(safe-area-inset-top, 0px) + clamp(24px, 6vh, 72px)) max(var(--m), env(safe-area-inset-right, 0px)) 64px max(var(--m), env(safe-area-inset-left, 0px));
}
.page-inner { max-width: 680px; }
.year {
  margin: 0 0 12px;
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(11px, 1vw, 16px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute);
}
.place { display: inline-flex; align-items: center; gap: .9em; }
.place-line { flex: none; width: 22px; height: 1px; background: currentColor; }
.page-title {
  margin: 0 0 44px;
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.entry { font-size: 15px; line-height: 1.65; }
.entry > :first-child { margin-top: 0; }
.entry p, .entry ul, .entry ol { margin: 0 0 1em; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry h2, .entry h3, .entry h4 {
  margin: 1.8em 0 .8em;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.entry a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.entry strong, .entry b { font-weight: 400; }
.entry img { height: auto; }
.list { list-style: none; margin: 0; padding: 0; }
.list a {
  display: inline-block;
  padding-block: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Contact page: numbered portrait cards, studio address and company details below */
.contact .page-title { margin-bottom: clamp(40px, 8vh, 96px); }
.contact-address {
  margin: clamp(80px, 14vh, 160px) 0 0;
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1.2;
  letter-spacing: -.005em;
}
.people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 72px var(--gap);
}
.person-photo {
  margin: 0 0 20px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ph);
}
.person-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 1.4s var(--ease), transform 1.4s var(--ease);
}
.js .person[data-reveal] img { transform: scale(1.06); transition-duration: 1.4s, 2.6s; }
.js .person[data-reveal].in img { transform: scale(1); }
.js .person[data-reveal].in:hover img { transform: scale(1.04); transition-duration: 1.4s; }
.person:hover .person-photo img { filter: none; }
.person-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--mute);
}
.person-name {
  margin: 0 0 20px;
  font-weight: 300;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.2;
  letter-spacing: -.005em;
}
.person-links { margin: 0; font-size: 15px; }
.person-links > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.person-links > div:last-child { border-bottom: 1px solid var(--line); }
.person-links dt { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.person-links dd { margin: 0; overflow-wrap: anywhere; }
.contact a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .8s var(--ease); }
.contact a:hover { background-size: 100% 1px; }
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px var(--gap);
  margin-top: clamp(40px, 7vh, 72px);
  padding-top: 40px;
  border-top: 1px solid var(--ink);
}
.contact-info > * { margin: 0 !important; }
.contact-info h2 { color: var(--mute); }
@media (max-width: 1024px) {
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .people, .contact-info { grid-template-columns: 1fr; }
  .people { gap: 56px; }
  .person-photo img { filter: none; }
}

/* Media page: numbered index of articles, a dark line draws under the row on hover */
.press .page-title { margin-bottom: clamp(40px, 8vh, 96px); }
.press-intro { max-width: 680px; margin-bottom: clamp(40px, 7vh, 80px); }
.press-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.press-list li { border-bottom: 1px solid var(--line); }
.press-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 16%) 72px 96px;
  align-items: baseline;
  gap: var(--gap);
  padding: clamp(22px, 3.2vh, 36px) 0;
  color: var(--ink);
  text-decoration: none;
}
.press-item::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.1s var(--ease);
}
.press-no, .press-source, .press-year, .press-type {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.press-title {
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1.2;
  letter-spacing: -.005em;
  transition: transform 1.1s var(--ease);
}
.press-type { text-align: right; white-space: nowrap; }
.press-arrow { display: inline-block; margin-left: .7em; font-size: 14px; letter-spacing: 0; color: var(--ink); transition: transform 1.1s var(--ease); }
.press-item:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .press-item:hover::after { transform: scaleX(1); }
  .press-item:hover .press-title { transform: translateX(12px); }
  .press-item:hover .press-arrow { transform: translate(3px, -3px); }
}
@media (max-width: 760px) {
  .press-item {
    grid-template-columns: 40px minmax(0, 1fr) auto auto;
    row-gap: 10px;
  }
  .press-no { grid-row: 1 / 3; }
  .press-title { grid-column: 2 / 5; }
  .press-source { grid-column: 2; }
  .press-year { grid-column: 3; }
  .press-type { grid-column: 4; }
}

/* Slow reveal: fades in once on screen (site.js adds .in) */
.js .page [data-reveal] { opacity: 0; transition: opacity 1.8s var(--ease); }
.js .page [data-reveal].in { opacity: 1; }

@media (max-width: 560px) {
  :root { --bar: 52px; }
  .logo { font-size: 20px; }
  .logo img { height: 20px; }
  .logo-sep { height: 14px; }
}

/* Page-to-page transition (Chrome, Edge, Safari 18.2+); other browsers navigate normally */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .9s; animation-timing-function: cubic-bezier(.22, .61, .2, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .6s; }
.vt [data-reveal], .vt [data-reveal] img, .vt [data-reveal] video { transition: none !important; animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  .burger span, .scrim, .panel, .panel li, .stage, .bar { transition: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  [data-reveal], [data-reveal] img, [data-reveal] video { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
