/* =====================================================================
   YOLANDA JASSO | SHIFT THE CREATIVE: DESIGN SYSTEM
   One stylesheet for every page. Components are built from the
   levels below, smallest first (atomic design).

   TOKENS     :root colors (--ink, --text, --warm, --accent, --ice, --rule,
              --card, --highlight, --muted, --success, --error),
              .case-page type scale (--fs-h1 to --fs-label)
   ATOMS      .btn / .btn.alt, .kicker, tag (.case-tags li, .cs-tags li, .skills span),
              form field (.ct-field label, input, select, textarea),
              .sr-only, .skip, focus ring (:focus-visible)
   MOLECULES  .case-quote, .case-cards > li, .case-list > li, .ba figure,
              .case-figure, .case-table, .bp service blueprint, .next-cs a, .cs-item
   ORGANISMS  .site-head (logo, .site-nav, .dd dropdown, .menu-btn),
              .jump bar, .case-hero, .cs-card, .ai-feature, .milestone,
              .cta-band, .ia site map, .ct-form contact form, .res-jobs, .site-foot
   TEMPLATES  .case-page with alternating .case-section / .case-section.tint,
              home (body.home), case study, resume, AI work and contact
              (body.case-study). The AI concept prototype has its own files.
   RULES      Text 4.5:1 contrast or better. Targets 24x24px or larger.
              One column below 900px for heroes, mobile menu below 760px.
   ===================================================================== */
:root{
  --ink:#14213d; --text:#000000; --rule:#e4e7ec; --bg:#faf8f4; --ice:#E3E9EE; --lavender-gray:#B3C3D1; --pewter:#7D93A8; --snow:#FBF8F3; --card:#ffffff;
  --accent:#2350a8; --accent-tint:rgba(35,80,168,.08); --warm:#9a4413; --warm-tint:rgba(194,100,43,.09);
  --navy:#101a33;
  --highlight:#fbefd6; /* soft label fill, e.g. Sign-in tag in the site map */
  --muted:#4a5468;     /* secondary text, 7.6:1 on white */
  --success:#0b5a2a;   /* form success message */
  --error:#9b1c1c;     /* form error message */
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:17px/1.65 Inter,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:var(--accent);text-underline-offset:3px}
img{max-width:100%}
.wrap{max-width:1080px;margin:0 auto;padding:0 28px}
.col{max-width:740px}
h1,h2,h3,h4{font-family:Fraunces,Georgia,serif;font-weight:600;letter-spacing:-.01em;color:var(--text)}
h1{font-size:clamp(36px,5.2vw,56px);line-height:1.06;margin:0 0 20px}
h2{font-size:clamp(26px,3.2vw,34px);line-height:1.15;margin:56px 0 14px}
h3{font-size:20px;line-height:1.3;margin:28px 0 8px}
p{margin:0 0 16px}
.kicker{font-size:12.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--warm);margin:0 0 14px}
.lede{font-size:20px;line-height:1.55;max-width:760px}

/* skip link */
.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:8px 14px;border-radius:8px;z-index:100}
.skip:focus{left:12px}

/* site header */
.site-head{position:sticky;top:0;z-index:50;background:var(--lavender-gray);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--rule)}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;height:68px}
.logo{font-family:Fraunces,Georgia,serif;font-weight:600;font-size:21px;color:var(--ink);text-decoration:none;white-space:nowrap;padding:4px 0;border-bottom:2px solid transparent}
.logo:hover{border-bottom-color:var(--navy)}
.site-nav{display:flex;gap:26px;align-items:center}
.site-nav a{color:var(--ink);text-decoration:none;font-size:15px;font-weight:500;padding:6px 0;border-bottom:2px solid transparent}
.site-nav a:hover,.site-nav a[aria-current=page]{border-bottom-color:var(--navy)}
.menu-btn{display:none;border:1px solid var(--rule);background:var(--card);border-radius:10px;padding:8px 12px;font:inherit;font-size:14px;color:var(--ink);cursor:pointer}
@media (max-width:760px){
  .menu-btn{display:block}
  .site-nav{display:none;position:absolute;top:68px;left:0;right:0;background:var(--bg);flex-direction:column;align-items:flex-start;gap:0;padding:8px 28px 18px;border-bottom:1px solid var(--rule)}
  .site-nav.open{display:flex}
  .site-nav a{padding:12px 0;width:100%;font-size:17px}
}

/* sections */
section{padding:72px 0}
.hero{padding:96px 0 64px}
.hero .lede{margin-bottom:28px}
.btn{display:inline-flex;align-items:center;gap:8px;border-radius:10px;padding:12px 18px;font-weight:600;font-size:15px;text-decoration:none;background:var(--ink);color:#fff;border:1px solid var(--ink);white-space:nowrap}
.btn.alt{background:transparent;color:var(--ink)}
.btns{display:flex;flex-wrap:wrap;gap:10px}

/* home cards */
.work-grid{display:grid;gap:24px;margin-top:28px}
.work{display:grid;grid-template-columns:1fr 1.05fr;background:var(--card);border:1px solid var(--rule);border-radius:20px;overflow:hidden;text-decoration:none;color:var(--text);transition:box-shadow .2s,transform .2s}
.work:hover{box-shadow:0 18px 40px rgba(20,33,61,.10);transform:translateY(-2px)}
.work .art{min-height:260px;display:flex;align-items:flex-end;padding:28px;color:#fff;position:relative}
.work .art .num{font-family:Fraunces,Georgia,serif;font-size:64px;line-height:1;opacity:.9}
.work .body{padding:32px}
.work .body h3{margin:0 0 8px;font-size:24px}
.work .shows{display:inline-block;font-size:12.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--warm);margin-bottom:10px}
.work .tags{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 18px}
.work .tags span{font-size:13px;border:1px solid var(--rule);border-radius:999px;padding:4px 10px}
.work .go{font-weight:600;color:var(--accent)}
@media (max-width:760px){.work{grid-template-columns:1fr}.work .art{min-height:150px}}

.pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}
.pillar{border-top:2px solid var(--ink);padding-top:14px}
.pillar b{display:block;font-family:Fraunces,Georgia,serif;font-size:19px;margin-bottom:6px}
@media (max-width:760px){.pillars{grid-template-columns:1fr}}

/* case study */
.cs-hero{padding:80px 0 10px}
.cs-hero .sub{font-size:20px;line-height:1.5;max-width:760px}
.meta{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:36px;padding-top:24px;border-top:1px solid var(--rule)}
.meta dt{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px}
.meta dd{margin:0;font-size:15px;line-height:1.5}
.meta.m3{grid-template-columns:repeat(3,1fr);column-gap:32px}
@media (max-width:760px){.meta,.meta.m3{grid-template-columns:1fr 1fr}}
.cs-body{padding:24px 0 72px}
.cs-body h2{padding-top:36px;border-top:1px solid var(--rule)}
.cs-body h2:first-child{border-top:0;padding-top:0;margin-top:0}
.cs-body ul,.cs-body ol{padding-left:22px}
.cs-body li{margin-bottom:8px}
.cs-body table{width:100%;border-collapse:collapse;font-size:15px;margin:24px 0;background:var(--card);border:1px solid var(--rule);border-radius:12px;overflow:hidden}
.cs-body th,.cs-body td{text-align:left;vertical-align:top;padding:12px 14px;border-bottom:1px solid var(--rule)}
.cs-body th{font-size:12px;letter-spacing:.07em;text-transform:uppercase;background:#f3f4f6}
.cs-body tr:last-child td{border-bottom:0}
.todo{background:#fff6d9;border:1px dashed #d9a400;border-radius:12px;padding:12px 16px;font-size:15px;margin:20px 0}
.todo::before{content:"To add before publishing: ";font-weight:700}

.next-cs{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}
.next-cs a{display:block;border:1px solid var(--rule);background:var(--card);border-radius:14px;padding:18px 20px;text-decoration:none;color:var(--text)}
.next-cs a small{display:block;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--warm);margin-bottom:4px}
.next-cs a b{font-family:Fraunces,Georgia,serif;font-size:18px;color:var(--ink)}
@media (max-width:760px){.next-cs{grid-template-columns:1fr}}

/* craft */
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
.piece{margin:0;background:var(--card);border:1px solid var(--rule);border-radius:16px;overflow:hidden}
.piece .ph{aspect-ratio:4/5;display:grid;place-items:center;text-align:center;font-size:14px;padding:20px;background:repeating-linear-gradient(45deg,#f1ece4,#f1ece4 12px,#ebe4d9 12px,#ebe4d9 24px)}
.piece img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover}
.piece figcaption{padding:14px 16px;font-size:15px}
.piece figcaption b{display:block;font-family:Fraunces,Georgia,serif;font-size:17px}
@media (max-width:760px){.gallery{grid-template-columns:1fr 1fr}}

/* resume */
.res-grid{display:grid;grid-template-columns:1fr 2.2fr;gap:40px;margin-top:20px}
.res-grid h2{font-size:22px;margin:0}
.job{margin-bottom:28px}
.job h3{margin:0;font-size:19px}
.job .when{font-size:14.5px;margin:2px 0 8px}
.job ul{margin:0;padding-left:20px}
.job li{margin-bottom:6px}
.skills{display:flex;flex-wrap:wrap;gap:8px}
.skills span{border:1px solid var(--rule);background:var(--card);border-radius:999px;padding:6px 12px;font-size:14.5px}
.res-row{padding:32px 0;border-top:1px solid var(--rule)}
@media (max-width:760px){.res-grid{grid-template-columns:1fr;gap:12px}}

/* contact */
.contact-card{background:var(--navy);color:#e9edf6;border-radius:22px;padding:48px;margin-top:28px}
.contact-card h2{color:#fff;margin-top:0}
.contact-card a.big{display:block;font-family:Fraunces,Georgia,serif;font-size:clamp(22px,3vw,32px);color:#fff;margin:6px 0 18px;word-break:break-word}
.contact-card .row{display:flex;gap:12px;flex-wrap:wrap}
.contact-card .btn{background:#fff;color:var(--navy);border-color:#fff}
.contact-card .btn.alt{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}

/* footer */
.site-foot{background:#fff;border-top:1px solid var(--rule);padding:36px 0 56px;font-size:15px}
.site-foot .wrap{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.site-foot a{color:var(--ink)}

/* case studies dropdown */
.dd{position:relative}
.dd-btn{display:inline-flex;align-items:center;gap:6px;background:none;border:0;border-bottom:2px solid transparent;padding:6px 0;font:inherit;font-size:15px;font-weight:500;color:var(--ink);cursor:pointer}
.dd-btn:hover,.dd-btn.on{border-bottom-color:var(--warm)}
.dd-btn .chev{font-size:11px;transition:transform .2s}
.dd-btn[aria-expanded=true] .chev{transform:rotate(180deg)}
.dd-menu{display:none;position:absolute;right:-16px;top:calc(100% + 14px);width:min(760px,calc(100vw - 40px));background:var(--card);border:1px solid var(--rule);border-radius:16px;box-shadow:0 22px 50px rgba(20,33,61,.12);padding:16px;grid-template-columns:repeat(3,1fr);gap:12px;z-index:60}
.dd-menu.open{display:grid}
.cs-item{display:block;border:1px solid var(--rule);border-radius:12px;padding:14px 16px;text-decoration:none;color:var(--text)}
.site-nav .cs-item{border-bottom:1px solid var(--rule);padding:14px 16px}
.site-nav .cs-item:hover,.site-nav .cs-item.on{border-color:var(--ink)}
.cs-item:hover,.cs-item.on{border-color:var(--ink)}
.cs-item small{display:block;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--warm);margin-bottom:4px}
.cs-item b{display:block;font-family:Fraunces,Georgia,serif;font-size:17px;line-height:1.25;margin-bottom:4px;color:var(--ink)}
.cs-item span{font-size:13.5px;line-height:1.4;display:block}
.site-nav .cs-all{grid-column:1/-1;border:0;font-size:14px;font-weight:600;color:var(--accent);padding:4px 2px 0}
@media (max-width:760px){
  .dd{width:100%}
  .dd-btn{width:100%;justify-content:space-between;padding:12px 0;font-size:17px;border-bottom:0}
  .dd-menu{position:static;width:auto;box-shadow:none;border:0;padding:0 0 8px;grid-template-columns:1fr;gap:8px}
  .cs-item{padding:12px 14px}
}

/* ---------- home v2 ---------- */
.home-hero{padding:88px 0 72px;background:#fff}
.intro{display:grid;grid-template-columns:1.6fr .8fr;gap:48px;align-items:start}
.intro h1{margin-bottom:22px}
/* homepage headline, 20% smaller than the site-wide h1 */
.home-hero:not(.stc-hero) h1{font-size:clamp(29px,4.16vw,45px)}
/* line the card up with the top of the headline: kicker line height (12.5px x 1.65) + its 14px bottom margin */
.home-hero:not(.stc-hero) .intro-card{margin-top:calc(12.5px * 1.65 + 14px)}
.intro .lede{margin-bottom:0}
.intro-card{background:var(--navy);color:#e9edf6;border-radius:20px;padding:28px}
.intro-card .ic-k{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#ffb27a;margin:0 0 8px}
.intro-card .ic-roles{font-family:Fraunces,Georgia,serif;font-size:24px;line-height:1.25;color:#fff;margin:0 0 22px}
.ic-btns{display:flex;gap:10px;flex-wrap:wrap}
.intro-card .btn{background:#fff;color:var(--navy);border-color:#fff}
.intro-card .btn.alt{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
@media (max-width:860px){.intro{grid-template-columns:1fr;gap:28px}.home-hero:not(.stc-hero) .intro-card{margin-top:0}}

.home-work{padding-top:24px}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:28px}
.sec-head h2{margin:0}
.sec-head p{margin:0}
/* case study cards: list reset so cards line up with the container edges */
.cs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0;padding:0;list-style:none}
.cs-card{position:relative;display:flex;flex-direction:column;margin:0;background:var(--card);border:1px solid var(--rule);border-radius:20px;overflow:hidden;color:var(--text);transition:box-shadow .2s,transform .2s}
.cs-card:hover{box-shadow:0 18px 40px rgba(20,33,61,.12);transform:translateY(-3px)}
/* focus ring on the whole card when its link has keyboard focus */
.cs-card:has(.cs-link:focus-visible){outline:3px solid var(--ink);outline-offset:3px}
.cs-card .art{position:relative;aspect-ratio:16/10;padding:0;background:#efe9df;border-bottom:1px solid var(--rule)}
.cs-card .art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top left}
.cs-card .body{padding:24px;display:flex;flex-direction:column;flex:1}
.cs-card .shows{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--warm);margin:0 0 8px}
.cs-card h3{margin:0 0 8px;font-size:21px}
.cs-card .desc{font-size:15.5px;line-height:1.55;margin:0 0 16px}
/* CTA link stretches over the whole card, so the full card is clickable */
.cs-card .cs-link{margin-top:auto;font-weight:600;line-height:1.4;color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.cs-card .cs-link:hover{text-decoration-thickness:2px}
.cs-card .cs-link:focus-visible{outline:none}
.cs-card .cs-link::after{content:"";position:absolute;inset:0;z-index:1}
.cs-card .arrow{display:inline}
@media (max-width:980px){.cs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.cs-grid{grid-template-columns:1fr}}
@media (forced-colors:active){.cs-card{border-color:CanvasText}.cs-card:has(.cs-link:focus-visible){outline-color:Highlight}}

.home-ai{border-top:1px solid var(--rule)}

.craft-promo{padding:0 0 88px}
.promo{display:grid;grid-template-columns:.9fr 1.1fr;gap:40px;align-items:center;background:#efe7db;border-radius:24px;padding:44px}
.promo-text h2{margin:0 0 12px}
.promo-text p{margin:0 0 22px}
.promo-strip{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px;text-decoration:none}
.promo-strip .tile{aspect-ratio:3/4;border-radius:14px;display:grid;place-items:end start;padding:12px}
.promo-strip .tile em{font-style:normal;font-size:12.5px;background:rgba(255,255,255,.85);color:var(--text);border-radius:999px;padding:3px 10px}
.promo-strip .t1{background:linear-gradient(160deg,#c2642b 0 35%,#e8c9a6 35% 60%,#14213d 60%);transform:rotate(-2deg)}
.promo-strip .t2{background:repeating-linear-gradient(45deg,#d9cbb6,#d9cbb6 10px,#cdbb9f 10px,#cdbb9f 20px);margin-top:28px}
.promo-strip .t3{background:radial-gradient(circle at 30% 30%,#f0a36c 0 22%,transparent 23%),linear-gradient(200deg,#2350a8,#101a33);transform:rotate(2deg)}
@media (max-width:860px){.promo{grid-template-columns:1fr;padding:28px}}

/* screenshot placeholders: an <img> sits on top and hides the note once the file exists */
.shot-ph{position:relative;margin:28px 0;border:1px solid var(--rule);border-radius:16px;background:var(--card);overflow:hidden;aspect-ratio:16/10;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:24px}
.shot-ph.tall{aspect-ratio:4/5}
.shot-ph b{font-size:15px;margin-bottom:4px;color:var(--text)}
.shot-ph span{font-size:14px;max-width:460px;color:var(--text)}
.shot-ph code{font-size:12.5px;background:#fff;border:1px solid var(--rule);border-radius:6px;padding:2px 8px;margin-top:10px;color:var(--text)}
.shot-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;background:#fff}
.shot-ph + figcaption,.shot-cap{font-size:14px;margin:-16px 0 24px}
.shot-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:28px 0}
.shot-grid .shot-ph{margin:0}
@media (max-width:640px){.shot-grid{grid-template-columns:1fr}}

/* ---------- accessibility (WCAG 2.2) ---------- */
html{scroll-padding-top:96px}
:focus-visible{outline:3px solid #2350a8;outline-offset:3px;border-radius:4px}
.site-head :focus-visible,.dd-menu :focus-visible{outline-offset:2px}
.btn:focus-visible{outline:3px solid #2350a8;outline-offset:3px}
.intro-card :focus-visible,.contact-card :focus-visible{outline-color:#ffb27a}
.site-foot a{display:inline-block;padding:4px 2px;min-height:24px}
.site-nav a,.dd-btn{min-height:24px}
.cs-body a,.col a{text-decoration-thickness:1px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}.cs-card:hover,.work:hover{transform:none}}
.promo > *{min-width:0}
@media (max-width:640px){
  .promo{padding:22px;gap:24px}
  .promo-strip{gap:8px}
  .cs-body table,.cs-body thead,.cs-body tbody{display:block}
  .cs-body table{overflow-x:auto;-webkit-overflow-scrolling:touch}
}
.promo{overflow:hidden}

/* concise case study blocks */
.tldr{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0 0 20px}
.tldr>div{background:var(--card);border:1px solid var(--rule);border-radius:14px;padding:16px 18px;font-size:16px;line-height:1.5;color:var(--text)}
.tldr span{display:block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text);margin-bottom:6px}
.impact{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 12px;padding:20px 0 0;border-top:2px solid var(--ink)}
.impact b{display:block;font-family:Fraunces,Georgia,serif;font-size:34px;line-height:1.1;color:var(--text);margin-bottom:6px}
.impact span{display:block;font-size:14px;line-height:1.4;color:var(--text)}
.cs-body ul.tight{list-style:none;padding:0;margin:12px 0}
.cs-body ul.tight li{padding:10px 0;border-bottom:1px solid var(--rule);margin:0}
.cs-body ul.tight li:last-child{border-bottom:0}
p.note{font-size:15px;color:var(--text);border-left:3px solid var(--ink);padding-left:12px}
.cs-body ol.steps{list-style:none;padding:0;counter-reset:s;margin:12px 0}
.cs-body ol.steps li{counter-increment:s;position:relative;padding:4px 0 12px 46px;margin:0}
.cs-body ol.steps li::before{content:counter(s);position:absolute;left:0;top:2px;width:30px;height:30px;border-radius:50%;background:var(--ink);color:#fff;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center}
.decide{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:16px 0}
.decide>div{background:var(--card);border:1px solid var(--rule);border-radius:14px;padding:16px 18px}
.decide b{display:block;font-size:16px;color:var(--text);margin-bottom:6px}
.decide p{margin:0;font-size:15px;line-height:1.5;color:var(--text)}
blockquote.pull{margin:16px 0;padding:4px 0 4px 20px;border-left:4px solid var(--warm);font-family:Fraunces,Georgia,serif;font-size:21px;line-height:1.45;color:var(--text)}
p.team{font-size:15px;color:var(--text);line-height:1.7}
@media (max-width:760px){
  .tldr,.decide{grid-template-columns:1fr}
  .impact{grid-template-columns:1fr 1fr}
  .impact b{font-size:28px}
}

/* wide grid layout for concise case studies */
.cs-body .col.wide{max-width:none}
.col.wide .tldr{gap:20px}
.col.wide .impact{gap:24px;margin-bottom:8px}
.col.wide .row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:32px;padding:44px 0;border-top:1px solid var(--rule)}
.col.wide .row>h2{grid-column:1 / span 4;margin:0;padding:0 24px 16px 0;border:0;font-size:28px;line-height:1.2}
.col.wide .row>.body{grid-column:5 / -1;min-width:0}
.col.wide .row>.body>:first-child{margin-top:0}
.col.wide .row>.body>:last-child{margin-bottom:0}
.col.wide .row>.full{grid-column:1 / -1;min-width:0}
.col.wide .row>.full .shot-ph{margin:32px 0 0}
.col.wide .row>.full .shot-grid{margin-top:32px}
.col.wide .row>.full .shot-grid .shot-ph{margin:0}
.col.wide .decide{display:grid;grid-template-columns:1fr;gap:14px;margin:0}
.col.wide ol.steps{display:grid;grid-template-columns:1fr 1fr;gap:20px 28px}
.col.wide ol.steps li{padding-bottom:0}
.col.wide .table-wrap{overflow-x:auto}
.col.wide .table-wrap table{margin-top:0;display:table}
@media (max-width:900px){
  .col.wide .row{display:block;padding:36px 0}
  .col.wide .row>h2{padding:0 0 16px}
  .col.wide .tldr{grid-template-columns:repeat(3,1fr)}
  .col.wide .impact{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:700px){
  .col.wide .tldr{grid-template-columns:1fr}
  .col.wide .impact{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
  .col.wide ol.steps{grid-template-columns:1fr}
}

/* Case studies button: clear dropdown affordance */
.dd-btn{gap:6px;padding:7px 12px 7px 14px;border:1px solid var(--rule);border-bottom:1px solid var(--rule);border-radius:999px;background:var(--card);font-weight:600;min-height:36px}
.dd-btn:hover{border-color:var(--ink);border-bottom-color:var(--ink)}
.dd-btn.on{border-color:var(--ink);border-bottom-color:var(--ink)}
.dd-btn[aria-expanded=true]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.dd-btn .chev{flex:none;transition:transform .2s}
.dd-menu{top:calc(100% + 10px)}
@media (max-width:760px){
  .dd-btn{border:0;border-radius:0;background:none;padding:12px 0;box-shadow:none!important}
}
@media (prefers-reduced-motion:reduce){.dd-btn .chev{transition:none}}

/* sticky jump bar (B1: soft highlight) */
.jump{position:sticky;top:68px;z-index:40;background:#fff;border-bottom:1px solid var(--rule)}
.jump-in{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding:8px 0;scroll-behavior:smooth}
.jump-in::-webkit-scrollbar{display:none}
.jump a{flex:none;display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:8px;font-size:14px;font-weight:500;color:var(--ink);text-decoration:none;white-space:nowrap}
.jump a:hover{background:#f3f4f6}
.jump a[aria-current]{background:#e8eefb;font-weight:700}
.jump a:focus-visible{outline:3px solid #2350a8;outline-offset:-3px}
.col.wide .row{scroll-margin-top:40px}
@media (prefers-reduced-motion:reduce){html,.jump-in{scroll-behavior:auto}}
@media (max-width:760px){.jump{top:68px}.jump-in{-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}}

/* decision cards with trade-off and value */
.choices{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.choices>div{background:var(--card);border:1px solid var(--rule);border-radius:14px;padding:16px 18px}
.choices b{display:block;font-size:16px;color:var(--text);margin-bottom:8px}
.choices dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:6px 12px;font-size:14.5px;line-height:1.45;color:var(--text)}
.choices dt{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text);padding-top:3px}
.choices dd{margin:0}

/* IA four sections */
.ia4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:24px}
.ia4>div{background:var(--card);border:1px solid var(--rule);border-top:3px solid var(--ink);border-radius:12px;padding:14px 16px}
.ia4 small{display:block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--warm)}
.ia4 b{display:block;font-family:Fraunces,Georgia,serif;font-size:18px;color:var(--text);margin:4px 0 6px}
.ia4 span{font-size:14px;line-height:1.45;color:var(--text)}

/* AI concept */
.flag{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:#fff6d9;border:1px solid #d9a400;color:#111;border-radius:999px;padding:3px 10px;margin:0 0 12px}
.cs-body .tight em{font-style:normal;display:block;font-size:14px;color:var(--text);margin-top:2px}
.cs-body .tight em::before{content:"→ "}
.concept-shots{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}
.concept-shots figure{margin:0}
.concept-shots img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--rule)}
.concept-shots figcaption{font-size:14px;color:var(--text);margin-top:8px}
.cs-body ol.evolve{list-style:none;padding:0;margin:0 0 16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;counter-reset:e}
.cs-body ol.evolve li{counter-increment:e;margin:0;background:var(--card);border:1px solid var(--rule);border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.45;color:var(--text)}
.cs-body ol.evolve li::before{content:"Round " counter(e);display:block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--warm);margin-bottom:4px}
.cs-body ol.evolve li:last-child{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.evolve b{display:block;color:var(--text);margin-bottom:2px}

/* outcomes split */
.split{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.split>div{background:var(--card);border:1px solid var(--rule);border-radius:14px;padding:16px 18px}
.split span{display:block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text);margin-bottom:6px}
.cs-body .split ul{margin:0;padding-left:18px;font-size:15px}
.cs-body .split li{margin-bottom:6px}

/* contact band at the end of case studies */
.cta-band{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;background:var(--ink);color:#fff;border-radius:18px;padding:28px 32px;margin:48px 0 28px}
.cta-band .kicker{color:#ffd2b0;margin:0 0 6px}
.cta-band h2{color:#fff;margin:0;font-size:26px;border:0;padding:0}
.cta-band .btn{background:#fff;color:var(--ink);border-color:#fff}
.cta-band .btn.alt{background:transparent;color:#fff;border-color:#fff}
.cta-band a:focus-visible{outline-color:#fff}

/* home: proof line and AI feature */
.ai-feature{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:32px;align-items:center;margin-top:40px;background:var(--card);border:1px solid var(--rule);border-radius:18px;padding:24px}
.ai-feature img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--rule)}
.ai-feature h3{font-size:24px;margin:0 0 10px}
.ai-feature p{color:var(--text)}
.home-hero .todo{margin-top:16px}

@media (max-width:900px){
  .ia4{grid-template-columns:1fr 1fr}
  .cs-body ol.evolve{grid-template-columns:1fr 1fr}
  .ai-feature{grid-template-columns:1fr}
}
@media (max-width:640px){
  .choices,.split,.concept-shots,.ia4,.cs-body ol.evolve{grid-template-columns:1fr}
  .cta-band{padding:24px}
  .cta-band h2{font-size:22px}
}
.ic-certs{list-style:none;padding:0;margin:0 0 22px;display:flex;flex-wrap:wrap;gap:8px}
.ic-certs li{font-size:13px;font-weight:600;color:#fff;border:1px solid rgba(255,255,255,.5);border-radius:999px;padding:4px 12px}
.home-hero .loc{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:var(--text);margin:18px 0 0}
.res-loc{font-size:15px;font-weight:600;color:var(--text);margin:-4px 0 16px}
.split p{margin:0;font-size:15px;line-height:1.5;color:var(--text)}
.col.wide .split + p,.col.wide .choices + p{margin-top:18px}
#overview{scroll-margin-top:40px}

/* About Us: AI process artifacts */
.col.wide .row>.ai-steps{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:32px;row-gap:16px;margin-top:32px;align-items:start}
.ai-steps figure:first-child{grid-column:1 / span 4}
.ai-steps figure:last-child{grid-column:5 / -1}
.ai-steps img{height:clamp(260px,27vw,345px)!important;object-fit:cover}
.ai-steps figure{margin:0}
.ai-steps img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--rule);background:#fff}
.ai-steps figcaption{font-size:14px;line-height:1.45;color:var(--text);margin-top:8px}
.themes-card{background:var(--ink);border-radius:14px;padding:20px 22px;margin:8px 0 18px}
.themes-card .kicker{color:#ffd2b0;margin:0 0 10px}
.themes-card .prompt{color:#fff;font-size:15px;line-height:1.45;margin:0 0 18px;padding:10px 12px;border:1px solid rgba(255,255,255,.35);border-radius:10px}
.themes-card ol{margin:0;padding-left:22px;color:#fff;font-family:Fraunces,Georgia,serif;font-size:17px;line-height:1.35;columns:2;column-gap:28px}
.themes-card li{margin-bottom:6px;break-inside:avoid}
.col.wide .row>.body.after{grid-column:5 / -1;margin-top:24px}
@media (max-width:640px){.col.wide .row>.ai-steps{grid-template-columns:1fr}.ai-steps figure:first-child,.ai-steps figure:last-child{grid-column:1 / -1}.ai-steps img{height:auto!important}.themes-card ol{columns:1}}

/* About Us: AI milestone */
.milestone{display:grid;grid-template-columns:auto 1fr auto;gap:8px 28px;align-items:center;margin:24px 0 16px;padding:22px 26px;border-radius:16px;background:linear-gradient(120deg,#14213d,#2350a8);color:#fff;text-decoration:none}
.milestone .ms-k{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#ffd2b0;max-width:150px;line-height:1.4}
.milestone .ms-t{font-family:Fraunces,Georgia,serif;font-size:20px;line-height:1.4;color:#fff}
.milestone .ms-go{font-size:14px;font-weight:600;color:#fff;white-space:nowrap;text-decoration:underline;text-underline-offset:4px}
.milestone:hover .ms-go{text-decoration-thickness:2px}
.milestone:focus-visible{outline:3px solid #2350a8;outline-offset:3px}
.teach{border:2px solid var(--ink);border-radius:16px;padding:20px 22px;background:var(--card)}
.teach .kicker{margin:0 0 6px}
.teach p{color:var(--text)}
.cs-body ol.six{list-style:none;padding:0;margin:12px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;counter-reset:six}
.cs-body ol.six li{counter-increment:six;margin:0;background:#f3f1ec;border-radius:10px;padding:10px 12px;font-size:14.5px;font-weight:600;color:var(--text)}
.cs-body ol.six li::before{content:counter(six) ". ";color:var(--warm)}
@media (max-width:760px){.milestone{grid-template-columns:1fr;padding:20px}.milestone .ms-k{max-width:none}.milestone .ms-t{font-size:18px}.cs-body ol.six{grid-template-columns:1fr 1fr}}
.inline-go{display:inline-block;min-height:24px;padding:2px 0;font-weight:600}
.col.wide .row>.side{grid-column:1 / span 4;padding:0 24px 16px 0}
.col.wide .row>.side .kicker{margin:0 0 8px}
.col.wide .row>.side h2{margin:0;padding:0;border:0;font-size:28px;line-height:1.2}
.col.wide .row>h3.sub{grid-column:1 / span 4;margin:44px 0 0;padding-right:24px;font-size:22px;line-height:1.25}
.col.wide .row>.body.subb{grid-column:5 / -1;margin-top:44px}
.col.wide .row>.body.subb>p:first-child{margin-top:0}
@media (max-width:900px){.col.wide .row>h3.sub{margin:36px 0 12px}.col.wide .row>.body.subb{margin-top:0}}

/* before / after */
.ba{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin-top:32px}
.ba figure{margin:0;position:relative}
.ba img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;object-position:top;border-radius:12px;border:1px solid var(--rule);background:#fff}
.ba-heading{margin:0 0 12px;font-size:clamp(17px,1.45vw,20.5px);line-height:1.2;color:var(--text);font-family:Fraunces,Georgia,serif;font-weight:600}
.ba-tag{position:absolute;top:12px;left:12px;z-index:1;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:#fff;color:var(--text);border:1px solid var(--ink);border-radius:999px;padding:4px 12px}
.ba-tag.after{background:var(--ink);color:#fff}
.ba figcaption{font-size:14px;line-height:1.5;color:var(--text);margin-top:10px}
@media (max-width:640px){.ba{grid-template-columns:1fr;gap:24px}}

/* full-page screenshot in a tall frame */
.page-shot{margin:28px 0 0}
.page-shot>a{display:block;border-radius:12px;border:1px solid var(--rule);overflow:hidden;background:#fff}
.page-shot img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;object-position:top}
@media (max-width:640px){.page-shot img{aspect-ratio:3/4}}
.page-shot>a:hover{border-color:var(--ink)}
.page-shot figcaption{font-size:14px;line-height:1.45;color:var(--text);margin-top:10px}
.page-shot figcaption a{display:inline-block;min-height:24px;font-weight:600}
.ba img{aspect-ratio:1600/1468 !important}
.how-old{margin-top:40px}
.how-old .kicker{margin:0 0 12px}
.cs-body ol.frames{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.cs-body ol.frames li{margin:0}
.frames figure{margin:0}
.frames img{display:block;width:100%;height:auto;border-radius:10px;border:1px solid var(--rule);background:#fff}
.frames figcaption{font-size:14px;line-height:1.45;color:var(--text);margin-top:8px}
@media (max-width:760px){.cs-body ol.frames{grid-template-columns:1fr;gap:20px}}
.ba.tall img{aspect-ratio:4/5 !important}
.ba-link{display:block;border-radius:12px}
.ba-link:hover img{border-color:var(--ink)}
.ba figcaption a{display:inline-block;min-height:24px;font-weight:600}

/* ---------- home: Shift The Creative hero ---------- */
.home-hero.stc-hero{padding:40px 0 36px}
.stc-hero .intro{align-items:start}
.stc-arrows{flex:none;display:block;transform:translateY(-.13em);fill:none;stroke:var(--warm);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.stc-logo{display:inline-flex;align-items:center;gap:10px;line-height:1;font-family:Inter,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;font-size:14px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--warm);min-height:24px}
.stc-logo span{display:block;line-height:1}
.stc-hero h1{font-size:clamp(32px,4.2vw,46px);max-width:22ch;margin:0 0 12px}
.stc-hero .lede{font-size:18px;max-width:58ch;margin:0 0 12px}
.stc-hello{font-size:16px;line-height:1.55;max-width:58ch;margin:0 0 20px}
.stc-hello b{font-weight:600;color:var(--text)}
.stc-strip{border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.stc-strip>div{padding:12px 0}
.stc-strip>div+div{border-top:1px solid var(--rule)}
.stc-strip h2{font-family:Inter,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;font-size:11.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--warm);margin:0 0 6px}
.stc-strip ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 24px;font-size:15px;line-height:1.5}
.stc-strip li{position:relative;padding-left:14px}
.stc-strip li::before{content:"";position:absolute;left:0;top:.62em;width:5px;height:5px;border-radius:50%;background:var(--warm)}
.stc-strip p{margin:0;font-size:15px;line-height:1.5}
.stc-strip ul.stc-two{display:grid;grid-template-columns:repeat(2,max-content);gap:4px 32px}
.home-hero.stc-hero .loc{margin-top:14px}
.stc-jump{display:inline-block;min-height:24px;margin-top:16px;font-size:14px;font-weight:600;color:#fff}
.stc-jump:hover{text-decoration-thickness:2px}
@media (max-width:860px){.stc-hero h1{max-width:none}}
@media (max-width:640px){.stc-strip ul,.stc-strip ul.stc-two{display:grid;grid-template-columns:1fr}}

/* ---------- Product Discovery case study (pd- classes) ---------- */
.pd section{scroll-margin-top:40px}
.pd .kicker{margin-bottom:14px}

/* Hero */
.pd-hero{padding:72px 0 64px;overflow:hidden}
.pd-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:32px 56px;align-items:start}
.pd-hero-title{grid-column:1 / -1;width:75%}
.pd-hero-copy{grid-column:1;max-width:65ch}
.pd-visual{grid-column:2;align-self:center}
.pd-hero h1{display:block;width:100%;font-size:clamp(32px,3.8vw,46px);max-width:100%;margin:0 0 20px}
.pd-turn{padding-bottom:40px;border-bottom:1px solid var(--rule);margin-bottom:56px}
.pd-hero .lede{margin:0 0 28px;max-width:65ch}
.pd-hero .btns{align-items:center;gap:18px}
.pd-visual{position:relative;background:#e8eefb;padding:24px;border-radius:20px;min-height:360px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.pd-visual:before{content:"";position:absolute;width:200px;height:200px;border-radius:50%;background:#ffd2b0;right:-60px;top:-60px}
.pd-screen{position:relative;width:100%;background:var(--card);box-shadow:0 18px 40px rgba(20,33,61,.10);border:1px solid var(--rule);border-radius:12px;overflow:hidden;z-index:1;font-size:12px;line-height:1.35}
.pd-ui-new{background:var(--accent);color:#fff;font-size:10.5px;padding:6px 14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pd-ui-new u{text-underline-offset:2px}
.pd-ui-title{background:var(--navy);color:#fff;font-weight:600;font-size:17px;padding:11px 14px}
.pd-ui-body{padding:12px 14px 14px}
.pd-ui-tabs{display:flex;gap:6px;margin-bottom:12px}
.pd-ui-tabs span{background:#f1f2f5;border-radius:999px;padding:5px 11px;font-size:11px;white-space:nowrap}
.pd-ui-tabs span.on{background:var(--navy);color:#fff;font-weight:600}
.pd-ui-row{display:flex;gap:8px;align-items:center;margin-bottom:10px}
.pd-ui-search{flex:1;min-width:0;display:flex;align-items:center;gap:6px;border:1px solid var(--rule);border-radius:6px;padding:6px 8px;font-size:11px;color:#5b6475;white-space:nowrap;overflow:hidden}
.pd-ui-search svg{flex:none;color:var(--ink)}
.pd-ui-seg{display:flex;border:1px solid var(--rule);border-radius:6px;overflow:hidden;flex:none}
.pd-ui-seg span{padding:6px 9px;font-size:11px}
.pd-ui-seg span.on{background:var(--navy);color:#fff;font-weight:600}
.pd-ui-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}
.pd-ui-filters>div{min-width:0}
.pd-ui-filters small{display:block;font-size:9.5px;color:#5b6475;margin-bottom:3px}
.pd-ui-filters span{display:flex;justify-content:space-between;align-items:center;gap:4px;background:#f3f4f6;border-radius:6px;padding:6px 8px;font-size:11px;font-weight:600;color:var(--accent);white-space:nowrap;overflow:hidden}
.pd-ui-filters .hl span{background:#e8eefb;box-shadow:inset 0 0 0 1.5px var(--accent)}
.pd-ui-filters svg{flex:none;color:var(--ink)}
.pd-table{width:100%;border-collapse:collapse;font-size:11px;line-height:1.35}
.pd-table th{text-align:left;padding:6px;font-weight:600;font-size:10px;border-bottom:1px solid var(--rule)}
.pd-table th:not(:first-child),.pd-table td:not(:first-child){width:22%}
.pd-table td{padding:7px 6px;border-bottom:1px solid var(--rule);vertical-align:top}
.pd-table tr:last-child td{border-bottom:0}
.pd-table td:first-child{font-weight:600;color:var(--accent)}
.pd-table td small{display:block;font-weight:400;font-size:9.5px;color:#5b6475;margin-top:1px}
.pd-table tr.grp td{background:var(--ink);color:#fff;font-weight:600;font-size:11.5px;padding:6px 8px;border:0}
.pd-table .bar{display:block;height:6px;background:#dbe3f4;border-radius:8px;width:80%;margin-top:5px}
.pd-visual-note{position:absolute;bottom:8px;left:24px;font-size:11px;z-index:2}

/* Project details strip */
.pd .pd-meta{padding:0;background:var(--card);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.pd-meta dl{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:0;padding:24px 0}
.pd-meta dt{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--warm);margin-bottom:4px}
.pd-meta dd{margin:0;font-size:15px;line-height:1.5}

/* Content sections */
.pd-section{padding:80px 0}
.pd-section.white{background:var(--card);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.pd-head{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:32px;margin-bottom:36px}
.pd-head>div{grid-column:1 / span 5}
.pd-head>div:first-child{display:contents}
.pd-head .kicker{grid-column:1 / -1}
.pd-head h2{grid-column:1 / span 5}
.pd-head>p{grid-column:6 / -1;margin:0;max-width:640px}
#project-overview .overview-copy{grid-column:6 / -1;margin:0;max-width:640px}
.pd-head h2,.pd-two h2,.pd-launch h2{margin:0}
.pd-insight{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:32px;align-items:start;background:var(--snow);color:var(--text);border-radius:18px;padding:30px 32px}
.pd-insight .kicker{grid-column:1 / span 4;color:#000000;margin:6px 0 0}
.pd-insight blockquote{grid-column:5 / -1;margin:0;font-family:Fraunces,Georgia,serif;font-size:24px;line-height:1.4;color:var(--text)}
.pd .pillars{margin-top:32px}
.pd .pillar p{margin:0;font-size:15.5px;line-height:1.55}

.pd-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.pd-cards.pd-solved-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.pd-card{background:var(--bg);border:1px solid var(--rule);border-radius:14px;padding:24px 26px}
.pd-card .kicker{font-size:12px;margin:0}
.pd-card h3{font-size:21px;margin:10px 0 6px}
.pd-card p{font-size:15.5px;line-height:1.55;margin:0}
.pd-after{position:relative;margin:28px 0 0}
.pd-after img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--rule);background:#fff}
.pd-after .ba-tag{left:auto;right:12px}
.pd-after figcaption{font-size:14px;line-height:1.5;margin-top:10px}
.pd-after figcaption b{color:var(--text)}
.pd-shots{display:grid;grid-template-columns:1fr;gap:16px;margin-top:28px}
.pd-shots figure{margin:0}
.pd-shots .shot-ph{margin:0;aspect-ratio:auto;height:320px}
.pd-shots figcaption{font-size:14px;line-height:1.45;margin-top:10px}
.pd-shots figcaption b{display:block;color:var(--text)}

.pd-two{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:32px;align-items:start}
#contribution .pd-two{display:block;max-width:680px}
#contribution .pd-two>div:first-child{display:block}
#contribution .pd-two .kicker,#contribution .pd-two h2{grid-column:auto}
#contribution .pd-two .pd-list{grid-column:auto;width:100%;margin-top:24px}
.pd-two>div{grid-column:1 / span 5}
.pd-list{grid-column:6 / -1;margin:0;padding:0;list-style:none}
.pd-list li{padding:0 0 16px 28px;margin-bottom:16px;border-bottom:1px solid var(--rule);position:relative;font-size:15.5px;line-height:1.55}
.pd-list li:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.pd-list li:before{content:"";position:absolute;left:2px;top:.6em;width:8px;height:8px;background:var(--warm)}
.pd-list b{color:var(--text);display:block;font-size:16px;margin-bottom:2px}

.pd-launch{background:#efe7db}
.pd-launch-grid{display:grid;grid-template-columns:1fr .9fr;gap:56px;align-items:center}
.pd-launch h2{margin-bottom:16px}
.pd-points{display:grid;gap:12px}
.pd-points .pd-img-placeholder{margin:0;border:1px solid var(--rule);border-radius:14px;overflow:hidden;background:var(--card)}
.pd-points .pd-img-placeholder img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;background:#fff}
.pd-point{background:var(--card);border:1px solid var(--rule);border-radius:14px;padding:16px 18px;font-size:15.5px;line-height:1.5}
.pd-point b{display:block;margin-bottom:2px;color:var(--text)}
.pd-status{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--warm);margin:20px 0 0}

.pd .pd-end{padding:16px 0 72px}
.pd-before{margin-top:40px}
.pd-before .ba-tag{left:auto;right:12px}
.pd-before figcaption b{color:var(--text)}

@media (max-width:900px){
  .pd-head,.pd-insight,.pd-two{display:block}
  .pd-head>p{margin-top:16px}
  #project-overview .overview-copy{margin-top:16px}
  .pd-insight .kicker{margin:0 0 10px}
  .pd-list{margin-top:24px}
}
@media (max-width:760px){
  .pd-hero{padding:48px 0 40px}
  .pd-hero-grid,.pd-launch-grid{grid-template-columns:1fr;gap:32px}
  .pd-visual{min-height:0;padding:16px;flex-direction:column}
  .pd-visual-note{position:relative;left:auto;bottom:auto;margin-top:10px}
  .pd-meta dl{grid-template-columns:1fr 1fr;gap:18px}
  .pd-section{padding:56px 0}
  .pd-insight{padding:24px}
  .pd-insight blockquote{font-size:21px}
  .pd-cards,.pd-shots{grid-template-columns:1fr}
  .pd-cards.pd-solved-grid{grid-template-columns:1fr}
  .pd-shots .shot-ph{height:260px}
}
@media (max-width:430px){
  .pd-ui-body{padding:10px}
  .pd-ui-row{flex-wrap:wrap}.pd-ui-seg{width:100%}.pd-ui-seg span{flex:1;text-align:center}
  .pd-ui-filters{grid-template-columns:1fr 1fr}.pd-ui-filters>div:last-child{grid-column:1 / -1}
}

/* ---------- home: What I've Done (experience) ---------- */
.xp{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;margin-top:32px}
.xp-label,.xp-core .xp-label{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--warm);margin:0 0 12px}
.xp-core{background:var(--card);border:1px solid var(--rule);border-top:3px solid var(--ink);border-radius:18px;padding:28px 30px;display:flex;flex-direction:column}
.xp-core h3{font-size:26px;margin:0 0 10px}
.xp-core p{color:var(--text)}
.xp-tags{list-style:none;margin:4px 0 20px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.xp-tags li{font-size:13.5px;font-weight:600;color:var(--text);background:var(--accent-tint);border-radius:999px;padding:5px 12px}
.xp-core .inline-go{margin-top:auto}
.xp-also{border:1px solid var(--rule);border-radius:18px;padding:28px 30px}
.xp-also ul{list-style:none;margin:0;padding:0}
.xp-also li{padding:16px 0;border-top:1px solid var(--rule);font-size:15.5px;line-height:1.55;color:var(--text)}
.xp-also li:first-child{border-top:0;padding-top:0}
.xp-also li:last-child{padding-bottom:0}
.xp-also li b{display:block;font-family:Fraunces,Georgia,serif;font-size:18px;font-weight:600;color:var(--text);margin-bottom:2px}
.home-cta{margin:48px 0 0}
@media (max-width:860px){.xp{grid-template-columns:1fr}}
@media (max-width:640px){.xp-core,.xp-also{padding:22px}}
.ai-feature .kicker{color:var(--warm)}

/* header: contact button */
.site-nav a.nav-cta{display:inline-flex;align-items:center;min-height:36px;padding:7px 16px;border:1px solid var(--ink);border-radius:999px;background:var(--ink);color:#fff;font-weight:600}
.site-nav a.nav-cta:hover{background:var(--accent);border-color:var(--accent)}
@media (max-width:760px){.site-nav a.nav-cta{width:auto;margin-top:8px;padding:10px 18px}}

/* ---------- home: stand-out and scan tweaks ---------- */
/* hero: design / technology / strategy */
.hero-skills{list-style:none;margin:24px 0 0;padding:18px 0 0;border-top:1px solid var(--rule);display:grid;grid-template-columns:1fr;gap:12px;max-width:760px}
.hero-skills li{font-size:15px;line-height:1.45;color:var(--text);padding-left:14px;border-left:3px solid var(--warm)}
.hero-skills b{display:block;font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--warm);margin-bottom:2px}

/* case study cards: skill tags */
.cs-tags{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.cs-tags li{font-size:10px;font-weight:600;color:var(--text);background:transparent;border:1px solid var(--text);border-radius:0;padding:3px 8px}
/* How I Work: white band so the AI story stands apart */
.home-how{background:var(--card);border-bottom:1px solid var(--rule)}
.home-how + .home-ai{border-top:0}
.home-how .ai-feature{background:var(--bg)}
.home-how .pillar{border-top-color:var(--warm);border-top-width:3px}

/* CTA availability note */
.cta-band .cta-note{margin:8px 0 0;font-size:15px;color:#dfe5f2}
.intro-card .ic-btns .btn{flex:1 1 auto;justify-content:center}

/* ---------- Service and Support case study (ss- classes, on the pd- template) ---------- */
.ss-ui .ss-crumb{font-size:10px;color:#5b6475;margin:0 0 8px}
.ss-line{display:block;height:6px;border-radius:6px;background:#dbe3f4;margin:0 0 6px}
.ss-line.w90{width:90%}.ss-line.w80{width:80%}.ss-line.w60{width:60%}
.ss-ui .ss-label{font-size:11px;font-weight:600;color:var(--ink);margin:12px 0 6px}
.ss-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ss-cards>div{border:1px solid var(--rule);border-top:3px solid var(--accent);border-radius:8px;padding:8px}
.ss-cards b{display:block;font-size:10.5px;line-height:1.3;color:var(--text);margin-bottom:6px}
.ss-res{display:flex;flex-wrap:wrap;gap:6px}
.ss-res span{font-size:10px;font-weight:600;color:var(--accent);background:#f3f4f6;border-radius:999px;padding:4px 9px}
.ss-contact{margin-top:12px;background:var(--navy);color:#fff;border-radius:8px;padding:8px 10px;font-size:10.5px}
.ss-glance{padding:48px 0 8px}
.ss-glance .impact{margin:0}
.ss-sub{margin:16px 0 0;max-width:420px}
.ss-shot{margin:40px 0 0}
.ss-flow-head{margin:56px 0 0}
.ss-flow-head h3{font-size:24px;margin:0}
.pd-end .milestone{margin:0 0 8px}
@media (max-width:760px){.ss-cards{grid-template-columns:1fr 1fr}.ss-cards>div:last-child{display:none}.ss-glance{padding:36px 0 0}}
.ss-next{font-size:15px;margin:20px 0 0}

/* ---------- About Us case study (ab- classes, on the pd- template) ---------- */
.ab-visual{padding:28px 28px 40px;align-items:flex-start}
.ab-visual img{position:relative;z-index:1;display:block;width:100%;max-width:420px;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:top;border-radius:12px;border:1px solid var(--rule);background:#fff;box-shadow:0 18px 40px rgba(20,33,61,.10)}
.ab-pages{margin:40px 0 0}
.ab-pages ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ab-pages li{background:var(--card);border:1px solid var(--rule);border-radius:12px;padding:14px 16px;font-size:14px;line-height:1.45;color:var(--text)}
.ab-pages li a{display:block;font-family:Fraunces,Georgia,serif;font-size:17px;font-weight:600;color:var(--ink);margin-bottom:4px;text-decoration-thickness:1px}
.ab-pages + .ba{margin-top:40px}
.pd-section .ba{margin-top:32px}
.pd-two>.ab-ai{grid-column:6 / -1}
.ab-ai .pd-list{margin-bottom:24px}
.ab-ai .themes-card{margin:0}
.ab-build{margin-top:40px;display:grid;grid-template-columns:1fr 1fr;column-gap:32px}
.ab-build li:nth-last-child(2){border-bottom:0;margin-bottom:0;padding-bottom:0}
@media (max-width:900px){.ab-pages ul{grid-template-columns:1fr 1fr}.ab-ai{margin-top:24px}.decide{grid-template-columns:1fr}}
@media (max-width:640px){.ab-pages ul,.ab-build{grid-template-columns:1fr}.ab-build li:nth-last-child(2){border-bottom:1px solid var(--rule);margin-bottom:16px;padding-bottom:16px}}

/* ---------- shared case study template (cs2) ---------- */
.cs-glance{padding:48px 0 8px}
.cs-glance .impact{margin:0}
.pd-hero + .cs-glance .impact{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0;border-top:0}
.pd-hero + .cs-glance .impact>div{background:#fff;border:1px solid var(--rule);border-radius:8px;padding:20px}
.pd-hero + .cs-glance .impact b{font-size:23.8px}
.pd-hero + .cs-glance .impact span{font-size:16px}
@media (max-width:760px){.pd-hero + .cs-glance .impact b{font-size:19.6px}}
@media (max-width:640px){.pd-hero + .cs-glance .impact{grid-template-columns:1fr}}
.cs-live{margin:20px 0 0}
.pd-after figcaption{font-size:14px;line-height:1.5;margin-top:10px}
.ai-visual{padding:28px}
.ai-visual .themes-card{position:relative;z-index:1;width:100%;margin:0;box-shadow:0 18px 40px rgba(20,33,61,.15)}
.ai-visual .themes-card ol{columns:1}
.home-ai-link{margin-top:24px}
@media (max-width:760px){.cs-glance{padding:36px 0 0}}

/* ---------- review updates: decisions, measurement, quote ---------- */
.pd-decision{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:28px 0 0}
.pd-decision>div{background:var(--bg);border:1px solid var(--rule);border-radius:14px;padding:18px 20px}
.pd-decision>div:nth-child(2){border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.pd-decision .kicker{font-size:11.5px;margin:0 0 6px}
.pd-decision p:not(.kicker){margin:0;font-size:15.5px;line-height:1.55}
.pd-measure-intro{font-size:15.5px;margin:20px 0 8px}
.pd-measure{margin:0;padding-left:20px;font-size:15.5px;line-height:1.55}
.pd-measure li{margin-bottom:4px}
.pd-quote{margin:0 0 16px;padding:4px 0 4px 18px;border-left:4px solid var(--warm);font-family:Fraunces,Georgia,serif;font-size:22px;line-height:1.4;color:var(--text)}
.pd-quote span{display:block;margin-top:8px;font-family:Inter,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;font-size:12.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--warm)}
.ai-entries{display:grid;gap:16px;margin-top:8px}
@media (max-width:760px){.pd-decision{grid-template-columns:1fr}.pd-quote{font-size:19px}}

/* home: proof chip on case cards */
.cs-proof{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px;font-size:13px}
.cs-proof b{background:var(--ink);color:#fff;border-radius:999px;padding:3px 10px;font-size:12.5px;font-weight:600}
.cs-proof span{color:#4a5468}
.home-shift{font-size:16px;line-height:1.55;max-width:58ch;margin:16px 0 0}

/* ---------- contact page ---------- */
.contact-card .ct-sub{color:#dfe5f2;max-width:56ch;margin:0 0 22px}
.contact-card .ct-k{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#ffb27a;margin:32px 0 0}
.contact-card .ct-links{margin:0}
.contact-card .ct-links a{color:#fff;font-weight:600}
.ct-help{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:56px}
.ct-help h2{margin:0 0 16px;font-size:26px}
.ct-help .pd-list{grid-column:auto}
.ct-start{margin:0;padding-left:20px}
.ct-start li{margin-bottom:8px}
@media (max-width:760px){.contact-card{padding:28px}.ct-help{grid-template-columns:1fr;gap:32px}}

/* ---------- resume page ---------- */
.res-hero{padding:72px 0 32px}
.res-hero h1{margin-bottom:8px}
.res-btns{margin-top:24px}
.res-btns button.btn{cursor:pointer;font:inherit;font-weight:600;font-size:15px}
.res-body{padding-top:8px}
.res-k{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--warm);margin:0 0 8px}
.res-k:not(:first-child){margin-top:20px}
.res-note{font-size:15px;margin:12px 0 0}
.job li b{color:var(--text)}
@media print{
  .site-head,.skip,.site-foot,.res-btns,.resume-page .cta-band{display:none!important}
  body{background:#fff;font-size:12.5px;line-height:1.5}
  .res-hero{padding:0 0 12px}
  .res-hero h1{font-size:28px}
  .res-hero .lede{font-size:13.5px}
  section{padding:0}
  .res-row{padding:14px 0;break-inside:avoid-page}
  .job{break-inside:avoid;margin-bottom:14px}
  .skills span{padding:2px 8px;font-size:11.5px}
  a{color:inherit;text-decoration:none}
}

/* =====================================================================
   CASE STUDY TEMPLATE (case- classes)
   One type scale, one color set, one section pattern.
   Palette (WCAG 2.2 contrast checked):
     --ink    #14213d  all text and headings (13:1 on ice, 16:1 on white)
     --warm   #9a4413  section labels only (5.3:1 on ice, 6.5:1 on white)
     --accent #2350a8  links and focus rings (6.2:1 on ice, 7.5:1 on white)
     --ice    #E3E9EE  tinted section background
     --snow   #FBF8F3  card and callout surface on white sections
     --lavender-gray #B3C3D1 header background (ink text 8.9:1)
     --pewter #7D93A8  decorative only, never text (fails 4.5:1)
   ===================================================================== */
.case-page{
  --fs-h1:clamp(34px,4.2vw,48px);
  --fs-h2:clamp(26px,2.8vw,34px);
  --fs-h3:20px;
  --fs-h4:17px;
  --fs-body:17px;
  --fs-small:15px;
  --fs-caption:14px;
  --fs-label:13px;
  font-size:var(--fs-body);line-height:1.65;color:var(--text);
}
body.product-discovery{background:var(--ice)}
.case-page h1,.case-page h2,.case-page h3{font-family:Fraunces,Georgia,serif;font-weight:600;color:var(--text);letter-spacing:-.01em}
.case-page h1{font-size:var(--fs-h1);line-height:1.1;margin:0 0 20px}
.case-page h2{font-size:var(--fs-h2);line-height:1.2;margin:0}
.case-page h3{font-size:var(--fs-h3);line-height:1.3;margin:0 0 8px}
.case-page h4{font-family:Inter,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;font-size:var(--fs-h4);font-weight:600;line-height:1.4;color:var(--text);margin:0 0 6px}
.case-page p{margin:0 0 16px}
.case-page p:last-child{margin-bottom:0}
.case-page .kicker{font-size:var(--fs-label);font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--warm);margin:0 0 12px}
.case-page .lede{font-size:19px;line-height:1.6;max-width:62ch;margin:0 0 24px}
.case-page a:not(.btn){color:var(--accent)} /* links blue; buttons keep their own colors */
.case-page section[id]{scroll-margin-top:130px}

/* hero */
.case-hero{background:#fff;padding:72px 0 64px;border-bottom:1px solid var(--rule)}
.case-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:32px 56px;align-items:center}
.case-hero figure{margin:0}
.case-hero img{display:block;width:100%;height:auto;border:1px solid var(--rule);border-radius:12px}
.case-hero figcaption{margin-top:8px;font-size:var(--fs-caption);line-height:1.5}
.case-tags{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.case-tags li{font-size:var(--fs-label);font-weight:600;color:var(--text);background:#fff;border:1px solid var(--text);border-radius:0px;padding:4px 12px}

/* sections: white and ice alternate */
.case-section{padding:80px 0;background:#fff}
.case-section.tint{background:var(--ice)}
.case-head{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:32px;row-gap:16px;align-items:start}
.case-head>.case-title{grid-column:1 / span 5}
.case-head>.case-copy{grid-column:6 / -1;max-width:64ch}
.case-section .case-head + *{margin-top:40px}

/* single column intro (Overview) */
.case-intro{max-width:760px}
.case-page .case-lead{font-size:19px;line-height:1.6;margin:16px 0 0}
.case-section .case-intro + *{margin-top:40px}

/* pull quote: job to be done, key insight */
.case-quote{margin:0;max-width:880px;padding:4px 0 4px 28px;border-left:4px solid var(--warm)}
.case-quote .kicker{margin:0 0 10px}
.case-quote blockquote{margin:0;font-family:Fraunces,Georgia,serif;font-size:24px;line-height:1.45;color:var(--text)}
.case-section .case-cards + .case-quote,.case-section .case-quote + .case-cards{margin-top:40px}

/* cards: fill only, no borders. White on ice sections, ice on white sections */
.case-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.case-cards>li{background:var(--ice);border:0;border-radius:12px;padding:24px}
.case-section.tint .case-cards>li{background:#fff}
.case-cards .kicker{margin:0 0 8px}
.case-cards p{font-size:var(--fs-small);line-height:1.55}

/* lists with a heading per item */
.case-list{list-style:none;margin:0;padding:0}
.case-list>li{position:relative;padding:0 0 18px 24px;margin:0 0 18px;border-bottom:1px solid var(--rule)}
.case-list>li:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.case-list>li::before{content:"";position:absolute;left:0;top:.62em;width:8px;height:8px;background:var(--warm)}
.case-list h3{font-size:18px;margin:0 0 4px}
.case-list p{font-size:var(--fs-small);line-height:1.6}
.case-bullets{margin:0;padding-left:20px}
.case-bullets li{margin-bottom:6px}
.case-bullets li::marker{color:var(--warm)}
.case-copy h3,.case-intro h3{font-size:18px;margin:24px 0 8px}

/* figures */
.case-figure{width:min(100%,880px);margin-left:auto;margin-right:auto}
.case-figure img{display:block;width:100%;height:auto;border:1px solid var(--rule);border-radius:12px;background:#fff}
.case-figure .shot-ph{margin:0;aspect-ratio:16/10}
.case-figure figcaption{margin-top:10px;font-size:var(--fs-caption);line-height:1.5;text-align:center}
.case-page .ba{margin-top:40px}
.case-page .ba-tag{left:auto;right:12px;color:var(--text);border-color:var(--text)}
.case-page .ba figcaption{font-size:var(--fs-caption)}
.case-page .ba figcaption b{display:block;color:var(--text)}

/* end band */
.case-end{padding:16px 0 72px;background:var(--ice)}
.case-end .cta-band h2{color:#fff}
.case-end .cta-band .kicker{color:#ffd2b0}

/* screen reader only text */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

@media (max-width:900px){
  .case-head{display:block}
  .case-head>.case-copy{margin-top:16px}
  .case-cards{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .case-hero{padding:48px 0 40px}
  .case-hero-grid{grid-template-columns:1fr}
  .case-section{padding:56px 0}
  .case-quote{padding-left:20px}
  .case-quote blockquote{font-size:20px}
  .case-cards{grid-template-columns:1fr}
}
@media (forced-colors:active){
  .case-list>li::before,.pd-list li:before{background:CanvasText}
  .case-cards>li{border:1px solid CanvasText}
}

/* =====================================================================
   HOME PAGE on the case study template
   Same type scale, colors, section pattern and cards as the case studies.
   ===================================================================== */
body.home{background:var(--ice)}
.home .case-hero h1{font-size:var(--fs-h1)}
.home .intro{gap:56px}
.home .intro-card{margin-top:calc(13px * 1.65 + 12px);border-radius:12px}
@media (max-width:860px){.home .intro-card{margin-top:0}}

/* selected work cards: fill only, square tags */
.home .cs-grid{gap:16px}
.home .cs-card{border:0;border-radius:12px;background:var(--ice)}
.case-section.tint .cs-card{background:#fff}
.home .cs-card .art{border-bottom:0;background:var(--ice)}
.home .cs-card h3{font-size:var(--fs-h3);line-height:1.3;margin:0 0 8px}
.home .cs-card .shows{font-size:var(--fs-label);letter-spacing:.12em;margin:0 0 8px}
.home .cs-card .desc{font-size:var(--fs-small);line-height:1.55;margin:0 0 16px}
.cs-read{font-size:var(--fs-caption,14px);margin:0 0 16px}

/* AI work */
.home .milestone{border-radius:12px;margin:40px 0 0}
.home .ai-feature{border:0;border-radius:12px;background:var(--ice);margin-top:24px}
.home .ai-feature h3{font-size:var(--fs-h3);margin:0 0 10px}
.home .ai-feature p{font-size:var(--fs-small)}

/* =====================================================================
   HEADER NAV
   Case studies is the one filled button. Contact is a plain link like Resume.
   ===================================================================== */
/* Case studies button: navy fill, blue on hover and while open */
.site-head .dd-btn{background:var(--ink);color:#fff;border:1px solid var(--ink);border-radius:999px;padding:7px 14px 7px 16px;font-weight:600;min-height:36px;box-shadow:none}
.site-head .dd-btn:hover,.site-head .dd-btn[aria-expanded=true]{background:var(--accent);border-color:var(--accent);color:#fff}
.site-head .dd-btn.on{border-color:var(--ink)}
.site-head .dd-btn.on:hover{border-color:var(--accent)}

/* Contact: same as the Resume link (works with or without the nav-cta class) */
.site-head .site-nav a.nav-cta{display:inline;min-height:24px;padding:6px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--ink);font-weight:500}
.site-head .site-nav a.nav-cta:hover,.site-head .site-nav a.nav-cta[aria-current=page]{background:none;border-bottom-color:var(--navy)}

/* Case studies menu: plain vertical dropdown */
.site-head .site-nav .dd-menu{right:auto;left:0;width:auto;min-width:220px;padding:8px;border-radius:12px;grid-template-columns:1fr;gap:2px}
.site-head .site-nav .dd-menu .cs-item{display:block;border:0;border-bottom:0;border-radius:8px;box-shadow:none;padding:10px 14px;font-size:15px;font-weight:500;line-height:1.3;color:var(--ink);text-decoration:none;white-space:nowrap}
.site-head .site-nav .dd-menu .cs-item:hover{background:var(--ice)}
.site-head .site-nav .dd-menu .cs-item[aria-current=page]{background:var(--ice);font-weight:600}

@media (max-width:760px){
  .site-head .dd-btn,.site-head .dd-btn:hover,.site-head .dd-btn[aria-expanded=true]{width:100%;justify-content:space-between;background:none;color:var(--ink);border:0;border-radius:0;padding:12px 0;font-size:17px}
  .site-head .site-nav a.nav-cta{display:block;width:100%;padding:12px 0;margin:0;font-size:17px}
  .site-head .site-nav .dd-menu{min-width:0;padding:0 0 8px}
  .site-head .site-nav .dd-menu .cs-item{padding:12px 14px;white-space:normal}
}

/* =====================================================================
   LINK AND BUTTON STATES (WCAG 2.2)
   Every link and button changes on hover. Text links stay underlined
   so they never rely on color alone (1.4.1). All pairs pass 4.5:1.
   ===================================================================== */
/* text links in page content: thicker underline on hover */
.case-page a:not(.btn){text-decoration-thickness:1px;text-underline-offset:3px}
.case-page a:not(.btn):hover{text-decoration-thickness:2px}

/* buttons, default: navy fill turns blue; outline fills navy */
.btn{transition:background-color .15s,border-color .15s,color .15s}
.btn:hover{background:var(--accent);border-color:var(--accent);color:#fff}
.btn.alt:hover{background:var(--ink);border-color:var(--ink);color:#fff}

/* buttons on navy bands (contact band, intro card, contact card) */
.cta-band .btn:hover,.intro-card .btn:hover,.contact-card .btn:hover{background:var(--ice);border-color:var(--ice);color:var(--ink)}
.cta-band .btn.alt:hover,.intro-card .btn.alt:hover,.contact-card .btn.alt:hover{background:#fff;border-color:#fff;color:var(--ink)}

/* previous / next case study cards */
.case-page .next-cs a{transition:border-color .15s,box-shadow .15s}
.case-page .next-cs a:hover{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.case-page .next-cs a:hover b{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}

/* footer links: always underlined, navy underline thickens on hover */
.site-foot a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.site-foot a:hover{text-decoration-thickness:2px;text-decoration-color:var(--navy)}

/* jump bar: clearer hover on white */
.jump a:hover{background:var(--ice)}

@media (prefers-reduced-motion:reduce){.btn,.case-page .next-cs a{transition:none}}
@media (forced-colors:active){.btn:hover,.case-page .next-cs a:hover{outline:2px solid Highlight}}

/* =====================================================================
   TEMPLATE ADD-ONS: more layouts from the same blocks
   ===================================================================== */
body.case-study{background:var(--ice)}
/* cards in 2 or 4 columns: add cols-2 or cols-4 next to case-cards */
.case-cards.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.case-cards.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
/* a second intro block later in a section (for example "How I'd measure success") */
.case-section .case-cards + .case-intro,.case-section .case-quote + .case-intro,.case-section .ba + .case-intro{margin-top:48px}
.case-intro > h3:first-child{margin-top:0}
/* "View the live site" link under a figure */
.case-page .cs-live{margin:24px 0 0}
/* "After" tag on before/after images: white text on navy */
.case-page .ba-tag.after{background:var(--ink);border-color:var(--ink);color:#fff}
/* AI milestone banner in the end band */
.case-end .milestone{margin:0}
@media (max-width:900px){.case-cards.cols-4{grid-template-columns:1fr 1fr}}
@media (max-width:760px){.case-cards.cols-2,.case-cards.cols-4{grid-template-columns:1fr}}

/* lists inside cards */
.case-cards>li ul,.case-cards>li ol{margin:8px 0 0;padding-left:20px;font-size:var(--fs-small);line-height:1.55}
.case-cards>li ul{list-style:disc}
.case-cards>li ol{list-style:decimal}
.case-cards>li li{margin-bottom:6px}
.case-cards>li li:last-child{margin-bottom:0}
.case-cards>li li::marker{color:var(--warm)}
/* table: page or section overview */
.case-table-wrap{overflow-x:auto;border-radius:12px;background:#fff}
.case-table{width:100%;border-collapse:collapse;font-size:var(--fs-small);line-height:1.5}
.case-table th,.case-table td{text-align:left;vertical-align:top;padding:14px 20px;border-bottom:1px solid var(--rule)}
.case-table thead th{font-size:var(--fs-label);font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text);background:#fff;border-bottom:2px solid var(--ink)}
.case-table tbody th{font-weight:600;color:var(--text);white-space:nowrap}
.case-table tr:last-child th,.case-table tr:last-child td{border-bottom:0}
@media (max-width:640px){.case-table th,.case-table td{padding:12px 14px}.case-table tbody th{white-space:normal}}

/* tables keep their frame on white sections too */
.case-section:not(.tint) .case-table-wrap{background:var(--ice)}
.case-table thead th{background:transparent}
.case-section .case-table-wrap + .case-cards,.case-section .case-table-wrap + .case-intro,.case-section .case-cards + .case-table-wrap,.case-section .case-figure + .case-intro,.case-section .case-intro + .case-figure{margin-top:40px}
.case-section .case-intro + .case-table-wrap{margin-top:24px}
/* lead paragraph that introduces a list */
.case-intro .case-lead + .case-bullets{margin-top:16px}
.case-intro .case-bullets + p{margin-top:16px}
/* coded mock visual in a template hero */
.case-hero .pd-visual{margin:0}
.case-cards>li ul + p,.case-cards>li ol + p{margin-top:12px}

/* jump bar: the active link keeps its blue highlight on hover */
.jump a[aria-current],.jump a[aria-current]:hover{background:#e8eefb;font-weight:700}

/* ---------- Service and Support case study: IA diagram and paired figures (moved from the page) ---------- */
.ia{margin:32px 0 40px;color:var(--text);background:var(--card);border-radius:12px;padding:32px 24px 24px}
.ia-hub{max-width:380px;margin:0 auto;background:var(--ink);color:#fff;border-radius:10px;padding:14px 18px;text-align:center}
.ia-hub strong{display:block;font-size:16px;font-weight:600}
.ia-hub span{font-size:13px;opacity:.8}
.ia-branch{position:relative;height:28px;margin:0 12.5%}
.ia-branch:before{content:"";position:absolute;left:50%;top:0;width:2px;height:14px;background:var(--lavender-gray);transform:translateX(-1px)}
.ia-branch:after{content:"";position:absolute;left:0;right:0;top:14px;height:2px;background:var(--lavender-gray)}
.ia-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:0;padding:0;list-style:none}
.ia-col:before{content:"";display:block;width:2px;height:14px;background:var(--lavender-gray);margin:0 auto}
.ia-sec{background:var(--card);color:var(--text);border:2px solid var(--ink);border-radius:10px;padding:12px 14px;text-align:center}
.ia-sec h4{margin:0;font-size:14px;font-weight:600;line-height:1.3}
.ia-sec p{margin:6px 0 0;font-size:12px;color:var(--text)}
.ia-pages{list-style:none;margin:0;padding:12px 0 0 18px;position:relative}
.ia-pages:before{content:"";position:absolute;left:6px;top:0;bottom:20px;width:2px;background:var(--lavender-gray)}
.ia-pages li{position:relative;margin:0 0 8px;background:var(--card);color:var(--text);border:1px solid var(--rule);border-radius:6px;padding:8px 10px;font-size:13px;line-height:1.3}
.ia-pages li:before{content:"";position:absolute;left:-13px;top:50%;width:12px;height:2px;background:var(--lavender-gray)}
.ia-lock{font-size:11px;font-weight:600;background:var(--highlight);color:var(--text);padding:1px 6px;border-radius:4px;margin-left:4px;white-space:nowrap}
.ia figcaption{margin-top:16px;text-align:center;font-size:14px;color:var(--text)}
@media (max-width:900px){.ia-cols{grid-template-columns:repeat(2,1fr);row-gap:24px}.ia-branch{display:none}.ia-col:nth-child(n+3):before{visibility:hidden}}
.ss-pair{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.ss-pair .case-figure{margin:0}
.case-figure img{max-width:100%;height:auto}
@media (max-width:760px){.ss-pair{grid-template-columns:1fr}}
@media (max-width:520px){.ia-cols{grid-template-columns:1fr;row-gap:16px}.ia-col:nth-child(n+2):before{display:none}}

/* ---------- responsive fixes ---------- */
/* header: let the logo wrap on small screens so the Menu button stays on screen */
@media (max-width:760px){
  .site-head .wrap{gap:12px}
  .logo{white-space:normal;min-width:0;font-size:18px;line-height:1.2}
  .menu-btn{flex:none}
}
/* case study hero: one column on tablets and phones, image kept to a readable size */
@media (max-width:900px){
  .case-hero-grid{grid-template-columns:1fr}
  .case-hero figure,.case-hero .pd-visual{max-width:520px}
  .case-hero .pd-visual{grid-column:auto}
}

/* mobile menu: case studies always open, "Case studies" shown as a label above them */
@media (max-width:760px){
  .site-head .site-nav .dd-menu{display:grid}
  .site-head .dd-btn,.site-head .dd-btn:hover,.site-head .dd-btn[aria-expanded=true]{cursor:default;padding:12px 0 6px;font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--warm)}
  .site-head .dd-btn .chev{display:none}
  .site-head .site-nav .dd-menu{margin-bottom:8px}
}

/* tag (atom): one style for skill tags on home cards and case study heroes */
.cs-tags li{font-size:var(--fs-label,13px);padding:4px 10px;line-height:1.4;background:#fff;border:1px solid var(--text);border-radius:0}

/* header (organism) at tablet widths: keep nav labels on one line */
.site-nav a,.site-nav .dd-btn{white-space:nowrap}
@media (min-width:761px) and (max-width:960px){
  .logo{font-size:18px}
  .site-head .wrap{gap:16px}
  .site-nav{gap:18px}
}

/* tag (atom) on the resume: same square tag as the rest of the site */
.skills span{font-size:var(--fs-label,13px);padding:4px 10px;line-height:1.4;background:var(--card);border:1px solid var(--text);border-radius:0}

/* ---------- resume page (organisms on the case-page template) ---------- */
.res-skills{margin-top:32px}
.case-cards.res-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.res-jobs{display:grid;gap:40px;margin-top:32px}
.res-jobs .job h3{margin:0 0 4px}
.res-jobs .job .when{margin:0 0 16px;font-size:var(--fs-small);color:var(--muted)}
.res-jobs .job ul{margin:0;padding-left:20px}
.res-jobs .job li{margin-bottom:10px}
@media (max-width:700px){.case-cards.res-two{grid-template-columns:1fr}}

/* ---------- contact page: form (organism) built from field atoms ---------- */
.ct-form-wrap{max-width:820px}
.ct-hero-btns{margin-top:24px}
.ct-form{background:var(--card);color:var(--text);border:1px solid var(--rule);border-radius:12px;padding:32px 28px}
.ct-form h2{margin:0 0 6px}
.ct-form .ct-note{margin:0 0 24px;color:var(--text);font-size:var(--fs-small)}
.ct-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ct-field{margin:0 0 18px}
.ct-field label{display:block;font-size:14px;font-weight:600;color:var(--ink);margin:0 0 6px}
.ct-field .opt{font-weight:400;color:var(--muted)}
/* field borders use --pewter: 3.2:1 on white, meets non-text contrast (1.4.11) */
.ct-field input,.ct-field select,.ct-field textarea{width:100%;min-height:44px;box-sizing:border-box;font:inherit;font-size:16px;color:var(--text);background:var(--card);border:1px solid var(--pewter);border-radius:8px;padding:11px 12px}
.ct-field textarea{min-height:150px;resize:vertical}
.ct-field input:focus-visible,.ct-field select:focus-visible,.ct-field textarea:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-color:var(--ink)}
.ct-field [aria-invalid=true]{border-color:var(--error);border-width:2px}
.ct-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ct-submit{cursor:pointer;font:inherit;font-weight:600}
.ct-submit[disabled]{cursor:wait;opacity:.8}
.ct-status{margin:16px 0 0;font-size:var(--fs-small);min-height:1.4em}
.ct-status.ok{color:var(--success)}
.ct-status.err{color:var(--error)}
.ct-bottom{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.case-cards.ct-look{grid-template-columns:1fr;margin-top:24px}
.ct-start{margin:16px 0 0;padding-left:18px}
.ct-start li{margin:0 0 10px}
@media (max-width:860px){.ct-bottom{grid-template-columns:1fr}}
@media (max-width:560px){.ct-row{grid-template-columns:1fr;gap:0}.ct-form{padding:24px 18px}}
/* in-page navigation (jump bar): case study name on the left */
.jump-title{flex:none;display:inline-flex;align-items:center;min-height:36px;padding:0 16px 0 0;margin-right:8px;border-right:1px solid var(--rule);font-family:Fraunces,Georgia,serif;font-size:15px;font-weight:600;color:var(--ink);white-space:nowrap}
@media (max-width:760px){.jump-title{font-size:14px;padding-right:12px;margin-right:4px}}

/* service blueprint (Service and Support case study)
   Built on .case-table styles. Dashed rule marks the line of visibility. */
.bp{margin:24px 0 0}
.bp-scroll{overflow-x:auto;border:1px solid var(--rule);border-radius:12px;background:var(--card)}
.bp-table{width:100%;min-width:880px;border-collapse:collapse;font-size:var(--fs-small);line-height:1.5}
.bp-table caption{text-align:left;padding:14px 20px;font-size:var(--fs-caption);color:var(--muted);border-bottom:1px solid var(--rule)}
.bp-table th,.bp-table td{text-align:left;vertical-align:top;padding:14px 20px;border-bottom:1px solid var(--rule)}
.bp-table thead th{font-size:var(--fs-label);font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text);border-bottom:2px solid var(--ink)}
.bp-table tbody th{width:180px;font-weight:600;color:var(--ink);background:var(--accent-tint)}
.bp-table tr.bp-visible th,.bp-table tr.bp-visible td{border-bottom:2px dashed var(--muted)}
.bp-table tr.bp-pain th,.bp-table tr.bp-pain td{background:var(--warm-tint)}
.bp-table tr.bp-pain th{color:var(--warm)}
.bp-table tr.bp-fix th,.bp-table tr.bp-fix td{background:rgba(11,90,42,.07)}
.bp-table tr.bp-fix th{color:var(--success)}
.bp-table tr:last-child th,.bp-table tr:last-child td{border-bottom:0}
.bp figcaption{margin-top:10px;font-size:var(--fs-caption);line-height:1.5;text-align:center;color:var(--muted)}
@media (max-width:640px){.bp-table th,.bp-table td{padding:12px 14px}}

/* home hero: availability line (replaces an inline style and a <br>) */
.case-hero .loc{display:flex;align-items:center;gap:8px;font-size:var(--fs-small,15px);font-weight:600;color:var(--text);margin:24px 0 0}
.case-hero .loc svg{flex:none}

/* ---------- WCAG 2.2 fixes ---------- */
/* 2.4.11 Focus Not Obscured: reserve room for the sticky header plus jump bar (about 120px).
   Section offset lowered by the same amount, so jump links land where they did before. */
html:has(.jump){scroll-padding-top:136px}
html:has(.jump) .case-page section[id]{scroll-margin-top:90px}
/* site map section headings are h3 (no skipped level); keep their small label style */
.case-page .ia-sec h3{font-family:Inter,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;font-size:14px;font-weight:600;line-height:1.3;letter-spacing:0;margin:0}
/* contact form: visible hint under a label */
.ct-hint{margin:-2px 0 8px;font-size:14px;line-height:1.45;color:var(--muted)}

/* case study heroes (pd-hero-grid): one column on tablets and phones, matching the rule above */
@media (max-width:900px){
  .case-hero .pd-hero-grid{grid-template-columns:1fr}
  .case-hero .pd-hero-grid>*{grid-column:1 / -1}
  .case-hero .pd-hero-grid figure{max-width:520px}
  .case-hero .pd-hero-title{width:auto}
}

/* ---------- contact page, streamlined: intro and form side by side ---------- */
.ct-hero{padding:64px 0 72px}
.ct-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:56px;align-items:start}
.ct-intro .lede{margin-bottom:28px}
.ct-facts{margin:0 0 28px;padding:0;border-top:1px solid var(--rule)}
.ct-facts>div{display:grid;grid-template-columns:110px 1fr;gap:16px;padding:12px 0;border-bottom:1px solid var(--rule)}
.ct-facts dt{font-size:var(--fs-label,13px);font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--warm);padding-top:2px}
.ct-facts dd{margin:0;font-size:var(--fs-small,15px);line-height:1.5;color:var(--text)}
.ct-panel{background:var(--ice);border-radius:12px;padding:32px}
.ct-hero .ct-form{background:none;border:0;padding:0;border-radius:0}
.ct-hero .ct-form h2{font-size:24px;margin:0 0 20px}
.ct-hero .ct-field input,.ct-hero .ct-field select,.ct-hero .ct-field textarea{background:#fff}
@media (max-width:900px){.ct-layout{grid-template-columns:1fr;gap:40px}}
@media (max-width:560px){.ct-panel{padding:24px 18px}.ct-facts>div{grid-template-columns:1fr;gap:2px}}

/* case study card (organism) on any page: same look as the homepage cards */
.case-page .cs-card{border:0;border-radius:12px;background:var(--ice)}
.case-page .cs-card .art{border-bottom:0;background:var(--ice)}
.case-page .cs-card h3{font-size:var(--fs-h3);line-height:1.3;margin:0 0 8px}
.case-page .cs-card .shows{font-size:var(--fs-label);letter-spacing:.12em;margin:0 0 8px}
.case-page .cs-card .desc{font-size:var(--fs-small);line-height:1.55;margin:0 0 16px}
.case-page .cs-grid{gap:16px}
.case-section.tint .cs-card{background:#fff}

/* contact form: required marker, field errors, confirmation */
.ct-req-note{margin:-12px 0 20px;font-size:14px;color:var(--text)}
.req{color:var(--error);font-weight:700;margin-left:2px}
.ct-err{display:flex;align-items:flex-start;gap:6px;margin:6px 0 0;font-size:14px;font-weight:600;line-height:1.4;color:var(--error)}
.ct-err::before{content:"!";flex:none;display:inline-grid;place-items:center;width:18px;height:18px;margin-top:1px;border-radius:50%;background:var(--error);color:#fff;font-size:12px;font-weight:700}
.ct-err[hidden]{display:none}
.ct-done{text-align:left;padding:8px 0;color:var(--success)}
.ct-done[hidden]{display:none}
.ct-done:focus{outline:none}
.ct-done:focus-visible{outline:3px solid var(--accent);outline-offset:6px;border-radius:8px}
.ct-done h2{font-size:24px;margin:12px 0 8px;color:var(--text)}
.ct-done p{color:var(--text);margin:0 0 24px}
.ct-form[hidden]{display:none}
@media (forced-colors:active){.ct-err::before{forced-color-adjust:none;background:CanvasText;color:Canvas}}

/* case study card hover: matches the Previous / Next cards at the end of case studies
   (navy outline and underlined title, no lift or drop shadow) */
.cs-card::before{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 2px transparent}
.cs-card:hover{transform:none;box-shadow:none}
.cs-card:hover::before{box-shadow:inset 0 0 0 2px var(--ink)}
.cs-card:hover h3{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
@media (forced-colors:active){.cs-card:hover{outline:2px solid Highlight}}
