@font-face {
  font-family: 'Geist';
  src: url('/fonts/geist-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #fff;
  --fg: #000;
  --dim: #8a8a8a;
  --soft: #4a4a4a;
  --line: rgba(0,0,0,.12);
  --pad: clamp(20px, 3vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: 'Geist', Inter, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
::selection { background: var(--fg); color: var(--bg); }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--pad);
  background: linear-gradient(to bottom, rgba(255,255,255,.92), rgba(255,255,255,0));
}
.logo img { height: clamp(44px, 4.4vw, 64px); width: auto; }
.logo sup, .foot-logo sup { font-size: .5em; font-weight: 500; margin-left: 2px; }
.nav nav { display: flex; gap: clamp(16px, 3vw, 44px); font-size: 14px; }
.nav nav a { color: var(--soft); transition: color .2s; }
.nav nav a:hover { color: var(--fg); }

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--pad) 44px;
}
.meta {
  display: flex; justify-content: space-between; gap: 20px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim);
}
.hero h1 {
  margin: 0;
  font-size: clamp(56px, 10.6vw, 190px);
  font-weight: 600;
  line-height: .92;
  letter-spacing: -0.055em;
  padding-left: clamp(0px, 3.5vw, 60px);
}
.hero h1 span { display: block; }
.hero h1 .l2 { color: var(--dim); }
.hero h1 span { opacity: 0; transform: translateY(24px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero h1 .l2 { animation-delay: .12s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero-foot p { margin: 0; max-width: 430px; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.35; color: var(--soft); }
.down { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--soft); white-space: nowrap; }
.circle { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--fg); transition: background .2s, color .2s; }
.down:hover .circle { background: var(--fg); color: var(--bg); }

/* ticker */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.ticker-track { display: flex; gap: 64px; width: max-content; animation: tick 38s linear infinite; }
.ticker-track span { font-size: clamp(20px, 2.2vw, 30px); font-weight: 500; letter-spacing: -0.03em; color: var(--soft); white-space: nowrap; }
.ticker-track span::after { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--fg); margin-left: 64px; vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }

/* shared section heads */
.kicker { margin: 0 0 18px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.sec-head h2, .contact h2 {
  margin: 0; font-size: clamp(40px, 4.6vw, 80px); font-weight: 600; letter-spacing: -0.045em; line-height: 1;
}
.sec-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.more { font-size: 14px; color: var(--soft); white-space: nowrap; }
.more:hover { color: var(--fg); }
.sec-intro { margin: 22px 0 0; max-width: 520px; font-size: clamp(16px, 1.3vw, 19px); color: var(--soft); line-height: 1.45; }


/* about */
.about { border-top: 1px solid var(--line); display: grid; grid-template-columns: 4fr 8fr; gap: clamp(20px, 3vw, 48px); padding: clamp(90px, 10vw, 160px) var(--pad); }
.about-facts { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.about-facts li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--fg); }
.about-facts li:last-child { border-bottom: 1px solid var(--line); }
.about-facts span { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.about-photo { margin: 0 0 28px; aspect-ratio: 4 / 5; overflow: hidden; background: #eee; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-body h2 { margin: 0 0 clamp(28px, 3vw, 44px); font-size: clamp(40px, 4.6vw, 80px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.about-body h2 span { color: var(--dim); }
.about-body p { margin: 0 0 1.1em; max-width: 640px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--soft); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* work */
.work { padding: clamp(90px, 10vw, 160px) var(--pad); }
.work .sec-head { margin-bottom: clamp(50px, 6vw, 90px); }
.project {
  display: grid; grid-template-columns: 4fr 8fr; gap: clamp(20px, 3vw, 48px);
  padding: clamp(28px, 3vw, 44px) 0;
  border-top: 1px solid var(--line);
}
.p-text { display: flex; flex-direction: column; }
.p-num { font-size: 13px; color: var(--dim); margin-bottom: auto; padding-bottom: 40px; }
.p-meta { margin: 0 0 8px; font-size: 13px; color: var(--dim); }
.project h3 { margin: 0 0 14px; font-size: clamp(24px, 2.2vw, 34px); font-weight: 400; letter-spacing: -0.04em; }
.p-desc { margin: 0; max-width: 380px; color: var(--soft); font-size: 15px; line-height: 1.5; }
.p-media { display: grid; grid-template-columns: 9fr 16fr; gap: clamp(8px, 1vw, 14px); height: clamp(360px, 38vw, 620px); }
.p-media video, .p-media img { width: 100%; height: 100%; object-fit: cover; background: #eee; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.p-media { overflow: hidden; }
.project:hover .p-media img { transform: scale(1.03); }
.project:nth-of-type(even) .p-media { grid-template-columns: 16fr 9fr; }
.project:nth-of-type(even) .p-media video { order: 2; }
.p-media.solo, .project:nth-of-type(even) .p-media.solo { display: flex; justify-content: flex-start; }
.p-media.solo video { width: auto; aspect-ratio: 9 / 16; height: 100%; }
.work-wide { margin: 0; padding: clamp(28px, 3vw, 44px) 0; border-top: 1px solid var(--line); }
.work-wide img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #eee; }
.p-media.duo { gap: clamp(8px, 1vw, 14px); }
.project:nth-of-type(even) .p-media.duo video { order: 0; }
.project .p-media.trio, .project:nth-of-type(even) .p-media.trio { grid-template-columns: 1fr 1fr 1fr; }
.project:nth-of-type(even) .p-media.trio video { order: 0; }
.p-media.trio { height: auto !important; align-items: start; }
.p-media.trio img { height: auto; aspect-ratio: 4 / 5; }
.p-media.trio video { height: auto; aspect-ratio: 9 / 16; }
.p-media.trio.mixed img { aspect-ratio: 9 / 16; }
.p-media video, .p-media img { object-position: center bottom; }
.p-media video { cursor: pointer; position: relative; transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.p-media video.is-on { transform: scale(1.06); z-index: 2; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.p-media:has(video.is-on) { overflow: visible; }
.btn {
  display: inline-flex; align-items: center; margin-top: 40px;
  padding: 14px 26px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* capabilities */
.caps { padding: clamp(90px, 10vw, 160px) var(--pad); border-top: 1px solid var(--line); }
.caps .sec-head { display: grid; grid-template-columns: 4fr 8fr; column-gap: clamp(20px, 3vw, 48px); margin-bottom: clamp(40px, 5vw, 70px); }
.caps .kicker { grid-column: 1; grid-row: 1 / span 2; }
.caps h2 { grid-column: 2; }
.caps .sec-intro { grid-column: 2; }
.cap-list { list-style: none; margin: 0; padding: 0; }
.cap-list li {
  display: grid; grid-template-columns: 4fr 4fr 4fr 40px; align-items: center; gap: clamp(12px, 3vw, 48px);
  padding: 26px 0; border-top: 1px solid var(--line); transition: padding .25s;
}
.cap-list li:last-child { border-bottom: 1px solid var(--line); }
.cap-list span { font-size: 13px; color: var(--dim); }
.cap-list h3 { margin: 0; font-size: clamp(24px, 2.6vw, 40px); font-weight: 500; letter-spacing: -0.04em; }
.cap-list p { margin: 0; color: var(--soft); font-size: 15px; }
.cap-list i { font-style: normal; text-align: right; color: var(--dim); transition: transform .25s, color .25s; }
.cap-list li:hover i { transform: translateX(6px); color: var(--fg); }

/* studio */
.studio { padding: clamp(100px, 12vw, 200px) var(--pad); border-top: 1px solid var(--line); }
.studio-text { margin: 0; max-width: 18em; font-size: clamp(32px, 4.4vw, 76px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; }
.studio-text span { color: var(--dim); }

/* archive */
.archive { padding: clamp(40px, 5vw, 70px) var(--pad) clamp(90px, 10vw, 160px); border-top: 1px solid var(--line); }
.arch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); row-gap: clamp(24px, 2.5vw, 40px); }
.arch-item figure { margin: 0; }
.arch-item .ph { aspect-ratio: 4 / 5; overflow: hidden; background: #eee; }
.arch-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.arch-item img.loaded { opacity: 1; }
.arch-item.wide { grid-column: 1 / -1; }
.arch-item.wide .ph { aspect-ratio: 3 / 2; }
.arch-item:hover img { transform: scale(1.04); }
.arch-item figcaption { display: flex; gap: 12px; margin-top: 10px; font-size: 13px; color: var(--dim); }

/* contact */
.contact { padding: clamp(100px, 12vw, 200px) var(--pad); border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(48px, 7vw, 120px); }
.btn-light { background: var(--fg); color: var(--bg); border-color: var(--fg); font-size: clamp(15px, 1.3vw, 18px); padding: 16px 30px; }
.btn-light:hover { background: transparent; color: var(--fg); }

/* footer */
.foot { padding: 60px var(--pad) 30px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 4fr 8fr; gap: 40px; }
.foot-logo { height: clamp(64px, 6vw, 96px); width: auto; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; font-size: 14px; }
.foot-cols p { margin: 0 0 10px; color: var(--dim); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.foot-cols a, .foot-cols span { display: block; color: var(--soft); margin-bottom: 4px; }
.foot-cols a:hover { color: var(--fg); }
.copy { grid-column: 1 / -1; font-size: 12px; color: var(--dim); padding-top: 40px; }

/* responsive */
@media (max-width: 900px) {
  .project { grid-template-columns: 1fr; }
  .p-num { padding-bottom: 12px; margin-bottom: 0; }
  .p-media { height: 70vw; }
  .caps .sec-head { grid-template-columns: 1fr; }
  .caps .kicker, .caps h2, .caps .sec-intro { grid-column: 1; grid-row: auto; }
  .cap-list li { grid-template-columns: 40px 1fr 30px; }
  .cap-list p { display: none; }
  .arch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav nav a:nth-child(2), .nav nav a:nth-child(3) { display: none; }
  .meta span:last-child { display: none; }
  .hero h1 { font-size: 15vw; padding-left: 0; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .p-media { height: 110vw; grid-template-columns: 1fr 1fr !important; }
  .p-media.trio { grid-template-columns: 1fr 1fr 1fr !important; height: 60vw; }
  .p-media.solo { height: auto; }
  .p-media.solo video { width: 100%; height: auto; }
  .p-media.duo video { width: calc(50% - 4px); }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1 span { animation: none; opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

/* hero image trail */
.trail { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero > *:not(.trail) { position: relative; z-index: 1; }
.hero h1 { pointer-events: none; }
.trail img {
  position: absolute; width: clamp(170px, 16vw, 270px); height: auto;
  transform: translate(-50%, -50%);
  animation: trail-in .85s linear forwards;
  will-change: opacity;
}
@keyframes trail-in {
  0% { opacity: 1; }
  55% { opacity: 1; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .trail { display: none; } }
@media (hover: none) { .trail img { width: 26vw; animation-duration: .6s; } }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero { min-height: 72svh; }
@media (hover: none) { .hero { min-height: 48svh; } }

.hero h1 { text-align: center; padding-left: 0; }
.hero-foot { justify-content: center !important; align-items: center !important; }

/* closing statement */
.closing { padding: clamp(80px, 10vw, 160px) var(--pad); border-top: 1px solid var(--line); }
.closing p { margin: 0; font-size: clamp(48px, 9vw, 160px); font-weight: 600; line-height: .92; letter-spacing: -0.055em; }
.closing span { display: block; }
.closing .dim { color: var(--dim); }

/* about: smaller photo, top aligned with headline */
.about-side { padding-top: calc(11px * 1.5 + 18px + clamp(40px, 4.6vw, 80px) * .08); }
.about-photo { max-width: 260px; margin-bottom: 32px; }
@media (max-width: 900px) { .about-side { padding-top: 0; order: 2; } .about-photo { max-width: 220px; } }
/* about: round profile photo */
.about-photo { width: clamp(150px, 14vw, 210px); max-width: none; aspect-ratio: 1 / 1; border-radius: 50%; }
.about-photo img { object-position: 50% 30%; }
@media (max-width: 900px) { .about-photo { width: 140px; } }
.about-body p.kicker { font-size: 11px; line-height: 1.5; margin: 0 0 18px; color: var(--dim); max-width: none; }

/* about alignment: kicker spans both columns, photo top = headline top */
.about { align-items: start; row-gap: 0; }
.about-kicker { grid-column: 1 / -1; margin: 0 0 clamp(28px, 3vw, 44px); }
.about-side { padding-top: .08em; font-size: clamp(40px, 4.6vw, 80px); }
.about-side > * { font-size: 14px; }
.about-body h2 { margin-top: 0; }
@media (max-width: 900px) { .about-side { padding-top: 0; } }


/* mobile: about = profile header (photo + kicker), then bio, then facts */
@media (max-width: 900px) {
  .about { display: flex; flex-direction: column; }
  .about-side { display: contents; }
  .about-kicker { order: 1; margin-bottom: 18px; }
  .about-photo { order: 2; width: 96px !important; margin: 0 0 24px; }
  .about-body { order: 3; }
  .about-facts { order: 4; margin-top: 28px; }
}
/* mobile: solid header so text doesn't run under the logo */
@media (max-width: 900px) {
  .nav { background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding-top: 14px; padding-bottom: 14px; }
}
@media (max-width: 900px){ .about-facts{ align-self: stretch; } }

/* footer without logo (header logo is always visible) */
.foot { grid-template-columns: 1fr; }
.foot-cols { max-width: 900px; }
@media (hover: none) { .hero { min-height: 82svh; } }

.meta { justify-content: flex-end; }
@media (max-width: 600px) { .logo img { height: 34px; } }

p, h2, h3 { text-wrap: pretty; }
/* formatting pass */
.cap-list p { text-wrap: balance; }
@media (max-width: 600px) {
  .closing p { font-size: 10vw; }
  .studio-text { text-wrap: balance; }
}
.studio { border-top: 0; }
/* mobile reading: smaller body text, even wrapping, tighter rhythm */
@media (max-width: 600px) {
  .about-body p, .sec-intro, .p-desc { text-wrap: wrap; font-size: 16px; line-height: 1.55; }
  .about-body p { margin-bottom: 1em; }
  .about-body h2 { font-size: 34px; margin-bottom: 22px; }
  .contact .sec-intro { max-width: none; }
}
/* mobile spacing: less empty space between sections */
@media (max-width: 600px) {
  .caps { padding-bottom: 56px; }
  .studio { padding-top: 56px; padding-bottom: 64px; }
  .studio-text { text-wrap: wrap; font-size: 32px; max-width: none; }
  .work, .caps, .archive, .contact, .about, .closing { padding-top: 64px; }
  .work, .archive, .contact, .about, .closing { padding-bottom: 64px; }
}

.studio-text .nw { white-space: nowrap; color: inherit; }
@media (max-width: 600px) { .studio-text { font-size: 6.6vw; } }
.studio-text .nw.dim { color: var(--dim); }
@media (max-width: 600px) { .studio-text { font-size: 24px; line-height: 1.12; text-wrap: pretty; } }

/* The Studio centered */
.studio { text-align: center; }
.studio-text { margin-left: auto; margin-right: auto; text-wrap: balance; }
@media (max-width: 600px) { .studio { padding-top: 8px; padding-bottom: 64px; } .studio-text { text-wrap: balance; } }
