/* ===== Self-hosted fonts (replaces Google Fonts CDN) ===== */
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/cormorant-garamond-400-italic.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url('../fonts/cormorant-garamond-500-italic.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/cormorant-garamond-300.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/cormorant-garamond-400.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/cormorant-garamond-500.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/cormorant-garamond-600.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Crimson Pro';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/crimson-pro-400-italic.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Crimson Pro';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/crimson-pro-400.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Crimson Pro';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/crimson-pro-500.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Proza Libre';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/proza-libre-400-italic.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Proza Libre';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/proza-libre-400.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Proza Libre';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/proza-libre-500.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Proza Libre';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/proza-libre-600.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/*
 * Design Story PR ("dspr") theme — main stylesheet.
 * Section 1 below is copied VERBATIM from the approved design
 * (redesign/B-gallery.html <style> block), with only the .dir-label
 * rule removed (that was a design-review artifact, not a real UI
 * element). Do not hand-edit tokens here without also updating the
 * approved HTML comp, and keep both in sync.
 *
 * Section 2 (bottom of file) is new: blog/post-listing styles and a
 * ".divi-legacy" wrapper for old Divi post content, built with the
 * SAME design tokens (--ink, --cobalt, --serif, --sans, --maxw, --gut,
 * --hair, --muted, --ease, etc.) so new templates feel native.
 * ========================================================================
 * SECTION 1 — VERBATIM FROM B-gallery.html (.dir-label removed)
 * ======================================================================== */

  :root{
    --white:#FFFFFF;
    --ink:#111111;
    --ink-soft:#3a3a3a;
    --muted:#8a8a8a;
    --hair:#E6E6E6;
    --hair-soft:#f0f0f0;
    --cobalt:#2765c8;
    --cobalt-deep:#1f50a3;
    --bg-tint:#fbfbfc;

    --serif:'Cormorant Garamond', Georgia, serif;
    --serif-accent:'Crimson Pro', Georgia, serif;
    --sans:'Proza Libre', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --maxw:1320px;
    --gut:clamp(20px,5vw,72px);
    --ease:cubic-bezier(.22,.61,.36,1);
  }

  *{box-sizing:border-box;margin:0;padding:0;}
  html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
  body{
    font-family:var(--sans);
    color:var(--ink);
    background:var(--white);
    line-height:1.6;
    font-size:16px;
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
  }
  img{max-width:100%;display:block;}
  a{color:inherit;text-decoration:none;}
  ::selection{background:var(--cobalt);color:#fff;}

  .wrap{max-width:var(--maxw);margin:0 auto;padding-left:var(--gut);padding-right:var(--gut);}

  /* ---------- shared type ---------- */
  .kicker{
    font-family:var(--sans);
    font-size:11px;
    font-weight:600;
    letter-spacing:.32em;
    text-transform:uppercase;
    color:var(--cobalt);
    display:inline-flex;
    align-items:center;
    gap:14px;
  }
  .kicker::before{
    content:"";
    width:34px;height:1px;background:var(--cobalt);display:inline-block;opacity:.7;
  }
  .kicker.center{justify-content:center;}
  .section-num{
    font-family:var(--sans);
    font-size:11px;letter-spacing:.3em;color:var(--muted);font-weight:500;
  }
  h1,h2,h3{font-family:var(--serif);font-weight:400;letter-spacing:-.01em;line-height:1.04;}
  .display{
    font-family:var(--serif);
    font-weight:400;
    letter-spacing:-.015em;
  }

  /* ---------- header ---------- */
  header.site{
    position:fixed;top:0;left:0;right:0;z-index:120;
    background:rgba(255,255,255,0);
    transition:background .5s var(--ease), box-shadow .5s var(--ease), padding .45s var(--ease), border-color .5s var(--ease);
    border-bottom:1px solid transparent;
  }
  header.site.scrolled{
    background:rgba(255,255,255,.92);
    backdrop-filter:saturate(180%) blur(14px);
    -webkit-backdrop-filter:saturate(180%) blur(14px);
    border-bottom:1px solid var(--hair);
  }
  .nav{
    display:flex;align-items:center;justify-content:space-between;
    height:92px;transition:height .45s var(--ease);
  }
  header.site.scrolled .nav{height:70px;}
  .brand{display:flex;align-items:center;gap:13px;}
  .brand img{height:34px;width:auto;transition:height .45s var(--ease);}
  header.site.scrolled .brand img{height:28px;}
  .brand .word{
    font-family:var(--serif);
    font-size:22px;font-weight:500;letter-spacing:.04em;color:var(--ink);
    line-height:1;white-space:nowrap;
  }
  .nav-links{display:flex;align-items:center;gap:40px;}
  .nav-links a.navlink{
    font-family:var(--sans);
    font-size:12.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-soft);
    font-weight:500;position:relative;padding:6px 0;transition:color .3s var(--ease);
  }
  .nav-links a.navlink::after{
    content:"";position:absolute;left:0;bottom:0;height:1px;width:0;background:var(--cobalt);
    transition:width .35s var(--ease);
  }
  .nav-links a.navlink:hover{color:var(--ink);}
  .nav-links a.navlink:hover::after{width:100%;}

  .btn{
    font-family:var(--sans);font-size:12.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;
    display:inline-flex;align-items:center;gap:10px;
    padding:14px 26px;border:1px solid var(--ink);color:var(--ink);background:transparent;
    transition:all .35s var(--ease);cursor:pointer;line-height:1;
  }
  .btn:hover{background:var(--ink);color:#fff;}
  .btn.cobalt{border-color:var(--cobalt);color:#fff;background:var(--cobalt);}
  .btn.cobalt:hover{background:var(--cobalt-deep);border-color:var(--cobalt-deep);}
  .btn.ghost{border-color:var(--hair);color:var(--ink);}
  .btn.ghost:hover{border-color:var(--ink);background:var(--ink);color:#fff;}
  .nav .btn{padding:12px 22px;}

  .burger{display:none;flex-direction:column;gap:5px;width:30px;height:24px;justify-content:center;background:none;border:none;cursor:pointer;}
  .burger span{height:1.5px;width:100%;background:var(--ink);transition:transform .35s var(--ease),opacity .35s var(--ease);}
  .burger.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
  .burger.open span:nth-child(2){opacity:0;}
  .burger.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}

  .mobile-menu{
    position:fixed;inset:0;z-index:110;background:#fff;
    transform:translateY(-100%);transition:transform .55s var(--ease);
    display:flex;flex-direction:column;justify-content:flex-start;padding:118px var(--gut) 48px;
  }
  .mobile-menu.open{transform:translateY(0);}
  .mobile-menu a{
    font-family:var(--serif);font-size:38px;color:var(--ink);padding:14px 0;
    border-bottom:1px solid var(--hair-soft);font-weight:400;
  }
  .mobile-menu a:last-of-type{border-bottom:none;}
  .mobile-menu .btn{margin-top:34px;align-self:flex-start;}

  /* ---------- hero ---------- */
  .hero{padding-top:188px;padding-bottom:96px;position:relative;}
  .hero-grid{display:grid;grid-template-columns:1fr;gap:0;}
  .hero .eyebrow{margin-bottom:34px;}
  .hero h1{
    font-size:clamp(40px,6.4vw,90px);
    line-height:1.02;
    letter-spacing:-.02em;
    font-weight:400;
    max-width:14ch;
    margin-bottom:0;
  }
  .hero h1 .em{font-style:italic;color:var(--cobalt);font-weight:400;}
  .hero-lower{
    display:grid;grid-template-columns:1fr;gap:40px;margin-top:54px;
    padding-top:42px;border-top:1px solid var(--hair);
    align-items:start;
  }
  .hero-sub{
    font-family:var(--serif-accent);
    font-size:clamp(18px,2vw,22px);
    color:var(--ink-soft);line-height:1.5;max-width:40ch;font-weight:400;
  }
  .hero-actions{display:flex;gap:16px;flex-wrap:wrap;align-items:center;}

  /* ---------- press marquee — dark "press ribbon" ---------- */
  /* A deep ink band between the white sections. Larger white logo cards float on it,
     crisp and full-strength, with a soft dark shadow + a faint cobalt glow for a bold,
     genuinely 3D "as seen in" wall. Timing unchanged. */
  .press{position:relative;padding:64px 0;overflow:hidden;
    background:linear-gradient(180deg,#181a20 0%,#0e0f13 100%);}
  .press::before{content:"";position:absolute;inset:0;pointer-events:none;
    background:radial-gradient(1000px 320px at 50% -10%, rgba(39,101,200,.20), transparent 70%);}
  .press .label-row{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;margin-bottom:38px;}
  .press .label{
    font-family:var(--sans);font-size:11px;letter-spacing:.42em;text-transform:uppercase;color:#9aa1b0;font-weight:600;
  }
  .press .label-row::after{content:"";width:38px;height:1px;
    background:linear-gradient(90deg,transparent,var(--cobalt),transparent);}
  .marquee{position:relative;}
  .marquee::before,.marquee::after{
    content:"";position:absolute;top:0;bottom:0;width:12%;z-index:3;pointer-events:none;
  }
  .marquee::before{left:0;background:linear-gradient(90deg,#121318 35%,rgba(18,19,24,0));}
  .marquee::after{right:0;background:linear-gradient(270deg,#121318 35%,rgba(18,19,24,0));}
  .pressSwiper .swiper-wrapper{transition-timing-function:linear !important;align-items:center;}
  .pressSwiper .swiper-slide{
    width:auto;height:132px;display:flex;align-items:center;justify-content:center;padding:0 42px;
  }
  /* logos are pre-rendered white-on-transparent, so they sit straight on the dark band */
  .press-logo{
    max-height:56px;max-width:230px;width:auto;object-fit:contain;opacity:.9;
    transition:opacity .4s var(--ease),transform .4s var(--ease);-webkit-user-drag:none;
  }
  .press-logo:hover{opacity:1;transform:scale(1.06);}
  /* Mobile: smaller logos + tighter spacing so several show at once (not just one). */
  @media(max-width:600px){
    .press{padding:44px 0;}
    .pressSwiper .swiper-slide{height:92px;padding:0 22px;}
    .press-logo{max-height:38px;max-width:150px;}
  }

  /* ---------- generic section ---------- */
  section.block{padding:clamp(86px,11vw,150px) 0;}
  .sec-head{
    display:grid;grid-template-columns:1fr;gap:22px;margin-bottom:clamp(48px,6vw,86px);
    align-items:end;
  }
  .sec-head .meta{display:flex;align-items:center;gap:22px;}
  .sec-head h2{
    font-size:clamp(34px,5vw,62px);font-weight:400;letter-spacing:-.018em;max-width:18ch;
  }
  .sec-head .lead{
    font-family:var(--serif-accent);font-size:18px;color:var(--ink-soft);max-width:46ch;line-height:1.5;
  }

  /* ---------- expertise ---------- */
  .expertise-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--hair);}
  .exp-col{
    padding:50px 42px 50px 0;border-right:1px solid var(--hair);
    display:flex;flex-direction:column;gap:22px;
  }
  .exp-col:nth-child(2){padding-left:42px;}
  .exp-col:last-child{border-right:none;padding-left:42px;padding-right:0;}
  .exp-num{
    font-family:var(--serif);font-size:46px;color:var(--cobalt);line-height:1;font-weight:400;
  }
  .exp-col h3{font-size:27px;font-weight:500;letter-spacing:-.01em;line-height:1.1;}
  .exp-col p{font-family:var(--sans);font-size:15px;color:var(--ink-soft);line-height:1.65;}

  /* ---------- features carousel ---------- */
  .features{background:var(--bg-tint);border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);}
  /* wider container for the client-features showcase so 5-6 tablets fit in a row */
  .features .wrap{max-width:1760px;}
  .feat-top{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:48px;flex-wrap:wrap;}
  .feat-top .head h2{font-size:clamp(34px,5vw,60px);font-weight:400;letter-spacing:-.018em;}
  .feat-top .head .meta{display:flex;align-items:center;gap:22px;margin-bottom:22px;}
  .feat-nav{display:flex;align-items:center;gap:14px;}
  .nav-arrow{
    width:56px;height:56px;border:1px solid var(--hair);background:#fff;border-radius:50%;
    display:flex;align-items:center;justify-content:center;cursor:pointer;
    transition:all .35s var(--ease);color:var(--ink);
  }
  .nav-arrow:hover{border-color:var(--cobalt);background:var(--cobalt);color:#fff;}
  .nav-arrow svg{width:18px;height:18px;}
  .nav-arrow.swiper-button-disabled{opacity:.35;pointer-events:none;}

  /* clip horizontally so the next card doesn't bleed into the right gutter (kept the
     carousel visually centered); vertical padding + matching negative margin give the
     tablet drop-shadows room so they aren't cut. */
  .featSwiper{overflow:hidden !important;padding:26px 0;margin:-26px 0;}
  .feature-card{
    display:flex;flex-direction:column;background:transparent;border:none;
    height:100%;transition:transform .45s var(--ease);
  }
  .feature-card:hover{ transform:translateY(-4px); }
  /* Real iPad frame (extracted from the original mockup: silver edge, camera,
     rounded corners) layered OVER a generated, uniform article. cqw scales the
     article to the device width. */
  .device{
    position:relative;width:100%;max-width:330px;margin:0 auto;aspect-ratio:743/1030;
    container-type:inline-size;
    filter:drop-shadow(0 5px 9px rgba(17,17,17,.10)) drop-shadow(0 26px 42px rgba(17,17,17,.20));
    transition:transform .5s var(--ease),filter .5s var(--ease);
  }
  .feature-card:hover .device{
    transform:translateY(-4px) scale(1.015);
    filter:drop-shadow(0 10px 16px rgba(17,17,17,.14)) drop-shadow(0 44px 66px rgba(17,17,17,.28));
  }
  .ipad-frame{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2;}
  /* article sits a touch larger than the frame's screen opening so it tucks under
     the bezel (no seams). opening was measured at L5.11 T4.47 W89.77 H91.07 %. */
  .screen{position:absolute;left:4.5%;top:3.8%;width:91%;height:92.4%;
    background:#fff;border-radius:2.2cqw;overflow:hidden;z-index:1;}
  .art{position:absolute;inset:0;display:flex;flex-direction:column;padding:6.4cqw 7cqw 0;text-align:center;}
  .art-mast{display:flex;align-items:center;justify-content:center;height:6cqw;}
  .art-logo{max-height:6cqw;max-width:66%;width:auto;object-fit:contain;}
  .art-word{font-family:var(--serif);font-weight:700;font-size:5.2cqw;letter-spacing:.1em;text-transform:uppercase;color:#141414;}
  .art-rule{height:1px;background:#e8e8e8;margin:3.8cqw 0 3.2cqw;}
  .art-kicker{font-family:var(--sans);font-size:2.1cqw;letter-spacing:.34em;text-transform:uppercase;color:var(--cobalt);font-weight:600;margin-bottom:2.2cqw;}
  .art-head{font-family:var(--serif);font-weight:600;font-size:6.3cqw;line-height:1.08;color:#15161a;margin:0;
    min-height:13.6cqw;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
  .art-byline{font-family:var(--sans);font-size:2.1cqw;letter-spacing:.18em;text-transform:uppercase;color:#a8a8a8;margin:2.8cqw 0 3.8cqw;}
  .art-hero{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:1cqw;flex:none;display:block;}
  .art-body{margin-top:3.8cqw;text-align:justify;column-count:2;column-gap:5cqw;overflow:hidden;flex:1;}
  .art-body p{font-family:var(--serif-accent);font-size:2.5cqw;line-height:1.5;color:#9b9b9b;margin:0 0 1.8cqw;}
  .art-body p:first-of-type::first-letter{font-family:var(--serif);font-size:6.5cqw;line-height:.78;float:left;margin:.5cqw 1cqw 0 0;color:#4a4a4a;font-weight:600;}
  .screen-gloss{position:absolute;inset:0;pointer-events:none;
    background:linear-gradient(122deg,rgba(255,255,255,.40) 0%,rgba(255,255,255,.06) 24%,rgba(255,255,255,0) 46%,rgba(255,255,255,0) 66%,rgba(255,255,255,.14) 80%,rgba(255,255,255,0) 100%);}
  .feature-card .body{
    padding:22px 6px 4px;display:flex;flex-direction:column;align-items:center;gap:12px;flex:1;text-align:center;
  }
  .feature-card .outlet{
    font-family:var(--sans);font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--cobalt);font-weight:600;
  }
  .feature-card .title{
    font-family:var(--serif);font-size:25px;font-weight:500;color:var(--ink);line-height:1.18;letter-spacing:-.01em;
  }
  .feature-card .read{
    margin-top:auto;font-family:var(--sans);font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;
    color:var(--ink);display:inline-flex;align-items:center;gap:10px;transition:gap .35s var(--ease),color .35s var(--ease);
  }
  .feature-card:hover .read{color:var(--cobalt);gap:16px;}
  .feature-card .read .arr{transition:transform .35s var(--ease);}

  .feat-foot{display:flex;align-items:center;justify-content:center;margin-top:48px;}
  #featPagination{position:static;display:flex;justify-content:center;gap:9px;width:auto;}
  #featPagination .swiper-pagination-bullet{
    width:7px;height:7px;background:var(--ink);opacity:.18;border-radius:50%;transition:all .35s var(--ease);margin:0 !important;
  }
  #featPagination .swiper-pagination-bullet-active{opacity:1;background:var(--cobalt);width:26px;border-radius:4px;}

  /* ---------- stats ---------- */
  .stats{padding:clamp(86px,10vw,140px) 0;text-align:center;}
  .stats .kicker{margin-bottom:18px;}
  .stats h2{font-size:clamp(28px,3.6vw,44px);font-weight:400;color:var(--ink);margin-bottom:clamp(50px,6vw,84px);font-style:italic;letter-spacing:-.01em;}
  .stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);}
  .stat{padding:clamp(40px,5vw,64px) 24px;border-right:1px solid var(--hair);}
  .stat:last-child{border-right:none;}
  .stat .num{
    font-family:var(--serif);font-size:clamp(60px,8vw,112px);line-height:1;color:var(--cobalt);font-weight:300;letter-spacing:-.02em;
    display:flex;justify-content:center;align-items:baseline;
  }
  .stat .num .suf{font-size:.5em;color:var(--ink);margin-left:2px;}
  .stat .cap{
    font-family:var(--sans);font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);margin-top:22px;font-weight:500;
  }

  /* ---------- testimonials ---------- */
  .testi{background:var(--ink);color:#fff;padding:clamp(96px,11vw,160px) 0;position:relative;}
  .testi .kicker{color:#7fa4e6;margin-bottom:46px;}
  .testi .kicker::before{background:#7fa4e6;}
  .quoteSwiper{max-width:980px;margin:0 auto;}
  .quote-slide{text-align:left;}
  .quote-mark{
    font-family:var(--serif);font-size:120px;line-height:.4;color:var(--cobalt);height:64px;display:block;font-style:italic;
  }
  .quote-text{
    font-family:var(--serif);font-size:clamp(26px,3.6vw,46px);line-height:1.28;font-weight:300;letter-spacing:-.01em;color:#fff;
    margin-bottom:46px;
  }
  .quote-meta{display:flex;align-items:center;gap:18px;}
  .quote-meta .bar{width:34px;height:1px;background:var(--cobalt);}
  .quote-name{font-family:var(--sans);font-size:14px;font-weight:600;letter-spacing:.06em;color:#fff;}
  .quote-role{font-family:var(--sans);font-size:12.5px;color:#9a9a9a;letter-spacing:.04em;margin-top:3px;}
  .testi-controls{display:flex;align-items:center;gap:20px;margin-top:64px;}
  .nav-arrow.dark{border-color:rgba(255,255,255,.22);background:transparent;color:#fff;}
  .nav-arrow.dark:hover{border-color:var(--cobalt);background:var(--cobalt);color:#fff;}
  .quote-count{font-family:var(--sans);font-size:12px;letter-spacing:.18em;color:#8a8a8a;}
  .quote-count .cur{color:#fff;}

  /* ---------- final cta ---------- */
  .cta{padding:clamp(96px,12vw,170px) 0;text-align:center;}
  .cta .kicker{margin-bottom:30px;}
  .cta h2{font-size:clamp(40px,6vw,86px);font-weight:400;letter-spacing:-.02em;line-height:1.02;max-width:14ch;margin:0 auto 36px;}
  .cta h2 .em{font-style:italic;color:var(--cobalt);}
  .cta p{
    font-family:var(--serif-accent);font-size:clamp(17px,1.9vw,21px);color:var(--ink-soft);max-width:54ch;margin:0 auto 48px;line-height:1.55;
  }

  /* ---------- footer ---------- */
  footer.site{border-top:1px solid var(--hair);padding:72px 0 40px;}
  .foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:48px;align-items:start;}
  .foot-brand{display:flex;flex-direction:column;gap:18px;max-width:34ch;}
  .foot-brand .brandline{display:flex;align-items:center;gap:12px;}
  .foot-brand .brandline img{height:30px;}
  .foot-brand .brandline .word{font-family:var(--serif);font-size:21px;font-weight:500;letter-spacing:.04em;}
  .foot-brand p{font-family:var(--serif-accent);font-size:16px;color:var(--ink-soft);line-height:1.5;}
  .foot-col h4{font-family:var(--sans);font-size:11px;letter-spacing:.26em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:22px;}
  .foot-col a{display:block;font-family:var(--sans);font-size:15px;color:var(--ink-soft);padding:7px 0;transition:color .3s var(--ease);width:fit-content;}
  .foot-col a:hover{color:var(--cobalt);}
  .foot-bottom{
    display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;
    margin-top:64px;padding-top:30px;border-top:1px solid var(--hair);
  }
  .foot-bottom .legal{font-family:var(--sans);font-size:12.5px;color:var(--muted);letter-spacing:.03em;}
  .foot-bottom .back{font-family:var(--sans);font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--ink-soft);font-weight:600;cursor:pointer;display:inline-flex;gap:10px;align-items:center;transition:color .3s var(--ease);}
  .foot-bottom .back:hover{color:var(--cobalt);}

  /* ---------- reveal ---------- */
  .reveal{opacity:0;transform:translateY(26px);transition:opacity 1s var(--ease),transform 1s var(--ease);}
  .reveal.in{opacity:1;transform:none;}
  /* Above-the-fold hero content must paint immediately — never gate the LCP
     element behind deferred JS, or mobile LCP suffers badly. */
  .hero .reveal{opacity:1;transform:none;}

  /* ---------- responsive ---------- */
  @media(min-width:900px){
    .hero-lower{grid-template-columns:1.1fr .9fr;align-items:end;}
    .hero-actions{justify-content:flex-end;}
    .sec-head{grid-template-columns:1.3fr 1fr;}
    .sec-head .meta{flex-direction:column;align-items:flex-start;gap:14px;}
  }
  @media(max-width:899px){
    .nav-links{display:none;}
    .nav .btn{display:none;}
    .burger{display:flex;}
    .expertise-grid{grid-template-columns:1fr;border-top:none;}
    .exp-col{border-right:none;border-top:1px solid var(--hair);padding:38px 0 !important;}
    .stat-grid{grid-template-columns:1fr;}
    .stat{border-right:none;border-bottom:1px solid var(--hair);}
    .stat:last-child{border-bottom:none;}
    .foot-grid{grid-template-columns:1fr;gap:44px;}
    .feat-top{flex-direction:column;align-items:flex-start;}
  }
  @media(max-width:480px){
    .mobile-menu a{font-size:30px;}
    .quote-mark{font-size:90px;}
  }
  @media(prefers-reduced-motion:reduce){
    .reveal{opacity:1;transform:none;transition:none;}
    html{scroll-behavior:auto;}
  }

/* ========================================================================
 * SECTION 2 — NEW: blog / post-listing + legacy Divi wrapper
 * Uses the same token system as Section 1 above (--ink, --cobalt, --serif,
 * --sans, --maxw, --gut, --hair, --muted, --ease, --bg-tint).
 * ======================================================================== */

/* ---------- blog: post grid + card ---------- */
.post-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:var(--gut) calc(var(--gut) * .6);
  padding:clamp(48px,6vw,86px) 0;
}
.post-card{
  display:flex;flex-direction:column;
  background:var(--white);
  transition:transform .45s var(--ease);
}
.post-card:hover{transform:translateY(-4px);}
.post-card a.post-card-link{display:flex;flex-direction:column;gap:16px;height:100%;}
.post-card .thumb{
  position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;
  background:var(--hair-soft);border-radius:2px;
}
.post-card .thumb img{
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .6s var(--ease);
}
.post-card:hover .thumb img{transform:scale(1.04);}
.post-card .cat{
  font-family:var(--sans);font-size:11px;font-weight:600;letter-spacing:.22em;
  text-transform:uppercase;color:var(--cobalt);
}
.post-card h3{
  font-family:var(--serif);font-size:24px;font-weight:500;letter-spacing:-.01em;
  line-height:1.2;color:var(--ink);
}
.post-card .excerpt{
  font-family:var(--sans);font-size:14.5px;line-height:1.65;color:var(--ink-soft);
  flex:1;
}
.post-card .date{
  font-family:var(--sans);font-size:12px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--muted);margin-top:auto;padding-top:4px;
}

.cat-filter{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;
  padding:28px 0;border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);
  margin-bottom:8px;
}
.cat-filter a{
  font-family:var(--sans);font-size:12.5px;letter-spacing:.1em;text-transform:uppercase;
  font-weight:500;color:var(--ink-soft);padding:6px 0;position:relative;transition:color .3s var(--ease);
}
.cat-filter a::after{
  content:"";position:absolute;left:0;bottom:0;height:1px;width:0;background:var(--cobalt);
  transition:width .35s var(--ease);
}
.cat-filter a:hover,
.cat-filter a.active{color:var(--ink);}
.cat-filter a:hover::after,
.cat-filter a.active::after{width:100%;}

.pagination{
  display:flex;align-items:center;justify-content:center;gap:14px;
  padding:clamp(40px,5vw,64px) 0;
}
.pagination a,
.pagination span{
  font-family:var(--sans);font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;
  font-weight:600;color:var(--ink-soft);padding:10px 16px;border:1px solid var(--hair);
  transition:all .3s var(--ease);
}
.pagination a:hover{border-color:var(--cobalt);color:#fff;background:var(--cobalt);}
.pagination .current{border-color:var(--ink);color:#fff;background:var(--ink);}

@media(max-width:899px){
  .post-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:600px){
  .post-grid{grid-template-columns:1fr;}
}

/* ---------- legacy Divi post-content wrapper ----------
   Old posts built with the Divi builder still contain et_pb_* shortcode
   markup/output. We don't fight Divi's own inline styles here — this
   wrapper just gives that content the same max-width/gutter rhythm as the
   rest of the site and sane fallback typography for any plain-text
   paragraphs Divi didn't style itself. */
.divi-legacy{
  max-width:var(--maxw);
  margin:0 auto;
  padding:clamp(40px,6vw,86px) var(--gut) clamp(64px,8vw,120px);
}
.divi-legacy h1,
.divi-legacy h2,
.divi-legacy h3{
  font-family:var(--serif);font-weight:500;letter-spacing:-.01em;color:var(--ink);
  line-height:1.15;margin:1.4em 0 .6em;
}
.divi-legacy h1{font-size:clamp(30px,4vw,48px);}
.divi-legacy h2{font-size:clamp(26px,3.2vw,36px);}
.divi-legacy h3{font-size:clamp(20px,2.4vw,26px);}
.divi-legacy p{
  font-family:var(--sans);font-size:16px;line-height:1.75;color:var(--ink-soft);
  margin:0 0 1.2em;
}
.divi-legacy a{color:var(--cobalt);text-decoration:underline;text-underline-offset:2px;}
.divi-legacy img{max-width:100%;height:auto;display:block;margin:1.4em 0;}
.divi-legacy ul,
.divi-legacy ol{margin:0 0 1.2em 1.4em;color:var(--ink-soft);font-family:var(--sans);line-height:1.75;}
.divi-legacy blockquote{
  border-left:2px solid var(--cobalt);margin:1.6em 0;padding:.4em 0 .4em 1.4em;
  font-family:var(--serif-accent);font-style:italic;color:var(--ink-soft);font-size:19px;
}

/* =====================================================================
 * SECTION 3 — NEW: contact page (page-contact.php)
 * Reuses .hero / .kicker / .stats / .stat-grid / .block / .sec-head
 * tokens from Section 1 as-is; the rules below only add what those
 * sections don't already cover — the two-column message/Calendly split,
 * WPForms field overrides, and the contact-info row.
 * ===================================================================== */

/* ---------- two-column "Send a Message" / "Or Book a Call" ---------- */
.contact-split{
  padding:0 0 clamp(70px,8vw,120px);
}
.contact-split .wrap{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(48px,6vw,80px);
}
.contact-col h2{
  font-family:var(--serif);font-weight:500;letter-spacing:-.01em;color:var(--ink);
  font-size:clamp(24px,2.6vw,30px);margin-bottom:14px;
}
.contact-col > p.lead-sm{
  font-family:var(--sans);font-size:15px;line-height:1.7;color:var(--ink-soft);
  margin-bottom:32px;max-width:44ch;
}

/* WPForms Lite — light-touch overrides so its default markup matches the
   token system without touching plugin files. Scoped to .contact-col so
   WPForms embeds elsewhere on the site are unaffected. */
.contact-col .wpforms-container{margin:0;max-width:100%;}
.contact-col .wpforms-form label.wpforms-field-label{
  font-family:var(--sans);font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;
  font-weight:600;color:var(--ink);margin-bottom:8px;
}
.contact-col .wpforms-form input[type=text],
.contact-col .wpforms-form input[type=email],
.contact-col .wpforms-form input[type=tel],
.contact-col .wpforms-form textarea,
.contact-col .wpforms-form select{
  font-family:var(--sans);font-size:15px;color:var(--ink);
  border:1px solid var(--hair);border-radius:2px;background:var(--white);
  padding:13px 16px;transition:border-color .3s var(--ease);
}
.contact-col .wpforms-form input[type=text]:focus,
.contact-col .wpforms-form input[type=email]:focus,
.contact-col .wpforms-form input[type=tel]:focus,
.contact-col .wpforms-form textarea:focus,
.contact-col .wpforms-form select:focus{
  border-color:var(--cobalt);outline:none;
}
.contact-col .wpforms-form button[type=submit],
.contact-col .wpforms-form .wpforms-submit{
  font-family:var(--sans);font-size:12.5px;letter-spacing:.12em;text-transform:uppercase;
  font-weight:600;background:var(--cobalt);color:#fff;border:1px solid var(--cobalt);
  border-radius:2px;padding:14px 30px;transition:background .3s var(--ease),border-color .3s var(--ease);
}
.contact-col .wpforms-form button[type=submit]:hover,
.contact-col .wpforms-form .wpforms-submit:hover{
  background:var(--cobalt-deep);border-color:var(--cobalt-deep);
}

/* ---------- Calendly inline embed ---------- */
.calendly-embed{
  width:100%;
  min-width:280px;
  height:700px;
  border:1px solid var(--hair);
  border-radius:4px;
  overflow:hidden;
}

/* ---------- contact-info row ---------- */
.contact-info{
  border-top:1px solid var(--hair);
  padding:clamp(48px,6vw,72px) 0 clamp(70px,8vw,120px);
}
.contact-info .wrap{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(28px,4vw,40px);
  text-align:center;
}
.contact-info .info-item .cap{
  font-family:var(--sans);font-size:11px;letter-spacing:.26em;text-transform:uppercase;
  color:var(--muted);font-weight:600;margin-bottom:12px;
}
.contact-info .info-item a,
.contact-info .info-item span.val{
  font-family:var(--serif);font-size:clamp(19px,2vw,22px);color:var(--ink);
  text-decoration:none;
}
.contact-info .info-item a:hover{color:var(--cobalt);}

@media(min-width:900px){
  .contact-split .wrap{grid-template-columns:1fr 1fr;align-items:start;}
  .contact-info .wrap{grid-template-columns:repeat(3,1fr);}
  .contact-info .info-item{border-right:1px solid var(--hair);}
  .contact-info .info-item:last-child{border-right:none;}
}
