:root {
  --bg: #e4f53a;
  --ink: #111111;
  --ink-2: rgba(17, 17, 17, 0.74);
  --ink-3: rgba(17, 17, 17, 0.52);
  --card: #f6f8e3;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
::selection { background: var(--ink); color: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.logo { display: block; height: auto; }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: background .5s var(--ease), padding .5s var(--ease);
}
.nav.is-solid {
  background: rgba(228, 245, 58, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-top: 14px; padding-bottom: 14px;
}
.logo-nav { width: 168px; opacity: 0; transition: opacity .6s var(--ease); }
.nav.show-logo .logo-nav { opacity: 1; }
.nav-links { display: flex; gap: clamp(16px, 2.6vw, 36px); font-size: 14px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.nav-links a { transition: opacity .3s; }
.nav-links a:hover { opacity: .5; }

/* HERO */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; }
.hero-inner { width: 100%; max-width: 1320px; margin: 0 auto; padding: 120px var(--pad) 96px; }
.logo-hero { width: 100%; max-width: 1180px; }
.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .08s); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(40px, 7vw, 88px); flex-wrap: wrap; }
.hero-title { margin: 0; max-width: 620px; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.18; letter-spacing: -0.01em; }
.hero-side { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero-meta { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.9; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.fade { opacity: 0; transform: translateY(16px); animation: fadeUp 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.link-cta { font-size: 18px; font-weight: 400; display: inline-flex; gap: 12px; align-items: center; }
.link-cta i { font-style: normal; transition: transform .5s var(--ease); }
.link-cta:hover i { transform: translateX(6px); }

/* SECTIONS */
.section { padding: clamp(96px, 14vw, 180px) 0; }
.label { display: flex; gap: 14px; margin: 0 0 40px; font-size: 13px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.label span { color: var(--ink); }
.statement { margin: 0; max-width: 1080px; font-size: clamp(26px, 3.6vw, 50px); line-height: 1.22; letter-spacing: -0.012em; }
.statement .w { opacity: .2; transition: opacity .6s var(--ease); }
.statement .w.on { opacity: 1; }
.section-title { margin: 0 0 40px; font-weight: 300; font-size: clamp(32px, 4.4vw, 60px); letter-spacing: -0.015em; line-height: 1.1; }

/* MARQUEE */
.marquee { overflow: hidden; padding: 8px 0 24px; }
.marquee-track { display: flex; width: max-content; gap: 72px; align-items: center; animation: marquee 38s linear infinite; }
.marquee span { font-size: clamp(28px, 3.4vw, 48px); white-space: nowrap; color: rgba(17, 17, 17, .24); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* APPROACH */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 48px); }
.num { font-size: 13px; font-weight: 400; letter-spacing: .14em; color: var(--ink-3); }
.card h3 { margin: 28px 0 14px; font-weight: 400; font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 17px; max-width: 30ch; }

/* FOCUS */
.focus-list { margin: 0; }
.focus-list > div { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: baseline; padding: 22px 0; }
.focus-list dt { font-size: 13px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.focus-list dd { margin: 0; font-size: clamp(26px, 3.4vw, 46px); letter-spacing: -0.012em; line-height: 1.15; }

/* PORTFOLIO */
.filters { display: flex; flex-wrap: wrap; gap: 20px 44px; margin-bottom: 40px; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.filter-group > span { font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-right: 8px; }
.chip { font: inherit; font-size: 15px; cursor: pointer; color: var(--ink-3); background: transparent; border: 0; padding: 4px 6px; transition: color .3s; }
.chip:hover { color: var(--ink); }
.chip.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.companies { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.company { background: var(--card); border-radius: 4px; }
.company > a, .company > div { display: flex; flex-direction: column; height: 100%; padding: 32px; min-height: 300px; border-radius: 4px; transition: background .4s var(--ease); }
.company > a:hover { background: #fff; }
.company-logo { height: 64px; display: flex; align-items: center; margin-bottom: 40px; }
.company-logo img { max-height: 44px; max-width: 170px; object-fit: contain; }
.company-logo .wordmark { font-size: 26px; font-weight: 400; letter-spacing: -0.01em; }
.company h3 { margin: 0 0 10px; font-weight: 400; font-size: 20px; display: flex; gap: 10px; align-items: center; }
.company p { margin: 0 0 28px; color: var(--ink-2); font-size: 16px; }
.company-meta { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.badge { font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--bg); padding: 3px 8px; }
.company.enter { opacity: 0; transform: translateY(16px); animation: fadeUp .7s var(--ease) both; animation-delay: var(--d, 0s); }
.empty-filter { color: var(--ink-3); margin-top: 24px; }

/* CONTACT */
.contact { padding-bottom: clamp(120px, 16vw, 200px); }
.contact-title { margin: 0 0 48px; font-weight: 300; font-size: clamp(40px, 7vw, 104px); line-height: 1.02; letter-spacing: -0.025em; }
.contact-title em { font-style: normal; color: rgba(17, 17, 17, .4); }
.contact-mail { display: inline-block; font-size: clamp(20px, 2.4vw, 32px); transition: opacity .3s; }
.contact-mail:hover { opacity: .5; }

/* FOOTER */
.footer { padding: 0 0 48px; font-size: 14px; color: var(--ink-2); }
.footer-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.logo-foot { width: 180px; }
.footer p { margin: 0; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .companies { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .card h3 { margin-top: 16px; }
  .focus-list > div { grid-template-columns: 1fr; gap: 8px; }
  .companies { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reveal, .statement .w { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
