/* Shared typesetting, workspaces and campaign boards. */
:root {
  --type-tracking: 0;
  --line-display: 1.04;
  --line-title: 1.16;
  --line-copy: 1.55;
  --line-control: 1.32;
  --work-ink: #122722;
  --work-muted: #52655d;
  --work-line: #d3ddd6;
  --work-paper: #f7f8f4;
  --work-night: #0c2624;
  --work-mint: #aeffdb;
}
html,body,button,input,textarea,select {
  letter-spacing:var(--type-tracking);
  font-kerning:normal;
}
body {font-family:var(--system);line-height:var(--line-copy)}
button,input,textarea,select {font-family:var(--system)}
:where(h1,h2) {line-height:var(--line-display)}
:where(h3,h4) {line-height:var(--line-title)}
.kicker,.desk-project,.proof-channel,.proof-index,.angle-name,.side .side-label,
.view .eyebrow,.work-mode,.variant-count {
  font:500 .69rem/1.35 var(--mono); text-transform:uppercase;
}
.kicker {display:block;color:#426856}
.landing .reel-tour {width:min(calc(100% - var(--edge)*2),1512px);max-width:1512px;margin:clamp(38px,5vw,84px) auto 0;height:auto}
.reel-stage {position:static;padding:0 0 22px}
.reel-intro {display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-bottom:22px}
.reel-title {min-width:0}
.reel-title .kicker {margin-bottom:8px;color:#367158}
.landing .reel-title h2 {max-width:22ch;margin:0;font:490 clamp(2.15rem,3.8vw,4.25rem)/var(--line-display) var(--system);color:var(--work-ink);text-wrap:balance}
.step-switch {display:flex;flex-shrink:0;gap:4px;padding:4px;border:1px solid var(--work-line);border-radius:11px;background:#edf1eb}
.step-switch button {padding:9px 16px;min-height:38px;border:0;border-radius:7px;background:transparent;color:#4c6157;font:540 .91rem/var(--line-control) var(--system)}
.step-switch button[aria-selected="true"] {background:var(--work-night);color:#e5fff2;box-shadow:0 2px 6px #0f332421}
.step-switch button:hover:not([aria-selected="true"]) {background:#dce7dc;color:#16382b}
.direction-desk {overflow:hidden;border:1px solid #183c33;border-radius:18px;background:var(--work-night);box-shadow:0 18px 40px -29px #18342d69}
.desk-bar,.work-panel-bar {display:flex;align-items:center;justify-content:space-between;gap:15px}
.desk-bar {min-height:48px;padding:10px clamp(16px,2.1vw,33px);border-bottom:1px solid #355147;color:#eff8f2;background:#112c27}
.desk-identity {display:flex;align-items:center;gap:12px;min-width:0;font-size:.95rem;line-height:var(--line-control)}
.desk-identity b {font-weight:550}
.desk-identity img {width:26px;height:26px;border-radius:7px}
.desk-slash {color:#779386}
.desk-collection {color:#c4d6ca}
.desk-project {color:#c4dbcf;text-align:right;font-size:.63rem}
.desk-body {display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:stretch}
.desk-editor {display:flex;flex-direction:column;justify-content:space-between;min-width:0;gap:18px;background:#f8faf5;color:var(--work-ink);padding:clamp(18px,2.5vw,40px)}
.desk-pane {min-width:0}
.desk-pane h3 {margin:9px 0 11px;max-width:22ch;color:var(--work-ink);font:535 clamp(1.45rem,2.21vw,2.6rem)/var(--line-title) var(--system);text-wrap:balance}
.desk-pane p {margin:0;max-width:48ch;color:#425950;font:440 clamp(.95rem,1.07vw,1.1rem)/var(--line-copy) var(--system)}
.desk-facts {margin:clamp(14px,1.65vw,24px) 0 0}
.desk-facts div {display:grid;grid-template-columns:minmax(70px,.42fr) minmax(0,1fr);gap:10px;padding:6px 0;border-top:1px solid var(--work-line);font-size:.87rem;line-height:var(--line-control)}
.desk-facts dt {color:#52675b}
.desk-facts dd {margin:0;color:#1b332a;font-weight:510}
.desk-actions,.concept-actions {display:flex;align-items:center;flex-wrap:wrap;gap:10px 17px}
.work-button,.text-action {min-height:40px;padding:9px 14px;border:1px solid transparent;border-radius:8px;cursor:pointer;font:550 .88rem/var(--line-control) var(--system)}
.work-button.dark {background:#153b2d;color:white}
.work-button.dark:hover {background:#225740}
.text-action {padding-inline:0;color:#274f3b;background:transparent;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#9bb2a2}
.proof-board {display:flex;flex-direction:column;min-width:0;min-height:0;margin:0;padding:clamp(12px,1.3vw,20px);background:#102824;color:#eefff5}
.proof-image {isolation:isolate;position:relative;display:flex;flex:1;align-items:stretch;min-height:clamp(235px,21.5vw,345px);overflow:hidden;border:1px solid #426055;border-radius:11px;background:#122d2b}
.proof-photo {position:absolute;inset:0;z-index:-3;background-color:var(--art-tint,#092529);background-image:var(--photo);background-size:cover;background-position:var(--photo-position,center)}
.proof-photo.photo-audio-hero {background-size:auto 118%;background-repeat:no-repeat;background-position:85% 50%;background-color:#071f20}
.proof-photo.photo-audio-detail {background-position:55% 52%}
.proof-photo.photo-audio-train {background-position:63% 41%}
.proof-image:before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#051b1ccf,transparent 70%),linear-gradient(0deg,#071d20b0,transparent 55%)}
.proof-copy {display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;min-width:0;padding:clamp(15px,2vw,29px);gap:28px}
.proof-channel {align-self:flex-start;border:1px solid #d6ebe179;border-radius:50px;background:#0b211f8c;padding:5px 9px;color:#f7fff9;font-size:.60rem}
.proof-copy strong {display:block;max-width:12ch;color:white;font:545 clamp(1.75rem,3.7vw,4.1rem)/1.02 var(--system);white-space:pre-line;overflow-wrap:break-word;text-wrap:balance}
.proof-index {display:flex;align-items:center;justify-content:space-between;padding:11px 1px 8px;color:#c1d9ca;font-size:.6rem}
.proof-index output {color:#e2f5e8;font-variant-numeric:tabular-nums}
.proof-frames {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.frame-pick {padding:4px;display:flex;align-items:center;gap:8px;min-width:0;min-height:40px;overflow:hidden;border:1px solid #406052;border-radius:7px;color:#e5f4e9;background:#152f29;font:500 .78rem/1.22 var(--system);text-align:left}
.frame-pick[aria-pressed=true] {border-color:#a6e5bb;background:#294a3b;box-shadow:inset 0 0 0 1px #a6e5bb}
.frame-pick:hover {background:#2c4c3f}
.frame-thumb {flex:0 0 32px;width:32px;height:31px;border-radius:4px;background-color:var(--art-tint);background-image:var(--photo);background-size:cover;background-position:var(--photo-position,center)}
.angle-list {display:grid;gap:7px}
.angle-choice {display:grid;align-items:center;grid-template-columns:1fr 17px;gap:1px 8px;width:100%;text-align:left;padding:7px 12px;border:1px solid var(--work-line);border-radius:8px;color:var(--work-ink);background:#fff;font-family:var(--system)}
.angle-choice[aria-pressed=true] {border-color:#53806a;background:#e4f2e7}
.angle-choice .angle-name {font-size:.6rem;color:#486b55}
.angle-choice strong {grid-column:1;font-size:.97rem;font-weight:550;line-height:var(--line-control)}
.angle-choice i {grid-column:2;grid-row:1/3;justify-self:end;width:14px;height:14px;border:1px solid #708b79;border-radius:50%}
.angle-choice[aria-pressed=true] i {background:#164634;border:4px solid #164634;box-shadow:inset 0 0 0 3px #d8ffe7}
.draft-cta {margin-top:19px;border-top:1px solid var(--work-line);padding-top:12px}
.draft-cta strong {display:block;margin-top:3px;color:var(--work-ink);font-size:.98rem;font-weight:555}
@media(min-width:901px) and (min-height:715px) and (prefers-reduced-motion:no-preference) {
 .landing .reel-tour {height:calc(clamp(566px,62vh,700px) + 52vh)}
 .reel-stage {position:sticky;top:calc(var(--nav-height) + 13px)}
}
@media(min-width:901px) and (min-height:715px) and (max-height:820px) {
 .reel-intro {padding-bottom:14px}.proof-image{min-height:221px}.desk-editor{padding:18px 24px}.desk-facts{margin-top:12px}
}
@media(max-width:900px) {
 .landing .reel-tour {margin-top:36px}
 .desk-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .desk-editor{padding:20px;gap:14px}
 .frame-pick{gap:4px;font-size:.69rem}.frame-thumb{flex-basis:24px;width:24px}
}
@media(max-width:700px) {
 .reel-intro {align-items:stretch;flex-direction:column;gap:14px;padding-bottom:13px}
 .step-switch{align-self:flex-start}.step-switch button{min-height:38px;padding:7px 11px}
 .direction-desk{border-radius:13px}.desk-bar{padding:9px 12px;min-height:43px}.desk-project{font-size:.55rem;max-width:17ch}
 .desk-identity{font-size:.83rem;gap:6px}.desk-identity img{width:24px;height:24px}
 .desk-body{grid-template-columns:1fr}.desk-editor{padding:19px 17px}
 .proof-board{padding:10px}.proof-image{min-height:clamp(191px,52vw,295px)}
 .proof-copy strong{font-size:clamp(1.9rem,8vw,3rem)}
 .frame-pick{min-height:41px;gap:5px;font-size:.71rem}.frame-thumb{flex-basis:28px;width:28px}
 .desk-facts div{grid-template-columns:76px 1fr}.angle-choice {min-height:44px}
}
@media(max-width:390px){.desk-collection,.desk-slash{display:none}.frame-pick{font-size:.66rem}.frame-thumb{flex-basis:23px;width:23px}}
/* The production workspace uses the same visual proof as the guided demo. */
body:not(.home-mode){background:#f2f4ef;color:var(--work-ink);grid-template-columns:clamp(174px,14vw,224px) minmax(0,1fr)}
body:not(.home-mode)>main{width:min(100%,1520px);padding:0 clamp(20px,3vw,60px) 55px}
body:not(.home-mode)>.side{position:sticky;top:0;align-self:start;min-height:100svh;height:100svh;overflow:auto;gap:0;padding:27px 14px 18px;background:linear-gradient(165deg,#163a32,#0a2322 78%);border:0;color:#e5f5ec}
.side .brand{gap:9px;padding:0 6px;color:#effff4;font:620 1.3rem/1.1 var(--system)}
.side .brand img{width:30px;height:30px}.side .side-label{margin:40px 10px 9px;color:#c2dace;font-size:.62rem}
.side nav{display:grid;gap:4px}.side nav button{gap:10px;border:1px solid transparent;border-radius:8px;min-height:43px;padding:9px 10px;color:#d7e9dd;font:490 .93rem/1.25 var(--system)}
.side nav button:hover{background:#24483d;color:white}
.side nav button.selected{border-color:#a9ecce;background:#acffda;color:#153a2c}
.side nav svg{display:block;width:17px;height:17px;flex-shrink:0}
.side .sidebottom{margin-top:auto;border-color:#416052;color:#d6eadd;font-size:.84rem}
.side .sidebottom small{color:#bad0c1;font-size:.72rem}
body:not(.home-mode)>main>header{min-height:62px;padding:12px 0;border-bottom:1px solid #d1dcd3;color:#4c6156;font-size:.86rem}
body:not(.home-mode)>main>header b{font-weight:565}body:not(.home-mode)>main>header i{color:#7b9184;font-style:normal}
.work-head {display:flex;justify-content:space-between;align-items:flex-end;gap:26px;padding:clamp(24px,3vw,46px) 0 clamp(18px,2vw,32px)}
.work-head .kicker {margin-bottom:9px}
.work-head h1,.view .work-intro h1 {margin:0;color:var(--work-ink);font:500 clamp(2.4rem,4.5vw,4.75rem)/var(--line-display) var(--system)}
.work-head p {max-width:54ch;margin:9px 0 0;color:var(--work-muted);font:430 clamp(.94rem,1vw,1.1rem)/var(--line-copy) var(--system)}
.example-tools {display:flex;align-items:flex-end;gap:7px;min-width:225px}
.view label {margin:0;color:#213e30;font:525 .83rem/var(--line-control) var(--system)}
.view label small{font-weight:420;color:#53675d}
.view input,.view select,.view textarea {width:100%;margin-top:6px;padding:10px 12px;min-height:40px;border:1px solid #c5d3c9;border-radius:7px;background:#fff;color:#152e23;font:450 .92rem/1.45 var(--system)}
.view input::placeholder,.view textarea::placeholder{color:#617369;opacity:1}
.view input:focus,.view select:focus,.view textarea:focus {border-color:#47765c}
.view select {padding-right:28px}
.view button.primary,.view button.subtle,body:not(.home-mode) .pill {min-height:40px;padding:8px 13px;border-radius:8px;font:545 .86rem/var(--line-control) var(--system);white-space:normal}
.view button.primary {color:white;background:#143d2f;border:1px solid #143d2f}
.view button.primary:hover{background:#225640}
.view button.subtle,body:not(.home-mode) .pill{color:#264c36;background:white;border:1px solid #ccdad0}
.view button.subtle:hover,body:not(.home-mode) .pill:hover {background:#e2eee3}
.example-tools label{flex:1}.example-tools button{flex:none}
.work-layout {display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);border:1px solid #bdcec2;border-radius:15px;overflow:hidden;background:white;box-shadow:0 12px 32px -27px #1a402f82}
.work-reference {min-width:0;display:flex;flex-direction:column;background:#102824;color:white}
.work-panel-bar{padding:15px clamp(15px,1.7vw,27px);min-height:64px;border-bottom:1px solid #365246}
.work-panel-bar .kicker{color:#b7d5c1;font-size:.62rem}.work-panel-bar h2{color:#f5fff6;margin:4px 0 0;font:530 1.18rem/var(--line-title) var(--system)}
.work-reference .proof-board{flex:1}
.work-reference .proof-image{min-height:260px;max-height:475px}
.work-reference .proof-copy strong{font-size:clamp(2rem,3.55vw,3.9rem)}
.work-reference .proof-index{margin-top:auto}
.empty-proof .proof-photo{background:radial-gradient(ellipse at 74% 25%,#32504e,transparent 60%),#17332a}
.empty-proof .proof-image:before{background:repeating-linear-gradient(90deg,transparent 0 35px,#c6f7e50a 35px 36px)}
.empty-proof .proof-copy strong{color:#dfece4}
.single-proof .proof-index{margin-top:0}
.work-form {display:flex;flex-direction:column;gap:15px;min-width:0;padding:clamp(16px,2vw,31px);border:0;border-radius:0;background:#fff}
.work-form .panel-head{margin:0;align-items:flex-start}
.work-form .panel-head h2,#result-wrap .panel-head h2{margin:0;color:var(--work-ink);font:530 clamp(1.45rem,2.05vw,2.2rem)/var(--line-title) var(--system)}
.work-form .pair{display:grid;align-items:start;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.work-form details{border-block:1px solid #dce5dc;padding:8px 0;color:#325341}
.work-form details summary{font-size:.82rem;font-weight:520;cursor:pointer;line-height:var(--line-control);padding:4px 0}
.work-form details[open] label{margin:8px 0 4px}
.work-form .work-form-actions {display:flex;justify-content:flex-start;gap:7px;flex-wrap:wrap}
.view .note,.work-form .note {color:#53685b;font:430 .85rem/var(--line-copy) var(--system)}
.work-form .note{margin:0}
#result-wrap{margin-top:30px;scroll-margin-top:16px}
#result-wrap .panel-head{display:flex;align-items:center;gap:15px;margin-bottom:12px}
#variants-heading:focus{outline:none}
.variant-desk {display:grid;grid-template-columns:minmax(185px,.62fr) minmax(0,1.65fr);border:1px solid #cad7cc;border-radius:14px;overflow:hidden;background:white}
.variant-rail {display:grid;align-content:start;gap:7px;padding:12px;background:#e8eee6;border-right:1px solid #ccd8cd}
.variant-pick {min-width:0;display:grid;gap:5px;text-align:left;background:#f8faf6;border:1px solid #d5ded2;border-radius:7px;color:#1d3828;padding:12px}
.variant-pick .kicker{font-size:.61rem;color:#4c6a51}
.variant-pick strong{font:540 .95rem/var(--line-control) var(--system)}
.variant-pick[aria-pressed=true]{background:#163b2d;color:#f2fff5;border-color:#163b2d}
.variant-pick[aria-pressed=true] .kicker{color:#bff2cf}
#results {min-width:0;display:block}
.concept-editor {min-width:0;padding:clamp(16px,2.1vw,32px)}
.concept-editor>h3 {font:530 clamp(1.35rem,2vw,2.1rem)/var(--line-title) var(--system);margin:7px 0 17px;overflow-wrap:anywhere}
.concept-inputs{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.field-headline,.field-body{grid-column:1/-1}
.concept-actions{gap:8px;margin-top:17px}
.view.panel {padding:clamp(18px,3vw,44px);margin:22px 0 0;border:1px solid #cbd9cd;border-radius:16px;background:#fff}
.view .work-intro {padding-bottom:20px;border-color:#d3ded2}
.view .work-intro .eyebrow{color:#456b54;font-size:.67rem}
.view .work-intro h1{margin-top:6px;font-size:clamp(2.2rem,3.8vw,4rem)}
.view .work-intro .note{max-width:54ch;font-size:1rem}
.view .work-art{border-radius:10px}
.view form:not(.work-form) label+label{margin-top:13px}
.view form:not(.work-form) button.primary{margin-top:13px}
.view .result {background:#f7f9f4;border-color:#d2dfd2;border-radius:10px}
.view .result h3{font-weight:545}
#saved>.note,#project-list>.note{grid-column:1/-1;border-top:1px solid var(--work-line);margin:10px 0 0;padding:18px 0}
#status[role=status]{font-size:.9rem}
#status[role=status]:not(:empty){color:#fff}
@media(max-width:1050px){
 .work-head{align-items:flex-start;flex-direction:column;gap:14px}.example-tools{min-width:0;width:min(100%,390px)}
 .work-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
 .work-reference .frame-pick{flex-direction:column;gap:4px;align-items:stretch;text-align:center;padding:4px}
 .work-reference .frame-thumb{width:100%;height:39px;flex:auto}
}
@media(max-width:760px){
 body:not(.home-mode){display:block}body:not(.home-mode)>main{padding:0 15px 32px}
 body:not(.home-mode)>.side{position:static;min-height:0;height:auto;padding:12px 13px 9px;overflow:visible}
 .side .brand{width:fit-content;font-size:1.04rem}.side .brand img{width:24px;height:24px}
 .side .side-label,.side .sidebottom{display:none}.side nav{margin-top:9px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
 .side nav button {display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:48px;padding:4px 1px;font-size:clamp(.65rem,2.75vw,.8rem);text-align:center}
 .side nav svg{width:15px;height:15px}body:not(.home-mode)>main>header{min-height:44px;padding:5px 0;font-size:.76rem}
 body:not(.home-mode) .pill{min-height:32px;padding:4px 7px;font-size:.74rem}
 .work-head{padding:20px 0 16px}.work-head h1{font-size:2.35rem}
 .work-layout{grid-template-columns:1fr}
 .work-form{order:1;padding:18px 15px}.work-reference{order:2}
 .work-reference .proof-board{min-height:0}.work-reference .proof-image{min-height:226px;max-height:none}
 .work-reference .frame-pick{flex-direction:row;align-items:center;gap:5px}.work-reference .frame-thumb{flex:0 0 27px;width:27px;height:28px}
 .work-panel-bar{min-height:48px;padding:10px 15px}
 .variant-desk{grid-template-columns:1fr}.variant-rail{grid-template-columns:repeat(3,minmax(0,1fr));border:0;border-bottom:1px solid #ccd8cd;padding:7px;gap:4px}
 .variant-pick{padding:7px;overflow-wrap:break-word}.variant-pick strong{font-size:.77rem}.variant-pick .kicker{font-size:.55rem}
 .concept-inputs{grid-template-columns:1fr}.concept-actions button{flex:1 1 98px}
 .view.panel{margin-top:14px;padding:16px}.work-head p{font-size:.93rem}
}
@media(max-width:380px){.work-form .pair{grid-template-columns:1fr}.work-form-actions button{width:100%}.desk-actions{gap:6px 12px}.desk-project{max-width:13ch}}
@media(prefers-reduced-motion:no-preference){
 .frame-pick,.angle-choice,.variant-pick,.step-switch button{transition:background .16s ease,color .16s ease,border-color .16s ease}
 .desk-pane:not([hidden]),.concept-editor:not([hidden]){animation:work-appear .2s ease-out}
 @keyframes work-appear{from{opacity:.55;transform:translateY(3px)}to{opacity:1;transform:none}}
}

.prose-grid .case-variant-action {align-self:flex-start;border:0;border-bottom:1px solid #78a795;padding:5px 0;background:transparent;color:#174e3c;font:550 .9rem/1.35 var(--system);cursor:pointer}
.prose-grid .case-variant-action:hover {color:#28735a;border-color:currentColor}
.prose-grid:has(.case-variant-action)>section {display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.prose-grid:has(.case-variant-action)>section h3,.prose-grid:has(.case-variant-action)>section p {margin:0}
.prose-grid .case-variant-action {margin-top:auto}
.angle-result p,.format-copy [data-format-copy],.post-proof p {white-space:pre-line}
