@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700&display=swap');
:root{
  --plum:#6b2142;
  --plum-band:#7a3450;
  --text:#3b2a33;
  --muted:#6f5c67;
  --bg:#f6f4fb;
  --grid:rgba(107,33,66,.055);
  --lav:#ddd1f5;
  --lav-soft:#ece6fa;
  --line:rgba(107,33,66,.28);
  --orange:#ff8f62;
  --orange-dark:#f2784a;
  --max:1180px;
  --display:"Poppins",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --body:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:var(--body);
  color:var(--text);
  background-color:var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px,transparent 1px),
    linear-gradient(90deg,var(--grid) 1px,transparent 1px);
  background-size:52px 52px;
  line-height:1.65;
  font-size:17px;
}
a{color:var(--plum)}
img{max-width:100%;height:auto}
h1,h2,h3{font-family:var(--display);color:var(--plum);font-weight:600;letter-spacing:-.02em;margin:0}
.wrap{max-width:var(--max);margin:0 auto;padding:0 28px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:16px;background:#fff;padding:8px 12px;z-index:10}

/* header */
.site-header{background:var(--lav);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px}
.brand{font-family:var(--display);font-weight:600;color:var(--plum);text-decoration:none;font-size:19px;letter-spacing:-.01em}
.nav{display:flex;gap:6px;flex-wrap:wrap}
.nav a{color:var(--plum);text-decoration:none;padding:6px 12px;font-size:16px}
.nav a:hover{text-decoration:underline;text-underline-offset:5px}
.nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:5px}

/* hero */
.hero{padding:84px 0 72px;text-align:center}
.hero h1{font-size:clamp(40px,6.4vw,78px);line-height:1.06;max-width:20ch;margin:0 auto}
.hero-row{display:grid;grid-template-columns:1fr auto 1fr;gap:40px;align-items:center;margin-top:56px;text-align:left}
.hero-row p{margin:0;color:var(--plum);font-size:18px;max-width:34ch}
.hero-row .cta{justify-self:end}
.eyebrow{display:inline-block;font-size:14px;font-weight:600;color:var(--plum);margin-bottom:22px;letter-spacing:.02em}

/* serp illustration */
.serp{width:340px;background:#fff;border:1px solid var(--line);padding:20px 22px;text-align:left;box-shadow:8px 8px 0 var(--lav)}
.serp .q{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:999px;padding:8px 14px;font-size:14px;color:var(--muted);margin-bottom:18px}
.serp .q svg{flex:none}
.serp .r{padding:10px 0;border-top:1px dashed rgba(107,33,66,.15)}
.serp .r:first-of-type{border-top:0}
.serp .u{font-size:12px;color:#3f7a5c}
.serp .t{font-family:var(--display);font-size:16px;color:#3c3fb0;line-height:1.3}
.serp .d{font-size:13px;color:var(--muted);line-height:1.45}
.serp .r.top{background:var(--lav-soft);margin:0 -22px;padding:10px 22px}
.serp .pos{float:right;font-size:12px;font-weight:600;color:var(--plum);background:#fff;border:1px solid var(--line);padding:1px 8px}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:12px;padding:16px 28px;font-size:17px;text-decoration:none;font-family:var(--display);font-weight:500}
.btn-primary{background:var(--orange);color:var(--plum)}
.btn-primary:hover{background:var(--orange-dark)}
.btn-line{border:1px solid var(--plum);color:var(--plum)}
.btn-line:hover{background:var(--lav-soft)}

/* numbered band */
.band{background:var(--plum-band);color:#fff}
.band .row{display:grid;grid-template-columns:120px 1fr 1.1fr;gap:24px;align-items:center;padding:30px 0;border-top:1px solid rgba(255,255,255,.35)}
.band .row:first-child{border-top:0}
.band .n{font-family:var(--display);font-size:56px;line-height:1;font-weight:500}
.band h3{color:#fff;font-size:28px;font-weight:500}
.band p{margin:0;color:rgba(255,255,255,.82)}

/* boxed sections */
.boxes{display:grid;grid-template-columns:1.2fr repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--bg)}
.boxes > *{border-left:1px solid var(--line);padding:32px 28px;min-height:250px;display:flex;flex-direction:column;text-decoration:none;color:inherit}
.boxes > *:first-child{border-left:0}
.boxes .title h2{font-size:clamp(34px,4vw,52px);line-height:1.05}
.boxes .title p{color:var(--muted);margin:16px 0 0}
.boxes h3{font-size:24px;line-height:1.2;font-weight:500;margin-bottom:auto}
.boxes p{margin:24px 0 0;color:var(--text)}
.boxes .tag{display:inline-block;align-self:flex-start;font-size:13px;padding:3px 10px;margin-top:18px;border:1px solid var(--line);color:var(--plum)}
.boxes .tag.live{background:var(--orange);border-color:var(--orange)}
.boxes a:hover{background:var(--lav-soft)}
.boxes .fill{background:var(--lav)}

.section{padding:80px 0}
.section-title{font-size:clamp(34px,4.4vw,56px);line-height:1.05;margin-bottom:36px}

/* inner pages */
.page-head{padding:72px 0 40px;border-bottom:1px solid var(--line)}
.page-head h1{font-size:clamp(38px,5.2vw,64px);line-height:1.06;max-width:18ch}
.page-head p{color:var(--plum);font-size:19px;max-width:60ch;margin:20px 0 0}
.split{display:grid;grid-template-columns:1fr 2fr;border-bottom:1px solid var(--line)}
.split > *{padding:40px 28px}
.split > *:first-child{border-right:1px solid var(--line);padding-left:0}
.split h2{font-size:26px;font-weight:500}
.prose{max-width:720px}
.prose p{margin:0 0 16px}
.prose ul,.prose ol{padding-left:22px;margin:0}
.prose li{margin:8px 0}
.note{background:var(--lav);padding:18px 22px;color:var(--plum);margin:8px 0 0}
.steps{counter-reset:s;list-style:none;padding:0 !important}
.steps li{counter-increment:s;position:relative;padding-left:52px;margin:18px 0}
.steps li::before{content:counter(s,decimal-leading-zero);position:absolute;left:0;top:-2px;font-family:var(--display);font-size:22px;color:var(--plum);font-weight:500}
.contact-list{list-style:none;padding:0 !important}
.contact-list li{padding:18px 0;border-bottom:1px solid var(--line);font-size:19px}
.contact-list span{display:block;font-size:13px;color:var(--muted)}

/* footer */
.site-footer{background:var(--plum);color:#fff;padding:44px 0;margin-top:0}
.site-footer .wrap{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap}
.site-footer .big{font-family:var(--display);font-size:clamp(26px,3vw,36px);font-weight:500;line-height:1.15}
.site-footer a{color:#fff}
.site-footer small{color:rgba(255,255,255,.7);font-size:14px}

@media (max-width:900px){
  .hero-row{grid-template-columns:1fr;justify-items:center;text-align:center}
  .hero-row p{max-width:none}
  .hero-row .cta{justify-self:center}
  .boxes{grid-template-columns:1fr 1fr}
  .boxes > *{border-top:1px solid var(--line)}
  .boxes > *:nth-child(odd){border-left:0}
  .band .row{grid-template-columns:70px 1fr}
  .band .row p{grid-column:2}
  .band .n{font-size:40px}
  .split{grid-template-columns:1fr}
  .split > *:first-child{border-right:0;padding-bottom:0}
  .split > *{padding-left:0;padding-right:0}
}
@media (max-width:560px){
  .site-header .wrap{flex-direction:column;align-items:flex-start;padding-top:12px;padding-bottom:10px}
  .nav a{padding:4px 8px 4px 0;font-size:15px}
  .boxes{grid-template-columns:1fr}
  .boxes > *{border-left:0;min-height:0}
  .serp{width:100%}
  .hero{padding:56px 0}
}

/* logo + keychain */
.brand{display:inline-flex;align-items:center;gap:10px}
.logo{display:block}
.keychain{width:300px;height:auto;display:block}
@media (max-width:560px){.keychain{width:240px}}

/* wordmark logo */
.brand{gap:0}
.brand .logo{display:none}
.brand span{font-family:"Bricolage Grotesque",var(--display);font-weight:700;font-size:28px;letter-spacing:-.03em;text-transform:lowercase;color:var(--plum);line-height:1}
.brand span::after{content:".";color:var(--orange)}

/* about portrait */
.about-head .wrap{display:grid;grid-template-columns:1fr 340px;gap:56px;align-items:center}
.portrait{margin:0;border:1px solid var(--line);background:#fff;padding:10px;box-shadow:10px 10px 0 var(--lav)}
.portrait .crop{position:relative;overflow:hidden;aspect-ratio:4/5}
.portrait img{position:absolute;width:150%;max-width:none;height:auto;left:-18%;top:-17.6%}
@media (max-width:900px){.about-head .wrap{grid-template-columns:1fr;gap:32px}.portrait{max-width:300px}}

/* blog */
.post-list .wrap{padding-top:16px;padding-bottom:64px}
.post-item{display:block;padding:28px 0;border-bottom:1px solid var(--line);text-decoration:none;color:inherit}
.post-item time{font-size:14px;color:var(--muted)}
.post-item h2{font-size:clamp(24px,2.6vw,32px);font-weight:500;margin:6px 0 8px}
.post-item p{margin:0;color:var(--text);max-width:70ch}
.post-item:hover h2{text-decoration:underline;text-underline-offset:6px}
.post-meta{font-size:15px !important;color:var(--muted) !important;margin-top:14px !important}
.post-cover{margin:40px 0 0;border:1px solid var(--line);background:#fff;padding:10px;max-width:622px}
.post-cover img{display:block;width:100%}
.post-body{padding:40px 0 72px;font-size:18px;line-height:1.75}
.post-body h2{font-size:28px;font-weight:500;margin:40px 0 12px}
.post-body h3{font-size:22px;font-weight:500;margin:32px 0 10px}
.post-body p{margin:0 0 18px}
.post-body img{max-width:100%;height:auto;border:1px solid var(--line)}
.post-body blockquote{margin:24px 0;padding:16px 22px;background:var(--lav-soft);border-left:3px solid var(--plum);color:var(--plum)}
.post-body a{text-underline-offset:3px}

/* footer always at bottom */
body{min-height:100vh;display:flex;flex-direction:column}
main{flex:1 0 auto}

/* post header: text left, cover right */
.post-head h1{font-size:clamp(30px,3.4vw,44px);line-height:1.12;max-width:none}
.post-head p{font-size:17px;margin-top:14px}
.post-head.has-cover .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:48px;align-items:center}
.post-head .post-cover{margin:0;max-width:none}
@media (max-width:900px){.post-head.has-cover .wrap{grid-template-columns:1fr;gap:28px}.post-head .post-cover{max-width:520px}}
.post-body h2,.post-body h3{line-height:1.25}
.post-body h2 strong,.post-body h3 strong{font-weight:inherit}

/* home: approach steps */
.approach{border-top:0}
.section-head h2{font-size:clamp(30px,3.6vw,44px);line-height:1.1}
.steps-row{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--line)}
.steps-row li{padding:28px 28px 8px 0;border-right:1px solid var(--line);margin-right:28px}
.steps-row li:last-child{border-right:0;margin-right:0}
.steps-row .n{display:block;font-family:var(--display);font-size:15px;font-weight:600;color:var(--orange-dark);margin-bottom:14px}
.steps-row h3{font-size:22px;font-weight:500;margin-bottom:10px}
.steps-row p{margin:0;color:var(--muted)}

/* home: quote */
.quote-block{background:var(--lav);border-bottom:1px solid var(--line)}
.quote-block blockquote{margin:0 auto;padding:72px 0;max-width:900px;text-align:center;font-family:var(--display);font-weight:500;font-size:clamp(24px,3vw,36px);line-height:1.3;color:var(--plum)}
.quote-block em{font-style:normal;background:linear-gradient(transparent 62%,rgba(255,143,98,.55) 62%)}

/* home: latest posts */
.section-head .more-link{font-family:var(--display);font-weight:500;text-decoration:none}
.section-head .more-link:hover{text-decoration:underline;text-underline-offset:5px}
.post-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.post-card{display:block;text-decoration:none;color:inherit;background:#fff;border:1px solid var(--line);padding:12px 12px 20px}
.post-card img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;margin-bottom:16px}
.post-card time{font-size:14px;color:var(--muted);padding:0 8px}
.post-card h3{font-size:20px;font-weight:500;line-height:1.3;margin:6px 8px 0}
.post-card:hover h3{text-decoration:underline;text-underline-offset:5px}

/* home: about teaser */
.about-teaser .wrap{display:grid;grid-template-columns:300px 1fr;gap:56px;align-items:center}
.about-teaser h2{font-size:clamp(30px,3.6vw,44px);line-height:1.1;margin-bottom:16px}
.about-teaser p{font-size:18px;max-width:58ch;margin:0 0 28px}

/* home: final cta */
.cta-band{border-top:1px solid var(--line);padding:88px 0;text-align:center}
.cta-band h2{font-size:clamp(30px,4vw,52px);line-height:1.1;max-width:18ch;margin:0 auto 32px}
.cta-band .btns{justify-content:center}
.btns{display:flex;gap:14px;flex-wrap:wrap}

@media (max-width:900px){
  .steps-row{grid-template-columns:1fr}
  .steps-row li{border-right:0;margin-right:0;padding:24px 0;border-bottom:1px solid var(--line)}
  .steps-row li:last-child{border-bottom:0}
  .post-cards{grid-template-columns:1fr}
  .about-teaser .wrap{grid-template-columns:1fr;gap:32px}
  .about-teaser .portrait{max-width:280px}
}
.quote-block em{-webkit-box-decoration-break:clone;box-decoration-break:clone}
@media (max-width:900px){.boxes .fill{display:none}}
