:root {
  color-scheme: light;
  --paper: #f5f5f5;
  --ink: #181818;
  --muted: #575757;
  --line: #d6d6d6;
  --gutter: clamp(18px, 3.1vw, 56px);
  --ease: cubic-bezier(.22, .75, .22, 1);
  --hero-ease: cubic-bezier(.45, 0, .24, 1);
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  scroll-padding-top: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, video { display: block; width: 100%; }
h1, h2, h3, p { margin: 0; }
button:not([hidden]) { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.accent { color: inherit; }
.frame { width: min(calc(100% - 2 * var(--gutter)), 1660px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 12; top: 12px; left: 12px; padding: 12px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 8; background: var(--paper); view-transition-name: site-header; }
.header-inner { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.wordmark { font: 600 17px/1 var(--mono); text-transform: uppercase; letter-spacing: .075em; }
.wordmark { position: relative; display: block; padding-block: 12px; }
.wordmark::after { position: absolute; right: 0; bottom: 6px; left: 0; height: 1px; content: ""; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .42s var(--ease); }
.wordmark:hover::after, .wordmark:focus-visible::after { transform: scaleX(1); transform-origin: left; }
nav { display: flex; gap: clamp(15px, 2.9vw, 44px); align-items: center; }
nav a { position: relative; display: grid; place-items: center; min-width: 24px; min-height: 44px; font-size: 16px; padding-block: 10px; }
nav a::after { position: absolute; content: ""; bottom: 3px; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .28s var(--ease); }
nav a:hover::after, nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.social-links { display: flex; gap: 8px; align-items: center; }
.social-links a { width: 34px; padding: 0; }
.social-links a::after { inset-inline: 6px; width: auto; }
.linkedin-icon { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 2px; color: var(--paper); background: var(--ink); font: 700 11px/1 Arial, sans-serif; }
.instagram-icon { position: relative; display: grid; place-items: center; width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 4px; }
.instagram-icon::before { content: ""; width: 7px; height: 7px; border: 1.4px solid currentColor; border-radius: 50%; }
.instagram-icon::after { content: ""; position: absolute; top: 2px; right: 2px; width: 2px; height: 2px; background: currentColor; border-radius: 50%; }

.intro-loader { position: fixed; inset: 0; z-index: 11; display: grid; place-items: center; visibility: hidden; opacity: 0; pointer-events: none; color: var(--paper); background: #141414; transition: opacity .85s var(--hero-ease), visibility 0s .85s; }
.intro-loader.is-loading { visibility: visible; opacity: 1; transition: none; }
.intro-loader-inner {
  --corner: #ffffff56;
  display: grid;
  place-items: center;
  position: relative;
  width: min(76vw, 490px);
  aspect-ratio: 2 / 1;
  padding: 24px;
  background:
    conic-gradient(from 90deg at 1px 1px, transparent 25%, var(--corner) 0) top left,
    conic-gradient(from 180deg at calc(100% - 1px) 1px, transparent 25%, var(--corner) 0) top right,
    conic-gradient(from 0deg at 1px calc(100% - 1px), transparent 25%, var(--corner) 0) bottom left,
    conic-gradient(from 270deg at calc(100% - 1px) calc(100% - 1px), transparent 25%, var(--corner) 0) bottom right;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  transform: translateY(-8px);
  transition: transform .85s var(--hero-ease);
}
.intro-loader.is-loading .intro-loader-inner { transform: translateY(0); }
.intro-loader-inner > span { font-size: clamp(23px, 4vw, 52px); font-weight: 500; letter-spacing: -.06em; }
.intro-loader-line { position: absolute; bottom: 0; width: min(48%, 158px); height: 1px; background: #ffffff24; overflow: hidden; }
.intro-loader-line::before { content: ""; display: block; height: 100%; width: 50%; background: #fff; animation: loading-line 1.6s cubic-bezier(.55, .05, .4, .96) infinite; animation-play-state: paused; }
.intro-loader.is-loading .intro-loader-line::before { animation-play-state: running; }
@keyframes loading-line { from { transform: translateX(-100%); } to { transform: translateX(200%); } }

.hero { position: relative; isolation: isolate; display: flex; min-height: 425px; height: clamp(425px, 70svh, 950px); max-height: 75vw; align-items: flex-end; overflow: hidden; background: #333; color: #fff; }
.hero-video, .hero-shade { position: absolute; width: 100%; height: 100%; inset: 0; z-index: -1; }
.hero-video { object-fit: cover; }
.hero-shade { background: linear-gradient(6deg, rgb(0 0 0 / .74), rgb(0 0 0 / .35) 32%, transparent 65%); }
.hero-content { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: clamp(22px, 3.65vw, 62px); }
.hero h1 { font-size: clamp(58px, 8.15vw, 142px); font-weight: 670; line-height: .84; letter-spacing: -.083em; }
.reel-button { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; padding: 14px 20px; border: 1px solid #fff8; border-radius: 100px; background: #1717179c; color: #fff; font-size: 14px; transition: color .25s, background .25s, border-color .25s; }
.reel-button:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.play-icon { width: 0; height: 0; border: 5px solid transparent; border-right: 0; border-left: 8px solid currentColor; }
.hero-meta { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); color: var(--muted); }
.scroll-link, .motion-toggle { font: 11px var(--mono); text-transform: uppercase; letter-spacing: .035em; }
.scroll-link { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; }
.scroll-link span { font: 17px/1 Arial, sans-serif; transition: transform .25s var(--ease); }
.scroll-link:hover span { transform: translateY(3px); }
.motion-toggle { border: 0; background: transparent; padding: 8px 0 8px 10px; }
.motion-toggle:hover { text-decoration: underline; text-underline-offset: 4px; }

.work-section { padding: clamp(58px, 8vw, 130px) 0 clamp(85px, 10vw, 170px); }
.section-heading { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 28px; margin-bottom: clamp(30px, 4.7vw, 68px); }
.section-heading h2 { font-size: clamp(47px, 7.3vw, 122px); font-weight: 650; line-height: .87; letter-spacing: -.081em; }
.section-heading p { max-width: 37ch; color: var(--muted); font-size: clamp(15px, 1.43vw, 23px); line-height: 1.5; }
.project-grid { display: grid; gap: clamp(36px, 6vw, 95px); }
.project-row { display: grid; gap: clamp(12px, 1.65vw, 28px); align-items: start; }
.layout-pair, .layout-half { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.layout-wide-left { grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr); }
.layout-wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.34fr); }
.tile-media { position: relative; overflow: hidden; background: #dedede; aspect-ratio: 16 / 10; }
.tile-media img, .tile-media video { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.tile-media video { opacity: 0; transition: opacity .24s ease-out; }
.tile-media video.is-playing { opacity: 1; }
.layout-wide-left .tile-media, .layout-wide-right .tile-media { aspect-ratio: auto; height: clamp(225px, 32vw, 550px); }
.layout-full .tile-media { aspect-ratio: 2.12; }
.tile-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-top: clamp(12px, 1.35vw, 24px); }
.tile-caption h3, .tile-caption h2 { font-size: clamp(19px, 2.05vw, 33px); font-weight: 650; letter-spacing: -.045em; }
.tile-caption p { color: var(--muted); font: 11px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .025em; margin-top: 5px; }
.tile-arrow { font-size: 23px; line-height: 1; margin: 2px 3px 0 0; transition: transform .26s var(--ease), color .26s; }
.project-card:hover .tile-arrow, .project-card:focus-visible .tile-arrow { transform: translate(3px, -3px); }

.site-footer { background: #202020; color: var(--paper); }
.footer-inner { padding-top: clamp(46px, 7.5vw, 110px); }
.footer-inner--compact { padding-top: 0; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: clamp(24px, 4.4vw, 70px); border-bottom: 1px solid #ffffff35; font-size: clamp(57px, 12.3vw, 208px); line-height: .88; font-weight: 650; letter-spacing: -.088em; }
.footer-arrow { display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #ffffff73; border-radius: 50%; width: 1.02em; height: 1.02em; color: var(--paper); font-size: .66em; font-family: Arial, sans-serif; font-weight: 400; letter-spacing: 0; transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.footer-cta:hover .footer-arrow { color: var(--ink); border-color: var(--paper); background: var(--paper); transform: rotate(10deg); }
.footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 24px 0 32px; color: #d0d0d0; font-size: 13px; }
.footer-meta a:hover { text-decoration: underline; }

.inner-page, .case-study { padding-top: clamp(52px, 8vw, 120px); padding-bottom: clamp(70px, 10vw, 155px); }
.inner-heading { margin-bottom: clamp(28px, 4.5vw, 72px); }
.inner-heading h1 { font-size: clamp(56px, 10vw, 162px); font-weight: 650; line-height: .9; letter-spacing: -.083em; overflow-wrap: anywhere; }
.inner-heading > p:not(.eyebrow) { margin-top: 24px; font-size: clamp(16px, 1.65vw, 25px); line-height: 1.45; color: var(--muted); }
.case-study { padding-top: clamp(28px, 4vw, 64px); }
.case-heading { margin: clamp(34px, 5vw, 80px) 0 clamp(24px, 3.2vw, 48px); }
.text-link { display: inline-block; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.eyebrow { font: 12px var(--mono); text-transform: uppercase; color: var(--muted); margin-bottom: 18px; letter-spacing: .045em; }
.case-media { overflow: hidden; background: #202020; }
.case-media video, .case-media img { aspect-ratio: 16 / 9; object-fit: contain; }
.case-media--portrait { max-width: min(100%, 480px); margin-inline: auto; }
.case-media--portrait video, .case-media--portrait img { aspect-ratio: 9 / 16; }
.case-info { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 9vw; row-gap: 26px; padding: clamp(30px, 6vw, 90px) 0; }
.case-info h2, .case-process h2, .case-section h2, .about-grid h2 { font-size: clamp(24px, 3.2vw, 52px); font-weight: 650; letter-spacing: -.05em; }
.case-info p, .case-process p, .case-section-copy :is(p, ul, ol), .about-grid p { max-width: 58ch; margin-top: 12px; color: var(--muted); font-size: clamp(16px, 1.5vw, 23px); line-height: 1.6; }
.case-section-copy li + li { margin-top: .55em; }
.case-info dl { margin: 0; }
.case-info dl div { display: grid; grid-template-columns: minmax(85px, .65fr) 1.6fr; gap: 12px; border-top: 1px solid var(--line); padding: 12px 0; font-size: 14px; line-height: 1.45; }
.case-info dd { margin: 0; color: var(--muted); }
.case-info dd a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.case-info dd a:hover { text-decoration-thickness: 2px; }
.case-process { padding-bottom: clamp(30px, 6vw, 90px); }
.case-section + .case-section { margin-top: clamp(38px, 7vw, 100px); }
.case-section-copy { margin-bottom: clamp(20px, 3vw, 45px); }
.case-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 28px); }
.case-gallery img { height: auto; align-self: start; }
.case-gallery img:first-child { grid-column: 1 / -1; }
.case-clips { margin-top: clamp(30px, 6vw, 90px); }
.case-clips h2 { margin-bottom: 24px; font-size: clamp(24px, 3.2vw, 52px); font-weight: 650; letter-spacing: -.05em; }
.clip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.8vw, 42px); }
.clip-grid figure, .case-feature-clip figure { margin: 0; }
.clip-grid figcaption { margin-top: 12px; font-size: 15px; font-weight: 600; }
.clip-grid img, .clip-grid video, .case-feature-clip img, .case-feature-clip video { aspect-ratio: 16 / 9; object-fit: contain; background: #202020; }
.clip-launch { position: relative; display: block; }
.clip-play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid #fff9; border-radius: 50%; background: #171717a0; color: #fff; transform: translate(-50%, -50%); transition: color .25s, background .25s; }
.clip-launch:hover .clip-play, .clip-launch:focus-visible .clip-play { background: var(--paper); color: var(--ink); }
.next-project { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; margin-top: 60px; padding: 24px 0; border-top: 1px solid var(--line); }
.next-project strong { font-size: clamp(32px, 6vw, 90px); letter-spacing: -.072em; }
.next-project span:first-child { grid-column: 1 / -1; font: 12px var(--mono); color: var(--muted); text-transform: uppercase; }
.next-project span:last-child { font-size: clamp(25px, 4vw, 54px); }
.play-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px); }
.play-grid .tile-media { aspect-ratio: 4 / 5; }
.play-toggle { margin-top: 24px; padding-left: 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 8vw, 136px); align-items: center; }
.about-grid img { max-width: 640px; height: auto; }
.about-grid p:first-child { margin-top: 0; }
.about-contact { margin-top: clamp(55px, 9vw, 140px); padding-top: clamp(28px, 5vw, 76px); border-top: 1px solid var(--line); }
.about-contact h2 { font-size: clamp(34px, 5.8vw, 86px); line-height: 1; letter-spacing: -.07em; }
.about-contact p { margin: 16px 0 24px; color: var(--muted); font-size: clamp(16px, 1.5vw, 23px); line-height: 1.5; }
.contact-email { display: inline-block; max-width: 100%; padding: 0 0 10px; border-bottom: 1px solid var(--ink); font-size: clamp(19px, 4vw, 60px); letter-spacing: -.045em; overflow-wrap: anywhere; }
.about-socials { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 18px 0 0; padding: 0; list-style: none; }
.about-socials a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; text-underline-offset: .22em; }
.about-socials a:hover, .about-socials a:focus-visible { text-decoration: underline; }

.reel-dialog { width: min(1060px, calc(100vw - 32px)); max-height: calc(100svh - 32px); color: white; background: #1b1b1b; padding: 0; border: 1px solid #ffffff39; }
.reel-dialog::backdrop { background: #171717ca; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 10px 20px; }
.dialog-top h2 { font-size: 16px; font-weight: 600; }
.dialog-top button { width: 42px; height: 42px; border: 1px solid #ffffff55; border-radius: 50%; color: white; background: transparent; font-size: 26px; }
.reel-dialog video { max-height: calc(100svh - 100px); aspect-ratio: 16 / 9; }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor { --tone: var(--ink); --contrast: #fff; display: block; position: fixed; top: 0; left: 0; z-index: 10; pointer-events: none; }
  .cursor.is-light { --tone: #fff; --contrast: var(--ink); }
  .cursor span, .cursor-ring { position: absolute; top: 0; left: 0; opacity: 0; }
  .cursor span { display: grid; place-items: center; width: 9px; height: 9px; border-radius: 1px; transform: translate3d(var(--x, -100px), var(--y, -100px), 0) translate(-50%, -50%) rotate(45deg); background: var(--tone); color: var(--contrast); box-shadow: 0 0 0 1px color-mix(in srgb, var(--contrast) 65%, transparent); font: 11px var(--mono); white-space: nowrap; transition: width .28s var(--ease), height .28s var(--ease), border-radius .28s var(--ease), opacity .15s, background-color .16s; }
  .cursor-ring { width: 34px; height: 34px; border: 1px solid var(--tone); border-radius: 50%; box-shadow: 0 0 0 1px color-mix(in srgb, var(--contrast) 30%, transparent); transform: translate3d(var(--ring-x, -100px), var(--ring-y, -100px), 0) translate(-50%, -50%); transition: opacity .2s, border-color .16s; }
  .pointer-active .cursor span, .pointer-active .cursor:not(.is-link) .cursor-ring { opacity: 1; }
  .pointer-active, .pointer-active a, .pointer-active button { cursor: none; }
  .cursor.is-link span { width: 108px; height: 36px; border-radius: 100px; transform: translate3d(var(--x), var(--y), 0) translate(-50%, -50%); }
  .cursor span { transition-duration: .28s, .28s, .28s, .15s, .34s; transition-timing-function: var(--ease), var(--ease), var(--ease), ease, ease-in-out; }
  .cursor-ring { transition: opacity .2s, border-color .34s ease-in-out; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-video { animation: settle-frame 1.8s var(--hero-ease) both; }
  .hero h1 { animation: from-below 1.2s .62s var(--hero-ease) both; }
  .hero .reel-button { animation: from-below 1s .82s var(--hero-ease) both; }
  .intro-pending .hero-video { animation: none; transform: scale(1.035); }
  .intro-pending .hero :is(h1, .reel-button) { animation: none; opacity: 0; }
  .reveal-ready [data-reveal]:not(.is-visible):not(:focus-within) { opacity: 0; transform: translateY(19px); }
  .reveal-ready [data-reveal] { transition: opacity .64s var(--ease), transform .78s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
}
@keyframes from-below { from { opacity: 0; transform: translateY(17px); } to { opacity: 1; transform: none; } }
@keyframes settle-frame { from { transform: scale(1.035); } to { transform: scale(1); } }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; transform: translateY(5px); } }
@view-transition { navigation: auto; }
::view-transition { background: var(--paper); pointer-events: none; }
::view-transition-old(root) { animation: 560ms var(--hero-ease) both page-out; }
::view-transition-new(root) { animation: 700ms 210ms var(--hero-ease) both page-in; }
::view-transition-group(site-header) { z-index: 2; }
::view-transition-old(site-header) { animation: none; opacity: 0; }
::view-transition-new(site-header) { animation: none; opacity: 1; }
::view-transition-group(selected-project) { z-index: 1; animation-duration: 830ms; animation-timing-function: var(--hero-ease); }
::view-transition-image-pair(selected-project) { overflow: clip; }
::view-transition-old(selected-project), ::view-transition-new(selected-project) { height: 100%; object-fit: cover; }
.project-transition-poster { position: fixed; z-index: 7; object-fit: cover; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after, ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
}

@media (max-width: 740px) {
  .hero { height: 68svh; min-height: 395px; max-height: 650px; }
  .hero-content { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero h1 { font-size: clamp(53px, 11vw, 88px); }
  .hero-shade { background: linear-gradient(0deg, #000c, #0005 54%, transparent 85%); }
  .section-heading, .case-info, .about-grid { grid-template-columns: 1fr; gap: 16px; }
  .play-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
  .header-inner { min-height: 68px; gap: 10px; }
  .wordmark { font-size: clamp(11px, 3.35vw, 14px); letter-spacing: .055em; }
  nav { gap: clamp(7px, 2.55vw, 12px); }
  nav a { font-size: 13px; }
  .social-links { gap: 3px; }
  .social-links a { width: 28px; }
  .project-row, .case-gallery { grid-template-columns: 1fr; gap: 29px; }
  .layout-wide-left .tile-media, .layout-wide-right .tile-media, .layout-full .tile-media { height: auto; aspect-ratio: 16 / 10; }
  .case-gallery { gap: 12px; }
  .play-grid { grid-template-columns: 1fr; }
  .clip-grid { grid-template-columns: 1fr; }
  .play-grid .tile-media { aspect-ratio: 4 / 3; }
  .footer-cta { font-size: clamp(44px, 13vw, 65px); }
}
