@font-face {
  font-family: Montserrat;
  src: url("assets/Montserrat.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  scrollbar-gutter: stable;
  color-scheme: dark;
  --muted: #a4a4a4;
  background-color: #000;
  background-image: radial-gradient(
    ellipse min(48vw, 42rem) min(37vw, 31rem) at top right,
    #ed7d15a6 0%, #ed7d1552 27%, #ed7d151a 60%, #ed7d1500 100%
  );
  background-repeat: no-repeat;
  color: #fafafa;
  font: 100%/1.5 Montserrat, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.page-layout {
  width: min(68rem, 92%);
  margin: 0 auto auto;
  padding-block: clamp(1.75rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: fixed; top: 0; left: 0; padding: 1rem; background: white; color: black; z-index: 4; }
.rail {
  position: sticky;
  top: 1.5rem;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}
.brand { display: inline-block; font-size: 1.1rem; font-weight: 750; line-height: 1.25; letter-spacing: -.035em; white-space: nowrap; }
.brand span { display: block; }
.brand span:first-child { font-size: 1.55em; }
.brand span + span { margin-top: .32rem; font-size: .9em; font-weight: 550; letter-spacing: -.02em; }
.desktop-nav { margin-top: clamp(2.7rem, 8vh, 5rem); }
.nav-group, .nav-extra { display: grid; justify-items: start; gap: .45rem; }
.nav-group a, .nav-extra a { font-size: .94rem; color: var(--muted); padding-block: .1rem; }
.nav-group .nav-title { font-size: .79rem; text-transform: uppercase; font-weight: 700; color: white; margin-bottom: .67rem; letter-spacing: .04em; }
.nav-extra { margin-top: 2.7rem; }
.profile-links { display: inline-flex; align-items: center; }
.profile-links a { display: inline-flex; align-items: center; justify-content: flex-start; min-width: 1.65rem; height: 2.5rem; opacity: .8; }
.profile-links a + a { gap: .65rem; }
.profile-links a + a::before { content: ''; width: 1px; height: .85rem; background: #454545; }
.profile-links a:is(:hover, :focus-visible) { opacity: 1; }
.profile-links a:focus-visible { outline-offset: -2px; }
nav a:hover, nav a[aria-current="page"] { color: white; }
.mobile-nav { display: none; }
main { min-width: 0; }
.experience-list { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
footer { text-align: center; padding: 1rem 4% 1.5rem; color: var(--muted); font-size: .85rem; }
.utility-panel { width:min(28rem,90%); margin:auto; padding-block:3rem; }
.utility-panel h1 { margin:.75rem 0; font-size:clamp(2rem,6vw,3.75rem); line-height:1.04; letter-spacing:-.055em; }
.utility-panel p { color:#ccc; }
.utility-panel form { display:grid; gap:1rem; margin-top:1.75rem; }
.utility-panel label { display:grid; gap:.4rem; font-weight:600; }
.utility-panel input { width:100%; padding:.75rem; border:1px solid #67615c; border-radius:.25rem; background:#141414; color:white; font:inherit; }
.utility-panel small { color:#bbb; margin-top:-.6rem; }
.utility-panel [role="alert"] { color:#ffb69e; margin:0; }
.utility-action { display:inline-block; justify-self:start; background:#ed7d15; color:#191009; border:0; border-radius:.25rem; padding:.75rem 1.2rem; font:inherit; font-weight:650; cursor:pointer; }
.utility-panel :focus-visible { outline:2px solid white; outline-offset:3px; }
.missing-page { width:min(40rem,90%); text-align:center; }
.missing-page .error-code { color:#ed7d15; font-weight:700; letter-spacing:.12em; margin:0; }
.missing-page img { display:block; width:100%; height:auto; margin:1.5rem 0; }
.card { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(6.75rem, 12vw, 10rem); padding: 1rem clamp(1.25rem, 4vw, 3rem); background: #181818; }
.card-cover { position:absolute; inset:-8px; z-index:-2; width:calc(100% + 16px); height:calc(100% + 16px); object-fit:cover; filter:blur(4px); }
.card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(0 0 0 / 76%), rgb(0 0 0 / 40%) 60%, rgb(0 0 0 / 18%)); }
.card h2 { font-size: clamp(1.35rem, 3vw, 2.4rem); font-weight: 700; margin: 0; line-height: 1.15; letter-spacing: -.035em; }
.card:is(:hover, :focus-visible)::after { opacity: .85; }
figcaption, .back, .next span { color: var(--muted); font-size: .85rem; margin: 0; }
.project, .about { max-width: 65rem; }
.project h1, .about h1 { font-size: clamp(2.75rem, 5vw, 5.5rem); letter-spacing: -.075em; line-height: 1; margin: 1.5rem 0; }
.project figure { margin: 0; }
.project-header-image { display:block; max-width:100%; height:auto; margin:1.75rem auto; }
.case-story h2 { font-size:clamp(1.35rem,2.4vw,2rem); line-height:1.2; margin:2rem 0 .65rem; }
.case-story { line-height:1.75; overflow-wrap:anywhere; }
.case-story p { max-width:68ch; white-space:pre-line; }
.story-chapter { margin-block:clamp(2rem,5vw,4.5rem); }
.story-chapter h2 { margin:0 0 .75rem; letter-spacing:-.035em; }
.story-images { display:grid; grid-template-columns:repeat(var(--columns),minmax(0,1fr)); gap:clamp(.25rem,.8vw,.65rem); margin-block:1.5rem; align-items:start; }
.story-images a { display:block; cursor:zoom-in; }
.story-images img { display:block; width:100%; height:auto; }
@media (max-width:550px) {
  .story-images { grid-template-columns:repeat(min(var(--columns),2),minmax(0,1fr)); }
}
.case-section { margin-top: clamp(2.25rem, 5vw, 4rem); }
.case-section h2 { font-size: clamp(1.3rem, 3vw, 1.85rem); line-height: 1.2; letter-spacing: -.035em; margin: 0 0 1.2rem; }
.report-empty { color: var(--muted); font-size: .94rem; }
.report-text { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 68ch; line-height: 1.7; }
.report-social { display:flex; flex-wrap:wrap; gap:.45rem; margin-top:1rem; }
.report-social a { display:grid; place-items:center; width:2.75rem; height:2.75rem; border:1px solid #444; border-radius:50%; }
.report-social a:is(:hover,:focus-visible) { border-color:#ed7d15; }
#partners-title span { display:inline-block; max-width:100%; overflow-wrap:anywhere; }
.partner-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; margin:0; padding:1px; list-style:none; }
.partner-list li { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:.65rem; min-width:0; padding:clamp(.85rem,2vw,1.5rem); background:#121110; outline:1px solid #37312e; }
.partner-logo { width:100%; height:clamp(4rem,8vw,5.75rem); }
.partner-logo img { display:block; width:100%; height:100%; object-fit:contain; }
.partner-list strong { font-size:.88rem; line-height:1.35; overflow-wrap:anywhere; }
.partner-list p { margin:0; font-size:.85rem; color:var(--muted); overflow-wrap:anywhere; }
@media (max-width:560px) { .partner-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.viewer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
.viewer[open] { display: grid; place-items: center; }
.viewer::backdrop { background: rgb(0 0 0 / 94%); }
.viewer form { position: absolute; top: max(.6rem, env(safe-area-inset-top)); right: .6rem; z-index: 1; }
.viewer button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: #151515bf; color: white; font: 1.8rem/1 Arial,sans-serif; cursor: pointer; }
.viewer button:hover { background: #333; }
.viewer-image { display: block; width: auto; height: auto; max-width: 100%; max-height: 100dvh; touch-action: pan-y pinch-zoom; }
.viewer-controls button { position: absolute; top: 50%; transform: translateY(-50%); }
.viewer-controls [data-step="-1"] { left: .6rem; }
.viewer-controls [data-step="1"] { right: .6rem; }
.viewer-controls:not([hidden]) { display: contents; }
.artwork-gallery { display:flex; flex-wrap:wrap; align-items:flex-start; gap:clamp(4px,.6vw,8px); }
.case-story > .artwork-gallery { margin-block:1.5rem; }
.story-chapter > .artwork-gallery { margin-block:1.5rem; }
.artwork-gallery a { display:block; width:min(12rem,100%); max-width:100%; cursor:zoom-in; }
.artwork-gallery img { display:block; width:100%; height:auto; }
.progressive-photo { display:contents; }
@media (scripting:enabled) { .progressive-photo img:not([src]) { opacity:0; } }
.artwork-gallery a:only-child { width:100%; }
figcaption { margin-top: .5rem; }
.intro { font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.4; max-width: 36em; }
.back:hover, .text-link { text-decoration: underline; text-underline-offset: .22em; }
.next { margin-top: 2.5rem; border-top: 1px solid #333; padding-top: 1.25rem; }
.next a { display: inline-grid; gap: .2rem; font-size: 1.3rem; }
.about { max-width: 38rem; margin-inline: auto; }
.about p { line-height: 1.7; }
.personal-text { white-space:pre-wrap; overflow-wrap:anywhere; }
.personal-photos {
  display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);
  align-items:start; justify-items:center; gap:clamp(.65rem,1vw,1.1rem);
  max-width:25rem; margin:1.75rem auto 2.25rem; padding:.75rem .65rem;
}
.photo-print {
  position:relative; width:fit-content; max-width:100%; margin:0;
  padding:clamp(3px,.3vw,5px); padding-bottom:clamp(9px,.8vw,14px);
  background:linear-gradient(145deg,#fff8eb,#ddcdb9); border-radius:2px;
  box-shadow:0 12px 24px -8px #000b,0 1px 3px #0008;
  transform:rotate(-4deg);
}
.photo-print img { display:block; width:auto; height:auto; max-width:100%; max-height:18rem; }
.photo-print:first-child::before {
  content:""; position:absolute; z-index:1; top:-.4rem; left:33%; width:34%; height:.75rem;
  background:#d89b62d9; transform:rotate(5deg); box-shadow:0 1px 1px #0002;
}
.photo-print + .photo-print { margin-top:clamp(2.5rem,5vw,5.75rem); transform:rotate(4deg); }
.photo-print:only-child { grid-column:1/-1; }
@media (min-width:64rem) {
  .about-with-photos { display:grid; max-width:none; grid-template-columns:minmax(0,1fr) minmax(11rem,.48fr); column-gap:1.5rem; }
  .about-copy { grid-column:1; }
  .about-with-photos .personal-photos { grid-column:2; grid-row:1 / span 2; align-self:start; margin:1.5rem 0 0; }
  .about-with-photos .intro { margin-bottom:0; }
}
@media (min-width:88rem) {
  .about-with-photos { max-width:38rem; grid-template-columns:100% 0; }
  .about-with-photos .personal-photos { width:min(24rem,calc((100vw - 58rem) / 2 - 2rem)); }
}
.about h2 { margin: 2.5rem 0 .25rem; font-size: 1.2rem; }
.channels { display: grid; grid-template-columns: max-content 1fr; gap: 1rem 1.5rem; border-top: 1px solid #333; margin-top: 2rem; padding-top: 1.5rem; }
.channels dt { color: var(--muted); }
.channels dd { margin: 0; overflow-wrap: anywhere; }
.channels a { text-decoration: underline; text-underline-offset: .23em; }
@media (max-width: 740px) {
  .page-layout { width: min(38rem, 92%); margin: 0 auto auto; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-block: 1.35rem 2.5rem; }
  .rail { position: relative; inset: auto; max-height: none; overflow: visible; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; align-items: center; z-index: 2; }
  .brand { font-size: clamp(.94rem, 3.8vw, 1.05rem); }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; flex-shrink: 0; }
  .mobile-nav summary { cursor: pointer; font-size: .9rem; list-style: none; padding: .5rem 0 .5rem 1rem; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary::before { content: '☰'; margin-right: .4rem; }
  .mobile-nav[open] summary::before { content: '×'; }
  .mobile-nav nav { position: absolute; inset: 100% 0 auto; padding-block: 1rem 1.5rem; background: #000; border-bottom: 1px solid #444; }
  .mobile-nav nav a { min-height: 2.75rem; display: inline-flex; align-items: center; }
  .nav-extra { margin-top: .75rem; }
}
