/* ================= WEB DEVELOPMENT SERVICE PAGE ================= */

/* ---- hero ---- */
.svc-hero{padding-top:calc(var(--sec) + 26px)}
.svc-hero-in{max-width:960px}
.svc-crumb{display:flex;align-items:center;gap:8px;font-family:var(--f-mono);font-size:11px;
  letter-spacing:.06em;color:#8A8FA8;margin-bottom:20px}
.svc-crumb a{color:#8A8FA8;transition:.2s}
.svc-crumb a:hover{color:var(--gold)}
.svc-crumb i{font-style:normal;opacity:.5}
.svc-h1{font-family:var(--f-display);font-weight:900;letter-spacing:-.025em;line-height:1.02;
  font-size:clamp(2.3rem,5.6vw,4.3rem);margin-bottom:22px}
.svc-lead{font-size:clamp(1rem,1.25vw,1.16rem);line-height:1.75;color:#B9BCCC;max-width:62ch}
.svc-hero-cta{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:34px}
.svc-hero-note{font-family:var(--f-mono);font-size:11px;letter-spacing:.04em;color:#8A8FA8}
.svc-hero-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:46px;
  padding-top:30px;border-top:1px solid rgba(255,255,255,.10);max-width:720px}
.svc-hero-stats b{display:block;font-family:var(--f-display);font-weight:800;
  font-size:clamp(1.45rem,2.4vw,2rem);line-height:1;color:var(--gold)}
.svc-hero-stats span{display:block;margin-top:7px;font-family:var(--f-mono);font-size:10px;
  letter-spacing:.09em;text-transform:uppercase;color:#8A8FA8}

/* ---- trust strip ---- */
.tr-wrap{display:grid;grid-template-columns:.85fr 1.15fr;gap:46px;align-items:center}
.tr-pills{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.tr-pill{display:inline-flex;align-items:center;gap:8px;padding:9px 15px;border-radius:100px;
  border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);
  font-family:var(--f-mono);font-size:10.5px;letter-spacing:.04em;color:#C9CCDD}
.tr-pill svg{width:14px;height:14px;color:var(--gold)}
.tr-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.tr-c{padding:20px;border-radius:16px;border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.02));
  transition:.3s var(--ease)}
.tr-c:hover{border-color:rgba(245,200,42,.4);transform:translateY(-3px)}
.tr-c b{display:block;font-family:var(--f-display);font-weight:800;font-size:1.5rem;color:var(--gold);line-height:1}
.tr-c span{display:block;margin-top:9px;font-size:13px;line-height:1.5;color:#B9BCCC}

/* ---- generic card grids ---- */
.gcards{display:grid;gap:16px;margin-top:44px}
.g-3{grid-template-columns:repeat(3,1fr)}
.g-2{grid-template-columns:repeat(2,1fr)}
.gcard{position:relative;padding:26px 24px;border-radius:18px;border:1px solid var(--line);
  background:#fff;transition:.34s var(--ease)}
.gcard:hover{transform:translateY(-4px);border-color:rgba(245,200,42,.55);
  box-shadow:0 30px 60px -36px rgba(21,25,49,.4)}
.gcard .g-ic{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;
  background:rgba(245,200,42,.14);border:1px solid rgba(245,200,42,.34);color:var(--gold-deep);margin-bottom:16px}
.gcard .g-ic svg{width:21px;height:21px}
.gcard h3{font-family:var(--f-display);font-weight:700;font-size:1.1rem;line-height:1.25;letter-spacing:-.01em}
.gcard p{margin-top:9px;font-size:14px;line-height:1.62;color:var(--mute)}
.gcard .g-meta{display:block;margin-top:14px;font-family:var(--f-mono);font-size:10px;
  letter-spacing:.08em;text-transform:uppercase;color:var(--gold-deep)}
[data-theme="dark"] .gcard{background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.02));
  border-color:rgba(255,255,255,.10)}
[data-theme="dark"] .gcard p{color:#B9BCCC}
[data-theme="dark"] .gcard:hover{box-shadow:0 30px 60px -32px rgba(0,0,0,.6)}

/* ---- industries ---- */
.ind-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:44px}
.ind{display:flex;align-items:center;gap:12px;padding:16px 16px;border-radius:14px;
  border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.035);transition:.3s var(--ease)}
.ind:hover{border-color:rgba(245,200,42,.5);background:rgba(245,200,42,.07);transform:translateY(-3px)}
.ind svg{width:20px;height:20px;flex-shrink:0;color:var(--gold)}
.ind b{font-family:var(--f-body);font-weight:600;font-size:13.5px;line-height:1.3;color:#EDEFF6}
.ind span{display:block;font-family:var(--f-mono);font-size:10px;letter-spacing:.05em;color:#8A8FA8;margin-top:3px}

/* ---- problems -> solutions ---- */
.prob-list{display:flex;flex-direction:column;gap:12px;margin-top:44px}
.prob{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:22px;
  padding:22px 24px;border-radius:18px;border:1px solid var(--line);background:#fff;
  transition:.3s var(--ease)}
.prob:hover{border-color:rgba(245,200,42,.5);box-shadow:0 26px 54px -34px rgba(21,25,49,.34)}
.prob-l b,.prob-r b{display:block;font-family:var(--f-mono);font-size:9.5px;letter-spacing:.12em;
  text-transform:uppercase;margin-bottom:7px}
.prob-l b{color:#C2453F}
.prob-r b{color:#17804A}
.prob-l p,.prob-r p{font-size:14.5px;line-height:1.55;margin:0}
.prob-l p{color:var(--mute)}
.prob-r p{color:var(--text);font-weight:500}
.prob-ar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;
  background:var(--gold);color:#151931;flex-shrink:0}
.prob-ar svg{width:17px;height:17px}

/* ---- key features ---- */
.kf-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:44px}
.kf{padding:22px;border-radius:16px;border:1px solid var(--line);background:#fff;transition:.3s var(--ease)}
.kf:hover{transform:translateY(-3px);border-color:rgba(245,200,42,.55)}
.kf-t{display:flex;align-items:center;gap:10px}
.kf-t svg{width:18px;height:18px;color:var(--gold-deep);flex-shrink:0}
.kf-t b{font-family:var(--f-display);font-weight:700;font-size:1rem;letter-spacing:-.01em}
.kf p{margin-top:10px;font-size:13.5px;line-height:1.6;color:var(--mute)}
.kf em{display:block;margin-top:12px;font-style:normal;font-family:var(--f-mono);font-size:10px;
  letter-spacing:.07em;text-transform:uppercase;color:var(--gold-deep)}

/* ---- results ---- */
.res-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:44px}
.res{padding:26px 22px;border-radius:18px;border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));text-align:center}
.res b{display:block;font-family:var(--f-display);font-weight:900;line-height:1;
  font-size:clamp(1.9rem,3.2vw,2.7rem);color:var(--gold)}
.res span{display:block;margin-top:11px;font-size:13px;line-height:1.5;color:#B9BCCC}
.res-note{margin-top:22px;font-family:var(--f-mono);font-size:10.5px;letter-spacing:.04em;color:#8A8FA8}

/* ---- engagement models ---- */
.eng-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:44px;align-items:start}
.eng{position:relative;padding:28px 24px;border-radius:20px;border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.02));transition:.34s var(--ease)}
.eng:hover{transform:translateY(-4px);border-color:rgba(245,200,42,.45)}
.eng.feat{border-color:rgba(245,200,42,.6);background:linear-gradient(180deg,rgba(245,200,42,.10),rgba(255,255,255,.02))}
.eng-badge{position:absolute;top:-11px;left:24px;padding:5px 12px;border-radius:100px;background:var(--gold);
  color:#151931;font-family:var(--f-mono);font-size:9.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:600}
.eng h3{font-family:var(--f-display);font-weight:800;font-size:1.22rem;letter-spacing:-.015em}
.eng .eng-for{display:block;margin-top:8px;font-family:var(--f-mono);font-size:10.5px;
  letter-spacing:.05em;color:var(--gold)}
.eng p{margin-top:14px;font-size:13.5px;line-height:1.62;color:#B9BCCC}
.eng ul{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-direction:column;gap:9px}
.eng li{display:flex;gap:9px;font-size:13px;line-height:1.5;color:#C9CCDD}
.eng li svg{width:15px;height:15px;flex-shrink:0;margin-top:2px;color:var(--gold)}

/* ---- testimonials (text) ---- */
.tq-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:44px}
.tq{display:flex;flex-direction:column;padding:26px 24px;border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.02));transition:.3s var(--ease)}
.tq:hover{border-color:rgba(245,200,42,.4);transform:translateY(-3px)}
.tq-st{color:var(--gold);font-size:12px;letter-spacing:.14em}
.tq p{margin:14px 0 0;font-size:14.5px;line-height:1.68;color:#D6D9E6}
.tq-who{display:flex;align-items:center;gap:11px;margin-top:20px;padding-top:16px;
  border-top:1px solid rgba(255,255,255,.09)}
.tq-av{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;flex-shrink:0;
  background:rgba(245,200,42,.16);border:1px solid rgba(245,200,42,.34);
  font-family:var(--f-display);font-weight:800;font-size:13px;color:var(--gold)}
.tq-who b{display:block;font-family:var(--f-body);font-weight:600;font-size:13.5px;color:#EDEFF6}
.tq-who span{display:block;font-family:var(--f-mono);font-size:10px;letter-spacing:.05em;color:#8A8FA8;margin-top:2px}

/* ---- section head with side note ---- */
.sh-split{display:grid;grid-template-columns:1.1fr .9fr;gap:52px;align-items:end}
.sh-split .lead{margin-bottom:0}

/* ---- responsive ---- */
@media(max-width:1000px){
  .g-3,.kf-grid,.eng-grid,.tq-grid,.res-grid{grid-template-columns:repeat(2,1fr)}
  .ind-grid{grid-template-columns:repeat(3,1fr)}
  .tr-wrap,.sh-split{grid-template-columns:1fr;gap:30px}
}
@media(max-width:760px){
  .g-3,.g-2,.kf-grid,.eng-grid,.tq-grid{grid-template-columns:1fr}
  .res-grid{grid-template-columns:repeat(2,1fr)}
  .ind-grid{grid-template-columns:repeat(2,1fr)}
  .svc-hero-stats{grid-template-columns:repeat(2,1fr);gap:22px}
  .prob{grid-template-columns:1fr;gap:14px;text-align:left}
  .prob-ar{transform:rotate(90deg)}
  .tr-cards{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:430px){
  .tr-cards{grid-template-columns:1fr}
}


/* ===== shared service-card styling (moved here so all six
   service pages get it, not just web-development) ===== */
/* ---- icons on LIGHT cards -------------------------------------------
   The pale-gold gradient works on navy and disappears on cream: the tile is
   rgba(245,200,42,.14) over white, and the gradient's top stop (#FFE9A3)
   measured about 1.1:1 against it. On a white card the tile becomes solid
   gold and the icon goes dark instead — about 6.8:1, and it matches the
   solid-gold CTA buttons already on the page. */
[data-theme="light"] .gcard .g-ic{
  width:46px;height:46px;border-radius:14px;
  background:linear-gradient(145deg,#FFDC5C,#F0B117 58%,#DA9208);
  border:1px solid rgba(168,108,0,.4);
  box-shadow:0 7px 18px -8px rgba(205,140,8,.65),inset 0 1px 0 rgba(255,255,255,.55);
  transition:transform .3s ease,box-shadow .3s ease;
}
[data-theme="light"] .gcard .g-ic svg{width:23px;height:23px;filter:none}
[data-theme="light"] .gcard .g-ic svg [stroke]{stroke:#3A2800;stroke-width:2.05}
[data-theme="light"] .gcard .g-ic svg [fill="currentColor"]{fill:#3A2800}
[data-theme="light"] .gcard:hover .g-ic{
  transform:translateY(-2px) scale(1.05);
  box-shadow:0 11px 24px -9px rgba(205,140,8,.8),inset 0 1px 0 rgba(255,255,255,.6);
}

/* key features have no tile — just give the stroke enough weight to read */
[data-theme="light"] .kf-t svg [stroke]{stroke:#9A6600;stroke-width:2.05}
[data-theme="light"] .kf-t svg [fill="currentColor"]{fill:#9A6600}
/* ---- service cards on light: give them a resting state ---------------
   They had a 12%-opacity hairline and no shadow at all, so six white boxes
   on a cream background read as flat text blocks until you hovered one.
   A soft two-layer shadow lifts them; a divider above the meta line gives
   the card a footer; and the meta gold goes from 3.14:1 to a passing
   contrast at 10px. */
[data-theme="light"] .gcard{
  border-color:rgba(21,25,49,.085);
  box-shadow:0 1px 2px rgba(21,25,49,.045),0 10px 26px -16px rgba(21,25,49,.22);
  transition:transform .34s cubic-bezier(.2,.7,.3,1),box-shadow .34s ease,border-color .34s ease;
}
[data-theme="light"] .gcard:hover{
  transform:translateY(-5px);
  border-color:rgba(214,150,10,.45);
  box-shadow:0 2px 5px rgba(21,25,49,.05),0 22px 44px -22px rgba(166,112,8,.42);
}
[data-theme="light"] .gcard p{margin-bottom:18px}
[data-theme="light"] .gcard .g-meta{
  display:block;margin-top:auto;padding-top:14px;
  border-top:1px solid rgba(21,25,49,.08);
  color:#8A6400;
}

/* Pinning the meta line to the card bottom keeps every divider on the same
   line across a row. Before this they aligned only because the six
   paragraphs happened to wrap to the same number of lines — edit one word
   and a card would fall out of step. */
[data-theme="light"] .gcards{counter-reset:gc}
[data-theme="light"] .gcard{
  position:relative;display:flex;flex-direction:column;counter-increment:gc;
}
/* numbering matches .wp-num further down the page, so this is the page's
   own language rather than a new idea */
[data-theme="light"] .gcard::before{
  content:counter(gc,decimal-leading-zero);
  position:absolute;top:19px;right:22px;
  font-family:var(--f-display);font-weight:800;font-size:1.85rem;line-height:1;
  color:rgba(21,25,49,.085);transition:color .34s ease;pointer-events:none;
}
[data-theme="light"] .gcard:hover::before{color:rgba(214,150,10,.55)}
/* ---- animated thin border on the service cards -----------------------
   A one-pixel gold light travels around the card edge on hover. Built as a
   masked conic-gradient ring rather than a real border, so it sits on top of
   the existing hairline without changing the card's size by a single pixel.
   Wrapped in @supports because without mask-composite the gradient would
   flood the whole card instead of forming a ring. */
@property --gca{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes gcaSpin{to{--gca:360deg}}

@supports ((-webkit-mask-composite:xor) or (mask-composite:exclude)){
  [data-theme="light"] .gcard::after{
    content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;
    background:conic-gradient(from var(--gca),
      transparent 0 58%,
      rgba(245,200,42,.85) 74%,
      #FFF0B8 84%,
      rgba(245,200,42,.85) 90%,
      transparent 100%);
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;
            mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
            mask-composite:exclude;
    opacity:0;transition:opacity .4s ease;pointer-events:none;
  }
  [data-theme="light"] .gcard:hover::after{
    opacity:1;animation:gcaSpin 2.8s linear infinite;
  }
}

@media(prefers-reduced-motion:reduce){
  /* keep the colour, drop the travel */
  [data-theme="light"] .gcard:hover::after{animation:none;
    background:linear-gradient(135deg,rgba(245,200,42,.9),rgba(222,150,18,.5));}
}

/* ---- problem rows: match the card system --------------------------------
   These were white on cream with a 12% hairline and no shadow, exactly as
   the service cards were. Same resting shadow and hover lift, plus the same
   travelling border, so the two sections read as one system.
   The quote also gained weight: it was the lightest text in the row at 400
   and muted grey, while the answer beside it was near-black at 500 — but the
   quote is the hook, the line a visitor recognises themselves in. */
[data-theme="light"] .prob{
  position:relative;
  border-color:rgba(21,25,49,.085);
  box-shadow:0 1px 2px rgba(21,25,49,.04),0 8px 22px -16px rgba(21,25,49,.2);
  transition:transform .32s cubic-bezier(.2,.7,.3,1),box-shadow .32s ease,border-color .32s ease;
}
[data-theme="light"] .prob:hover{
  transform:translateY(-3px);
  border-color:rgba(214,150,10,.42);
  box-shadow:0 2px 5px rgba(21,25,49,.05),0 18px 38px -20px rgba(166,112,8,.34);
}
[data-theme="light"] .prob-l p{font-size:15.5px;color:#3A4056;font-weight:450}
[data-theme="light"] .prob-l b,[data-theme="light"] .prob-r b{font-size:10.5px;letter-spacing:.12em}

/* the arrow leans toward the answer on hover */
@media(hover:hover) and (min-width:901px){
  .prob-ar{transition:transform .34s cubic-bezier(.2,.7,.3,1),box-shadow .34s ease}
  [data-theme="light"] .prob:hover .prob-ar{
    transform:translateX(5px);box-shadow:0 6px 16px -7px rgba(214,150,10,.75);
  }
}

@supports ((-webkit-mask-composite:xor) or (mask-composite:exclude)){
  [data-theme="light"] .prob::after{
    content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;
    background:conic-gradient(from var(--gca),
      transparent 0 58%,rgba(245,200,42,.85) 74%,#FFF0B8 84%,
      rgba(245,200,42,.85) 90%,transparent 100%);
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;
            mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
            mask-composite:exclude;
    opacity:0;transition:opacity .4s ease;pointer-events:none;
  }
  [data-theme="light"] .prob:hover::after{opacity:1;animation:gcaSpin 3.4s linear infinite}
}
@media(prefers-reduced-motion:reduce){
  [data-theme="light"] .prob:hover::after{animation:none;
    background:linear-gradient(135deg,rgba(245,200,42,.9),rgba(222,150,18,.5));}
  [data-theme="light"] .prob:hover .prob-ar{transform:none}
}

/* ---- key-feature cards: tiles, depth, readable meta --------------------
   The 18px icons sat bare beside the title with nothing around them, the
   cards had no shadow, and the meta line was the same 3.14:1 gold that
   failed on the service cards. Same system applied, scaled down: a 32px
   tile rather than 46px, because here the icon sits inline with the
   heading rather than above it. */
[data-theme="light"] .kf{
  position:relative;
  border-color:rgba(21,25,49,.085);
  box-shadow:0 1px 2px rgba(21,25,49,.04),0 8px 22px -16px rgba(21,25,49,.2);
}
[data-theme="light"] .kf:hover{
  border-color:rgba(214,150,10,.42);
  box-shadow:0 2px 5px rgba(21,25,49,.05),0 18px 38px -20px rgba(166,112,8,.34);
}
[data-theme="light"] .kf-t{gap:12px}
[data-theme="light"] .kf-t svg{
  width:18px;height:18px;box-sizing:content-box;padding:7px;border-radius:10px;
  background:linear-gradient(145deg,#FFDC5C,#F0B117 58%,#DA9208);
  border:1px solid rgba(168,108,0,.4);
  box-shadow:0 4px 11px -5px rgba(205,140,8,.6),inset 0 1px 0 rgba(255,255,255,.5);
  transition:transform .3s ease,box-shadow .3s ease;
}
[data-theme="light"] .kf-t svg [stroke]{stroke:#3A2800;stroke-width:2.1}
[data-theme="light"] .kf-t svg [fill="currentColor"]{fill:#3A2800}
[data-theme="light"] .kf:hover .kf-t svg{
  transform:scale(1.07);
  box-shadow:0 7px 16px -6px rgba(205,140,8,.78),inset 0 1px 0 rgba(255,255,255,.55);
}
[data-theme="light"] .kf em{color:#8A6400}

@supports ((-webkit-mask-composite:xor) or (mask-composite:exclude)){
  [data-theme="light"] .kf::after{
    content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;
    background:conic-gradient(from var(--gca),
      transparent 0 58%,rgba(245,200,42,.85) 74%,#FFF0B8 84%,
      rgba(245,200,42,.85) 90%,transparent 100%);
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;
            mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
            mask-composite:exclude;
    opacity:0;transition:opacity .4s ease;pointer-events:none;
  }
  [data-theme="light"] .kf:hover::after{opacity:1;animation:gcaSpin 3s linear infinite}
}
@media(prefers-reduced-motion:reduce){
  [data-theme="light"] .kf:hover::after{animation:none;
    background:linear-gradient(135deg,rgba(245,200,42,.9),rgba(222,150,18,.5));}
  [data-theme="light"] .kf:hover .kf-t svg{transform:none}
}

/* ---- hero grid shared with every service page ---- */
.svc-hero-grid{display:grid;grid-template-columns:1fr .82fr;gap:50px;align-items:center}
.svc-hero-art{position:relative}
.svc-hero-art{max-width:620px}
.svc-hero-art picture{display:contents}
/* the full rule from web-development.css — my first pass copied only part of
   it, so the new heroes had no radius, no shadow, and (without height:auto)
   rendered 500x1076 instead of 500x550, squashed */
.svc-hero-art img{position:relative;z-index:1;width:100%;height:auto;display:block;
  border-radius:20px;filter:drop-shadow(0 40px 80px rgba(0,0,0,.55))}
@media(max-width:900px){.svc-hero-grid{grid-template-columns:1fr;gap:34px}}

/* the build dropped this; it is referenced inside @media(hover:none),
   so without it the screenshot cards never scroll on a phone */
@keyframes wcScroll{0%,5%{transform:translateY(0)}95%,100%{transform:translateY(var(--sc,-85%))}}


/* ===== app mockups, shared with the homepage ===== */
/* ---- app builds: three Android mockups with sliding screens ---- */
.phw-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(20px,2.4vw,34px);margin-top:clamp(30px,3.4vw,46px)}
.phw{display:flex;flex-direction:column;align-items:center;text-align:center}
.phone{position:relative;height:var(--ph);width:fit-content;padding:8px;border-radius:42px;
  /* height drives the size so three different handsets line up */
  /* the metal rail: light catches the long edges and the corners stay dark */
  background:linear-gradient(142deg,#9ba1b4 0%,#565b70 11%,#2b2f40 26%,#787e92 46%,
    #2b2f40 62%,#5c6176 80%,#a2a8ba 94%,#4e5367 100%);
  box-shadow:0 0 0 .5px rgba(255,255,255,.26),
    0 40px 74px -30px rgba(10,12,26,.8),
    0 12px 24px -14px rgba(10,12,26,.55);
  transition:transform .5s var(--ease),box-shadow .5s var(--ease)}
.phw:hover .phone{transform:translateY(-8px);
  box-shadow:0 0 0 .5px rgba(255,255,255,.3),
    0 56px 86px -32px rgba(10,12,26,.85),
    0 14px 26px -14px rgba(10,12,26,.5)}
/* the black bezel inside the rail */
.phone::before{content:"";position:absolute;inset:3.5px;border-radius:39px;background:#04050c;
  box-shadow:inset 0 0 0 .5px rgba(255,255,255,.07)}
/* one soft highlight across the glass */
.phone::after{content:"";position:absolute;inset:0;border-radius:inherit;z-index:4;
  pointer-events:none;background:linear-gradient(116deg,rgba(255,255,255,.1) 0 12%,
    rgba(255,255,255,.02) 26%,rgba(255,255,255,0) 44%)}
.phone-btn{position:absolute;right:-2.5px;width:3px;border-radius:0 3px 3px 0;z-index:2;
  background:linear-gradient(180deg,#a2a8ba,#4e5367 42%,#2b2f40);
  box-shadow:1px 0 2px rgba(0,0,0,.45)}
.phone-btn.pb-1{top:21%;height:40px}
.phone-btn.pb-2{top:30%;height:72px}
.phone-screen{position:relative;z-index:1;height:100%;width:auto;
  aspect-ratio:var(--par,9/19.5);border-radius:34px;overflow:hidden;background:#0b0e1d}
.phone-cam{position:absolute;top:11px;left:50%;transform:translateX(-50%);z-index:5;
  width:11px;height:11px;border-radius:50%;
  background:radial-gradient(circle at 36% 32%,#2d3554 0 24%,#070a14 56%,#02030a 100%);
  box-shadow:0 0 0 1px rgba(255,255,255,.09),0 0 7px 1px rgba(0,0,0,.55)}
.phs-track{display:flex;height:100%;overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;
  -ms-overflow-style:none;-webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  /* pan-x alone told the browser this element only handles sideways
     gestures, which swallowed vertical swipes and froze the page;
     with both axes the browser picks by gesture direction */
  touch-action:pan-x pan-y;cursor:grab}
.phs-track::-webkit-scrollbar{display:none}
.phs-track.dragging{cursor:grabbing;scroll-behavior:auto;scroll-snap-type:none;user-select:none}
.phs-track img{flex:0 0 100%;width:100%;height:100%;object-fit:cover;scroll-snap-align:start;
  display:block;-webkit-user-drag:none}
.phs-dots{display:flex;justify-content:center;gap:7px;margin:16px 0 0}
.phs-dot{width:6px;height:6px;padding:0;border:0;border-radius:50%;cursor:pointer;
  background:rgba(21,25,49,.2);transition:.3s var(--ease)}
.phs-dot.on{width:20px;border-radius:999px;background:var(--gold)}
[data-theme="dark"] .phs-dot{background:rgba(255,255,255,.22)}
.phw-body{margin-top:auto;padding-top:16px}
.phw-body h3{margin:4px 0 0;font-size:clamp(1.02rem,1.4vw,1.2rem)}
@media(max-width:860px){
  .phw-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .phw:last-child{grid-column:1/-1}}
@media(max-width:560px){
  .phw-grid{grid-template-columns:1fr;gap:38px}
  .phw:last-child{grid-column:auto}}
/* a slide is a window on one screen; the two full-page captures pan down
   inside it while they are the one showing */
.phs-slide{flex:0 0 100%;height:100%;overflow:hidden;scroll-snap-align:start;position:relative}
.phs-slide img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block;
  -webkit-user-drag:none}
.phs-slide.tall img{height:auto;object-fit:fill;animation:phsPan var(--pd,8s) ease-in-out infinite alternate;
  animation-play-state:paused}
.phs-slide.tall.on img{animation-play-state:running}
/* the same hint the website cards carry, worded for a phone */
.phone-screen::after{content:"Swipe the Screen";position:absolute;z-index:4;
  bottom:14px;left:50%;transform:translateX(-50%);
  padding:5px 11px;border-radius:100px;background:rgba(21,25,49,.82);backdrop-filter:blur(6px);
  color:#fff;font-family:var(--f-mono);font-size:9px;letter-spacing:.07em;white-space:nowrap;
  opacity:1;transition:opacity .45s var(--ease);pointer-events:none}
/* it has done its job once the visitor moves a screen */
.phw.touched .phone-screen::after{opacity:0}
/* one height for all three phones; each one's width follows from its own
   screen ratio, so nothing is stretched to match */
.phw-grid{--ph:clamp(470px,38vw,560px)}
@media(max-width:560px){.phw-grid{--ph:clamp(440px,118vw,520px)}}
@media(max-width:560px){
  .phw-grid{gap:44px}}


/* ===== scrolling screenshot cards, shared with the homepage ===== */
/* ---- project cards: full-page screenshot, auto-scrolling ---- */
/* a little taller, so more of each page shows before it scrolls */
.wc-shot{position:relative;overflow:hidden;background:#fff;padding:0;aspect-ratio:4/4.3}
.wc-bar{position:absolute;top:0;left:0;right:0;height:22px;z-index:2;display:flex;align-items:center;gap:5px;
  padding:0 9px;background:#EEECE4;border-bottom:1px solid #D7D4C9}
.wc-bar i{width:6px;height:6px;border-radius:50%;background:#CFCBBE}
.wc-bar i:nth-child(1){background:#FF5F56}
.wc-bar i:nth-child(2){background:#FFBD2E}
.wc-bar i:nth-child(3){background:#27C93F}
.wc-bar b{flex:1;height:9px;margin-left:6px;border-radius:5px;background:#FCFBF7;border:1px solid #DDDAD0}
.wc-scroll{position:absolute;top:22px;left:0;right:0;bottom:0;overflow:hidden}
.wc-scroll img{width:100%;height:auto;display:block;will-change:transform;
  transform:translateY(0);transition:transform 1.1s cubic-bezier(.22,1,.36,1)}
/* scroll the page only while the card is hovered, then ease back */
.wc:hover .wc-scroll img,.wc:focus-within .wc-scroll img{
  transform:translateY(var(--sc,-85%));
  transition:transform var(--dur,22s) cubic-bezier(.33,0,.4,1)}
.wc-shot::after{content:"Hover to scroll";position:absolute;bottom:10px;right:10px;z-index:3;
  padding:5px 10px;border-radius:100px;background:rgba(21,25,49,.82);backdrop-filter:blur(6px);
  color:#fff;font-family:var(--f-mono);font-size:9px;letter-spacing:.07em;
  opacity:1;transition:opacity .4s var(--ease);pointer-events:none}
.wc:hover .wc-shot::after{opacity:0}
@media(prefers-reduced-motion:reduce){

  .wc-scroll img{animation:none;transition:none}

  .wc:hover .wc-scroll img{transform:none}}


/* ===== gold text on a light section =====
   #F5C82A is built for the dark sections. On cream it measures 1.45:1 for
   the highlighted heading word and 2.85:1 for the eyebrow, so both step
   down to a deeper gold here. Dark sections are untouched. */
[data-theme="light"] .gword,
[data-theme="light"] .gword2{color:#A5790A}
[data-theme="light"] .eyebrow{color:#8A6400}


/* ===== Google review slider, shared with the homepage ===== */
/* ---- Google review slider, three cards per view ---- */
.grv{margin-top:clamp(42px,5vw,70px)}
.grv-head{display:flex;align-items:center;gap:clamp(18px,3vw,34px);flex-wrap:wrap;
  padding:18px clamp(18px,2.4vw,26px);border:1px solid var(--line-2);border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.015));
  margin-bottom:clamp(20px,2.6vw,30px)}
.grv-brand{display:flex;align-items:center;gap:13px;min-width:0}
.grv-g{width:44px;height:44px;border-radius:13px;flex:0 0 auto;display:grid;place-items:center;
  font-family:var(--f-display);font-weight:800;font-size:1.45rem;line-height:1;color:#3A2800;
  background:linear-gradient(145deg,#FFDC5C,#F0B117 58%,#DA9208);
  box-shadow:0 7px 18px -8px rgba(205,140,8,.6),inset 0 1px 0 rgba(255,255,255,.5)}
.grv-b1{display:block;font-family:var(--f-display);font-weight:700;font-size:1.02rem;color:var(--text)}
.grv-b2{display:block;color:var(--mute);font-size:.8rem;margin-top:3px}
.grv-b2 b{color:#C9CCE0;font-weight:600}
.grv-score{display:flex;align-items:center;gap:12px;margin-left:auto;text-align:right}
.grv-score>span:last-child{display:flex;flex-direction:column;align-items:flex-end}
.grv-num{font-family:var(--f-display);font-weight:800;font-size:2.05rem;line-height:1;color:var(--gold)}
.grv-stars{display:block;color:var(--gold);letter-spacing:2px;font-size:.98rem;line-height:1.2}
.grv-cta{margin-left:auto;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;
  font-family:var(--f-mono);font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;
  color:var(--gold);border:1px solid rgba(245,200,42,.35);border-radius:999px;
  padding:10px 18px;transition:.3s var(--ease)}
.grv-cta:hover{background:var(--gold);color:#151931;border-color:var(--gold)}
.grv-cta span{transition:transform .3s var(--ease)}
.grv-cta:hover span{transform:translateX(3px)}
.grv-view{position:relative}
.grv-track{display:flex;gap:20px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
  scroll-behavior:smooth;padding:4px 2px 14px;scrollbar-width:none;-ms-overflow-style:none;
  -webkit-overflow-scrolling:touch;cursor:grab;overscroll-behavior-x:contain}
.grv-track::-webkit-scrollbar{display:none}
.grv-track.dragging{cursor:grabbing;scroll-behavior:auto;scroll-snap-type:none;user-select:none}
.grv-card{flex:0 0 calc((100% - 40px)/3);min-width:0;scroll-snap-align:start;position:relative;
  display:flex;flex-direction:column;gap:15px;padding:26px 24px 22px;border-radius:18px;
  background:var(--card);border:1px solid var(--line-2);
  transition:transform .35s var(--ease),box-shadow .35s,border-color .35s}
.grv-card:hover{transform:translateY(-5px);border-color:rgba(245,200,42,.34);
  box-shadow:0 28px 54px -30px rgba(0,0,0,.66)}
.grv-q{position:absolute;top:10px;right:20px;font-family:var(--f-display);font-weight:800;
  font-size:3.6rem;line-height:1;color:rgba(245,200,42,.1);pointer-events:none}
.grv-top{display:flex;align-items:center;gap:10px;padding-right:38px}
.grv-st{color:var(--gold);letter-spacing:2px;font-size:.95rem}
.grv-src{margin-left:auto;font-family:var(--f-mono);font-size:.64rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--mute);border:1px solid var(--line);
  border-radius:999px;padding:4px 10px;white-space:nowrap}
.grv-card p{margin:0;flex:1 1 auto;color:#C6C9DE;font-size:.94rem;line-height:1.74}
.grv-who{display:flex;align-items:center;gap:12px;padding-top:16px;border-top:1px solid var(--line)}
.grv-av{width:40px;height:40px;border-radius:50%;flex:0 0 auto;display:grid;place-items:center;
  font-family:var(--f-display);font-weight:800;font-size:1.02rem;color:#3A2800;
  background:linear-gradient(145deg,#FFDC5C,#F0B117 58%,#DA9208)}
.grv-wn{min-width:0}
.grv-wn b{display:block;font-size:.94rem;color:var(--text);font-weight:600}
.grv-wn i{display:block;font-style:normal;font-size:.79rem;color:var(--mute);margin-top:2px}
.grv-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:46px;height:46px;
  border-radius:50%;border:1px solid var(--line-2);background:rgba(21,25,49,.78);
  backdrop-filter:blur(6px);color:#fff;font-size:24px;line-height:1;cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:.3s var(--ease)}
.grv-nav:hover{background:var(--gold);color:#151931;border-color:var(--gold)}
.grv-nav.prev{left:-16px}
.grv-nav.next{right:-16px}
.grv-nav[hidden]{display:none}
.grv-dots{display:flex;justify-content:center;gap:9px;margin-top:6px}
.grv-dot{width:8px;height:8px;padding:0;border:0;border-radius:50%;cursor:pointer;
  background:rgba(255,255,255,.22);transition:.3s var(--ease)}
.grv-dot.on{width:26px;border-radius:999px;background:var(--gold)}
@media(max-width:1024px){
  .grv-card{flex-basis:calc((100% - 20px)/2)}
  .grv-nav.prev{left:-8px}.grv-nav.next{right:-8px}}
@media(max-width:760px){
  .grv-card{flex-basis:88%}
  .grv-head{gap:16px}
  .grv-score{margin-left:0;text-align:left}
  .grv-score>span:last-child{align-items:flex-start}
  .grv-cta{margin-left:0;width:100%;justify-content:center}
  .grv-nav{display:none}}
.grv-lg{color:var(--gold);font-weight:600}
/* long reviews are clipped to a few lines so the cards stay level;
   the button below restores the full text */
.grv-card p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:8;overflow:hidden}
.grv-card.open p{display:block;-webkit-line-clamp:unset}
.grv-more{align-self:flex-start;margin:-6px 0 0;padding:0;border:0;background:none;cursor:pointer;
  font-family:var(--f-mono);font-size:.7rem;letter-spacing:.11em;text-transform:uppercase;
  color:var(--gold);transition:opacity .25s}
.grv-more:hover{opacity:.72}
.grv-more[hidden]{display:none}
/* the source chip is the Google mark rather than the word.
   assets/img/google-g.png is Google's own asset, supplied by the client. */
.grv-src{padding:0;border:0;border-radius:50%;width:32px;height:32px;flex:0 0 auto;
  display:grid;place-items:center;background:#fff;
  box-shadow:0 2px 8px -2px rgba(0,0,0,.5),inset 0 0 0 1px rgba(0,0,0,.08)}
.grv-src img{width:18px;height:18px;display:block}

/* four apps need a fourth column; below that they fall to two then one */
@media(max-width:1180px){.phw-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .phw:last-child{grid-column:auto}}

/* the two-column rule above must not reach the phone widths */
@media(max-width:560px){.phw-grid{grid-template-columns:1fr}}


/* ===== further reading: the service pages pointing into the blog ===== */
/* the FAQ wrap is a two-column grid, so this has to span both */
.svc-read{grid-column:1/-1;margin-top:clamp(34px,4vw,54px);padding-top:clamp(26px,3vw,36px);
  border-top:1px solid rgba(21,25,49,.1)}
.svc-read-t{display:block;font-family:var(--f-mono);font-size:10px;letter-spacing:.16em;
  text-transform:uppercase;color:#8A6400;margin-bottom:16px}
.svc-read-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.svc-read a{display:flex;align-items:center;gap:14px;padding:17px 20px;border-radius:14px;
  background:linear-gradient(180deg,#fff,rgba(255,255,255,.7));
  border:1px solid rgba(21,25,49,.085);
  box-shadow:0 1px 2px rgba(21,25,49,.04),0 10px 24px -18px rgba(21,25,49,.2);
  font-family:var(--f-display);font-weight:600;font-size:.97rem;line-height:1.4;
  color:var(--text);transition:.3s var(--ease)}
.svc-read a:hover{border-color:rgba(208,156,11,.6);transform:translateY(-2px)}
.svc-read a svg{width:18px;height:18px;flex:0 0 auto;margin-left:auto;color:#8A6400;
  transition:transform .3s var(--ease)}
.svc-read a:hover svg{transform:translateX(3px)}
.svc-read em{display:block;font-family:var(--f-mono);font-style:normal;font-size:9.5px;
  letter-spacing:.13em;text-transform:uppercase;color:#8A6400;margin-bottom:5px;font-weight:500}
@media(max-width:760px){.svc-read-list{grid-template-columns:1fr}}
