:root {
  --ink: #0d0c0b;
  --ink-2: #161412;
  --paper: #efe9e1;
  --muted: #a39b91;
  --line: rgba(239, 233, 225, 0.14);
  --accent: #d8b07a;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 300 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-size: 1.12em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 12px; font-weight: 500; color: var(--accent); margin: 0 0 18px; }

/* bar */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--gutter); transition: background .4s, padding .4s; }
.bar.solid { background: rgba(13, 12, 11, .86); backdrop-filter: blur(10px); padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mark { font-family: var(--serif); font-size: 22px; }
.bar nav { display: flex; gap: clamp(14px, 2.4vw, 34px); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.bar nav a { opacity: .8; transition: opacity .2s; }
.bar nav a:hover { opacity: 1; }

/* hero */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%;
  animation: drift 24s ease-out forwards; transform-origin: 65% 35%; }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(13,12,11,.92) 0%, rgba(13,12,11,.55) 38%, rgba(13,12,11,0) 70%),
  linear-gradient(0deg, rgba(13,12,11,1) 0%, rgba(13,12,11,0) 30%); }
.hero-copy { position: absolute; left: var(--gutter); bottom: clamp(70px, 14vh, 150px); max-width: 640px; animation: rise 1.2s .2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero h1 { font-size: clamp(56px, 9vw, 128px); line-height: .92; }
.lede { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); margin: 26px 0 6px; }
.sub { color: var(--muted); margin: 0 0 30px; }
.btn { display: inline-block; border: 1px solid var(--paper); padding: 13px 26px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; transition: background .25s, color .25s; }
.btn:hover { background: var(--paper); color: var(--ink); }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 34px; font-size: 22px; opacity: .6; animation: bob 2.4s infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* reel band */
.reel { position: relative; aspect-ratio: 2.39 / 1; max-height: 78vh; width: 100%; overflow: hidden; background: #000; }
.reel-video { width: 100%; height: 100%; object-fit: cover; }
.reel-caption { position: absolute; left: var(--gutter); bottom: 18px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(239,233,225,.7); }

/* films */
.films { padding: clamp(80px, 12vw, 160px) var(--gutter) clamp(60px, 8vw, 120px); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(44px, 6vw, 88px); line-height: 1; }
.section-head p { color: var(--muted); max-width: 440px; margin: 0; justify-self: end; }
.grid { display: grid; gap: clamp(14px, 1.6vw, 24px); }
.grid.lead { grid-template-columns: repeat(2, 1fr); }
.grid.lead .tile:first-child { grid-column: 1 / -1; }
.grid.lead .tile:first-child .frame { aspect-ratio: 2.39 / 1; }
.grid.more { grid-template-columns: repeat(4, 1fr); }
.more-head { font-size: 32px; margin: clamp(60px, 8vw, 110px) 0 24px; }

.tile { cursor: pointer; }
.tile.static { cursor: default; }
.frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
.frame img, .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .5s; }
.frame video { opacity: 0; }
.tile.playing .frame video { opacity: 1; }
.tile:hover .frame img, .tile:hover .frame video { transform: scale(1.035); }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 45%); pointer-events: none; }
.play { position: absolute; left: 20px; bottom: 18px; z-index: 2; display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.play i { width: 38px; height: 38px; border: 1px solid rgba(239,233,225,.8); border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; transition: background .25s, color .25s; }
.tile:hover .play i { background: var(--paper); color: var(--ink); }
.pending { position: absolute; left: 20px; bottom: 18px; z-index: 2; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.typecard { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px;
  background: radial-gradient(circle at 50% 40%, #2a241e, #110f0d 70%); font-family: var(--serif); font-size: clamp(24px, 2.6vw, 38px); }
.info { padding: 16px 2px 8px; }
.info .client { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.info h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; margin: 6px 0 4px; }
.grid.lead .tile:first-child .info h3 { font-size: clamp(32px, 3.6vw, 54px); }
.grid.more .info h3 { font-size: 24px; }
.info .meta { font-size: 13px; color: var(--muted); }
.info .line { margin: 8px 0 0; max-width: 560px; color: rgba(239,233,225,.85); }
.grid.more .info .line { font-size: 15px; }

/* craft */
.craft { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 90vh; background: var(--ink-2); }
.craft-media { position: relative; overflow: hidden; }
.craft-media img { width: 100%; height: 100%; object-fit: cover; }
.craft-copy { padding: clamp(50px, 7vw, 110px) var(--gutter); align-self: center; max-width: 640px; }
.craft-copy h2 { font-size: clamp(40px, 4.6vw, 70px); line-height: 1.02; margin-bottom: 28px; }
.craft-copy p { color: rgba(239,233,225,.85); }
.craft-list { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.craft-list li { border-bottom: 1px solid var(--line); }
.craft-list a { display: flex; justify-content: space-between; padding: 15px 0; font-size: 15px; transition: color .2s, padding .3s; }
.craft-list a:hover { color: var(--accent); padding-left: 8px; }

/* about */
.about { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(30px, 6vw, 100px); padding: clamp(90px, 12vw, 170px) var(--gutter); align-items: center; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 30%; filter: saturate(.9); }
.about h2 { font-size: clamp(44px, 6vw, 88px); margin-bottom: 26px; }
.about-copy p { max-width: 600px; color: rgba(239,233,225,.88); }
.facts { margin: 40px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; padding-top: 3px; }
.facts dd { margin: 0; }

.info .role { margin: 8px 0 0; font-size: 13px; letter-spacing: .04em; color: var(--accent); }

/* one person, the whole film */
.whole { padding: clamp(90px, 12vw, 170px) var(--gutter); border-top: 1px solid var(--line); }
.whole-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 80px); }
.whole-head h2 { font-size: clamp(44px, 6vw, 88px); line-height: 1; margin-bottom: 22px; }
.whole-head p:last-child { color: var(--muted); margin: 0; }
.skills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.skill { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.skill:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.skill .n { font-size: 12px; letter-spacing: .2em; color: var(--accent); }
.skill h3 { font-size: clamp(28px, 2.6vw, 40px); margin: 10px 0 8px; }
.skill p { margin: 0; color: rgba(239,233,225,.85); max-width: 340px; }
.small { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(20px, 5vw, 80px); margin-top: clamp(50px, 7vw, 90px); }
.small h3 { font-size: clamp(32px, 3.4vw, 52px); line-height: 1.05; }
.small p { margin: 0 0 14px; max-width: 620px; color: rgba(239,233,225,.88); }
@media (max-width: 860px) { .small { grid-template-columns: 1fr; gap: 14px; } }
.whole-close { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.25; max-width: 900px; margin: clamp(50px, 7vw, 90px) 0 0; }

/* contact */
.contact { text-align: center; padding: clamp(100px, 14vw, 200px) var(--gutter); border-top: 1px solid var(--line); }
.mail { font-family: var(--serif); font-size: clamp(34px, 6.4vw, 96px); line-height: 1.05; display: inline-block; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; overflow-wrap: anywhere; }
.mail:hover { color: var(--accent); border-color: var(--accent); }
.based { color: var(--muted); margin: 22px 0 60px; }
.elsewhere { display: flex; justify-content: center; gap: clamp(20px, 6vw, 90px); flex-wrap: wrap; }
.elsewhere a { font-family: var(--serif); font-size: 26px; display: flex; flex-direction: column; gap: 4px; }
.elsewhere span { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.foot { display: flex; justify-content: space-between; padding: 26px var(--gutter); font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); letter-spacing: .1em; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(5,5,4,.96); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px var(--gutter); }
.lightbox[hidden] { display: none; }
.lb-frame { width: min(1280px, 100%); aspect-ratio: 16 / 9; background: #000; }
.lb-frame iframe, .lb-frame video { width: 100%; height: 100%; border: 0; background: #000; }
.lb-title { font-family: var(--serif); font-size: 24px; margin: 18px 0 0; }
.close { position: absolute; top: 14px; right: var(--gutter); background: none; border: 0; color: var(--paper); font-size: 44px; cursor: pointer; line-height: 1; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* phone */
@media (max-width: 860px) {
  .bar nav { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .section-head p { justify-self: start; }
  .grid.lead, .grid.more { grid-template-columns: 1fr; }
  .grid.lead .tile:first-child .frame { aspect-ratio: 16 / 9; }
  .craft, .about { grid-template-columns: 1fr; }
  .craft-media { aspect-ratio: 16 / 10; }
  .hero-img { object-position: 70% 30%; }
  .hero-shade { background: linear-gradient(0deg, rgba(13,12,11,1) 0%, rgba(13,12,11,.65) 45%, rgba(13,12,11,.1) 100%); }
  .reel { aspect-ratio: 16 / 9; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .skills { grid-template-columns: 1fr; }
  .skill, .skill:not(:nth-child(3n+1)) { padding: 22px 0 24px; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-img, .hero-copy, .scroll-cue { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
