:root {
  --ink: #0d0e0c;
  --paper: #f1f0e9;
  --soft: #dedfd8;
  --acid: #d9ff43;
  --blue: #3155ff;
  --orange: #ff5a2f;
  --muted: #71736c;
  --line: rgba(13, 14, 12, .18);
  --shell: clamp(24px, 5vw, 80px);
  --radius: clamp(18px, 2vw, 30px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "PT Root UI", Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }

@font-face {
  font-family: "PT Root UI";
  src: url("../fonts/pt-root-ui_regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PT Root UI";
  src: url("../fonts/pt-root-ui_medium.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

.g4-shell { padding-inline: var(--shell); }
.g4-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.g4-kicker--light { color: #b5b7b0; }
.g4-kicker--dot { display: flex; align-items: center; gap: 10px; }
.g4-kicker--dot::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 18px var(--acid);
  content: "";
}
.g4-arrow { font-size: 1.15em; }
.g4-button {
  display: inline-flex;
  min-width: 205px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 16px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.g4-button:hover { transform: translateY(-3px); }
.g4-button--acid { border-color: var(--acid); background: var(--acid); color: var(--ink); }
.g4-button--dark { border-color: var(--ink); background: var(--ink); color: #fff; }
.g4-button--ghost { border-color: rgba(255,255,255,.28); }
.g4-button--ghost:hover { background: #fff; color: var(--ink); }

.g4-header {
  position: absolute;
  z-index: 50;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 26px var(--shell);
  color: #fff;
}
.g4-header--paper { position: relative; background: var(--paper); color: var(--ink); }
.g4-brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.g4-brand__mark { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 10px; letter-spacing: 0; }
.g4-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; }
.g4-nav a, .g4-header__mail, .g4-footer a { transition: opacity .2s ease; }
.g4-nav a:hover, .g4-header__mail:hover, .g4-footer a:hover { opacity: .58; }
.g4-header__mail { justify-self: end; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 14px; }
.g4-menu-toggle { display: none; justify-self: end; border: 0; background: transparent; cursor: pointer; }
.g4-mobile-menu { display: none; }

.g4-hero {
  position: relative;
  display: grid;
  min-height: min(940px, 100svh);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  padding-top: 130px;
  padding-bottom: 90px;
  background: var(--ink);
  color: #fff;
}
.g4-hero::before {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg,#000,transparent 72%);
  content: "";
}
.g4-hero__copy { position: relative; z-index: 2; width: min(880px, 68vw); min-width: 0; }
.g4-hero h1 {
  margin: 32px 0 0;
  max-width: 920px;
  font-size: clamp(60px, 8.5vw, 136px);
  font-weight: 600;
  letter-spacing: -.075em;
  line-height: .84;
}
.g4-hero h1 em { display: block; margin-left: clamp(0px, 8vw, 130px); color: var(--acid); font-size: .72em; letter-spacing: -.05em; }
.g4-hero__body { width: min(620px, 66vw); max-width: 100%; margin-top: 42px; color: #c1c3bc; font-size: clamp(18px,1.55vw,23px); }
.g4-hero__body p { margin: 0; }
.g4-hero__actions { display: flex; gap: 12px; margin-top: 42px; }
.g4-hero__art { position: absolute; z-index: 1; top: 50%; right: -8vw; width: min(55vw, 790px); aspect-ratio: 1; transform: translateY(-50%); }
.g4-orbit { position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; animation: g4-pulse 8s ease-in-out infinite; }
.g4-orbit:nth-child(1) { inset: 2%; }
.g4-orbit:nth-child(2) { inset: 17%; border-color: rgba(217,255,67,.42); animation-delay: 1s; }
.g4-orbit:nth-child(3) { inset: 32%; border-color: rgba(90,118,255,.72); background: rgba(49,85,255,.16); animation-delay: 2s; }
.g4-orbit__core { position: absolute; inset: 42%; display: grid; place-items: center; border-radius: 50%; background: var(--blue); box-shadow: 0 0 100px rgba(49,85,255,.55); font-size: 38px; }
.g4-orbit__label { position: absolute; padding: 8px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 99px; background: rgba(13,14,12,.7); font-size: 9px; letter-spacing: .16em; }
.g4-orbit__label--a { top: 22%; left: 6%; }
.g4-orbit__label--b { top: 43%; right: 9%; }
.g4-orbit__label--c { bottom: 18%; left: 15%; }
.g4-hero__meta { position: absolute; z-index: 3; right: var(--shell); bottom: 28px; left: var(--shell); display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); color: #8f918a; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

.g4-intro { padding-top: clamp(95px, 10vw, 160px); padding-bottom: clamp(95px, 10vw, 160px); }
.g4-intro__grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 8vw; margin: 65px 0 110px clamp(0px, 12vw, 190px); }
.g4-intro h2, .g4-section-title, .g4-contact h2 { margin: 0; font-size: clamp(42px, 5.4vw, 84px); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
.g4-intro__text { margin-top: 8px; color: #55574f; font-size: 18px; line-height: 1.6; }

.g4-work { padding-top: clamp(90px, 9vw, 145px); padding-bottom: clamp(90px, 10vw, 165px); background: var(--soft); }
.g4-section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: end; margin-bottom: 72px; }
.g4-section-head__link { justify-self: end; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 14px; }
.g4-projects { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: clamp(14px,1.6vw,24px); }
.g4-card { grid-column: span 6; min-width: 0; }
.g4-card--feature { grid-column: 1 / -1; margin-bottom: clamp(20px,3vw,44px); }
.g4-card:nth-child(4n+3) { grid-column: span 7; }
.g4-card:nth-child(4n+4) { grid-column: span 5; }
.g4-card__visual { position: relative; overflow: hidden; min-height: clamp(340px,42vw,650px); border-radius: var(--radius); background: #222; }
.g4-card:not(.g4-card--feature) .g4-card__visual { min-height: clamp(330px,33vw,520px); }
.g4-card__visual::after { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 50%,rgba(0,0,0,.42)); content: ""; }
.g4-card__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.g4-card:hover img { transform: scale(1.025); }
.g4-card__badge { position: absolute; z-index: 2; top: 22px; left: 22px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.46); border-radius: 99px; background: rgba(13,14,12,.42); color: #fff; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(8px); }
.g4-card__index { position: absolute; z-index: 2; right: 22px; bottom: 20px; color: #fff; font-size: 11px; letter-spacing: .1em; }
.g4-card__info { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; padding: 20px 4px 42px; }
.g4-card__company { margin: 0 0 6px; color: var(--muted); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.g4-card h3 { max-width: 800px; margin: 0; font-size: clamp(22px,2.2vw,34px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.g4-card--feature h3 { font-size: clamp(30px,3vw,48px); }
.g4-card__type { flex: 0 0 auto; color: var(--muted); font-size: 10px; letter-spacing: .07em; text-align: right; text-transform: uppercase; }

.g4-services { padding-top: clamp(90px,9vw,140px); padding-bottom: clamp(90px,9vw,145px); }
.g4-service-list { margin-top: 72px; border-top: 1px solid var(--line); }
.g4-service { display: grid; grid-template-columns: 1.1fr 1fr 44px; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--line); transition: padding .25s,background .25s; }
.g4-service:hover { padding-inline: 18px; background: var(--acid); }
.g4-service__number { color: var(--muted); font-size: 12px; }
.g4-service h3 { margin: -7px 0 0; font-size: clamp(26px,2.5vw,40px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.g4-service p { max-width: 530px; margin: 0; color: #55574f; }
.g4-service__arrow { justify-self: end; font-size: 22px; }

.g4-clients { padding-top: 100px; padding-bottom: 120px; background: var(--ink); color: #fff; }
.g4-clients__list { display: grid; grid-template-columns: repeat(6,1fr); margin-top: 60px; border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.g4-clients__item { display: grid; min-height: 150px; place-items: center; padding: 26px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.g4-clients__item img { max-width: 116px; max-height: 58px; filter: grayscale(1) brightness(0) invert(1); opacity: .72; }

.g4-contact { position: relative; overflow: hidden; min-height: 680px; display: flex; flex-direction: column; justify-content: center; background: var(--acid); }
.g4-contact h2 { position: relative; z-index: 2; max-width: 1080px; margin-top: 35px; font-size: clamp(54px,8vw,126px); }
.g4-contact h2 em { color: var(--blue); }
.g4-contact__mail { position: relative; z-index: 2; align-self: flex-start; margin-top: 50px; padding-bottom: 7px; border-bottom: 2px solid; font-size: clamp(20px,2.4vw,34px); }
.g4-contact__orb { position: absolute; top: -14vw; right: -9vw; width: 48vw; aspect-ratio: 1; border: 1px solid rgba(13,14,12,.2); border-radius: 50%; box-shadow: 0 0 0 70px rgba(13,14,12,.04),0 0 0 140px rgba(13,14,12,.03); }

.g4-footer { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 40px; padding-top: 46px; padding-bottom: 48px; background: var(--ink); color: #fff; }
.g4-footer p { margin: 0; color: #94968e; font-size: 13px; }
.g4-footer__links { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.g4-footer__copyright { text-align: right; }

.g4-cookie {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: min(440px, calc(100vw - 44px));
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 18px 18px 18px 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(13,14,12,.94);
  color: #fff;
  box-shadow: 0 18px 70px rgba(0,0,0,.24);
  backdrop-filter: blur(16px);
}
.g4-cookie[hidden] { display: none; }
.g4-cookie__body { color: #c6c8c1; font-size: 12px; }
.g4-cookie__body p { margin: 0; }
.g4-cookie__body a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.45); }
.g4-cookie__button { padding: 10px 14px; border: 0; border-radius: 99px; background: var(--acid); color: var(--ink); cursor: pointer; }

.g4-list-hero { padding-top: clamp(80px,9vw,140px); padding-bottom: 80px; }
.g4-list-hero h1 { max-width: 1050px; margin: 24px 0 0; font-size: clamp(64px,10vw,160px); font-weight: 500; letter-spacing: -.075em; line-height: .82; }
.g4-list-hero__aside { max-width: 500px; margin: 65px 0 0 auto; color: #55574f; font-size: 20px; }
.g4-project-list { padding-bottom: 140px; }

.g4-case-hero { position: relative; overflow: hidden; min-height: 100svh; background: var(--ink); color: #fff; }
.g4-case-hero__image { position: absolute; inset: 0; }
.g4-case-hero__image::after { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.78)); content: ""; }
.g4-case-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.g4-case-hero__content { position: relative; z-index: 2; display: flex; min-height: 100svh; flex-direction: column; justify-content: flex-end; padding-top: 140px; padding-bottom: 64px; }
.g4-case-hero__company { margin: 0 0 24px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.g4-case-hero h1 { max-width: 1200px; margin: 0; font-size: clamp(48px,7vw,112px); font-weight: 500; letter-spacing: -.06em; line-height: .9; }
.g4-case-hero__bottom { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-top: 52px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.35); }
.g4-case-hero__bottom span { max-width: 440px; color: #d2d3cd; font-size: 13px; }
.g4-case-intro { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(260px,.7fr); gap: 9vw; padding-top: clamp(90px,10vw,160px); padding-bottom: clamp(90px,10vw,160px); }
.g4-case-intro__body { font-size: clamp(22px,2.2vw,34px); line-height: 1.35; }
.g4-case-intro__body > *:first-child { margin-top: 0; }
.g4-case-intro__body h2 { margin: 60px 0 20px; font-size: clamp(32px,4vw,58px); font-weight: 500; letter-spacing: -.04em; }
.g4-case-intro__meta { align-self: start; border-top: 1px solid var(--line); }
.g4-case-meta__group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.g4-case-meta__label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.g4-case-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.g4-case-tags li { padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; font-size: 11px; }
.g4-case-gallery { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: clamp(18px,2.4vw,38px); padding-bottom: clamp(100px,10vw,170px); }
.g4-case-image { grid-column: 1 / -1; overflow: hidden; border-radius: var(--radius); background: #e4e4de; }
.g4-case-image:nth-child(3n+2) { grid-column: 1 / span 8; }
.g4-case-image:nth-child(3n+3) { grid-column: 5 / -1; }
.g4-case-image img { width: 100%; height: auto; }
.g4-next { display: block; padding-top: 80px; padding-bottom: 85px; background: var(--acid); }
.g4-next__label { color: #4e561f; }
.g4-next__title { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; margin-top: 28px; font-size: clamp(42px,6vw,90px); font-weight: 500; letter-spacing: -.055em; line-height: .95; }
.g4-next__title span:last-child { flex: 0 0 auto; color: var(--blue); }

.g4-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.g4-reveal.is-visible { opacity: 1; transform: none; }
@keyframes g4-pulse { 0%,100% { transform: scale(1); opacity: .75; } 50% { transform: scale(1.035); opacity: 1; } }

@media (max-width: 980px) {
  .g4-header { grid-template-columns: 1fr auto; }
  .g4-nav, .g4-header__mail { display: none; }
  .g4-menu-toggle { display: block; }
  .g4-mobile-menu { position: fixed; z-index: 45; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 130px var(--shell) 55px; visibility: hidden; opacity: 0; background: var(--acid); transition: opacity .25s, visibility .25s; }
  .menu-open .g4-mobile-menu { visibility: visible; opacity: 1; }
  .g4-mobile-menu nav { display: flex; flex-direction: column; gap: 10px; font-size: clamp(38px,8vw,72px); letter-spacing: -.05em; line-height: 1; }
  .g4-mobile-menu__mail { margin-top: 55px; font-size: 20px; }
  .g4-hero { min-height: 860px; align-items: start; padding-top: 165px; }
  .g4-hero__copy { width: 100%; max-width: 100%; }
  .g4-hero h1 em { margin-left: 0; }
  .g4-hero__body { width: min(100%,580px); }
  .g4-hero__art { top: 70%; right: -36vw; width: 98vw; opacity: .6; }
  .g4-intro__grid { grid-template-columns: 1fr; margin-left: 0; }
  .g4-section-head { grid-template-columns: 1fr; }
  .g4-section-head__link { justify-self: start; }
  .g4-card, .g4-card:nth-child(n) { grid-column: 1 / -1; }
  .g4-card__visual, .g4-card:not(.g4-card--feature) .g4-card__visual { min-height: 56vw; }
  .g4-service { grid-template-columns: 1fr 36px; }
  .g4-service p { grid-column: 1 / -1; }
  .g4-service__arrow { grid-column: 2; grid-row: 1; }
  .g4-clients__list { grid-template-columns: repeat(3,1fr); }
  .g4-footer { grid-template-columns: 1fr 1fr; }
  .g4-footer__copyright { text-align: left; }
  .g4-case-intro { grid-template-columns: 1fr; }
  .g4-case-intro__meta { width: min(100%,520px); }
}

@media (max-width: 580px) {
  .g4-header { gap: 16px; padding-top: 18px; }
  .g4-brand > span:last-child { display: none; }
  .g4-hero { min-height: 810px; padding-top: 125px; }
  .g4-hero h1 { font-size: 48px; line-height: .9; overflow-wrap: anywhere; }
  .g4-hero h1 em { font-size: .72em; }
  .g4-hero__body { margin-top: 34px; font-size: 17px; }
  .g4-hero__actions { width: 100%; flex-direction: column; }
  .g4-button { width: 100%; min-width: 0; }
  .g4-hero__meta { gap: 18px; align-items: flex-end; }
  .g4-hero__meta span:last-child { text-align: right; }
  .g4-intro__grid { margin-top: 42px; margin-bottom: 70px; }
  .g4-section-head { margin-bottom: 46px; }
  .g4-card__visual, .g4-card:not(.g4-card--feature) .g4-card__visual { min-height: 78vw; }
  .g4-card__info { flex-direction: column; align-items: flex-start; }
  .g4-card__type { text-align: left; }
  .g4-service { gap: 14px; }
  .g4-service:hover { padding-inline: 8px; }
  .g4-clients__list { grid-template-columns: repeat(2,1fr); }
  .g4-clients__item { min-height: 120px; }
  .g4-contact { min-height: 590px; }
  .g4-contact h2 { font-size: 54px; }
  .g4-footer { grid-template-columns: 1fr; }
  .g4-footer .g4-brand > span:last-child { display: inline; }
  .g4-list-hero h1 { font-size: 68px; }
  .g4-case-hero h1 { font-size: 48px; }
  .g4-case-hero__bottom { flex-direction: column; align-items: flex-start; }
  .g4-case-intro__body { font-size: 20px; }
  .g4-case-image:nth-child(n) { grid-column: 1 / -1; }
  .g4-next__title { flex-direction: column; align-items: flex-start; }
  .g4-cookie { right: 12px; bottom: 12px; width: calc(100vw - 24px); grid-template-columns: 1fr; gap: 14px; }
  .g4-cookie__button { width: 100%; }
}

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