@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@500;600;700&display=swap");

:root {
  --ink: #0a0a0a;
  --paper: #f1efe9;
  --acid: #d9ff43;
  --orange: #ff5b1f;
  --muted: #77756f;
  --line: rgba(10, 10, 10, 0.18);
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(22px, 4vw, 64px);
  color: #fff;
  transition: background 220ms ease, color 220ms ease, height 220ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto clamp(22px, 4vw, 64px) 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  transition: background 220ms ease;
}

.site-header.is-scrolled {
  height: 70px;
  background: rgba(241, 239, 233, 0.92);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled::after {
  background: var(--line);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: flex-end;
  gap: 9px;
  line-height: 1;
}

.brand-main {
  font-family: "Unbounded", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.08em;
  transition: opacity 160ms ease;
}

.brand-main:hover {
  opacity: 0.58;
}

.brand-sub {
  padding-bottom: 1px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a,
.header-cta,
.text-link {
  transition: opacity 160ms ease;
}

.nav a:hover,
.header-cta:hover,
.text-link:hover {
  opacity: 0.56;
}

.header-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.header-cta span {
  font-size: 18px;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #090b0e;
}

.hero-image,
.hero-shade,
.hero-noise {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  animation: hero-drift 16s ease-out both;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.05) 34%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.25), transparent 60%);
}

.hero-noise {
  opacity: 0.14;
  background:
    repeating-radial-gradient(circle at 23% 31%, rgba(255, 255, 255, 0.34) 0 0.6px, transparent 0.8px 4px),
    repeating-radial-gradient(circle at 73% 67%, rgba(0, 0, 0, 0.3) 0 0.5px, transparent 0.7px 3px);
  background-size: 8px 8px, 7px 7px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 142px clamp(22px, 4vw, 64px) clamp(34px, 5vw, 72px);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: clamp(28px, 5vw, 72px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 22px var(--acid);
}

.hero h1 {
  max-width: 1220px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(48px, 7.7vw, 116px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero h1 em,
.contact h2 em {
  display: block;
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.17em;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.hero-bottom {
  margin-top: clamp(36px, 5vw, 70px);
  display: grid;
  grid-template-columns: minmax(260px, 500px) auto;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}

.hero-bottom > p {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
}

.circle-link {
  width: 116px;
  height: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.circle-link:hover {
  transform: rotate(-6deg);
  background: var(--acid);
  color: var(--ink);
}

.circle-link b {
  font-size: 22px;
  font-weight: 500;
}

.hero-index {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: clamp(18px, 2vw, 32px);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.section-pad {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(90px, 10vw, 160px) clamp(22px, 4vw, 64px);
}

.section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.manifesto {
  border-bottom: 1px solid var(--line);
}

.manifesto-copy {
  margin-top: 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(50px, 10vw, 160px);
  align-items: end;
}

.manifesto h2,
.section-head h2,
.services-intro h2,
.humagent-copy h2,
.contact h2 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(38px, 5.5vw, 78px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.065em;
}

.manifesto h2 span {
  color: #aaa69f;
}

.manifesto-note p,
.case-summary > p,
.humagent-lead {
  color: #5e5c57;
  font-size: 16px;
  line-height: 1.7;
}

.manifesto-note a,
.text-link {
  width: max-content;
  display: flex;
  gap: 18px;
  margin-top: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work {
  max-width: none;
  background: var(--ink);
  color: #fff;
}

.work > * {
  max-width: calc(var(--max) - 128px);
  margin-right: auto;
  margin-left: auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: clamp(60px, 8vw, 120px);
}

.section-head h2 {
  margin-top: 24px;
}

.section-head > p {
  max-width: 240px;
  padding-bottom: 8px;
  color: #9c9b97;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-case {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.72fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}

.case-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #171717;
}

.case-visual img,
.frame img {
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.case-visual:hover img,
.frame:hover img {
  transform: scale(1.035);
}

.case-number {
  position: absolute;
  top: 20px;
  left: 20px;
  min-width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.case-caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 24px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.76));
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-summary h3 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(31px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.case-summary > p {
  margin-top: 28px;
  color: #aaa8a2;
}

.case-summary ul {
  margin: 30px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.case-summary li {
  padding: 7px 0;
  color: #d5d3cd;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.frame-grid {
  margin-top: clamp(70px, 9vw, 130px);
  display: grid;
  grid-template-columns: 0.82fr 1.2fr;
  gap: 16px;
}

.frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: #171717;
}

.frame-tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.frame figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  padding: 36px 18px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services {
  padding-bottom: 80px;
}

.services-intro {
  display: grid;
  grid-template-columns: 1fr 2.15fr;
  gap: 40px;
  align-items: start;
  padding-bottom: clamp(60px, 8vw, 120px);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 90px minmax(250px, 0.9fr) minmax(280px, 0.7fr);
  gap: 40px;
  align-items: center;
  min-height: 150px;
  border-bottom: 1px solid var(--line);
}

.service > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.service h3 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.service p {
  color: #686660;
  font-size: 14px;
  line-height: 1.65;
}

.process {
  margin-top: 90px;
  padding: 40px;
  background: var(--acid);
}

.process ol {
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
}

.process li {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 18px;
  border-left: 1px solid rgba(10, 10, 10, 0.24);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.process li:first-child {
  padding-left: 0;
  border-left: 0;
}

.process li span {
  font-size: 10px;
}

.humagent {
  max-width: none;
  padding-top: 80px;
  background: #d9dfd7;
}

.humagent-card {
  max-width: calc(var(--max) - 128px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  background: #f4f2ec;
}

.humagent-visual {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background: #103e29;
}

.humagent-visual img {
  height: 100%;
  object-fit: cover;
}

.humagent-visual > span {
  position: absolute;
  top: 26px;
  left: 26px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.humagent-copy {
  padding: clamp(40px, 5vw, 80px);
}

.humagent-copy h2 {
  margin-top: 32px;
  font-size: clamp(34px, 4.4vw, 64px);
}

.humagent-lead {
  margin-top: 34px;
  max-width: 610px;
}

.humagent-facts {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.humagent-facts strong {
  display: block;
  min-height: 42px;
  font-size: 12px;
  line-height: 1.35;
}

.humagent-facts p {
  margin-top: 12px;
  color: #6f6c66;
  font-size: 11px;
  line-height: 1.55;
}

.contact {
  max-width: none;
  background: var(--orange);
  color: var(--ink);
}

.contact-inner {
  max-width: calc(var(--max) - 128px);
  margin: 0 auto;
}

.contact h2 {
  margin-top: 56px;
  font-size: clamp(48px, 8vw, 116px);
}

.contact h2 em {
  color: var(--ink);
}

.contact-link {
  margin-top: clamp(60px, 8vw, 110px);
  padding: 26px 0 16px;
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(20px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.contact-link span {
  transition: transform 180ms ease;
}

.contact-link:hover span {
  transform: translate(6px, -6px);
}

.footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.7fr auto;
  align-items: center;
  gap: 30px;
  padding: 30px clamp(22px, 4vw, 64px);
  background: var(--ink);
  color: #fff;
}

.footer p {
  color: #9c9a95;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-drift {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: fixed;
    inset: 70px 0 auto;
    display: none;
    padding: 34px 22px 44px;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    background: var(--paper);
    color: var(--ink);
    font-size: 18px;
  }

  .site-header.menu-active {
    background: var(--paper);
    color: var(--ink);
  }

  .site-header.menu-active .nav {
    display: flex;
  }

  .menu-button {
    justify-self: end;
    width: 42px;
    height: 42px;
    display: grid;
    align-content: center;
    gap: 7px;
    padding: 0 8px;
    border: 0;
    background: transparent;
  }

  .menu-button span {
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-active .menu-button span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-active .menu-button span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .manifesto-copy,
  .featured-case,
  .humagent-card {
    grid-template-columns: 1fr;
  }

  .manifesto-note {
    max-width: 500px;
  }

  .case-summary {
    max-width: 620px;
  }

  .service {
    grid-template-columns: 56px minmax(240px, 0.8fr) 1fr;
  }

  .humagent-visual {
    min-height: 500px;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    height: 70px;
  }

  .hero-content {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero h1 {
    font-size: clamp(42px, 12.5vw, 70px);
  }

  .hero-bottom {
    grid-template-columns: 1fr auto;
    gap: 20px;
  }

  .circle-link {
    width: 88px;
    height: 88px;
  }

  .hero-index {
    display: none;
  }

  .manifesto-copy {
    margin-top: 38px;
  }

  .section-head,
  .services-intro {
    display: block;
  }

  .section-head > p {
    margin-top: 28px;
  }

  .services-intro h2 {
    margin-top: 26px;
  }

  .featured-case {
    gap: 36px;
  }

  .case-visual {
    aspect-ratio: 4 / 5;
  }

  .case-visual img {
    object-position: 54% center;
  }

  .frame-grid {
    grid-template-columns: 1fr;
  }

  .frame,
  .frame-tall {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .service {
    grid-template-columns: 40px 1fr;
    gap: 20px;
    align-items: start;
    padding: 28px 0;
  }

  .service p {
    grid-column: 2;
  }

  .process {
    padding: 30px 24px;
  }

  .process ol {
    grid-template-columns: 1fr;
  }

  .process li,
  .process li:first-child {
    min-height: auto;
    padding: 18px 0;
    flex-direction: row;
    justify-content: flex-start;
    gap: 30px;
    border-left: 0;
    border-top: 1px solid rgba(10, 10, 10, 0.24);
  }

  .humagent-card {
    margin-right: -22px;
    margin-left: -22px;
  }

  .humagent-visual {
    min-height: 360px;
  }

  .humagent-facts {
    grid-template-columns: 1fr;
  }

  .humagent-facts strong {
    min-height: auto;
  }

  .contact-link {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    letter-spacing: -0.02em;
  }

  .footer {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 54px;
    padding-bottom: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
