
:root{--paper:#f4f1e9;--ink:#20211f;--red:#d94b32;--yellow:#ffc943;--line:rgba(32,33,31,.65);--green:#24423e;--max:1110px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Instrument Sans',Arial,sans-serif;font-size:16px;line-height:1.4}a{color:inherit;text-decoration:none}.wrap{width:min(var(--max),calc(100% - 64px));margin-inline:auto}.topbar{height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px}.logo{display:inline-flex;align-items:center;width:144px;flex:0 0 auto}.logo img{display:block;width:100%;height:auto}.nav{display:flex;align-items:center;gap:26px;font-size:13px}.nav a:last-child{margin-left:0}.nav a:hover,.text-link:hover{color:var(--red)}.eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase}.intro{padding:44px 0 36px}.crumb{font-size:12px;margin-bottom:40px}.crumb a{border-bottom:1px solid var(--ink)}.intro-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:7%;align-items:start}.intro h1{padding-top:10px;font-family:'Bricolage Grotesque',sans-serif;font-size:clamp(36px,5vw,58px);line-height:.95;letter-spacing:-.035em;font-weight:500;margin:0;color:#000;overflow-wrap:anywhere}.intro h1 span{display:inline;color:inherit}.intro-copy{padding-bottom:6px}.intro-copy .eyebrow{display:none}.intro-copy p{font-size:19px;line-height:1.28;letter-spacing:-.015em;margin:0 0 22px}.meta{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.meta span{background:#000;color:#fff;border:1px solid #000;border-radius:99px;padding:6px 11px;font-size:11px}.hero-image{background:#e7e3d9;margin:0;overflow:hidden}.hero-image img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.project-body{padding:76px 0}.section-row{display:grid;grid-template-columns:.7fr 1.3fr;gap:8%;padding:0 0 62px;border-bottom:1px solid rgba(32,33,31,.35);margin-bottom:62px}.section-label{font-size:11px;letter-spacing:.13em;text-transform:uppercase;padding-top:8px}.section-copy h2{font-family:'Bricolage Grotesque',sans-serif;font-size:clamp(36px,5vw,58px);line-height:.95;letter-spacing:-.035em;font-weight:500;margin:0 0 22px;max-width:700px;color:#000}.section-copy p{font-size:16px;max-width:630px;margin:0 0 14px}.gallery{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 62px}.gallery figure{margin:0;min-width:0}.gallery .image{overflow:hidden;background:#dedbd2;aspect-ratio:3/2}.gallery .wide{grid-column:1/-1}.gallery .wide .image{aspect-ratio:16/7}.closing{background:var(--green);color:var(--paper);padding:36px 5%;display:flex;justify-content:space-between;align-items:center;gap:24px}.closing p{font-family:'Bricolage Grotesque',sans-serif;font-size:clamp(26px,4vw,42px);letter-spacing:-.03em;line-height:1;margin:0}.closing a{font-size:13px;border-bottom:1px solid var(--paper);padding-bottom:5px;white-space:nowrap}.next-project{padding:58px 0 68px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.next-project .eyebrow{margin-bottom:13px}.next-project h2{font-family:'Bricolage Grotesque',sans-serif;font-size:clamp(42px,6vw,72px);font-weight:500;line-height:.9;letter-spacing:-.045em;margin:0}.next-project>a{font-size:13px;border-bottom:1px solid var(--ink);padding-bottom:5px}.footer{font-size:11px;display:flex;justify-content:space-between;align-items:center;padding:12px 0 22px;border-top:1px solid var(--line)}.footer a{border-bottom:1px solid var(--ink)}
@media(max-width:760px){.wrap{width:calc(100% - 36px)}.topbar{height:64px}.nav{gap:12px;font-size:12px}.nav a:nth-child(2){display:none}.logo{width:127px}.intro{padding-top:30px}.crumb{margin-bottom:30px}.intro-grid{grid-template-columns:1fr;gap:30px}.intro h1{font-size:clamp(34px,8vw,46px);padding-top:0}.intro-copy p{font-size:18px;max-width:520px}.hero-image img{aspect-ratio:3/2}.project-body{padding:52px 0}.section-row{grid-template-columns:1fr;gap:18px;padding-bottom:38px;margin-bottom:38px}.section-copy h2{font-size:clamp(38px,9vw,52px)}.section-copy p{font-size:15px}.gallery{gap:10px;margin-bottom:40px}.gallery .wide .image{aspect-ratio:3/2}.closing{padding:28px 24px;align-items:flex-start;flex-direction:column}.next-project{padding:42px 0 50px;align-items:flex-start;flex-direction:column}.next-project h2{font-size:54px}}
@media(max-width:430px){.nav a:first-child{display:none}.intro h1{font-size:60px;padding-top:0}.feature .visual,.gallery{grid-template-columns:1fr}.gallery .wide{grid-column:auto}.gallery .wide .image{aspect-ratio:3/2}.closing p{font-size:32px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Match the top label position and spacing on the homepage and Work page. */
.intro{padding-top:58px}
.crumb{font-size:11px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:30px}
.crumb a{border-bottom:0}
.next-project{padding:42px 0 62px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line)}
.next-project a{font-size:13px;border-bottom:1px solid var(--ink);padding-bottom:5px}
@media(max-width:760px){.intro{padding-top:42px}.crumb{font-size:9px;margin-bottom:27px}}
@media(max-width:430px){.next-project{gap:22px;flex-wrap:wrap}}

.project-body img{max-width:100%;height:auto;display:block;margin:0 auto 2rem}.bab-subtitle{font-size:clamp(1.5rem,3vw,2.5rem)}.project-editor-content{max-width:850px;margin:auto}

/* Project layout blocks — frontend and editor */
.project-editor-content .wp-block-image {margin:0 0 28px;}
.project-editor-content .wp-block-image img {display:block;width:100%;height:auto;}
.project-editor-content .wp-block-columns {display:flex;gap:24px;margin:0 0 28px;align-items:stretch;}
.project-editor-content .wp-block-column {min-width:0;flex:1;}
.project-editor-content .wp-block-column .wp-block-image {margin:0;}
.project-editor-content .bab-image-text {align-items:center;}
.project-editor-content .bab-image-text p {max-width:32ch;line-height:1.5;}
@media(max-width:700px){.project-editor-content .wp-block-columns{flex-direction:column;gap:20px;}}
/* Editor previews */
.editor-styles-wrapper .bab-image-pair,.editor-styles-wrapper .bab-image-text{gap:24px;}

/* v0.4 — let project blocks occupy the full approved page width. */
body.single-bab_project .project-editor-content {
  width:100%; max-width:none; margin:0; min-width:0;
}
body.single-bab_project .project-editor-content > * {
  max-width:none; width:100%; box-sizing:border-box;
}
body.single-bab_project .project-editor-content .wp-block-columns {
  display:flex; width:100%; max-width:none; gap:18px;
  align-items:stretch; margin:0 0 28px;
}
body.single-bab_project .project-editor-content .wp-block-column {
  flex:1 1 0; min-width:0;
}
body.single-bab_project .project-editor-content .wp-block-image,
body.single-bab_project .project-editor-content figure {max-width:none;}
body.single-bab_project .project-editor-content .wp-block-image img {
  display:block; width:100%; max-width:100%; height:auto; margin:0;
}
body.single-bab_project .project-editor-content > .wp-block-image {margin:0 0 28px;}
body.single-bab_project .intro-copy .meta span {
  display:inline-block; background:#000; color:#fff; border:1px solid #000;
  border-radius:99px; padding:6px 11px; font-size:11px; line-height:1.1;
}
body.single-bab_project .bab-subtitle {margin-top:42px; margin-bottom:0;}
@media(max-width:700px){
 body.single-bab_project .project-editor-content .wp-block-columns {flex-direction:column;gap:18px;}
 body.single-bab_project .project-editor-content .wp-block-column {flex-basis:auto;}
}

/* v0.5: original project-page narrative sequence and footer */
body.single-bab_project .intro {padding-bottom:0;}
body.single-bab_project .project-body {padding-top:54px;padding-bottom:44px;}
body.single-bab_project .bab-opening-image {margin:0 0 68px;width:100%;}
body.single-bab_project .bab-opening-image img {display:block;width:100%;height:auto;margin:0;}
body.single-bab_project .bab-brief {grid-template-columns: 0.7fr 1.3fr;gap:8%;margin:0 0 62px;padding:0 0 62px;border-bottom:1px solid rgba(32,33,31,.35);}
body.single-bab_project .bab-brief .section-label {font-size:11px;letter-spacing:.13em;text-transform:uppercase;padding-top:8px;}
body.single-bab_project .bab-brief h2 {font-weight:600;line-height:1.02;letter-spacing:-.04em;}
body.single-bab_project .bab-brief p {line-height:1.4;margin:0 0 16px;}
body.single-bab_project .bab-project-cta {margin:0 0 0;background:#24423e;}
body.single-bab_project .bab-project-cta p {font-size:clamp(24px,3vw,38px);font-weight:400;}
body.single-bab_project .bab-project-nav {padding:34px 0 100px;display:flex;justify-content:space-between;align-items:flex-start;gap:24px;}
body.single-bab_project .bab-project-nav a {font-size:13px;border-bottom:1px solid currentColor;padding-bottom:4px;}
body.single-bab_project .bab-legacy-gallery img {width:100%;height:auto;margin:0 0 28px;}
@media(max-width:760px){body.single-bab_project .project-body{padding-top:38px;}body.single-bab_project .bab-opening-image{margin-bottom:42px;}body.single-bab_project .bab-brief{grid-template-columns:1fr;gap:16px;padding-bottom:38px;margin-bottom:38px;}body.single-bab_project .bab-project-nav{padding-bottom:60px;}}

/* v0.6: black contact panel on project pages */
body.single-bab_project .bab-project-cta {background:#000;color:#fff;}
body.single-bab_project .bab-project-cta a {color:#fff;border-color:#fff;}

/* v0.7 — matching horizontal and vertical image spacing */
body.single-bab_project .project-editor-content .wp-block-columns {gap:28px; margin-bottom:28px;}
body.single-bab_project .project-editor-content > .wp-block-image {margin-bottom:28px;}
body.single-bab_project .bab-opening-image .wp-block-image {margin:0;}
body.single-bab_project .bab-opening-image img {width:100%;height:auto;display:block;margin:0;}
@media(max-width:700px){
 body.single-bab_project .project-editor-content .wp-block-columns {gap:20px;margin-bottom:20px;}
 body.single-bab_project .project-editor-content > .wp-block-image {margin-bottom:20px;}
}

/* v13 — unified individual category lozenges */
.work-categories{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 10px}
.work-categories .work-category,.bab-featured-grid .project-copy .work-categories .work-category,.work-index .project-copy .work-categories .work-category{display:inline-block!important;background:#111!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:6px 11px!important;margin:0!important;font-size:10px!important;line-height:1.2!important;letter-spacing:0!important;text-transform:none!important;mix-blend-mode:normal!important;width:auto!important}

/* v13 — display tracking and individual project badges */
.intro h1,.section-copy h2,.closing p,.next-project h2,.next-project h2,.bab-brief h2{letter-spacing:-.01em}
.intro-copy .meta .work-categories{margin:0;gap:7px}
.intro-copy .meta .work-category{background:#000;color:#fff}

/* v15: ensure badge wrapper has no pill styling; only each tag is a pill */
body.single-bab_project .intro-copy .meta .work-categories{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:7px!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important;width:auto!important;}
body.single-bab_project .intro-copy .meta .work-categories > .work-category{display:inline-block!important;background:#111!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:6px 11px!important;margin:0!important;font-size:10px!important;line-height:1.2!important;}

/* v23: align brief headline weight with project title. */
body.single-bab_project .bab-brief h2{font-weight:500;}
