:root{
    /*--- colors ---*/
    color-scheme: light dark;
    --bg: light-dark(#FFFFFF, #111217);
    --ink: light-dark(#111217, #F2F3F5);
    --dim: light-dark(#002941, #9DB6C7);
    --border: light-dark(#E6E6E6, #2B2E36);
    --surface: light-dark(#F4F4F4, #1B1D23);
    --display: "Archivo", sans-serif;
    --body: "Inter", sans-serif;
    --max: 640px;
    --pad: clamp(20px, 6vw, 48px);
    --header-offset: 118px;
}
:root[data-theme="light"]{
  color-scheme: light;
}
:root[data-theme="dark"]{
  color-scheme: dark;
}
html{
  scroll-padding-top: var(--header-offset);
}
@media (prefers-reduced-motion: no-preference){
  html{ scroll-behavior: smooth; }
}
/*--- body ---*/
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}
a:focus-visible,
button:focus-visible{
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
/*--- header ---*/
header{
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 18px var(--pad) 8px;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid var(--border);
}
header .wordmark{
  display: block;
  width: fit-content;
  margin: 0 auto 2px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}
header nav{
  display: flex;
  justify-content: center;
}
header nav a{
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  text-decoration: none;
  font-size: 1rem;
  color: var(--dim);
}
header nav a:hover{
  color: var(--ink);
}
header a:focus-visible{
  outline-offset: 2px;
  border-radius: 2px;
}
.theme-toggle{
  position: absolute;
  top: 33px;
  right: var(--pad);
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s;
}
.theme-toggle:hover{
  border-color: var(--ink);
}
:root[data-theme] .theme-toggle{
  display: grid;
}
.theme-toggle svg{
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle .sun,
:root[data-theme="dark"] .theme-toggle .moon{
  display: none;
}
:root[data-theme="dark"] .theme-toggle .sun{
  display: block;
}
.intro{
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(16px, 10vh, 64px) var(--pad) clamp(40px, 8vh, 88px);
}
.intro-avatar,
.work-avatar,
.contact-avatar{
  display: block;
  width: clamp(170px, 48vw, 240px);
  height: auto;
  margin: 0 auto 8px;
}
.intro-avatar{
  margin-bottom: 20px;
}
.intro-eyebrow,
.tag-label,
.work h3,
.deck-count,
.video-count,
.credits dt{
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--dim);
}
.intro-eyebrow,
.tag-label,
.work h3,
.credits dt{
  text-transform: uppercase;
}
.intro-eyebrow{
  margin: 0 0 10px;
  font-size: 0.8rem;
}
.intro h1{
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.6rem, 9vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.intro-text,
.contact-text{
  max-width: 36ch;
  text-wrap: balance;
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
  color: var(--dim);
}
.intro-text{
  margin: 18px auto 0;
}
.intro-tags{
  margin-top: 28px;
}
.tag-label{
  margin: 0 0 8px;
  font-size: 0.7rem;
}
.tags{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.tags:last-child{
  margin-bottom: 0;
}
.tags li{
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1.5;
}
.intro-facts li{
  background: var(--border);
}
.intro-cta,
.back-to-top{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.intro-cta{
  margin-top: 32px;
}
.intro-cta .arrow,
.back-to-top .arrow{
  transition: transform 0.2s;
}
.intro-cta:hover .arrow{
  transform: translateY(3px);
}
.back-to-top:hover .arrow{
  transform: translateY(-3px);
}
@media (prefers-reduced-motion: no-preference){
  .intro > *{
    animation: intro-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .intro > :nth-child(2){ animation-delay: 0.08s; }
  .intro > :nth-child(3){ animation-delay: 0.16s; }
  .intro > :nth-child(4){ animation-delay: 0.24s; }
  .intro > :nth-child(5){ animation-delay: 0.32s; }
  .intro > :nth-child(6){ animation-delay: 0.40s; }
}
@keyframes intro-rise{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: none; }
}
.work,
.contact{
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(56px, 10vh, 112px) var(--pad);
  border-top: 1px solid var(--border);
}
.work h2,
.contact h2{
  margin: 0 0 40px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.work h3{
  margin: 0 0 16px;
  font-size: 0.8rem;
}
.work .reels,
.work .billboards-title{
  margin-top: 64px;
}
.video{
  margin: 0;
}
.video-frame{
  aspect-ratio: 16 / 9;
  background: #111111;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 50px;
}
.video-frame iframe{
  width: 100%;
  height: 100%;
  border: 0;
}
.project-info{
  margin-bottom: 50px;
}
.credits{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
  margin: 12px 0 0;
  font-size: 0.9rem;
}
.credits div{
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.credits dt{
  font-size: 0.7rem;
}
.credits dd{
  margin: 0;
  font-weight: 600;
}
.video-note{
  max-width: 56ch;
  margin: 16px auto 0;
  font-size: 0.9rem;
  color: var(--dim);
  text-wrap: balance;
}
.fake-embed{
  position: relative;
  display: block;
  color: #FFFFFF;
  text-decoration: none;
  background:
    linear-gradient(90deg, #0000C0 0 14.2857%, #131313 0 28.5714%, #C000C0 0 42.8571%, #131313 0 57.1429%, #00C0C0 0 71.4286%, #131313 0 85.7143%, #C0C0C0 0 100%) bottom / 100% 25% no-repeat,
    linear-gradient(90deg, #C0C0C0 0 14.2857%, #C0C000 0 28.5714%, #00C0C0 0 42.8571%, #00C000 0 57.1429%, #C000C0 0 71.4286%, #C00000 0 85.7143%, #0000C0 0 100%);
}
.fake-embed::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.55) 35%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.85));
}
.fake-title,
.fake-bar{
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 clamp(12px, 3vw, 20px);
  font-size: clamp(0.7rem, 2.4vw, 0.9rem);
  font-weight: 600;
  text-align: left;
}
.fake-title{
  top: 0;
  padding-top: clamp(10px, 2.5vw, 16px);
}
.fake-bar{
  bottom: 0;
  padding-bottom: clamp(8px, 2vw, 14px);
}
.fake-bar::before{
  content: "";
  position: absolute;
  left: clamp(12px, 3vw, 20px);
  right: clamp(12px, 3vw, 20px);
  top: -10px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
}
.fake-bar::after{
  content: "";
  position: absolute;
  left: clamp(12px, 3vw, 20px);
  top: -13px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #FFFFFF;
}
.fake-play{
  position: absolute;
  top: 46%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translate(-50%, -50%);
}
.fake-play svg{
  display: block;
  width: clamp(48px, 11vw, 76px);
  height: auto;
}
.fake-play rect{
  fill: rgba(17, 18, 23, 0.88);
  transition: fill 0.2s;
}
.fake-play path{
  fill: #FFFFFF;
  transition: fill 0.2s;
}
.fake-label{
  font-family: var(--display);
  font-size: clamp(0.8rem, 3vw, 1.25rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.fake-embed:focus-visible rect,
.fake-embed:hover rect{
  fill: #FFFFFF;
}
.fake-embed:focus-visible path,
.fake-embed:hover path{
  fill: #111217;
}
.videos.is-pinned .videos-pin{
  position: sticky;
}
.videos.is-pinned .video{
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
  height: var(--win);
  padding: var(--vpad) 0;
  overflow: hidden;
}
.videos.is-pinned .video-frame{
  --radius: 12px;
  position: relative;
  flex: none;
  width: var(--vw);
  margin: 0 auto;
  border-radius: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
.videos.is-pinned .video-frame:not(.is-active){
  transform: scale(0.94);
  cursor: pointer;
}
.videos.is-pinned .video-frame::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--bg);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity;
  pointer-events: none;
}
.videos.is-pinned .video-frame:not(.is-active)::before{
  opacity: 0.55;
}
.videos.is-pinned .video-frame::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--radius);
  box-shadow: 0 0 0 var(--radius) var(--bg);
  pointer-events: none;
}
.videos.is-pinned .video-frame:not(.is-active) iframe,
.videos.is-scrolling .video-frame iframe{
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce){
  .videos.is-pinned .video-frame,
  .videos.is-pinned .video-frame::before{
    transition: none;
  }
}
.reels.is-pinned .reels-pin{
  position: sticky;
}
.reels.is-pinned .deck{
  overflow-x: hidden;
  scroll-snap-type: none;
}
.deck{
  --card-want: 330px;
  --card-fill: 0.72;
  --card-w: max(330px, min(var(--card-want), calc(100vw * var(--card-fill))));
  display: flex;
  gap: 16px;
  margin: 0 calc(var(--pad) * -1);
  padding: 8px calc((50% + var(--pad)) / var(--s, 1) - var(--card-w) / 2) 16px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.deck.is-scaled{
  box-sizing: border-box;
  width: calc((100% + var(--pad) * 2) / var(--s));
  margin-left: calc(50% * (1 - 1 / var(--s)) - var(--pad) / var(--s));
  margin-right: 0;
  transform: scale(var(--s));
  transform-origin: top center;
}
.spotlight{
  scrollbar-width: none;
  -webkit-user-select: none;
  user-select: none;
}
.spotlight::-webkit-scrollbar{
  display: none;
}
.card{
  --trim: 157px;
  --trim-side: 1px;
  --trim-top: 1px;
  --radius: 16px;
  position: relative;
  flex: 0 0 calc(var(--card-w) - var(--trim-side) * 2);
  overflow: hidden;
  background: var(--bg);
  scroll-snap-align: center;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
.spotlight .card:not(.is-active){
  transform: scale(0.94);
  cursor: pointer;
}
.card::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--bg);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity;
  pointer-events: none;
}
.spotlight .card:not(.is-active)::before{
  opacity: 0.55;
}
.card::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 0 0 var(--radius) var(--bg);
  pointer-events: none;
}
.spotlight .card:not(.is-active) iframe,
.spotlight.is-scrolling .card iframe{
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce){
  .card,
  .card::before{
    transition: none;
  }
}
.card blockquote,
.card .instagram-media{
  margin: 0 !important;
}
.card iframe.instagram-media{
  min-width: calc(var(--card-w) - 2px) !important;
  margin: calc(var(--trim-top) * -1) 0 calc(var(--trim) * -1) calc(var(--trim-side) * -1) !important;
}
.reel-link{
  position: relative;
  display: block;
  padding: 10px 12px;
  background: var(--bg);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dim);
  text-align: left;
  text-decoration: none;
}
.reel-link::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 7px;
}
.reel-link::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: var(--trim);
  background: var(--bg);
}
.reel-link:hover{
  color: var(--ink);
}
.reel-link:focus-visible{
  outline-offset: -2px;
}
.reel-fallback{
  display: grid;
  place-items: center;
  min-height: calc(590px - var(--trim) - var(--trim-top) + (var(--card-w) - 330px) * 1.25);
  background: var(--surface);
  color: var(--dim);
  font-size: 0.9rem;
  text-decoration: none;
}
.deck-hint{
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--dim);
}
.deck-nav,
.video-nav{
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 4px;
}
.spotlight ~ .deck-hint{
  display: none;
}
.spotlight ~ .deck-nav,
.videos.is-pinned .video-nav{
  display: flex;
}
.videos.is-pinned .video-nav{
  margin-top: 20px;
}
.deck-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.deck-btn svg{
  display: block;
  width: 0.73em;
  height: 0.637em;
  fill: currentColor;
}
.deck-btn:disabled{
  opacity: 0.3;
  cursor: default;
}
@media (hover: hover){
  .deck-btn:not(:disabled):hover{
    background: var(--ink);
    color: var(--bg);
  }
}
.deck-count,
.video-count{
  min-width: 5ch;
  margin: 0;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}
.billboard-photos{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 16px;
}
.billboard-photos img{
  display: block;
  width: 100%;
  height: auto;
}
.clips{
  display: grid;
  grid-template-columns: 16fr 5.0625fr;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.clip-wide{
  aspect-ratio: 16 / 9;
}
.clip-tall{
  aspect-ratio: 9 / 16;
}
.clip video{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  background: #111111;
}
.caption{
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--dim);
}
@media (max-width: 600px){
  .clips{
    grid-template-columns: 1fr;
  }
}
.contact h2{
  margin-bottom: 12px;
}
.contact-text{
  margin: 0 auto 32px;
}
.contact-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-links a{
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.contact-links a:hover{
  background: var(--ink);
  color: var(--bg);
}
footer{
  padding: 0 var(--pad) clamp(56px, 10vh, 112px);
}
