:root {
  --ink: #272727;
  --muted: #b8b8b8;
  --sans: "Timeless Sans", "Helvetica Neue", sans-serif;
  --white: #fff;
  --journey-distance: 90svh;
  --work-reveal: 0;
}

html,
body {
  height: auto;
  min-height: 100%;
  scroll-behavior: auto;
}

body {
  min-height: calc(100svh + var(--journey-distance));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
}

body.has-shell-overlay,
body.has-detail { overflow: hidden; }

.canvas { display: none; }

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 68px;
  padding: 0 24px 0 32px;
  color: var(--ink);
  font: 300 12px/1 var(--sans);
  letter-spacing: -.05em;
}

.site-name,
.site-nav button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.site-name { gap: 5px; }
.site-name-icon { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1; transition: transform .28s ease; }
.site-name[aria-expanded="true"] .site-name-icon { transform: rotate(180deg); }

.site-nav { display: flex; align-items: center; gap: 17px; }
.site-nav button,
.text-link { position: relative; }
.site-nav button::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s cubic-bezier(.2, .8, .2, 1);
}
.site-nav button:hover::after,
.site-nav button:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after { transform: scaleX(1); }

.bio-peek {
  position: absolute;
  top: 52px;
  left: 24px;
  z-index: 2;
  width: min(370px, calc(100vw - 48px));
  max-height: min(66svh, 560px);
  overflow-y: auto;
  padding: 20px 22px 22px;
  border: 1px solid rgba(39, 39, 39, .04);
  border-radius: 3px;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 12px 48px rgba(26, 26, 26, .09);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  font: 400 14px/1.5 var(--sans);
  letter-spacing: -.035em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity .25s ease, transform .25s ease;
  scrollbar-width: thin;
}
.bio-peek.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.bio-peek p { margin: 0 0 14px; }
.bio-peek p:last-child { margin-bottom: 0; }

.home-page {
  position: fixed;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1022px, calc(100% - 2 * clamp(24px, 5.56vw, 80px)));
  margin-left: clamp(24px, 5.56vw, 80px);
  padding-top: clamp(142px, 21.9svh, 193px);
  opacity: var(--copy-opacity, 1);
  filter: blur(var(--copy-blur, 0px));
  transform: translateY(var(--copy-y, 0px));
  pointer-events: auto;
  will-change: transform, opacity, filter;
}

.hero-title {
  margin: 0;
  color: var(--ink);
  font: 600 clamp(36px, 3.89vw, 56px)/1.13 var(--sans);
  letter-spacing: -.08em;
}

.hero-line { display: block; white-space: nowrap; }
.hero-line-first { color: var(--ink); }
.hero-muted { color: var(--muted); }
.hero-line-second { color: var(--muted); }
.hero-join { display: inline; }

[data-entrance] {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(8px);
  animation: reveal-copy .78s cubic-bezier(.2, .75, .2, 1) forwards;
}
.hero-line-first { animation-delay: .08s; }
.hero-line-second { animation-delay: .2s; }
.hero-contact { animation-delay: .38s; }
@keyframes reveal-copy {
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

.hover-word {
  position: relative;
  display: inline;
  outline: none;
  cursor: pointer;
  transition: color .2s ease;
}
.hover-word:hover,
.hover-word:focus-visible { color: var(--ink); }
.hover-word::after {
  position: absolute;
  right: 0;
  bottom: .01em;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(.2);
  transform-origin: left;
  transition: opacity .2s ease, transform .25s ease;
}
.hover-word:hover::after,
.hover-word:focus-visible::after { opacity: .62; transform: scaleX(1); }

.hover-fan {
  position: absolute;
  z-index: 5;
  top: -118px;
  left: 50%;
  display: block;
  width: 132px;
  height: 132px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px) scale(.88);
  transition: opacity .22s ease, transform .36s cubic-bezier(.16, .8, .2, 1);
}
.hover-word:hover .hover-fan,
.hover-word:focus-visible .hover-fan { opacity: 1; transform: translate(-50%, 0) scale(1); }

.fan-card {
  position: absolute;
  top: 16px;
  left: 25px;
  display: block;
  width: 84px;
  height: 96px;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, .1);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(20, 20, 20, .18);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.fan-card i,
.fan-card b,
.fan-card em { position: absolute; display: block; }
.fan-card-back { transform: translate(-18px, 9px) rotate(-15deg); }
.fan-card-mid { transform: translate(17px, -7px) rotate(11deg); }
.fan-card-front { transform: translate(7px, 12px) rotate(-2deg); }
.hover-word:hover .fan-card-back,
.hover-word:focus-visible .fan-card-back { transform: translate(-27px, 0) rotate(-18deg); }
.hover-word:hover .fan-card-mid,
.hover-word:focus-visible .fan-card-mid { transform: translate(26px, -16px) rotate(13deg); }
.hover-word:hover .fan-card-front,
.hover-word:focus-visible .fan-card-front { transform: translate(9px, 17px) rotate(-2deg); }

.fan-interface { background: linear-gradient(160deg, #222329 0 45%, #e9e9e7 45%); }
.fan-interface i { inset: 6px 6px auto; height: 33px; border-radius: 4px; background: linear-gradient(135deg, #c8d3db, #f5d4b9); }
.fan-interface b { top: 46px; left: 8px; width: 51px; height: 4px; background: #8e939b; box-shadow: 0 8px #c1c3c4, 0 16px #d8d8d8; }
.fan-interface em { right: 7px; bottom: 9px; width: 17px; height: 17px; border-radius: 50%; background: #764fe3; }
.fan-video { background: #161619; }
.fan-video i { inset: 6px 6px 26px; border-radius: 4px; background: linear-gradient(145deg, #f1a7ab, #607bb1 50%, #e0ccaa); }
.fan-video i::after { position: absolute; inset: 0; background: linear-gradient(130deg, transparent 40%, rgba(255,255,255,.5)); content: ""; }
.fan-video b { right: 7px; bottom: 12px; left: 7px; height: 3px; background: #8f8f96; box-shadow: 0 -5px #47474b; }
.fan-video em { bottom: 11px; left: 23px; width: 5px; height: 5px; border-radius: 50%; background: #79a7ff; }
.fan-editor { background: #f3f3f2; }
.fan-editor i { top: 7px; right: 7px; left: 7px; height: 46px; border-radius: 4px; background: radial-gradient(circle at 68% 43%, #f1dfb8 0 10%, transparent 11%), linear-gradient(140deg, #c3d2db 0 42%, #4277aa 43% 66%, #e5cfc3 67%); }
.fan-editor b { top: 61px; left: 8px; width: 42px; height: 3px; background: #9d9ea0; box-shadow: 0 7px #d4d4d4, 0 14px #dedede; }
.fan-editor em { right: 8px; bottom: 8px; width: 16px; height: 16px; border: 1px solid #cacaca; border-radius: 50%; }
.fan-photo { background: #e5e4df; }
.fan-photo i { inset: 5px; border-radius: 5px; }
.fan-photo b { right: 6px; bottom: 6px; width: 15px; height: 15px; border: 2px solid white; border-radius: 50%; }
.fan-photo-one i { background: radial-gradient(ellipse at 48% 33%, #f0bd91 0 13%, transparent 14%), radial-gradient(ellipse at 52% 35%, #36323b 0 22%, transparent 23%), linear-gradient(145deg, #ec6947 0 49%, #f3c68e 50% 72%, #383943 73%); }
.fan-photo-two i { background: radial-gradient(ellipse at 67% 38%, #e2b19a 0 11%, transparent 12%), linear-gradient(135deg, #405b7e 0 45%, #c9dce6 46% 70%, #33404d 71%); }
.fan-editorial { background: #f6f3ee; }
.fan-editorial i { inset: 6px 6px 31px; border-radius: 4px; background: linear-gradient(135deg, #f1b67a, #e2d1bc 42%, #7b8e83 43% 70%, #f3e9db 71%); }
.fan-editorial b { top: 71px; left: 8px; width: 56px; height: 3px; background: #777; box-shadow: 0 7px #d0cdc8; }
.fan-editorial em { top: 64px; left: 8px; width: 36px; height: 3px; background: #343434; }

.hero-contact {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 14px;
  color: var(--ink);
  font: 300 12px/1.2 var(--sans);
  letter-spacing: -.05em;
}
.hero-contact span { width: 0; overflow: hidden; transition: width .24s ease, margin-left .24s ease; }
.hero-contact:hover span,
.hero-contact:focus-visible span { width: 12px; margin-left: 6px; }

.app {
  position: fixed;
  inset: 0;
  display: block;
  height: 100svh;
  background: #fff;
}
.app > .top { display: none; }
.stage { position: absolute; inset: 0; }
.frame {
  top: var(--frame-y, 50%);
  width: var(--fw);
  height: var(--fh);
  margin-top: calc(var(--fh) / -2);
  margin-left: calc(var(--fw) / -2);
}
.frame { --fill: #d9d9d9; }
.frame-box { background: #d9d9d9; }
.frame-box { border-radius: 8px; }
.frame-preview,
.frame-box > img { opacity: var(--work-reveal); }
.frame-label {
  padding-bottom: 8px;
  color: #b8b8b8;
  font: 300 12px/1 var(--sans);
  letter-spacing: -.05em;
  opacity: var(--work-reveal);
}
.frame-name { color: #b8b8b8; }
.frame.is-center .frame-name { color: #b8b8b8; }
.frame .sel { display: none; }
.frame-box:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; }
.timeline {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  width: min(394px, calc(100vw - 40px));
  padding-bottom: max(105px, env(safe-area-inset-bottom));
  opacity: var(--work-reveal);
  transform: translate(-50%, calc((1 - var(--work-reveal)) * 12px));
}
.timeline[inert] { pointer-events: none; }
.ruler { height: 56px; }
.pill { display: none; }
.ticks { top: 19px; bottom: 20px; }
.tick,
.tick.major { background: #c5c5c5; }
.playhead { top: 11px; bottom: 20px; width: 1px; background: #272727; }
.keys { bottom: 6px; }
.key { width: 2px; height: 2px; background: #d3d3d3; }
.key.is-on { background: #272727; }
.years { margin-top: 0; }
.year {
  padding: 7px 0;
  border-radius: 0;
  font: 300 12px/1 var(--sans);
  letter-spacing: -.05em;
  color: #b8b8b8;
}
.year:hover { color: var(--ink); background: transparent; }
.year[aria-pressed="true"] { color: var(--ink); }
.hint { display: none; }

.site-footer {
  position: fixed;
  z-index: 5;
  right: 24px;
  bottom: max(28px, env(safe-area-inset-bottom));
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b8b8b8;
  font: 300 10px/1 var(--sans);
  letter-spacing: -.05em;
  pointer-events: none;
}
.footer-location { display: flex; gap: 8px; }
.footer-track { display: flex; align-items: center; gap: 6px; }
.footer-track > span:first-child { color: #777; font-size: 9px; }
.footer-sound-icon { margin-left: 10px; font-size: 14px; }

.shell-overlay {
  position: fixed;
  z-index: 20;
  inset: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .94);
  opacity: 0;
  transition: opacity .38s ease;
}
.shell-overlay[hidden] { display: none; }
.shell-overlay.is-open { opacity: 1; }
.overlay-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.overlay-atmosphere::before,
.overlay-atmosphere::after {
  position: absolute;
  width: 35vw;
  height: 24vh;
  border-radius: 50%;
  background: rgba(180, 180, 180, .45);
  content: "";
  filter: blur(44px);
}
.overlay-atmosphere::before { top: 20%; left: -12%; }
.overlay-atmosphere::after { right: -11%; bottom: 23%; }
.about-scroll {
  position: relative;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(104px, 13.75vh, 121px) 8vw 100px;
  scrollbar-width: thin;
  scrollbar-color: #d0d0d0 transparent;
}
.about-copy {
  width: min(1137px, 100%);
  margin: 0 auto;
  text-align: center;
  font: 600 clamp(30px, 3.89vw, 56px)/1.13 var(--sans);
  letter-spacing: -.08em;
}
.about-copy p { margin: 0 0 48px; }
.about-copy p:last-child { margin-bottom: 0; }

.contact-overlay {
  display: grid;
  place-items: center;
}
.contact-copy {
  position: relative;
  z-index: 1;
  width: min(872px, calc(100vw - 48px));
  font: 600 clamp(40px, 6.95vw, 100px)/1.13 var(--sans);
  letter-spacing: -.08em;
}
.contact-copy p { margin: 0; }
.contact-copy a { color: inherit; text-decoration: none; }
.contact-copy a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .1em; }
.contact-links { display: flex; justify-content: space-between; gap: .3em; }
.contact-links a[aria-disabled="true"] { cursor: default; }
.contact-links a[aria-disabled="true"]:hover { text-decoration: none; }

.detail {
  z-index: 40;
  background: #fff;
  color: var(--ink);
}
.detail-bar,
.detail-foot { font: 300 12px/1 var(--sans); letter-spacing: -.05em; }
.detail-grid {
  grid-template-columns: minmax(260px, 364px) minmax(0, 682px);
  align-items: start;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(50px, 10.7vh, 94px) 8.1vw 50px;
}
.eyebrow { margin-bottom: 0; }
.detail-title {
  font: 600 clamp(40px, 3.89vw, 56px)/1.13 var(--sans);
  letter-spacing: -.08em;
}
.detail-copy { max-width: 364px; padding-top: 0; }
.detail-media {
  width: 100%;
  aspect-ratio: 1.5;
  border-radius: 8px;
}
.detail-media-inner { background: #d9d9d9; }
.media-action { font: 300 12px/1 var(--sans); letter-spacing: -.04em; }
.case-content {
  font: 300 14px/1.5 var(--sans);
  letter-spacing: -.025em;
}
.case-content h2,
.case-content h3,
.case-content h4 {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -.055em;
}
.case-content h2 { font-size: 25px; }
.case-content h3 { font-size: 21px; }
.case-content h4 { font-size: 18px; }
.case-content th,
.case-content td { padding: 8px 8px 8px 0; }

.experience-modal {
  z-index: 50;
  background: #fff;
  color: var(--ink);
}
.experience-bar {
  min-height: 68px;
  padding: 0 32px;
  border-bottom: 0;
  font: 300 12px/1 var(--sans);
  letter-spacing: -.05em;
}
.experience-note { display: none; }
.experience-modal .ctl { color: #777; }
.experience-modal .ctl:hover { color: var(--ink); background: rgba(0, 0, 0, .04); }
.experience-frame { top: calc(68px + (100% - 68px) / 2); }

@media (max-width: 760px) {
  .site-header { height: 58px; padding: 0 20px; }
  .site-nav { gap: 13px; }
  .hero-copy {
    width: calc(100% - 40px);
    margin-left: 20px;
    padding-top: 22svh;
  }
  .hero-title {
    font-size: clamp(31px, 8vw, 48px);
    letter-spacing: -.075em;
    line-height: 1.08;
  }
  .hero-line { white-space: normal; }
  .hero-line-first { max-width: 13ch; }
  .hero-line-second { max-width: 13ch; }
  .hover-fan { top: -98px; }
  .timeline { padding-bottom: max(62px, env(safe-area-inset-bottom)); }
  .site-footer { right: 16px; bottom: max(19px, env(safe-area-inset-bottom)); left: 16px; }
  .footer-track { gap: 4px; }
  .detail-grid {
    grid-template-columns: 1fr;
    align-content: start;
    align-items: start;
    gap: 24px;
    padding: 12px 20px 24px;
  }
  .detail-media-wrap { order: -1; }
  .detail-copy {
    max-width: none;
    max-height: none;
    overflow: visible;
    padding: 0 0 20px;
  }
  .about-scroll { padding: 92px 24px 64px; }
  .about-copy { font-size: clamp(29px, 8vw, 42px); }
  .about-copy p { margin-bottom: 30px; }
  .contact-copy { width: calc(100vw - 40px); font-size: clamp(34px, 9vw, 62px); }
  .experience-bar { min-height: 58px; padding: 0 20px; }
  .experience-frame { top: calc(58px + (100% - 58px) / 2); }
}

@media (max-width: 390px) {
  .site-header { padding: 0 16px; }
  .site-name { gap: 3px; }
  .site-nav { gap: 9px; }
  .hero-copy { margin-left: 16px; width: calc(100% - 32px); }
  .contact-copy { font-size: clamp(31px, 9vw, 39px); }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body { scroll-behavior: auto; }
  [data-entrance] { opacity: 1; filter: none; transform: none; animation: none; }
  .hover-fan,
  .fan-card,
  .site-nav button::after,
  .text-link::after,
  .shell-overlay { transition-duration: .01ms; }
}
