:root{
  --ink:#0F2A3D;
  --ink-soft:#1A3B50;
  --paper:#FAFCFC;
  --paper-dim:#EAF3F2;
  --charcoal:#15232C;
  --brass:#17A398;
  --brass-dim:#0D6E64;
  --teal:#2FC6B4;
  --line:rgba(15,42,61,0.12);
  --line-on-ink:rgba(250,252,252,0.14);
  --radius:6px;
  --gradient-dark:linear-gradient(135deg, #0F2A3D 0%, #0E3F42 48%, #12665C 100%);
  --logo-gradient:linear-gradient(135deg, #12C7B9 0%, #0B4A5C 100%);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter', sans-serif;
  color:var(--charcoal);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  padding-bottom:0;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
.display{font-family:'Fraunces', serif;}
.mono{font-family:'IBM Plex Mono', monospace;}
.wrap{max-width:1240px; margin:0 auto; padding:0 32px;}
@media(max-width:640px){ .wrap{padding:0 20px;} }

.icon-badge{
  width:44px; height:44px; border-radius:10px; display:flex; align-items:center; justify-content:center;
  background:var(--paper-dim); color:var(--brass); margin-bottom:16px; transition:transform .3s ease, background .3s ease, color .3s ease;
}
.icon-badge svg{ width:22px; height:22px; }
.card:hover .icon-badge, .lrow:hover .icon-badge{ background:var(--brass); color:var(--paper); transform:rotate(-6deg) scale(1.06); }
section.alt .icon-badge{ background:var(--paper); }

/* eyebrow row (small colored kicker above section titles) */
.kicker{
  display:block; font-family:'IBM Plex Mono', monospace; font-size:15.5px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--brass-dim); margin-bottom:12px; font-weight:600;
}
.eyebrow{
  display:flex; align-items:center; gap:10px;
  font-family:'IBM Plex Mono', monospace;
  font-size:12.5px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--brass-dim);
  margin-bottom:18px;
}
.eyebrow::before{ content:""; width:18px; height:1px; background:var(--brass-dim); }

/* ============ header ============ */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(250,252,252,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .3s ease;
}
header.scrolled{ box-shadow:0 8px 24px rgba(15,42,61,0.08); }
.nav{ display:flex; align-items:center; justify-content:space-between; padding:20px 0; }
.logo{ font-family:'Fraunces', serif; font-weight:600; font-size:22px; letter-spacing:-0.01em; display:flex; align-items:center; gap:8px; }
.logo-img{ height:60px; width:auto; display:block; }
@media(max-width:860px){ .logo-img{ height:48px; } }
@media(max-width:480px){ .logo-img{ height:38px; } }
.logo span{color:var(--brass-dim);}
.nav-right{ display:flex; align-items:center; }
.nav-links{ display:flex; align-items:center; gap:40px; font-size:14.5px; font-weight:500; }
.nav-links a{ position:relative; padding:4px 0; color:var(--ink);}
.nav-links a:not(.nav-cta)::after{
  content:""; position:absolute; left:0; right:100%; bottom:-2px; height:1.5px;
  background:var(--brass); transition:right .25s ease;
}
.nav-links a:not(.nav-cta):hover::after{ right:0; }
.nav-links a:hover{color:var(--brass-dim);}
.nav-cta{
  background:var(--logo-gradient); color:var(--paper) !important;
  padding:13px 28px; border-radius:8px; font-size:14.5px; font-weight:600; text-align:center;
  border:1px solid transparent; margin-left:30px; transition:filter .2s ease, transform .2s ease;
}
.nav-cta:hover{ filter:brightness(1.1); transform:translateY(-1px); }
.burger{display:none; font-size:22px; background:none; border:none; cursor:pointer; color:var(--ink);}
.mobile-menu{
  display:none; flex-direction:column; gap:2px; padding:8px 0 20px;
  border-top:1px solid var(--line);
}
.mobile-menu a{ padding:12px 0; font-size:15px; font-weight:500; border-bottom:1px solid var(--line); }
.mobile-menu.open{ display:flex; }
@media(max-width:860px){ .nav-right{display:none;} .burger{display:block;} }

/* ============ hero ============ */
.hero{ position:relative; overflow:hidden; background:var(--gradient-dark); color:var(--paper); padding:70px 0 90px; }
.hero .wrap{position:relative; z-index:2;}
.hero-inner{ display:grid; grid-template-columns:1.15fr 1fr; gap:56px; align-items:center; }
@media(max-width:900px){ .hero-inner{ grid-template-columns:1fr; gap:44px; } }

/* decorative rotated-square pattern used on dark/gradient sections */
.pattern-shapes{ position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none; }
.pattern-shapes span{
  position:absolute; border:1px solid rgba(250,252,252,0.08); border-radius:28px;
  animation:shape-float 14s ease-in-out infinite;
}
.pattern-shapes span:nth-child(1){ width:280px; height:280px; top:-90px; right:-60px; transform:rotate(38deg); animation-delay:0s; }
.pattern-shapes span:nth-child(2){ width:180px; height:180px; bottom:-60px; left:8%; transform:rotate(20deg); animation-delay:2s; border-color:rgba(47,198,180,0.16); }
.pattern-shapes span:nth-child(3){ width:120px; height:120px; top:20%; left:38%; transform:rotate(50deg); animation-delay:4s; border-color:rgba(250,252,252,0.06); }
@keyframes shape-float{
  0%, 100%{ transform:translateY(0) rotate(var(--r,30deg)); }
  50%{ transform:translateY(-16px) rotate(var(--r,30deg)); }
}
.hero-grid-lines{
  position:absolute; inset:0; z-index:1; opacity:.5;
  background-image:
    repeating-linear-gradient(90deg, var(--line-on-ink) 0, var(--line-on-ink) 1px, transparent 1px, transparent 120px),
    repeating-linear-gradient(0deg, var(--line-on-ink) 0, var(--line-on-ink) 1px, transparent 1px, transparent 64px);
  animation:grid-drift 40s linear infinite;
}
@keyframes grid-drift{
  from{ background-position:0 0, 0 0; }
  to{ background-position:120px 64px, 120px 64px; }
}
.hero-tag{
  font-family:'IBM Plex Mono', monospace; font-size:12.5px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--teal); border:1px solid rgba(47,198,180,0.4);
  display:inline-block; padding:6px 14px; border-radius:20px; margin-bottom:28px;
}
.hero h1{ font-size:clamp(32px, 4.6vw, 54px); font-weight:500; line-height:1.12; letter-spacing:-0.01em; }
.hero h1 em{font-style:normal; font-weight:600; color:var(--teal);}
.hero p.lead{ margin-top:24px; font-size:18px; color:rgba(250,252,252,0.75); max-width:600px; }
.hero .story{ margin-top:20px; font-size:15px; color:rgba(250,252,252,0.55); max-width:560px; line-height:1.7;}

/* rotating value-prop ticker (replaces the old static paragraph) */
.hero-ticker{
  margin-top:26px; display:flex; align-items:center; gap:14px;
  padding:12px 18px; border:1px solid rgba(47,198,180,0.3); border-radius:8px;
  background:rgba(47,198,180,0.06); max-width:560px;
}
.ticker-label{
  font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--teal); flex-shrink:0; position:relative; padding-left:16px;
}
.ticker-label::before{
  content:""; position:absolute; left:0; top:50%; width:8px; height:8px; margin-top:-4px;
  border-radius:50%; background:var(--teal); animation:pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot{
  0%, 100%{ box-shadow:0 0 0 0 rgba(47,198,180,0.5); }
  50%{ box-shadow:0 0 0 5px rgba(47,198,180,0); }
}
.ticker-window{ position:relative; height:20px; overflow:hidden; flex:1; min-width:0; }
.ticker-item{
  position:absolute; left:0; top:0; width:100%;
  font-size:14.5px; color:rgba(250,252,252,0.85); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  opacity:0; transform:translateY(14px);
  transition:opacity .5s ease, transform .5s ease;
}
.ticker-item.active{ opacity:1; transform:translateY(0); }
.ticker-item.leaving{ opacity:0; transform:translateY(-14px); }
@media(max-width:520px){ .hero-ticker{ flex-direction:column; align-items:flex-start; gap:8px; } .ticker-window{ width:100%; } }
.hero-ctas{ display:flex; gap:16px; margin-top:36px; flex-wrap:wrap;}
.btn-primary{ background:var(--logo-gradient); color:var(--paper); font-weight:600; padding:14px 26px; border-radius:var(--radius); font-size:15px; border:1px solid transparent; transition:filter .2s ease, transform .2s ease;}
.btn-primary:hover{ filter:brightness(1.12); transform:translateY(-2px);}
.btn-ghost{ padding:14px 26px; border-radius:var(--radius); font-size:15px; border:1px solid rgba(250,252,252,0.3); font-weight:500; transition:border-color .2s, color .2s, transform .2s;}
.btn-ghost:hover{ border-color:var(--brass); color:var(--brass); transform:translateY(-2px);}

/* hero load-in animation (sequenced, not scroll-triggered) */
.hero-anim{ opacity:0; transform:translateY(18px); animation:hero-in .8s cubic-bezier(.22,.85,.4,1) forwards; }
.hero-anim.d1{ animation-delay:.05s; }
.hero-anim.d2{ animation-delay:.18s; }
.hero-anim.d3{ animation-delay:.3s; }
.hero-anim.d4{ animation-delay:.42s; }
.hero-anim.d5{ animation-delay:.54s; }
.hero-anim.d6{ animation-delay:.66s; }
@keyframes hero-in{ to{ opacity:1; transform:translateY(0); } }

.stat-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.stat-box{
  border:1px solid rgba(47,198,180,0.4); border-radius:8px;
  padding:26px 22px; background:rgba(47,198,180,0.04);
  transition:border-color .25s ease, transform .25s ease, background .25s ease;
}
.stat-box:hover{ border-color:var(--teal); transform:translateY(-3px); background:rgba(47,198,180,0.08); }
.stat-box .num{ font-family:'IBM Plex Mono', monospace; font-size:clamp(28px,3.4vw,40px); color:var(--teal); font-weight:500; line-height:1; }
.stat-box .lbl{ font-size:13.5px; color:rgba(250,252,252,0.65); margin-top:10px; }
@media(max-width:480px){ .stat-grid{ grid-template-columns:1fr 1fr; gap:12px; } .stat-box{ padding:20px 16px; } }

/* ============ trust + marquee slider ============ */
.trust{ padding:48px 0; border-bottom:1px solid var(--line);}
.trust-label{ text-align:center; font-family:'IBM Plex Mono', monospace; font-size:15px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--brass-dim); margin-bottom:24px; }
.trust-row{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px 14px; }
.trust-row span{
  font-family:'IBM Plex Mono', monospace; font-size:13px; color:var(--brass-dim);
  border:1px solid var(--line); padding:8px 16px; border-radius:20px; background:var(--paper-dim);
}

.marquee{
  overflow:hidden; position:relative; margin-top:34px;
  -webkit-mask-image:linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image:linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track{
  display:flex; align-items:center; gap:20px; width:max-content;
  animation:marquee-scroll 32s linear infinite;
  font-family:'Fraunces', serif; font-size:16px; color:#7d7b73; white-space:nowrap;
}
.marquee-track span{
  padding:14px 26px; border:1px solid var(--line); border-radius:10px; background:var(--paper);
  transition:color .25s ease, border-color .25s ease, transform .25s ease;
}
.marquee-track span:hover{ color:var(--ink); border-color:var(--brass); transform:translateY(-2px); }
.marquee-track.reverse{ animation-direction:reverse; animation-duration:38s; }
.marquee:hover .marquee-track{ animation-play-state:paused; }
@keyframes marquee-scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

section.block{ padding:96px 0; }
section.block.alt{ background:var(--paper-dim); }
section.block.tight{ padding:80px 0; }
.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:40px; margin-bottom:52px; flex-wrap:wrap; }
.head-title{ max-width:680px; }
.section-head h2{ font-size:clamp(28px,3.6vw,42px); font-weight:500; letter-spacing:-0.01em; line-height:1.15; max-width:680px; }
.section-head h2 em{ font-style:normal; font-weight:600; color:var(--brass); }
.section-head p{ max-width:380px; color:#55534c; font-size:15.5px; }
.section-head.centered{ flex-direction:column; align-items:center; text-align:center; margin-left:auto; margin-right:auto; margin-bottom:44px; gap:0; }
.section-head.centered .kicker{ margin-bottom:12px; }
.section-head.centered h2{ max-width:660px; line-height:1.08; }
.section-head.centered p{ max-width:580px; margin-top:16px; }

.ledger-rows{ border-top:1px solid var(--line); }
.lrow{ display:grid; grid-template-columns:56px 1fr 1.6fr; gap:24px; padding:28px 0; border-bottom:1px solid var(--line); align-items:start; transition:padding-left .3s ease; }
.lrow:hover{ padding-left:6px; }
.lrow .icon-badge{ margin-bottom:0; }
.lrow .code{ font-family:'IBM Plex Mono', monospace; color:var(--brass-dim); font-size:13px; padding-top:3px; }
.lrow h3{ font-size:18px; font-weight:600; }
.lrow p{ color:#55534c; font-size:14.5px; }
@media(max-width:760px){ .lrow{ grid-template-columns:44px 1fr; } .lrow h3, .lrow p{grid-column:2;} }

.grid3{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line);}
.grid3.grid4{ grid-template-columns:repeat(4,1fr); }
.grid3 .card{ background:var(--paper); padding:34px 30px; transition:background .25s ease, transform .25s ease; }
.grid3 .card:hover{ transform:translateY(-4px); }
section.alt .grid3 .card{ background:var(--paper-dim); }
.grid3 .card .code{ font-family:'IBM Plex Mono',monospace; font-size:13px; color:var(--brass-dim); margin-bottom:14px; display:block;}
.grid3 .card h3{ font-size:18px; font-weight:600; margin-bottom:10px; }
.grid3 .card p{ font-size:14.5px; color:#55534c; }
@media(max-width:820px){ .grid3{grid-template-columns:1fr;} .grid3.grid4{grid-template-columns:1fr 1fr;} }
@media(max-width:520px){ .grid3.grid4{grid-template-columns:1fr;} }

/* ---- dark gradient section variant (solutions / cta) ---- */
section.block.on-dark{
  position:relative; overflow:hidden; background:var(--gradient-dark); color:var(--paper);
}
section.block.on-dark .section-head h2, section.block.on-dark .section-head p{ color:var(--paper); }
section.block.on-dark .section-head p{ color:rgba(250,252,252,0.7); }
section.block.on-dark .kicker{ color:var(--teal); }
section.block.on-dark .grid3{ background:rgba(250,252,252,0.14); border-color:rgba(250,252,252,0.14); }
section.block.on-dark .grid3 .card{ background:rgba(15,42,61,0.35); backdrop-filter:blur(2px); }
section.block.on-dark .grid3 .card h3{ color:var(--paper); }
section.block.on-dark .grid3 .card p{ color:rgba(250,252,252,0.65); }
section.block.on-dark .icon-badge{ background:rgba(47,198,180,0.14); color:var(--teal); }
section.block.on-dark .card:hover .icon-badge{ background:var(--teal); color:var(--ink); }
section.block.on-dark .tag-list span{ background:rgba(250,252,252,0.08); color:var(--paper); border-color:rgba(250,252,252,0.2); }
section.block.on-dark .tag-list span:hover{ background:var(--teal); color:var(--ink); border-color:var(--teal); }

.tag-list{ display:flex; flex-wrap:wrap; gap:12px; margin-top:8px; }
.tag-list span{
  font-family:'IBM Plex Mono', monospace; font-size:13px; color:var(--ink);
  border:1px solid var(--line); padding:9px 16px; border-radius:20px; background:var(--paper);
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.tag-list span:hover{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
section.alt .tag-list span{ background:var(--paper-dim); }

/* ============ services grid (dark, inverts on hover) ============ */
.service-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.service-box{
  background:var(--gradient-dark); color:var(--paper); border:1px solid transparent; border-radius:10px;
  padding:28px 24px; transition:background .3s ease, color .3s ease, transform .25s ease, border-color .3s ease;
}
.service-box:hover{ background:var(--paper); color:var(--charcoal); transform:translateY(-5px); border-color:var(--line); box-shadow:0 16px 32px rgba(15,42,61,0.12); }
.service-box .icon-badge{ background:rgba(250,252,252,0.14); color:var(--teal); }
.service-box:hover .icon-badge{ background:var(--paper-dim); color:var(--brass-dim); }
.service-box h3{ font-size:15.5px; font-weight:600; margin:14px 0 8px; color:inherit; }
.service-box p{ font-size:13px; line-height:1.55; color:rgba(250,252,252,0.75); transition:color .3s ease; }
.service-box:hover p{ color:#55534c; }
@media(max-width:900px){ .service-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .service-grid{ grid-template-columns:1fr; } }

/* ============ wave process design ============ */
.wave-process{ position:relative; height:260px; margin-top:20px; }
.wave-process svg{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.wave-process path{
  fill:none; stroke:url(#waveGradient); stroke-width:2.5; stroke-linecap:round;
  stroke-dasharray:1600; stroke-dashoffset:1600; transition:stroke-dashoffset 1.8s ease;
}
.wave-process.in-view path{ stroke-dashoffset:0; }
.wave-node{
  position:absolute; transform:translate(-50%,-50%);
  width:112px; height:112px; border-radius:50%;
  background:var(--paper); border:2px solid var(--brass);
  display:flex; align-items:center; justify-content:center; text-align:center;
  padding:10px; box-shadow:0 10px 26px rgba(15,42,61,0.1);
  font-size:13px; font-weight:600; color:var(--ink); line-height:1.2;
  transition:background .3s ease, color .3s ease, transform .3s ease, border-color .3s ease;
  animation:node-bob 3.6s ease-in-out infinite;
}
.wave-node:hover{ background:var(--gradient-dark); border-color:var(--teal); color:var(--paper); transform:translate(-50%,-50%) scale(1.08); }
@keyframes node-bob{
  0%, 100%{ transform:translate(-50%,-50%) translateY(0); }
  50%{ transform:translate(-50%,-50%) translateY(-8px); }
}
.wave-node:hover{ animation-play-state:paused; }
.wave-node:nth-of-type(1){ animation-delay:0s; }
.wave-node:nth-of-type(2){ animation-delay:.25s; }
.wave-node:nth-of-type(3){ animation-delay:.5s; }
.wave-node:nth-of-type(4){ animation-delay:.75s; }
.wave-node:nth-of-type(5){ animation-delay:1s; }
.wave-node:nth-of-type(6){ animation-delay:1.25s; }
.wave-arrow{ display:none; }
@media(max-width:900px){
  .wave-process{ height:auto; display:flex; flex-wrap:wrap; justify-content:center; gap:22px; padding:16px 0; }
  .wave-process svg{ display:none; }
  .wave-node{ position:static; transform:none; animation:node-bob-mobile 3.6s ease-in-out infinite; width:100px; height:100px; }
  .wave-arrow{ display:flex; align-items:center; justify-content:center; width:22px; color:var(--brass-dim); font-size:20px; animation:arrow-nudge 1.6s ease-in-out infinite; }
}
@keyframes arrow-nudge{
  0%, 100%{ transform:translateX(0); }
  50%{ transform:translateX(4px); }
}
@keyframes node-bob-mobile{
  0%, 100%{ transform:translateY(0); }
  50%{ transform:translateY(-6px); }
}

.why-row{ display:grid; grid-template-columns:repeat(5,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.why-row .card{ background:var(--paper); padding:28px 22px; transition:transform .25s ease; }
.why-row .card:hover{ transform:translateY(-4px); }
.why-row .check{ width:26px; height:26px; border-radius:50%; background:var(--paper-dim); color:var(--brass); display:flex; align-items:center; justify-content:center; margin-bottom:14px; flex-shrink:0; }
.why-row .check svg{ width:14px; height:14px; }
.why-row .card h3{ font-size:16px; font-weight:600; margin-bottom:8px; }
.why-row .card p{ font-size:13.5px; color:#55534c; }
@media(max-width:900px){ .why-row{grid-template-columns:repeat(2,1fr);} }
@media(max-width:560px){ .why-row{grid-template-columns:1fr;} }

/* ============ why-split: intro left, icon list right ============ */
.why-split{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:64px; align-items:start; }
.why-intro .kicker{ margin-bottom:14px; }
.why-intro h2{ font-size:clamp(28px,3.4vw,40px); font-weight:500; line-height:1.15; letter-spacing:-0.01em; margin-bottom:18px; }
.why-intro h2 em{ font-style:normal; font-weight:600; color:var(--brass); }
.why-intro p{ font-size:15.5px; color:#55534c; line-height:1.7; max-width:400px; }
.why-list{ display:flex; flex-direction:column; }
.why-list-item{
  display:flex; align-items:flex-start; gap:18px; padding:22px 12px;
  border-bottom:1px solid var(--line); border-radius:8px;
  transition:background .25s ease, padding-left .25s ease;
}
.why-list-item:first-child{ padding-top:0; }
.why-list-item:last-child{ border-bottom:none; }
.why-list-item:hover{ background:var(--paper-dim); padding-left:18px; }
.why-list-item .check{
  width:34px; height:34px; border-radius:50%; background:var(--paper-dim); color:var(--brass);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px;
  transition:background .25s ease, color .25s ease, transform .25s ease;
}
.why-list-item .check svg{ width:16px; height:16px; }
.why-list-item:hover .check{ background:var(--brass); color:var(--paper); transform:scale(1.08); }
.why-list-item h3{ font-size:16px; font-weight:600; margin-bottom:6px; }
.why-list-item p{ font-size:14px; color:#55534c; line-height:1.55; }
@media(max-width:820px){ .why-split{ grid-template-columns:1fr; gap:32px; } .why-intro p{ max-width:none; } }

.cta-banner{ background:var(--gradient-dark); color:var(--paper); padding:70px 0; text-align:center; position:relative; overflow:hidden; }
.cta-banner .wrap{ position:relative; z-index:2; }

/* ============ testimonial slider ============ */
.testi-slider{ position:relative; max-width:760px; margin:0 auto; }
.testi-viewport{ overflow:hidden; }
.testi-track{ display:flex; transition:transform .5s ease; }
.testi-slide{ flex:0 0 100%; padding:4px; }
.testi-card{
  border:1px solid var(--line); border-radius:10px; background:var(--paper);
  padding:40px 44px; text-align:center;
}
.testi-card .quote-mark{ font-family:'Fraunces', serif; font-size:52px; color:var(--brass); line-height:1; margin-bottom:6px; }
.testi-card p.quote{ font-family:'Fraunces', serif; font-size:19px; font-style:italic; line-height:1.55; color:var(--charcoal); max-width:560px; margin:0 auto; }
.testi-card .who{ margin-top:24px; display:flex; align-items:center; justify-content:center; gap:12px; }
.testi-card .avatar{
  width:38px; height:38px; border-radius:50%; background:var(--ink);
  color:var(--teal); display:flex; align-items:center; justify-content:center;
  font-family:'IBM Plex Mono',monospace; font-size:13px; flex-shrink:0;
}
.testi-card .name{ font-weight:600; font-size:14px; }
.testi-card .role{ font-size:12.5px; color:#8a8a86; }

.testi-controls{ display:flex; align-items:center; justify-content:center; gap:22px; margin-top:28px; }
.testi-arrow{
  width:40px; height:40px; border-radius:50%; border:1px solid var(--line); background:var(--paper);
  display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--ink);
  transition:background .2s ease, color .2s ease, transform .2s ease;
}
.testi-arrow:hover{ background:var(--ink); color:var(--paper); transform:scale(1.06); }
.testi-dots{ display:flex; gap:8px; }
.testi-dot{ width:8px; height:8px; border-radius:50%; background:var(--line); border:none; cursor:pointer; padding:0; transition:background .25s ease, transform .25s ease; }
.testi-dot.active{ background:var(--brass); transform:scale(1.3); }
@media(max-width:640px){ .testi-card{ padding:32px 24px; } .testi-card p.quote{ font-size:17px; } }
.cta-banner h2{ font-size:clamp(26px,3.6vw,38px); font-weight:500; max-width:680px; margin:0 auto 16px; }
.cta-banner h2 em{ font-style:normal; font-weight:600; color:var(--teal); }
.cta-banner p{ color:rgba(250,252,252,0.7); max-width:520px; margin:0 auto 30px; }
.cta-btns{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

footer{ background:var(--ink); color:rgba(250,252,252,0.75); padding-top:70px; }
.foot-top{ display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:32px; padding-bottom:50px; border-bottom:1px solid var(--line-on-ink); }
.foot-brand .logo{ color:var(--paper); }
.foot-brand p{ margin-top:16px; font-size:14px; color:rgba(250,252,252,0.55); max-width:280px; }
.foot-contact{ margin-top:18px; font-size:13.5px; }
.foot-contact div{ margin-bottom:8px; color:rgba(250,252,252,0.65); }
.foot-col h4{ font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--brass); margin-bottom:16px; }
.foot-col a, .foot-col div.addr{ display:block; font-size:14px; color:rgba(250,252,252,0.65); margin-bottom:9px; transition:color .2s ease; }
.foot-col a:hover{ color:var(--paper); }
.foot-bottom{ display:flex; justify-content:space-between; padding:24px 0 90px; font-size:13px; color:rgba(250,252,252,0.45); flex-wrap:wrap; gap:12px;}
@media(max-width:900px){ .foot-top{grid-template-columns:1fr 1fr;} }

/* mobile sticky bar */
.sticky-bar{
  position:fixed; bottom:0; left:0; right:0; z-index:60;
  background:var(--ink); border-top:1px solid var(--line-on-ink);
  display:none; grid-template-columns:repeat(3,1fr);
}
.sticky-bar a{
  display:flex; flex-direction:column; align-items:center; gap:2px;
  padding:12px 0; color:var(--paper); font-size:11.5px; font-weight:600;
  border-right:1px solid var(--line-on-ink);
}
.sticky-bar a:last-child{ border-right:none; }
.sticky-bar .ic{ font-size:16px; }
@media(max-width:700px){
  .sticky-bar{display:grid;}
  footer{padding-bottom:0;}
}

/* ============ scroll-reveal ============ */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in-view{ opacity:1; transform:translateY(0); }
.reveal-stagger.in-view .rs-item{ opacity:1; transform:translateY(0); }
.rs-item{ opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease; }
.reveal-stagger.in-view .rs-item:nth-child(1){ transition-delay:.05s; }
.reveal-stagger.in-view .rs-item:nth-child(2){ transition-delay:.12s; }
.reveal-stagger.in-view .rs-item:nth-child(3){ transition-delay:.19s; }
.reveal-stagger.in-view .rs-item:nth-child(4){ transition-delay:.26s; }
.reveal-stagger.in-view .rs-item:nth-child(5){ transition-delay:.33s; }
.reveal-stagger.in-view .rs-item:nth-child(6){ transition-delay:.4s; }

/* back to top */
.to-top{
  position:fixed; right:24px; bottom:24px; z-index:55;
  width:44px; height:44px; border-radius:50%; background:var(--ink); color:var(--paper);
  display:flex; align-items:center; justify-content:center; font-size:18px;
  border:1px solid var(--line-on-ink); opacity:0; pointer-events:none;
  transition:opacity .3s ease, transform .2s ease;
}
.to-top.visible{ opacity:1; pointer-events:auto; }
.to-top:hover{ transform:translateY(-3px); }
@media(max-width:700px){ .to-top{ bottom:78px; } }

/* ============ FAQ accordion ============ */
.faq-list{ max-width:820px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; padding:22px 4px; background:none; border:none;
  display:flex; justify-content:space-between; align-items:center; cursor:pointer;
  font-size:16px; font-weight:600; color:var(--charcoal); gap:20px; font-family:'Inter',sans-serif;
}
.faq-q .icon{ font-family:'IBM Plex Mono',monospace; color:var(--brass-dim); flex-shrink:0; font-size:20px; transition:transform .25s ease; }
.faq-item.open .faq-q .icon{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-a p{ padding:0 4px 22px; color:#55534c; font-size:14.5px; line-height:1.6; max-width:680px; }

/* ============ contact form ============ */
.contact-form{ display:grid; grid-template-columns:1fr 1fr; gap:20px; max-width:820px; margin:0 auto; }
.contact-form .full{ grid-column:1/-1; }
.contact-form label{ display:block; font-size:13px; font-weight:600; color:var(--ink); margin-bottom:8px; }
.contact-form input, .contact-form select, .contact-form textarea{
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:6px;
  font-family:'Inter',sans-serif; font-size:14.5px; color:var(--charcoal); background:var(--paper);
  transition:border-color .2s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus{ outline:none; border-color:var(--brass); }
.contact-form textarea{ resize:vertical; min-height:110px; }
@media(max-width:700px){ .contact-form{ grid-template-columns:1fr; } }

/* ============ direct contact row ============ */
.direct-contact{ display:flex; flex-wrap:wrap; gap:28px; justify-content:center; }
.direct-contact .dc-item{ display:flex; align-items:center; gap:10px; font-size:14.5px; color:var(--charcoal); }
.direct-contact .dc-item .ic{ font-size:18px; }
.direct-contact .dc-item a{ color:inherit; border-bottom:1px solid transparent; transition:border-color .2s ease; }
.direct-contact .dc-item a:hover{ border-color:var(--brass-dim); }

/* ============ services page: sticky sub-nav ============ */
.subnav{
  position:sticky; top:0; z-index:45; background:rgba(250,252,252,0.96); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line); overflow-x:auto;
}
.subnav-inner{ display:flex; gap:10px; padding:16px 0; white-space:nowrap; }
.subnav a{
  font-size:13.5px; font-weight:600; padding:9px 18px; border-radius:20px; border:1px solid var(--line);
  color:var(--charcoal); transition:background .2s ease, color .2s ease, border-color .2s ease; flex-shrink:0;
}
.subnav a:hover{ background:var(--paper-dim); }
.subnav a.active{ background:var(--ink); color:var(--paper); border-color:var(--ink); }

/* ============ services page: zigzag service blocks ============ */
.svc-block{ padding:80px 0; border-bottom:1px solid var(--line); scroll-margin-top:150px; }
.svc-block:nth-child(even){ background:var(--paper-dim); }
.svc-inner{ display:grid; grid-template-columns:1fr 1.2fr; gap:56px; align-items:center; }
.svc-block.reverse .svc-inner{ direction:rtl; }
.svc-block.reverse .svc-inner > *{ direction:ltr; }
.svc-panel{
  aspect-ratio:1/0.85; border-radius:18px; display:flex; align-items:center; justify-content:center;
  background:var(--gradient-dark); position:relative; overflow:hidden;
}
.svc-panel svg{ width:34%; height:34%; color:var(--teal); position:relative; z-index:2; }
.svc-panel::after{
  content:""; position:absolute; width:220px; height:220px; border:1px solid rgba(250,252,252,0.1);
  border-radius:40px; transform:rotate(28deg); right:-60px; bottom:-70px;
}
.svc-block:nth-child(even) .svc-panel{ background:var(--paper); border:1px solid var(--line); }
.svc-block:nth-child(even) .svc-panel svg{ color:var(--brass); }
.svc-block:nth-child(even) .svc-panel::after{ border-color:var(--line); }
.svc-content .svc-num{ font-family:'IBM Plex Mono',monospace; font-size:13px; color:var(--brass-dim); letter-spacing:.08em; text-transform:uppercase; margin-bottom:14px; display:block; }
.svc-content h2{ font-size:clamp(24px,3vw,34px); font-weight:500; line-height:1.15; margin-bottom:16px; }
.svc-content h2 em{ font-style:normal; font-weight:600; color:var(--brass); }
.svc-content p{ font-size:15.5px; color:#55534c; line-height:1.7; max-width:520px; margin-bottom:22px; }
@media(max-width:820px){
  .svc-inner, .svc-block.reverse .svc-inner{ grid-template-columns:1fr; direction:ltr; }
  .svc-panel{ aspect-ratio:16/10; max-width:320px; margin:0 auto 8px; }
}

/* ============ our story: pull-quote + narrative timeline ============ */
.story-quote{
  font-family:'Fraunces', serif; font-style:italic; font-size:clamp(22px,2.6vw,29px);
  text-align:center; max-width:740px; margin:0 auto 40px; color:var(--ink); line-height:1.55;
}
.story-quote em{ font-style:italic; color:var(--brass); font-weight:600; }
.story-timeline{
  display:grid; grid-template-columns:repeat(4,1fr); gap:28px; position:relative;
  max-width:100%; padding-left:0; margin-top:8px;
}
.story-timeline::before{ content:""; position:absolute; top:18px; left:5%; right:5%; height:2px; background:var(--line); z-index:0; }
.story-beat{ position:relative; padding-bottom:0; text-align:center; z-index:1; }
.story-beat .dot{
  position:static; margin:0 auto 16px; left:auto; top:auto;
  width:36px; height:36px; border-radius:50%;
  background:var(--paper); border:2px solid var(--brass); color:var(--brass-dim);
  display:flex; align-items:center; justify-content:center; transition:background .3s ease, color .3s ease;
}
.story-beat .dot svg{ width:16px; height:16px; }
.story-beat:hover .dot{ background:var(--brass); color:var(--paper); }
.story-beat .beat-label{
  font-family:'IBM Plex Mono',monospace; font-size:12.5px; text-transform:uppercase; letter-spacing:.08em;
  color:var(--brass-dim); margin-bottom:8px; display:block;
}
.story-beat p{ font-size:14px; color:#454540; line-height:1.65; }
@media(max-width:820px){
  .story-timeline{ grid-template-columns:repeat(2,1fr); row-gap:36px; }
  .story-timeline::before{ display:none; }
}
@media(max-width:520px){ .story-timeline{ grid-template-columns:1fr; } }

/* ============ industries page: editorial spotlight bands ============ */
.industry-spot{ position:relative; overflow:hidden; padding:110px 0; border-bottom:1px solid var(--line); }
.industry-spot .big-num{
  position:absolute; top:50%; right:-20px; transform:translateY(-50%);
  font-family:'Fraunces', serif; font-weight:600; font-size:min(38vw,380px); line-height:1;
  color:var(--ink); opacity:.05; z-index:0; pointer-events:none; user-select:none;
}
.industry-spot .wrap{ position:relative; z-index:2; }
.industry-spot .kicker{ margin-bottom:14px; }
.industry-spot h2{ font-size:clamp(32px,4.6vw,54px); font-weight:500; line-height:1.1; max-width:640px; margin-bottom:20px; }
.industry-spot h2 em{ font-style:normal; font-weight:600; color:var(--brass); }
.industry-spot p{ font-size:16px; color:#55534c; max-width:520px; line-height:1.7; margin-bottom:26px; }
.industry-spot .feature-row{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:32px; }
.industry-spot .feature-row span{
  font-family:'IBM Plex Mono',monospace; font-size:13px; padding:9px 16px; border-radius:20px;
  border:1px solid var(--line); background:var(--paper); color:var(--ink);
}
.industry-spot.on-dark{ background:var(--gradient-dark); border-bottom-color:var(--line-on-ink); }
.industry-spot.on-dark .big-num{ color:var(--paper); opacity:.06; }
.industry-spot.on-dark h2{ color:var(--paper); }
.industry-spot.on-dark h2 em{ color:var(--teal); }
.industry-spot.on-dark p{ color:rgba(250,252,252,0.72); }
.industry-spot.on-dark .kicker{ color:var(--teal); }
.industry-spot.on-dark .feature-row span{ background:rgba(250,252,252,0.06); border-color:rgba(250,252,252,0.18); color:var(--paper); }
@media(max-width:700px){ .industry-spot{ padding:80px 0; } .industry-spot .big-num{ font-size:min(50vw,220px); } }

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{transition:none !important; animation:none !important;}
  .reveal, .rs-item{ opacity:1 !important; transform:none !important; }
  .hero-anim{ opacity:1 !important; transform:none !important; }
}