@font-face{font-family:Portfolio;src:url("media/obviously-narrow.otf") format("opentype");font-display:swap}
*{box-sizing:border-box}
body{margin:0;background:#282b2f;color:#7d8e9b;font-family:Portfolio,"Arial Narrow",sans-serif}
header{position:absolute;z-index:3;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:12px 3vw}
.logo{display:block;height:50px;width:auto}
nav{display:flex;align-items:center;gap:24px}
a{color:inherit;text-decoration:none}
nav [aria-current],nav a:hover{text-decoration:underline;text-underline-offset:3px}
nav b{font:bold 23px Arial,sans-serif}
a:focus-visible,summary:focus-visible{outline:3px solid #54c4c3;outline-offset:3px}
.skip{position:absolute;z-index:9;left:12px;top:-100px;padding:10px;background:#fff;color:#111}
.skip:focus{top:10px}
details,.small{display:none}
.layout{position:relative;overflow:clip}
.section-color,.block{position:absolute}
.section-color{width:100%;pointer-events:none}
.block :is(h1,h2,h3,h4,p){margin:0;font:inherit}
.block img,.block picture,.block iframe,.block>a{width:100%;height:100%;display:block;border:0}
.block em{font-style:normal;color:#66bfc0}
.block a:hover{text-decoration:underline}
.cv-button a{display:flex;align-items:center;justify-content:center;border:2px solid currentColor;height:100%}
.cv-button p{height:100%}
.reveal{position:absolute;inset:0;opacity:0;pointer-events:none}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
 .card:hover .reveal,.card:focus-within .reveal{animation:show-art 1.5s ease both}
 @keyframes show-art{0%{opacity:0}20%,60%{opacity:1}100%{opacity:0}}
}
@media(max-width:767px){
 .wide,.desktop-nav{display:none}.small,details{display:block}
 header{padding:10px 6vw}.logo{max-height:44px}
 summary{display:grid;cursor:pointer;width:44px;height:44px;align-content:center;justify-content:center;gap:6px;list-style:none}
 summary::-webkit-details-marker{display:none}
 summary span{display:block;width:23px;height:2px;background:currentColor}
 details nav{position:absolute;inset:100% 0 auto;background:#282b2f;padding:24px 6vw;justify-content:flex-end;font-size:20px}
}
.tint{position:absolute;inset:0;pointer-events:none}

@font-face {
  font-family: Portfolio;
  src: url("media/obviously-narrow-medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Portfolio;
  src: url("media/obviously-narrow-semibold.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Portfolio;
  src: url("media/obviously-narrow-bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
.block picture:not(:has(+ .tint)) img { border-radius: 10px; }
.project-hero {
  left: 10.493%;
  width: 78.944%;
  aspect-ratio: 2880 / 1400;
  border-radius: 10px;
  background: #282b2f;
  overflow: hidden;
  cursor: default;
}
.project-hero picture { opacity: 1; }
.project-blur-mix { flood-opacity: 0; }
.is-revealed .project-blur-mix { flood-opacity: .5; }
.block.project-hero > .project-cta {
  position: absolute;
  left: 1.73%;
  top: 69.04%;
  width: 18.02%;
  height: auto;
  opacity: 0;
  pointer-events: none;
}
.project-cta svg { display: block; width: 100%; height: auto; }
.project-hero.show-details > .project-cta {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}
@keyframes reveal-project-cta {
  from { transform: translateX(-110%); }
  to { transform: translateX(0); }
}
.project-cta:focus-visible { border-radius: 5px; }

.project-hero.is-revealed picture { opacity: .35; }
.project-type {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  font-family: Portfolio, sans-serif;
  white-space: pre;
  pointer-events: none;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .project-hero { left: 4.5%; width: 91%; }
}
.project-headline,
.project-details { opacity: 0; }
.project-hero.is-revealed .project-headline,
.project-hero.show-details .project-details { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .project-hero picture { transition: opacity 320ms ease-out; }
  .project-blur-mix { transition: flood-opacity 320ms ease-out; }
  .project-hero {
    --details-slide-time: 260ms;
  }
  .project-hero.show-details:not(.repeat-view) > .project-cta {
    animation: reveal-project-cta .5s ease-out var(--details-slide-time) backwards;
  }
  .project-details {
    transform: translateY(240px);
    transition: transform var(--details-slide-time) ease-out, opacity 180ms ease-out;
  }
  .show-details .project-details { transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .project-hero.repeat-view.is-revealed :is(.project-headline, .project-details, .project-cta, picture) {
    transition: opacity 1s ease-out;
  }
  .project-hero.repeat-view.is-revealed .project-details { transform: none; }
  .project-hero.repeat-view.is-revealed .project-blur-mix { transition-duration: 1s; }
}

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .project-hero:not(.photo-visible) { opacity: 0; }
  .project-hero.is-revealed:not(.repeat-view) .project-headline {
    transition: opacity 410ms ease-out;
  }
}

#work-background, #case-dots {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

:root { --project-aqua: #00cccd; }
.project-image-link { cursor: default; }
.project-cta:is(:hover, :focus-visible, :active) rect {
  fill: var(--project-aqua);
  fill-opacity: 1;
  stroke: var(--project-aqua);
}
.project-cta:is(:hover, :focus-visible, :active) text { fill: #292b2f; }
.project-cta:is(:hover, :focus-visible, :active) path { stroke: #292b2f; }
@media (min-width: 768px) and (max-width: 1024px), (pointer: coarse) {
  .project-image-link { pointer-events: none; }
}
.project-wipe {
  position: fixed;
  z-index: 20;
  inset: 0;
  cursor: default;
  background: var(--project-aqua);
}
html.project-arrival::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 22;
  pointer-events: none;
  background: var(--project-aqua);
}
html.project-arrival.is-ready::after {
  animation: project-uncover .45s ease-in-out both;
}
@keyframes project-uncover { to { opacity: 0; } }

.case-study { isolation: isolate; }
.case-study .section-color { z-index: -2; }
#case-dots { z-index: -1; }
.case-filter { position: absolute; width: 0; height: 0; pointer-events: none; }

.case-study { --art-width: 78.944vw; }
.case-light { background-color: #cdd1d5; }
.case-study main { position: relative; padding-top: 300px; }
.case-title {
  position: absolute;
  top: 200px;
  width: 100%;
  margin: 0;
  text-align: center;
  color: #cdd1d5;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 500;
  line-height: 1;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}
.case-light .case-title { color: #292b2f; }
.case-band {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.6vw, 28px);
  padding-bottom: clamp(20px, 3vw, 48px);
}
.case-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--band);
}
.case-row { position: relative; width: var(--art-width); }
.case-copy { position: relative; max-width: var(--art-width); }
.case-bottom { position: relative; }
@media (max-width: 1024px) { .case-study { --art-width: 91vw; } }
@media (max-width: 767px) { .case-study { --art-width: 100vw; } }
