:root {
  --bg: #0d0e10;
  --surface: #151618;
  --surface-2: #1b1c1f;
  --text: #f4f4f2;
  --muted: #a5a6a8;
  --soft: #d7d8d8;
  --line: #353639;
  --pad: clamp(24px, 6vw, 92px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 50px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "DM Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, video { display: block; width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 20px; background: #fff; color: #111; padding: 12px; }
.skip-link:focus { top: 20px; }
.section-wrap { padding-left: var(--pad); padding-right: var(--pad); }

.header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; height: 84px; padding: 0 var(--pad); display: flex; align-items: center; gap: 40px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.22); }
.brand { display: flex; align-items: center; gap: 11px; min-width: 225px; font-family: Manrope, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .13em; transition: opacity .3s ease; }
.brand:hover { opacity: .7; }
.brand img { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); }
.brand strong { font-weight: 400; }
.desktop-nav { display: flex; gap: 38px; margin: auto; font-size: 12px; font-weight: 600; }
.desktop-nav a { position: relative; padding: 10px 0; color: #e9e9e8; transition: color .3s ease; }
.desktop-nav a::after { content: ""; position: absolute; bottom: 5px; left: 0; right: 100%; height: 1px; background: #fff; transition: right .3s ease; }
.desktop-nav a:hover { color: #fff; }
.desktop-nav a:hover::after { right: 0; }
.header-cta { border: 1px solid rgba(255,255,255,.65); border-radius: 100px; padding: 12px 19px; font-size: 12px; font-weight: 700; white-space: nowrap; transition: background .3s ease, color .3s ease, transform .3s ease; }
.header-cta:hover { background: #fff; color: #111; transform: translateY(-3px); }
.header-cta span { display: inline-block; margin-left: 16px; transition: transform .3s ease; }
.header-cta:hover span { transform: translate(3px,-3px); }
.menu-toggle, .mobile-nav { display: none; }

.hero { position: relative; min-height: 740px; height: 100svh; max-height: 1200px; overflow: hidden; background: #111; color: #fff; }
.hero-video, .hero-overlay { position: absolute; inset: 0; height: 100%; }
.hero-video { object-fit: cover; object-position: center 48%; filter: saturate(.72) contrast(1.04); }
.hero-overlay { background: linear-gradient(90deg,rgba(4,5,6,.86) 0%,rgba(4,5,6,.57) 50%,rgba(4,5,6,.18) 100%), linear-gradient(0deg,rgba(4,5,6,.72),transparent 36%); }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; height: 100%; max-width: 1120px; padding: 105px var(--pad) 110px; }
.eyebrow, .kicker { font-size: 11px; letter-spacing: .19em; text-transform: uppercase; font-weight: 700; }
.eyebrow { display: flex; align-items: center; gap: 13px; color: #ededed; margin: 0; }
.eyebrow-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .8; }
.hero h1, .section-heading h2, .approach h2, .contact h2 { font-family: Manrope, sans-serif; font-weight: 600; letter-spacing: -.065em; }
.hero h1 { font-size: clamp(61px,8vw,124px); line-height: .99; margin: 25px 0 26px; }
.hero h1 em, .approach h2 em, .contact h2 em { font-style: normal; font-weight: 400; color: #d4d4d4; }
.hero-lead { max-width: 520px; font-size: clamp(17px,1.65vw,22px); line-height: 1.52; color: #e4e4e4; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 29px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; border-radius: 100px; padding: 16px 22px; font-size: 13px; font-weight: 700; transition: transform .35s ease, background .35s ease, color .35s ease, box-shadow .35s ease; }
.button span { display: inline-block; transition: transform .35s ease; }
.button:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.button:hover span { transform: translate(3px,-3px); }
.button-light { background: #f4f4f2; color: #101113; }
.button-light:hover { background: #cecece; }
.hero-text-link { position: relative; font-size: 13px; font-weight: 700; padding: 9px 0; }
.hero-text-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: rgba(255,255,255,.6); transform-origin: left; transition: transform .35s ease; }
.hero-text-link:hover::after { transform: scaleX(.6); }
.hero-text-link span { display: inline-block; margin-left: 16px; transition: transform .35s ease; }
.hero-text-link:hover span { transform: translateX(5px); }
.scroll-hint { position: absolute; z-index: 3; bottom: 38px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 11px; color: #f6f6f6; font-size: 10px; font-weight: 700; letter-spacing: .16em; white-space: nowrap; text-shadow: 0 2px 12px rgba(0,0,0,.8); transition: opacity .3s ease; }
.scroll-hint:hover { opacity: .65; }
.scroll-arrows { display: flex; flex-direction: column; filter: drop-shadow(0 4px 8px rgba(0,0,0,.75)); animation: float 2.2s ease-in-out infinite; }
.scroll-arrows i { width: 13px; height: 13px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); margin: -4px; }
.scroll-arrows i:nth-child(1) { opacity: .45; }
.scroll-arrows i:nth-child(2) { opacity: .7; }
@keyframes float { 50% { transform: translateY(7px); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-inner > * { animation: heroIn .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-inner > :nth-child(2) { animation-delay: .1s; }
.hero-inner > :nth-child(3) { animation-delay: .2s; }
.hero-inner > :nth-child(4) { animation-delay: .3s; }

.kicker { color: #b9babc; margin: 0; }
.intro { padding-top: 100px; padding-bottom: 100px; display: grid; grid-template-columns: .8fr 2.2fr; gap: 7vw; border-bottom: 1px solid var(--line); }
.intro-content p { font-family: Manrope, sans-serif; font-size: clamp(25px,2.6vw,41px); font-weight: 500; line-height: 1.4; letter-spacing: -.035em; max-width: 920px; margin: 0; }

.portfolio { background: var(--surface); padding-top: 108px; padding-bottom: 120px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 45px; }
.section-heading h2 { font-size: clamp(49px,5.1vw,82px); line-height: 1.05; margin: 14px 0 0; }
.heading-period { color: #a7a8aa; }
.section-heading > p { max-width: 420px; font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0 0 5px; }
.project-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.project { min-width: 0; }
.project-image { position: relative; display: block; border: 1px solid #343538; padding: 0; width: 100%; overflow: hidden; cursor: pointer; background: #202124; aspect-ratio: 1; }
.project-image img { height: 100%; object-fit: cover; filter: saturate(.83) brightness(.87); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.project:hover .project-image img { transform: scale(1.065); filter: saturate(1) brightness(.96); }
.project-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(0,0,0,.45),transparent 45%); pointer-events: none; }
.watch { position: absolute; z-index: 2; bottom: 15px; right: 15px; display: flex; align-items: center; gap: 8px; background: rgba(245,245,245,.94); color: #111; border-radius: 100px; padding: 10px 14px; font-size: 11px; font-weight: 700; box-shadow: 0 7px 20px rgba(0,0,0,.18); transition: transform .35s ease, background .35s ease; }
.watch span { font-size: 9px; }
.project:hover .watch { transform: translateY(-4px); background: #fff; }
.project-info { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 19px 2px 0; }
.project-type { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 0 0 8px; }
.project h3 { font-family: Manrope, sans-serif; font-size: clamp(19px,1.55vw,25px); letter-spacing: -.045em; line-height: 1.2; margin: 0; font-weight: 600; transition: color .35s ease; }
.project:hover h3 { color: #c7c7c7; }
.project-arrow { font-size: 22px; line-height: 1; color: #a7a8aa; transition: transform .35s ease, color .35s ease; }
.project:hover .project-arrow { transform: translate(3px,-3px); color: #fff; }

.approach { background: var(--bg); color: var(--text); border-top: 1px solid var(--line); }
.approach-inner { padding-top: 118px; padding-bottom: 118px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 9vw; }
.approach h2 { font-size: clamp(48px,5.2vw,80px); line-height: 1.08; margin: 20px 0 0; }
.approach-copy { align-self: end; }
.approach-copy > p:first-child { font-family: Manrope, sans-serif; font-size: clamp(20px,1.9vw,28px); line-height: 1.45; letter-spacing: -.025em; margin: 0 0 20px; }
.approach-copy > p:nth-child(2) { color: var(--muted); line-height: 1.7; font-size: 15px; margin: 0 0 34px; }
.capabilities { display: flex; flex-wrap: wrap; gap: 9px; }
.capabilities span { border: 1px solid #4b4c4e; border-radius: 50px; padding: 9px 13px; font-size: 11px; color: var(--soft); }

.contact { background: var(--surface-2); padding-top: 125px; padding-bottom: 130px; }
.contact-grid { display: grid; grid-template-columns: 1.5fr .65fr; gap: 8vw; align-items: end; }
.contact h2 { font-size: clamp(46px,5.5vw,87px); line-height: 1.06; margin: 19px 0 20px; }
.contact-grid > div > p { font-size: 17px; color: var(--muted); line-height: 1.65; max-width: 590px; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }
.button-dark { background: #f2f2f0; color: #111; width: 100%; padding: 19px 22px; }
.button-dark:hover { background: #cecece; }
.contact-handle { margin: 4px 0 0; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.footer { border-top: 1px solid var(--line); padding-top: 28px; padding-bottom: 28px; display: flex; align-items: center; gap: 32px; color: var(--muted); font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 700; margin-right: auto; transition: opacity .3s ease; }
.footer-brand:hover { opacity: .65; }
.footer-brand img { width: 30px; height: 30px; border-radius: 50%; }
.footer p { margin: 0; }
.footer > a:last-child { color: var(--text); transition: transform .3s ease; }
.footer > a:last-child:hover { transform: translateY(-3px); }

.video-modal { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 0; background: #08090a; color: #fff; }
.video-modal::backdrop { background: #08090a; }
.modal-top { height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 25px; border-bottom: 1px solid #393a3d; }
.modal-top p { font-size: 13px; font-weight: 700; margin: 0; }
.modal-top button { border: 0; background: transparent; color: #fff; font-size: 13px; cursor: pointer; transition: opacity .3s ease, transform .3s ease; }
.modal-top button:hover { opacity: .65; transform: translateY(-2px); }
.player-stage { position: relative; height: calc(100dvh - 66px); background: #000; overflow: hidden; }
.video-modal video { height: 100%; width: 100%; object-fit: contain; background: #000; }
.player-controls { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 18px; padding: 35px clamp(20px,4vw,58px) max(22px,env(safe-area-inset-bottom)); background: linear-gradient(transparent,rgba(0,0,0,.76)); opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .35s ease, transform .35s ease, visibility .35s ease; }
.player-stage.is-idle .player-controls { opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none; }
.player-controls button { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: #fff; background: rgba(12,12,12,.35); cursor: pointer; font-size: 15px; transition: background .25s ease, transform .25s ease, border-color .25s ease; }
.player-controls button:hover { background: rgba(255,255,255,.2); border-color: #fff; transform: translateY(-2px); }
.player-seek { flex: 1 1 auto; width: 100%; min-width: 40px; height: 24px; margin: 0; background: transparent; cursor: pointer; accent-color: #fff; }
.player-time { flex: 0 0 auto; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: #eee; }
@media (max-width: 620px) {
  .modal-top { height: 58px; padding: 0 17px; }
  .modal-top p { font-size: 11px; max-width: 68vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .player-stage { height: calc(100dvh - 58px); }
  .player-controls { gap: 9px; padding: 26px 13px max(17px,env(safe-area-inset-bottom)); }
  .player-controls button { width: 32px; height: 32px; font-size: 13px; }
  .player-time { font-size: 10px; }
}

.js-motion [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1); }
.js-motion [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.project-list .project:nth-child(2) { transition-delay: .09s; }
.project-list .project:nth-child(3) { transition-delay: .14s; }
.project-list .project:nth-child(4) { transition-delay: .2s; }

@media (max-width: 1100px) {
  .project-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 42px 22px; }
  .project h3 { font-size: 24px; }
}
@media (max-width: 900px) {
  .header { height: 72px; }
  .desktop-nav, .header-cta { display: none; }
  .brand { min-width: 0; }
  .menu-toggle { display: block; position: relative; z-index: 22; margin-left: auto; background: transparent; border: 0; width: 44px; height: 44px; cursor: pointer; }
  .menu-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px auto; transition: transform .3s ease; }
  .menu-toggle:hover span { transform: translateX(3px); }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { position: absolute; top: 0; left: 0; right: 0; min-height: 100svh; background: #101113; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 80px var(--pad); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s ease, transform .3s ease, visibility .3s ease; }
  .mobile-nav.open { opacity: 1; visibility: visible; transform: none; }
  .mobile-nav a { font-family: Manrope, sans-serif; font-size: clamp(28px,7vw,44px); font-weight: 600; transition: color .3s ease, transform .3s ease; }
  .mobile-nav a:hover { color: #aaa; transform: translateX(6px); }
  .hero { min-height: 650px; }
  .intro { grid-template-columns: 1fr; gap: 24px; }
  .approach-inner { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-actions { max-width: 420px; }
}
@media (max-width: 620px) {
  :root { --pad: 22px; }
  .hero { height: 100svh; min-height: 640px; }
  .hero-video { object-position: 54% center; }
  .hero-overlay { background: linear-gradient(0deg,rgba(4,5,6,.91),rgba(4,5,6,.35) 85%),linear-gradient(90deg,rgba(4,5,6,.25),transparent); }
  .hero-inner { justify-content: flex-end; padding: 110px var(--pad) 145px; }
  .eyebrow { gap: 9px; font-size: 10px; }
  .hero h1 { font-size: clamp(47px,11.8vw,70px); line-height: 1.04; margin: 18px 0 19px; }
  .hero-lead { font-size: 16px; max-width: 390px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; margin-top: 25px; }
  .button-light { width: max-content; }
  .hero-text-link { width: max-content; }
  .scroll-hint { bottom: 24px; }
  .intro { padding-top: 72px; padding-bottom: 76px; }
  .intro-content p { font-size: 25px; }
  .portfolio { padding-top: 80px; padding-bottom: 88px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading h2 { font-size: 49px; }
  .section-heading > p { margin-top: 16px; font-size: 14px; }
  .project-list { grid-template-columns: 1fr; gap: 35px; }
  .project-info { padding-top: 16px; }
  .project h3 { font-size: 25px; }
  .approach-inner { padding-top: 85px; padding-bottom: 85px; }
  .approach h2 { font-size: 46px; }
  .approach-copy > p:first-child { font-size: 22px; }
  .contact { padding-top: 87px; padding-bottom: 95px; }
  .contact h2 { font-size: 44px; }
  .contact-grid > div > p { font-size: 15px; }
  .contact-actions { width: 100%; }
  .footer { display: grid; grid-template-columns: 1fr auto; gap: 16px; }
  .footer-brand, .footer p { grid-column: 1/-1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-arrows, .hero-inner > * { animation: none; }
  .js-motion [data-reveal] { opacity: 1; transform: none; transition: none; }
  .project-image img, .button, .mobile-nav, .menu-toggle span { transition: none; }
}
