/* =========================================================
   ZESTIFY DIGITAL — DESIGN SYSTEM
   Black / Off-white / White / Red editorial system.
   Display+body: Manrope. Body copy: Inter. Labels/numerals: Space Grotesk.
   ========================================================= */

:root{
  --black:#0A0A0A;
  --off-white:#F7F7F5;
  --white:#FFFFFF;
  --red:#E31B23;
  --dark-red:#B51219;
  --grey:#D9D9D9;
  --ink-60: rgba(10,10,10,.62);
  --ink-40: rgba(10,10,10,.42);
  --paper-60: rgba(247,247,245,.62);
  --paper-40: rgba(247,247,245,.4);

  --container: 1360px;
  --gutter: clamp(24px, 5vw, 64px);
  --nav-h: 84px;

  --ease: cubic-bezier(.16,.84,.44,1);
  --dur-1: .5s;
  --dur-2: .8s;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--off-white);
  color:var(--black);
  font-family:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }

::selection{ background:var(--red); color:var(--white); }

:focus-visible{
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

h1,h2,h3,h4{
  font-family:'Manrope', sans-serif;
  font-weight:800;
  letter-spacing:-0.03em;
  line-height:0.98;
  margin:0;
  text-wrap:balance;
}

.container{
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:var(--gutter);
}

.eyebrow{
  font-family:'Space Grotesk', monospace;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:12px;
  font-weight:500;
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--ink-60);
}
.eyebrow::before{
  content:'';
  width:22px; height:1px;
  background:var(--red);
  display:inline-block;
}
.on-dark .eyebrow{ color:var(--paper-60); }

.index-num{
  font-family:'Space Grotesk', monospace;
  font-weight:500;
  letter-spacing:-0.01em;
}

/* ---------- Buttons ---------- */
.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-family:'Space Grotesk', monospace;
  font-size:13px;
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:.1em;
  padding:16px 26px;
  border-radius:999px;
  border:1px solid transparent;
  transition:background var(--dur-1) var(--ease), color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn svg{ width:14px; height:14px; transition:transform var(--dur-1) var(--ease); flex:none; }
.btn:hover svg{ transform:translate(3px,-3px); }

.btn-primary{ background:var(--red); color:var(--white); }
.btn-primary:hover{ background:var(--dark-red); }

.btn-ghost{ border-color:currentColor; color:var(--black); }
.btn-ghost:hover{ background:var(--black); color:var(--off-white); border-color:var(--black); }
.on-dark .btn-ghost{ color:var(--off-white); }
.on-dark .btn-ghost:hover{ background:var(--off-white); color:var(--black); }

.text-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:'Space Grotesk', monospace;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
  padding-bottom:3px;
}
.text-link::after{
  content:'';
  position:absolute; left:0; bottom:0;
  width:100%; height:1px;
  background:currentColor;
  transform-origin:left;
  transition:transform .4s var(--ease);
}
.text-link:hover::after{ transform:scaleX(0); transform-origin:right; }
.text-link svg{ width:12px; height:12px; transition:transform .35s var(--ease); }
.text-link:hover svg{ transform:translate(3px,-3px); }

/* ---------- Nav ---------- */
.site-nav{
  position:fixed; inset:0 0 auto 0;
  height:var(--nav-h);
  z-index:100;
  display:flex; align-items:center;
  background:transparent;
  transition:background var(--dur-1) var(--ease), height var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), backdrop-filter .3s;
  border-bottom:1px solid transparent;
}
.site-nav.is-scrolled{
  height:72px;
  background:rgba(10,10,10,.86);
  backdrop-filter:blur(14px);
  border-bottom-color:rgba(255,255,255,.08);
}
.nav-inner{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  gap:24px;
}
.nav-logo{ display:flex; align-items:center; height:38px; transition:height var(--dur-1) var(--ease); }
.nav-logo img{ height:100%; width:auto; }
.site-nav.is-scrolled .nav-logo{ height:32px; }
.logo-light{ display:block; }
.logo-dark{ display:none; }
.site-nav.is-scrolled .logo-light{ display:block; }

/* Nav sits over a dark hero on every page, so text/logo stay light-on-dark
   both before and after the scrolled (solid) state — only the background changes. */
.nav-links{ display:flex; align-items:center; gap:38px; }
.nav-links a{
  position:relative;
  font-family:'Space Grotesk', monospace;
  font-size:13px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--off-white);
  padding:6px 0;
}
.nav-links a::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:1px;
  background:var(--red); transform:scaleX(0); transform-origin:left;
  transition:transform .35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after{ transform:scaleX(1); }

.nav-cta-group{ display:flex; align-items:center; gap:20px; }
.nav-cta{
  font-family:'Space Grotesk', monospace;
  font-size:12.5px; letter-spacing:.08em; text-transform:uppercase;
  border:1px solid rgba(247,247,245,.5);
  color:var(--off-white);
  padding:11px 20px;
  border-radius:999px;
  transition:all var(--dur-1) var(--ease);
}
.nav-cta:hover{ background:var(--red); border-color:var(--red); color:var(--white); }

.nav-burger{
  display:none;
  width:34px; height:34px;
  border:none; background:none;
  flex-direction:column; align-items:flex-end; justify-content:center; gap:6px;
}
.nav-burger span{ display:block; width:100%; height:1.5px; background:var(--off-white); transition:all .3s var(--ease); }
.nav-burger span:nth-child(2){ width:66%; }

@media (max-width:480px){
  .nav-logo{ height:28px; }
  .site-nav.is-scrolled .nav-logo{ height:24px; }
}

.mobile-panel{
  position:fixed; inset:0; z-index:99;
  background:var(--black);
  display:flex; flex-direction:column; justify-content:center;
  padding:0 var(--gutter);
  transform:translateY(-100%);
  transition:transform .5s var(--ease);
}
.mobile-panel.is-open{ transform:translateY(0); }
.mobile-panel a{
  display:block;
  font-family:'Manrope',sans-serif; font-weight:700;
  font-size:clamp(32px,9vw,52px);
  color:var(--off-white);
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  letter-spacing:-0.02em;
}
.mobile-panel .mp-meta{
  margin-top:32px;
  font-family:'Space Grotesk',monospace;
  color:var(--paper-60);
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* ---------- Sections generic ---------- */
section{ position:relative; }
.section-pad{ padding-block:clamp(72px,11vw,150px); }
.on-dark{ background:var(--black); color:var(--off-white); }
.on-white{ background:var(--white); color:var(--black); }
.on-paper{ background:var(--off-white); color:var(--black); }

.rule{ height:1px; background:var(--grey); border:none; margin:0; }
.on-dark .rule{ background:rgba(255,255,255,.14); }

.reveal{
  opacity:0; transform:translateY(28px);
  transition:opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible{ opacity:1; transform:none; }
.reveal-stagger > *{ transition-delay:calc(var(--i,0) * 90ms); }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  min-height:100vh;
  background:var(--black);
  color:var(--off-white);
  padding-top:calc(var(--nav-h) + 40px);
  display:flex; flex-direction:column; justify-content:center;
  overflow:hidden;
  position:relative;
}
.hero::before{
  content:'';
  position:absolute; inset:0;
  background:
    linear-gradient(rgba(10,10,10,.35),rgba(10,10,10,.75)),
    var(--hero-img, none);
  background-size:cover; background-position:center;
  opacity:.55;
  z-index:0;
}
.hero-inner{ position:relative; z-index:1; }
.hero-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:28px;
}
.hero-meta-row{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px;
  padding-bottom:26px; margin-bottom:26px;
  border-bottom:1px solid rgba(255,255,255,.14);
}
.hero-headline{
  font-size:clamp(48px, 9.4vw, 132px);
  display:flex; flex-direction:column; gap:.02em;
}
.hero-headline .line{ display:block; overflow:hidden; }
.hero-headline .line span{ display:inline-block; }
.hero-headline .accent{ color:var(--red); font-style:normal; }
.hero-bottom{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:60px;
  margin-top:44px;
  align-items:end;
}
.hero-copy p{
  font-size:18px; line-height:1.65; color:var(--paper-60);
  max-width:34ch; margin:0 0 28px;
}
.hero-cta-row{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-index{
  display:flex; justify-content:flex-end; align-items:flex-end; gap:14px;
}
.hero-index .num{
  font-family:'Space Grotesk',monospace;
  font-size:clamp(50px,7vw,84px);
  line-height:.8;
  color:transparent;
  -webkit-text-stroke:1px rgba(247,247,245,.5);
}
.hero-redline{
  position:absolute; top:calc(var(--nav-h) + 40px); left:calc(var(--gutter) * 1.6);
  width:1px; height:120px; background:var(--red);
  transform-origin:top; transform:scaleY(0);
  animation:growLine 1.1s .4s var(--ease) forwards;
  z-index:2;
}
@keyframes growLine{ to{ transform:scaleY(1); } }

.scroll-cue{
  position:absolute; bottom:28px; left:var(--gutter);
  display:flex; align-items:center; gap:10px;
  font-family:'Space Grotesk',monospace; font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--paper-40);
  z-index:1;
}
.scroll-cue .dot{ width:6px; height:6px; border-radius:50%; background:var(--red); animation:pulse 1.8s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{opacity:.3;} 50%{opacity:1;} }

/* =========================================================
   CREDIBILITY
   ========================================================= */
.credibility{ }
.cred-statement{
  font-size:clamp(30px,5.2vw,58px);
  max-width:16ch;
}
.cred-statement .accent{ color:var(--red); }
.cred-grid{
  margin-top:64px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--grey);
}
.cred-item{
  padding:30px 24px 0;
  border-right:1px solid var(--grey);
}
.cred-item:last-child{ border-right:none; }
.cred-item .lead{
  font-family:'Manrope',sans-serif; font-weight:800; letter-spacing:-.02em;
  font-size:clamp(24px,2.6vw,30px);
  margin-bottom:10px;
}
.cred-item p{ margin:0; color:var(--ink-60); font-size:14.5px; max-width:22ch; }

/* =========================================================
   SERVICES LIST
   ========================================================= */
.services-head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap;
  margin-bottom:48px;
}
.service-row{
  border-top:1px solid var(--grey);
  position:relative;
  overflow:hidden;
}
.service-row:last-child{ border-bottom:1px solid var(--grey); }
.service-row a{
  display:grid;
  grid-template-columns: 90px 1fr auto;
  align-items:center;
  gap:28px;
  padding:30px 0;
  position:relative;
  z-index:1;
}
.service-row .sv-num{ font-size:14px; color:var(--ink-40); }
.service-row .sv-name{
  font-family:'Manrope',sans-serif; font-weight:700; letter-spacing:-.02em;
  font-size:clamp(26px,4vw,46px);
  transition:transform .5s var(--ease), color .4s;
}
.service-row .sv-meta{
  display:flex; align-items:center; gap:22px;
  font-family:'Space Grotesk',monospace; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-40);
}
.service-row .sv-arrow{
  width:44px; height:44px; border-radius:50%; border:1px solid var(--grey);
  display:flex; align-items:center; justify-content:center;
  transition:all .4s var(--ease);
  flex:none;
}
.service-row .sv-arrow svg{ width:16px; height:16px; transition:transform .4s var(--ease); }
.service-row::before{
  content:'';
  position:absolute; inset:0; left:auto; right:0; width:0;
  background:var(--black);
  transition:width .5s var(--ease);
  z-index:0;
}
.service-row:hover::before{ width:100%; left:0; right:auto; }
.service-row:hover .sv-name{ color:var(--off-white); transform:translateX(14px); }
.service-row:hover .sv-num{ color:rgba(247,247,245,.4); }
.service-row:hover .sv-meta{ color:rgba(247,247,245,.55); }
.service-row:hover .sv-arrow{ background:var(--red); border-color:var(--red); transform:rotate(45deg); }
.service-row:hover .sv-arrow svg{ stroke:#fff; }
.service-row .sv-thumb{
  position:absolute; top:50%; right:14%; transform:translateY(-50%) scale(.92);
  width:190px; height:130px; border-radius:6px; overflow:hidden;
  opacity:0; pointer-events:none; transition:opacity .4s var(--ease), transform .4s var(--ease);
  z-index:0;
}
.service-row:hover .sv-thumb{ opacity:1; transform:translateY(-50%) scale(1); }
.service-row .sv-thumb img{ width:100%; height:100%; object-fit:cover; }

/* =========================================================
   WORK
   ========================================================= */
.work-note{
  font-family:'Space Grotesk',monospace; font-size:13px; color:var(--ink-40);
  border-left:2px solid var(--red); padding-left:14px; max-width:46ch; margin-top:18px;
}
.project{
  display:grid; gap:40px;
  padding-block:clamp(48px,7vw,90px);
  border-top:1px solid var(--grey);
}
.project:last-child{ border-bottom:1px solid var(--grey); }
.project-01{ grid-template-columns:1fr; }
.project-02{ grid-template-columns: .8fr 1.2fr; align-items:center; }
.project-03{ grid-template-columns: 1fr .7fr; align-items:end; }
.project-media{
  position:relative; overflow:hidden; border-radius:2px;
  aspect-ratio:16/10; background:linear-gradient(135deg,#1c1c1c,#0a0a0a);
}
.project-media img{ width:100%; height:100%; object-fit:cover; transition:transform .7s var(--ease); }
.project:hover .project-media img{ transform:scale(1.045); }
.project-media .tag{
  position:absolute; top:18px; left:18px;
  font-family:'Space Grotesk',monospace; font-size:11px; text-transform:uppercase; letter-spacing:.1em;
  background:rgba(10,10,10,.6); color:#fff; padding:6px 12px; border-radius:999px; backdrop-filter:blur(6px);
}
.project-info .num{ font-size:14px; color:var(--ink-40); margin-bottom:18px; display:block; }
.project-info h3{ font-size:clamp(28px,3.4vw,44px); margin-bottom:14px; }
.project-info .services-tags{
  display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px;
}
.project-info .services-tags span{
  font-family:'Space Grotesk',monospace; font-size:11px; text-transform:uppercase; letter-spacing:.06em;
  border:1px solid var(--grey); border-radius:999px; padding:5px 12px; color:var(--ink-60);
}
.project-info p.desc{ color:var(--ink-60); max-width:46ch; margin-bottom:22px; }

/* =========================================================
   PHILOSOPHY / WHY ZESTIFY
   ========================================================= */
.principle-list{ margin-top:56px; }
.principle{
  display:grid; grid-template-columns:90px 1fr; gap:28px;
  padding:34px 0; border-top:1px solid rgba(255,255,255,.14);
}
.principle:last-child{ border-bottom:1px solid rgba(255,255,255,.14); }
.principle .p-num{ font-size:15px; color:rgba(247,247,245,.4); }
.principle h4{ font-size:clamp(22px,2.6vw,30px); margin-bottom:10px; }
.principle p{ color:var(--paper-60); max-width:56ch; margin:0; }

/* =========================================================
   PROCESS
   ========================================================= */
.process-track{
  margin-top:56px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:0;
  position:relative;
}
.process-track::before{
  content:''; position:absolute; top:14px; left:0; right:0; height:1px; background:var(--grey);
}
.process-step{ position:relative; padding-top:44px; padding-right:20px; }
.process-step .p-dot{
  position:absolute; top:8px; left:0; width:13px; height:13px; border-radius:50%;
  background:var(--off-white); border:2px solid var(--black);
  transition:background .3s, border-color .3s;
}
.process-step.is-active .p-dot{ background:var(--red); border-color:var(--red); }
.process-step .p-num{ font-size:13px; color:var(--ink-40); display:block; margin-bottom:10px; }
.process-step h4{ font-family:'Manrope'; font-size:20px; font-weight:700; margin-bottom:10px; letter-spacing:-.01em; }
.process-step p{ font-size:14px; color:var(--ink-60); margin:0; max-width:26ch; }

/* =========================================================
   TESTIMONIAL
   ========================================================= */
.testimonial-block{
  text-align:left;
  max-width:900px;
}
.testimonial-block .quote-mark{ font-family:'Manrope'; font-size:64px; color:var(--red); line-height:.5; display:block; margin-bottom:18px;}
.testimonial-block blockquote{
  font-family:'Manrope',sans-serif; font-weight:700; letter-spacing:-.02em;
  font-size:clamp(24px,3.6vw,40px);
  margin:0 0 30px; line-height:1.25;
}
.testimonial-cite{ display:flex; align-items:center; gap:14px; font-family:'Space Grotesk',monospace; font-size:13px; color:var(--ink-60); }
.testimonial-cite .avatar{ width:44px; height:44px; border-radius:50%; background:var(--grey); flex:none; }
.testimonial-placeholder{
  border:1px dashed var(--grey); border-radius:8px; padding:40px; text-align:center;
  color:var(--ink-40); font-family:'Space Grotesk',monospace; font-size:13px; letter-spacing:.04em;
}

/* Featured (homepage) testimonial slider — a few large quotes */
.testimonial-featured{
  display:grid; grid-template-columns:repeat(2,1fr); gap:60px;
  margin-top:20px;
}
.testimonial-featured .testimonial-block blockquote{ font-size:clamp(20px,2.2vw,26px); }
.testimonial-featured .testimonial-block .quote-mark{ font-size:48px; }

/* Full editorial review list (reviews.html) */
.review-list{ margin-top:20px; }
.review-item{
  display:grid; grid-template-columns:90px 1fr; gap:28px;
  padding:38px 0; border-top:1px solid var(--grey);
}
.review-item:last-child{ border-bottom:1px solid var(--grey); }
.review-item .r-num{ font-size:14px; color:var(--ink-40); }
.review-item blockquote{
  font-family:'Manrope'; font-weight:700; letter-spacing:-.015em;
  font-size:clamp(19px,2.1vw,24px); line-height:1.35; margin:0 0 16px; max-width:60ch;
}
.review-item .review-cite{
  font-family:'Space Grotesk',monospace; font-size:13px; color:var(--ink-60);
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.review-item .review-cite .name{ color:var(--black); font-weight:500; }
.review-item .review-cite .dot{ width:4px; height:4px; border-radius:50%; background:var(--red); display:inline-block; }

/* =========================================================
   INDUSTRIES
   ========================================================= */
.industry-list{
  columns:2; column-gap:60px;
  margin-top:20px;
}
.industry-item{
  display:flex; align-items:baseline; justify-content:space-between;
  padding:22px 0; border-top:1px solid var(--grey);
  break-inside:avoid;
  font-family:'Manrope'; font-weight:700; font-size:clamp(20px,2.4vw,28px); letter-spacing:-.02em;
}
.industry-item span.n{ font-family:'Space Grotesk',monospace; font-weight:400; font-size:13px; color:var(--ink-40); }

/* =========================================================
   INSIGHTS
   ========================================================= */
.insight-feature{
  display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center;
  padding-bottom:48px; border-bottom:1px solid var(--grey); margin-bottom:48px;
}
.insight-feature .media{ aspect-ratio:4/3; overflow:hidden; border-radius:2px; background:#111; }
.insight-feature .media img{ width:100%; height:100%; object-fit:cover; }
.insight-list{ display:grid; grid-template-columns:repeat(3,1fr); gap:40px; }
.insight-card .cat{ font-family:'Space Grotesk',monospace; font-size:11px; text-transform:uppercase; letter-spacing:.1em; color:var(--red); margin-bottom:12px; display:block;}
.insight-card h4{ font-size:20px; margin-bottom:10px; }
.insight-card .meta{ font-family:'Space Grotesk',monospace; font-size:12px; color:var(--ink-40); }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta{ text-align:left; }
.final-cta h2{ font-size:clamp(42px,7.4vw,96px); max-width:14ch; }
.final-cta h2 .accent{ color:var(--red); }
.final-cta-row{
  display:flex; justify-content:space-between; align-items:flex-end; gap:40px; flex-wrap:wrap;
  margin-top:40px; padding-top:36px; border-top:1px solid rgba(255,255,255,.14);
}
.final-cta-row p{ max-width:38ch; color:var(--paper-60); margin:0; }
.final-cta-btns{ display:flex; gap:16px; flex-wrap:wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background:var(--black); color:var(--off-white); padding-top:70px; }
.footer-top{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:40px;
  padding-bottom:60px; border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-brand img{ height:34px; width:auto; margin-bottom:22px; }
.footer-brand p{ color:var(--paper-60); max-width:32ch; font-size:14.5px; }
.footer-col h5{
  font-family:'Space Grotesk',monospace; font-size:12px; text-transform:uppercase; letter-spacing:.1em; color:var(--paper-40);
  margin-bottom:18px;
}
.footer-col a, .footer-col p{
  display:block; color:var(--paper-60); font-size:14.5px; margin-bottom:12px; transition:color .25s;
}
.footer-col a:hover{ color:var(--red); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  padding-block:26px;
  font-family:'Space Grotesk',monospace; font-size:12px; color:var(--paper-40);
}
.footer-bottom a{ color:var(--paper-40); }
.footer-bottom a:hover{ color:var(--red); }
.footer-big{
  padding:56px 0 40px;
  font-size:clamp(34px,7vw,88px);
  font-family:'Manrope'; font-weight:800; letter-spacing:-.03em; line-height:.95;
  border-top:1px solid rgba(255,255,255,.12);
}
.footer-big .accent{ color:var(--red); }

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero{
  background:var(--black); color:var(--off-white);
  padding-top:calc(var(--nav-h) + 90px); padding-bottom:70px;
}
.page-hero h1{ font-size:clamp(40px,7vw,88px); max-width:16ch; }
.page-hero .accent{ color:var(--red); }
.breadcrumbs{
  font-family:'Space Grotesk',monospace; font-size:12px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--paper-40); margin-bottom:30px;
}
.breadcrumbs a{ color:var(--paper-60); }
.breadcrumbs a:hover{ color:var(--red); }

/* =========================================================
   FORMS
   ========================================================= */
.field{ margin-bottom:26px; }
.field label{
  display:block; font-family:'Space Grotesk',monospace; font-size:12px; text-transform:uppercase; letter-spacing:.08em;
  color:var(--ink-40); margin-bottom:10px;
}
.on-dark .field label{ color:var(--paper-40); }
.field input, .field select, .field textarea{
  width:100%; background:transparent; border:none; border-bottom:1px solid var(--grey);
  padding:12px 0; font-family:'Inter'; font-size:17px; color:var(--black);
  transition:border-color .3s;
}
.on-dark .field input, .on-dark .field select, .on-dark .field textarea{
  border-bottom-color:rgba(255,255,255,.2); color:var(--off-white);
}
.field input:focus, .field select:focus, .field textarea:focus{ border-bottom-color:var(--red); outline:none; }
.field textarea{ resize:vertical; min-height:110px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }

/* =========================================================
   UTILITIES
   ========================================================= */
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:60px; }
.mt-64{ margin-top:64px; }
.center{ text-align:center; }
.max-w{ max-width:640px; }
.faq-item{ border-top:1px solid var(--grey); padding:26px 0; }
.faq-item:last-child{ border-bottom:1px solid var(--grey); }
.faq-item summary{ cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:20px; font-family:'Manrope'; font-weight:700; font-size:19px;}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .plus{ font-family:'Space Grotesk'; font-size:20px; transition:transform .3s var(--ease); flex:none; color:var(--red);}
.faq-item[open] summary .plus{ transform:rotate(45deg); }
.faq-item p{ color:var(--ink-60); margin:16px 0 0; max-width:60ch; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1080px){
  .cred-grid{ grid-template-columns:repeat(2,1fr); row-gap:36px; }
  .cred-item:nth-child(2){ border-right:none; }
  .process-track{ grid-template-columns:repeat(1,1fr); }
  .process-track::before{ display:none; }
  .process-step{ padding-left:30px; padding-top:6px; border-left:1px solid var(--grey); padding-bottom:30px; }
  .process-step .p-dot{ top:2px; left:-7px; }
  .industry-list{ columns:1; }
  .insight-list{ grid-template-columns:1fr 1fr; }
  .insight-feature{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; row-gap:40px; }
}
@media (max-width:860px){
  .nav-links, .nav-cta-group .nav-cta:first-child{ display:none; }
  .nav-burger{ display:flex; }
  .hero-bottom{ grid-template-columns:1fr; gap:34px; }
  .hero-index{ justify-content:flex-start; }
  .project-01, .project-02, .project-03{ grid-template-columns:1fr; }
  .service-row a{ grid-template-columns:44px 1fr auto; }
  .service-row .sv-thumb{ display:none; }
  .grid-2{ grid-template-columns:1fr; gap:36px; }
  .field-row{ grid-template-columns:1fr; }
  .insight-list{ grid-template-columns:1fr; }
  .final-cta-row{ flex-direction:column; align-items:flex-start; }
  .testimonial-featured{ grid-template-columns:1fr; gap:40px; }
  .review-item{ grid-template-columns:1fr; gap:10px; }
}
@media (max-width:560px){
  .cred-grid{ grid-template-columns:1fr; }
  .cred-item{ border-right:none; border-bottom:1px solid var(--grey); padding-bottom:24px; }
  .footer-top{ grid-template-columns:1fr; row-gap:36px; }
  .services-head{ align-items:flex-start; }
  .service-row a{ padding:22px 0; }
  .service-row .sv-meta span:first-child{ display:none; }
  .hero-meta-row{ flex-direction:column; align-items:flex-start; gap:8px; }
  .hero-redline{ display:none; }
  .principle{ grid-template-columns:1fr; gap:10px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}
@media (max-width:400px){
  :root{ --gutter:20px; }
  .btn{ padding:14px 20px; font-size:12px; }
  .hero-copy p{ max-width:none; }
}
