@font-face {
  font-family: Geist;
  src: url("assets/geist.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("assets/geist-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --orange: #ff6b2c;
  --ink: #171714;
  --muted: #605f58;
  --rule: #d9d8d2;
  --edge: clamp(20px, 4vw, 82px);
  font-family: Geist, Arial, sans-serif;
  color: var(--ink);
  background: white;
  scroll-padding-top: 24px;
}
* { box-sizing: border-box; }
body, p, h1, h2, h3, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip { position: fixed; inset: 8px auto auto 8px; z-index: 8; padding: 12px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
[hidden] { display: none !important; }
.mast, .baseline, .work-head, .dialog-head, .next { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mast { padding: 25px var(--edge); }
.home .mast { position: absolute; inset: 0 0 auto; color: white; z-index: 2; }
.identity { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -.045em; font-size: 22px; }
.identity img { width: 26px; height: auto; }
.case .identity img { filter: invert(1); }
nav { display: flex; gap: clamp(14px, 2vw, 35px); font-size: 15px; }
nav a { padding-block: 10px; }
nav a:hover, .email:hover, .original:hover { text-decoration: underline; text-underline-offset: .22em; }
.hero { height: 100svh; min-height: 430px; position: relative; isolation: isolate; overflow: hidden; color: white; background: #171714 url("assets/portfolio-8.webp") center / cover; }
.reel, .hero::after { position: absolute; inset: 0; z-index: -1; }
.reel iframe { position: absolute; top: 50%; left: 50%; width: max(100vw,177.78svh,765px); height: max(100svh,56.25vw,430px); transform: translate(-50%,-50%); border: 0; pointer-events: none; }
.hero::after { content: ""; background: linear-gradient(180deg,#0009 0%,transparent 32%,#0008 63%,#000d 100%); }
.hero-copy { position: absolute; left: var(--edge); right: var(--edge); bottom: clamp(80px, 10vh, 130px); }
h1, h2, .bio h3 { letter-spacing: -.065em; line-height: 1.02; }
.hero h1 { max-width: 11em; font-size: clamp(51px, 7.5vw, 126px); text-wrap: balance; }
.hero-copy p { margin-top: 20px; max-width: 39em; font-size: clamp(15px, 1.5vw, 22px); line-height: 1.45; }
.reel-link { position: absolute; right: var(--edge); bottom: 24px; border-bottom: 2px solid var(--orange); padding-bottom: 4px; }
.pad { padding: clamp(58px,7vw,112px) var(--edge); }
.work-head { flex-wrap: wrap; align-items: end; margin-bottom: 38px; }
h2 { font-size: clamp(36px,4.8vw,76px); }
.filters { display: flex; gap: 4px; flex-wrap: wrap; }
.filters button { border: 1px solid var(--rule); border-radius: 999px; background: white; padding: 9px 16px; font-size: 14px; }
.filters button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #23180f; }
.filters button:hover { border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 48px 24px; }
.card { display: flex; border-top: 1px solid var(--rule); }
.card a { width: 100%; display: flex; flex-direction: column; padding-top: 16px; }
.label { font-size: 11px; text-transform: uppercase; font-weight: 700; letter-spacing: .09em; }
.card .label::before, .case .label::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--orange); }
.card h3 { font-size: clamp(27px,2.7vw,46px); line-height: 1.07; letter-spacing: -.055em; margin: 12px 0 5px; }
.project-name { font-size: 17px; }
.credit { margin: 9px 0 18px; font-size: 12px; line-height: 1.45; color: var(--muted); }
figure { position: relative; margin-top: auto; }
figure img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; }
figure span { position: absolute; right: 12px; bottom: 12px; background: white; color: var(--ink); border-radius: 50%; width: 32px; height: 32px; display: grid; place-items: center; font-size: 14px; }
.card a:hover figure span { background: var(--orange); }
.split { border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: 8%; }
.split h2 { max-width: 8em; }
.services > div { border-top: 1px solid var(--rule); padding: 20px 0; }
.services > div:first-child { border: 0; padding-top: 0; }
.services h3, .notes h2 { font-size: 25px; letter-spacing: -.04em; }
.services p, .bio p, .notes p { margin-top: 8px; line-height: 1.55; max-width: 54ch; }
.bio h3 { font-size: clamp(32px,4vw,62px); }
.bio p { font-size: 18px; margin-top: 18px; }
footer { background: #f5f4ef; }
footer h2 { margin: 22px 0 15px; }
.email { font-size: clamp(20px,2.5vw,38px); letter-spacing: -.035em; }
.baseline { border-top: 1px solid #c7c6bf; margin-top: 58px; padding-top: 17px; font-size: 14px; }
dialog { width: min(1000px,94vw); border: 0; padding: 18px; background: #151515; color: white; }
dialog::backdrop { background: #050504d9; }
.dialog-head { padding-bottom: 16px; }
.dialog-head h2, .next { font-size: 20px; letter-spacing: -.035em; }
.dialog-head button { background: transparent; border: 1px solid #aaa; padding: 7px 13px; }
#original-film, .original, .back { display: inline-block; margin-top: 14px; font-size: 14px; }
body:has(dialog[open]) { overflow: hidden; }
.player { background: #151515; aspect-ratio: 16/9; }
.player iframe { width: 100%; height: 100%; border: 0; }
.case .mast { border-bottom: 1px solid var(--rule); }
.case main { max-width: 1500px; margin: auto; }
.back { margin: 0 0 44px; }
.case h1 { font-size: clamp(48px,7vw,100px); margin: 12px 0; }
.case .credit { margin-bottom: 32px; }
.notes { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin: 50px 0; }
.notes > div, .next { border-top: 1px solid var(--rule); padding-top: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: settle 350ms ease-out; }
  @keyframes settle { from { opacity: .84; } to { opacity: 1; } }
}
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .mast { padding-block: 16px; }
  .identity { font-size: 18px; gap: 8px; }
  nav { font-size: 13px; }
  .grid, .split, .notes { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { bottom: 82px; }
  .work-head { gap: 20px; }
  .filters button { padding: 8px 12px; }
}
.card h3 { margin: 0 0 16px; min-height: 1.07em; }
.upcoming > div { width: 100%; padding-top: 16px; display: flex; flex-direction: column; }
.slate { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #eceae2; isolation: isolate; }
.slate::after { content: ""; position: absolute; z-index: -1; }
.deloitte::after { width: 78%; aspect-ratio: 1; right: -8%; top: -35%; border-radius: 50%; background: #c3c2b7; }
.vodafone { background: #f9d7c6; }
.vodafone::after { width: 75%; height: 200%; right: -12%; top: -50%; transform: rotate(34deg); background: #f5a780; }
.slate small { position: absolute; left: 16px; bottom: 14px; font-size: 12px; }
.discipline-note { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
