:root{
  --bg:#f5f5f2;
  --surface:#ffffff;
  --surface-soft:#ecece7;
  --ink:#10100f;
  --muted:#686862;
  --line:#dcdcd5;
  --dark:#11110f;
  --radius:16px;
  --max:1160px;

  --section-space:92px;
  --section-title:clamp(38px,4vw,52px);
  --section-copy:15px;
  --card-title:19px;
  --card-copy:13px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  overflow-x:hidden;
  background:var(--bg);
  color:var(--ink);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.grain,.skip-link{display:none!important}
.reveal{opacity:1!important;transform:none!important}

.shell{
  width:min(var(--max),calc(100% - 48px));
  margin-inline:auto;
}
.section-pad{
  padding-top:var(--section-space);
  padding-bottom:var(--section-space);
}

/* ONE SECTION HEADER SYSTEM */
.section-heading{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,400px);
  gap:48px;
  align-items:end;
  margin-bottom:34px;
}
.section-heading>div{min-width:0}
.section-label,
.eyebrow,
.mini-label{
  margin:0 0 12px;
  color:var(--muted);
  font-size:10px;
  line-height:1;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.section-heading h2,
.promise-lead h2{
  max-width:700px;
  margin:0;
  font-size:var(--section-title);
  line-height:1.03;
  letter-spacing:-.043em;
  text-wrap:balance;
}
.section-heading>p{
  width:100%;
  max-width:400px;
  justify-self:end;
  margin:0;
  color:var(--muted);
  font-size:var(--section-copy);
  line-height:1.65;
}

/* HEADER */
.site-header{
  position:sticky;
  top:10px;
  z-index:50;
  width:min(1200px,calc(100% - 28px));
  min-height:58px;
  margin:10px auto 0;
  padding:8px 10px;
  display:flex;
  align-items:center;
  gap:18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(245,245,242,.94);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.brand{display:flex;align-items:center;gap:10px;font-weight:700}
.brand-badge{
  width:34px;height:34px;
  display:grid;place-items:center;
  border-radius:8px;
  background:var(--ink);
  color:#fff;
  font-size:11px;
}
.desktop-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:16px;
}
.desktop-nav>a,.nav-coming-soon{
  font-size:12px;
  white-space:nowrap;
}
.nav-coming-soon{
  display:flex;
  gap:5px;
  color:var(--muted);
}
.nav-coming-soon small{
  padding:2px 5px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:8px;
}
.header-cta{
  min-height:40px;
  padding:0 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  background:var(--ink);
  color:#fff;
  font-size:12px;
  font-weight:650;
}

/* HERO */
.hero{
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(420px,1.05fr);
  gap:64px;
  align-items:center;
  min-height:660px;
  padding-top:70px;
  padding-bottom:80px;
}
.hero-copy{max-width:610px}
.hero .eyebrow{margin-bottom:18px}
.live-dot{
  display:inline-block;
  width:7px;height:7px;
  margin-right:8px;
  border-radius:50%;
  background:var(--ink);
}
.hero-title{
  max-width:650px;
  margin:0 0 22px;
  font-size:clamp(52px,6vw,78px);
  line-height:.95;
  letter-spacing:-.055em;
  text-wrap:balance;
}
.hero-body{
  max-width:590px;
  margin:0 0 26px;
  color:#4e4e49;
  font-size:17px;
  line-height:1.62;
}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.button{
  min-height:44px;
  padding:0 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  font-size:12px;
  font-weight:650;
}
.button-dark{background:var(--ink);color:#fff;border:1px solid var(--ink)}
.button-paper{background:var(--surface);color:var(--ink);border:1px solid var(--line)}
.hero-micro{margin:15px 0 0;color:var(--muted);font-size:12px}
.hero-art{
  width:100%;
  max-width:560px;
  justify-self:end;
  padding:8px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--surface);
}
.hero-composite-image{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  height:auto;
  object-fit:cover;
  object-position:center;
  border-radius:12px;
}

/* TICKER */
.ticker{overflow:hidden;background:var(--ink);color:#fff}
.ticker-track{
  min-height:46px;
  display:flex;
  align-items:center;
  gap:22px;
  padding:0 22px;
  white-space:nowrap;
}
.ticker-track span{
  color:rgba(255,255,255,.72);
  font-size:10px;
  letter-spacing:.12em;
}

/* INTRO */
.promise{
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:48px;
  align-items:start;
}
.promise-lead h2{max-width:600px}
.promise-copy{
  max-width:590px;
  justify-self:end;
}
.promise-copy>p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
}
.not-needed{
  margin-top:22px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
}
.not-needed h3{
  margin:0 0 8px;
  font-size:20px;
  line-height:1.2;
}
.not-needed p:last-child{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.58;
}

/* SERVICES */
.services{background:var(--surface-soft)}
.service-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}
.service-feature{
  grid-column:1/-1;
  min-height:400px;
  padding:32px;
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(360px,1.05fr);
  gap:36px;
  align-items:stretch;
  border-radius:var(--radius);
  background:var(--dark);
  color:#fff;
}
.service-feature>div:first-child{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.service-feature .kicker{
  display:inline-flex;
  width:max-content;
  margin-bottom:26px;
  padding:6px 9px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  color:rgba(255,255,255,.7);
  font-size:9px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.service-feature h3{
  margin:0 0 12px;
  font-size:clamp(40px,4vw,54px);
  line-height:1;
  letter-spacing:-.045em;
}
.service-feature p{
  max-width:570px;
  margin:0;
  color:rgba(255,255,255,.66);
  font-size:15px;
  line-height:1.62;
}
.service-feature-side{
  display:grid;
  grid-template-rows:minmax(0,1fr) auto auto;
  gap:17px;
}
.service-visual{
  min-height:0;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:12px;
  background:#252522;
}
.service-visual img{
  width:100%;height:100%;
  object-fit:cover;
  object-position:center;
}
.capability-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 14px;
}
.capability-list span{
  color:rgba(255,255,255,.75);
  font-size:12px;
}
.capability-list span:before{content:"•";margin-right:7px}
.service-feature a{
  width:max-content;
  min-height:42px;
  padding:0 14px;
  display:inline-flex;
  align-items:center;
  border-radius:9px;
  background:#fff;
  color:var(--ink);
  font-size:12px;
  font-weight:700;
}
.service-card{
  min-height:210px;
  padding:22px;
  display:flex;
  flex-direction:column;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
}
.service-card small{
  color:var(--muted);
  font-size:9px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.service-card h3{
  margin:30px 0 8px;
  font-size:var(--card-title);
  line-height:1.18;
  letter-spacing:-.02em;
}
.service-card p{
  margin:auto 0 0;
  color:var(--muted);
  font-size:var(--card-copy);
  line-height:1.58;
}

/* IMAGE SHOWCASE */
.media-showcase{
  padding:var(--section-space) 0;
  background:var(--bg);
}
.media-showcase-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.media-card{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
}
.media-card-image{
  aspect-ratio:16/10;
  overflow:hidden;
  background:#e9e9e4;
}
.media-card-image img{
  width:100%;height:100%;
  object-fit:cover;
  object-position:center;
}
.media-card-copy{padding:20px}
.media-card-copy small{
  display:block;
  margin-bottom:8px;
  color:var(--muted);
  font-size:9px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.media-card-copy h3{
  margin:0 0 8px;
  font-size:var(--card-title);
  line-height:1.18;
}
.media-card-copy p{
  margin:0;
  color:var(--muted);
  font-size:var(--card-copy);
  line-height:1.58;
}

/* USE CASES */
.who{background:var(--bg)}
.use-case-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}
.use-card{
  min-height:210px;
  padding:22px;
  display:flex;
  flex-direction:column;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
}
.use-card small{
  color:var(--muted);
  font-size:9px;
  font-weight:700;
}
.use-card h3{
  margin:34px 0 8px;
  font-size:var(--card-title);
  line-height:1.18;
}
.use-card p{
  margin:auto 0 0;
  color:var(--muted);
  font-size:var(--card-copy);
  line-height:1.58;
}

/* WORK */
.work{background:var(--bg)}
.portfolio-link{
  color:var(--ink);
  font-size:12px;
  white-space:nowrap;
}
.filter-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:22px;
}
.filter-row button,.filter-row a{
  min-height:34px;
  padding:0 11px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface);
  color:var(--muted);
  font-size:11px;
}
.filter-row .active,.filter-row button:hover,.filter-row a:hover{
  background:var(--ink);
  color:#fff;
  border-color:var(--ink);
}
#portfolioGrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}
.work-card{
  height:100%;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
}
.work-media{
  aspect-ratio:16/9;
  background:#ebebe7;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.work-media img,.work-media video,.work-media iframe{
  width:100%;height:100%;
  object-fit:contain;
  border:0;
  background:#ebebe7;
}
.work-copy{
  flex:1 1 auto;
  padding:18px;
  display:flex;
  flex-direction:column;
}
.work-copy small{
  display:block;
  margin-bottom:6px;
  color:var(--muted);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.work-copy h3{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.2;
}
.work-copy p{
  margin:auto 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
}

/* PROCESS */
.process{background:var(--surface-soft)}
.process-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}
.process-card{
  min-height:210px;
  padding:22px;
  display:flex;
  flex-direction:column;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
}
.process-card small{
  display:block;
  color:var(--muted);
  font-size:9px;
  font-weight:700;
}
.process-card h3{
  margin:34px 0 8px;
  font-size:var(--card-title);
  line-height:1.18;
}
.process-card p{
  margin:auto 0 0;
  color:var(--muted);
  font-size:var(--card-copy);
  line-height:1.58;
}

/* TESTIMONIALS: PRESERVE ORIGINAL CONTENT, PREMIUM PRESENTATION */
.results{
  background:var(--surface-soft);
}
.results .section-heading{
  margin-bottom:32px;
}

/* Keep the original site.js testimonial markup, but enforce one layout */
#testimonialGrid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:16px !important;
  align-items:stretch !important;
}

/* Remove old red/yellow/offset-shadow treatment without deleting content */
#testimonialGrid > *{
  position:relative !important;
  min-width:0 !important;
  min-height:480px !important;
  height:100% !important;
  padding:30px !important;
  overflow:hidden !important;
  border:1px solid var(--line) !important;
  border-radius:var(--radius) !important;
  background:var(--surface) !important;
  color:var(--ink) !important;
  box-shadow:none !important;
  transform:none !important;
}

#testimonialGrid > *::before,
#testimonialGrid > *::after{
  display:none !important;
  content:none !important;
}

/* First testimonial is the proof anchor */
#testimonialGrid > *:first-child{
  background:var(--ink) !important;
  border-color:var(--ink) !important;
  color:#fff !important;
}

/* All testimonial typography */
#testimonialGrid h3,
#testimonialGrid h4,
#testimonialGrid strong{
  margin-top:0 !important;
  color:var(--ink) !important;
}

#testimonialGrid > *:first-child h3,
#testimonialGrid > *:first-child h4,
#testimonialGrid > *:first-child strong{
  color:#fff !important;
}

#testimonialGrid p{
  color:var(--ink) !important;
}

#testimonialGrid > *:first-child p{
  color:rgba(255,255,255,.92) !important;
}

/* Client name */
#testimonialGrid > * > h3:first-of-type,
#testimonialGrid > * > h4:first-of-type,
#testimonialGrid [class*="name"]{
  font-size:18px !important;
  line-height:1.2 !important;
  letter-spacing:-.02em !important;
}

/* Role / profession / eyebrow */
#testimonialGrid small,
#testimonialGrid [class*="role"],
#testimonialGrid [class*="profession"],
#testimonialGrid [class*="category"],
#testimonialGrid [class*="eyebrow"]{
  color:var(--muted) !important;
  font-size:10px !important;
  line-height:1.35 !important;
  font-weight:700 !important;
  letter-spacing:.10em !important;
  text-transform:uppercase !important;
}

#testimonialGrid > *:first-child small,
#testimonialGrid > *:first-child [class*="role"],
#testimonialGrid > *:first-child [class*="profession"],
#testimonialGrid > *:first-child [class*="category"],
#testimonialGrid > *:first-child [class*="eyebrow"]{
  color:rgba(255,255,255,.56) !important;
}

/* Full testimonial quote */
#testimonialGrid blockquote,
#testimonialGrid [class*="quote"],
#testimonialGrid [class*="testimonial-text"]{
  margin:34px 0 24px !important;
  color:inherit !important;
  font-size:clamp(18px,1.55vw,22px) !important;
  line-height:1.52 !important;
  letter-spacing:-.012em !important;
}

/* If the quote is simply a paragraph, enlarge the longest body paragraphs */
#testimonialGrid > * > p{
  font-size:17px !important;
  line-height:1.58 !important;
}

/* Supporting/result copy */
#testimonialGrid > * > p:last-child{
  margin-top:22px !important;
  color:var(--muted) !important;
  font-size:13px !important;
  line-height:1.5 !important;
}

#testimonialGrid > *:first-child > p:last-child{
  color:rgba(255,255,255,.58) !important;
}

/* Metric / badge treatment.
   Keep original text, remove the old yellow/red brand. */
#testimonialGrid [class*="metric"],
#testimonialGrid [class*="badge"],
#testimonialGrid [class*="stat"],
#testimonialGrid [class*="growth"]{
  display:inline-flex !important;
  width:auto !important;
  max-width:100% !important;
  padding:8px 10px !important;
  border:1px solid var(--line) !important;
  border-radius:999px !important;
  background:var(--surface-soft) !important;
  color:var(--ink) !important;
  box-shadow:none !important;
  font-size:10px !important;
  line-height:1.25 !important;
  font-weight:750 !important;
  letter-spacing:.03em !important;
}

#testimonialGrid > *:first-child [class*="metric"],
#testimonialGrid > *:first-child [class*="badge"],
#testimonialGrid > *:first-child [class*="stat"],
#testimonialGrid > *:first-child [class*="growth"]{
  border-color:rgba(255,255,255,.18) !important;
  background:#fff !important;
  color:var(--ink) !important;
}

/* Neutralize any hard-coded red/yellow legacy inline color */
#testimonialGrid [style*="color"]{
  color:inherit !important;
}
#testimonialGrid [style*="background"]{
  background:transparent !important;
}
#testimonialGrid > *:first-child [style*="background"]{
  background:transparent !important;
}

/* Maintain breathing room without giant empty cards */
#testimonialGrid > *{
  display:flex !important;
  flex-direction:column !important;
}
#testimonialGrid > * > *:last-child{
  margin-bottom:0 !important;
}

/* Tablet */
@media(max-width:1000px){
  #testimonialGrid{
    grid-template-columns:1fr !important;
  }
  #testimonialGrid > *{
    min-height:auto !important;
  }
}

/* Mobile */
@media(max-width:620px){
  #testimonialGrid > *{
    padding:24px !important;
  }
  #testimonialGrid blockquote,
  #testimonialGrid [class*="quote"],
  #testimonialGrid [class*="testimonial-text"]{
    font-size:18px !important;
  }
}

/* WAYS TO WORK */
.included{background:var(--bg)}
.included-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}
.engagement-card{
  min-height:190px;
  padding:22px;
  display:flex;
  flex-direction:column;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
}
.engagement-card h3{
  margin:0 0 34px;
  font-size:var(--card-title);
  line-height:1.18;
}
.engagement-card p{
  margin:auto 0 0;
  color:var(--muted);
  font-size:var(--card-copy);
  line-height:1.58;
}

/* CTA */
.final-cta{background:var(--surface-soft)}
.cta-card{
  min-height:330px;
  padding:44px;
  border-radius:var(--radius);
  background:var(--dark);
  color:#fff;
}
.cta-card .section-label{color:rgba(255,255,255,.5)}
.cta-card h2{
  max-width:760px;
  margin:10px 0 14px;
  font-size:clamp(38px,4vw,52px);
  line-height:1.02;
  letter-spacing:-.043em;
}
.cta-card>p{
  max-width:620px;
  color:rgba(255,255,255,.66);
  font-size:15px;
  line-height:1.6;
}
.cta-card .button-dark{
  background:#fff;
  color:var(--ink);
  border-color:#fff;
}
.cta-note{
  margin-top:14px;
  color:rgba(255,255,255,.45);
  font-size:11px;
}

/* FOOTER */
.site-footer{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:40px;
  padding-top:38px;
  padding-bottom:38px;
}
.footer-brand{
  display:flex;
  gap:12px;
  align-items:flex-start;
  max-width:600px;
}
.footer-brand p{
  margin:4px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}
.footer-meta{text-align:right}
.footer-contact-links{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.footer-contact-links a{font-size:12px}
.footer-whatsapp-button{
  min-height:38px;
  padding:0 12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--surface);
}
.whatsapp-icon{width:16px;height:16px}
.whatsapp-icon svg{display:block;width:100%;height:100%}

/* RESPONSIVE */
@media(max-width:1020px){
  .desktop-nav{display:none}
  .header-cta{margin-left:auto}
  .hero{
    grid-template-columns:1fr;
    min-height:auto;
  }
  .hero-art{
    max-width:540px;
    justify-self:center;
  }
  .service-feature{
    grid-template-columns:1fr;
  }
  .service-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .service-feature{grid-column:1/-1}
  .use-case-list,
  .process-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:820px){
  .shell{width:min(var(--max),calc(100% - 32px))}
  .section-pad{padding:72px 0}
  .section-heading{
    grid-template-columns:1fr;
    gap:14px;
  }
  .section-heading>p{
    justify-self:start;
    max-width:620px;
  }
  .promise{
    grid-template-columns:1fr;
    gap:28px;
  }
  .promise-copy{justify-self:start}
  .media-showcase-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:620px){
  .service-grid,
  .use-case-list,
  .process-list,
  #portfolioGrid,
  .included-grid{
    grid-template-columns:1fr;
  }
  .capability-list{grid-template-columns:1fr}
  .site-footer{
    flex-direction:column;
    align-items:flex-start;
  }
  .footer-meta{text-align:left}
  .footer-contact-links{justify-content:flex-start}
}
@media(max-width:480px){
  .shell{width:min(var(--max),calc(100% - 24px))}
  .section-pad{padding:58px 0}
  .site-header{
    width:calc(100% - 18px);
    top:7px;
    margin-top:7px;
  }
  .brand #brandName{display:none}
  .hero{
    padding-top:46px;
    padding-bottom:52px;
    gap:32px;
  }
  .hero-title{font-size:48px}
  .hero-actions{width:100%}
  .hero-actions .button{width:100%}
  .service-feature,
  .service-card,
  .use-card,
  .process-card,
  .work-card,
  .service-feature{padding:24px}
  .cta-card{padding:28px 24px}
}


/* V10.2 CASE STUDY LINKS */
.work-copy{
  display:flex !important;
  flex-direction:column !important;
}

.work-case-link{
  display:inline-flex !important;
  align-items:center !important;
  width:max-content !important;
  margin-top:18px !important;
  padding-bottom:2px !important;
  border-bottom:1px solid var(--ink) !important;
  color:var(--ink) !important;
  font-size:12px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  text-decoration:none !important;
}

.work-case-link:hover{
  opacity:.65 !important;
}
