:root {
  --bg: #0A0A0A;
  --text: #EEECE7;
  --text-2: #D6D3CC;
  --text-3: #C9C6BF;
  --muted: #8C8A85;
  --line: #262626;
  --line-2: #3A3A3A;
  --accent: #4E6B52;
  --pad: clamp(16px, 3.4vw, 48px);
  --display: 'Archivo', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* topography background */
#topo {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2.4s ease;
}
#topo.on { opacity: 1; }
.page { position: relative; z-index: 1; }

/* type helpers */
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.label { margin: 0; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ft-link { border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* header */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px var(--pad);
}
.site-header.static { position: relative; }
.logo { font-weight: 800; font-stretch: 125%; font-size: 22px; letter-spacing: -.02em; padding: 10px 0; }
.nav { display: flex; flex-wrap: wrap; gap: 28px; }
.nav a { padding: 14px 0; }
.nav a.dim { color: var(--muted); }
.nav a.dim:hover { color: var(--text); }

/* hero */
.hero {
  position: relative; overflow: hidden; width: 100%;
  aspect-ratio: 16 / 8; min-height: 520px; max-height: 92vh;
  background: #141414 center / cover no-repeat;
}
/* tiny blurred copy of the first frame (inline in the page): on screen from the very first paint */
.hero::before { content: ""; position: absolute; inset: -60px; background: inherit; filter: blur(18px); }
.hero video, .hero .poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
/* no poster on the video: until its first frame is ready it is transparent and the still frame underneath shows */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100%;
  background: linear-gradient(180deg, rgba(10,10,10,.2) 0%, rgba(10,10,10,.12) 40%, rgba(10,10,10,.8) 100%);
  pointer-events: none;
}
.hero-inner {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 0 var(--pad) clamp(28px, 4vw, 56px);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.hero-title { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hero-title p { margin: 0; color: var(--text); text-shadow: 0 1px 14px rgba(0,0,0,.7); }
.hero h1 {
  margin: 0; font-weight: 800; font-stretch: 125%;
  font-size: clamp(38px, 10.4vw, 168px); line-height: .86; letter-spacing: -.035em; text-transform: uppercase;
}
.scroll-cue { display: flex; align-items: center; gap: 10px; padding: 14px 0; font-size: 12px; }

/* marquee */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 24px 0; background: var(--bg); }
.marquee-track {
  display: flex; width: max-content; white-space: nowrap;
  font-weight: 700; font-stretch: 125%; font-size: clamp(28px, 3.6vw, 52px);
  text-transform: uppercase; letter-spacing: -.01em;
  animation: marquee 40s linear infinite;
}
.marquee-track span { display: flex; align-items: center; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); margin: 0 32px; flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* work */
.work { padding: clamp(56px, 7vw, 112px) var(--pad) 0; }
.work-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; color: var(--muted); }
.tile { display: block; cursor: pointer; }
.frame { position: relative; overflow: hidden; background: #151515; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.tile:hover .frame img { transform: scale(1.035); }
.frame .play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%; border: 1px solid rgba(238,236,231,.6);
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,10,.25); backdrop-filter: blur(4px);
  opacity: 0; transform: scale(.9); transition: opacity .35s, transform .35s var(--ease);
}
.tile:hover .play, .tile:focus-visible .play { opacity: 1; transform: none; }
.feature .frame { aspect-ratio: 2.39 / 1; }
.grid .frame { aspect-ratio: 16 / 9; }
.meta { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; padding-top: 16px; }
.meta h3 {
  margin: 0; display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-stretch: 125%; letter-spacing: -.01em; text-transform: uppercase;
  font-size: clamp(20px, 1.8vw, 26px);
}
.feature .meta h3 { font-size: clamp(22px, 2.6vw, 38px); }
.meta p { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.arrow { opacity: 0; transform: translate(-6px, 6px); transition: opacity .3s, transform .3s; color: var(--accent); }
.tile:hover .arrow { opacity: 1; transform: none; }
.grid {
  display: grid; gap: 56px 32px; margin-top: 72px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
#works:empty { min-height: 40px; }
.all-work { display: flex; justify-content: center; padding-top: 88px; }
.all-work a { padding-top: 12px; }

/* statement */
.statement {
  padding: clamp(96px, 11vw, 176px) var(--pad);
  display: flex; flex-direction: column; gap: 32px; max-width: 1240px;
}
.statement .big {
  margin: 0; font-weight: 700; font-stretch: 112%;
  font-size: clamp(34px, 5.2vw, 80px); line-height: .98; letter-spacing: -.03em; text-transform: uppercase;
}
.statement .big span { color: var(--muted); }
.statement .body { margin: 0; max-width: 580px; font-size: 19px; line-height: 1.55; color: var(--text-3); }
.statement .body .gas { color: var(--accent-2); font-weight: 600; }
.statement a { align-self: flex-start; padding-top: 12px; }

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(72px, 8vw, 128px) var(--pad) 32px;
  display: flex; flex-direction: column; gap: 72px;
}
.cta { display: flex; flex-direction: column; gap: 22px; }
.cta .avail { margin: 0; display: flex; align-items: center; gap: 12px; color: var(--text-3); }
.cta .avail .dot { width: 9px; height: 9px; margin: 0; }
.cta h2 {
  margin: 0; font-weight: 800; font-stretch: 125%;
  font-size: clamp(36px, 6.6vw, 108px); line-height: .9; letter-spacing: -.035em; text-transform: uppercase;
}
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 14px; }
.cta .email {
  font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.015em;
  font-size: clamp(16px, 2.6vw, 38px); line-height: 1.1;
  border-bottom-width: 2px; padding-bottom: 5px; cursor: copy; overflow-wrap: anywhere;
  transform-origin: left center; transition: color .25s;
}
.cta .email.is-copied { color: var(--accent-2); animation: copy-pop .45s var(--ease); }
@keyframes copy-pop { 0% { transform: scale(1); } 35% { transform: scale(1.025); } 100% { transform: scale(1); } }
.copied {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2);
  opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .4s var(--ease); pointer-events: none;
}
.copied.show { opacity: 1; transform: none; }
.copied svg path { stroke-dasharray: 22; stroke-dashoffset: 22; }
.copied.show svg path { animation: copy-check .45s .1s var(--ease) forwards; }
@keyframes copy-check { to { stroke-dashoffset: 0; } }
.footer-bar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px;
  border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 12px;
}
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-bar a { color: var(--text-3); padding: 12px 0; }

/* about */
.about-main { padding: clamp(48px, 6vw, 96px) var(--pad) 0; }
.about-top { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 88px); align-items: flex-start; }
.about-media {
  flex: 1 1 480px; max-width: 720px; aspect-ratio: 16 / 9; overflow: hidden; background: #181818; position: relative;
}
.about-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; max-width: 760px; }
.about-text h1 {
  margin: 0; font-weight: 800; font-stretch: 125%;
  font-size: clamp(38px, 5.4vw, 92px); line-height: .88; letter-spacing: -.035em; text-transform: uppercase;
}
.about-text .lead { margin: 0; color: var(--text-3); }
.about-text .p { margin: 0; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--text-2); }
.about-text .claim {
  margin: 8px 0 0; font-weight: 700; font-stretch: 112%;
  font-size: clamp(26px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase;
}
.about-text .claim span { color: var(--accent); }
.about-text a { align-self: flex-start; margin-top: 8px; padding-top: 12px; }
.services { padding: clamp(96px, 10vw, 160px) 0; }
.services .label { margin-bottom: 40px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px 32px; }
.service { border-top: 1px solid var(--line-2); padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.service .n { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.service h3 { margin: 0; font-weight: 700; font-stretch: 125%; font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.02em; text-transform: uppercase; }
.service p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text-3); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: #050505;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(56px, 6vw, 88px) clamp(0px, 3vw, 48px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox .player { position: relative; width: min(100%, calc((100vh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.lightbox.vertical .player { width: min(100%, calc((100vh - 140px) * 9 / 16)); aspect-ratio: 9 / 16; }
.lightbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox .close {
  position: absolute; top: 14px; right: clamp(14px, 3vw, 40px);
  width: 48px; height: 48px; border: 0; background: none; color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox .title { position: absolute; top: 26px; left: var(--pad); right: 90px; margin: 0; color: var(--text-3); }
body.lb-open { overflow: hidden; }

/* green accent on text */
:root { --accent-2: #6F8B71; }
.label, .work-head { color: var(--accent-2); }
.statement .big span { color: var(--accent); }
.marquee .gas { font-style: normal; color: var(--accent); }
.cta h2 span { color: var(--accent); }
.ft-link:hover, .cta .email:hover { color: var(--accent-2); }
.tile:hover .meta h3 { color: var(--accent-2); }
.about-text .lead { color: var(--accent-2); }
.about-text .p .gas { color: var(--accent-2); font-weight: 600; }
.service .n { color: var(--accent-2); }
.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--accent); }

/* entrance */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 1.1s var(--ease) both; }
.rise-2 { animation-delay: .18s; }
.rise-3 { animation-delay: .32s; }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .frame img, .arrow, .play, #topo { transition: none; }
  .cta .email.is-copied, .copied.show svg path { animation: none; }
  .copied.show svg path { stroke-dashoffset: 0; }
}