/* fonts are self-hosted (latin subset covers Portuguese): no third-party request blocks the first paint */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(assets/fonts/plus-jakarta-sans-latin.woff2) format('woff2'); }
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/anton-latin.woff2) format('woff2'); }

:root {
  --bg: #000;
  --ink: #fff;
  --muted: rgba(255, 255, 255, 0.7);
  --faint: rgba(255, 255, 255, 0.58);
  --surface: #141414;
  --surface-2: #1c1c1c;
  --surface-3: #262626;
  --line: rgba(255, 255, 255, 0.07);
  --edge: rgba(255, 255, 255, 0.1);
  --container: 1364px;
  --gutter: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* lenis takes over smoothing when it runs */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  /* open reading text slightly (display styles set their own) */
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
::selection { background: #fff; color: #000; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* type */
.h1 { font-size: clamp(48px, 6.95vw, 100px); line-height: 1.2; letter-spacing: -0.04em; font-weight: 500; text-transform: uppercase; }
.h2 { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.2; letter-spacing: -0.03em; font-weight: 500; text-transform: uppercase; }
.h3 { font-size: clamp(24px, 2.5vw, 36px); line-height: 1.2; letter-spacing: -0.03em; font-weight: 500; text-transform: uppercase; }
.h4 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; text-transform: uppercase; }
.text-md { font-size: 18px; line-height: 1.6; letter-spacing: 0.015em; color: var(--muted); }
.text-sm { font-size: 16px; line-height: 1.6; letter-spacing: 0.02em; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; text-transform: uppercase; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
/* mobile-only section labels and titles */
.m-only { display: none; }

/* fixed column lines */
.grid-lines { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.grid-lines .container { height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
.grid-lines span { border-right: 1px solid var(--line); }
.grid-lines span:first-child { border-left: 1px solid var(--line); }
/* only the outer edges and the centre line stay */
.grid-lines span:nth-child(odd) { border-right: 0; }
main, header, footer { position: relative; z-index: 1; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: 100px;
  font-size: 16px; font-weight: 600; text-transform: uppercase; line-height: 24px;
  border: 1px solid var(--edge); cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--light { background: #fff; color: #000; }
.btn--light:hover { background: #d9d9d9; }
.btn--dark { background: var(--surface-3); color: #fff; }
.btn--dark:hover { background: #fff; color: #000; }
/* frosted pill for the header: lower, see-through fill, translucent stroke */
.btn--glass { color: #fff; background: rgba(255, 255, 255, 0.02); border-color: rgba(255, 255, 255, 0.25); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.45); }
/* circle-mask fill: a white disc grows from the left edge, then slides out through the right */
@media (hover: hover) {
  .btn--glass { position: relative; isolation: isolate; overflow: hidden; transition: color .4s cubic-bezier(.4, 0, .2, 1) .2s, border-color .5s cubic-bezier(.4, 0, .2, 1), background-color .3s var(--ease), transform .2s var(--ease); }
  .btn--glass::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; clip-path: circle(var(--r, 0%) at var(--mx, 0%) 50%); transition: clip-path .85s cubic-bezier(.4, 0, .2, 1); will-change: clip-path; }
  .btn--glass:hover { color: #000; background: rgba(255, 255, 255, 0.02); border-color: #fff; }
  .btn--glass.no-t::before { transition: none; }
  .btn--glass:hover::before { clip-path: circle(150% at 0% 50%); }
}
.nav__cta { padding: 7px 20px; font-size: 15px; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
/* icon-only round button that opens the internal panel */
.nav__login { width: 40px; height: 40px; padding: 0; justify-content: center; flex: none; }
.nav__login svg { width: 20px; height: 20px; }
.btn__icon { position: relative; width: 20px; height: 20px; overflow: hidden; flex: none; }
.btn__icon svg { position: absolute; inset: 0; width: 20px; height: 20px; transition: transform .45s var(--ease); }
.btn__icon svg + svg { transform: translateX(-120%); }
.btn:hover .btn__icon svg:first-child { transform: translateX(120%); }
.btn:hover .btn__icon svg + svg { transform: translateX(0); }
/* label roll: the text slides up and out as a copy rises in from below */
.btn__label { position: relative; display: block; overflow: hidden; }
.btn__label span { display: block; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.btn__label span + span { position: absolute; inset: 0; transform: translateY(100%); opacity: 0; }
.btn:hover .btn__label span:first-child { transform: translateY(-100%); opacity: 0; }
.btn:hover .btn__label span + span { transform: none; opacity: 1; }

/* header */
.header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 27px; font-weight: 600; letter-spacing: -0.02em; }
.logo svg { width: 30px; height: 30px; }
.nav__links { display: flex; gap: 44px; }
.nav__link { position: relative; display: block; height: 24px; overflow: hidden; font-size: 16px; }
.nav__link span { display: block; transition: transform .4s var(--ease); }
.nav__link span + span { position: absolute; top: 100%; left: 0; }
.nav__link:hover span { transform: translateY(-100%); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav__toggle i { display: block; height: 2px; background: #fff; margin: 6px 0; transition: transform .3s var(--ease); }
.nav__mobile-cta { display: none; }

/* hero */
/* the hero is taller than the screen: the extra run is where the thumb grows into the video */
.hero { position: relative; padding-bottom: 90vh; overflow: hidden; background: var(--bg); }
.hero__canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; height: 100svh; }
/* oversized condensed wordmark behind the headline, its cap line flush with the top edge of the page: tall, narrow and slanted, in the surface grey so the white headline stays the focus */
.hero__word { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; height: 100svh; display: flex; align-items: flex-start; justify-content: flex-start; container-type: inline-size; pointer-events: none; overflow: hidden; }
.hero__word span { display: block; font-family: 'Anton', 'Plus Jakarta Sans', sans-serif; font-weight: 400; font-size: 100px; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; color: rgba(255, 255, 255, 0.07); white-space: nowrap; transform-origin: 0 0; transform: translate(var(--wtx, 0px), var(--wty, 0px)) skewX(calc(var(--wk, 10) * -1deg)) scale(var(--wsx, 1), var(--wsy, 1)); }
/* letter by letter: each glyph rises and fades in on a 55ms stagger */
.hero__word i { display: inline-block; font-style: normal; opacity: 0; transform: translateY(14%); }
.hero__word.is-ready i { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.2s var(--ease); transition-delay: calc(.2s + var(--n) * 55ms); }
/* once the first fit is done, later refits (window resize) glide to the new size with a soft spring */
/* the letters ripple (see fitHeroWord) while the word itself springs to the new size */
.hero__word.is-fitted span { transition: transform 1.1s cubic-bezier(.34, 1.3, .64, 1); }
.hero__inner { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding-top: 180px; padding-bottom: 40px; }
.hero__video { position: absolute; top: 0; left: 0; z-index: 3; overflow: hidden; transform-origin: 0 0; will-change: transform; background: var(--surface); }
/* three clips stacked; the active one fades in over the others every 10s */
.hero__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero__video video.is-active { opacity: 1; }
.hero__slot { display: none; }
.hero__title { display: flex; flex-direction: column; }
.hero__line { display: flex; align-items: center; gap: 28px; overflow: hidden; }
.hero__line > * { transform: translateX(-105%); opacity: 0; transition: transform 1.3s var(--ease), opacity 1.3s var(--ease); }


.is-loaded .hero__line > * { transform: none; opacity: 1; }
.is-loaded .hero__line:nth-child(2) > * { transition-delay: .12s; }
.is-loaded .hero__line:nth-child(3) > * { transition-delay: .24s; }
/* placeholder the video starts from; same ratio as the grown video so it scales evenly */
.hero__thumb { display: block; flex: none; width: clamp(110px, 13vw, 186px); aspect-ratio: 1 / 0.58; }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 80px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; }
/* same text roll as the header links */
.scroll-cue__label { position: relative; display: block; height: 24px; line-height: 24px; overflow: hidden; }
.scroll-cue__label span { display: block; transition: transform .4s var(--ease); }
.scroll-cue__label span + span { position: absolute; top: 100%; left: 0; }
.scroll-cue:hover .scroll-cue__label span { transform: translateY(-100%); }
/* two stacked arrows in a clipped box: one drops out the bottom as the next drops in from the top, then rests */
.scroll-cue__icon { position: relative; width: 20px; height: 22px; overflow: hidden; }
.scroll-cue__icon svg { position: absolute; left: 0; top: 0; width: 20px; height: 22px; animation: arrow-drop 1.8s var(--ease) infinite; }
.scroll-cue__icon svg + svg { top: -100%; }
@keyframes arrow-drop { 0% { transform: translateY(0); } 35%, 100% { transform: translateY(100%); } }
.hero__lede { max-width: min(420px, 100%); will-change: transform, opacity; }
/* words rise and unblur one after another, starting as the headline settles */
.hero__lede .w { display: inline-block; opacity: 0; transform: translateY(.6em); filter: blur(6px); transition: opacity .7s ease, transform .9s var(--ease), filter .7s ease; transition-delay: calc(.75s + var(--w) * 28ms); }
.is-loaded .hero__lede .w { opacity: 1; transform: none; filter: blur(0); }

/* brands */
/* solid ground so the column lines start at the about section */
.brands { position: relative; padding: 60px 0 0; background: var(--bg); }
/* fade the column lines in below the strip instead of starting with a hard edge */
.brands::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 140px; background: linear-gradient(var(--bg), rgba(0,0,0,0)); pointer-events: none; }
.brands__row { display: block; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 72px; width: max-content; animation: marquee 60s linear infinite; }
.marquee__item { display: flex; align-items: center; gap: 10px; color: #8a8a8a; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.marquee__item svg { width: 28px; height: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* craft */
.section { padding: 140px 0; }
.craft__top { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.craft__top .tag { margin-top: 12px; }
.craft__body { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.craft__body .text-md { max-width: 700px; }
/* the about block now stands alone (no side label): one centred column; phones keep it left-aligned like the other heads */
.craft__top { grid-template-columns: 1fr; }
.craft__body { align-items: center; text-align: center; max-width: 860px; margin: 0 auto; }
@media (max-width: 640px) { .craft__body { align-items: flex-start; text-align: left; } }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 100px; }
.feature { position: relative; isolation: isolate; overflow: hidden; background: #1a1a1a; border: 1px solid var(--edge); border-radius: 4px; padding: 32px 24px; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
/* hover layer: a grey sweep that fades in behind the content */
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, #1a1a1a 5%, #747474 69%, #d3d3d3); opacity: 0; transition: opacity .6s var(--ease); }
@media (hover: hover) { .feature:hover::before { opacity: 1; } }
.feature:focus-within::before { opacity: 1; }
.feature__icon { width: 32px; height: 32px; }
.feature__head { display: flex; flex-direction: column; gap: 24px; }
.feature .text-sm { color: rgba(255, 255, 255, 0.8); font-weight: 400; }

/* services */
/* pinned like the work section: the run is long enough for each service to hold the stage in turn */
.services { position: relative; height: 320vh; }
.services__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.services__sticky > .container { width: 100%; }
.services__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: stretch; }
.services__left { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.services__media { position: relative; width: 100%; max-width: 320px; aspect-ratio: 320 / 280; overflow: hidden; border-radius: 4px; }
.services__media img, .services__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.services__media img.is-active, .services__media video.is-active { opacity: 1; transform: none; }
/* frame pops on each swap: dips, overshoots, settles */
.services__media.is-popping { animation: media-pop .7s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes media-pop { 0% { transform: scale(.9); } 100% { transform: scale(1); } }
.services__list { position: relative; display: flex; flex-direction: column; gap: 24px; }
.service { position: relative; min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; padding: 0; background: none; border: 0; text-align: left; cursor: pointer; }
/* full-row underline draws in from the left on hover, retracts to the right on leave */
.service::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.service:focus-visible::after, .service.is-active::after { transform: scaleX(1); transform-origin: left; }
.service__name { font-size: 44px; line-height: 1.2; font-weight: 500; letter-spacing: -0.03em; text-transform: uppercase; color: rgba(255,255,255,.42); transition: color .35s var(--ease), transform .5s var(--ease); }
.service__arrow { width: 36px; opacity: 0; transform: translateX(-16px); transition: opacity .35s var(--ease), transform .5s var(--ease); }
.service.is-active .service__name { color: #fff; transform: translateX(10px); }
/* hover previews the service without the underline, which stays for the selected one */
@media (hover: hover) { .service:hover .service__name { color: #fff; transform: translateX(10px); } }
.service.is-active .service__arrow { opacity: 1; transform: none; }

/* steps */
.center-head { text-align: center; max-width: 820px; margin: 0 auto; }
.sparkle-row { position: relative; }
.sparkle { position: absolute; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); }
.sparkle--l { left: var(--gutter); }
.sparkle--r { right: var(--gutter); }
.steps__stack { max-width: 508px; margin: 80px auto 0; padding-bottom: 160px; display: flex; flex-direction: column; gap: 40px; }
/* sticky stack: each card pins a little lower than the last and tilts as it pins (angle set in script.js) */
.step { position: sticky; top: 110px; isolation: isolate; overflow: hidden; background: #1a1a1a; border: 1px solid var(--edge); border-radius: 2px; padding: 32px 24px; min-height: 347px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; transform: rotate(var(--tilt, 0deg)); will-change: transform; }
.step:nth-child(2) { top: 134px; }
.step:nth-child(3) { top: 158px; }
.step::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, #1a1a1a 5%, #747474 69%, #d3d3d3); opacity: 0; transition: opacity .6s var(--ease); }
.step:nth-child(2)::before { opacity: 1; }
@media (hover: hover) { .step:hover::before { opacity: 1; } }
.step__top { display: flex; justify-content: space-between; align-items: center; }
.step__icon { width: 48px; height: 48px; background: #fff; color: #000; display: grid; place-items: center; border-radius: 8px; }
.step__icon svg { width: 26px; height: 26px; }
.step__no { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; text-transform: uppercase; }
.step__no::before { content: ""; width: 6px; height: 6px; background: currentColor; }
.step__body { display: flex; flex-direction: column; gap: 12px; }
.step__body .text-sm { color: rgba(255,255,255,.7); }
.step:nth-child(2) .step__body .text-sm { color: rgba(255,255,255,.85); }

/* work: full-screen project panels that stack as you scroll; the one underneath recedes and darkens, the caption of the one on top rises in */
.work { position: relative; background: #000; padding-bottom: 100px; }
.panel { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: #fff; }
.panel__in { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.panel__in video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.panel__in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.05) 38%, rgba(0,0,0,.8)); }
@media (hover: hover) { .panel:hover .panel__in video { transform: scale(1.04); } }
.panel__shade { position: absolute; inset: 0; background: #000; opacity: 0; z-index: 2; pointer-events: none; }
.panel__head { position: absolute; z-index: 1; top: 108px; left: 0; right: 0; }
.work > .section { padding-bottom: 60px; }
.panel__head .container { display: flex; justify-content: flex-end; align-items: center; }
.panel__count { font-size: 14px; font-weight: 500; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.panel__cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(48px, 9vh, 100px); text-align: center; }
.panel__title { margin: 20px 0 16px; font-size: 44px; line-height: 1.1; font-weight: 500; letter-spacing: -0.03em; text-transform: uppercase; }
.panel__text { max-width: 46ch; margin: 0 auto 28px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.8); }
.panel__cap .btn { width: auto; }
.panel__cap .container > * { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--k, 0) * .09s); }
.panel.is-active .panel__cap .container > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .panel__cap .container > * { opacity: 1; transform: none; transition: none; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 80px; }
.plan { position: relative; isolation: isolate; overflow: hidden; background: #1a1a1a; border: 1px solid rgba(255,255,255,.1); border-radius: 4px; padding: 32px 24px; display: flex; flex-direction: column; gap: 80px; }
/* the featured plan carries the same grey sweep as the feature cards */
/* grey sweep: always on for the featured plan, fades in on hover for the others */
.plan::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, #1a1a1a 5%, #747474 69%, #d3d3d3); opacity: 0; transition: opacity .6s var(--ease); }
.plan--featured::before { opacity: 1; }
@media (hover: hover) { .plan:not(.plan--featured):hover::before { opacity: .45; } .plan:hover { border-color: rgba(255,255,255,.25); } }
.plan__top { display: flex; flex-direction: column; gap: 16px; }
.plan__name { display: flex; align-items: center; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; text-transform: uppercase; color: #fff; }
.plan__name svg { width: 28px; height: 28px; flex: none; }
/* equal description height keeps prices and buttons level across the three plans */
.plan__top .text-sm { min-height: 4.8em; }
.plan__body { display: flex; flex-direction: column; gap: 20px; }
.plan__price-block { display: flex; flex-direction: column; align-items: flex-start; gap: 23px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.plan__price { position: relative; display: flex; align-items: baseline; gap: 4px; }
.plan__price small { position: absolute; left: 0; top: -14px; font-size: 13px; line-height: 1; color: var(--muted); }
.plan__price strong { font-size: 36px; line-height: 1.2; font-weight: 500; letter-spacing: -0.03em; color: #fff; }
.plan__price span { font-size: 16px; color: var(--muted); }
.plan__features { display: flex; flex-direction: column; gap: 16px; }
.plan__features li { display: flex; gap: 8px; align-items: center; font-size: 16px; line-height: 24px; color: #fff; }
.plan__features svg { width: 24px; height: 24px; flex: none; }

/* testimonials */
.voices { display: flex; gap: 16px; margin-top: 80px; }
.people { flex: 0 0 274px; display: flex; flex-direction: column; }
.person { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 0; text-align: left; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.7); cursor: pointer; transition: color .3s var(--ease), border-color .3s var(--ease); }
.person strong { font-size: 20px; line-height: 24px; font-weight: 500; text-transform: uppercase; }
.person span { font-size: 16px; line-height: 24px; }
.person:hover, .person.is-active { color: #fff; }
.person.is-active { border-bottom-color: #fff; }
/* hover underline sweeps across the divider like the other lists: in from the left, out to the right */
.person::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: rgba(255,255,255,.4); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.person:hover::after, .person:focus-visible::after { transform: scaleX(1); transform-origin: left; }
/* the whole panel swaps per client: quick fade out, slower fade in */
.voices__pane { flex: 1; display: flex; gap: 16px; min-height: 384px; transition: opacity .3s ease; }
.voices__pane.is-out { opacity: 0; transition-duration: .1s; }
.voices__photo { flex: 0 0 343px; height: 384px; border-radius: 4px; overflow: hidden; }
.voices__photo img { width: 100%; height: 100%; object-fit: cover; }
.review { flex: 1 1 400px; background: #1a1a1a; border-radius: 4px; padding: 32px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.review__brand { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 600; color: #fff; }
.review__brand svg { width: 26px; height: 26px; }
.review blockquote { margin: 0; font-size: 18px; line-height: 27px; color: #fff; }
.stats { flex: 0 0 259px; display: flex; flex-direction: column; gap: 16px; }
.stat { flex: 1; min-height: 184px; padding: 20px; border-radius: 4px; background: #1a1a1a; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; color: #fff; }
.stat--sweep { background: linear-gradient(127.14deg, #1a1a1a 15%, #747474 69%, #d3d3d3); }
.stat__label { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.stat__label::before { content: ""; width: 6px; height: 6px; background: currentColor; flex: none; }
.stat strong { font-size: 56px; line-height: 1.2; font-weight: 500; letter-spacing: -0.03em; }

/* offices (pinned expanding images) */
.offices { position: relative; }
.offices__head { padding-top: 140px; }
.offices__track { position: relative; height: 240vh; margin-top: 80px; }
.offices__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.office { position: absolute; inset: 0; display: grid; place-items: center; }
.office__img { position: relative; width: 100%; height: 100%; overflow: hidden; clip-path: inset(var(--ct, 32%) var(--cx, 30%) var(--ct, 32%) var(--cx, 30%)); will-change: clip-path; }
.office__img img, .office__img video { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--s, 1.15)); animation: drift-a 14s ease-in-out infinite alternate; will-change: scale, translate; }
/* slow push-and-drift so the stills read like footage; uses scale/translate so it stacks on the scroll transform */
.office:nth-child(2) .office__img img { animation-name: drift-b; animation-duration: 12s; }
/* real footage needs no fake camera drift */
.office__img video { animation: none; }
@keyframes drift-a { from { scale: 1; translate: 0 0; } to { scale: 1.18; translate: -4% -2.5%; } }
/* the cathedral pushes in on the façade and tilts up toward the tower */
@keyframes drift-b { from { scale: 1.02; translate: 0 0; } to { scale: 1.22; translate: 1.5% 4%; } }
.office__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 45%); }
.office__label, .office__note { position: absolute; top: 50%; transform: translateY(-50%); max-width: 180px; font-weight: 500; font-size: 16px; transition: opacity .3s; }
.office__label { left: calc(30% - 200px); text-transform: uppercase; }
.office__note { right: calc(30% - 200px); color: rgba(255,255,255,.85); }
.office.is-open .office__label, .office.is-open .office__note { opacity: 0; }
.office__big { position: absolute; left: var(--gutter); bottom: 40px; font-size: clamp(40px, 7vw, 110px); line-height: 1; letter-spacing: -0.04em; font-weight: 500; text-transform: uppercase; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.office.is-open .office__big { opacity: 1; transform: none; }

/* faq */
.faq__list { max-width: 700px; margin: 80px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: #1a1a1a; border: 1px solid rgba(255,255,255,.1); padding-bottom: 8px; transition: border-color .3s var(--ease); }
.faq__item:hover, .faq__item.is-open { border-color: rgba(255,255,255,.2); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 20px 16px; background: none; border: 0; text-align: left; cursor: pointer; font-size: 18px; line-height: 24px; font-weight: 400; color: #fff; }
.faq__q svg { width: 20px; height: 20px; flex: none; transition: transform .45s var(--ease); }
.faq__item.is-open .faq__q svg { transform: rotate(135deg); }
/* the answer opens by height, its text rises in just behind it */
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 20px 16px; color: rgba(255,255,255,.7); max-width: 620px; opacity: 0; transform: translateY(-8px); transition: opacity .3s ease, transform .5s var(--ease); }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: .1s; }

/* blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 80px; }
.post { display: flex; flex-direction: column; gap: 20px; }
.post__img { aspect-ratio: 16/10; overflow: hidden; border-radius: 4px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__img img { transform: scale(1.05); }
.post__meta { display: flex; justify-content: space-between; align-items: center; }
.chip { display: inline-flex; align-items: center; padding: 6px 14px; border: 1px solid rgba(255,255,255,0.25); border-radius: 100px; background: rgba(255,255,255,0.02); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); font-size: 13px; line-height: 1; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.post__date { color: var(--muted); font-size: 14px; }
.post h3 { font-size: 20px; line-height: 1.35; font-weight: 500; }
/* blog on desktop with a mouse: accordion like a services strip. Cards have a fixed height and the photo fills each
   one, with the text laid over it. Only flex-grow animates, slowly and with a soft start; the open card is tracked in
   script.js (.is-acc on the row, .is-on on the card) so crossing the gap between cards never snaps the row back.
   Titles have a fixed width so they don't rewrap mid-animation; the row height never changes. */
@media (hover: hover) and (min-width: 992px) {
  .posts { display: flex; gap: 16px; contain: layout; }
  .post { --acc: cubic-bezier(.45, .05, .25, 1); position: relative; isolation: isolate; flex: 1 1 0; min-width: 0; height: 420px; padding: 24px; overflow: hidden; border-radius: 4px; justify-content: space-between; gap: 0; background: var(--surface); transition: flex-grow 1s var(--acc); }
  .post__img { position: absolute; inset: 0; aspect-ratio: auto; height: auto; }
  /* the reveal rule ([data-reveal]) sets its own transition list and would drop flex-grow, so repeat it here with
     flex-grow added; the reveal keeps its stagger, the accordion starts with no delay */
  .posts .post[data-reveal] { transition: opacity .7s ease, filter .9s ease, transform 1s cubic-bezier(.34, 1.56, .64, 1), flex-grow 1s var(--acc); transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s; }
  .post__img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,0) 28%, rgba(0,0,0,0) 38%, rgba(0,0,0,.62) 66%, rgba(0,0,0,.9)); }
  .post:hover .post__img img { transform: none; }
  .post > :not(.post__img) { position: relative; z-index: 1; transition: opacity .5s ease .35s; }
  .post__meta { gap: 12px; flex-wrap: nowrap; min-width: 300px; }
  .post .post__date { color: rgba(255,255,255,.8); font-size: 13px; white-space: nowrap; }
  .post h3 { width: 340px; margin-top: auto; margin-bottom: 16px; }
  /* the whole card opens the article */
  .post h3 a::after { content: ""; position: absolute; inset: -9999px; z-index: 0; }
  .posts.is-acc .post { flex-grow: .7; }
  .posts.is-acc .post.is-on { flex-grow: 1.6; }
  .posts.is-acc .post:not(.is-on) > :not(.post__img) { opacity: 0; transition: opacity .25s ease 0s; }
}
.link-arrow { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; text-transform: uppercase; padding-bottom: 5px; width: fit-content; }
/* the underline is a line of its own: on hover it leaves to the right and draws back in from the left */
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #fff; transform-origin: right; }
@keyframes line-swipe {
  0% { transform: scaleX(1); transform-origin: right; }
  49.9% { transform: scaleX(0); transform-origin: right; }
  50% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}
@media (hover: hover) {
  .link-arrow:hover::after, .post:hover .link-arrow::after { animation: line-swipe .8s cubic-bezier(.4, 0, .2, 1); }
}
.link-arrow:focus-visible::after { animation: line-swipe .8s cubic-bezier(.4, 0, .2, 1); }
@media (prefers-reduced-motion: reduce) { .link-arrow::after { animation: none !important; } }
.link-arrow svg { width: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* contact */
/* one column, 700px wide and centred: the form sits under the intro, on the same axis as the FAQ list */
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 48px; max-width: calc(700px + 2 * var(--gutter)); }
.contact__intro { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.contact__intro .text-md { width: 100%; font-size: 16px; }
.contact__intro .contact__note { width: 100%; }
/* the Fale conosco label shows on phones only, where every section head carries one */
.contact__intro > .tag { display: none; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.form .full { grid-column: 1 / -1; }
/* fields carry their own placeholder, no visible label (aria-label names them) */
.form input, .form textarea { width: 100%; min-width: 0; height: 54px; background: #1a1a1a; border: 1px solid rgba(255,255,255,.1); border-radius: 4px; padding: 16px 20px; font-size: 14px; line-height: 20px; color: #fff; outline: none; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.form input::placeholder, .form textarea::placeholder { color: #fff; opacity: 1; }
.form input:hover, .form textarea:hover { border-color: rgba(255,255,255,.2); }
.form input:focus, .form textarea:focus { border-color: rgba(255,255,255,.55); background: #1f1f1f; }
.form textarea { height: 180px; resize: vertical; }
.form .btn { justify-self: start; margin-top: 8px; }

/* footer */
.footer { padding: 100px 0 0; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 0.6fr; gap: 40px; }
/* desktop: the three link columns hug their content and sit the same distance apart */
@media (min-width: 992px) { .footer__top { grid-template-columns: 1fr auto auto auto; column-gap: 120px; } }
.footer__brand { display: flex; flex-direction: column; gap: 20px; }
.footer__brand .logo { font-size: 34px; gap: 12px; }
.footer__brand .logo svg { width: 38px; height: 38px; }
.footer__brand .text-sm { max-width: 340px; color: rgba(255, 255, 255, 0.55); }
.footer__legal { display: flex; gap: 16px; font-size: 14px; color: var(--muted); margin-top: 40px; }
.footer__col h3 { font-size: 16px; font-weight: 500; text-transform: uppercase; margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 16px; }
.footer__col a { color: var(--muted); transition: color .3s; }
.footer__col a:hover { color: #fff; }
/* same text roll as the header links: the label slides up and out while a copy rises in from below (mouse devices only) */
.roll { position: relative; display: block; width: fit-content; height: 24px; overflow: hidden; }
.roll > span { display: block; transition: transform .4s var(--ease); }
.roll > span + span { position: absolute; top: 100%; left: 0; }
@media (hover: hover) { .roll:hover > span, .footer__map a:hover .roll > span { transform: translateY(-100%); } }
.footer__addr { color: var(--muted); line-height: 1.75; }
.footer__addr a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color .3s var(--ease), text-decoration-color .3s var(--ease); }
@media (hover: hover) { .footer__addr a:hover { color: #fff; text-decoration-color: currentColor; } }
.footer__addr a:focus-visible { color: #fff; text-decoration-color: currentColor; }
/* the address is plain text; this link opens it on the map */
.footer__map a { text-decoration: none; }
.footer__map-t::before { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 1px; background: rgba(255,255,255,.4); }
.footer__map a { display: inline-flex; align-items: center; gap: 6px; }
.footer__map svg { width: 16px; height: 16px; flex: none; transition: transform .35s var(--ease); }
.footer__map a:hover svg { transform: translate(2px, -2px); }
/* giant wordmark cropped near the baseline so it sits on the bottom divider */
.footer__word span { display: inline-block; white-space: nowrap; padding-right: .06em; }
.footer__word { font-family: 'Anton', 'Plus Jakarta Sans', sans-serif; text-transform: uppercase; font-size: clamp(90px, 27vw, 500px); line-height: 1; height: .6em; overflow: hidden; font-weight: 400; letter-spacing: 0.01em; color: #121212; text-align: center; margin: 60px 0 0; user-select: none; }
.footer__bottom { position: relative; background: var(--bg); padding: 20px 0 28px; text-align: center; font-size: 14px; color: var(--muted); }
/* divider spans the content width only, ending where the outer column lines do */
.footer__bottom::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(100% - 2 * var(--gutter), var(--container) - 2 * var(--gutter)); height: 1px; background: var(--edge); }
.credits-box { padding: 0 0 28px; font-size: 13px; color: var(--faint); }
.credits-box summary { cursor: pointer; color: var(--muted); }
.credits-box p { margin-top: 10px; }
.credits-box a { text-decoration: underline; }

/* reveal */
/* every reveal fades in and springs up with a small overshoot, staggered by --i */
[data-reveal] { opacity: 0; filter: blur(5px); transform: translateY(48px) scale(.97); transition: opacity .7s ease, filter .9s ease, transform 1s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].is-in { opacity: 1; filter: blur(0); transform: none; }
.no-js [data-reveal] { opacity: 1; filter: none; transform: none; }
/* split statement: each letter sits in its own mask and rises out of it; scroll then lights the letters in order */
.sw { display: inline-block; white-space: nowrap; }
.sm { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sl { display: inline-block; opacity: .3; transform: translateY(105%); transition: transform .9s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--k) * 14ms); }
[data-split].is-in .sl { transform: none; }
/* footer cut reveals: each column's left edge is a fixed cut the content slides out from; the wordmark rises out of the divider */
[data-wipe] { overflow: hidden; }
[data-wipe] > * { transform: translateX(-105%); filter: blur(5px); transition: transform 1.6s cubic-bezier(.16, 1, .3, 1), filter 1.2s ease; transition-delay: calc(var(--i, 0) * 150ms); }
[data-wipe] > * + * { transition-delay: calc(var(--i, 0) * 150ms + 120ms); }
[data-wipe].is-in > * { transform: none; filter: blur(0); }
[data-rise] span { transform: translateY(105%); filter: blur(5px); transition: transform 1.8s cubic-bezier(.16, 1, .3, 1) .5s, filter 1.4s ease .5s; }
[data-rise].is-in span { transform: none; filter: blur(0); }
/* the footer wordmark leans like the hero one: the slant rides along with the rise */
.footer__word[data-rise] span { transform: translateY(105%) skewX(-10deg); }
.footer__word[data-rise].is-in span { transform: skewX(-10deg); }
.no-js [data-wipe] > * { transform: none; }
.no-js [data-rise] span { transform: none; }
.no-js .footer__word[data-rise] span { transform: skewX(-10deg); }
/* about cards: spring in with a small overshoot, and a springy lift on hover */
.cards3 .feature[data-reveal] { transform: translateY(70px) scale(.94); transition: opacity .6s ease, filter .9s ease, transform 1.1s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--i, 0) * 110ms); }
.cards3 .feature[data-reveal].is-in { transform: none; }
@media (hover: hover) { .cards3 .feature[data-reveal].is-in:hover { transform: translateY(-8px); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1); transition-delay: 0s; } }
/* pricing cards lift with the same spring on hover */
.plan[data-reveal] { transform: translateY(70px) scale(.94); transition: opacity .6s ease, filter .9s ease, transform 1.1s cubic-bezier(.34, 1.56, .64, 1), border-color .4s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.plan[data-reveal].is-in { transform: none; }
@media (hover: hover) { .plan[data-reveal].is-in:hover { transform: translateY(-8px); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), border-color .4s var(--ease); transition-delay: 0s; } }

@keyframes menu-fade { from { opacity: 0; } }
@keyframes menu-rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } }

/* responsive */
@media (max-width: 991px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__actions { margin-left: auto; margin-right: 12px; }
  /* the hamburger sits in a round glass button, matching the login button next to it */
  .nav__toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 40px; height: 40px; padding: 0 11px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 100px; background: rgba(255, 255, 255, 0.02); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); transition: background-color .3s var(--ease), border-color .3s var(--ease); }
  .nav__toggle i { margin: 0; }
  .nav__toggle:active { background: rgba(255, 255, 255, 0.08); }
  .nav .logo, .nav__toggle { position: relative; z-index: 2; }
  .nav.is-open .nav__links { display: flex; position: fixed; inset: 0; height: 100vh; height: 100dvh; z-index: 1; flex-direction: column; gap: 0; background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 132px var(--gutter) max(32px, env(safe-area-inset-bottom)); overflow-y: auto; }
  .nav.is-open .nav__link { height: auto; padding: 24px 0; font-size: 22px; }
  .nav.is-open .nav__link span + span { display: none; }
  .nav.is-open .nav__mobile-cta { display: block; margin-top: auto; padding-top: 24px; }
  .nav.is-open .nav__mobile-cta .btn { width: 100%; justify-content: center; }
  /* opening the menu: the panel fades in, then each link rises into place in turn and the button lands last */
  .nav.is-open .nav__links { animation: menu-fade .35s var(--ease) both; }
  .nav.is-open .nav__link, .nav.is-open .nav__mobile-cta { animation: menu-rise .6s var(--ease) both; }
  .nav.is-open .nav__link:nth-child(1) { animation-delay: .08s; }
  .nav.is-open .nav__link:nth-child(2) { animation-delay: .14s; }
  .nav.is-open .nav__link:nth-child(3) { animation-delay: .2s; }
  .nav.is-open .nav__link:nth-child(4) { animation-delay: .26s; }
  .nav.is-open .nav__link:nth-child(5) { animation-delay: .32s; }
  .nav.is-open .nav__mobile-cta { animation-delay: .42s; }
  .nav.is-open .nav__toggle i:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .brands__row, .craft__top, .services__grid, .contact__grid { grid-template-columns: 1fr; }
  .services__left { gap: 32px; }
  /* stays pinned like on desktop; the header is overlaid, so the stage starts below it */
  .services__sticky { padding: 92px 0 24px; box-sizing: border-box; }
  .cards3, .plans, .posts { grid-template-columns: 1fr 1fr; }
  .voices { flex-direction: column; }
  .people { flex-basis: auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .voices__pane { flex-wrap: wrap; }
  .voices__photo { flex: 1 1 100%; height: 320px; }
  .review { flex: 1 1 100%; }
  .stats { flex: 1 1 100%; flex-direction: row; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .office__label { left: var(--gutter); top: 18%; }
  .office__note { right: var(--gutter); top: auto; bottom: 18%; transform: none; text-align: right; }
}
@media (max-width: 640px) {
  /* phones: 60px above and below every section, so 120px between one section and the next */
  .section { padding: 60px 0; }
  .work { padding-bottom: 60px; }
  .footer { padding-top: 60px; }
  /* the last office image to the FAQ title: 60 + 60 = 120px */
  .offices { padding-bottom: 60px; }
  .craft__body .text-md { font-size: 16px; }
  .hero__lede { font-size: 16px; }
  .hero__inner { padding-top: 140px; }
  .hero__line { gap: 14px; }
  .hero__line:nth-child(2), .hero__line:nth-child(3) { padding-left: 0; }
  .hero__foot { flex-direction: column-reverse; align-items: flex-start; gap: 32px; }
  /* phone hero: compact text block with the video card below; the thumb video still travels down and grows into the card on scroll */
  .hero { padding-bottom: 0; }
  .hero__inner { min-height: 0; justify-content: flex-start; padding-bottom: 0; }
  .hero__foot { margin-top: 88px; gap: 40px; }
  /* buttons stretch to the page padding on phones */
  .btn { width: 100%; justify-content: center; }
  .btn.nav__login { width: 40px; }
  /* empty landing space: the thumb video grows into it, so nothing is drawn here */
  .hero__slot { display: block; aspect-ratio: 5 / 7; margin: 40px 20px 0; }
  .h1 { font-size: 13.3vw; }
  /* section heads on phones: left-aligned, with a dot label above like the contact section */
  .m-only { display: block; }
  .tag.m-only { display: flex; margin-bottom: 20px; }
  .contact__intro > .tag { display: inline-flex; }
  .center-head { text-align: left; }
  .services__left { gap: 20px; }
  .services__media { max-width: none; aspect-ratio: 2 / 1; }
  .services__list { gap: 12px; }
  .service { min-height: 44px; }
  .service__name { font-size: 28px; }
  .cards3, .plans, .posts, .form { grid-template-columns: 1fr; }
  .posts { row-gap: 56px; }
  .post h3 { font-size: 18px; }
  .people { grid-template-columns: 1fr; }
  .stats { flex-direction: column; }
  .cards3 { margin-top: 60px; }
  .feature { min-height: 260px; }
  .step { top: 90px; min-height: 300px; }
  .step:nth-child(2) { top: 106px; }
  .step:nth-child(3) { top: 122px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__word { font-size: 25vw; }
  /* phones: one column — Navegação, Redes, then Estúdio */
  .footer__col:nth-child(3) { order: 1; }
  .sparkle { display: none; }
  .offices__head { padding-top: 60px; }
}
/* desktop: every gap between one section's content and the next section's content is 200px.
   Plain sections carry 100px above and below; the pinned ones (hero, services, work) leave empty space around their
   centred stage, so the neighbouring sections pull in by exactly that leftover (stage heights: services grid 552px,
   work block 74px + its window). */
@media (min-width: 992px) {
  .h2 { font-size: 64px; }
  /* eight services: tighter rows so the list still fits the pinned stage */
  .services__list { gap: 12px; }
  .service { min-height: 56px; }
  .craft__body .h3 { font-size: 64px; }
  .section { padding: 100px 0; }
  #about { padding-top: max(0px, calc(188px - (100svh - min(0.58 * (min(100vw, 1364px) - 40px), 86svh)) / 2)); }
  .services { margin-top: calc(100px - (100svh - 532px) / 2); }
  #process { margin-top: calc(100px - (100svh - 552px) / 2); }
  #pricing { margin-top: calc(100px - (100svh - 74px - min(600px, 70svh)) / 2); }
  .offices__head { padding-top: 100px; }
  .offices { padding-bottom: 100px; }
  #contact { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .office__img img, .office__img video { animation: none !important; }
  [data-wipe] > * { transform: none; }
  [data-rise] span { transform: none; }
  .footer__word[data-rise] span { transform: skewX(-10deg); }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal], .hero__line > * { opacity: 1; filter: none; transform: none; }
  [data-wipe] > *, [data-rise] span { filter: none; }
  .sl { transform: none; opacity: 1; }
  .hero { padding-bottom: 0; }
}

/* blog: página de artigo */
.art-head { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.art-head .nav { height: 92px; }
.art-back { width: auto; padding: 7px 20px; font-size: 15px; }
.article { padding: 150px 0 100px; }
.article__wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.article__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.article h1 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 500; text-transform: uppercase; margin: 0 0 28px; }
.article__intro { font-size: 20px; line-height: 1.6; color: rgba(255,255,255,.9); margin: 0 0 40px; }
.article__img { aspect-ratio: 16 / 9; overflow: hidden; margin: 0 0 48px; background: var(--surface); }
.article__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article h2 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; margin: 48px 0 16px; }
.article p { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.8); margin: 0 0 20px; }
.article ul { margin: 0 0 20px; padding-left: 22px; color: rgba(255,255,255,.8); font-size: 18px; line-height: 1.7; }
.article li { margin-bottom: 8px; }
.article__cta { margin-top: 64px; padding: 32px; background: var(--surface); border: 1px solid var(--edge); }
.article__cta h2 { margin-top: 0; }
.article__cta .btn { width: auto; margin-top: 8px; }
.article__more { margin-top: 64px; }
.article__more h2 { margin-top: 0; }
.article__more ul { list-style: none; padding: 0; }
.article__more a { text-decoration: underline; text-underline-offset: 4px; }
.art-foot { border-top: 1px solid var(--edge); padding: 32px 0; text-align: center; color: var(--faint); font-size: 14px; }
@media (max-width: 640px) { .article { padding: 120px 0 60px; } .article__intro { font-size: 18px; } .article__cta { padding: 24px; } }

/* segment landing pages and the blog index (sites-para-*/, blog/) */
.seg { padding-top: 92px; }
.seg-narrow > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.seg-hero h1 { max-width: 1000px; }
.seg-hero { padding: 80px 0 40px; }
.seg-hero h1 { margin: 24px 0 24px; font-size: clamp(36px, 5vw, 64px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; text-transform: uppercase; }
.seg-lede { font-size: 20px; line-height: 1.6; color: rgba(255,255,255,.85); margin: 0 0 36px; max-width: 760px; }
.seg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; }
.seg-actions .btn { width: auto; }
.seg-sec { padding: 60px 0; }
.seg-h2 { margin: 0 auto 40px; font-size: clamp(34px, 3.9vw, 56px); line-height: 1.2; letter-spacing: -0.03em; font-weight: 500; text-transform: uppercase; }
@media (min-width: 992px) { .seg-h2 { font-size: 64px; } }
/* all section titles on the inner pages sit centred, like the home's */
.seg-h2 { text-align: center; }
.seg-more { text-align: center; }
.seg-others { justify-content: center; }
.seg-p { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.8); margin: 0 0 24px; }
.seg-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.seg-card { padding: 28px 24px; background: var(--surface-2); border: 1px solid var(--edge); border-radius: 4px; }
.seg-card h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.3; font-weight: 500; text-transform: uppercase; letter-spacing: -0.01em; }
.seg-card p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.75); }
.seg-step { display: block; margin-bottom: 20px; font-size: 14px; font-weight: 500; color: var(--faint); }
.seg-projs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.seg-proj { display: flex; flex-direction: column; gap: 12px; }
.seg-proj__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--surface); }
.seg-proj__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
@media (hover: hover) { .seg-proj:hover .seg-proj__img img { transform: scale(1.04); } }
.seg-proj__name { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 500; text-transform: uppercase; }
.seg-proj__desc { font-size: 16px; color: rgba(255,255,255,.75); }
.seg-faqs { display: flex; flex-direction: column; gap: 10px; }
.seg-faq { background: var(--surface-2); border: 1px solid var(--edge); border-radius: 4px; }
.seg-faq summary { cursor: pointer; list-style: none; padding: 22px 56px 22px 24px; position: relative; font-size: 18px; font-weight: 500; }
.seg-faq summary::-webkit-details-marker { display: none; }
.seg-faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; transition: transform .3s var(--ease); }
.seg-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.seg-faq p { margin: 0; padding: 0 24px 22px; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.8); }
.seg-more { margin-top: 40px; font-size: 16px; color: rgba(255,255,255,.8); }
.seg-more a:not(.chip) { text-decoration: underline; text-underline-offset: 4px; }
.seg-others { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip--link { transition: background-color .3s var(--ease), border-color .3s var(--ease); }
@media (hover: hover) { .chip--link:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); } }
.blog-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 48px; }
.blog-item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.blog-item__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--surface); }
.blog-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-item__body { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.blog-item__body .post__meta { gap: 14px; }
.blog-item h2 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; font-weight: 500; letter-spacing: -0.02em; }
.blog-item p { margin: 0; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.75); }
/* segment links on the home page */
.seg-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 991px) { .seg-grid, .seg-grid--3 { grid-template-columns: 1fr 1fr; } .blog-item { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 640px) {
  .seg-hero { padding: 48px 0 24px; }
  .seg-lede { font-size: 18px; }
  .seg-grid, .seg-grid--3, .seg-projs { grid-template-columns: 1fr; }
  .seg-sec { padding: 40px 0; }
  .seg-links { justify-content: flex-start; }
}
.blog-all { margin-top: 40px; display: flex; justify-content: center; }
@media (max-width: 640px) { .blog-all { justify-content: flex-start; } }

/* inner pages: the home's top band, shorter. Same wordmark and streaks, title and intro over them. */
.page-hero { position: relative; overflow: hidden; background: var(--bg); padding-bottom: 0; min-height: max(560px, 72vh); min-height: max(560px, 72svh); display: flex; }
.page-hero .hero__word, .page-hero .hero__canvas { height: 100%; }
.page-hero__inner { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 28px; padding-top: 160px; padding-bottom: 100px; }
.page-hero__title { max-width: 1150px; font-size: clamp(40px, 5.6vw, 64px); line-height: 1.08; }
.page-hero__title .hero__line > span { display: block; }
.page-hero__foot { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.page-hero__lede { max-width: 620px; margin: 0; }
.page-hero__foot .seg-actions { margin-left: 0; }
.page-hero .article__meta { margin: 0; }
.no-js .hero__line > * { transform: none; opacity: 1; }
.seg { padding-top: 0; }
.article { padding-top: 64px; }
@media (max-width: 640px) {
  .page-hero { min-height: 0; }
  .page-hero__inner { padding-top: 132px; padding-bottom: 60px; gap: 22px; }
  .page-hero__title { font-size: 36px; }
  .page-hero__foot { flex-direction: column; align-items: flex-start; }
  .page-hero__foot .seg-actions { margin-left: 0; }
  .article { padding-top: 40px; }
}
/* same white rounded tile as the process step icons */
.seg-ico { width: 48px; height: 48px; margin-bottom: 28px; background: #fff; color: #000; display: grid; place-items: center; border-radius: 8px; }
.seg-ico svg { display: block; width: 26px; height: 26px; }
/* every card in the grid gets the height of the tallest one */
.seg-grid { grid-auto-rows: 1fr; }

/* inner pages: closing band, "keep exploring" row and section rhythm.
   Same rhythm as the home: 200px between one block's content and the next on desktop, 120px on phones. */
.seg .seg-sec { padding: 100px 0; }
.page-hero + .seg-sec, .page-hero + .section { padding-top: 200px; }
.page-hero + .article { padding-top: 100px; }
.seg .seg-process { padding: 100px 0; }
.seg-close .seg-h2 { margin-bottom: 24px; }
.seg-close__lede { text-align: center; font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.8); margin: 0 auto 36px; max-width: 620px; }
.seg-close__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 32px; }
.seg-close__actions .btn { width: auto; }
.seg-next__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; border-top: 1px solid var(--edge); padding-top: 48px; }
.seg-next__post { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 32px; row-gap: 14px; align-items: start; }
.seg-next__img { grid-row: 1 / span 2; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--surface); }
.seg-next__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.seg-next__label { margin: 0; font-size: 14px; font-weight: 500; text-transform: uppercase; color: var(--faint); }
.seg-next__title { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; transition: text-decoration-color .3s var(--ease); }
@media (hover: hover) { .seg-next__post:hover .seg-next__img img { transform: scale(1.04); } .seg-next__post:hover .seg-next__title { text-decoration-color: currentColor; } }
.seg-next__nav { padding-left: 48px; border-left: 1px solid var(--edge); }
.seg-next__nav ul { list-style: none; margin: 14px 0 0; padding: 0; }
.seg-next__link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--edge); font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -0.02em; text-transform: uppercase; }
.seg-next__link svg { flex: none; transition: transform .35s var(--ease); }
@media (hover: hover) { .seg-next__link:hover svg { transform: translateX(6px); } }
.seg-next__link:focus-visible, .seg-next__post:focus-visible { outline: 1px solid #fff; outline-offset: 4px; }
@media (max-width: 991px) {
  .seg-next__grid { grid-template-columns: 1fr; gap: 48px; }
  .seg-next__nav { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .seg .seg-sec, .seg .seg-process { padding: 60px 0; }
  .page-hero + .seg-sec, .page-hero + .section { padding-top: 120px; }
  .page-hero + .article { padding-top: 60px; }
  .seg-next__post { grid-template-columns: 1fr; }
  .seg-next__img { grid-row: auto; }
}

/* "O que o seu site vai ter": bento grid. 3 cards, then 2 wide, then 1 full-width with the art beside the text.
   Each card leads with a small greyscale mock of the thing it describes, drawn in CSS. */
.seg-bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--edge); border-radius: 4px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.06), rgba(255,255,255,0) 60%), #121212; }
.bento--third { grid-column: span 2; }
.bento--half { grid-column: span 3; }
.bento--full { grid-column: span 6; flex-direction: row; align-items: center; }
.bento__art { position: relative; height: 230px; padding: 28px 28px 0; display: flex; align-items: flex-end; justify-content: center;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.bento--half .bento__art { height: 260px; }
.bento--full .bento__art { flex: 1 1 55%; height: 300px; align-items: center; padding: 28px; -webkit-mask-image: linear-gradient(90deg, #000 75%, transparent); mask-image: linear-gradient(90deg, #000 75%, transparent); }
.bento__text { padding: 8px 28px 30px; }
.bento--full .bento__text { flex: 1 1 45%; padding: 40px 48px 40px 8px; }
.bento h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.25; font-weight: 500; text-transform: uppercase; letter-spacing: -0.01em; }
.bento p { margin: 0; max-width: 46ch; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.72); }
.bento .mk { transition: transform .8s var(--ease); }
@media (hover: hover) { .bento:hover .mk { transform: translateY(-6px); } }

/* mock primitives */
.mk { width: 100%; max-width: 340px; font-size: 12px; line-height: 1.3; color: rgba(255,255,255,.85); }
.bento--half .mk, .bento--full .mk { max-width: 420px; }
.mk-bar { display: block; height: 7px; width: var(--w, 70%); border-radius: 4px; background: rgba(255,255,255,.14); margin-top: 8px; }
.mk-bar:first-child { margin-top: 0; }
.mk-img { display: block; border-radius: 4px; background: linear-gradient(135deg, #3a3a3a, #1d1d1d 70%); border: 1px solid rgba(255,255,255,.06); }
.mk-tag, .mk-pill, .mk-tab { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 100px; border: 1px solid rgba(255,255,255,.25); font-size: 11px; font-weight: 500; text-transform: uppercase; white-space: nowrap; }
.is-on.mk-tab, .mk-tag { background: #fff; color: #000; border-color: #fff; }
.mk-gallery { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 70px 70px auto; gap: 8px; }
.mk-gallery .mk-img--a { grid-row: span 2; }
.mk-gallery .mk-img--c { background: linear-gradient(135deg, #2a2a2a, #161616); }
.mk-gallery .mk-cap { grid-column: span 2; padding-top: 6px; }
.mk-pages { position: relative; }
.mk-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.mk-sheet { position: relative; z-index: 1; padding: 12px; border-radius: 4px; background: #1b1b1b; border: 1px solid rgba(255,255,255,.1); }
.mk-sheet .mk-img { height: 54px; margin-bottom: 10px; }
.mk-sheet--back { position: absolute; z-index: 0; inset: 52px -10px -10px 10px; background: #161616; }
.mk-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mk-person { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 4px; background: #1b1b1b; border: 1px solid rgba(255,255,255,.08); }
.mk-avatar { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #4a4a4a 0 22%, transparent 23%), radial-gradient(circle at 50% 100%, #4a4a4a 0 42%, transparent 43%), #262626; }
.mk-steps { display: flex; flex-direction: column; gap: 10px; }
.mk-step { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 4px; background: #1b1b1b; border: 1px solid rgba(255,255,255,.08); }
.mk-step .mk-bar { flex: 1; margin: 0; }
.mk-step b { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); font-size: 11px; font-weight: 600; }
.mk-step.is-on { border-color: rgba(255,255,255,.35); }
.mk-step.is-on b { background: #fff; color: #000; border-color: #fff; }
.mk-search { display: flex; flex-direction: column; gap: 10px; }
.mk-field { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 100px; background: #1f1f1f; border: 1px solid rgba(255,255,255,.18); font-size: 13px; }
.mk-field svg { width: 16px; height: 16px; flex: none; }
.mk-result { padding: 10px 12px; border-radius: 4px; border: 1px solid rgba(255,255,255,.06); }
.mk-result.is-on { background: #1b1b1b; border-color: rgba(255,255,255,.2); }
.mk-result b { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 500; color: rgba(255,255,255,.7); }
.mk-chat { display: flex; flex-direction: column; gap: 8px; }
.mk-bubble { max-width: 82%; padding: 10px 12px; border-radius: 12px; font-size: 12px; }
.mk-bubble--in { align-self: flex-start; background: #232323; border-bottom-left-radius: 4px; }
.mk-bubble--out { align-self: flex-end; background: #fff; color: #000; border-bottom-right-radius: 4px; }
.mk-send { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 8px 8px 8px 14px; border-radius: 100px; background: #1b1b1b; border: 1px solid rgba(255,255,255,.12); }
.mk-send .mk-bar { margin: 0; }
.mk-send b { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #000; }
.mk-send svg { width: 14px; height: 14px; }
.mk-cred { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 4px; background: #1b1b1b; border: 1px solid rgba(255,255,255,.12); }
.mk-cred > div { flex: 1; }
.mk-cred b { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.mk-seal { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 8px; background: #fff; color: #000; }
.mk-seal svg { width: 28px; height: 28px; }
.mk-faq { display: flex; flex-direction: column; gap: 8px; }
.mk-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 4px; background: #1b1b1b; border: 1px solid rgba(255,255,255,.08); }
.mk-row .mk-bar { margin: 0; }
.mk-row b { font-weight: 400; font-size: 16px; }
.mk-row.is-on { padding-bottom: 28px; border-color: rgba(255,255,255,.25); }
.mk-launch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.mk-img--tall { height: 150px; }
.mk-launch__info { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 6px; }
.mk-launch__info .mk-bar { margin: 0; }
.mk-map { position: relative; height: 170px; border-radius: 4px; border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 28px 28px, #151515; }
.mk-map::before { content: ""; position: absolute; left: -10%; right: -10%; top: 58%; height: 10px; background: rgba(255,255,255,.12); transform: rotate(-12deg); }
.mk-pin { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; transform: translate(-50%, -88%); color: #fff; z-index: 1; }
.mk-ring { position: absolute; left: 50%; top: 50%; width: 110px; height: 110px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(255,255,255,.3); box-shadow: 0 0 0 26px rgba(255,255,255,.04); }
.mk-progress { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 4px; background: #1b1b1b; border: 1px solid rgba(255,255,255,.08); }
.mk-stage { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 12px; }
.mk-stage em { font-style: normal; font-size: 11px; text-transform: uppercase; color: rgba(255,255,255,.7); }
.mk-track { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.mk-track i { display: block; height: 100%; width: var(--w); background: #fff; border-radius: 4px; }
.mk-timeline { position: relative; display: flex; flex-direction: column; gap: 16px; padding-left: 24px; }
.mk-timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: rgba(255,255,255,.2); }
.mk-tl { position: relative; display: block; }
.mk-dot { position: absolute; left: -24px; top: 0; width: 13px; height: 13px; border-radius: 50%; background: #121212; border: 1px solid rgba(255,255,255,.4); }
.mk-dot.is-on { background: #fff; border-color: #fff; }
.mk-chart { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 16px; border-radius: 4px; background: #1b1b1b; border: 1px solid rgba(255,255,255,.08); }
.mk-chart i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(#fff, rgba(255,255,255,.25)); }
.mk-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mk-card { position: relative; display: flex; flex-direction: column; gap: 0; padding: 8px; border-radius: 4px; background: #1b1b1b; border: 1px solid rgba(255,255,255,.08); }
.mk-card .mk-img { height: 70px; margin-bottom: 10px; }
.mk-card .mk-tag { position: absolute; top: 14px; left: 14px; padding: 2px 7px; font-size: 9px; }
.mk-listing { display: flex; flex-direction: column; gap: 10px; }
.mk-img--wide { height: 110px; }
.mk-specs { display: flex; gap: 6px; flex-wrap: wrap; }
.mk-sync { display: flex; align-items: center; justify-content: center; gap: 0; height: 150px; }
.mk-node { padding: 12px 16px; border-radius: 4px; background: #1b1b1b; border: 1px solid rgba(255,255,255,.18); font-size: 12px; font-weight: 500; text-transform: uppercase; }
.mk-node.is-on { background: #fff; color: #000; border-color: #fff; }
.mk-link { display: flex; gap: 6px; padding: 0 12px; }
.mk-link i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); }
.mk-link i:nth-child(2) { background: rgba(255,255,255,.75); }
.mk-link i:nth-child(3) { background: #fff; }

@media (max-width: 991px) {
  .seg-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento--third, .bento--half { grid-column: span 1; }
  .bento--full { grid-column: span 2; }
}
@media (max-width: 640px) {
  .seg-bento { grid-template-columns: 1fr; }
  .bento--third, .bento--half, .bento--full { grid-column: auto; }
  .bento--full { flex-direction: column; align-items: stretch; }
  .bento--full .bento__art { height: 230px; padding: 24px 24px 0; align-items: flex-end; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
  .bento--full .bento__text { padding: 8px 24px 28px; }
  .bento__art { height: 210px; padding: 24px 24px 0; }
  .bento__text { padding: 8px 24px 28px; }
  .bento h3 { font-size: 20px; }
}

/* bento motion: each mock builds itself once when its card enters the view (class .is-in from page.js).
   Explanation, not decoration: bars grow, tracks fill, the query types, the pin drops, the chat arrives in turn.
   The only loop is the sync dots, which show the connection running. Transform, opacity and clip-path only. */
@keyframes mk-rise { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes mk-grow-y { from { opacity: 0; transform: scaleY(.08); } to { opacity: 1; transform: none; } }
@keyframes mk-grow-x { from { transform: scaleX(0); } to { transform: none; } }
@keyframes mk-drop { from { opacity: 0; transform: translate(-50%, -160%); } to { opacity: 1; transform: translate(-50%, -88%); } }
@keyframes mk-ring { from { opacity: 0; transform: translate(-50%, -50%) scale(.6); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes mk-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes mk-flow { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes mk-fade { from { opacity: 0; } to { opacity: 1; } }
html:not(.no-js) .bento:not(.is-in) .mk > * { opacity: 0; }
html:not(.no-js) .bento:not(.is-in) .mk-track i { transform: scaleX(0); }
html:not(.no-js) .bento:not(.is-in) .mk-field span { clip-path: inset(0 100% 0 0); }
.bento.is-in .mk > * { animation: mk-rise .6s var(--ease) calc(var(--k, 0) * 70ms + 120ms) both; }
.bento.is-in .mk-chart > i { transform-origin: 50% 100%; animation: mk-grow-y .9s var(--ease) calc(var(--k, 0) * 60ms + 150ms) both; }
.mk-track i { transform-origin: 0 50%; }
.bento.is-in .mk-track i { animation: mk-grow-x 1.1s var(--ease) calc(var(--k, 0) * 120ms + 450ms) both; }
.bento.is-in .mk-map > .mk-pin { animation: mk-drop .7s var(--ease) .45s both; }
.bento.is-in .mk-map > .mk-ring { animation: mk-ring .9s var(--ease) .2s both; }
.bento.is-in .mk-field span { animation: mk-type .9s steps(22, end) .45s both; }
.bento.is-in .mk-link i { animation: mk-flow 1.4s linear infinite; }
.bento.is-in .mk-link i:nth-child(2) { animation-delay: .2s; }
.bento.is-in .mk-link i:nth-child(3) { animation-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .bento.is-in .mk > *, .bento.is-in .mk-chart > i, .bento.is-in .mk-map > .mk-pin, .bento.is-in .mk-map > .mk-ring { animation: mk-fade .4s ease both; }
  .bento.is-in .mk-track i, .bento.is-in .mk-field span, .bento.is-in .mk-link i { animation: none; }
  html:not(.no-js) .bento:not(.is-in) .mk-track i { transform: none; }
  html:not(.no-js) .bento:not(.is-in) .mk-field span { clip-path: none; }
  .bento:hover .mk { transform: none; }
}
.seg-next__grid--solo { grid-template-columns: 1fr; }
.seg-next__grid--solo .seg-next__nav { padding-left: 0; border-left: 0; }

/* "Também fazemos sites para": the segment links as cards, same surface as the bento */
.seg-next__grid--solo { border-top: 0; padding-top: 0; }
.seg-next__grid--solo .seg-next__nav ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.seg-next__grid--solo .seg-next__link { min-height: 180px; padding: 28px; flex-direction: column; align-items: flex-start; justify-content: space-between; border: 1px solid var(--edge); border-bottom: 1px solid var(--edge); border-radius: 4px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.06), rgba(255,255,255,0) 60%), #121212; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.seg-next__grid--solo .seg-next__link svg { align-self: flex-end; width: 26px; height: 26px; }
@media (hover: hover) { .seg-next__grid--solo .seg-next__link:hover { border-color: rgba(255,255,255,.3); } }
.seg-next__grid--solo .seg-next__label { display: block; text-align: center; }
@media (max-width: 640px) {
  .seg-next__grid--solo .seg-next__nav ul { grid-template-columns: 1fr; }
  .seg-next__grid--solo .seg-next__link { min-height: 120px; padding: 24px; }
  .seg-next__grid--solo .seg-next__label { text-align: left; }
}
.seg-next__grid--post { grid-template-columns: 1fr; }

/* inner pages (anything after the short top band): section titles at 52px max, a step below the 64px page title */
.page-hero ~ section .h2, .page-hero ~ section .seg-h2 { font-size: clamp(34px, 3.9vw, 52px); }

/* inner pages: the label above the page title uses the home's dot label, not a pill */
.page-hero .chip { gap: 10px; padding: 0; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 14px; line-height: 1.2; }
.page-hero .chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
/* 4 segment cards: two per row on tablets */
@media (max-width: 991px) and (min-width: 641px) { .seg-next__grid--solo .seg-next__nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.blog-all .btn { width: auto; }
