/* Local preview art direction. Keep the site's type, grids and controls. */
:root { --studio-sand:#e5d8c6; --studio-ink:#24291f; --studio-sage:#254a47; }
:root[data-theme="dark"] { --ground:#292824; --ground-2:#454039; --paper:#373733; --card:#333632; --sand:#41423b; --muted:#cec6b9; }
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--ground:#292824;--ground-2:#454039;--paper:#373733;--card:#333632;--sand:#41423b;--muted:#cec6b9}}
/* Change material at real section boundaries; text and controls inherit local contrast. */
.atelier-shell, .h-hero, .c-hero, .cs-top, .p-hero, .ending, .work-opening, .partner-intro, .article-opening, .offer-opening {
  color-scheme:light; --ink:#292921; --muted:#514e44; --paper:#fff9ef; --sand:#ece0cd; --ground:#eee4d4; --card:#faf5ea; --ground-2:#dfd2be; --line:#43391733; --line-2:#4c473b63; --flame:#dc692d; --flame-ink:#994312; --on-flame:#231e17; --focus:#383320; color:var(--ink);
}
.atelier-shell,.article-opening,.offer-opening,.work-opening,.partner-intro {background:var(--ground)}
.h-hero,.c-hero,.cs-top,.ending { background:var(--sand); }
.h-hero .bgl img,.c-hero .bgl img,.ending .bgl img {opacity:.8!important}
.h-hero .bgl::after,.c-hero .bgl::after,.ending .bgl::after {background:linear-gradient(95deg,#efe5d8 5%,#efe5d8ef 38%,#efe5d875 74%,#efe5d84d)}
.ending{border-top:1px solid var(--line)}
/* Dark theme: hero and photo bands go dark with the rest of the page (R1, Brandon 2026-11-26). Light keeps the cream bands above. */
:root[data-theme="dark"] .atelier-shell,:root[data-theme="dark"] .h-hero,:root[data-theme="dark"] .c-hero,:root[data-theme="dark"] .cs-top,:root[data-theme="dark"] .p-hero,:root[data-theme="dark"] .ending,:root[data-theme="dark"] .work-opening,:root[data-theme="dark"] .partner-intro,:root[data-theme="dark"] .article-opening,:root[data-theme="dark"] .offer-opening,:root[data-theme="dark"] .editorial-header{color-scheme:dark;--ink:#f0ebe3;--muted:#cec6b9;--paper:#373733;--sand:#34322d;--ground:#292824;--card:#333632;--ground-2:#454039;--line:rgba(240,235,227,.14);--line-2:rgba(240,235,227,.28);--flame:#ee9a26;--flame-ink:#f6c27a;--on-flame:#1f1c1a;--focus:#f0ebe3;color:var(--ink)}
:root[data-theme="dark"] .editorial-header{--ground:#2d322e;--sand:#343a35;--card:#353b36}
:root[data-theme="dark"] .article-opening{background:#2d322e}:root[data-theme="dark"] .h-hero{background:var(--sand)}
:root[data-theme="dark"] :is(.h-hero,.c-hero,.ending) .bgl::after{background:linear-gradient(95deg,#2c2a26 0,#2c2a26f2 42%,#2c2a26b8 66%,#2c2a2666)!important}
:root[data-theme="dark"] .ending__contact{background:rgba(41,40,36,.9)}
:root[data-theme="dark"] .cs-top .clogo__d{display:block!important}:root[data-theme="dark"] .cs-top .clogo__l{display:none!important}
@media(prefers-color-scheme:dark){
:root:not([data-theme="light"]) .atelier-shell,:root:not([data-theme="light"]) .h-hero,:root:not([data-theme="light"]) .c-hero,:root:not([data-theme="light"]) .cs-top,:root:not([data-theme="light"]) .p-hero,:root:not([data-theme="light"]) .ending,:root:not([data-theme="light"]) .work-opening,:root:not([data-theme="light"]) .partner-intro,:root:not([data-theme="light"]) .article-opening,:root:not([data-theme="light"]) .offer-opening,:root:not([data-theme="light"]) .editorial-header{color-scheme:dark;--ink:#f0ebe3;--muted:#cec6b9;--paper:#373733;--sand:#34322d;--ground:#292824;--card:#333632;--ground-2:#454039;--line:rgba(240,235,227,.14);--line-2:rgba(240,235,227,.28);--flame:#ee9a26;--flame-ink:#f6c27a;--on-flame:#1f1c1a;--focus:#f0ebe3;color:var(--ink)}
:root:not([data-theme="light"]) .editorial-header{--ground:#2d322e;--sand:#343a35;--card:#353b36}
:root:not([data-theme="light"]) .article-opening{background:#2d322e}:root:not([data-theme="light"]) .h-hero{background:var(--sand)}
:root:not([data-theme="light"]) :is(.h-hero,.c-hero,.ending) .bgl::after{background:linear-gradient(95deg,#2c2a26 0,#2c2a26f2 42%,#2c2a26b8 66%,#2c2a2666)!important}
:root:not([data-theme="light"]) .ending__contact{background:rgba(41,40,36,.9)}
:root:not([data-theme="light"]) .cs-top .clogo__d{display:block!important}:root:not([data-theme="light"]) .cs-top .clogo__l{display:none!important}
}
/* Case cover without its eyebrow: the logo takes the whole first row (R7) */
.cs-cover:has(>figure) > .clogo{grid-column:1/-1}

.ending__contact{background:#f6eddee8;padding:1.4rem 1.7rem;border-radius:3px}
.chooser-band, .sec--sand {background:var(--sand)}
.sec--paper{border-block:1px solid var(--line)}
.sec--paper .tile,.fits a,.quoted a{box-shadow:none}
.offer-opening {border-bottom:1px solid var(--line)}
.offer-opening .spec {padding-block:clamp(2.4rem,5vw,5rem)}
.offer-opening .file::before {background:var(--paper)}
.article-opening {border-bottom:1px solid var(--line);background:#e0e6df}
.article-opening .g-hero,.article-opening .r-hero,.article-opening .co-hero{padding-block:clamp(2rem,4vw,4.4rem)}
/* Partner signatures sit directly on one continuous teal background. */
.signature-band,.offer-partners {background:var(--studio-sage);color:#fff9ec;padding-block:clamp(1.7rem,4vw,3.3rem)}
.signature-band h2,.offer-partners h2 {font:600 .88rem/1.5 var(--font);color:#c5d8d3;letter-spacing:.04em;margin:0}
.signatures {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1rem 2rem;list-style:none;margin:1.3rem 0 0;padding:0}
.signatures li {min-width:0;max-width:none}
.signature {position:relative;display:grid;gap:.5rem;align-content:start;color:#fff9ec;text-decoration:none;padding:.5rem 0;min-height:66px}
.signature::after {content:'';width:1.75rem;height:1px;position:absolute;bottom:0;background:#efd1ad;transform:scaleX(0);transform-origin:left;transition:transform .22s}
.signature:is(:hover,:focus-visible)::after{transform:scaleX(1)}
.signature:focus-visible{outline:2px solid #fff9ec;outline-offset:5px}
.signature strong,.signature .mark {display:flex;align-items:center;height:34px;font-size:clamp(1rem,1.5vw,1.35rem);letter-spacing:-.035em}
.signature img{max-width:110px;max-height:30px;height:auto;width:auto}
.signature [alt="Pax8"]{max-height:36px}
.signature small {font-size:.81rem;line-height:1.44;color:#d4e1da}
.ftr__partners {border:0;padding:0;margin-top:2.3rem}
.ftr .signature-band {margin-inline:calc((100% - 100vw)/2)}
.ftr__tm{margin-top:1.65rem}
.offer-partners .signatures{grid-template-columns:repeat(auto-fit,minmax(8rem,1fr))}
.program-tiles{padding-block:3rem}
.partner-intro{padding-block:clamp(2rem,5vw,5rem)}
.partner-intro .lede{max-width:55ch}
.partner-intro .link{margin-top:1rem;display:inline-block}
.program-tiles .tiles{margin-top:1.65rem}
.program-tiles .tile:focus-visible,.tile:hover {border-color:var(--flame-ink)}
/* Portfolio spreads show the work first and keep prose at a readable width. */
.work-opening .cs-cover{padding-block:clamp(1.5rem,4vw,4rem)}
.work-opening h1{margin-bottom:.25em}
.cs-top > .wrap,.work-opening > .wrap,.work-list {width:min(calc(100% - 2 * var(--gut)),112rem);max-width:none}
.cs-top{padding-bottom:clamp(1.5rem,3vw,3.75rem)}
.cs-cover:has(>figure){display:grid;grid-template-columns:minmax(0,1fr) minmax(16rem,.66fr);gap:1rem 2rem;align-items:end}
.cs-cover:has(>figure) > .clogo {justify-self:start}
.cs-cover:has(>figure) > .kicker {justify-self:end;align-self:center}
.cs-cover:has(>figure) h1 {font-size:clamp(2.3rem,5vw,5.8rem);margin:0}
.cs-cover:has(>figure) .lede {margin:0}
.cs-top .cs-cover > figure{grid-column:1/-1;width:100%;max-width:none;margin:1rem 0 0;border-radius:4px;box-shadow:none;aspect-ratio:2.45}
.cs-top .plate__img{object-position:center 15%}
.cs-top .vid__cap{background:linear-gradient(transparent,rgba(16,25,24,.82));color:white}
.cs-top .clogo__d{display:none!important}.cs-top .clogo__l{display:block!important}
.w-index a{grid-template-columns:2rem minmax(8rem,.8fr) minmax(12rem,1fr) minmax(18rem,1.5fr);gap:2rem}
.w-index .plate{aspect-ratio:2.4;transform:none;border-radius:3px;box-shadow:none}
.w-index .plate img{transition:transform .4s ease;object-position:center 20%}
.w-index a:is(:hover,:focus-visible) .plate img{transform:scale(1.025)}
.atelier {display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(2rem,5vw,5rem);align-items:center;padding-block:clamp(2.2rem,5vw,5.5rem)}
.atelier-copy h1{font-size:clamp(3rem,5.2vw,5.6rem);line-height:.98;letter-spacing:-.06em;margin:.95rem 0 1.25rem}
.atelier-copy em{font-style:normal;color:var(--flame-ink)}
.atelier-copy .lede{max-width:33ch;font-size:clamp(1.08rem,1.3vw,1.35rem);color:var(--muted)}
.atelier-actions{display:flex;gap:1.2rem;align-items:center;margin:1.5rem 0 1rem}
.atelier-actions strong{font-size:1.4rem}.atelier-actions small{font-size:.9rem;font-weight:400}
.atelier-copy .atelier-detail{max-width:37ch;font-size:.88rem;color:var(--muted)}
@media(max-width:960px){.signatures{grid-template-columns:repeat(4,minmax(0,1fr))}.w-index a{grid-template-columns:1.2fr 1fr}.w-index .n{display:none}.w-index .plate{grid-column:2;grid-row:1/3}.w-index p{grid-column:1}.cs-cover:has(>figure){grid-template-columns:1fr}.cs-cover:has(>figure)>.kicker{justify-self:start}}
@media(max-width:767px){.atelier{grid-template-columns:1fr;gap:1rem;padding-block:1.6rem}.atelier-copy h1{font-size:2.8rem}.atelier-copy h1 br{display:none}.atelier-copy h1 em::before{content:' '}.atelier-actions{margin:1rem 0 .6rem}.signature-band .signatures,.offer-partners .signatures{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.5rem}.cs-top .cs-cover>figure{aspect-ratio:1.32}.cs-top .cs-cover{gap:.7rem}.w-index .plate{display:block;grid-column:1/-1;grid-row:auto;aspect-ratio:1.9}.w-index a{grid-template-columns:1fr;gap:.7rem}.call-demo{font-size:.94rem}}
@media(prefers-reduced-motion:reduce){.artboard,.drawing-wire,.signature::after,.w-index .plate img{transition:none}}
/* The service directory is a typeset index, with no card artwork. */
.service-index{background:var(--ground);padding-block:clamp(2.5rem,5vw,5rem)}
.service-index .sec__head{margin:0 0 1.8rem}
.service-index h2{margin:0}.directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 clamp(1.3rem,3.8vw,4rem)}
.directory a{padding:1.2rem 2rem 1.2rem 0;position:relative;border-top:1px solid var(--line-2);text-decoration:none;display:grid;gap:.3rem}
.directory strong{font-size:1.17rem;letter-spacing:-.025em}.directory small{font-size:.94rem;color:var(--muted);line-height:1.45}
.directory a::after{content:'↗';position:absolute;right:.2rem;top:1.2rem;color:var(--flame-ink);transition:transform .2s}
.directory a:is(:hover,:focus-visible)::after{transform:translate(2px,-2px)}
@media(max-width:800px){.directory{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.directory{grid-template-columns:1fr}.directory a{min-height:54px;padding-block:.85rem}.directory small{display:none}.directory a::after{top:.85rem}}
.editorial-header{position:relative;isolation:isolate;--ink:#26332f;--muted:#46534e;--line:#727d6e55;--line-2:#55685b88;--paper:#fcfbf1;--sand:#e8eddf;--card:#f4f7ef;--ground:#dce5da;--ground-2:#d4ddce;--flame-ink:#943f14;--focus:#293c34;color:var(--ink)}
.editorial-header::before{content:'';position:absolute;z-index:-1;inset:0 calc((100% - 100vw)/2);background:var(--ground);border-bottom:1px solid var(--line)}
.work-flow{display:grid;gap:.5rem;list-style:none;padding:0}
.work-flow li{border-top:1px solid var(--line);padding:.8rem 0;font-weight:600}
.work-flow li+li::before{content:'↓';padding-right:.75rem;color:var(--flame-ink)}
.cs-body{width:100%;max-width:none}
@media(min-width:1190px){.wrap:has(>.cs-body){width:min(calc(100% - 2 * var(--gut)),100rem)}.cs-body{grid-template-columns:minmax(12rem,.55fr) minmax(26rem,1.8fr) minmax(9rem,.45fr)}}
