:root {
  --bg: #0b0b0c;
  --surface: #151517;
  --text: #f4f4ef;
  --muted: #a4a49e;
  --line: #2a2a2d;
  --accent: #5c6cff;
  --ifood: #ea1d2c;
  --xp: #f2b705;
  --bba: #ec7000;
  --page: min(100% - 48px, 1440px);
  --measure: 720px;
  --header-h: 76px;
  --radius: 10px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: #fff;
  background: var(--accent);
}

img,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--text);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: var(--header-h);
  border-bottom: 0;
  background: #000;
}

.header-inner {
  width: 96%;
  max-width: none;
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "nav spacer brand";
  align-items: center;
  gap: 14px;
}

.site-name {
  grid-area: brand;
  justify-self: end;
  width: 60px;
  height: 60px;
  overflow: hidden;
  background: url("../assets/logo.gif") center / contain no-repeat;
  font-size: 0;
}

.site-nav {
  grid-area: nav;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-inner > span[aria-hidden="true"] {
  grid-area: spacer;
}

.nav-link,
.lang-btn {
  position: relative;
  border: 0;
  padding: 8px 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-size: 26px;
  font-weight: 400;
}

.nav-link::after,
.lang-btn::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.lang-btn:hover::after,
.lang-btn.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link[aria-current="page"],
.lang-btn.is-active {
  color: var(--text);
}

.site-nav .nav-link:first-child {
  font-weight: 700;
}

.language-switch {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch span {
  color: var(--line);
}

.site-main {
  min-height: 100vh;
  min-height: 100dvh;
}

.home-hero {
  width: var(--page);
  min-height: min(82svh, 780px);
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(72px, 10vw, 148px)) 0 clamp(72px, 10vw, 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-hero h1,
.case-title,
.about-title {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .96;
  text-wrap: balance;
}

.home-hero h1 {
  max-width: 1120px;
  font-size: clamp(48px, 7.6vw, 108px);
}

.hero-subtitle {
  max-width: 680px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

.work-shell,
.archive-shell,
.about-shell,
.case-shell {
  width: var(--page);
  margin: 0 auto;
}

.work-shell {
  padding: 0 0 clamp(112px, 12vw, 180px);
}

.section-heading {
  margin: 0 0 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: 14px;
  letter-spacing: -.01em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px) clamp(16px, 2vw, 32px);
}

.project-card {
  display: block;
  min-width: 0;
}

.project-card--wide {
  grid-column: span 7;
}

.project-card--tall {
  grid-column: span 5;
}

.project-card-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.project-card--wide .project-card-media {
  aspect-ratio: 16 / 10;
}

.project-card--tall .project-card-media {
  aspect-ratio: 4 / 5;
}

.project-card-media img,
.project-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 500ms var(--ease);
}

.project-card:hover .project-card-media img,
.project-card:hover .project-card-media video {
  transform: scale(1.025);
  filter: saturate(1.06);
}

.project-card-info {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: baseline;
}

.project-card-title {
  margin: 0;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 650;
  letter-spacing: -.035em;
}

.project-card-meta {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-card-copy {
  max-width: 540px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.archive-shell {
  padding-bottom: clamp(96px, 12vw, 180px);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 20px;
}

.archive-card .project-card-media {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
}

.archive-card .project-card-title {
  font-size: clamp(16px, 1.5vw, 20px);
}

.site-footer {
  width: var(--page);
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--text);
}

.back-to-top {
  position: fixed;
  z-index: 40;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: var(--surface);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), background 180ms var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
}

.case-shell {
  padding-top: calc(var(--header-h) + clamp(64px, 8vw, 116px));
  padding-bottom: clamp(100px, 12vw, 180px);
}

.case-kicker {
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}

.case-title,
.about-title {
  max-width: 1100px;
  font-size: clamp(48px, 7.2vw, 102px);
}

.case-title {
  margin-inline: auto;
  text-align: center;
}

.case-deck {
  max-width: 820px;
  margin: 28px auto 56px;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 34px);
  line-height: 1.25;
  letter-spacing: -.025em;
  text-align: center;
  text-wrap: balance;
}

.case-hero-media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background: var(--surface);
}

.case-hero-media img,
.case-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-settle 1200ms var(--ease) both;
}

@keyframes hero-settle {
  from { transform: scale(1.035); opacity: .72; }
  to { transform: scale(1); opacity: 1; }
}

.case-intro {
  margin: clamp(64px, 9vw, 132px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: clamp(48px, 10vw, 160px);
  align-items: start;
}

.case-lead {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.case-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.case-facts div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.case-facts dt {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.case-facts dd {
  margin: 0;
  font-size: 14px;
}

.case-section {
  margin-top: clamp(96px, 12vw, 180px);
}

.case-copy {
  max-width: min(var(--measure), 760px);
  margin: 0 auto 48px;
  text-align: center;
}

.case-copy h2 {
  max-width: 20ch;
  margin: 0 auto 20px;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.06;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.case-copy p {
  max-width: 60ch;
  margin: 0 auto;
  color: #c7c7c1;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.58;
  hyphens: none;
  orphans: 3;
  text-wrap: pretty;
  widows: 3;
}

.case-copy p + p {
  margin-top: 22px;
}

.case-image,
.case-video,
.case-grid figure {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--surface);
}

.case-image img,
.case-video video,
.case-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-image--wide {
  aspect-ratio: 16 / 9;
}

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

.case-grid {
  display: grid;
  gap: clamp(12px, 1.5vw, 24px);
}

.case-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-grid--2.case-grid--landscape figure {
  aspect-ratio: 3 / 2;
}

.case-grid--2 figure {
  aspect-ratio: 4 / 5;
}

.case-grid--3 figure {
  aspect-ratio: 4 / 5;
}

.case-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.case-split--reverse {
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
}

.case-split--reverse .case-copy {
  order: 2;
}

.case-split .case-copy {
  max-width: 600px;
  margin: 0 auto;
}

.case-split .case-copy h2 {
  max-width: 17ch;
  font-size: clamp(30px, 3.15vw, 48px);
}

.case-split .case-copy p {
  max-width: 48ch;
}

.case-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.case-shell--xp,
.case-shell--ifood,
.case-shell--bba {
  --editorial-radius: 20px;
}

.case-shell--xp .case-hero-media,
.case-shell--xp .case-video,
.case-shell--ifood .case-hero-media,
.case-shell--ifood .case-video,
.case-shell--bba .case-hero-media,
.case-shell--bba .case-video {
  overflow: hidden;
  border-radius: var(--editorial-radius);
}

.xp-section,
.ifood-section,
.bba-section {
  margin-top: clamp(80px, 10vw, 148px);
}

.xp-bento,
.ifood-bento,
.bba-bento {
  display: grid;
  gap: clamp(12px, 1.35vw, 20px);
}

.xp-copy-card,
.xp-tile,
.ifood-copy-card,
.ifood-tile,
.bba-copy-card,
.bba-tile {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--editorial-radius);
  background: #141416;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 7%);
}

.xp-copy-card,
.ifood-copy-card,
.bba-copy-card {
  padding: clamp(30px, 4.5vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.xp-chapter,
.ifood-chapter,
.bba-chapter {
  margin: 0 0 clamp(22px, 2.4vw, 34px);
  color: var(--xp);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.xp-copy-card h2,
.ifood-copy-card h2,
.bba-copy-card h2 {
  max-width: 14ch;
  margin: 0 0 22px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.01;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.xp-copy-card h2 {
  max-width: 16ch;
  font-size: clamp(32px, 3.35vw, 50px);
}

.xp-copy-card > p:not(.xp-chapter),
.ifood-copy-card > p:not(.ifood-chapter),
.bba-copy-card > p:not(.bba-chapter) {
  max-width: 52ch;
  margin: 0;
  color: #c7c7c1;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  orphans: 3;
  text-wrap: pretty;
  widows: 3;
}

.xp-copy-card > p + p:not(.xp-chapter),
.ifood-copy-card > p + p:not(.ifood-chapter),
.bba-copy-card > p + p:not(.bba-chapter) {
  margin-top: 18px;
}

.xp-copy-card > p:not(.xp-chapter) {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.5;
}

.xp-tile,
.ifood-tile,
.bba-tile {
  position: relative;
  min-height: 0;
  margin: 0;
  isolation: isolate;
}

.xp-tile::after,
.ifood-tile::after,
.bba-tile::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 32%;
  background: linear-gradient(180deg, transparent, rgb(0 0 0 / 64%));
  content: "";
  pointer-events: none;
}

.xp-tile:not(:has(figcaption))::after,
.ifood-tile:not(:has(figcaption))::after,
.bba-tile:not(:has(figcaption))::after {
  display: none;
}

.xp-tile img,
.xp-tile video,
.ifood-tile img,
.ifood-tile video,
.bba-tile img,
.bba-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xp-tile figcaption,
.ifood-tile figcaption,
.bba-tile figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 2.2vw, 30px);
  bottom: clamp(16px, 2vw, 26px);
  left: clamp(18px, 2.2vw, 30px);
  color: rgb(255 255 255 / 82%);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .02em;
}

.xp-bento--context {
  grid-template-areas:
    "copy crowd"
    "copy arena";
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: 360px 360px;
}

.xp-bento--context .xp-copy-card { grid-area: copy; }
.xp-tile--context-crowd { grid-area: crowd; }
.xp-tile--context-arena { grid-area: arena; }

.xp-bento--system {
  grid-template-areas:
    "copy portrait"
    "motion portrait";
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: 480px 360px;
}

.xp-bento--system .xp-copy-card { grid-area: copy; }
.xp-tile--system-portrait { grid-area: portrait; }
.xp-tile--system-motion { grid-area: motion; }

.xp-bento--scale {
  grid-template-areas:
    "copy stage stage"
    "copy simulator drills"
    "expo expo drills";
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  grid-template-rows: 440px 340px 380px;
}

.xp-bento--scale .xp-copy-card { grid-area: copy; }
.xp-tile--scale-stage { grid-area: stage; }
.xp-tile--scale-drills { grid-area: drills; }
.xp-tile--scale-expo { grid-area: expo; }
.xp-tile--scale-simulator { grid-area: simulator; }

.xp-bento--live {
  grid-template-areas:
    "copy operator operator"
    "desks desks score"
    "trader participant championship";
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  grid-template-rows: 460px 500px 400px;
}

.xp-bento--live .xp-copy-card { grid-area: copy; }
.xp-tile--live-operator { grid-area: operator; }
.xp-tile--live-desks { grid-area: desks; }
.xp-tile--live-score { grid-area: score; }
.xp-tile--live-trader { grid-area: trader; }
.xp-tile--live-participant { grid-area: participant; }
.xp-tile--live-championship { grid-area: championship; }

.xp-bento--community {
  grid-template-areas:
    "copy speaker-a speaker-b"
    "awards awards show"
    "final final final";
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 600px 400px auto;
}

.xp-bento--community .xp-copy-card { grid-area: copy; }
.xp-tile--community-speaker-a { grid-area: speaker-a; }
.xp-tile--community-speaker-b { grid-area: speaker-b; }
.xp-tile--community-awards { grid-area: awards; }
.xp-tile--community-show { grid-area: show; }
.xp-tile--community-final {
  grid-area: final;
  aspect-ratio: 16 / 9;
}

.ifood-chapter {
  color: var(--ifood);
}

.ifood-copy-card h2 {
  font-size: clamp(32px, 3.35vw, 50px);
}

.ifood-copy-card > p:not(.ifood-chapter) {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.5;
}

.ifood-bento--context {
  grid-template-areas:
    "copy facade"
    "copy tower";
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: 390px 390px;
}

.ifood-bento--context .ifood-copy-card { grid-area: copy; }
.ifood-tile--context-facade { grid-area: facade; }
.ifood-tile--context-tower { grid-area: tower; }

.ifood-bento--park {
  grid-template-areas:
    "copy opening ambience"
    "brasil lounge lounge";
  grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr);
  grid-template-rows: 720px 460px;
}

.ifood-bento--park .ifood-copy-card { grid-area: copy; }
.ifood-tile--park-opening { grid-area: opening; }
.ifood-tile--park-ambience { grid-area: ambience; }
.ifood-tile--park-brasil { grid-area: brasil; }
.ifood-tile--park-lounge { grid-area: lounge; }

.ifood-bento--custom {
  grid-template-areas:
    "copy station accessories"
    "ball fashion fashion";
  grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr);
  grid-template-rows: 760px 460px;
}

.ifood-bento--custom .ifood-copy-card { grid-area: copy; }
.ifood-tile--custom-station { grid-area: station; }
.ifood-tile--custom-accessories { grid-area: accessories; }
.ifood-tile--custom-ball { grid-area: ball; }
.ifood-tile--custom-fashion { grid-area: fashion; }

.ifood-bento--action {
  grid-template-areas:
    "copy public challenge"
    "larican gift challenge";
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 700px 460px;
}

.ifood-bento--action .ifood-copy-card { grid-area: copy; }
.ifood-tile--action-public { grid-area: public; }
.ifood-tile--action-challenge { grid-area: challenge; }
.ifood-tile--action-larican { grid-area: larican; }
.ifood-tile--action-gift { grid-area: gift; }

.ifood-bento--collective {
  grid-template-areas: "copy arena close";
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  grid-template-rows: 620px;
}

.ifood-bento--collective .ifood-copy-card { grid-area: copy; }
.ifood-tile--collective-arena { grid-area: arena; }
.ifood-tile--collective-close { grid-area: close; }

.bba-chapter {
  color: var(--bba);
}

.bba-copy-card h2 {
  max-width: 16ch;
  font-size: clamp(32px, 3.35vw, 50px);
}

.bba-copy-card > p:not(.bba-chapter) {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.5;
}

.bba-bento--context,
.bba-bento--system {
  grid-template-areas:
    "copy first"
    "copy second";
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: 340px 340px;
}

.bba-bento--identity,
.bba-bento--stage {
  grid-template-areas:
    "first copy"
    "second copy";
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: 340px 340px;
}

.bba-bento--context .bba-copy-card,
.bba-bento--identity .bba-copy-card,
.bba-bento--system .bba-copy-card,
.bba-bento--stage .bba-copy-card { grid-area: copy; }

.bba-tile--context-arrival,
.bba-tile--identity-mark,
.bba-tile--system-wayfinding,
.bba-tile--stage-room { grid-area: first; }

.bba-tile--context-signature,
.bba-tile--identity-itau,
.bba-tile--system-digital,
.bba-tile--stage-main { grid-area: second; }

.credit-note {
  max-width: 880px;
  margin-top: clamp(80px, 10vw, 140px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.next-projects {
  margin-top: clamp(88px, 11vw, 156px);
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.next-project {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 10%);
  transition: box-shadow 180ms var(--ease), scale 150ms ease-out;
}

.next-project:hover {
  box-shadow: 0 0 0 1px rgb(255 255 255 / 18%);
}

.next-project:active {
  scale: .96;
}

.next-project-media,
.next-project-media img,
.next-project-media video,
.next-project-overlay {
  position: absolute;
  inset: 0;
}

.next-project-media img,
.next-project-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: 1px solid rgb(255 255 255 / 10%);
  outline-offset: -1px;
  transition: transform 420ms var(--ease), filter 420ms var(--ease);
}

.next-project:hover .next-project-media img,
.next-project:hover .next-project-media video {
  transform: scale(1.035);
  filter: saturate(1.06);
}

.next-project-overlay {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  padding: clamp(20px, 3vw, 40px);
  background: linear-gradient(180deg, transparent 28%, rgb(0 0 0 / 82%) 100%);
}

.next-project-overlay span {
  color: rgb(255 255 255 / 70%);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.next-project-overlay strong {
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.about-shell {
  padding-top: calc(var(--header-h) + clamp(64px, 8vw, 116px));
  padding-bottom: clamp(100px, 12vw, 180px);
}

.about-layout {
  margin-top: 64px;
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 9vw, 140px);
  align-items: start;
}

.about-photo {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--surface);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-parallax {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  width: 100%;
  max-width: 675px;
  aspect-ratio: 3584 / 4800;
  transform-style: preserve-3d;
  transform-origin: center;
  will-change: transform;
}

.about-parallax-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  transform: translate3d(0, 0, 0);
  transform-origin: center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
}

.about-parallax-layer img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0;
  transition: opacity 500ms var(--ease);
  -webkit-user-drag: none;
}

.about-parallax-layer img.is-loaded {
  opacity: 1;
}

.about-parallax-layer[data-shadow="true"] img {
  filter: drop-shadow(0 16px 32px rgb(0 0 0 / 50%));
}

.about-copy {
  max-width: 760px;
}

.about-copy .intro {
  margin: 0 0 48px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.about-copy p {
  margin: 0 0 24px;
  color: #c7c7c1;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
}

.about-contact-list {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.about-contact-list a {
  width: fit-content;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -.025em;
}

.about-contact-list a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  :root {
    --page: min(100% - 32px, 1440px);
    --header-h: 68px;
  }

  .featured-grid,
  .archive-grid,
  .case-intro,
  .case-split,
  .case-split--reverse,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .project-card--wide,
  .project-card--tall {
    grid-column: auto;
  }

  .project-card--tall .project-card-media {
    aspect-ratio: 16 / 10;
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-intro {
    gap: 48px;
  }

  .case-split--reverse .case-copy {
    order: initial;
  }

  .xp-bento--context,
  .xp-bento--system,
  .xp-bento--scale,
  .xp-bento--live,
  .xp-bento--community {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .xp-bento--context {
    grid-template-areas:
      "copy copy"
      "crowd arena";
  }

  .xp-bento--system {
    grid-template-areas:
      "copy copy"
      "portrait motion";
  }

  .xp-bento--scale {
    grid-template-areas:
      "copy copy"
      "stage stage"
      "expo drills"
      "simulator drills";
  }

  .xp-bento--live {
    grid-template-areas:
      "copy copy"
      "operator operator"
      "desks score"
      "trader championship"
      "participant participant";
  }

  .xp-bento--community {
    grid-template-areas:
      "copy copy"
      "speaker-a speaker-b"
      "awards show"
      "final final";
  }

  .xp-copy-card {
    min-height: 440px;
  }

  .xp-tile {
    min-height: 400px;
  }

  .ifood-bento--context,
  .ifood-bento--park,
  .ifood-bento--custom,
  .ifood-bento--action,
  .ifood-bento--collective {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .ifood-bento--context {
    grid-template-areas: "copy copy" "facade tower";
  }

  .ifood-bento--park {
    grid-template-areas: "copy copy" "opening ambience" "brasil lounge";
  }

  .ifood-bento--custom {
    grid-template-areas: "copy copy" "station accessories" "ball fashion";
  }

  .ifood-bento--action {
    grid-template-areas: "copy copy" "public challenge" "larican gift";
  }

  .ifood-bento--collective {
    grid-template-areas: "copy copy" "arena close";
  }

  .ifood-copy-card,
  .ifood-tile {
    min-height: 440px;
  }

  .bba-bento--context,
  .bba-bento--identity,
  .bba-bento--system,
  .bba-bento--stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .bba-bento--context {
    grid-template-areas: "copy copy" "first second";
  }

  .bba-bento--identity {
    grid-template-areas: "copy copy" "first second";
  }

  .bba-bento--system {
    grid-template-areas: "copy copy" "first second";
  }

  .bba-bento--stage {
    grid-template-areas: "copy copy" "first second";
  }

  .bba-copy-card {
    min-height: 420px;
  }

  .bba-tile {
    min-height: 300px;
  }

  .about-photo {
    position: static;
    max-width: 560px;
  }

  .about-parallax {
    position: relative;
    top: auto;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  :root {
    --page: calc(100% - 24px);
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .site-name {
    width: 48px;
    height: 48px;
  }

  .site-nav {
    gap: 14px;
  }

  .nav-link,
  .lang-btn {
    font-size: 18px;
  }

  .language-switch {
    gap: 7px;
  }

  .home-hero {
    min-height: 78svh;
    padding-top: calc(var(--header-h) + 64px);
  }

  .home-hero h1 {
    font-size: clamp(42px, 13.8vw, 64px);
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .project-card-info {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .archive-grid,
  .case-grid--2,
  .case-grid--3,
  .next-grid {
    grid-template-columns: 1fr;
  }

  .archive-grid {
    gap: 40px;
  }

  .case-title,
  .about-title {
    font-size: clamp(44px, 14vw, 68px);
  }

  .case-copy h2,
  .case-split .case-copy h2 {
    max-width: 18ch;
    font-size: clamp(30px, 9.5vw, 42px);
  }

  .case-copy p,
  .case-split .case-copy p {
    max-width: min(33ch, 320px);
    font-size: clamp(17px, 5vw, 19px);
    line-height: 1.55;
  }

  .case-deck {
    margin-bottom: 36px;
  }

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

  .case-shell--xp .xp-hero,
  .case-shell--bba .bba-hero {
    aspect-ratio: 16 / 10;
  }

  .case-intro {
    margin: 64px 0;
  }

  .case-grid--3 figure {
    aspect-ratio: 4 / 5;
  }

  .case-shell--xp,
  .case-shell--ifood,
  .case-shell--bba {
    --editorial-radius: 16px;
  }

  .xp-bento--context,
  .xp-bento--system,
  .xp-bento--scale,
  .xp-bento--live,
  .xp-bento--community {
    grid-template-columns: minmax(0, 1fr);
  }

  .xp-bento--context {
    grid-template-areas: "copy" "crowd" "arena";
  }

  .xp-bento--system {
    grid-template-areas: "copy" "portrait" "motion";
  }

  .xp-bento--scale {
    grid-template-areas: "copy" "stage" "drills" "expo" "simulator";
  }

  .xp-bento--live {
    grid-template-areas: "copy" "operator" "desks" "score" "trader" "participant" "championship";
  }

  .xp-bento--community {
    grid-template-areas: "copy" "speaker-a" "speaker-b" "awards" "show" "final";
  }

  .xp-copy-card,
  .xp-tile {
    min-height: 0;
  }

  .xp-copy-card {
    min-height: 460px;
  }

  .xp-tile--system-portrait,
  .xp-tile--scale-drills,
  .xp-tile--live-score,
  .xp-tile--live-championship,
  .xp-tile--community-speaker-a,
  .xp-tile--community-speaker-b {
    aspect-ratio: 4 / 5;
  }

  .xp-tile--system-motion,
  .xp-tile--context-crowd,
  .xp-tile--context-arena,
  .xp-tile--scale-stage,
  .xp-tile--scale-expo,
  .xp-tile--scale-simulator,
  .xp-tile--live-operator,
  .xp-tile--live-desks,
  .xp-tile--live-trader,
  .xp-tile--live-participant,
  .xp-tile--community-awards,
  .xp-tile--community-show,
  .xp-tile--community-final {
    aspect-ratio: 16 / 10;
  }

  .ifood-bento--context,
  .ifood-bento--park,
  .ifood-bento--custom,
  .ifood-bento--action,
  .ifood-bento--collective {
    grid-template-columns: minmax(0, 1fr);
  }

  .ifood-bento--context {
    grid-template-areas: "copy" "facade" "tower";
  }

  .ifood-bento--park {
    grid-template-areas: "copy" "opening" "ambience" "brasil" "lounge";
  }

  .ifood-bento--custom {
    grid-template-areas: "copy" "station" "accessories" "ball" "fashion";
  }

  .ifood-bento--action {
    grid-template-areas: "copy" "public" "challenge" "larican" "gift";
  }

  .ifood-bento--collective {
    grid-template-areas: "copy" "arena" "close";
  }

  .ifood-copy-card,
  .ifood-tile {
    min-height: 0;
  }

  .ifood-copy-card {
    min-height: 480px;
  }

  .ifood-tile {
    aspect-ratio: 4 / 5;
  }

  .bba-bento--context,
  .bba-bento--identity,
  .bba-bento--system,
  .bba-bento--stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "first" "second";
  }

  .bba-copy-card,
  .bba-tile {
    min-height: 0;
  }

  .bba-copy-card {
    padding-block: clamp(34px, 10vw, 48px);
  }

  .bba-tile {
    aspect-ratio: 16 / 10;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

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

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