:root {
  --black: #050505;
  --white: #f5f4f0;
  --red: #f10d39;
  --cream: #ebe9df;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--black); }
body { background: var(--black); color: var(--white); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-loading { overflow: hidden; }
button, a { color: inherit; font: inherit; }
button { border: 0; }
a { text-decoration: none; }
img, video { display: block; }
::selection { background: var(--red); color: white; }

.loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; justify-items: center; gap: 18px; background: var(--black); transition: opacity .65s ease, visibility .65s ease; }
.loader img { width: 72px; filter: grayscale(1) brightness(0) invert(1); animation: loaderPulse 1s ease-in-out infinite alternate; }
.loader p { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.loader.is-done { opacity: 0; visibility: hidden; }
@keyframes loaderPulse { to { transform: scale(1.04); opacity: .45; } }

.masthead { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; padding: 18px 22px; color: #fff; pointer-events: none; text-shadow: 0 1px 16px rgba(0,0,0,.35); }
.masthead a { pointer-events: auto; }
.masthead__logo img { width: 68px; height: 68px; object-fit: contain; object-position: center top; filter: grayscale(1) brightness(0) invert(1); }
.masthead__place, .masthead__mail { margin-top: 2px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.masthead__mail { justify-self: end; }

.showcase { background: var(--black); }
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; grid-auto-rows: 5.25vw; }
.work { position: relative; display: block; min-width: 0; overflow: hidden; background: #151515; cursor: pointer; text-align: left; }
.work--intro { width: 100%; height: 88svh; min-height: 620px; }
.work img, .work video { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.8,.2,1), filter .45s ease; }
.work__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.02) 42%, rgba(0,0,0,.62)); transition: background .45s ease; }
.work__meta { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: end; justify-content: space-between; gap: 20px; color: white; text-transform: uppercase; }
.work__meta b { display: block; max-width: 28ch; font-size: clamp(11px, .95vw, 15px); line-height: 1.08; letter-spacing: -.02em; }
.work__meta span { flex: 0 0 auto; font-size: 9px; font-weight: 700; letter-spacing: .08em; opacity: .9; }
.work__index { position: absolute; z-index: 2; top: 14px; right: 16px; color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .08em; opacity: 0; transition: opacity .3s ease; }
.work:hover img { transform: scale(1.035); }
.work:hover .work__shade { background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.02) 38%, rgba(0,0,0,.74)); }
.work:hover .work__index { opacity: 1; }

.section-head { scroll-margin-top: 96px; background: var(--black); color: var(--white); border-top: 1px solid #1d1d1d; padding: clamp(58px, 8vw, 128px) clamp(22px, 5vw, 80px) clamp(26px, 3.4vw, 52px); display: grid; gap: clamp(12px, 1.4vw, 20px); }
.section-head--alt { border-top-width: 1px; }
.section-head__kicker { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.section-head__kicker::before { content: ""; width: 26px; height: 1px; background: var(--red); }
.section-head h2 { font-size: clamp(40px, 7vw, 104px); font-weight: 500; line-height: .84; letter-spacing: -.062em; text-transform: uppercase; color: #6a6a67; }
.section-head h2 b { font-weight: 700; color: var(--white); }
.section-head p { max-width: 54ch; font-size: clamp(13px, 1.15vw, 17px); line-height: 1.38; letter-spacing: -.01em; color: #b6b5af; }
.section-head p span { color: var(--white); white-space: nowrap; }
.section-head p b { font-weight: 700; }

.intro-title { position: absolute; z-index: 2; left: clamp(24px, 4.8vw, 84px); bottom: clamp(76px, 11vh, 130px); text-transform: uppercase; color: white; }
.intro-title b { display: block; font-size: clamp(62px, 12vw, 190px); font-weight: 700; line-height: .75; letter-spacing: -.075em; }
.intro-title small { display: block; margin-top: 32px; font-size: 11px; font-weight: 700; letter-spacing: .11em; }
.play-hint { position: absolute; z-index: 2; right: 26px; bottom: 22px; display: flex; align-items: center; gap: 8px; color: white; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.play-hint i { display: block; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid white; }

.about { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-areas: "lead copy" "image image"; gap: clamp(50px, 8vw, 140px); padding: clamp(80px, 11vw, 170px) clamp(24px, 6vw, 100px) 0; background: var(--cream); color: #0b0b0b; }
.about__lead { grid-area: lead; }
.about__copy { grid-area: copy; align-self: end; max-width: 620px; }
.eyebrow { margin-bottom: 30px; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.about h1 { font-size: clamp(54px, 8.8vw, 142px); font-weight: 500; line-height: .82; letter-spacing: -.075em; }
.about__copy > p { max-width: 37ch; font-size: clamp(20px, 2.1vw, 34px); line-height: 1.1; letter-spacing: -.04em; }
.about dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(50px, 7vw, 100px); border-top: 1px solid #aaa89f; padding-top: 17px; }
.about dl div { display: grid; gap: 5px; }
.about dt { font-size: clamp(38px, 5vw, 72px); line-height: .9; letter-spacing: -.06em; }
.about dd { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.about__image { grid-area: image; position: relative; margin-top: 20px; margin-left: calc(clamp(24px, 6vw, 100px) * -1); margin-right: calc(clamp(24px, 6vw, 100px) * -1); }
.about__image img { width: 100%; height: min(74vw, 820px); object-fit: cover; }
.about__image figcaption { position: absolute; left: 20px; bottom: 16px; color: white; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.contact { min-height: 92svh; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(80px, 10vw, 150px) clamp(24px, 4vw, 70px) 110px; background: var(--red); color: #fff; }
.contact__mail { align-self: flex-start; font-size: clamp(48px, 10.5vw, 170px); font-weight: 500; line-height: .82; letter-spacing: -.075em; }
.contact__mail span { display: inline-block; margin-left: .18em; font-size: .45em; vertical-align: top; transition: transform .3s ease; }
.contact__mail:hover span { transform: translate(8px, -8px); }
.contact__foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 20px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.5); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.contact__foot a { justify-self: end; }

.dock { position: fixed; z-index: 100; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(245,244,240,.94); color: #080808; box-shadow: 0 10px 36px rgba(0,0,0,.24); backdrop-filter: blur(12px); }
.dock a, .dock button { display: block; padding: 12px 16px; border-radius: 999px; background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: .02em; text-transform: uppercase; transition: background .25s, color .25s; }
.dock a:hover, .dock button:hover, .dock a.is-active { background: #111; color: white; }
.dock__location { border: 0; }
.dock__location span { margin-left: 5px; }

.location-card { position: fixed; z-index: 90; left: 50%; bottom: 82px; width: 240px; padding: 20px; border-radius: 12px; background: rgba(245,244,240,.96); color: #090909; box-shadow: 0 16px 54px rgba(0,0,0,.26); transform: translate(-50%, 12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
.location-card.is-open { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.location-card span, .location-card small { display: block; font-size: 9px; font-weight: 700; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.location-card strong { display: block; margin: 26px 0 16px; font-size: 28px; line-height: .95; letter-spacing: -.04em; }
.location-card small { color: #62615d; }

.player { position: fixed; inset: 0; z-index: 500; width: 100%; height: 100%; max-width: none; max-height: none; padding: 0; border: 0; background: #050505; color: white; }
.player::backdrop { background: #050505; }
.player[open] { display: grid; grid-template-rows: auto 1fr auto; }
.player__bar, .player__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding: 14px 20px; text-transform: uppercase; }
.player__bar { border-bottom: 1px solid #252525; }
.player__bar p { display: flex; align-items: baseline; gap: 22px; }
.player__bar span { color: #777; font-size: 9px; font-weight: 700; letter-spacing: .11em; }
.player__bar b { font-size: 13px; letter-spacing: -.01em; }
.player button, .player a { padding: 9px; background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.player__stage { min-height: 0; display: grid; place-items: center; padding: 20px; }
.player__stage iframe, .player__stage video { width: min(100%, 1500px); aspect-ratio: 16 / 9; border: 0; background: #000; }
.player__footer { display: grid; grid-template-columns: 1fr auto 1fr auto; border-top: 1px solid #252525; }
.player__footer a { justify-self: end; }
.player__footer span { font-size: 9px; letter-spacing: .1em; color: #777; }

@media (max-width: 820px) {
  .masthead { height: 72px; padding: 13px 15px; }
  .masthead__logo img { width: 54px; height: 54px; }
  .masthead__mail { display: none; }
  .masthead__place { font-size: 8px; }
  .work--intro { height: 83svh; min-height: 560px; }
  .intro-title { left: 20px; bottom: 82px; }
  .intro-title b { font-size: clamp(58px, 19vw, 112px); }
  .intro-title small { max-width: 24ch; margin-top: 22px; line-height: 1.4; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 34vw; }
  .work { grid-column: span 1 !important; grid-row: span 1 !important; }
  .work:nth-child(4n + 1), .work:nth-child(7n) { grid-column: span 2 !important; grid-row: span 2 !important; }
  .work__meta { left: 11px; right: 11px; bottom: 10px; display: block; }
  .work__meta b { font-size: 10px; }
  .work__meta span { display: block; margin-top: 3px; font-size: 7px; }
  .about { grid-template-columns: 1fr; grid-template-areas: "lead" "copy" "image"; gap: 52px; }
  .about__copy > p { font-size: 24px; }
  .about__image img { height: 76svh; }
  .contact { min-height: 82svh; }
  .contact__mail { font-size: clamp(46px, 13vw, 92px); overflow-wrap: anywhere; }
  .contact__foot { grid-template-columns: 1fr auto; }
  .contact__foot span:nth-child(2) { display: none; }
  .dock { bottom: 10px; white-space: nowrap; }
  .dock a, .dock button { padding: 11px 10px; font-size: 8px; }
  .player__stage { padding: 0; }
  .player__bar p span, .player__footer a { display: none; }
  .player__footer { grid-template-columns: 1fr auto 1fr; }
  .player__footer button:last-child { justify-self: end; }
}

@media (max-width: 480px) {
  .work-grid { display: block; }
  .work { height: 64vw; }
  .work:nth-child(4n + 1) { height: 118vw; }
  .dock { width: calc(100% - 20px); justify-content: center; }
  .dock a, .dock button { flex: 1; text-align: center; }
  .about dl { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
