.mast-actions {margin-left:auto;display:flex;align-items:center;gap:18px}
.demo-toggle,.rail-review {font:700 .94rem/1.3 Arial,Helvetica,sans-serif;min-height:44px;cursor:pointer}
.demo-toggle {border:1px solid #9c9c91;border-radius:3px;background:transparent;color:inherit;padding:8px 15px}
.demo-toggle:hover,.demo-toggle[aria-pressed=true]{background:#ffdb31;border-color:#ffdb31;color:#111}
.rail-review {padding:0;margin-top:14px;background:transparent;border:0;color:inherit;text-decoration:underline;text-underline-offset:4px}
.demo-indicator {display:inline-block;font-size:.91rem;font-weight:700;color:#20201b;background:#ffe25a;padding:4px 10px;margin-bottom:12px}
.validation-note:empty{display:none}
.validation-note {color:#9e1d0a;background:#ffebdd;padding:10px 13px;margin-bottom:16px}
@media(max-width:790px){.rail-review{margin:0;min-height:44px}.work{scroll-margin-top:10px}.side{margin-bottom:12px}.mast-actions{gap:12px}}
@media(max-width:540px){.demo-toggle{padding:6px 9px;font-size:.875rem;min-height:44px}.mast .brand{width:80px}.mast-actions{gap:9px}.home-link{font-size:.85rem;white-space:nowrap}}
@media print{#design-cover,.validation-note{display:none!important}.demo-indicator{background:white;color:black;padding:0}.work{display:block!important}}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#brief-start:focus{outline:none}
#brief-start{scroll-margin-top:12px}
.cover{container-type:inline-size;position:relative;isolation:isolate;overflow:hidden}
.cover img{display:block}
.cover-action{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:44px;font-weight:700}
.cover-action:focus-visible{outline-color:#ed4722}
@media print { .cover { display:none!important; } }
.cover-hybrid {
  --ticket: #ffda27;
  --paper: #f6f2e9;
  --stage: #151514;
  background: var(--stage);
  color: var(--paper);
  margin-top: clamp(14px, 2vw, 28px);
  outline-offset: -1px;
}
.hybrid-stage {
  position: relative;
  min-height: clamp(340px, 37cqw, 500px);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(circle, #35352c .65px, transparent .9px) 0 0 / 5px 5px, var(--stage);
}
.hybrid-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(114deg, transparent 1%, #151514 56%, transparent 71%);
}
.hybrid-type {
  z-index: 2;
  position: relative;
  padding: 5% 0 5.8% 5.1%;
  width: 65%;
}
.hybrid-type h1 { font-family: 'Dela Gothic One', 'Arial Black', sans-serif; text-transform: uppercase; }
.hybrid-type h1 strong {
  display: block;
  font-size: clamp(68px, 14.9cqw, 202px);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.055em;
  margin-left: -.075em;
  transform: rotate(-2deg);
  transform-origin: left bottom;
  text-shadow: .015em .016em var(--stage), .02em .021em #8c8a78;
}
.hybrid-type h1 span {
  display: inline-block;
  position: relative;
  padding: .12em .3em .23em .24em;
  margin: -.012em 0 0 -.085em;
  transform: rotate(-3deg);
  transform-origin: 20% 50%;
  font-size: clamp(23px, 4.7cqw, 70px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.025em;
  word-spacing: .08em;
  color: var(--stage);
  background: var(--ticket);
  clip-path: polygon(0 5%, 13% 2%, 28% 5%, 40% 1%, 59% 3%, 75% 0, 89% 4%, 100% 1%, 99.4% 94%, 89% 98%, 77% 95%, 66% 100%, 53% 96%, 39% 99%, 24% 96%, 14% 100%, .8% 96%);
}
.hybrid-type p {
  margin-top: clamp(23px, 3.4cqw, 46px);
  max-width: 36ch;
  font-size: clamp(15px, 1.5cqw, 20px);
  line-height: 1.4;
  color: #e1ded2;
}
.hybrid-art { position: absolute; z-index: 1; pointer-events: none; inset: 0 0 0 55%; }
.hybrid-halo {
  position: absolute;
  width: 112%;
  aspect-ratio: 1.16;
  right: -5%;
  top: 8%;
  transform: rotate(-19deg);
  background: radial-gradient(circle, #e9e2cd 32%, transparent 35%) 0 0 / clamp(4px,.58cqw,8px) clamp(4px,.58cqw,8px);
  clip-path: polygon(1% 30%, 11% 10%, 33% 0, 55% 4%, 69% 0, 90% 10%, 100% 27%, 93% 53%, 100% 68%, 94% 89%, 76% 97%, 40% 90%, 18% 100%, 0 77%, 8% 57%);
  mask-image: radial-gradient(ellipse at center, #000 27%, #000c 47%, transparent 73%);
}
.hybrid-hand,.hybrid-print {
  position: absolute;
  height: 122%;
  width: auto;
  aspect-ratio: 253/498;
  right: 24%;
  top: 5.5%;
  transform: rotate(13deg);
  transform-origin: center;
}
.hybrid-hand { filter: drop-shadow(2px 0 #fcf8e9) drop-shadow(-2px 0 #fcf8e9) drop-shadow(0 -2px #fcf8e9) drop-shadow(6px 6px #181814); }
.hybrid-print {
  top: 11%;
  right: 34.5%;
  transform: rotate(-5deg);
  background: repeating-linear-gradient(167deg, #ff5b2f 0 2px, transparent 2px 5px);
  mask: url('./assets/rock-hand.png') center/contain no-repeat;
}
.hybrid-stub {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  color: var(--stage);
  background: var(--ticket);
}
.hybrid-stub::before {
  position: absolute;
  content: "";
  pointer-events: none;
  top: -7px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--ticket);
  clip-path: polygon(0 19%, 4% 58%, 9% 26%, 14% 68%, 19% 10%, 24% 54%, 29% 20%, 34% 69%, 39% 39%, 44% 67%, 49% 19%, 54% 52%, 59% 25%, 64% 61%, 69% 17%, 74% 48%, 79% 21%, 84% 68%, 89% 31%, 94% 65%, 100% 17%, 100% 100%, 0 100%);
}
.hybrid-spec { display: flex; gap: .9em; align-items: center; padding: 0 5%; font: 400 clamp(12px,1.3cqw,17px)/1.2 'PT Mono',monospace; }
.hybrid-spec b { opacity: .6; font-weight: 400; }
.hybrid-stub .cover-action {
  position: relative;
  min-height: clamp(58px,7cqw,88px);
  padding: 10px 4.8%;
  border-left: 2px dashed #50430c;
  font: 500 clamp(18px,2.5cqw,30px)/1 Oswald,Arial,sans-serif;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.hybrid-stub .cover-action::before,.hybrid-stub .cover-action::after {
  content: "";
  position: absolute;
  left: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #151514;
}
.hybrid-stub .cover-action::before { top: -8px; }
.hybrid-stub .cover-action::after { bottom: -7px; background: #10100f; }
.hybrid-stub .cover-action:hover { color: #fff; background: #25251d; }
.hybrid-stub .cover-action:focus-visible { outline: 3px solid #121210; outline-offset: -5px; }
@container (max-width:600px) {
  .hybrid-stage { min-height: clamp(290px,82cqw,390px); align-items: flex-start; }
  .hybrid-type { padding: 8% 0 0 5%; width: 78%; }
  .hybrid-type h1 strong { font-size: 18.2cqw; }
  .hybrid-type h1 span { font-size: 5.6cqw; }
  .hybrid-type p { max-width: 16.3ch; font-size: clamp(15px,3.75cqw,16px); line-height: 1.35; margin-top: clamp(23px,8.5cqw,37px); }
  .hybrid-art { inset: 0 0 0 48%; }
  .hybrid-hand,.hybrid-print { top: 32%; height: 84%; right: 14%; }
  .hybrid-print { top: 39%; right: 31%; }
  .hybrid-halo { width: 148%; top: 38%; right: -41%; }
  .hybrid-spec { padding-inline: 5%; gap: .45em; font-size: clamp(12px,3cqw,14px); }
  .hybrid-stub .cover-action { padding-inline: 5%; min-height: 52px; font-size: clamp(16px,4.5cqw,23px); }
}
@media screen {
  [data-design=hybrid] { background: #10100f; color: #f6f2e9; }
  [data-design=hybrid] .work { border-top: 0; padding-top: clamp(28px,4.4vw,62px); }
  [data-design=hybrid] .step-index { font-family: 'PT Mono',monospace; border-radius: 0; }
  [data-design=hybrid] .step-link[aria-current=step] .step-index { color: #141410; background: #ffda27; border-color: #ffda27; }
  [data-design=hybrid] .paper { position: relative; padding: clamp(18px,3.8vw,48px); background: #ffda27; color: #151512; color-scheme: light; }
  [data-design=hybrid] .paper::before { content: ""; position: absolute; pointer-events: none; top: 6px; left: 0; right: 0; height: 5px; background: radial-gradient(circle, #141410 1.7px,transparent 2px) center / 12px 5px repeat-x; }
  [data-design=hybrid] :is(#step-title,#review-title) { font: 400 clamp(32px,4vw,62px)/1.06 'Dela Gothic One','Arial Black',sans-serif; letter-spacing: -.038em; }
  [data-design=hybrid] :is(.progress-label,.demo-indicator) { font: 400 .82rem/1.35 'PT Mono',monospace; }
  [data-design=hybrid] .progress-label { color: #43390d; }
  [data-design=hybrid] .demo-indicator { margin-top: 4px; background: #181815; color: #fff9e9; }
  [data-design=hybrid] :is(#step-hint,.date-item label,.field-help,.optional-note) { color: #463d22; }
  [data-design=hybrid] .field { border-bottom: 1px dashed #756522; padding-bottom: 18px; margin-bottom: 20px; }
  [data-design=hybrid] :is(.text-input,.date-item input,.option>span) { background: #fff8d9; border: 1px solid #504622; color: #141410; border-radius: 0; }
  [data-design=hybrid] .text-input::placeholder { color: #655e49; }
  [data-design=hybrid] .option input:checked+span,[data-design=hybrid] .primary { background: #1b1b17; border-color: #1b1b17; color: #fff9e8; }
  [data-design=hybrid] .required-mark { color: #86240b; }
  [data-design=hybrid] .controls { background: #ffda27; border-color: #6a5a22; }
  [data-design=hybrid] .paper :focus-visible,[data-design=hybrid] .option:has(input:focus-visible)>span { outline: 3px solid #282822; outline-offset: 2px; }
  [data-design=hybrid] .quiet:disabled { color: #605529; }
  [data-design=hybrid] #review { color: #141410; background: #fffae9; }
  @media(max-width:790px) {
    [data-design=hybrid] .step-link[aria-current=step] { border-color:#ffda27; }
    [data-design=hybrid] .work { padding-top:18px; }
    [data-design=hybrid] #review { padding:14px; }
  }
}
