:root{
  --ink:#111;--muted:#666;--paper:#fff;--white:#fff;--line:#e7e7e7;
  --green:#111;--green-dark:#333;--sage:#f2f2f2;--sand:#f7f7f7;
  --accent:#777;--max:1160px;--radius:18px;--shadow:0 18px 55px rgba(0,0,0,.07)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,textarea,select{font:inherit}
.container{width:min(var(--max),calc(100% - 48px));margin-inline:auto}
.skip-link{position:absolute;left:-999px;top:10px;background:#fff;padding:10px;z-index:1000}
.skip-link:focus{left:10px}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid #ededed}
.nav-wrap{height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{font-size:1.65rem;font-weight:800;letter-spacing:-.075em;line-height:1}
.brand span{color:var(--accent)}
.brand small{display:block;font-size:.58rem;letter-spacing:.17em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-top:7px}
.nav-links{display:flex;align-items:center;gap:clamp(12px,2.1vw,25px)}
.social-links{display:flex;align-items:center;gap:9px}
.social-links a{display:inline-flex;align-items:center;justify-content:center;width:22px;height:24px;color:#777;transition:color .2s ease,transform .2s ease}
.social-links a:hover{color:#111;transform:translateY(-1px)}
.social-links svg{display:block;width:15px;height:15px}
.nav-links .social-links{margin-left:-5px;flex:0 0 auto}
.nav-links .social-links a{padding:0;font-size:inherit}
.nav-links .social-links a:after{display:none}
.footer-socials{margin-top:15px;gap:11px}
.footer-socials a{width:23px;height:23px}
.footer-socials svg{width:16px;height:16px}
.nav-links a{position:relative;font-size:.88rem;font-weight:600;color:#555;transition:color .2s,background .2s}
.nav-links a:not(.nav-cta):after{content:"";position:absolute;left:0;right:0;bottom:-9px;height:2px;background:#111;transform:scaleX(0);transform-origin:left;transition:transform .22s ease}
.nav-links a:not(.nav-cta):hover{color:#000}
.nav-links a:not(.nav-cta):hover:after{transform:scaleX(1)}
.nav-links a[aria-current="page"]:not(.nav-cta){color:#000;font-weight:800}
.nav-links a[aria-current="page"]:not(.nav-cta):after{transform:scaleX(1)}
.nav-links .nav-cta{padding:12px 18px;border-radius:999px;background:#111;color:#fff}
.nav-links .nav-cta:hover{background:#444;color:#fff}
.menu-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:12px;padding:9px 11px;color:var(--ink)}
.hero{padding:92px 0 88px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.04fr .96fr;align-items:center;gap:72px}
.eyebrow{display:inline-flex;align-items:center;gap:10px;color:#111;font-size:.76rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.eyebrow:before{content:"";width:27px;height:1px;background:var(--accent)}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(2.8rem,5.4vw,5.25rem);line-height:1.04;letter-spacing:-.065em;font-weight:700;margin:22px 0 25px}
h1 em{font-style:normal;color:#111}
.lead{font-size:1.14rem;line-height:1.8;color:var(--muted);max-width:600px}
.actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:32px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 21px;border-radius:999px;font-weight:700;font-size:.9rem;border:1px solid transparent;transition:transform .2s,background .2s}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:#111;color:#fff}
.btn-primary:hover{background:#333}
.btn-secondary{border-color:#d8ded6;background:transparent;color:var(--ink)}
.btn-secondary:hover{background:#fff}
.hero-visual{position:relative;min-height:490px;border-radius:28px;background:linear-gradient(145deg,#f1f1f1,#fafafa);overflow:hidden;display:flex;align-items:center;justify-content:center}
.hero-visual:before,.hero-visual:after{content:"";position:absolute;border:1px solid rgba(54,91,75,.18);border-radius:50%;width:410px;height:410px}
.hero-visual:after{width:300px;height:300px}
.visual-card{position:relative;z-index:1;width:74%;padding:34px;background:rgba(255,255,255,.83);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.9);border-radius:20px;box-shadow:var(--shadow);transform:rotate(-3deg)}
.visual-card .mini-label{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:800}
.visual-card h3{font-size:2rem;line-height:1.12;letter-spacing:-.05em;margin:18px 0 28px}
.visual-lines{display:grid;gap:9px}.visual-lines i{height:7px;background:#e8e8e8;border-radius:20px}.visual-lines i:nth-child(2){width:82%}.visual-lines i:nth-child(3){width:58%}
.visual-foot{display:flex;justify-content:space-between;align-items:center;margin-top:30px;font-size:.76rem;color:var(--muted);font-weight:700}
.visual-dot{width:38px;height:38px;border-radius:50%;background:var(--green);display:grid;place-items:center;color:#fff;font-size:1.2rem}
.section{padding:88px 0}
.section-soft{background:#f7f7f7}
.section-sand{background:#f7f7f7}
.section-heading{max-width:680px;margin-bottom:42px}
.section-heading h2{font-size:clamp(2.1rem,3.6vw,3.35rem);line-height:1.12;letter-spacing:-.055em;margin:16px 0}
.section-heading p{color:var(--muted);font-size:1.04rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:29px;transition:transform .25s,box-shadow .25s}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.icon-box{width:48px;height:48px;border-radius:14px;background:#f1f1f1;display:grid;place-items:center;color:#111;margin-bottom:23px}
.icon-box svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.card h3{font-size:1.2rem;letter-spacing:-.025em;margin-bottom:10px}
.card p{color:var(--muted);font-size:.94rem;margin-bottom:18px}
.text-link{font-weight:800;color:#111;font-size:.88rem}
.text-link span{display:inline-block;transition:transform .2s}.text-link:hover span{transform:translateX(4px)}
.split{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:center}
.statement{font-size:clamp(2rem,3.6vw,3.4rem);line-height:1.15;letter-spacing:-.06em}
.statement em{font-style:normal;color:#111}
.copy p{color:var(--muted)}
.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:34px}
.stat{border-top:1px solid #dce2d9;padding-top:17px}
.stat strong{display:block;font-size:1.65rem;letter-spacing:-.05em;color:#111}
.stat span{font-size:.78rem;color:var(--muted)}
.cta-band{padding:56px;border-radius:24px;background:#111;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}
.cta-band h2{font-size:clamp(1.8rem,3vw,2.7rem);letter-spacing:-.05em;line-height:1.15;margin:0 0 10px}
.cta-band p{color:rgba(255,255,255,.72);margin:0}
.cta-band .btn{background:#fff;color:#111;white-space:nowrap}
.page-hero{padding:82px 0 70px;background:linear-gradient(120deg,#f7f7f7,#fff)}
.page-hero h1{max-width:850px;font-size:clamp(2.8rem,5vw,4.8rem)}
.page-hero .lead{max-width:720px}
.breadcrumb{font-size:.78rem;color:var(--muted);margin-bottom:28px}
.breadcrumb a{color:#111;font-weight:700}
.content-narrow{max-width:790px}
.content-narrow p{color:var(--muted);font-size:1.02rem}
.values-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.value-card{padding:25px;border:1px solid var(--line);border-radius:16px;background:#fff}
.value-card h3{margin-bottom:8px}.value-card p{margin:0;color:var(--muted);font-size:.92rem}
.service-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.service-card{padding:32px;border:1px solid var(--line);border-radius:18px;background:#fff}
.service-card h3{font-size:1.35rem;letter-spacing:-.035em;line-height:1.25;margin:18px 0 10px}
.service-card p{color:var(--muted)}
.service-card ul{padding-left:19px;color:var(--muted);font-size:.9rem}
.service-card li{margin:6px 0}
.process{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;counter-reset:step}
.process-item{border-top:1px solid #cfd8ce;padding-top:18px;counter-increment:step}
.process-item:before{content:"0" counter(step);font-size:.78rem;color:var(--accent);font-weight:800;letter-spacing:.1em}
.process-item h3{margin:15px 0 8px;font-size:1.05rem}.process-item p{font-size:.88rem;color:var(--muted)}
.project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.project-card{border:1px solid var(--line);background:#fff;border-radius:18px;overflow:hidden}
.project-art{min-height:260px;padding:28px;background:linear-gradient(135deg,#f0f0f0,#fafafa);display:grid;place-items:center}
.project-art.alt{background:linear-gradient(135deg,#eeeeee,#fafafa)}
.browser{width:82%;background:#fff;border-radius:12px;box-shadow:0 18px 40px rgba(40,60,48,.12);overflow:hidden}
.browser-top{height:23px;background:#f4f4f4;border-bottom:1px solid #e7e7e7;display:flex;align-items:center;gap:4px;padding:0 9px}
.browser-top i{width:5px;height:5px;border-radius:50%;background:#c9c9c9}
.browser-body{padding:22px}.browser-brand{font-weight:850;font-size:1rem;letter-spacing:-.07em;color:#111}
.browser-title{font-size:1.45rem;line-height:1.1;letter-spacing:-.06em;font-weight:800;margin:19px 0 12px;max-width:220px}
.browser-bar{height:5px;width:76%;background:#e8e8e8;border-radius:5px;margin:6px 0}.browser-bar.short{width:49%}
.project-info{padding:23px 25px}.project-info h3{margin-bottom:5px}.project-info p{margin:0;color:var(--muted);font-size:.9rem}
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.blog-card{background:#fff;border:1px solid var(--line);border-radius:17px;overflow:hidden}
.blog-art{height:160px;background:linear-gradient(135deg,#e8eee7,#f1e9dc);display:grid;place-items:center;color:#111}
.blog-art svg{width:46px;height:46px;stroke:currentColor;fill:none;stroke-width:1.2}
.blog-info{padding:24px}.meta{font-size:.73rem;text-transform:uppercase;letter-spacing:.1em;color:var(--accent);font-weight:800}
.blog-info h3{font-size:1.15rem;line-height:1.3;margin:11px 0}.blog-info p{font-size:.9rem;color:var(--muted)}
.article{max-width:760px;margin:auto}.article h2{font-size:1.7rem;letter-spacing:-.04em;margin-top:38px}.article p,.article li{color:var(--muted)}
.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px}
.contact-details{display:grid;gap:18px;margin-top:30px}
.contact-item{display:flex;gap:13px;align-items:flex-start}.contact-item .icon-box{margin:0;flex:none;width:42px;height:42px}
.contact-item strong{display:block;font-size:.9rem}.contact-item span{font-size:.88rem;color:var(--muted)}
.form-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:32px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{display:grid;gap:7px;margin-bottom:16px}.field.full{grid-column:1/-1}
.field label{font-size:.82rem;font-weight:750}
.field input,.field textarea,.field select{width:100%;padding:13px 14px;border:1px solid #dfe4dc;border-radius:10px;background:#fcfcfa;outline:none}
.field input:focus,.field textarea:focus,.field select:focus{border-color:#111;box-shadow:0 0 0 3px rgba(54,91,75,.1)}
.field textarea{min-height:145px;resize:vertical}
.form-note{font-size:.78rem;color:var(--muted);margin:13px 0 0}
.site-footer{background:#fff;color:#111;padding:62px 0 25px;border-top:1px solid #e7e7e7}
.footer-grid{display:grid;grid-template-columns:1.3fr .7fr .7fr;gap:60px;padding-bottom:48px}
.footer-brand{display:inline-block;font-size:1.65rem;font-weight:800;letter-spacing:-.075em;line-height:1;color:#111}.footer-brand span{color:#777}.footer-brand small{display:block;font-size:.58rem;letter-spacing:.17em;text-transform:uppercase;color:#666;font-weight:600;margin-top:7px}
.footer-intro{color:#666;max-width:350px;font-size:.9rem;margin-top:17px}
.site-footer h4{font-size:.78rem;text-transform:uppercase;letter-spacing:.13em;color:#222;margin:5px 0 17px}
.footer-links{display:grid;gap:10px}.footer-links a{font-size:.87rem;color:#666}.footer-links a:hover{color:#000}
.footer-bottom{border-top:1px solid #e7e7e7;padding-top:22px;display:flex;justify-content:space-between;gap:20px;color:#777;font-size:.77rem}
.reveal{opacity:0;transform:translateY(18px);transition:opacity .65s ease,transform .65s ease}
.reveal.visible{opacity:1;transform:none}
.empty-state{padding:35px;border:1px dashed #cbd4ca;border-radius:15px;color:var(--muted);text-align:center}
@media(max-width:900px){
 .hero-grid,.split,.contact-grid{grid-template-columns:1fr;gap:42px}
 .hero{padding:65px 0}.hero-visual{min-height:380px}
 .grid-3,.blog-grid{grid-template-columns:repeat(2,1fr)}
 .process{grid-template-columns:repeat(2,1fr);row-gap:30px}
 .footer-grid{gap:30px}
}
@media(max-width:680px){
 .container{width:min(var(--max),calc(100% - 34px))}
 .nav-wrap{height:72px}.menu-toggle{display:block}
 .nav-links{display:none;position:absolute;top:71px;left:0;right:0;background:var(--paper);padding:18px 24px 24px;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0}
 .nav-links.open{display:flex}.nav-links a{padding:12px 0}.nav-links .social-links{justify-content:center;margin:12px 0 0;padding-top:13px;border-top:1px solid var(--line)}.nav-links .social-links a{padding:0;width:30px;height:30px}.nav-links a[aria-current="page"]:not(.nav-cta){background:#f1f1f1;padding-left:12px;border-radius:7px}.nav-links a:not(.nav-cta):after{display:none}.nav-links .nav-cta{text-align:center;margin-top:8px;padding:12px}
 .hero{padding:52px 0 58px}.hero-grid{gap:35px}h1{font-size:clamp(2.65rem,13vw,4rem)}
 .hero-visual{min-height:320px}.visual-card{width:82%;padding:25px}.visual-card h3{font-size:1.65rem}
 .section{padding:64px 0}.grid-3,.blog-grid,.project-grid,.service-layout,.values-grid{grid-template-columns:1fr}
 .page-hero{padding:55px 0 48px}.page-hero h1{font-size:2.8rem}
 .stat-row{gap:12px}.stat strong{font-size:1.35rem}
 .cta-band{padding:31px;display:block}.cta-band .btn{margin-top:24px}
 .process{grid-template-columns:1fr 1fr}
 .footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}
 .footer-bottom{display:block}.footer-bottom span{display:block;margin-top:7px}
 .form-card{padding:23px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}.reveal{opacity:1;transform:none}}


/* V4 refinements: stronger heading hierarchy and service presentation */
.eyebrow,.meta,.site-footer h4{
  text-transform:uppercase;
}
.section-heading h2{
  text-transform:uppercase;
  font-size:clamp(1.85rem,3.15vw,2.85rem);
  letter-spacing:-.045em;
  line-height:1.12;
}
.page-hero h1{
  text-transform:uppercase;
  letter-spacing:-.055em;
}
.service-layout{
  grid-template-columns:1fr 1fr;
  align-items:stretch;
}
.service-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:100%;
  padding:32px;
  border:1px solid #e4e4e4;
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 28px rgba(0,0,0,.025);
}
.service-card:first-child{
  grid-column:1/-1;
  min-height:300px;
  padding:38px;
  display:grid;
  grid-template-columns: minmax(0,1fr) minmax(260px,.82fr);
  column-gap:42px;
  align-items:start;
  background:#f7f7f7;
  border-color:#dedede;
}
.service-card:first-child .icon-box{grid-column:1;grid-row:1}
.service-card:first-child .meta{grid-column:1;grid-row:2;margin-top:0}
.service-card:first-child h3{grid-column:1;grid-row:3;font-size:clamp(1.65rem,2.6vw,2.2rem)}
.service-card:first-child p{grid-column:1;grid-row:4}
.service-card:first-child ul{grid-column:2;grid-row:1/5;margin:4px 0 0;padding:22px 25px 22px 42px;background:#fff;border:1px solid #e6e6e6;border-radius:14px}
.service-card:first-child .text-link{grid-column:1;grid-row:5}
.service-card .meta{
  display:block;
  font-size:.7rem;
  letter-spacing:.14em;
  color:#777;
  margin:2px 0 8px;
}
.service-card h2{
  font-size:1.35rem;
  line-height:1.2;
  letter-spacing:-.035em;
  text-transform:uppercase;
}
.service-card p{max-width:590px}
.service-card ul{margin-top:3px}
.service-card .text-link{margin-top:auto;padding-top:12px}
.service-card:hover{
  border-color:#bdbdbd;
  box-shadow:0 16px 38px rgba(0,0,0,.065);
}
.service-card .icon-box{
  width:52px;height:52px;border-radius:15px;background:#ededed;color:#111;
}
.service-card .icon-box svg{width:25px;height:25px}
@media(max-width:680px){
  .section-heading h2{font-size:1.8rem}
  .page-hero h1{font-size:2.45rem}
  .service-card:first-child{
    grid-column:auto;
    display:flex;
    min-height:0;
    padding:27px;
  }
  .service-card:first-child ul{margin:0;padding:16px 18px 16px 36px}
}

/* V6 content refinements */
.article{font-size:1.02rem;line-height:1.85}
.article p{margin-bottom:19px}
.article h2{font-size:1.2rem;line-height:1.35;letter-spacing:-.02em;text-transform:uppercase;margin:36px 0 12px}
.article ul{padding-left:22px;margin:12px 0 26px}
.article li{padding-left:4px;margin:8px 0}
.service-card{gap:8px}
.service-card ul{line-height:1.8}
.service-card strong{color:#111}
.blog-info h3{letter-spacing:-.025em}




/* V8 heading case: H1 uppercase; H2 and H3 in Title Case. */
h1 { text-transform: uppercase; }
h2, h3 { text-transform: none; }

/* Pricing page */
.pricing-intro { max-width: 760px; }
.pricing-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; align-items:stretch; }
.price-card { position:relative; display:flex; flex-direction:column; padding:34px; border:1px solid var(--line); border-radius:20px; background:#fff; }
.price-card.featured { border:1.5px solid #111; box-shadow:0 18px 50px rgba(0,0,0,.07); }
.price-kicker { font-size:.75rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); }
.price-card h3 { font-size:1.65rem; margin:12px 0 8px; letter-spacing:-.04em; }
.price-desc { color:var(--muted); min-height:54px; }
.price-main { margin:22px 0 4px; font-size:clamp(2.7rem,5vw,3.6rem); font-weight:800; letter-spacing:-.07em; line-height:1; color:#111; }
.price-main small { font-size:1rem; letter-spacing:0; font-weight:600; color:var(--muted); }
.price-renewal { color:var(--muted); font-size:.88rem; margin:8px 0 20px; }
.price-rule { border:0; border-top:1px solid var(--line); margin:20px 0; }
.price-breakdown { display:grid; gap:10px; margin:0 0 18px; }
.price-breakdown div { display:flex; justify-content:space-between; gap:16px; font-size:.9rem; }
.price-breakdown span:first-child { color:var(--muted); }
.price-breakdown strong { white-space:nowrap; }
.price-card ul { padding-left:19px; margin:8px 0 22px; color:var(--muted); font-size:.92rem; }
.price-card li { margin:8px 0; }
.price-card .btn { margin-top:auto; width:100%; }
.price-note { margin-top:20px; color:var(--muted); font-size:.82rem; }
.package-tag { position:absolute; top:18px; right:18px; padding:7px 11px; border-radius:999px; background:#111; color:#fff; font-size:.68rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.included-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:30px; }
.included-item { padding:18px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.included-item strong { display:block; margin-bottom:5px; }
.included-item p { margin:0; color:var(--muted); font-size:.86rem; }
.pricing-clarity { padding:24px 26px; border:1px solid var(--line); border-radius:16px; background:#f7f7f7; }
.pricing-clarity h3 { margin:0 0 8px; font-size:1.2rem; }
.pricing-clarity p { margin:0; color:var(--muted); }
@media(max-width:760px) {
 .pricing-grid { grid-template-columns:1fr; }
 .included-strip { grid-template-columns:1fr; }
 .price-desc { min-height:0; }
}

/* V9 service page: three balanced service cards with consistent spacing. */
.service-card { display:flex; flex-direction:column; min-width:0; padding:28px; }
.service-card .service-detail { margin:8px 0 18px; padding:18px; border-radius:12px; background:#f7f7f7; }
.service-card .service-detail strong { display:block; margin-bottom:8px; color:#111; }
.service-card .service-detail ul { margin:0; padding-left:18px; }
.service-card .text-link { margin-top:auto; padding-top:8px; }
@media(max-width:980px) { .service-layout { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) { .service-layout { grid-template-columns:1fr; } .service-card { padding:24px; } }


/* V10: Services page card alignment correction only. */
.service-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}
.service-layout > .service-card,
.service-layout > .service-card:first-child {
  grid-column: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 30px;
  gap: 0;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0,0,0,.035);
}
.service-layout > .service-card:first-child .icon-box,
.service-layout > .service-card:first-child .meta,
.service-layout > .service-card:first-child h3,
.service-layout > .service-card:first-child p,
.service-layout > .service-card:first-child ul,
.service-layout > .service-card:first-child .text-link {
  grid-column: auto;
  grid-row: auto;
}
.service-layout > .service-card .icon-box {
  flex: 0 0 auto;
  margin: 0 0 22px;
}
.service-layout > .service-card .meta {
  margin: 0 0 9px;
  line-height: 1.4;
}
.service-layout > .service-card h3 {
  margin: 0 0 13px;
  min-height: 2.5em;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -.035em;
}
.service-layout > .service-card p {
  max-width: none;
  margin: 0 0 17px;
  line-height: 1.7;
}
.service-layout > .service-card .service-detail {
  flex: 1 1 auto;
  margin: 0 0 20px;
  padding: 19px 20px;
  border: 1px solid #ededed;
  border-radius: 13px;
  background: #f8f8f8;
}
.service-layout > .service-card .service-detail strong {
  display: block;
  margin: 0 0 9px;
  line-height: 1.4;
}
.service-layout > .service-card .service-detail ul {
  margin: 0;
  padding: 0 0 0 18px;
  line-height: 1.65;
}
.service-layout > .service-card .service-detail li {
  margin: 5px 0;
}
.service-layout > .service-card .text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  margin: auto 0 0;
  padding-top: 2px;
}
.service-layout > .service-card:hover {
  transform: translateY(-3px);
  border-color: #cfcfcf;
  box-shadow: 0 14px 34px rgba(0,0,0,.07);
}
@media (max-width: 980px) {
  .service-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-layout > .service-card h3 {
    min-height: 0;
  }
}
@media (max-width: 640px) {
  .service-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .service-layout > .service-card,
  .service-layout > .service-card:first-child {
    padding: 25px;
  }
  .service-layout > .service-card .service-detail {
    padding: 17px 18px;
  }
}


/* V12: Services page split-card layout inspired by the supplied reference. */
.service-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
.service-showcase-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(0, 0, 0, .055);
}
.service-showcase-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 32px;
  background: #f7f7f7;
}
.service-showcase-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 13px;
  color: #fff;
  background: #111111;
}
.service-showcase-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-showcase-intro .meta {
  margin: 0 0 8px;
  color: #555555;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.service-showcase-intro h3 {
  margin: 0 0 11px;
  color: #17131b;
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -.03em;
}
.service-showcase-intro p {
  margin: 0 0 22px;
  color: #62596a;
  line-height: 1.65;
}
.service-showcase-intro .btn {
  margin-top: auto;
  align-self: flex-start;
}
.service-showcase-intro .btn span {
  display: inline-block;
  margin-left: 9px;
  transition: transform .2s ease;
}
.service-showcase-intro .btn:hover span {
  transform: translateX(3px);
}
.service-showcase-includes {
  padding: 32px 38px;
}
.service-showcase-includes h4 {
  margin: 2px 0 17px;
  color: #17131b;
  font-size: 1rem;
  font-weight: 650;
}
.service-showcase-includes ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-showcase-includes li {
  position: relative;
  min-width: 0;
  padding-left: 25px;
  color: #6b6271;
  font-size: .9rem;
  line-height: 1.45;
}
.service-showcase-includes li::before {
  position: absolute;
  top: .05em;
  left: 0;
  color: #111111;
  content: "✓";
  font-size: 1rem;
  font-weight: 700;
}
@media (max-width: 760px) {
  .service-showcase-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-showcase-intro {
    padding: 26px;
  }
  .service-showcase-includes {
    padding: 26px;
  }
}
@media (max-width: 480px) {
  .service-showcase-includes ul {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .service-showcase-intro h3 {
    font-size: 1.25rem;
  }
}


/* V14: Logo-led technology cards on the About page. */
.technology-section {
  background: #fff;
}
.technology-group + .technology-group {
  margin-top: 38px;
}
.technology-group-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}
.technology-group-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: #111;
  font-size: 1.35rem;
  font-weight: 600;
}
.technology-group-heading h3 {
  margin: 0;
  color: #111;
  font-size: 1.25rem;
  line-height: 1.3;
}
.technology-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.technology-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  min-height: 92px;
  padding: 15px 16px;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 3px rgba(0,0,0,.035);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.technology-card:hover {
  border-color: #bdbdbd;
  box-shadow: 0 5px 15px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.technology-card img {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
}
.technology-card h4 {
  margin: 0 0 4px;
  color: #111;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
}
.technology-card p {
  margin: 0;
  color: #666;
  font-size: .78rem;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .technology-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .technology-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .technology-card {
    min-height: 82px;
  }
}


/* V18 Insights series and article layout */
.insights-hero{padding-bottom:58px}
.series-note{display:flex;align-items:center;gap:18px;margin-top:30px;padding:15px 18px;border:1px solid var(--line);border-radius:12px;background:#fff;max-width:720px;color:var(--muted);font-size:.9rem}
.series-number{font-size:.72rem;font-weight:850;letter-spacing:.12em;color:var(--ink);white-space:nowrap}
.insights-grid .blog-art{position:relative;height:170px}
.article-step{position:absolute;top:16px;left:18px;font-size:.7rem;letter-spacing:.12em;font-weight:850;color:#777}
.insights-grid .blog-info{padding:25px}
.insights-grid .blog-info h3{min-height:3em}
.series-footer{margin-top:38px;padding-top:24px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}
.series-footer p{margin:0;color:var(--muted)}
.article-hero{padding-bottom:60px}
.article-hero h1{max-width:900px;font-size:clamp(2.35rem,4.4vw,4.1rem)}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:64px;align-items:start}
.article-content{max-width:none;min-width:0}
.article-summary{padding:22px 24px;background:#f7f7f7;border:1px solid var(--line);border-radius:14px;margin-bottom:32px}
.article-summary p{margin:8px 0 0;color:#333;font-size:1.02rem}
.article-content h2{font-size:1.65rem;line-height:1.25;letter-spacing:-.035em;margin-top:38px;margin-bottom:12px}
.article-content p,.article-content li{font-size:1rem;line-height:1.8;color:#555}
.article-content ul,.article-content ol{padding-left:23px}
.article-content li{margin:8px 0}
.article-sidebar{min-width:0}
.sidebar-sticky{position:sticky;top:110px;display:grid;gap:18px}
.sidebar-panel,.sidebar-cta{border:1px solid var(--line);border-radius:15px;padding:22px;background:#fff}
.sidebar-panel h2{font-size:1.25rem;line-height:1.25;letter-spacing:-.03em;margin:10px 0}
.sidebar-panel>p,.sidebar-cta p{font-size:.86rem;color:var(--muted);margin:0 0 15px}
.related-link{display:block;padding:16px 0;border-top:1px solid var(--line)}
.related-link strong{display:block;font-size:.91rem;line-height:1.35;margin:6px 0}
.related-kicker{display:block;font-size:.66rem;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);font-weight:800}
.related-arrow{font-size:.78rem;font-weight:800}
.sidebar-cta{background:#f7f7f7}
.sidebar-cta strong{font-size:.98rem}
.article-end{margin-top:42px;padding-top:24px;border-top:1px solid var(--line)}
.article-pagination{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:35px;padding-top:20px;border-top:1px solid var(--line);font-size:.84rem;font-weight:800}
@media(max-width:900px){
  .article-layout{grid-template-columns:minmax(0,1fr) 250px;gap:30px}
}
@media(max-width:700px){
  .article-layout{grid-template-columns:1fr;gap:34px}
  .sidebar-sticky{position:static}
  .series-footer{align-items:flex-start;flex-direction:column}
  .series-note{align-items:flex-start}
  .insights-grid .blog-info h3{min-height:0}
}
