
/* Jessica Coombs CV-aligned identity, version 17.
   Visual treatment only. Original campaign artwork remains unchanged. */
:root {
  --paper:#ffffff;
  --ink:#071e48;
  --red:#b99ad1;
  --sage:#f1eaf6;
  --yellow:#e9dcf2;
  --line:#d9d2e3;
  --muted:#55647c;
  --navy:#071e48;
  --lavender:#b99ad1;
  --lilac-pale:#f7f3fa;
}
body {background:#fff;color:var(--navy);font-family:'DM Sans',sans-serif}
::selection {background:#dfcbed;color:var(--navy)}
a:focus-visible,button:focus-visible {outline:3px solid #9c70be;outline-offset:4px}
.top {background:var(--navy);color:#fff;border-bottom:3px solid var(--lavender);padding-left:22px;padding-right:22px;width:100%;max-width:none;position:relative;z-index:3}
.top .logo {color:#fff;letter-spacing:-.035em}
.top .logo span {color:var(--lavender)}
.top nav a:hover,.top a:hover {color:#d8c2e8}
.eyebrow,.meta,.kicker {color:#956cb3}
h1,h2,h3 {color:inherit}
.footer {background:var(--navy);color:#fff;width:100%;max-width:none;padding:28px max(28px,calc((100vw - 1200px)/2));border-top:5px solid var(--lavender)}
.footer a:hover {color:#dfcbed}
.disclaimer {color:var(--muted);border-color:var(--line)}
.pill,.tag {border-radius:999px}
.next-link {border-color:var(--line)}
/* Home page: a strong CV-like nameplate and white content zones */
body:has(#home) .hero {
  background:linear-gradient(180deg,transparent 0 17%,rgba(255,255,255,.95) 17% 100%),
  url('cv-chevron-pattern.svg') center top/240px 160px repeat;
  border-bottom:0;
  padding-top:110px;
}
body:has(#home) .hero:before {
  content:'JESSICA COOMBS';display:inline-block;
  padding:11px 20px;background:var(--navy);color:var(--lavender);
  border-radius:999px;font:700 12px 'DM Sans',sans-serif;letter-spacing:.16em;
  margin-bottom:10px;
}
body:has(#home) .hero h1 {letter-spacing:-.082em}
body:has(#home) .hero h1 .outline {color:transparent;-webkit-text-stroke:2px var(--navy)}
body:has(#home) .hero h1 .red {color:#9d73ba}
body:has(#home) .hero .scribble,body:has(#home) .hero .stamp {color:#956cb3;border-color:#956cb3}
body:has(#home) .hero .asterisk {color:#b99ad1}
body:has(#home) .ticker {background:var(--navy);color:#fff;border-top:4px solid var(--lavender)}
body:has(#home) .section {background:#fff}
body:has(#home) .section h2 {color:var(--navy)}
body:has(#home) .section-note {color:#9a76b2}
body:has(#home) .project {background:#f5f0f8;border:1px solid #c9bad6;border-radius:12px;color:var(--navy)}
body:has(#home) .project:nth-child(2) {background:#eee4f4}
body:has(#home) .project:nth-child(3) {background:#e6eaf3}
body:has(#home) .project:nth-child(4) {background:#f7edf7}
body:has(#home) .project:hover,body:has(#home) .project:focus-visible {box-shadow:8px 8px 0 var(--lavender)}
body:has(#home) .project .tag {display:inline-block;background:var(--navy);color:#fff;padding:8px 13px}
body:has(#home) .samwumed-card {background:#ee6d28!important;color:#fff!important;border-color:#ee6d28}
body:has(#home) .samwumed-card .tag {background:rgba(7,30,72,.85)}
body:has(#home) .extras {border-color:var(--line)}
body:has(#home) .extra-card {border:1px solid #c9bad6;border-radius:12px}
body:has(#home) .extra-card.article {background:#eee4f4}
body:has(#home) .extra-card.podcast {background:var(--navy);color:#fff}
body:has(#home) .about {background:var(--navy)!important;color:#fff}
body:has(#home) .about h2 {color:#fff}
body:has(#home) .about .note {background:#132d57;border:1px solid #a48ab9;border-radius:12px}
body:has(#home) .about .eyebrow {color:#d3b8e6}
body:has(#home) .contact {border-color:var(--line)}
body:has(#home) .contact a.mail {border-color:var(--lavender)}
body:has(#home) .modal-inner {background:#fff;color:var(--navy)}
/* Case study templates */
.case-hero,.pippa-hero {background:var(--navy)!important;color:#fff!important;border-bottom:6px solid var(--lavender)!important;position:relative}
.case-hero h1,.pippa-hero h1 {color:#fff!important}
.case-hero .eyebrow,.pippa-hero .eyebrow {color:#d7bee9!important}
.case-hero .red,.pippa-hero .red {color:#d7bee9!important}
.case-hero .case-meta,.pippa-hero .case-meta {color:#e9ddf2}
.case-section,.pippa-section {border-color:var(--line)}
.case-section h2,.pippa-section h2 {color:var(--navy)}
.case-section .eyebrow,.pippa-section .eyebrow {color:#956cb3}
.case-intro {color:var(--navy)}
.note-box,.polmed-quote,.pippa-notes {border-color:#d9c8e6}
.polmed-gallery img,.polmed-art img,.ros-gallery img,.ros-email img,.pippa-gallery img {max-width:100%;height:auto;object-fit:contain}
.polmed-art,.pippa-figure {background:#f8f6fa}
.polmed-copy-grid > * {border-color:var(--line)}
/* SAMWUMED's independent case study layout */
body:has(.portfolio-credit) {background:#fff;color:var(--navy)}
body:has(.portfolio-credit) .hero {background:var(--navy)!important;color:#fff!important;border-bottom:6px solid var(--lavender)!important}
body:has(.portfolio-credit) .hero h1,body:has(.portfolio-credit) .hero .lead {color:#fff!important}
body:has(.portfolio-credit) .hero .kicker,body:has(.portfolio-credit) .hero .eyebrow {color:#d8c2e8!important}
body:has(.portfolio-credit) .band {background:var(--navy)!important;color:#fff!important}
body:has(.portfolio-credit) .section {border-color:var(--line)}
body:has(.portfolio-credit) .section h2 {color:var(--navy)}
body:has(.portfolio-credit) .tag {border-radius:999px}
body:has(.portfolio-credit) .presentation-art img,body:has(.portfolio-credit) .gallery img {max-width:100%;height:auto;object-fit:contain}
body:has(.portfolio-credit) .portfolio-credit {color:var(--navy)}
@media(max-width:760px) {
 .top {padding-left:18px;padding-right:18px}
 body:has(#home) .hero {padding-top:78px;background-size:auto,180px 120px}
 body:has(#home) .hero:before {font-size:10px}
 .footer {padding:26px 18px}
}

/* v18: Pooja's actual geometric motif, sampled from the supplied CV.
   Restrained placement; no changes to any client campaign artwork. */
body:has(#home) .hero {
 background:linear-gradient(to bottom,transparent 0 95px,#ffffff 95px 100%),
 url('pooja-cv-pattern.webp') center top / auto 140px repeat-x !important;
 padding-top:118px;
}
/* The motif repeats as a neat signature band rather than a wallpaper texture. */
body:has(#home) .hero:before {margin-top:0}
body:has(#home) .contact {position:relative}
body:has(#home) .contact:after {
 content:'';display:block;height:74px;margin-top:52px;
 background:url('pooja-cv-pattern.webp') center center/auto 135px repeat-x;
 border-top:3px solid #071e48;
}
@media(max-width:760px){
 body:has(#home) .hero {
  background:linear-gradient(to bottom,transparent 0 70px,#ffffff 70px 100%),
  url('pooja-cv-pattern.webp') center top / auto 108px repeat-x !important;
  padding-top:90px;
 }
 body:has(#home) .contact:after {height:54px;background-size:auto 100px}
}

/* v20: keep Republic of Savvy email artwork at its original aspect ratio */
.ros-email{width:100%;max-width:650px;height:auto!important;object-fit:contain;aspect-ratio:auto;}

/* v21: actual pen strokes from Jessica's lavender handwritten sheet */
.handwriting{display:block;object-fit:contain;pointer-events:none;user-select:none;position:relative;max-width:100%;height:auto;filter:contrast(1.04)}
#home{overflow:hidden}
#home .hand-idea{position:absolute;top:30px;right:2%;width:clamp(180px,26vw,345px);transform:rotate(-2deg);z-index:1}
#home .hand-spark{position:absolute;top:265px;right:4%;width:80px;transform:rotate(12deg)}
#home .hand-coffee{width:clamp(155px,19vw,245px);flex:0 0 auto;transform:rotate(-4deg)}
#work .hand-good{width:clamp(150px,19vw,230px);transform:rotate(-4deg);margin-left:auto}
#contact{position:relative}
#contact .hand-envelope{position:absolute;right:8%;top:70px;width:70px;transform:rotate(9deg)}
#contact .hand-cat{position:absolute;right:1%;bottom:0;width:118px}
#beyond-the-brief{position:relative}
#beyond-the-brief .hand-also{width:clamp(170px,22vw,245px);margin:-24px 0 24px auto;transform:rotate(-5deg)}
.case-hero,.pippa-hero,body:has(.portfolio-credit) .hero{position:relative}
.hand-case-star{position:absolute;right:6%;top:42px;width:72px;transform:rotate(8deg)}
.hand-case-heart{position:absolute;right:11%;bottom:28px;width:48px}
.hand-case-smiley{position:absolute;right:15%;bottom:22px;width:55px}
@media(max-width:760px){
 #home .hand-idea{top:15px;right:0;width:155px;opacity:.8}
 #home .hand-spark{top:225px;right:2%;width:48px}
 #home .hand-coffee{width:165px;margin-top:18px}
 #home .hero-bottom{flex-wrap:wrap}
 #work .hand-good{width:135px}
 #contact .hand-envelope{right:1%;top:35px;width:45px}
 #contact .hand-cat{width:76px}
 .hand-case-star{width:44px;right:3%;top:24px}
}

/* v22: handwriting is an editorial accent, never a floating obstruction. */
#home {overflow:visible;position:relative}
#home .handwriting-hero-strip {
  display:flex;align-items:center;justify-content:space-between;gap:36px;
  width:100%;margin:36px 0 0;padding:16px 0 8px;
  border-top:1px solid #d9d2e3;position:relative;
}
#home .handwriting-hero-strip .hand-coffee,
#home .handwriting-hero-strip .hand-idea {
  position:static!important;transform:rotate(-3deg);margin:0;
  max-height:100px;object-fit:contain;flex:0 1 auto;
}
#home .handwriting-hero-strip .hand-coffee {width:clamp(180px,24vw,285px)}
#home .handwriting-hero-strip .hand-idea {width:clamp(225px,32vw,380px);transform:rotate(1deg)}
#home .hero-bottom {display:block}
#home .hero-bottom .hero-copy,#home .hero-bottom .hero-identity {max-width:720px}
#work .section-head {display:flex;align-items:flex-end;gap:20px;justify-content:space-between}
#work .hand-good {position:static!important;flex:0 0 auto;margin:0 0 16px!important;width:clamp(160px,20vw,240px)}
#beyond-the-brief .section-head {display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
#beyond-the-brief .hand-also {position:static!important;width:clamp(175px,22vw,250px);margin:0 0 15px!important;transform:rotate(-3deg)}
#contact {padding-bottom:140px}
#contact .hand-envelope {top:auto!important;bottom:24px!important;right:170px!important;width:65px!important}
#contact .hand-cat {bottom:10px!important;right:35px!important;width:115px!important}
@media(max-width:760px) {
 #home .handwriting-hero-strip {gap:10px;flex-wrap:wrap;justify-content:flex-start;margin-top:25px}
 #home .handwriting-hero-strip .hand-coffee {width:170px;max-height:90px}
 #home .handwriting-hero-strip .hand-idea {width:220px;max-height:85px}
 #work .section-head,#beyond-the-brief .section-head {align-items:flex-start;flex-wrap:wrap}
 #work .hand-good {width:155px;margin:0 0 8px auto!important}
 #beyond-the-brief .hand-also {width:175px;margin:0 0 8px auto!important}
 #contact {padding-bottom:115px}
 #contact .hand-envelope {right:125px!important;width:55px!important}
 #contact .hand-cat {right:18px!important;width:95px!important}
}

/* v23: on phones, present all skill labels without clipping */
@media(max-width:760px){
 .ticker{white-space:normal!important;overflow:visible!important;padding:15px 0!important}
 .ticker .wrap{display:flex!important;flex-wrap:wrap!important;align-items:center;justify-content:center;gap:9px 19px;width:calc(100% - 36px)!important}
 .ticker .wrap span{display:inline-block!important;white-space:normal!important;padding:0!important;font-size:11px;line-height:1.6;letter-spacing:.06em}
}
