@font-face {
  font-family: 'Barlow Condensed';
  src: url('vendor/barlow-condensed-700.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.cover-story {
  border-bottom: 1px solid var(--dark-line);
}

.cover-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(12px, 2.3vw, 40px);
  padding-block: clamp(42px, 6vw, 87px);
  min-height: min(790px, calc(100svh - var(--header-height)));
}

.cover-copy {
  position: relative;
  z-index: 1;
}

.cover-kicker, .profile-label {
  display: flex;
  align-items: center;
  gap: 11px;
}

.cover-kicker {
  color: var(--ash);
  margin-bottom: clamp(20px, 2.8vw, 44px);
}

.accent-mark {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.cover-title {
  color: var(--paper);
  font: 700 clamp(5rem, 12.7vw, 13rem)/.73 'Barlow Condensed', 'Arial Narrow', sans-serif;
  letter-spacing: -.033em;
  width: max-content;
  max-width: 100%;
  margin-left: -.029em;
}

.cover-title .title-line {
  display: block;
  overflow: hidden;
  padding: .07em .04em .11em .02em;
  margin-bottom: -.022em;
}

.title-line > span { display: block; }
.title-dot { color: var(--accent); }

.cover-role {
  color: var(--paper);
  font-size: clamp(1.28rem, 2.1vw, 2.05rem);
  line-height: 1.14;
  font-weight: 680;
  letter-spacing: -.05em;
  margin-top: clamp(13px, 2.4vw, 35px);
}

.cover-deck {
  color: #c7c1b4;
  max-width: 41ch;
  font-size: clamp(.89rem, 1.3vw, 1.08rem);
  line-height: 1.58;
  margin-top: 14px;
}

.cover-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: clamp(21px, 3.4vw, 45px);
  font-size: .83rem;
  font-weight: 750;
}

.cover-primary, .fan-index-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.cover-primary {
  padding: 12px 14px 12px 17px;
  background: var(--paper);
  color: var(--ink);
  transition: background-color .2s ease;
}

.cover-primary:hover {
  background: var(--accent);
}

.cover-primary svg, .fan-index-link svg {
  width: 19px;
  height: 19px;
}

.cover-secondary {
  border-bottom: 1px solid #6d6456;
  padding: 4px 0;
}

.cover-secondary:hover {
  color: var(--accent);
}

.portrait-mount {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: .99;
  max-height: 645px;
  min-height: 425px;
  margin-left: auto;
}

.portrait-mount::before {
  content: '';
  position: absolute;
  inset: 0 0 6% 16%;
  background: #b25338;
}

.portrait-window {
  position: absolute;
  inset: 5% 6% 0 0;
  overflow: hidden;
  background: #39342d;
}

.portrait-window img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 43%;
}

.profile-intro {
  padding-bottom: clamp(34px, 6.2vw, 88px);
  border-bottom: 1px solid var(--line);
}

.profile-label {
  color: var(--accent-ink);
  margin-bottom: clamp(20px, 3vw, 40px);
}

.profile-statement {
  max-width: 25ch;
  font-size: clamp(2.36rem, 5.05vw, 5.65rem);
  line-height: 1.085;
  letter-spacing: -.058em;
  word-spacing: .02em;
  text-wrap: pretty;
  font-weight: 750;
}

.profile-statement [data-phrase]:nth-child(n+4) {
  font: italic 400 1.11em/.9 var(--serif);
  letter-spacing: -.025em;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(30px, 8vw, 115px);
  padding-top: clamp(27px, 5vw, 70px);
}

.profile-figure {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  aspect-ratio: .88;
  overflow: hidden;
  background: #c9c4ba;
}

.profile-figure img {
  height: 100%;
  object-fit: cover;
  object-position: center 41%;
}

.profile-heading {
  margin-bottom: 13px;
  font-size: clamp(1.65rem, 3.1vw, 2.75rem);
  line-height: 1.05;
  font-weight: 770;
  letter-spacing: -.064em;
}

.profile-rows {
  margin-bottom: 35px;
}

.profile-rows div {
  border-top: 1px solid var(--line);
  padding-block: 12px;
}

.profile-rows div:last-child {
  border-bottom: 1px solid var(--line);
}

.profile-rows dt {
  font-size: 1rem;
  font-weight: 780;
}

.profile-rows dd {
  margin-top: 3px;
  font-size: .92rem;
  color: var(--muted);
  max-width: 62ch;
}

.profile-roles {
  margin-bottom: 0;
}

.profile-roles div {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 12px;
  align-items: baseline;
}

.profile-roles dd {
  margin: 0;
}

.profile-more {
  margin-block: 15px 24px;
}

.profile-more summary {
  list-style: none;
  cursor: pointer;
}

.profile-more summary::-webkit-details-marker {
  display: none;
}

.profile-more .profile-roles {
  margin-top: 14px;
}

.profile-more:not([open]) .profile-less-label,
.profile-more[open] .profile-more-label {
  display: none;
}

.profile-more[open] summary svg {
  transform: rotate(180deg);
}

.fan-stage {
  height: min(calc(100svh - var(--header-height)), 825px);
  min-height: 495px;
  overflow: clip;
  display: grid;
  align-items: stretch;
  background: var(--ink);
  border-bottom: 1px solid var(--dark-line);
}

.fan-layout {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding-block: clamp(25px, 5.6vh, 58px) clamp(20px, 4vh, 40px);
  min-height: 0;
}

.fan-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  position: relative;
  z-index: 2;
}

.fan-heading .display {
  font-size: clamp(3.35rem, 7.8vw, 8.6rem);
  letter-spacing: -.06em;
  word-spacing: .025em;
}

.fan-heading em {
  color: var(--accent);
}

.fan-index-link {
  border-bottom: 1px solid #6d6456;
  color: var(--paper);
  font-size: .86rem;
  font-weight: 730;
  white-space: nowrap;
  margin-bottom: 6px;
  padding-block: 7px;
}

.fan-index-link:hover {
  color: var(--accent);
}

.fan-decks {
  display: grid;
  min-height: 0;
  min-width: 0;
  isolation: isolate;
}

.fan-board {
  --card-width: clamp(135px, 18.5vw, 260px);
  --card-height: calc(var(--card-width) * 1.27);
  --static-spacing: clamp(36px, 8.3vw, 127px);
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  isolation: isolate;
  grid-area: 1 / 1;
}

.fan-stage:not(.is-pinned) .fan-board:not(.is-current) {
  visibility: hidden;
}

.fan-stage.is-pinned {
  min-height: 0;
}

.is-pinned .fan-decks {
  overflow: clip;
}

.is-pinned .fan-board {
  --card-width: clamp(115px, min(18.5vw, 27svh), 260px);
  isolation: auto;
}

.is-pinned .fan-card {
  top: calc(46% - var(--card-height) / 2);
  transform-origin: 50% 50%;
}

.fan-card.is-outside {
  visibility: hidden;
}

.fan-card {
  position: absolute;
  top: calc(51% - var(--card-height) / 2);
  left: calc(50% - var(--card-width) / 2);
  width: var(--card-width);
  height: var(--card-height);
  z-index: var(--fan-layer, var(--layer));
  transform-origin: 50% 82%;
  transform: translate(calc(var(--slot) * var(--static-spacing)), calc(var(--distance) * 13px)) rotate(calc(var(--slot) * 10deg));
  pointer-events: none;
}

.fan-card:hover, .fan-card:focus-within {
  z-index: 60;
}

.fan-card-link {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  padding: 5px;
  border: 1px solid #d9d1c2;
  background: #f2eee5;
  color: var(--ink);
  box-shadow: 1px 9px 22px #0b0b0a5c;
  pointer-events: auto;
  transition: transform .25s ease;
}

.fan-card-link:is(:hover, :focus-visible) {
  transform: translateY(-13px);
}

.fan-card-link img {
  height: 100%;
  object-fit: cover;
  background: var(--ink);
}

.fan-card-link[href$='/aspero.html'] img { object-position: 52% 42%; }
.fan-card-link[href$='/zeekr.html'] img { object-position: 36% 50%; }

.fan-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2px;
  font-size: clamp(.62rem, 1.2vw, .94rem);
  font-weight: 800;
  line-height: 1.18;
  padding: 8px 4px 4px;
}

.fan-caption svg {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  color: var(--accent-ink);
}

.fan-name {
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fan-card--right .fan-caption {
  flex-direction: row-reverse;
  text-align: right;
}

.fan-footer {
  display: flex;
  align-items: center;
  gap: clamp(9px, 1.4vw, 16px);
  position: relative;
  z-index: 2;
}

.fan-stage:not(.is-pinned) .fan-instruction,
.fan-stage:not(.is-pinned) .fan-meter {
  display: none;
}

.fan-instruction {
  color: var(--ash);
  white-space: nowrap;
}

.fan-instruction svg {
  color: var(--accent);
}

.fan-position {
  margin-left: auto;
  color: var(--paper);
  white-space: nowrap;
}

.fan-meter {
  flex: 1;
  height: 1px;
  background: var(--dark-line);
}

.fan-meter span {
  display: block;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.cover--media { background: #153746; }
.cover--glory { background: #dac9a9; }
.cover--glory > img { object-fit: contain; }

.cover--archive {
  background: #e1dcd2;
}

.cover--archive > img {
  object-fit: contain;
}

[data-category='health'] .cover--archive { background: #d5d0c7; }
[data-category='food'] .cover--archive { background: #e3d2bd; }

.work .section-heading, .films .section-heading {
  margin-top: 0;
}

.work .project-caption .micro {
  letter-spacing: .045em;
}

.films {
  border-bottom: 1px solid var(--dark-line);
}

.film-stage.is-pinned {
  height: calc(100svh - var(--header-height));
  padding-block: 15px;
  background: var(--ink);
}

.film-stage.is-pinned .film-layout {
  height: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: clamp(12px, 2.8vh, 28px);
}

.film-stage.is-pinned .section-heading {
  margin: 0;
}

.film-stage.is-pinned .section-heading .display {
  font-size: clamp(2.7rem, 6.5vw, 6.8rem);
}

.film-viewport {
  overflow-x: auto;
  min-width: 0;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-color: #6d6456 var(--ink);
  scrollbar-width: thin;
}

.film-stage.is-pinned .film-viewport {
  overflow: hidden;
  scroll-snap-type: none;
}

.film-grid {
  --film-gap: clamp(9px, 1.15vw, 17px);
  position: relative;
  display: flex;
  gap: var(--film-gap);
  padding: 14px 2px 9px;
}

.film {
  flex: 0 0 clamp(124px, 38vw, 193px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 6px;
  border: 1px solid var(--dark-line);
  background: #22211e;
  scroll-snap-align: start;
  transition: background-color .25s, border-color .25s, transform .3s ease;
}

.film[aria-current='true'] {
  transform: translateY(-8px);
  border-color: var(--accent);
  background: #30251f;
}

.film:hover, .film:focus-visible {
  border-color: var(--accent);
}

.film:focus-visible {
  outline-offset: -3px;
}

.film-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 1.17;
  background: #171613;
}

.film-frame img {
  min-height: 0;
  height: 100%;
  object-fit: contain;
  opacity: .85;
  transition: opacity .25s;
}

.film[aria-current='true'] .film-frame img, .film:hover .film-frame img {
  opacity: 1;
}

.film .play {
  width: clamp(30px, 3vw, 43px);
  height: clamp(30px, 3vw, 43px);
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  position: absolute;
}

.film .play svg {
  width: 53%;
  height: 53%;
  transform: translateX(1px);
}

.film[aria-current='true'] .play, .film:hover .play {
  border-color: var(--accent);
  background: var(--accent);
}

.film-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px;
  align-items: end;
  padding: 9px 3px 5px;
}

.film-caption .micro {
  color: var(--accent);
  font-size: .61rem;
}

.film-caption h3 {
  margin-top: 4px;
  font-size: clamp(.82rem, 1.08vw, 1.06rem);
  letter-spacing: -.035em;
  line-height: 1.22;
}

.film-caption .external-icon {
  font-size: .98rem;
  color: var(--ash);
}

@media (min-width: 920px) {
  .film {
    flex: 1 0 104px;
  }
}

@media (max-height: 620px) {
  .film-stage.is-pinned .film-frame { max-height: 28vh; }
  .film-stage.is-pinned .section-heading .display { font-size: clamp(2.4rem, 7vh, 4.6rem); }
}

.film-controls {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 22px);
  color: var(--ash);
}

.film-progress {
  flex: 1;
  height: 1px;
  background: var(--dark-line);
}

.film-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.film-position {
  color: var(--paper);
  white-space: nowrap;
}

.step-buttons {
  display: flex;
  gap: 6px;
}

.step-buttons .circle {
  width: 42px;
  height: 42px;
  background: transparent;
  border-color: #6d6456;
  color: var(--paper);
  cursor: pointer;
}

.step-buttons [aria-disabled='true'] {
  color: #79736a;
  cursor: default;
}

.step-buttons .circle:not([aria-disabled='true']):hover {
  background: var(--paper);
  color: var(--ink);
}

.step-buttons button:first-child svg {
  transform: rotate(180deg);
}

@media (max-width: 850px) {
  .cover-grid { gap: 12px; }
  .portrait-mount { min-height: 360px; }
  .cover-title { font-size: clamp(4rem, 13.2vw, 7.2rem); }
}

@media (max-width: 610px) {
  .cover-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 35px 27px;
    gap: 26px;
  }
  .cover-title { font-size: clamp(4.3rem, 21vw, 7.55rem); }
  .cover-role br { display: none; }
  .cover-deck { margin-top: 10px; }
  .portrait-mount { min-height: 0; aspect-ratio: 1.16; max-height: 410px; }
  .portrait-window { inset: 4% 5% 0 0; }
  .profile-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-figure { position: relative; top: auto; aspect-ratio: 1.19; }
  .profile-figure img { object-position: 50% 27%; }
  .fan-stage { min-height: 410px; }
  .fan-heading { align-items: start; flex-direction: column; gap: 6px; }
  .fan-heading .display { font-size: clamp(2.8rem, 10.75vw, 4.4rem); }
  .fan-index-link { font-size: .76rem; padding-block: 5px; }
  .fan-board { --card-width: clamp(85px, 26vw, 157px); --static-spacing: 7.8vw; }
  .is-pinned .fan-board { --card-width: clamp(85px, min(26vw, 22svh), 157px); }
  .is-pinned .fan-card { top: calc(48% - var(--card-height) / 2); }
  .fan-card-link { padding: 3px; }
  .fan-caption { padding: 5px 2px 2px; }
  .fan-instruction { font-size: .62rem; }
  .film-stage.is-pinned .section-heading { gap: 6px; }
  .film-stage.is-pinned .section-heading .display { font-size: clamp(2.4rem, 9.6vw, 3.6rem); }
  .film-stage.is-pinned .section-heading > p { font-size: .78rem; }
  .film-scroll-hint { font-size: .59rem; }
  .step-buttons .circle { width: 40px; height: 40px; }
}

@media (max-height: 560px) and (min-width: 611px) {
  .fan-stage:not(.is-pinned) { height: 580px; }
  .is-pinned .fan-layout { padding-block: 20px; }
  .is-pinned .fan-heading .display { font-size: min(7.8vw, 4.2rem); }
}

@media (prefers-reduced-motion: reduce) {
  .fan-card-link:is(:hover, :focus-visible) { transform: none; }
}
