:root {
  --yellow: #ffff00;
  --ink: #231f20;
  --paper: #ffffff;
  --gray: #999897;
  --soft: #f2f2ee;
  --line: rgba(35, 31, 32, .16);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--yellow); padding: .75rem 1rem; font-weight: 900; }
.skip-link:focus { top: 1rem; }
.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.eyebrow { margin: 0 0 .9rem; font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ''; display: inline-block; width: 26px; height: 8px; margin-right: 8px; background: var(--yellow); }
.display { margin: 0; font-size: clamp(3rem, 5vw, 5.4rem); line-height: .88; letter-spacing: -.065em; text-transform: uppercase; }
.display .marker, .headline .marker { background: var(--yellow); padding: 0 .08em; }
.headline { margin: 0; font-size: clamp(2.2rem, 5vw, 4.9rem); line-height: .95; letter-spacing: -.055em; text-transform: uppercase; }
.lead { max-width: 720px; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.45; }
.muted { color: #625f60; }

.topbar { background: var(--yellow); color: var(--ink); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.topbar .shell { display: flex; justify-content: space-between; gap: 1rem; padding-block: .48rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 218px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; font-size: .88rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.nav-links a { position: relative; }
.nav-links a:not(.button)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -.35rem; height: 3px; background: var(--yellow); transition: right .25s ease; }
.nav-links a:hover::after, .nav-links a[aria-current='page']::after { right: 0; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--ink); background: white; font-weight: 900; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: .55rem; padding: .78rem 1.15rem; border: 2px solid var(--ink); background: var(--ink); color: white; font-size: .86rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--yellow); }
.button.yellow { background: var(--yellow); color: var(--ink); }
.button.white { background: white; color: var(--ink); }
.button.ghost { background: transparent; color: var(--ink); }
.button.small { min-height: 42px; padding: .58rem .85rem; }
.text-link { font-weight: 900; text-transform: uppercase; letter-spacing: .04em; border-bottom: 4px solid var(--yellow); }
.email-address { text-transform: lowercase; }

.hero { overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { min-height: 580px; display: grid; grid-template-columns: 1.12fr .88fr; }
.hero-copy { position: relative; z-index: 2; padding: 2.5rem max(2rem, calc((100vw - var(--max))/2)) 2.5rem max(20px, calc((100vw - var(--max))/2)); display: flex; flex-direction: column; justify-content: center; }
.hero-copy .lead { margin: 1.35rem 0; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-image { position: relative; min-height: 560px; background: var(--ink); overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: right 38%; transform: scale(1.28); transform-origin: right center; filter: grayscale(1) contrast(1.05); }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 58%, rgba(255,255,0,.72)); mix-blend-mode: color; }
.hero-stamp { position: absolute; left: -1px; bottom: 0; z-index: 2; width: min(430px, 78%); padding: 1rem 1.25rem; background: var(--yellow); border: 1px solid var(--ink); font-size: .88rem; font-weight: 900; text-transform: uppercase; }
.scribble { position: absolute; right: 2rem; top: 5rem; width: 110px; height: 48px; border-top: 5px solid var(--yellow); border-radius: 50%; transform: rotate(-12deg); }

.proof-strip { background: var(--ink); color: white; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { min-height: 150px; padding: 2rem; border-right: 1px solid rgba(255,255,255,.2); display: flex; flex-direction: column; justify-content: space-between; }
.proof-item:last-child { border: 0; }
.proof-item strong { color: var(--yellow); font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1; letter-spacing: -.05em; }
.proof-item span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }

.section { padding-block: clamp(5rem, 9vw, 9rem); }
.section.tight { padding-block: 4rem; }
.section.yellow { background: var(--yellow); }
.section.ink { background: var(--ink); color: white; }
.section.ink .headline .marker { color: var(--ink); }
.section.soft { background: var(--soft); }
.section-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }
.section-head p { margin: 0; max-width: 520px; }

.problem-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 6vw; align-items: start; }
.problem-list { border-top: 1px solid var(--line); }
.problem-row { display: grid; grid-template-columns: 70px 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.problem-row b { font-size: 1.4rem; }
.problem-row p { margin: .25rem 0 0; color: #625f60; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.25); border-left: 1px solid rgba(255,255,255,.25); }
.service-card { min-height: 360px; padding: 2rem; border-right: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); display: flex; flex-direction: column; justify-content: space-between; transition: background .25s ease, color .25s ease; }
.service-card:hover { background: var(--yellow); color: var(--ink); }
.service-card .num { font-size: .8rem; font-weight: 900; letter-spacing: .12em; }
.service-card h3 { margin: 4rem 0 1rem; font-size: 1.8rem; line-height: 1.05; text-transform: uppercase; }
.service-card p { margin: 0; max-width: 32ch; }
.service-card .tags { margin-top: 1.5rem; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

.method { display: grid; grid-template-columns: .7fr 1.3fr; gap: 5vw; }
.steps { counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.step::before { counter-increment: step; content: '0' counter(step); font-size: .82rem; font-weight: 900; }
.step h3 { margin: 0 0 .35rem; font-size: 1.4rem; }
.step p { margin: 0; color: #625f60; }

.cases { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; }
.case { position: relative; min-height: 470px; overflow: hidden; background: #111; color: white; }
.case img { position: absolute; inset: 0; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .42; transition: transform .5s ease; }
.case:hover img { transform: scale(1.04); }
.case::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9), transparent 70%); }
.case-copy { position: absolute; z-index: 2; inset: auto 2rem 2rem; }
.case-copy .result { color: var(--yellow); font-size: clamp(2.4rem,5vw,5rem); font-weight: 1000; letter-spacing: -.06em; }
.case-copy h3 { margin: .25rem 0; font-size: 1.5rem; text-transform: uppercase; }
.case-copy p { margin: 0; max-width: 48ch; }
.case.note { background: var(--yellow); color: var(--ink); }
.case.note::after { display: none; }
.case.note .case-copy { inset: 2rem; display: flex; flex-direction: column; justify-content: space-between; }
.case.note .result { color: var(--ink); }

.articles { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 1rem; }
.article-card { display: flex; min-height: 360px; padding: 1.6rem; border: 1px solid var(--ink); flex-direction: column; justify-content: space-between; background: white; transition: transform .18s ease, box-shadow .18s ease; }
.article-card:hover { transform: translate(-4px,-4px); box-shadow: 8px 8px 0 var(--yellow); }
.article-card.featured { background: var(--ink); color: white; }
.article-meta { display: flex; gap: .6rem; flex-wrap: wrap; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.article-meta span { padding: .28rem .45rem; border: 1px solid currentColor; }
.article-card h3 { margin: 3rem 0 .8rem; font-size: clamp(1.45rem, 3vw, 2.4rem); line-height: 1.02; text-transform: uppercase; }
.article-card p { margin: 0; }

.clients-section { background: var(--soft); border-block: 1px solid var(--line); }
.clients-section .section-head { margin-bottom: 2.2rem; }
.clients-showcase { background: transparent; }
.client-logos { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; background: transparent; }
.client-logo { aspect-ratio: 1; min-width: 0; margin: 0; padding: 1.1rem; display: grid; place-items: center; overflow: hidden; border: 0; background: transparent; }
.client-logo img { width: 82%; height: 72%; object-fit: contain; }
.client-logo svg { width: 82%; height: 72%; overflow: hidden; }
.client-logo img, .client-logo svg { mix-blend-mode: multiply; }
.client-logo.ied img { width: 92%; height: auto; mix-blend-mode: normal; }
.partners-block { margin-top: 3.5rem; }
.partners-block h3 { margin: 0 0 1.2rem; font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; }
.partner-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.partner-logo { min-height: 120px; padding: 1.2rem; display: grid; place-items: center; border: 0; background: transparent; }
.partner-logo img { width: 100%; height: 70px; object-fit: contain; mix-blend-mode: multiply; }
.partner-logo.clean-bg img { filter: contrast(1.18) saturate(1.05); }
.partner-logo.zenvia img { width: 88%; filter: none; }
.partner-logo.pinterest img { width: 88%; height: 82px; filter: none; }
.partner-logo.ied { background: #000; }

.faq { max-width: 900px; margin: 3rem auto 0; border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--ink); }
summary { cursor: pointer; list-style: none; padding: 1.35rem 3rem 1.35rem 0; font-size: 1.15rem; font-weight: 900; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: .4rem; top: 1rem; font-size: 1.7rem; }
details[open] summary::after { content: '−'; }
details p { margin: 0; padding: 0 2rem 1.5rem 0; max-width: 75ch; }

.cta-band { padding-block: clamp(4rem,8vw,7rem); background: var(--yellow); }
.cta-band .shell { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.cta-band h2 { max-width: 900px; }

.page-hero { padding: 7rem 0 4rem; border-bottom: 1px solid var(--ink); background: var(--soft); }
.page-hero .lead { margin: 1.6rem 0 0; }
.breadcrumbs { margin-bottom: 1.5rem; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.service-detail { display: grid; grid-template-columns: 90px 1fr .8fr; gap: 2rem; padding: 3rem 0; border-top: 1px solid var(--ink); }
.service-detail .big-num { font-size: 1rem; font-weight: 900; }
.service-detail h2 { margin: 0; font-size: clamp(1.8rem,4vw,3.2rem); line-height: 1; text-transform: uppercase; }
.service-detail ul { margin: 0; padding-left: 1.1rem; }

.blog-controls { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-button { border: 1px solid var(--ink); background: white; padding: .55rem .8rem; font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.filter-button.active, .filter-button:hover { background: var(--yellow); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.blog-grid .article-card { min-height: 330px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 260px; justify-content: center; gap: 6vw; }
.article-body { font-size: 1.1rem; }
.article-body h2 { margin: 3rem 0 1rem; font-size: clamp(1.8rem,4vw,2.8rem); line-height: 1.05; text-transform: uppercase; }
.article-body h3 { margin: 2rem 0 .6rem; font-size: 1.35rem; }
.article-body blockquote { margin: 2rem 0; padding: 1.5rem 2rem; background: var(--yellow); border-left: 8px solid var(--ink); font-size: 1.3rem; font-weight: 800; }
.toc { position: sticky; top: 110px; align-self: start; border: 1px solid var(--ink); padding: 1.2rem; }
.toc strong { display: block; margin-bottom: .8rem; text-transform: uppercase; }
.toc a { display: block; padding: .35rem 0; font-size: .86rem; border-bottom: 1px solid var(--line); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6vw; }
.contact-list { display: grid; gap: .8rem; margin-top: 2rem; }
.contact-item { padding: 1.2rem 0; border-top: 1px solid var(--ink); }
.contact-item small { display: block; text-transform: uppercase; font-weight: 900; letter-spacing: .08em; }
.contact-form { padding: 2rem; border: 2px solid var(--ink); box-shadow: 12px 12px 0 var(--yellow); background: white; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 900; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--ink); padding: .9rem; background: white; border-radius: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { margin: .8rem 0 0; font-size: .78rem; color: #625f60; }
.form-success { display: none; margin-top: 1rem; padding: 1rem; background: var(--yellow); font-weight: 800; }
.form-success.show { display: block; }

.site-footer { background: #000; color: white; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr .7fr .7fr; gap: 3rem; }
.footer-logo { width: 270px; height: 124px; object-fit: cover; object-position: center; }
.brand-case { text-transform: none; }
.site-footer h3 { margin: .6rem 0 1rem; color: var(--yellow); font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; }
.site-footer a { display: block; width: fit-content; margin: .35rem 0; }
.site-footer a:hover { color: var(--yellow); }
.social-links { display: flex; gap: .65rem; margin-top: 1.25rem; }
.site-footer .social-link { width: 42px; height: 42px; margin: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); color: white; transition: color .18s ease, border-color .18s ease, transform .18s ease; }
.site-footer .social-link:hover { color: var(--yellow); border-color: var(--yellow); transform: translateY(-2px); }
.social-link svg, .social-link img { width: 21px; height: 21px; object-fit: contain; }
.social-link svg { fill: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.25); font-size: .75rem; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .topbar span:last-child { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links { position: absolute; inset: 76px 0 auto; display: none; padding: 1.5rem 20px 2rem; background: white; border-bottom: 2px solid var(--ink); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links .button { width: 100%; }
  .hero-grid, .section-head, .problem-grid, .method, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 5rem 20px 4rem; }
  .hero-image { min-height: 460px; }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .services-grid, .blog-grid { grid-template-columns: repeat(2,1fr); }
  .client-logos { grid-template-columns: repeat(3,1fr); }
  .partner-logos { grid-template-columns: repeat(3,1fr); }
  .articles { grid-template-columns: 1fr 1fr; }
  .articles .featured { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .cta-band .shell { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, var(--max)); }
  .display { font-size: clamp(2.8rem, 15vw, 4.7rem); }
  .hero-grid { min-height: auto; }
  .hero-copy { padding: 4rem 14px 3rem; }
  .hero-image { min-height: 380px; }
  .proof-grid, .services-grid, .cases, .articles, .blog-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .client-logos { grid-template-columns: repeat(2,1fr); }
  .partner-logos { grid-template-columns: repeat(2,1fr); }
  .client-logo { padding: .85rem; }
  .proof-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); min-height: 120px; }
  .service-card { min-height: 300px; }
  .articles .featured { grid-column: auto; }
  .service-detail { grid-template-columns: 50px 1fr; }
  .service-detail ul { grid-column: 2; }
  .footer-bottom { flex-direction: column; }
  .brand-logo { width: 174px; }
  .footer-logo { width: 230px; height: 106px; }
}

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