/*
Theme Name: Servaughn V3
Theme URI: https://servaughn.com
Description: Servaughn theme v3. Cobalt, lime and black design system with chamfered corners, a light reading surface for articles, self-hosted fonts and SEO/AEO structure carried over from the v6 theme.
Version: 7.0.0
Author: Servaughn
Text Domain: servaughn
*/

/* ---------- fonts (self-hosted; Fontshare ITF Free Font License) ---------- */
@font-face{font-family:"Clash Display";src:url("fonts/ClashDisplay-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"General Sans";src:url("fonts/GeneralSans-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"General Sans";src:url("fonts/GeneralSans-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
/* metric-matched fallback so text does not jump when the web font arrives */
@font-face{font-family:"General Sans Fallback";src:local("Arial");size-adjust:101%;ascent-override:93%;descent-override:24%;line-gap-override:0%}
@font-face{font-family:"Clash Display Fallback";src:local("Arial");size-adjust:104%;ascent-override:88%;descent-override:22%;line-gap-override:0%}

:root{
  --black:#08090A;--ink:#101114;--surface:#101116;--surface-2:#16171C;--white:#fff;--paper:#F4F6F8;
  --navy:#0B1F3A;--blue:#2F6BFF;--blue-deep:#1B3FB8;--blue-pale:#C7D9FF;--lime:#C8FF00;
  --soft:#9A9DA8;--mist:#DCE6FF;--hero:#1B3FB8;--line:#23252D;
  --mx:clamp(20px,4vw,64px);
  --s-small:clamp(.875rem,.85rem + .1vw,.95rem);
  --s-body:clamp(1.0625rem,1rem + .3vw,1.25rem);
  --s-lead:clamp(1.25rem,1.05rem + .9vw,1.55rem);
  --s-h2:clamp(2rem,1.2rem + 3.2vw,3.5rem);
  --s-display:clamp(2.3rem,1rem + 4.1vw,4.7rem);
  --font:"General Sans","General Sans Fallback",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-display:"Clash Display","Clash Display Fallback","General Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --ease:cubic-bezier(.22,.61,.36,1);
  --chamfer:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);
  --chamfer-lg:polygon(26px 0,100% 0,100% calc(100% - 26px),calc(100% - 26px) 100%,0 100%,0 26px);
}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
*{margin:0;padding:0}
html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{background:var(--black);color:var(--white);font-family:var(--font);font-size:var(--s-body);line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
img{height:auto}
ul,ol{list-style:none}
b,strong{font-weight:600}
input,select,textarea,button{font-family:inherit;font-size:inherit}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:600}
::selection{background:var(--blue);color:#fff}
:focus-visible{outline:3px solid var(--lime);outline-offset:4px}
.wrap{max-width:1440px;margin:0 auto;padding:0 var(--mx);position:relative;z-index:2}
.skip-link{position:absolute;left:-9999px;top:8px;z-index:100;background:var(--lime);color:#0A0A14;padding:10px 16px;font-weight:600}
.skip-link:focus{left:8px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- buttons ---------- */
.btn,.btn-primary,.btn-secondary,.btn-svc,.submit-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 28px;font-weight:600;font-size:var(--s-small);cursor:pointer;border:0;clip-path:var(--chamfer);
  transition:background-color .18s var(--ease),transform .14s var(--ease),color .18s}
.btn,.btn-primary,.submit-btn{background:var(--blue);color:#fff}
.btn:hover,.btn-primary:hover,.submit-btn:hover{background:#4f84ff}
.btn.ghost,.btn-secondary,.btn-svc{background:var(--surface-2);color:#fff}
.btn.ghost:hover,.btn-secondary:hover,.btn-svc:hover{background:#22242B}
.btn.light{background:#fff;color:var(--blue-deep)}
.submit-btn{width:100%;min-height:56px}
@media(hover:hover){.btn:hover,.btn-primary:hover,.btn-secondary:hover,.btn-svc:hover{transform:translateY(-2px)}}
.btn:active,.btn-primary:active,.btn-secondary:active,.submit-btn:active{transform:scale(.97);transition-duration:.08s}
.btn:focus-visible,.btn-primary:focus-visible,.btn-secondary:focus-visible,.btn-svc:focus-visible,.submit-btn:focus-visible,.cta:focus-visible{outline:none;box-shadow:inset 0 0 0 3px var(--lime)}
.cta{display:inline-flex;align-items:center;gap:10px;min-height:56px;padding:0 28px;font-weight:600;font-size:clamp(1rem,.95rem + .2vw,1.1rem);clip-path:var(--chamfer);transition:transform .16s var(--ease),background-color .16s var(--ease)}
.cta svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cta.go{background:var(--lime);color:#0A0A14}
.cta.go:hover{background:#D9FF4D}
.cta.go:focus-visible{box-shadow:inset 0 0 0 3px #0A0A14}
.cta.quote{background:#fff;color:var(--blue-deep)}
.cta.quote:hover{background:var(--paper)}
.cta.quote:focus-visible{box-shadow:inset 0 0 0 3px var(--blue-deep)}
.cta .arr{transition:transform .16s var(--ease)}
@media(hover:hover){.cta:hover{transform:translateY(-2px)}.cta:hover .arr{transform:translateX(3px)}}
.cta:active{transform:scale(.97);transition-duration:.08s}
@media(prefers-reduced-motion:reduce){.cta,.cta .arr,.btn,.btn-primary,.btn-secondary,.btn-svc{transition:none}.cta:hover,.cta:active,.cta:hover .arr,.btn:hover,.btn:active{transform:none}}
@media(max-width:520px){.hero .acts .cta,.close .acts .cta,.hub-cta-row .cta{flex:1 1 100%;justify-content:center}}
a.alt{display:inline-flex;align-items:center;min-height:48px;color:#fff;font-weight:600;font-size:var(--s-small);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px;transition:color .18s}
a.alt:hover{color:var(--lime)}

/* ---------- header ---------- */
nav.top{display:flex;align-items:center;gap:26px;padding:20px var(--mx);position:sticky;top:0;z-index:40;background:var(--black)}
.mark{display:flex;align-items:center;gap:10px;font-family:var(--font-display);font-weight:600;font-size:1.15rem;letter-spacing:-.01em}
.mark img{width:34px;height:34px;background:#fff;padding:3px;border-radius:7px}
.mark small{display:block;font-family:var(--font);font-weight:400;font-size:.7rem;color:var(--blue-pale);letter-spacing:.02em}
nav.top .links{margin-left:auto;display:flex;gap:26px;align-items:center}
nav.top .nav-list{display:flex;gap:26px;align-items:center}
nav.top .links a:not(.btn){font-size:var(--s-small);color:#B7BAC5;transition:color .18s;display:inline-flex;align-items:center;min-height:44px}
nav.top .links a:not(.btn):hover,nav.top .links a[aria-current="page"]{color:#fff}
nav.top .btn.wa-btn{background:var(--lime);color:#0A0A14;min-height:44px}
nav.top .btn.wa-btn:hover{background:#D9FF4D}
nav.top .btn.wa-btn:focus-visible{box-shadow:inset 0 0 0 3px #0A0A14}
@media(max-width:900px){nav.top .links{display:none}nav.top{padding:14px var(--mx)}}

/* mobile bottom tab bar (inline SVG icons, no icon font) */
.tabbar{display:none}
@media(max-width:900px){
  .tabbar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:60;background:#0B0C10;padding:6px 6px calc(6px + env(safe-area-inset-bottom))}
  .tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:56px;color:#B7BAC5;font-size:.8125rem;font-weight:600;border-radius:10px;transition:color .18s,background .18s}
  .tabbar a:active{background:#16171C}
  .tabbar svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .tabbar a[aria-current="page"]{color:#fff}
  .tabbar a.wa{background:var(--lime);color:#0A0A14}
  .tabbar a.wa:active{background:#B8EB00}
  body{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
}

/* ---------- home hero ---------- */
.hero{position:relative;background:var(--hero);padding:clamp(40px,6vw,80px) 0 clamp(52px,7vw,96px);overflow:hidden}
.hero canvas.shader{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:0;opacity:0;transition:opacity .9s var(--ease)}
.hero canvas.shader.on{opacity:1}
.hero h1{font-size:var(--s-display);font-weight:600;line-height:1;letter-spacing:-.02em;max-width:15ch;position:relative;z-index:2;text-wrap:balance}
@media(min-width:1100px){.hero h1{font-size:clamp(3.3rem,1rem + 3.3vw,4.4rem);max-width:none;width:calc(70vw - 2*var(--mx) - 40px)}}
h1 .b{color:var(--blue-pale)}
h1 .r{color:var(--lime)}
h1 .hw{display:inline-block}
.hero p.sub{margin-top:20px;max-width:40ch;color:var(--mist);font-size:var(--s-lead);line-height:1.4}
.priceline{margin-top:26px}
.priceline .big{max-width:24ch;font-family:var(--font-display);font-weight:600;font-size:clamp(1.5rem,1.1rem + 1.6vw,2.2rem);letter-spacing:-.01em;line-height:1.15}
.priceline .big b{color:var(--lime);font-weight:600}
.priceline small{display:block;margin-top:8px;color:var(--mist);font-size:var(--s-small);max-width:52ch}
.hero .acts{margin-top:30px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.proof{margin-top:22px;display:flex;flex-wrap:wrap;gap:8px 22px;font-size:var(--s-small);color:var(--mist)}
.proof span{display:inline-block;position:relative;padding-left:17px}
.proof span::before{content:"";position:absolute;left:0;top:.5em;width:9px;height:9px;background:var(--lime);clip-path:polygon(3px 0,100% 0,100% calc(100% - 3px),calc(100% - 3px) 100%,0 100%,0 3px)}
.proof b{color:#fff}
.answer-sec{padding:clamp(48px,6vw,80px) 0 0}
.answer{max-width:62ch;color:#E6EEFF;font-size:var(--s-lead);line-height:1.45;border-left:4px solid var(--lime);padding-left:22px}
.band{background:var(--paper);color:var(--ink);min-height:84px;display:flex;align-items:center;clip-path:polygon(0 0,100% 0,100% calc(100% - 26px),calc(100% - 26px) 100%,0 100%)}
.band .wrap{display:flex;gap:14px 44px;flex-wrap:wrap;font-family:var(--font-display);font-weight:600;font-size:clamp(1rem,.9rem + .5vw,1.3rem);padding-top:18px;padding-bottom:30px}

/* ---------- inner page hero ---------- */
.page-hero{background:var(--hero);padding:clamp(40px,6vw,88px) 0 clamp(44px,6vw,80px);position:relative;overflow:hidden}
.page-hero-inner{max-width:1440px;margin:0 auto;padding:0 var(--mx);position:relative}
.breadcrumb{font-size:var(--s-small);color:var(--blue-pale);margin-bottom:20px;display:flex;flex-wrap:wrap;align-items:center;gap:2px 0}
.breadcrumb a{color:var(--blue-pale);display:inline-flex;align-items:center;min-height:32px;text-decoration:underline;text-underline-offset:3px;text-decoration-color:transparent;transition:text-decoration-color .18s}
.breadcrumb a:hover{color:#fff;text-decoration-color:currentColor}
.breadcrumb .sep{margin:0 10px;opacity:.7}
.breadcrumb .current{color:#fff}
.page-eyebrow{font-size:var(--s-small);font-weight:600;color:var(--lime);margin-bottom:14px;letter-spacing:.02em}
.page-hero h1{font-size:clamp(2.1rem,1rem + 3.6vw,4.1rem);line-height:1.02;letter-spacing:-.02em;max-width:20ch;text-wrap:balance}
.page-hero h1 span{color:var(--lime)}
.page-hero-sub{margin-top:20px;max-width:56ch;color:var(--mist);font-size:var(--s-lead);line-height:1.4}
.hub-cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}

/* ---------- shared section scaffolding ---------- */
section.sec,.hp-section{padding:clamp(60px,8vw,120px) 0}
.sec-head{margin-bottom:36px}
.sec h2,.sec-head h2,.section-h2,.section-heading{font-size:var(--s-h2);font-weight:600;letter-spacing:-.02em;line-height:1.05;max-width:17ch;text-wrap:balance}
.sec-head p{margin-top:14px;color:var(--soft);max-width:48ch}
.section-label{font-size:var(--s-small);font-weight:600;color:var(--lime);margin-bottom:14px}

/* ---------- home sections ---------- */
.svc{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.svc article{background:var(--surface);padding:26px;display:flex;flex-direction:column;clip-path:polygon(26px 0,100% 0,100% calc(100% - 26px),calc(100% - 26px) 100%,0 100%,0 26px);transition:background .2s var(--ease),transform .2s var(--ease)}
.svc article:hover{background:#15161D;transform:translateY(-3px)}
.svc h3{font-size:1.35rem;letter-spacing:-.01em}
.svc p{margin-top:10px;color:var(--soft);line-height:1.5}
.svc .shot{margin-top:auto;padding-top:22px}
.svc .shot img{width:100%;height:140px;object-fit:contain;object-position:left bottom}
.svc .go{margin-top:16px;color:var(--lime);font-weight:600;font-size:var(--s-small);display:inline-flex;align-items:center;min-height:44px;gap:6px;transition:gap .18s var(--ease)}
.svc article:hover .go{gap:12px}
@media(max-width:900px){.svc{grid-template-columns:1fr}}
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.plan{background:var(--surface);padding:30px 28px;display:flex;flex-direction:column;clip-path:polygon(24px 0,100% 0,100% calc(100% - 24px),calc(100% - 24px) 100%,0 100%,0 24px)}
.plan h3{font-size:1.25rem}
.plan .amt{margin-top:14px}
.plan .amt b{display:block;font-family:var(--font-display);font-weight:600;font-size:clamp(2rem,1.4rem + 1.6vw,2.7rem);letter-spacing:-.02em;line-height:1}
.plan .amt b small{font-family:var(--font);font-size:var(--s-small);font-weight:600;color:var(--blue-pale);margin-right:6px}
.plan .amt span{display:block;margin-top:8px;color:var(--blue-pale);font-size:var(--s-small)}
.plan ul{margin-top:22px;display:flex;flex-direction:column;gap:10px}
.plan li,.bullets li{position:relative;padding-left:20px;color:#C3CCDD;line-height:1.45}
.plan li::before,.bullets li::before{content:"";position:absolute;left:0;top:.5em;width:9px;height:9px;background:var(--lime);clip-path:polygon(3px 0,100% 0,100% calc(100% - 3px),calc(100% - 3px) 100%,0 100%,0 3px)}
.plan .plan-go{margin-top:auto;padding-top:26px;display:inline-flex;align-items:center;gap:8px;min-height:48px;font-weight:600;color:#fff;transition:color .16s var(--ease)}
.plan .plan-go svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .16s var(--ease)}
.plan .plan-go:hover{color:var(--lime)}
@media(hover:hover){.plan .plan-go:hover svg{transform:translateX(3px)}}
.plans-note{margin-top:22px;color:var(--soft);max-width:70ch}
@media(max-width:900px){.plans{grid-template-columns:1fr}}

.process .wrap{display:grid;grid-template-columns:5fr 7fr;gap:clamp(28px,5vw,80px);align-items:start}
.process .sec-head{position:sticky;top:110px;margin-bottom:0}
.steps{position:relative;padding:4px 0}
.steps::before,.steps::after{content:"";position:absolute;left:15px;top:20px;bottom:20px;width:3px;background:#1D2A4F}
.steps::after{background:var(--lime);transform-origin:top}
.step{position:relative;padding:0 0 38px 64px}
.step:last-child{padding-bottom:0}
.step .mk{position:absolute;left:0;top:2px;width:33px;height:33px;background:var(--hero);z-index:1;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)}
.step:last-child .mk{background:var(--lime)}
.step .pk{font-size:var(--s-small);font-weight:600;color:var(--blue-pale)}
.step h3{font-size:1.45rem;margin-top:4px}
.step p{margin-top:8px;color:#C3CCDD;max-width:46ch;line-height:1.55}
@media(max-width:900px){.process .wrap{grid-template-columns:1fr}.process .sec-head{position:static;margin-bottom:28px}}

.work{display:flex;flex-direction:column;gap:20px}
.proj{background:var(--surface);display:grid;grid-template-columns:1.1fr 1fr;align-items:stretch;clip-path:polygon(30px 0,100% 0,100% calc(100% - 30px),calc(100% - 30px) 100%,0 100%,0 30px)}
.proj:nth-child(even) .pm{order:2}
.pm{background:var(--navy);display:flex;align-items:center;justify-content:center;padding:28px;min-height:270px}
.pm img{width:100%;max-height:250px;object-fit:contain}
.pb{padding:34px;display:flex;flex-direction:column;justify-content:center}
.pb h3{font-size:1.8rem;letter-spacing:-.015em}
.pb p{margin-top:12px;color:#B7BAC5;max-width:46ch;line-height:1.55}
.pb .go{margin-top:18px;color:var(--lime);font-weight:600;font-size:var(--s-small);display:inline-flex;align-items:center;min-height:44px;gap:6px;transition:gap .18s var(--ease)}
.pb .go:hover{gap:12px}
@media(max-width:900px){.proj{grid-template-columns:1fr}.proj:nth-child(even) .pm{order:0}.pm{min-height:200px}}
.voice{margin-top:20px;background:var(--blue);padding:30px 34px;clip-path:var(--chamfer-lg)}
.voice p{font-family:var(--font-display);font-weight:600;font-size:clamp(1.3rem,1rem + 1.4vw,2rem);line-height:1.2;letter-spacing:-.01em;max-width:30ch}
.voice span{display:block;margin-top:14px;color:var(--mist);font-size:var(--s-small)}

.vs{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.vs > div{padding:32px 30px;clip-path:var(--chamfer-lg)}
.vs-us{background:var(--hero)}
.vs-them{background:var(--surface)}
.vs h3{font-size:1.4rem}
.vs-them h3{color:#B7BAC5}
.vs ul{margin-top:22px;display:flex;flex-direction:column;gap:14px}
.vs li{position:relative;padding-left:34px;line-height:1.45}
.vs li::before{content:"";position:absolute;left:0;top:.1em;width:22px;height:22px;background-size:22px 22px;background-repeat:no-repeat}
.vs-us li{color:#fff}
.vs-us li::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8FF00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
.vs-them li{color:var(--soft)}
.vs-them li::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237B7F8C' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E")}
@media(max-width:900px){.vs{grid-template-columns:1fr}}

/* FAQ: every answer is visible text (no accordion), matching the FAQPage schema */
.faq{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.faq article,.faq-item{background:var(--surface);padding:26px;clip-path:polygon(22px 0,100% 0,100% calc(100% - 22px),calc(100% - 22px) 100%,0 100%,0 22px)}
.faq h3,.faq-item h3{font-size:1.2rem;line-height:1.25;letter-spacing:-.01em}
.faq p,.faq-item p{margin-top:10px;color:var(--soft);line-height:1.55}
.faq p a,.faq-item p a{color:#fff;text-decoration:underline;text-underline-offset:3px}
@media(max-width:900px){.faq{grid-template-columns:1fr}}

.close{background:var(--blue);color:#fff;padding:clamp(54px,8vw,112px) 0;clip-path:polygon(0 48px,48px 0,100% 0,100% 100%,0 100%)}
.close h2{max-width:15ch}
.close p{margin-top:16px;max-width:46ch;color:#E6EEFF}
.close .acts{margin-top:30px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.close .small{margin-top:20px;font-size:var(--s-small);color:var(--mist)}
.close .small a{color:#fff;font-weight:600;border-bottom:2px solid rgba(255,255,255,.55)}
.close h2,.cta-block h2{font-size:var(--s-h2);letter-spacing:-.02em;line-height:1.05;text-wrap:balance}

/* ---------- footer ---------- */
.site-footer{padding:72px 0 48px;background:#0B0C10}
.fg{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px}
.fg p{color:var(--soft);margin-top:16px;max-width:38ch;line-height:1.5}
.fa ul{margin-top:16px;display:flex;flex-direction:column;gap:7px;color:var(--soft);font-size:var(--s-small)}
.fa ul a{display:inline-block;padding:4px 0}
.fc h4,.fc .fh{font-family:var(--font-display);font-size:var(--s-small);font-weight:600;margin-bottom:12px;color:#fff;display:block}
.fc ul{display:flex;flex-direction:column;gap:2px}
.fc a{color:var(--soft);font-size:var(--s-small);transition:color .18s;display:inline-flex;align-items:center;min-height:36px}
.fc a:hover{color:#fff}
.fbar{margin-top:56px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:#8A8D99;font-size:var(--s-small)}
.fbar .l{display:flex;gap:22px}
.fbar .l a{display:inline-flex;align-items:center;min-height:36px}
.fbar a:hover{color:#fff}
.fwm{container-type:inline-size;margin-top:64px;overflow:hidden}
.wordmark{font-family:var(--font-display);font-weight:600;font-size:16cqi;line-height:.78;letter-spacing:-.035em;color:var(--hero);white-space:nowrap;user-select:none}
@media(max-width:1000px){.fg{grid-template-columns:1fr 1fr}.fg .fa{grid-column:1/-1}}
@media(max-width:560px){.fg{grid-template-columns:1fr;gap:28px}}

/* ---------- services page ---------- */
.svc-hubs{padding:clamp(48px,6vw,88px) 0 24px}
.svc-hubs-inner,.svc-more-inner,.svc-process-inner,.svc-work-inner{max-width:1440px;margin:0 auto;padding:0 var(--mx)}
.svc-hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.svc-hub-card{display:flex;flex-direction:column;background:var(--surface);clip-path:var(--chamfer-lg);transition:background .2s var(--ease),transform .2s var(--ease)}
.svc-hub-card:hover{background:#15161D;transform:translateY(-3px)}
.svc-hub-visual{position:relative;overflow:hidden;aspect-ratio:16/8.25;background:var(--navy)}
.svc-hub-visual img{width:100%;height:100%;object-fit:cover}
.svc-hub-content{display:flex;flex:1;flex-direction:column;padding:26px}
.svc-hub-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:14px}
.svc-hub-tag{font-size:var(--s-small);font-weight:600;color:var(--blue-pale)}
.svc-line-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;color:var(--lime)}
.svc-line-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.svc-hub-card h2{font-size:1.6rem;letter-spacing:-.02em;margin:0 0 12px}
.svc-hub-card p{color:var(--soft);line-height:1.55;margin:0 0 18px}
.svc-hub-card ul{margin:0 0 22px;display:flex;flex-direction:column;gap:8px}
.svc-hub-card li{color:#C3CCDD;font-size:var(--s-small);padding-left:20px;position:relative}
.svc-hub-card li::before{content:"";position:absolute;left:0;top:.5em;width:9px;height:9px;background:var(--lime);clip-path:polygon(3px 0,100% 0,100% calc(100% - 3px),calc(100% - 3px) 100%,0 100%,0 3px)}
.svc-hub-price{margin-top:auto;font-family:var(--font-display);font-weight:600;font-size:1.1rem;margin-bottom:14px}
.svc-hub-link{color:var(--lime);font-weight:600;font-size:var(--s-small);display:inline-flex;align-items:center;min-height:44px}
.svc-more,.svc-process,.svc-work{padding:clamp(40px,5vw,72px) 0 0}
.svc-more h2,.svc-process h2,.svc-work h2{font-size:clamp(1.6rem,1.1rem + 1.8vw,2.4rem);letter-spacing:-.02em;margin-bottom:24px}
.svc-more-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.svc-more-item{background:var(--surface);padding:24px;clip-path:polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px)}
.svc-more-item h3{font-size:1.15rem;margin:12px 0 8px}
.svc-more-item p{color:var(--soft);font-size:var(--s-small);line-height:1.55;margin:0 0 12px}
.svc-more-item a{color:var(--lime);font-size:var(--s-small);font-weight:600;display:inline-flex;align-items:center;min-height:44px}
.svc-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.svc-step{border-top:3px solid var(--blue);padding-top:16px}
.svc-step b{display:block;color:var(--lime);font-family:var(--font-display);margin-bottom:6px}
.svc-step h3{font-size:1.15rem;margin-bottom:6px}
.svc-step p{color:var(--soft);font-size:var(--s-small);line-height:1.55}
.svc-work{padding-bottom:clamp(48px,6vw,88px)}
.svc-work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.svc-work-card{display:block;overflow:hidden;background:var(--surface);color:#fff;clip-path:polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px);transition:background .2s,transform .2s}
.svc-work-card:hover{background:#15161D;transform:translateY(-3px)}
.svc-work-card img{width:100%;height:165px;object-fit:cover;background:var(--navy)}
.svc-work-card span{display:block;padding:16px 18px;font-family:var(--font-display);font-weight:600}
.svc-cta,.cta-strip,.hub-cta,.post-cta{background:var(--blue);text-align:center;padding:clamp(52px,7vw,96px) var(--mx)}
.svc-cta h2,.cta-strip h2,.hub-cta h2,.post-cta h2{font-size:clamp(1.8rem,1.2rem + 2.4vw,3rem);letter-spacing:-.02em;line-height:1.08;margin:0 auto 14px;max-width:20ch;text-wrap:balance}
.svc-cta p,.cta-strip p,.hub-cta p,.post-cta p{color:#E6EEFF;max-width:50ch;margin:0 auto 28px}
.svc-cta .btn-primary,.cta-strip .btn-primary,.post-cta .btn-primary,.hub-cta .cta.quote{background:#fff;color:var(--blue-deep)}
.svc-cta .btn-primary:hover,.cta-strip .btn-primary:hover,.post-cta .btn-primary:hover{background:var(--paper)}
.hub-cta .hub-cta-row{justify-content:center;margin-top:0}
@media(max-width:1100px){.svc-more-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1000px){.svc-hub-grid{grid-template-columns:1fr}.svc-steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.svc-work-grid{grid-template-columns:1fr}}
@media(max-width:600px){.svc-more-grid,.svc-steps{grid-template-columns:1fr}}

/* SEO page blocks */
.service-block{padding:clamp(48px,6vw,88px) 0}
.service-block:nth-of-type(even){background:var(--surface)}
.service-block-inner{max-width:1440px;margin:0 auto;padding:0 var(--mx);display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,80px);align-items:center}
.svc-block-icon{width:56px;height:56px;background:var(--surface-2);display:flex;align-items:center;justify-content:center;margin-bottom:18px;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}
.svc-block-icon svg{stroke:var(--lime)}
.svc-block-num{font-size:var(--s-small);font-weight:600;color:var(--blue-pale);margin-bottom:6px}
.svc-block-title{font-size:clamp(1.6rem,1.1rem + 1.8vw,2.4rem);letter-spacing:-.02em;margin-bottom:14px}
.svc-block-desc{color:#C3CCDD;line-height:1.55;margin-bottom:20px;font-size:var(--s-body)}
.svc-feature-list{display:flex;flex-direction:column;gap:10px;margin-bottom:24px}
.svc-feature-list li{position:relative;padding-left:20px;color:#C3CCDD;line-height:1.45;font-size:1rem}
.svc-feature-list li::before{content:"";position:absolute;left:0;top:.5em;width:9px;height:9px;background:var(--lime);clip-path:polygon(3px 0,100% 0,100% calc(100% - 3px),calc(100% - 3px) 100%,0 100%,0 3px)}
.svc-visual{position:relative;overflow:hidden;min-height:340px;display:flex;flex-direction:column;justify-content:flex-end;padding:28px;background:var(--navy);clip-path:var(--chamfer-lg)}
.svc-visual-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.svc-visual-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,9,10,0) 30%,rgba(8,9,10,.88) 100%);z-index:1}
.svc-visual-label{position:relative;z-index:2;font-size:var(--s-small);font-weight:600;color:var(--lime);margin-bottom:6px}
.svc-visual-title{position:relative;z-index:2;font-family:var(--font-display);font-weight:600;font-size:1.75rem;letter-spacing:-.02em;margin-bottom:16px}
.svc-visual-title span{color:var(--lime)}
.svc-visual-tags{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:8px}
.svc-vtag{background:rgba(8,9,10,.72);color:#fff;font-size:.8125rem;font-weight:600;padding:5px 12px}
@media(max-width:900px){.service-block-inner{grid-template-columns:1fr}}
.seo-answer{padding:clamp(40px,5vw,64px) 0 0}

/* ---------- portfolio ---------- */
.projects-section{padding:clamp(48px,6vw,88px) 0}
.projects-inner{max-width:1440px;margin:0 auto;padding:0 var(--mx)}
.projects-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
.project-card{background:var(--surface);display:flex;flex-direction:column;clip-path:var(--chamfer-lg);transition:background .2s var(--ease),transform .2s var(--ease)}
.project-card:hover{background:#15161D;transform:translateY(-3px)}
.project-image-wrap{position:relative;aspect-ratio:1400/788;overflow:hidden;background:var(--navy);padding:10px}
.project-image-wrap img{width:100%;height:100%;object-fit:contain}
.card-band{padding:16px 24px 0;display:flex;align-items:center;gap:14px}
.card-initials{width:44px;height:44px;background:var(--hero);display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-weight:600;font-size:.8rem;color:#fff;flex-shrink:0;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)}
.card-category-badge{font-size:var(--s-small);font-weight:600;color:var(--blue-pale)}
.card-body{padding:16px 24px 26px;display:flex;flex-direction:column;flex:1}
.card-name{font-family:var(--font-display);font-weight:600;font-size:1.4rem;letter-spacing:-.015em;margin-bottom:10px}
.card-desc{font-size:1rem;color:var(--soft);line-height:1.55;margin-bottom:16px}
.card-pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.pill{background:var(--surface-2);color:#C3CCDD;font-size:.8125rem;font-weight:600;padding:5px 12px}
.project-cta{margin-top:auto;align-self:flex-start;color:var(--lime);font-weight:600;font-size:var(--s-small);display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px}
@media(max-width:900px){.projects-grid{grid-template-columns:1fr}}

/* ---------- forms: contact + start a project ---------- */
.contact-section{padding:clamp(48px,6vw,88px) 0}
.contact-inner{max-width:1440px;margin:0 auto;padding:0 var(--mx);display:grid;grid-template-columns:1.4fr 1fr;gap:clamp(28px,5vw,72px);align-items:start}
.form-block h2{font-size:clamp(1.6rem,1.1rem + 1.8vw,2.4rem);letter-spacing:-.02em;margin-bottom:10px}
.form-subtext{color:var(--soft);margin-bottom:28px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.form-group{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}
.form-group label{font-size:var(--s-small);font-weight:600;color:#fff}
.form-group input,.form-group select,.form-group textarea{background:var(--surface-2);border:2px solid transparent;color:#fff;padding:14px 16px;min-height:52px;outline:none;transition:border-color .18s,background .18s;appearance:none;-webkit-appearance:none;border-radius:0;font-size:1rem}
.form-group select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A9DA8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:20px;padding-right:44px}
.form-group input::placeholder,.form-group textarea::placeholder{color:#8A8D99}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--lime);background:#1C1D24}
.form-group select option{background:#16171C;color:#fff}
.form-group textarea{min-height:140px;resize:vertical}
.form-success,.form-error{padding:16px 20px;margin-bottom:24px;line-height:1.45;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}
.form-success{background:rgba(200,255,0,.12);border-left:4px solid var(--lime)}
.form-error{background:rgba(255,90,90,.14);border-left:4px solid #FF6B6B}
.info-block{display:flex;flex-direction:column;gap:16px}
.info-card{background:var(--surface);padding:20px 24px;display:flex;align-items:center;gap:20px;clip-path:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px)}
.info-icon{width:34px;height:34px;flex-shrink:0}
.info-icon svg{width:100%;height:100%}
.info-label{font-size:.8125rem;font-weight:600;color:var(--blue-pale);margin-bottom:2px}
.info-value{font-weight:600;color:#fff}
.info-value a{color:#fff;transition:color .18s}
.info-value a:hover{color:var(--lime)}
.info-value small{font-weight:400;color:var(--soft);font-size:.875rem}
.not-ready{background:var(--surface);padding:20px 24px;clip-path:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px)}
.not-ready p{color:var(--soft);margin-bottom:8px;font-size:1rem}
.link-row{display:flex;gap:20px;flex-wrap:wrap}
.link-row a{font-weight:600;font-size:var(--s-small);color:var(--lime);display:inline-flex;align-items:center;min-height:44px}
@media(max-width:900px){.contact-inner{grid-template-columns:1fr}.form-row{grid-template-columns:1fr;gap:0}}

/* start a project */
.engagement-section,.process-section,.faq-section,.cta-form-section{padding:clamp(48px,6vw,96px) 0}
.engagement-inner,.process-inner-sap,.faq-inner,.cta-form-inner{max-width:1440px;margin:0 auto;padding:0 var(--mx)}
.section-heading{margin-bottom:36px}
.engagement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.engagement-card{background:var(--surface);padding:30px 28px;clip-path:var(--chamfer-lg)}
.engagement-icon{width:52px;height:52px;background:var(--surface-2);display:flex;align-items:center;justify-content:center;margin-bottom:20px;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}
.engagement-icon svg{stroke:var(--lime);width:22px;height:22px}
.engagement-subtitle{font-size:var(--s-small);font-weight:600;color:var(--blue-pale);margin-bottom:4px}
.engagement-title{font-family:var(--font-display);font-weight:600;font-size:1.4rem;letter-spacing:-.01em;margin-bottom:12px}
.engagement-desc{color:var(--soft);line-height:1.55;margin-bottom:18px;font-size:1rem}
.engagement-link{color:var(--lime);font-weight:600;font-size:var(--s-small);display:inline-flex;align-items:center;min-height:44px}
.process-section{background:var(--surface)}
.process-grid-sap{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.step-number{font-family:var(--font-display);font-weight:600;font-size:2rem;color:var(--lime);margin-bottom:8px}
.step-title{font-family:var(--font-display);font-weight:600;font-size:1.2rem;margin-bottom:8px}
.step-desc{color:var(--soft);font-size:var(--s-small);line-height:1.55}
.faq-inner{max-width:900px}
.faq-inner .faq-item{margin-bottom:16px}
.cta-form-section{background:var(--surface)}
.cta-form-inner{max-width:860px}
.cta-form-inner h2{font-size:var(--s-h2);letter-spacing:-.02em;line-height:1.05;margin-bottom:12px}
.cta-sub{color:var(--soft);margin-bottom:32px}
.cta-form-dark{background:var(--black);padding:clamp(24px,4vw,44px);clip-path:var(--chamfer-lg);text-align:left}
@media(max-width:900px){.engagement-grid{grid-template-columns:1fr}.process-grid-sap{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.process-grid-sap{grid-template-columns:1fr}}

/* ---------- long-form content on dark pages (service hubs) ---------- */
.hub-content{padding:clamp(40px,5vw,72px) var(--mx) clamp(52px,6vw,88px)}
.hub-wrap{max-width:860px;margin:0 auto}
.post-body{min-width:0;font-size:1.0625rem;line-height:1.75}
.hub-wrap.post-body{color:#DCE2EE}
.post-body h2{font-size:clamp(1.5rem,1.2rem + 1.2vw,2.1rem);letter-spacing:-.02em;line-height:1.15;margin:2.6rem 0 1rem;max-width:none}
.post-body h2:first-child{margin-top:0}
.post-body h3{font-size:1.3rem;margin:2rem 0 .6rem}
.post-body h4{font-size:1.1rem;margin:1.5rem 0 .5rem}
.post-body p{margin-bottom:1.2rem}
.post-body a{color:var(--blue);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
.hub-wrap.post-body a{color:var(--lime)}
.post-body ul,.post-body ol{margin:1rem 0 1.5rem 1.4rem;display:flex;flex-direction:column;gap:.5rem}
.post-body ul{list-style:disc}
.post-body ol{list-style:decimal}
.post-body li{padding-left:.25rem}
.post-body img{margin:1.5rem 0;width:100%;height:auto}
.post-body figure{margin:1.5rem 0}
.post-body figcaption{font-size:.875rem;opacity:.75;margin-top:.5rem}
.post-body hr{border:0;border-top:1px solid rgba(128,138,160,.35);margin:2.5rem 0}
.post-body .wp-block-table,.post-body figure.wp-block-table{overflow-x:auto}
.post-body table{width:100%;border-collapse:collapse;font-size:.9375rem;margin:1.5rem 0}
.post-body thead th{background:var(--hero);color:#fff;font-family:var(--font-display);font-weight:600;font-size:.8125rem;letter-spacing:.04em;text-transform:uppercase;padding:.8rem 1rem;text-align:left}
.post-body tbody td{padding:.75rem 1rem;vertical-align:top;border-bottom:1px solid rgba(128,138,160,.3)}
.hub-wrap.post-body tbody td{color:#DCE2EE}
.post-body code{background:rgba(47,107,255,.14);padding:.1rem .4rem;font-size:.9em}
.post-body pre{background:var(--navy);color:#E6EEFF;padding:1.2rem 1.4rem;overflow-x:auto;margin:1.5rem 0;font-size:.875rem;line-height:1.6}
.post-body pre code{background:none;padding:0}
/* answer-first block (AEO): content authored as a blockquote */
.post-body blockquote,.post-body .wp-block-quote{border-left:4px solid var(--lime);background:var(--navy);color:#fff;padding:1.2rem 1.5rem;margin:0 0 2rem;clip-path:polygon(0 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%)}
.post-body blockquote *{color:inherit}
.post-body blockquote h2,.post-body blockquote h3{font-size:.8125rem;letter-spacing:.14em;text-transform:uppercase;color:var(--lime);margin:0 0 .6rem;border:0;padding:0}
.post-body blockquote p:last-child{margin-bottom:0}
.post-body blockquote strong{color:var(--lime)}
.post-body blockquote a{color:var(--lime)}
/* callouts written with inline backgrounds by the editor: normalised to one panel style */
.post-body [style*="background"]{background:var(--navy)!important;color:#fff!important;border:0!important;border-left:4px solid var(--lime)!important;border-radius:0!important;padding:1.4rem 1.6rem!important}
.post-body [style*="background"] *{color:inherit!important}
.post-body [style*="background"] a{color:var(--lime)!important}
.post-body [style*="background"] .wp-block-button__link{background:var(--lime)!important;color:#0A0A14!important;padding:.75rem 1.5rem!important;display:inline-block!important;font-weight:600!important;text-decoration:none!important}

/* ---------- blog index ---------- */
.blog-section{padding:clamp(40px,5vw,80px) 0 clamp(56px,7vw,104px)}
.blog-inner{max-width:1440px;margin:0 auto;padding:0 var(--mx);display:grid;grid-template-columns:1fr 320px;gap:clamp(28px,4vw,56px);align-items:start}
.posts-column{display:flex;flex-direction:column;gap:20px}
.post-card{background:var(--surface);clip-path:var(--chamfer-lg);transition:background .2s var(--ease),transform .2s var(--ease)}
.post-card:hover{background:#15161D;transform:translateY(-3px)}
.post-thumb{display:none}
.post-content{padding:28px}
.post-badge{display:inline-block;font-size:var(--s-small);font-weight:600;color:var(--lime);margin-bottom:10px}
.post-title{font-family:var(--font-display);font-weight:600;font-size:clamp(1.35rem,1.1rem + .9vw,1.8rem);letter-spacing:-.015em;line-height:1.2;margin-bottom:12px}
.post-title a:hover{color:var(--blue-pale)}
.post-excerpt{color:var(--soft);line-height:1.55;margin-bottom:16px;font-size:1rem}
.post-meta{display:flex;gap:20px;font-size:var(--s-small);color:#8A8D99;margin-bottom:14px;flex-wrap:wrap}
.post-link{color:var(--lime);font-weight:600;font-size:var(--s-small);display:inline-flex;align-items:center;min-height:44px}
.sidebar{display:flex;flex-direction:column;gap:20px}
.sidebar-widget{background:var(--surface);padding:24px;clip-path:polygon(16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 16px)}
.widget-title{font-family:var(--font-display);font-weight:600;font-size:1.05rem;margin-bottom:14px}
.widget-text{color:var(--soft);line-height:1.55;font-size:1rem}
.widget-link{color:var(--lime);font-weight:600;font-size:var(--s-small);display:inline-flex;align-items:center;min-height:44px;margin-top:6px}
.cat-list{display:flex;flex-wrap:wrap;gap:8px}
.cat-pill{background:var(--surface-2);padding:8px 14px;font-size:var(--s-small);font-weight:600;color:#fff;min-height:40px;display:inline-flex;align-items:center;gap:6px}
.cat-pill:hover{background:#22242B}
.cat-count{color:var(--soft);font-weight:400}
.nav-links{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 12px;background:var(--surface-2);color:#fff;font-weight:600;font-size:var(--s-small)}
.page-numbers.current,.page-numbers:hover{background:var(--lime);color:#0A0A14}
@media(max-width:960px){.blog-inner{grid-template-columns:1fr}}

/* ---------- single post: dark hero, light reading surface ---------- */
.reading-progress{position:fixed;top:0;left:0;height:4px;z-index:80;background:var(--lime);width:0;transition:width .1s linear}
.post-hero{background:var(--hero);padding:clamp(40px,6vw,88px) var(--mx) clamp(36px,5vw,64px);position:relative}
.post-hero-inner{max-width:900px;margin:0 auto}
.post-badge-hero{display:inline-block;background:var(--lime);color:#0A0A14;font-size:.8125rem;font-weight:600;padding:5px 12px;margin-bottom:18px;clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px)}
.post-hero h1{font-size:clamp(1.9rem,1.1rem + 3vw,3.4rem);line-height:1.06;letter-spacing:-.02em;margin-bottom:20px;text-wrap:balance}
.post-hero-meta{display:flex;gap:6px 22px;flex-wrap:wrap;font-size:var(--s-small);color:var(--mist)}
.post-reading{background:var(--paper);color:var(--ink)}
.post-content-section{padding:clamp(36px,5vw,72px) var(--mx) clamp(48px,6vw,88px)}
.post-content-inner{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:clamp(28px,4vw,56px);max-width:1240px;margin:0 auto;align-items:start}
.post-reading .post-body{font-size:1.125rem;line-height:1.8;color:#1D2330;max-width:74ch}
.post-reading .post-body h2{color:#0B1F3A;border-bottom:3px solid var(--blue);padding-bottom:.4rem;display:inline-block;max-width:none}
.post-reading .post-body h3{color:#0B1F3A}
.post-reading .post-body h4{color:var(--blue-deep)}
.post-reading .post-body strong{color:#0B1F3A}
.post-reading .post-body a{color:#1B3FB8}
.post-reading .post-body a:hover{color:#0B1F3A}
.post-reading .post-body tbody td{border-bottom-color:#D3D9E4;color:#1D2330}
.post-reading .post-body tbody tr:nth-child(even) td{background:#EAEEF5}
.post-reading .post-body code{background:#E3E9F5;color:#0B1F3A}
.post-reading .post-body blockquote strong{color:var(--lime)}
.post-reading .post-body img{margin:1.8rem 0}
.post-reading .post-body hr{border-top-color:#C9D0DC}
.post-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #C9D0DC}
.post-tags a{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;font-size:var(--s-small);font-weight:600;color:#0B1F3A;background:#E3E9F5}
.post-tags a:hover{background:var(--lime)}
.post-sidebar{display:flex;flex-direction:column;gap:20px;position:sticky;top:96px;align-self:start}
.post-reading .sidebar-widget,.post-reading .author-card{background:#fff;color:var(--ink);box-shadow:0 0 0 1px #DCE2EC inset}
.post-reading .widget-title{color:#0B1F3A}
.post-reading .widget-text{color:#4A5266}
.toc-widget .toc-list{display:flex;flex-direction:column}
.toc-widget .toc-list a{display:block;padding:8px 12px;font-size:var(--s-small);color:#4A5266;border-left:3px solid #DCE2EC;line-height:1.35;transition:color .15s,border-color .15s}
.toc-widget .toc-list a:hover{color:#0B1F3A;border-color:var(--blue)}
.toc-widget .toc-list a.toc-active{color:#0B1F3A;border-color:var(--blue-deep);font-weight:600}
.toc-widget .toc-list a.toc-h3{padding-left:24px}
.author-card{padding:24px;text-align:center;clip-path:polygon(16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 16px)}
.author-name{font-family:var(--font-display);font-weight:600;font-size:1.1rem}
.author-role{font-size:var(--s-small);color:var(--blue-deep);margin-bottom:10px;font-weight:600}
.author-bio{font-size:var(--s-small);color:#4A5266;line-height:1.55}
.author-avatar{border-radius:50%;display:block;margin:0 auto 14px;width:96px;height:96px;object-fit:cover}
.author-link{color:var(--blue-deep);font-size:var(--s-small);font-weight:600;display:inline-flex;align-items:center;min-height:44px;margin-top:6px;text-decoration:underline;text-underline-offset:3px}
.share-links{display:flex;gap:8px;flex-wrap:wrap}
.share-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;font-size:var(--s-small);font-weight:600;background:#E3E9F5;color:#0B1F3A;border:0;cursor:pointer;transition:background .15s}
.share-link:hover{background:var(--lime)}
.related-post{display:block;padding:12px 0;border-bottom:1px solid #E1E6EF}
.related-post:last-child{border-bottom:0}
.related-post-cat{font-size:.8125rem;font-weight:600;color:var(--blue-deep);margin-bottom:2px}
.related-post-title{font-weight:600;line-height:1.35;color:#0B1F3A;transition:color .15s}
.related-post:hover .related-post-title{color:var(--blue-deep);text-decoration:underline}
.post-reading .sidebar-widget ul{display:flex;flex-direction:column}
.post-reading .sidebar-widget ul li a{display:flex;justify-content:space-between;align-items:center;min-height:40px;font-size:var(--s-small);color:#4A5266;border-bottom:1px solid #E7EBF2}
.post-reading .sidebar-widget ul li a:hover{color:var(--blue-deep)}
.post-nav{display:flex;justify-content:space-between;gap:20px;max-width:1240px;margin:0 auto;padding:0 var(--mx) 56px}
.post-nav-item{flex:1;display:flex;flex-direction:column;gap:4px;padding:20px 24px;background:#fff;box-shadow:0 0 0 1px #DCE2EC inset;transition:background .2s}
.post-nav-item:hover{background:#EAEEF5}
.post-nav-item.next{text-align:right}
.post-nav-label{font-size:var(--s-small);font-weight:600;color:var(--blue-deep)}
.post-nav-title{font-weight:600;line-height:1.35;color:#0B1F3A}
@media(max-width:960px){.post-content-inner{grid-template-columns:1fr}.post-sidebar{position:static}.toc-widget{display:none!important}}
@media(max-width:700px){.post-nav{flex-direction:column}.post-nav-item.next{text-align:left}}

/* ---------- author page ---------- */
.ap-hero-inner{display:flex;gap:clamp(24px,4vw,48px);align-items:center;flex-wrap:wrap}
.ap-photo{width:200px;height:200px;object-fit:cover;flex-shrink:0;clip-path:var(--chamfer-lg);background:#fff}
.ap-hero-text{flex:1 1 380px;min-width:0}
.ap-role{color:var(--lime);font-weight:600;margin:14px 0}
.ap-bio{color:var(--mist);font-size:var(--s-lead);line-height:1.4;max-width:60ch}
.ap-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.ap-ghost{display:inline-flex;align-items:center;min-height:48px;padding:0 28px;font-weight:600;font-size:var(--s-small);background:rgba(8,9,10,.4);color:#fff;clip-path:var(--chamfer);transition:background .18s}
.ap-ghost:hover{background:rgba(8,9,10,.6)}
.ap-wrap{max-width:1440px;margin:0 auto;padding:clamp(40px,5vw,72px) var(--mx) 24px}
.ap-section{margin-bottom:clamp(40px,5vw,72px)}
.ap-h2{font-size:clamp(1.6rem,1.1rem + 1.8vw,2.4rem);letter-spacing:-.02em;margin-bottom:20px}
.ap-text p{color:#C3CCDD;line-height:1.65;max-width:70ch;margin-bottom:16px}
.ap-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.ap-card,.ap-guide,.ap-contact{background:var(--surface);padding:26px;clip-path:polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px)}
.ap-card h3{font-size:1.2rem;margin-bottom:8px}
.ap-card p{color:var(--soft);font-size:1rem;line-height:1.55}
.ap-link{color:var(--lime);font-weight:600;font-size:var(--s-small);display:inline-flex;align-items:center;min-height:44px;margin-top:8px}
.ap-list{display:flex;flex-direction:column;gap:20px}
.ap-guide a.ap-guide-title{font-family:var(--font-display);font-weight:600;font-size:1.3rem;line-height:1.25;display:block;margin-bottom:8px}
.ap-guide a.ap-guide-title:hover{color:var(--blue-pale)}
.ap-guide p{color:var(--soft);line-height:1.55;margin-bottom:10px}
.ap-meta{color:#8A8D99;font-size:var(--s-small)}
.ap-contact{display:flex;flex-wrap:wrap;gap:28px;align-items:center;justify-content:space-between}
.ap-contact ul{color:#C3CCDD;line-height:1.9}
.ap-contact a{color:var(--lime)}

/* ---------- plain pages (privacy, terms) ---------- */
.page-plain{padding:clamp(40px,5vw,72px) var(--mx) clamp(56px,7vw,96px);background:var(--paper);color:var(--ink)}
.page-plain-inner{max-width:820px;margin:0 auto}
.page-plain .post-body{color:#1D2330;font-size:1.0625rem}
.page-plain .post-body h2{color:#0B1F3A}
.page-plain .post-body a{color:#1B3FB8}

/* ---------- 404 ---------- */
.not-found{min-height:60vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:clamp(56px,8vw,112px) var(--mx)}
.four-oh-four{font-family:var(--font-display);font-weight:600;font-size:clamp(5rem,16vw,10rem);color:var(--blue);line-height:1;margin-bottom:12px}
.not-found h1{font-size:clamp(1.8rem,1.2rem + 2vw,2.6rem);margin-bottom:12px}
.not-found p{color:var(--soft);margin-bottom:28px}

/* ---------- motion (additive only; all content is visible without JS) ---------- */
@media(prefers-reduced-motion:no-preference){
  .js .reveal{opacity:0;transform:translateY(20px);transition:opacity .62s var(--ease),transform .62s var(--ease)}
  .js .reveal.in{opacity:1;transform:none}
  .js .reveal.d1{transition-delay:.07s}.js .reveal.d2{transition-delay:.14s}.js .reveal.d3{transition-delay:.21s}
  @supports (animation-timeline: view()){
    .steps::after{transform:scaleY(0);animation:grow-line linear both;animation-timeline:view();animation-range:entry 15% cover 55%}
    @keyframes grow-line{to{transform:scaleY(1)}}
  }
  h1 .hw{animation:pop .7s var(--ease) both}
  h1 .b{animation-delay:.15s}
  h1 .r{animation-delay:.4s}
  @keyframes pop{from{transform:translateY(.28em)}to{transform:none}}
}

.ap-text-p{color:#C3CCDD;max-width:420px;line-height:1.6;margin:0}
.nav-links-wrap{margin-top:8px}
