:root{
  --navy:#141a63;
  --navy-deep:#0e1450;
  --orange:#f15a29;
  --text:#141a63;
  --muted:#3a4180;
  --grey:#d9d9d9;
  --white:#ffffff;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Segoe UI',-apple-system,BlinkMacSystemFont,Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  position:relative;
}
.container{max-width:1360px;margin:0 auto;padding:0 32px}

/* Scroll-traced connector line */
#trace{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:3;overflow:visible}
#traceLine,.trace-line{fill:none;stroke:var(--orange);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.trace-dot{fill:#fff;stroke:var(--orange);stroke-width:2.5;transition:fill .35s ease}
.trace-dot.on{fill:var(--orange)}
@media (prefers-reduced-motion:reduce){#traceLine,.trace-line{transition:none}}

/* Header */
.topbar{background:var(--navy);padding:20px 0}
.topbar__inner{display:flex;align-items:center;justify-content:space-between;gap:32px}
.logo{display:inline-flex;align-items:center;flex:none;line-height:0}
.logo img{display:block;width:auto;height:30px}

/* Main navigation */
.nav{display:flex;align-items:center;gap:30px;flex-wrap:wrap}
.nav__link{
  position:relative;color:#fff;text-decoration:none;
  font-size:15px;font-weight:600;padding:6px 0;transition:color .2s;
}
.nav__link:hover{color:var(--orange)}
/* Current section, marked the same way as the service-page tabs */
.nav__link.on::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:3px;
  background:var(--orange);border-radius:2px;
}
.nav__link--cta{
  border:1.5px solid rgba(255,255,255,.45);border-radius:8px;padding:8px 16px;
  transition:background .2s,color .2s,border-color .2s;
}
.nav__link--cta:hover{background:#fff;color:var(--navy);border-color:#fff}

/* Section labels */
/* Corner brackets, not a dashed border. Two pseudo-elements sit at each end,
   each carrying three sides of a box, and the gap between them is simply left
   open. Because the arms are a proportion of the label rather than a fixed
   dash length, the gap always lands dead centre however long the text runs.
   --tag-arm tunes how far the arms reach along the top and bottom. */
.tag{
  --tag-arm:26%;
  position:relative;display:inline-block;
  font-size:11px;font-weight:600;letter-spacing:.3px;line-height:1.5;
  padding:5px 12px;margin-bottom:20px;
}
.tag::before,.tag::after{
  content:"";position:absolute;top:0;bottom:0;
  width:var(--tag-arm);min-width:14px;
  border:1px solid currentColor;
}
.tag::before{left:0;border-right:0}
.tag::after{right:0;border-left:0}
.tag.light{color:#c9cdf0}

section{padding:56px 0}
h1{font-size:40px;line-height:1.15;font-weight:800;margin-bottom:22px}
h2{font-size:26px;font-weight:800;margin-bottom:26px}
h3{font-size:19px;font-weight:800;margin-bottom:8px}
p{margin-bottom:16px;color:var(--muted)}
p.lead{color:var(--navy);font-size:17px;font-weight:600}

.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}

.placeholder{
  background:var(--grey);border-radius:6px;display:flex;align-items:center;justify-content:center;
  color:#6b6b6b;font-size:15px;text-align:center;padding:24px;min-height:260px;
}

/* Testimonial card + carousel */
.quote-card{background:var(--navy);color:#fff;border-radius:14px;padding:28px 30px;position:relative;min-height:230px}
/* On the About page the card is dropped mid-column between paragraphs, so it
   needs the breathing room a grid gap gives it everywhere else. */
.about-quote{margin:38px 0 34px}
.quote-card .tag.light{color:#c9cdf0}
.quote-card .quote-nav{position:absolute;top:24px;right:28px;display:flex;gap:5px}
.quote-nav__btn{
  position:relative;width:20px;height:20px;flex:none;
  border:0;padding:0;border-radius:50%;background:var(--orange);color:#fff;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  transition:transform .15s,background .2s;
}
/* The design draws these small, so the tap target is widened invisibly rather
   than by inflating the circle. */
.quote-nav__btn::after{content:"";position:absolute;inset:-9px}
.quote-nav__btn:hover{transform:scale(1.12)}
.quote-nav__btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
.quote-nav__btn svg{
  width:11px;height:11px;display:block;
  fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;
}
.quote-card blockquote{font-size:15px;line-height:1.6;color:#e6e8fb;margin:6px 0 22px}
.testimonial{display:none}
.testimonial.active{display:block;animation:fade .4s ease}
@keyframes fade{from{opacity:0}to{opacity:1}}
.quote-author{display:flex;align-items:center;gap:14px}
.quote-author .av{width:44px;height:44px;border-radius:50%;background:#e9e9e9;flex:none}
.quote-author em{font-style:italic;color:#c9cdf0;font-size:14px;line-height:1.4}

/* Free site check — homepage lead magnet */
.site-check{background:var(--navy);color:#fff;border-radius:14px;padding:22px 26px}
.site-check__head{display:flex;justify-content:space-between;align-items:baseline;gap:8px 16px;flex-wrap:wrap}
.site-check__head .tag{margin-bottom:10px}
.site-check__alt{margin:0 0 10px;font-size:14px}
.site-check__alt a{color:#fff;font-weight:600}
.site-check h2{color:#fff;font-size:20px;margin-bottom:8px}
.site-check p{color:#dfe1f5;font-size:15px}
/* Website, email and button share one row, wrapping when the column is narrow */
.site-check__form{display:flex;flex-wrap:wrap;gap:10px}
.site-check__form input{
  flex:1 1 170px;min-width:0;
  font:inherit;font-size:15px;padding:11px 14px;border-radius:8px;
  border:1.5px solid #fff;background:#fff;color:var(--navy);
}
.site-check__form input:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.site-check__form .btn{flex:none;cursor:pointer;padding:11px 18px}
.site-check__form .btn:disabled{opacity:.6;cursor:wait;transform:none}
.site-check__form .cf-turnstile:empty{display:none}
.site-check__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.site-check__status{flex-basis:100%;margin:0;font-weight:600}
.site-check__status:empty{display:none}
.site-check__status.is-error{color:#ffb59c}
@media(max-width:820px){
  .site-check__form .btn{flex-basis:100%;text-align:center}
}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Work */
.work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px;margin-top:8px}
.work-item{display:block;color:inherit;text-decoration:none;transition:transform .2s}
.work-item:hover{transform:translateY(-3px)}
.work-item:hover h3{color:var(--orange)}
.work-item .imgph{
  width:100%;height:190px;object-fit:cover;border-radius:4px;background:var(--grey);margin-bottom:14px;
  display:flex;align-items:center;justify-content:center;color:#777;font-size:13px;
}

/* Contact band */
.band{background:var(--navy);color:#fff}
.band p{color:#dfe1f5;font-size:17px}
.band a{color:#fff}

/* FAQ */
.faq-item{border-bottom:1px solid var(--navy);padding:0}
.faq-item summary{
  list-style:none;cursor:pointer;padding:18px 4px;font-size:16px;font-weight:600;color:var(--navy);
  display:flex;justify-content:space-between;align-items:center;gap:16px;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary .ic{flex:none;width:22px;height:22px;border:1.5px solid var(--navy);border-radius:50%;
  position:relative;transition:transform .2s}
.faq-item summary .ic::before,.faq-item summary .ic::after{
  content:"";position:absolute;background:var(--navy);left:50%;top:50%;transform:translate(-50%,-50%)}
.faq-item summary .ic::before{width:10px;height:1.5px}
.faq-item summary .ic::after{width:1.5px;height:10px}
.faq-item[open] summary .ic::after{opacity:0}
.faq-item .ans{padding:0 4px 20px;color:var(--muted);font-size:15px}

/* Case study page — full-bleed hero */
.cs-hero{
  padding:0;position:relative;min-height:clamp(320px,52vh,620px);
  background:var(--navy-deep) center/cover no-repeat;
  display:flex;align-items:center;justify-content:center;overflow:hidden;
}
.cs-hero__scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,20,80,.28),rgba(14,20,80,.42));}
.cs-hero__word{
  position:relative;z-index:1;color:#fff;font-style:italic;font-weight:800;
  font-size:clamp(56px,11vw,150px);line-height:1;letter-spacing:-.01em;
  text-shadow:0 2px 30px rgba(0,0,0,.35);text-align:center;padding:0 20px;
}

/* Case study page — body */
.cs-intro{padding:48px 0 8px}
.cs-intro h1{font-size:clamp(28px,4vw,40px);margin-bottom:12px}
.cs-agency{color:var(--navy);font-weight:600;margin-bottom:0}
.cs-agency strong{font-weight:800}
.cs-section{padding:40px 0}
.cs-section p{font-size:16px}
.cs-video,.hero-video,.about-video{display:block;width:100%;height:auto;border-radius:6px;background:var(--grey)}
.cs-list-lead{margin-bottom:8px;font-weight:600;color:var(--navy)}
.cs-list{margin:0 0 8px 20px;color:var(--muted)}
.cs-list li{font-size:16px;margin-bottom:8px;padding-left:4px}
.cs-quote{margin-top:6px}
.cs-quote blockquote{font-size:15px;line-height:1.6;color:#e6e8fb;margin:16px 0 22px}
.cs-nav{padding:8px 0 48px}
.cs-nav .back{display:inline-block;font-size:14px;font-weight:600;text-decoration:none}

/* Case study archive */
.cs-archive-intro{padding-bottom:24px}
.cs-archive-intro h1{font-size:clamp(30px,5vw,44px);margin-bottom:16px}
.archive-grid{margin-top:20px;row-gap:44px}
.archive-grid .work-item .tag{margin-bottom:12px;color:var(--muted)}
.work-more{margin-top:34px;font-weight:600}
.work-more a{text-decoration:none}
img.imgph{display:block;width:100%;height:190px;object-fit:cover;border-radius:4px;margin-bottom:14px}

/* ---------------------------------------------------------------- *
 * Blog
 * ---------------------------------------------------------------- */
.post-meta{font-size:13px;color:var(--muted);margin-bottom:0}

/* Archive — the newest post gets a wide two-column card */
.blog-feature{
  display:grid;grid-template-columns:1.05fr 1fr;gap:34px;align-items:center;
  color:inherit;text-decoration:none;transition:transform .2s;
}
.blog-feature:hover{transform:translateY(-3px)}
.blog-feature:hover h2{color:var(--orange)}
.blog-feature__img{width:100%;height:300px;object-fit:cover;border-radius:6px;display:block}
.blog-feature__body h2{font-size:30px;margin:10px 0 12px}
.blog-feature__more{color:var(--orange);font-weight:700;margin-bottom:0}
.archive-grid .work-item .post-meta{margin-bottom:8px}

/* Single post */
.post-head{padding:48px 0 6px}
.post-head h1{font-size:clamp(28px,4.2vw,42px);margin-bottom:14px}
.post-hero{
  width:100%;height:clamp(220px,38vh,420px);object-fit:cover;
  border-radius:8px;display:block;margin:26px 0 4px;
}
/* A comfortable measure, left-aligned with the headline and hero above it */
.post-body{padding:34px 0 8px;max-width:760px}
.post-body h2{font-size:24px;margin:38px 0 14px}
.post-body h3{font-size:19px;margin:32px 0 10px}
.post-body h2:first-child,.post-body h3:first-child{margin-top:0}
.post-body p{font-size:17px;line-height:1.7;margin-bottom:20px}
.post-body ul,.post-body ol{margin:0 0 22px 22px;color:var(--muted)}
.post-body li{font-size:17px;line-height:1.7;margin-bottom:10px;padding-left:4px}
.post-body strong{color:var(--navy)}
.post-body a{font-weight:600}
.post-body img{max-width:100%;height:auto;border-radius:6px;display:block;margin:26px 0}

/* The "💡 Tip" callouts carried over from the WordPress pullquotes */
.post-tip{
  background:#f6f7fd;border-left:3px solid var(--orange);border-radius:0 8px 8px 0;
  padding:18px 22px;margin:0 0 24px;
}
.post-tip p{font-size:16px;margin-bottom:0;color:var(--navy)}
.post-tip p + p{margin-top:12px}

.post-more{padding-top:14px}

@media(max-width:820px){
  .blog-feature{grid-template-columns:1fr;gap:18px}
  .blog-feature__img{height:220px}
  .blog-feature__body h2{font-size:24px}
}

/* ---------------------------------------------------------------- *
 * Client logo strip — sits above the footer on every page
 * ---------------------------------------------------------------- */
/* The logos are full-colour artwork drawn for a white background, so this
   band stays light rather than sitting on the navy footer. */
.clients{
  background:#fff;border-top:1px solid rgba(20,26,99,.10);
  padding:30px 0;overflow:hidden;
}
/* Carries .tag for the bracket treatment; this only overrides the spacing,
   since the strip below brings its own generous whitespace. */
.clients__title{margin-bottom:6px}
.clients__track{
  display:flex;width:max-content;
  animation:client-scroll 60s linear infinite;
}
/* Hovering pauses it, so a logo you want a proper look at will hold still */
.clients:hover .clients__track{animation-play-state:paused}
/* Height lives on the list, not on the images, so the band is a predictable
   150px whatever the tallest logo happens to be. */
.clients__list{display:flex;align-items:center;height:150px;list-style:none;margin:0;padding:0}
/* Shown in full colour, as on the old site. Several of these logos are pale
   or fine-lined and a greyscale treatment washes them out completely. */
/* Every logo is pre-rendered onto a canvas of one fixed height with its own
   natural width, each scaled to the same optical weight. So the strip sets a
   single height and lets each item be as wide as its logo actually is,
   rather than squeezing a square mark and an 8:1 wordmark into one box. */
.clients__item{flex:none;padding:0 12px}
.clients__item img{display:block;width:auto;height:98px}

/* Half the track is one full copy of the list, so this loops seamlessly */
@keyframes client-scroll{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

@media(max-width:820px){
  .clients{padding:20px 0}
  .clients__list{height:100px}
  .clients__item{padding:0 8px}
  .clients__item img{height:68px}
}

/* Motion off: park the strip and let it scroll by hand instead */
@media (prefers-reduced-motion:reduce){
  .clients{overflow-x:auto}
  .clients__track{animation:none}
  .clients__list[aria-hidden="true"]{display:none}
}

/* Big footer wordmark */
.footer{background:var(--navy);overflow:hidden;padding:70px 0 0}
.footer .word{
  font-size:23vw;line-height:.8;font-weight:800;color:#fff;opacity:.08;
  white-space:nowrap;padding-left:24px;letter-spacing:-.02em;
}

/* ---------------------------------------------------------------- *
 * Service page
 * ---------------------------------------------------------------- */
.svc-hero{padding-bottom:34px}
.svc-hero h1{margin-bottom:18px}

/* Tabs */
.svc-tabs{display:flex;gap:48px;border-bottom:1px solid rgba(20,26,99,.22);flex-wrap:wrap}
.svc-tab{
  background:none;border:0;font-family:inherit;cursor:pointer;
  padding:6px 0 16px;font-size:17px;font-weight:600;color:var(--muted);
  position:relative;transition:color .2s;
}
.svc-tab:hover{color:var(--navy)}
.svc-tab.on{color:var(--navy)}
.svc-tab.on::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;
  background:var(--orange);border-radius:2px;
}
.svc-panels{padding-top:22px;max-width:640px}
.svc-panel{display:none}
.svc-panel.on{display:block;animation:fade .35s ease}
.svc-panel p{font-size:16px}
.svc-panel-list{margin:0 0 16px 20px;color:var(--muted)}
.svc-panel-list li{font-size:16px;line-height:1.6;margin-bottom:8px;padding-left:4px}

/* Services index — text-only cards, no thumbnail to fake */
.svc-item{border-top:1.5px solid rgba(20,26,99,.18);padding-top:18px}
.svc-item h3{font-size:21px;margin-bottom:10px}
.svc-item__more{color:var(--orange);font-weight:700;font-size:15px;margin-bottom:0}

/* How a build runs — sticky stacking cards */
.svc-process{padding-top:26px}
/* The intro (label + its dot) stays pinned by CSS position:sticky while the
   cards slide up and stack alongside it. Its orange dot is drawn in CSS below
   so it rides the compositor-pinned label (smooth, no jitter) and simply
   travels down the fixed trace line. */
.svc-process__intro{position:sticky;top:130px;align-self:start}
.svc-process__intro p{font-size:16px}
/* The "How a build runs" dot — a CSS twin of the SVG trace dots, aligned to
   the trace line's x (tag left − 18) and pinned with the label. */
/* Hung off the wrapper, not off .tag itself, because the tag's own ::before
   and ::after are busy drawing its corner brackets. The wrapper shrink-wraps
   the tag, so top:50% is the tag's centre line whatever the label's height. */
/* line-height:0 zeroes the strut and the margin moves up to the wrapper, so
   the wrapper's box is exactly the tag's box and nothing taller. */
.svc-process__label{position:relative;display:block;line-height:0;margin-bottom:20px}
.svc-process__label .tag{margin-bottom:0;vertical-align:top}
.svc-process__label::before{
  content:"";position:absolute;left:-25px;top:50%;transform:translateY(-50%);
  width:13px;height:13px;border-radius:50%;box-sizing:border-box;
  background:var(--orange);border:2.5px solid var(--orange);z-index:4;
}
.svc-cards{display:flex;flex-direction:column;gap:22px}
.svc-card{
  position:sticky;top:calc(110px + var(--i) * 16px);
  background:var(--white);border:1.5px solid var(--navy);border-radius:18px;
  padding:30px 32px;box-shadow:0 10px 30px rgba(20,26,99,.06);
}
.svc-card__title{font-size:26px;font-weight:800;margin-bottom:14px}
.svc-card p{font-size:16px;margin-bottom:0}

/* Proof — one build shown properly, rather than a row of thumbnails */
.svc-proof{padding-top:26px}
.proof-card{
  display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center;
  color:inherit;text-decoration:none;transition:transform .2s;
}
.proof-card:hover{transform:translateY(-3px)}
.proof-card:hover h3{color:var(--orange)}
.proof-card__img{width:100%;height:340px;object-fit:cover;border-radius:8px;display:block}
.proof-card__body h3{font-size:28px;line-height:1.2;margin-bottom:14px;transition:color .2s}
.proof-card__body p{font-size:16px}
.proof-card__more{color:var(--orange);font-weight:700;margin-bottom:0}

/* The one quote this page needs, given room to be read */
.proof-quote{
  background:var(--navy);color:#fff;border-radius:14px;
  padding:44px 48px;margin-top:48px;text-align:center;
}
/* No case study above it, so it doesn't need the gap */
.proof-quote:first-child{margin-top:0}
.proof-quote blockquote{font-size:clamp(20px,2.2vw,28px);line-height:1.4;font-weight:600;color:#fff}
.proof-quote figcaption{margin-top:20px;font-style:italic;color:#c9cdf0;font-size:14px}

/* Testimonials 3-up */
.svc-quotes__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:8px}
.svc-quote-card{min-height:0;display:flex;flex-direction:column}
.svc-quote-card blockquote{font-size:14px;line-height:1.6;color:#e6e8fb;margin:0 0 auto}
.svc-quote-card .quote-author{margin-top:26px}

/* Get in touch — call to action band */
.svc-cta__inner{display:flex;justify-content:space-between;align-items:center;gap:40px;flex-wrap:wrap}
.svc-cta__inner > div:first-child{flex:1 1 420px}
.svc-cta__actions{display:flex;gap:14px;flex-wrap:wrap}
.btn{
  display:inline-block;background:#fff;color:var(--navy);text-decoration:none;
  font-weight:700;font-size:15px;padding:13px 22px;border-radius:8px;
  border:1.5px solid #fff;transition:transform .15s,background .2s,color .2s;
}
.btn:hover{transform:translateY(-2px)}
.btn--ghost{background:transparent;color:#fff}
.btn--ghost:hover{background:#fff;color:var(--navy)}
/* Buy button — the fixed fee services sit on white, so this one runs inverted */
.btn--buy{background:var(--navy);color:#fff;border-color:var(--navy)}
.btn--buy:hover{background:var(--orange);border-color:var(--orange);color:#fff}
.svc-hero__cta{margin:24px 0 0}
/* Win over the generic `.band a{color:#fff}` rule */
.band .btn{color:var(--navy)}
.band .btn--ghost{color:#fff}
.band .btn--ghost:hover{color:var(--navy)}

@media(max-width:820px){
  .proof-card{grid-template-columns:1fr;gap:22px}
  .proof-card__img{height:220px}
  .proof-card__body h3{font-size:23px}
  .proof-quote{padding:30px 26px;margin-top:34px}
  .svc-quotes__grid{grid-template-columns:1fr}
  .svc-process__intro{position:static}
  .svc-card{position:static}
  .svc-tabs{gap:26px}
  .svc-cta__inner{flex-direction:column;align-items:flex-start}
}

a{color:var(--orange)}

@media(max-width:820px){
  .grid-2{grid-template-columns:1fr;gap:32px}
  .work-grid{grid-template-columns:1fr}
  h1{font-size:32px}
  .container{padding:0 22px}
}

/* With only four short links the nav simply drops under the logo on small
   screens — no burger to open, everything stays one tap away. */
@media(max-width:720px){
  .topbar__inner{flex-direction:column;align-items:flex-start;gap:16px}
  .logo img{height:26px;max-width:100%}
  .nav{gap:18px 20px;width:100%}
  .nav__link{font-size:14px}
  .nav__link--cta{padding:6px 13px}
}
