/* One property, four identities, two outputs. The preview keeps a stable height. */
.brand-demo{--kit-ink:#182b49;--kit-accent:#00828f;--kit-paper:#fff}
.brand-demo[data-brand=ashgrove]{--kit-ink:#2f5d50;--kit-accent:#b7791f;--kit-paper:#fff;background:#d5d6c9}
.brand-demo[data-brand=calder]{--kit-ink:#6e2430;--kit-accent:#c6ac87;--kit-paper:#fbf5ea;background:#dfd3cb}
.brand-demo[data-brand=harrow]{--kit-ink:#292b2d;--kit-accent:#ae694a;--kit-paper:#fff;background:#d8d3cf}
.brand-paper{box-shadow:none;transform:rotate(-3deg)}
.brand-paper .brand-sheet{inset:auto 0;top:50%;height:auto;transform:translateY(-50%);opacity:0;pointer-events:none;box-shadow:8px 20px 27px #1b2a4126;transition:opacity .65s ease}
.brand-paper .brand-sheet.is-selected{opacity:1}
.brand-demo[data-brand=calder] .brand-paper{transform:rotate(-1deg)}
.brand-demo[data-brand=harrow] .brand-paper{transform:rotate(1.5deg)}
.brand-demo[data-format=social] .brand-paper{transform:rotate(0)}
.brand-demo .brand-palette i:first-child{background:var(--kit-ink)}
.brand-demo .brand-palette i:nth-child(2){background:var(--kit-accent)}
.brand-demo .brand-palette i:nth-child(3){background:var(--kit-paper)}
.brand-demo[data-brand=calder] .brand-pencil{transform:translate(-3px,-8px) rotate(24deg)}
.brand-demo[data-brand=harrow] .brand-pencil{transform:translate(-7px,-12px) rotate(29deg)}
.brand-format-switch{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--line);margin-top:25px}
.brand-format-switch button{font:12px/1.4 var(--mono);background:transparent;color:var(--ink);padding:12px 20px;border:0;min-height:44px;transition:background .2s,color .2s}
.brand-format-switch button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
.brand-format-switch button:hover{box-shadow:inset 0 0 0 1px var(--ink)}
.brand-options{margin-top:18px}
.brand-options button{font-size:clamp(17px,1.6vw,23px);min-width:0;min-height:82px}
.brand-options small{font-size:10px!important;white-space:normal;line-height:1.5;letter-spacing:.25px}
.brand-swatch.swatch-calder{background:linear-gradient(#6e2430 65%,#f0e3cc 65%)}
.brand-swatch.swatch-harrow{background:linear-gradient(#292b2d 65%,#ae694a 65%)}
.brand-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:14px}
.brand-actions .replay-button{margin:0;font-size:11px}
.brand-pilot-link{font-size:12px;min-height:44px;gap:14px}
.about-copy .brand-demo-note,.brand-demo .brand-demo-note{font-size:11px;line-height:1.8}
.brand-demo .brand-demo-top .eyebrow,.brand-demo .brand-demo-bottom{font-size:11px;line-height:1.5}
@media(max-width:1100px){.brand-options button{font-size:18px}.brand-actions{align-items:flex-start;flex-direction:column;gap:5px}}
@media(max-width:760px){
 .brand-demo .brand-control-panel{margin-top:22px;padding-top:0}
 .brand-demo .brand-format-switch{margin-top:18px;display:flex;width:100%}
 .brand-format-switch button{flex:1;padding-inline:10px}
 .brand-demo .brand-options{grid-template-columns:1fr 1fr;gap:8px;max-width:none}
 .brand-demo .brand-options button{font-size:17px;padding:12px 8px;gap:8px;min-height:88px}
 .brand-demo .brand-swatch{width:18px;height:30px}
 .brand-demo .brand-options small{font-size:10px!important}
 .brand-demo .brand-actions{gap:10px}
 .brand-demo .brand-pilot-link{font-size:12px;width:100%;justify-content:space-between}
 .brand-demo .brand-demo-top .eyebrow{max-width:none;font-size:10px}
 .brand-demo .brand-demo-bottom{font-size:10px;gap:10px}
 .brand-demo .brand-pencil{top:33%;bottom:auto}
}
@media(max-width:360px){.brand-demo{padding-inline:7%}.brand-demo .brand-options button{font-size:16px}.brand-demo .brand-options small{font-size:10px!important}.brand-demo .brand-swatch{width:15px}}
@media(prefers-reduced-motion:reduce){.brand-format-switch button{transition:none}}
