/* VANTA */
:root {
  --bg: #0e0e0e; --ink: #f1ede4; --o: #ff4d1f; --b: #2b3cff; --l: #d8ff3d; --p: #ff7eb6; --y: #ffb200; --line: rgba(241, 237, 228, .16);
  --disp: 'Syne', 'Arial Black', sans-serif; --sans: 'Space Grotesk', system-ui, sans-serif;
  --pad: clamp(16px, 3vw, 48px); --cursor: #d8ff3d; --cursor-bg: #d8ff3d; --cursor-ink: #0e0e0e;
}
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
.pt__panel:nth-child(1) { background: var(--o); }
.pt__panel:nth-child(2) { background: var(--b); }
.pt__panel:nth-child(3) { background: var(--l); }
body[data-pt="skew"] .pt__panel { position: absolute; inset: -10% 0; }
.hl { padding: 0 .12em; border-radius: .2em; color: #0e0e0e; }
.hl--o { background: var(--o); } .hl--b { background: var(--b); color: var(--ink); } .hl--l { background: var(--l); }

/* header */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--pad); mix-blend-mode: difference; color: #fff; }
.hd__logo { font-family: var(--disp); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.hd__logo sup { font-size: .5em; }
.hd__nav { display: flex; gap: 2rem; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.hd__nav a { position: relative; overflow: hidden; display: inline-block; }
.hd__nav a span, .hd__nav a::after { display: block; transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.hd__nav a::after { content: attr(data-text); position: absolute; top: 100%; left: 0; }
.hd__nav a:hover span, .hd__nav a:hover::after { transform: translateY(-100%); }
.hd__burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; padding: 0 10px; }
.hd__burger i { display: block; height: 2px; background: currentColor; transition: transform .5s, opacity .3s; }
.menu-open .hd__burger i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .hd__burger i:nth-child(2) { opacity: 0; }
.menu-open .hd__burger i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: flex; flex-direction: column; justify-content: center; padding: var(--pad); }
.menu a { display: block; font-family: var(--disp); font-weight: 800; font-size: clamp(3rem, 15vw, 6rem); line-height: 1; text-transform: uppercase; letter-spacing: -.03em; transition: color .3s, transform .4s; }
.menu a:hover { color: var(--c); transform: translateX(10px); }

/* hero with image trail */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--pad); }
.trail-img { position: absolute; left: 0; top: 0; width: clamp(130px, 16vw, 240px); aspect-ratio: 3/4; object-fit: cover; pointer-events: none; z-index: 1; border-radius: 4px; }
.hero__inner { position: relative; z-index: 2; pointer-events: none; }
.hero__inner a { pointer-events: auto; }
.hero__kicker { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.hero__title { white-space: nowrap; font-family: var(--disp); font-weight: 800; font-size: 25vw; line-height: .78; letter-spacing: -.06em; margin-left: -.04em; }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-top: 2rem; }
.hero__claim { font-family: var(--disp); font-weight: 700; font-size: clamp(1.8rem, 4vw, 3.6rem); line-height: 1.05; max-width: 16ch; }
.hero__hint { position: absolute; top: 90px; right: var(--pad); font-size: 13px; opacity: .6; z-index: 2; }
@media (hover: none) { .hero__hint { display: none; } }
.blob-btn { flex-shrink: 0; display: inline-grid; place-items: center; width: clamp(120px, 12vw, 170px); aspect-ratio: 1; border-radius: 50%; background: var(--l); color: #0e0e0e; font-family: var(--disp); font-weight: 700; text-align: center; padding: 1rem; line-height: 1.1; transition: background .4s, border-radius .6s; }
.blob-btn:hover { background: var(--o); border-radius: 38% 62% 55% 45% / 45% 40% 60% 55%; }

/* velocity rows */
.vrows { padding-block: clamp(40px, 6vw, 80px); overflow: hidden; }
.vrow { font-family: var(--disp); font-weight: 800; font-size: clamp(3rem, 11vw, 10rem); line-height: 1; text-transform: uppercase; letter-spacing: -.04em; padding-block: .1em; }
.vrow span { padding-inline: .3em; }
.vrow b { color: var(--o); font-size: .6em; }
.vrow .marquee__track > * { display: inline-flex; align-items: center; }
.vrow--o { background: var(--o); color: #0e0e0e; transform: rotate(-2deg) scale(1.04); }
.vrow--o b { color: var(--ink); }
.vrow--b { background: var(--b); transform: rotate(1.5deg) scale(1.04); margin-top: -1rem; }
.vrow--b b { color: var(--l); }

/* manifesto */
.manifesto { padding: clamp(80px, 12vw, 180px) var(--pad); }
.manifesto__label { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.6rem; opacity: .6; }
.manifesto__text { font-family: var(--disp); font-weight: 700; font-size: clamp(2rem, 5vw, 4.8rem); line-height: 1.04; letter-spacing: -.02em; }

/* cases */
.cases { display: flex; flex-direction: column; gap: 6px; }
.case { position: relative; display: block; height: 100svh; min-height: 520px; overflow: hidden; }
.case__media { position: absolute; inset: 0; }
.case__media img { height: 120%; position: absolute; inset: -10% 0 auto 0; transition: filter .6s; }
.case__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .65)); }
.case__info { position: absolute; inset: auto var(--pad) var(--pad); display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 0 1.2rem; z-index: 1; }
.case__n { font-family: var(--disp); font-weight: 800; font-size: clamp(3rem, 8vw, 7rem); line-height: .8; color: var(--c); grid-row: span 2; }
.case__title { font-family: var(--disp); font-weight: 800; font-size: clamp(2.6rem, 8vw, 8rem); line-height: .9; letter-spacing: -.04em; text-transform: uppercase; }
.case__tag { display: inline-block; justify-self: start; background: var(--c); color: #0e0e0e; padding: .3rem .8rem; border-radius: 99px; font-size: 13px; margin-top: .6rem; }

/* numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px 0; }
.num { background: var(--c); color: #0e0e0e; padding: clamp(20px, 3vw, 40px); aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; border-radius: 4px; transition: border-radius .6s; }
.num:hover { border-radius: 50%; }
.num:nth-child(2) { color: var(--ink); }
.num strong { font-family: var(--disp); font-weight: 800; font-size: clamp(3.4rem, 9vw, 9rem); line-height: .85; letter-spacing: -.04em; }

/* service rows */
.svc-rows { padding: clamp(80px, 12vw, 180px) var(--pad); }
.svc-row { position: relative; display: grid; grid-template-columns: 1fr auto 60px; align-items: center; gap: 1rem; padding: 1.4rem 1rem; border-top: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.svc-row::before { content: ''; position: absolute; inset: 0; background: var(--c); transform: scaleY(0); transform-origin: bottom; transition: transform .6s cubic-bezier(.7, 0, .2, 1); z-index: -1; }
.svc-row:hover::before { transform: scaleY(1); }
.svc-row:hover { color: #0e0e0e; }
.svc-row__t { font-family: var(--disp); font-weight: 800; font-size: clamp(2.2rem, 6vw, 5.6rem); line-height: 1; text-transform: uppercase; letter-spacing: -.03em; }
.svc-row__d { font-size: 15px; opacity: .8; }
.svc-row__a { font-size: 2rem; justify-self: end; transition: transform .5s; }
.svc-row:hover .svc-row__a { transform: rotate(45deg); }

/* footer */
.ft { background: var(--l); color: #0e0e0e; overflow: hidden; padding-top: clamp(40px, 6vw, 80px); }
.ft .vrow b { color: var(--o); }
.ft__main { padding: clamp(50px, 8vw, 110px) var(--pad) 2rem; }
.ft__mail { display: inline-block; font-family: var(--disp); font-weight: 800; font-size: clamp(2.2rem, 8.6vw, 9rem); line-height: 1; letter-spacing: -.04em; border-bottom: .06em solid currentColor; word-break: break-all; }
.ft__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: clamp(50px, 8vw, 100px); font-size: 14px; }

/* page head */
.phead { padding: clamp(110px, 14vw, 170px) var(--pad) clamp(30px, 5vw, 60px); }
.phead__title { font-family: var(--disp); font-weight: 800; font-size: clamp(4.4rem, 20vw, 22rem); line-height: .8; letter-spacing: -.06em; }
.phead__sub { margin-top: 1.4rem; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }

/* work list */
.wlist { padding: 0 var(--pad) clamp(80px, 12vw, 160px); --hp-radius: 8px; }
.wrow { display: grid; grid-template-columns: 70px 1fr 220px; align-items: center; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--line); transition: color .3s; }
.wrow__n { font-family: var(--disp); font-weight: 700; opacity: .5; }
.wrow__t { font-family: var(--disp); font-weight: 800; font-size: clamp(2.4rem, 7.4vw, 7.4rem); line-height: .95; letter-spacing: -.04em; text-transform: uppercase; transition: transform .6s cubic-bezier(.2, .7, .1, 1), color .3s; }
.wrow:hover .wrow__t { color: var(--c); transform: translateX(2vw); }
.wrow__m { font-size: 14px; opacity: .7; text-align: right; }
.wrow__img { display: none; }

/* project */
.pj-hero { padding: clamp(110px, 14vw, 170px) var(--pad) 0; }
.pj-hero__meta { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; color: var(--c); }
.pj-hero__title { font-family: var(--disp); font-weight: 800; font-size: clamp(3.4rem, 13vw, 14rem); line-height: .85; letter-spacing: -.05em; text-transform: uppercase; }
.pj-hero__img { height: 88svh; margin-top: clamp(20px, 3vw, 40px); border-radius: 6px; }
.pj-hero__img img { height: 120%; position: absolute; inset: -10% 0 auto 0; }
.pj-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 6vw, 100px); padding: clamp(70px, 10vw, 140px) var(--pad); }
.pj-lede { font-family: var(--disp); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; }
.pj-facts li { border-top: 1px solid var(--line); padding: .9rem 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.pj-facts span { width: 100%; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--c); }
.pj-facts i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); }
.collage { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; padding: 0 var(--pad) clamp(80px, 12vw, 160px); }
.cl { border-radius: 6px; }
.cl--1 { grid-column: 1 / 8; aspect-ratio: 4/3; }
.cl--2 { grid-column: 9 / 13; aspect-ratio: 3/4; margin-top: 14vw; }
.cl--word { grid-column: 1 / -1; font-family: var(--disp); font-weight: 800; font-size: clamp(3rem, 14vw, 15rem); line-height: .9; letter-spacing: -.05em; color: var(--c); text-align: center; padding-block: 3vw; overflow: hidden; white-space: nowrap; }
.cl--3 { grid-column: 2 / 6; aspect-ratio: 3/4; }
.cl--4 { grid-column: 7 / 13; aspect-ratio: 4/3; margin-top: 8vw; }
.cl--5 { grid-column: 1 / -1; aspect-ratio: 21/9; }
.pj-next { display: flex; flex-direction: column; padding: clamp(60px, 9vw, 120px) var(--pad); background: var(--c); color: #0e0e0e; }
.pj-next span { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.pj-next strong { font-family: var(--disp); font-weight: 800; font-size: clamp(3rem, 12vw, 12rem); line-height: .9; letter-spacing: -.05em; text-transform: uppercase; }

/* about */
.ab-hero { position: relative; padding: 0 var(--pad); }
.ab-hero__img { height: 80svh; border-radius: 6px; }
.ab-hero__img img { height: 120%; position: absolute; inset: -10% 0 auto 0; }
.ab-hero__sticker { position: absolute; right: calc(var(--pad) + 4vw); top: -60px; width: clamp(110px, 12vw, 160px); aspect-ratio: 1; border-radius: 50%; background: var(--o); color: #0e0e0e; display: grid; place-items: center; text-align: center; font-family: var(--disp); font-weight: 800; font-size: 1.3rem; line-height: 1; animation: vanta-wobble 6s ease-in-out infinite; }
@keyframes vanta-wobble { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(10deg) scale(1.06); } }
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 0 var(--pad) clamp(80px, 12vw, 160px); }
.rule { background: var(--c); color: #0e0e0e; padding: clamp(24px, 3vw, 44px); min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 4px; }
.rule:nth-child(2) { color: var(--ink); }
.rule span { font-family: var(--disp); font-weight: 800; font-size: 1.4rem; }
.rule p { font-family: var(--disp); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -.02em; }
.crew { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 var(--pad) clamp(80px, 12vw, 160px); }
.crew__img { aspect-ratio: 3/4; border-radius: 6px; margin-bottom: .8rem; }
.crew__img img { filter: grayscale(1) contrast(1.1); transition: filter .5s; }
.crew__m:hover .crew__img img { filter: none; }
.crew__img::after { content: ''; position: absolute; inset: 0; background: var(--c); mix-blend-mode: multiply; opacity: .7; transition: opacity .5s; }
.crew__m:hover .crew__img::after { opacity: 0; }
.crew figcaption { display: flex; flex-direction: column; font-size: 14px; }
.crew strong { font-family: var(--disp); font-size: 1.3rem; }

/* services */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 var(--pad) clamp(80px, 12vw, 160px); }
.tile { background: #1a1a1a; border-radius: 8px; padding: 14px 14px 26px; transition: background .5s, color .5s; transform-style: preserve-3d; }
.tile:hover { background: var(--c); color: #0e0e0e; }
.tile__img { aspect-ratio: 4/3; border-radius: 4px; margin-bottom: 1.2rem; }
.tile__n { font-family: var(--disp); font-weight: 800; color: var(--c); padding-inline: 6px; transition: color .5s; }
.tile:hover .tile__n { color: #0e0e0e; }
.tile h2 { font-family: var(--disp); font-weight: 800; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1; text-transform: uppercase; margin: .4rem 6px .6rem; letter-spacing: -.02em; }
.tile p { padding-inline: 6px; opacity: .85; }
.cta-band { display: flex; align-items: center; gap: clamp(20px, 4vw, 60px); padding: clamp(60px, 9vw, 120px) var(--pad); border-top: 1px solid var(--line); }
.cta-band p { font-family: var(--disp); font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 3.2rem); line-height: 1.05; max-width: 22ch; }

/* contact (mad-libs form) */
.ct { padding: 0 var(--pad) clamp(80px, 12vw, 160px); }
.ct__sentence { font-family: var(--disp); font-weight: 700; font-size: clamp(1.8rem, 4.4vw, 4.2rem); line-height: 1.35; letter-spacing: -.02em; margin-bottom: 2.4rem; }
.ct__sentence input, .ct__sentence select { font: inherit; background: transparent; border: 0; border-bottom: .08em solid var(--l); color: var(--l); outline: 0; padding: 0 .1em; max-width: 100%; border-radius: 0; }
.ct__sentence select { cursor: pointer; -webkit-appearance: none; appearance: none; }
.ct__sentence select option { background: #0e0e0e; font-size: 16px; }
.ct__sentence input::placeholder { color: rgba(216, 255, 61, .4); }
.ct__sentence input:focus, .ct__sentence select:focus { border-color: var(--o); color: var(--o); }
.form-success p { font-size: 20px; margin-top: 1rem; max-width: 40ch; }

@media (max-width: 900px) {
  .hd__nav { display: none; }
  .hd__burger { display: flex; }
  .hero__title { font-size: 25vw; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 1fr 40px; }
  .svc-row__d { display: none; }
  .ft__cols { grid-template-columns: 1fr 1fr; }
  .wrow { grid-template-columns: 1fr; gap: .6rem; padding-block: 1.6rem; }
  .wrow__n, .wrow__m { display: none; }
  .wrow__img { display: block; aspect-ratio: 16/10; border-radius: 6px; order: -1; }
  .pj-body { grid-template-columns: 1fr; }
  .pj-hero__img { height: 60svh; }
  .cl--1, .cl--2, .cl--3, .cl--4 { grid-column: 1 / -1; margin-top: 0; }
  .cl--2, .cl--3 { width: 75%; }
  .cl--2 { justify-self: end; }
  .rules { grid-template-columns: 1fr; }
  .crew { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .ab-hero__img { height: 60svh; }
}
