/* Brief screen (11 Nov 2026). Ported from studio-private/client-hub/client-hub-mock.html, its default look (v3).
   Left out: looks A/B/C, the view switcher, the client hub, Ali's side, the toast. Added at the end: site overrides and
   classes that replace the mock's inline style attributes (the site's CSP has no 'unsafe-inline' for styles). */
:root{
  --bg:#FFFFFF; --surface:#FFFFFF; --ink:#06122B; --muted:#4A5468; --line:#E4E8F0; --ctl:#7D879B;
  --blue:#2B7BFF; --blue-ink:#1450C2; --lblue:#8CBAFF; --soft:#F4F6FA; --sel:#EEF4FF;
  --yellow:#FFD31A; --yellow-ink:#06122B; --ok:#126B43; --ok-soft:#E3F6EC; --warn-soft:#FFF6D1;
  --r:16px; --font:"Atkinson Hyperlegible Next","Atkinson Hyperlegible",system-ui,-apple-system,"Segoe UI",sans-serif;
  color-scheme:light;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:18px;line-height:1.5;overflow-x:hidden}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid var(--blue-ink);outline-offset:2px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
h1,h2,h3{line-height:1.2;margin:0}
a{color:var(--blue-ink)}

/* shared bits */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:10px 22px;border-radius:14px;border:2px solid transparent;font-weight:700;font-size:18px;text-decoration:none}
.btn-main{background:var(--yellow);color:var(--yellow-ink)}
.btn-main:hover{filter:brightness(.96)}
.btn-line{background:var(--surface);border-color:var(--ctl);color:var(--ink)}
.btn-line:hover{border-color:var(--blue-ink)}
.btn-sm{min-height:44px;padding:6px 14px;font-size:16px;border-radius:12px}
.btn-text{background:none;border:0;color:var(--blue-ink);font-weight:700;min-height:44px;padding:6px 8px;text-decoration:underline;text-underline-offset:3px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:20px}
.label{font-size:14px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.muted{color:var(--muted)}
.field{display:block;margin:0 0 22px}
.field > span{display:block;font-weight:700;margin-bottom:6px}
.input{width:100%;min-height:52px;padding:12px 14px;border:2px solid var(--ctl);border-radius:12px;background:var(--surface)}
.input:focus{border-color:var(--blue-ink);outline:none}
textarea.input{min-height:96px;resize:vertical}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px;padding:0;list-style:none}
.chip{min-height:48px;padding:8px 16px;border-radius:999px;border:2px solid var(--ctl);background:var(--surface);font-weight:600;font-size:17px;display:inline-flex;align-items:center;gap:8px}
.chip[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#050B19}
.chip[aria-pressed="true"]::before{content:"";width:16px;height:9px;border-left:3px solid currentColor;border-bottom:3px solid currentColor;transform:rotate(-45deg) translate(1px,-2px)}
.chip.ad{border-style:dashed}
.q{font-weight:800;font-size:21px;margin:30px 0 12px}
.q:first-child{margin-top:0}
.q small{font-weight:600;font-size:15px;color:var(--muted);margin-left:6px}
.note{background:var(--soft);border-radius:14px;padding:14px 16px;font-size:16px;margin:0 0 22px}
.ex-link{display:inline-flex;align-items:center;min-height:44px;font-weight:700;font-size:16px}

/* ---------- brief ---------- */
.brief{display:grid;gap:32px;max-width:1360px;margin:0 auto;padding:28px 16px 180px}
.brief-main{min-width:0;max-width:640px;width:100%;margin:0 auto}
.prog{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.prog b{font-size:16px}
.segs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-bottom:26px}
.seg{display:flex;flex-direction:column;gap:6px;min-width:0}
.seg i{display:block;height:8px;border-radius:99px;background:var(--line);overflow:hidden}
.seg i b{display:block;height:100%;background:var(--blue);border-radius:99px}
.seg span{font-size:13px;font-weight:700;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:none}
.seg.now span{color:var(--ink)}
@media (min-width:600px){.seg span{display:block}}
.step-title{font-size:32px;font-weight:800;margin:0 0 24px;outline:none}
.nav-row{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap;align-items:center}
.nav-row .btn-main{flex:1;min-width:160px}
.preview-side{display:none}
.frame{background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 12px 40px rgba(6,18,43,.07)}
.frame-top{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line);font-size:14px;color:var(--muted);font-weight:700}
.frame-top i{width:10px;height:10px;border-radius:50%;background:var(--line);display:inline-block}
.frame-top span{margin-left:8px}
@media (min-width:1000px){
  .brief{grid-template-columns:minmax(0,580px) minmax(0,1fr);align-items:start;padding-bottom:60px;gap:56px}
  .brief-main{margin:0}
  .preview-side{display:flex;flex-direction:column;gap:12px;position:sticky;top:88px;max-height:calc(100vh - 104px)}
  .preview-side .est{flex:none}
  .preview-side .frame{min-height:0;overflow:auto}
  .peek{display:none !important}
}
/* phone peek */
.peek{position:fixed;left:0;right:0;bottom:0;z-index:25;background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -8px 30px rgba(6,18,43,.10)}
.peek-btn{width:100%;min-height:60px;border:0;background:var(--surface);display:flex;align-items:center;justify-content:space-between;padding:8px 16px;font-weight:800;font-size:18px}
.peek-btn .arrow{width:12px;height:12px;border-right:3px solid currentColor;border-top:3px solid currentColor;transform:rotate(-45deg);transition:transform .2s}
.peek[data-open="true"] .peek-btn .arrow{transform:rotate(135deg)}
.peek-body{display:none;max-height:62vh;overflow:auto;padding:0 12px 16px}
.peek[data-open="true"] .peek-body{display:block}
.peek-count{font-size:14px;font-weight:700;color:var(--muted);margin-left:auto;margin-right:12px}

/* picture cards (routes, pairs, type, imagery, motion, editing) */
.pics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:22px}
.pics.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.pics.one{grid-template-columns:1fr}
.pic{position:relative;border:2px solid var(--ctl);border-radius:16px;background:var(--surface);padding:8px 8px 12px;text-align:left;display:flex;flex-direction:column;gap:8px;min-height:44px;width:100%}
.pic[aria-pressed="true"]{border-color:var(--blue);box-shadow:0 0 0 3px var(--lblue);background:var(--sel)}
.pic[aria-pressed="true"]::after{content:"";position:absolute;top:12px;right:12px;width:28px;height:28px;border-radius:50%;background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23050B19' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;border:2px solid #fff}
.pic b{font-size:17px;line-height:1.25;padding:0 4px}
.pic small{font-size:15px;color:var(--muted);padding:0 4px;line-height:1.3}
.pic .art{display:block;height:96px;border-radius:10px;overflow:hidden;background:#F4F6FA}
.pic .art svg{display:block;width:100%;height:100%}
.pic.row{flex-direction:row;align-items:center;gap:14px;padding:10px 12px}
.pic.row .art{width:100px;height:60px;flex:none}
.pic.row .txt{display:flex;flex-direction:column;gap:2px;min-width:0;padding-right:30px}
.pic.row .txt small{padding:0}
.pic.row .txt b{padding:0}
.pc{font-size:15px;line-height:1.35;margin-top:4px;padding:0 4px}
.pc span{display:block}
.pc .pro::before{content:"+ ";font-weight:800;color:var(--ok)}
.pc .con::before{content:"– ";font-weight:800;color:#B4232F}
.pic-wrap{display:flex;flex-direction:column;gap:2px}
/* route mini previews */
.ra{display:flex;flex-direction:column;gap:5px;padding:10px;height:96px;border-radius:10px;overflow:hidden;background:#F7F8FA;color:#1B1F2A}
.ra .aa{font-size:26px;line-height:1}
.ra .ln{height:6px;border-radius:3px;background:#C9CED8}
.ra .bt{width:52px;height:16px;background:#1B1F2A;margin-top:auto;border-radius:4px}
.ra-clean{background:#fff;border:1px solid #E6E9EF}.ra-clean .aa{font-family:var(--font);font-weight:700}.ra-clean .ln{background:#DDE2EA}.ra-clean .bt{background:#2B7BFF;border-radius:6px}
.ra-editorial{background:#FAF8F4}.ra-editorial .aa{font-family:"Playfair Display",serif;font-weight:700;font-size:30px;border-bottom:2px solid #1B1F2A;padding-bottom:4px}.ra-editorial .ln{height:4px;background:#BDB6A8}.ra-editorial .bt{border-radius:0;width:40px;height:4px;background:#B23A2E}
.ra-bold{background:#14161C;color:#fff}.ra-bold .aa{font-family:Archivo,sans-serif;font-weight:800;text-transform:uppercase;font-size:30px}.ra-bold .ln{background:#4A505E}.ra-bold .bt{background:#FFD31A;border-radius:0}
.ra-warm{background:#FBF1E6}.ra-warm .aa{font-family:Fraunces,serif;font-weight:700}.ra-warm .ln{background:#E5D2BD;border-radius:99px}.ra-warm .bt{background:#7A4B2A;border-radius:99px}
.ra-luxury{background:#17130F;color:#EFE6D6;align-items:center;text-align:center}.ra-luxury .aa{font-family:"Cormorant Garamond",serif;font-weight:500;font-size:30px;letter-spacing:.08em}.ra-luxury .ln{background:#4A3F33;width:70%}.ra-luxury .bt{background:transparent;border:1px solid #C9A86A;border-radius:0}
.ra-playful{background:#FFF3C9}.ra-playful .aa{font-family:Fredoka,sans-serif;font-weight:600;color:#6B2FD6}.ra-playful .ln{background:#FFB8D2;border-radius:99px;height:8px}.ra-playful .bt{background:#19C49A;border-radius:99px}
.ra-techy{background:#0B1020;color:#E6EAF4}.ra-techy .aa{font-family:"Space Grotesk",sans-serif;font-weight:700}.ra-techy .ln{background:#26304A}.ra-techy .bt{background:#5CE1E6;border-radius:3px}
.ra-classic{background:#F6F4EF;align-items:center;text-align:center}.ra-classic .aa{font-family:"Libre Baskerville",serif}.ra-classic .ln{width:76%;background:#CFC9BC}.ra-classic .bt{background:transparent;border:2px solid #1B1F2A;border-radius:0}
/* this-or-that */
.pair{margin-bottom:26px}
.pair .pics{margin-bottom:6px}
.pair-q{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.pair-q b{font-size:19px}
/* type samples */
.tsamp{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:8px;height:96px;border-radius:10px;background:#F7F8FA;color:#1B1F2A;overflow:hidden}
.tsamp .h{font-size:24px;line-height:1;white-space:nowrap}
.tsamp .p{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (min-width:500px){.tsamp .h{font-size:28px}.tsamp .p{font-size:13px}}
.ts-serif .h,.ts-serif .p{font-family:"Libre Baskerville",serif}
.ts-sans .h{font-family:var(--font);font-weight:800}.ts-sans .p{font-family:var(--font)}
.ts-mixed .h{font-family:Fraunces,serif;font-weight:700}.ts-mixed .p{font-family:var(--font)}
/* swatches + uploads */
.swatches{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px;padding:0;list-style:none}
.sw{width:52px;height:52px;border-radius:14px;border:2px solid var(--ctl);padding:0;position:relative}
.sw[aria-pressed="true"]{border-color:var(--ink);box-shadow:0 0 0 3px var(--lblue)}
.sw[aria-pressed="true"]::after{content:"";position:absolute;left:15px;top:13px;width:16px;height:9px;border-left:4px solid var(--c);border-bottom:4px solid var(--c);transform:rotate(-45deg)}
.upload{border:2px dashed var(--ctl);border-radius:16px;min-height:110px;width:100%;background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-weight:700;margin-bottom:12px}
.upload[data-has="true"]{border-style:solid;border-color:var(--ok);background:var(--ok-soft)}
.upload .file{display:flex;align-items:center;gap:10px}
.upload .file i{width:40px;height:40px;border-radius:10px;background:var(--ink);color:var(--bg);display:grid;place-items:center;font-style:normal;font-weight:800;font-size:14px}
.ex{border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:12px;background:var(--surface)}
.ex .chips{margin:10px 0 0}
.ex .chip{min-height:44px;font-size:16px;padding:6px 12px}
.custom-row{display:flex;gap:8px;margin-bottom:22px}
.custom-row .input{flex:1;min-width:0}
/* tech groups */
.tg{border:1px solid var(--line);border-radius:16px;margin-bottom:12px;background:var(--surface)}
.tg-h{width:100%;display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 16px;border:0;background:none;text-align:left;font-weight:800;font-size:19px}
.tg-h .cnt{margin-left:auto;font-size:15px;font-weight:700;color:var(--muted);white-space:nowrap}
.tg-h .arrow{width:11px;height:11px;border-right:3px solid currentColor;border-bottom:3px solid currentColor;transform:rotate(45deg);flex:none;margin-top:-4px}
.tg[data-open="true"] .tg-h .arrow{transform:rotate(225deg);margin-top:4px}
.tg-b{padding:0 16px 8px;border-top:1px solid var(--line)}
.ti{padding:18px 0 4px;border-bottom:1px solid var(--line)}
.ti:last-of-type{border-bottom:0}
.ti b{display:block;font-size:18px}
.ti p{margin:2px 0 10px;color:var(--muted);font-size:16px}
.ti .chips{margin-bottom:12px}
.ti .chip{min-height:44px;font-size:16px;padding:6px 14px}
.tg-all{margin:10px 0 6px}

/* review */
.rv-part{margin:26px 0 10px}
.rv{display:grid;gap:10px;margin-bottom:22px}
.rv-item{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}
.rv-item h3{font-size:18px;margin-bottom:4px}
.rv-item p{margin:0;color:var(--muted);font-size:17px;overflow-wrap:anywhere}
.rv-item .btn-sm{flex:none}
.mini-sw{display:inline-block;width:20px;height:20px;border-radius:6px;vertical-align:-4px;margin-right:4px;border:1px solid rgba(0,0,0,.2)}
.privacy{font-size:16px;color:var(--muted);margin:10px 0 18px}
.err{color:#B4232F;font-weight:700;font-size:16px;margin:-10px 0 14px}
:root[data-theme="dark"] .err{color:#FF8EA0}
.mail{border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden;margin-top:20px}
.mail-h{padding:14px 18px;border-bottom:1px solid var(--line);font-size:15px;color:var(--muted)}
.mail-h b{color:var(--ink)}
.mail-b{padding:20px 18px}
.done-ico{width:72px;height:72px;border-radius:50%;background:var(--ok-soft);display:grid;place-items:center;margin-bottom:16px}
.done-ico::after{content:"";width:28px;height:14px;border-left:5px solid var(--ok);border-bottom:5px solid var(--ok);transform:rotate(-45deg) translate(2px,-3px)}

/* ---------- the growing template ---------- */
.tpl{container-type:inline-size;background:#fff;color:#1B1F2A;font-family:var(--tf-b);--tf-b:var(--font);--tf-h:var(--font);--tw:700;--rad:8px;--gap:14px;--p:#8A93A6;--pi:#fff;--a:#C9CED8;--ai:#1B1F2A;--tint:#EEF0F4;--phc:#D9DEE7;--bx:var(--tint);--bd:#E6E9EF;font-size:14px;line-height:1.45}
.tpl *{box-sizing:border-box}
.tpl .ph{display:block;height:9px;border-radius:5px;background:var(--phc);margin:5px 0}
.tpl .ph.w40{width:40%}.tpl .ph.w60{width:60%}.tpl .ph.w80{width:80%}.tpl .ph.h{height:16px;border-radius:6px}
.tpl-h{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:12px calc(var(--gap) + 4px);border-bottom:1px solid var(--bd)}
.tpl-brand{display:flex;align-items:center;gap:8px;font-family:var(--tf-h);font-weight:var(--tw);font-size:16px;margin-right:auto}
.tpl-logo{width:28px;height:28px;border-radius:calc(var(--rad) * .6);background:var(--p);color:var(--pi);display:grid;place-items:center;font-size:11px;font-weight:800;flex:none}
.tpl-logo.empty{background:none;border:2px dashed #8E97A8}
.tpl-nav{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;font-size:13px;font-weight:600}
.tpl-nav span{white-space:nowrap}
.tpl-nav span.new{animation:pop .6s}
.tpl-nav .call{background:var(--a);color:var(--ai);padding:3px 10px;border-radius:var(--rad);font-weight:700}
.tpl-nav .lang{border:1px solid currentColor;border-radius:var(--rad);padding:1px 6px;font-size:12px}
@keyframes pop{0%{background:#FFF1A8}100%{background:transparent}}
.tpl-hero{display:grid;gap:var(--gap);padding:calc(var(--gap) * 2.2) calc(var(--gap) + 4px);background:var(--tint);position:relative}
@container (min-width:520px){.tpl-hero{grid-template-columns:1.25fr 1fr;align-items:center}}
.tpl-hero .kick{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.85}
.tpl-hero h1{font-family:var(--tf-h);font-weight:var(--tw);font-size:clamp(22px,6cqw,40px);line-height:1.1;margin:6px 0 10px;max-width:18ch}
.tpl-hero p{margin:0 0 14px;max-width:46ch}
.tpl-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.tpl-badge{font-size:11px;font-weight:800;letter-spacing:.03em;padding:3px 8px;border-radius:99px;background:#06122B;color:#fff}
.tpl-media{min-height:120px}
.tpl-btn{display:inline-block;background:var(--a);color:var(--ai);padding:10px 18px;border-radius:var(--rad);font-weight:700}
.tpl-feats{display:flex;flex-wrap:wrap;gap:6px;padding:10px calc(var(--gap) + 4px);border-bottom:1px solid var(--bd)}
.tpl-feats span{font-size:12px;font-weight:700;padding:4px 10px;border-radius:var(--rad);border:1px solid var(--phc)}
.tpl-sec{padding:calc(var(--gap) * 1.6) calc(var(--gap) + 4px);border-bottom:1px solid var(--bd)}
.tpl-sec h2{font-family:var(--tf-h);font-weight:var(--tw);font-size:20px;margin:0 0 10px}
.tpl-sec.new{animation:pop 1s}
.tpl-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:var(--gap)}
.tpl-box{background:var(--bx);border-radius:var(--rad);min-height:70px;padding:10px;position:relative}
.tpl-box.img{background:repeating-linear-gradient(45deg,var(--tint),var(--tint) 8px,#fff 8px,#fff 16px);border:1px solid var(--bd)}
.tpl-box.img::after{content:var(--imglab,"");position:absolute;left:8px;bottom:6px;font-size:10px;font-weight:800;background:#fff;color:#1B1F2A;padding:1px 6px;border-radius:4px}
.tpl.i-illus .tpl-box.img{background:radial-gradient(circle at 30% 40%,var(--p) 0 18%,transparent 19%),radial-gradient(circle at 70% 65%,var(--a) 0 22%,transparent 23%),radial-gradient(circle at 75% 25%,var(--tint) 0 12%,transparent 13%),#fff}
.tpl.i-mixed .tpl-grid .tpl-box.img:nth-child(even){background:radial-gradient(circle at 35% 45%,var(--p) 0 20%,transparent 21%),radial-gradient(circle at 70% 60%,var(--a) 0 20%,transparent 21%),#fff}
.tpl-split{display:grid;grid-template-columns:1fr;gap:var(--gap)}
@container (min-width:520px){.tpl-split{grid-template-columns:1fr 1fr}}
.tpl-row{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px dashed var(--phc)}
.tpl-stars{letter-spacing:2px;font-size:16px}
.tpl-form .f{height:30px;border:1px solid #9AA3B4;border-radius:var(--rad);margin-bottom:8px;background:#fff}
.tpl-map{min-height:90px;border-radius:var(--rad);background:linear-gradient(90deg,transparent 48%,#fff 48%,#fff 52%,transparent 52%),linear-gradient(0deg,transparent 46%,#fff 46%,#fff 54%,transparent 54%),#DCE8DC;position:relative}
.tpl-map::after{content:"";position:absolute;left:50%;top:40%;width:14px;height:14px;border-radius:50% 50% 50% 0;background:var(--p);transform:rotate(-45deg)}
.tpl-tool{margin:0 calc(var(--gap) + 4px);margin-top:var(--gap);border:2px dashed var(--p);border-radius:var(--rad);padding:12px 14px;display:flex;align-items:center;gap:12px;background:#fff;color:#1B1F2A}
.tpl-tool svg{width:40px;height:40px;flex:none}
.tpl-tool b{display:block;font-size:14px}
.tpl-tool span{font-size:12px}
.tpl-3d{min-height:150px;border-radius:var(--rad);background:radial-gradient(circle at 50% 60%,#fff 0,var(--tint) 70%);border:1px solid var(--bd);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#1B1F2A}
.tpl-3d svg{width:78px;height:78px}
.tpl-3d b{font-size:12px;background:#06122B;color:#fff;padding:2px 8px;border-radius:99px}
.tpl-foot{padding:16px calc(var(--gap) + 4px);background:var(--p);color:var(--pi);font-size:13px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.tpl-cookie{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px calc(var(--gap) + 4px);background:#06122B;color:#fff;font-size:12px;font-weight:700}
.tpl-cookie span:last-child{background:#fff;color:#06122B;border-radius:6px;padding:2px 8px}
.tpl-empty{padding:30px 18px;text-align:center;color:#5B6478}
/* routes */
.tpl.rt-clean{--tf-h:var(--font);--tw:700;--rad:8px;--gap:16px}
.tpl.rt-editorial{--tf-h:"Playfair Display",Georgia,serif;--tw:700;--rad:0px;--gap:14px}
.tpl.rt-editorial .tpl-hero{background:#fff;border-bottom:3px solid #1B1F2A}
.tpl.rt-editorial .tpl-hero h1{font-size:clamp(26px,7.4cqw,48px);max-width:14ch}
.tpl.rt-editorial .tpl-sec h2{border-bottom:1px solid #1B1F2A;padding-bottom:6px}
.tpl.rt-bold{--tf-h:Archivo,sans-serif;--tw:800;--rad:0px;--gap:11px}
.tpl.rt-bold .tpl-hero{background:var(--p);color:var(--pi)}
.tpl.rt-bold .tpl-hero h1,.tpl.rt-bold .tpl-sec h2{text-transform:uppercase;letter-spacing:-.01em}
.tpl.rt-warm{--tf-h:Fraunces,Georgia,serif;--tw:700;--rad:18px;--gap:18px}
.tpl.rt-warm .tpl-hero{border-radius:0 0 28px 28px}
.tpl.rt-luxury{--tf-h:"Cormorant Garamond",Georgia,serif;--tw:600;--rad:0px;--gap:18px}
.tpl.rt-luxury .tpl-hero{background:#17130F;color:#EFE6D6;text-align:center;grid-template-columns:1fr}
.tpl.rt-luxury .tpl-hero h1{font-size:clamp(26px,7cqw,46px);letter-spacing:.03em;margin-left:auto;margin-right:auto}
.tpl.rt-luxury .tpl-hero p{margin-left:auto;margin-right:auto}
.tpl.rt-luxury .tpl-hero .tpl-media{display:none}
.tpl.rt-luxury .tpl-badges{justify-content:center}
.tpl.rt-luxury .tpl-btn{background:transparent;color:#EFE6D6;border:1px solid #C9A86A}
.tpl.rt-luxury .tpl-3d{background:radial-gradient(circle at 50% 60%,#2A231C 0,#17130F 70%);border-color:#4A3F33;color:#EFE6D6}
.tpl.rt-luxury .tpl-sec h2{text-align:center;letter-spacing:.06em}
.tpl.rt-playful{--tf-h:Fredoka,sans-serif;--tw:600;--rad:22px;--gap:16px}
.tpl.rt-playful .tpl-hero{background:radial-gradient(circle at 92% 12%,var(--a) 0 46px,transparent 47px),radial-gradient(circle at 6% 92%,var(--p) 0 30px,transparent 31px),var(--tint)}
.tpl.rt-techy{--tf-h:"Space Grotesk",sans-serif;--tf-b:"Space Grotesk",sans-serif;--tw:700;--rad:6px;--gap:14px;background:#0B1020;color:#E6EAF4;--phc:#2E3858;--bx:#161E36;--bd:#232C47}
.tpl.rt-techy .tpl-hero{background:#10172C}
.tpl.rt-techy .tpl-box.img{background:repeating-linear-gradient(45deg,#161E36,#161E36 8px,#1C2542 8px,#1C2542 16px)}
.tpl.rt-techy .tpl-empty{color:#A9B2C8}
.tpl.rt-techy .tpl-3d{background:radial-gradient(circle at 50% 60%,#1C2542 0,#0B1020 70%);color:#E6EAF4}
.tpl.rt-classic{--tf-h:"Libre Baskerville",Georgia,serif;--tw:400;--rad:2px;--gap:16px}
.tpl.rt-classic .tpl-hero,.tpl.rt-classic .tpl-sec h2{text-align:center}
.tpl.rt-classic .tpl-hero{grid-template-columns:1fr}
.tpl.rt-classic .tpl-hero h1,.tpl.rt-classic .tpl-hero p{margin-left:auto;margin-right:auto}
.tpl.rt-classic .tpl-badges{justify-content:center}
.tpl.rt-classic .tpl-btn{background:transparent;color:inherit;border:2px solid currentColor}
/* this-or-that, type: placed after routes so they win */
.tpl.d-airy{--gap:22px}.tpl.d-airy .tpl-hero{padding-top:calc(var(--gap) * 2.6);padding-bottom:calc(var(--gap) * 2.6)}
.tpl.d-packed{--gap:8px}.tpl.d-packed .tpl-grid{grid-template-columns:repeat(auto-fit,minmax(80px,1fr))}.tpl.d-packed .tpl-hero{padding-top:18px;padding-bottom:18px}
.tpl.c-round{--rad:20px}.tpl.c-sharp{--rad:0px}
.tpl.e-lively .tpl-feats span{background:var(--a);color:var(--ai);border-color:var(--a)}
.tpl.e-lively .tpl-sec:nth-of-type(even){background:var(--tint)}
.tpl.e-lively .tpl-hero h1{transform:rotate(-1deg)}
.tpl.e-calm .tpl-feats span{border-color:var(--phc)}
.tpl.ty-serif{--tf-h:"Libre Baskerville",Georgia,serif;--tf-b:Georgia,serif;--tw:700}
.tpl.ty-sans{--tf-h:var(--font);--tf-b:var(--font);--tw:800}
.tpl.ty-mixed{--tf-h:Fraunces,Georgia,serif;--tf-b:var(--font);--tw:700}
/* thumbnails */
.thumb{width:288px;max-width:100%;height:220px;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff;position:relative;flex:none}
.thumb > .tpl{width:640px;transform:scale(.45);transform-origin:0 0;pointer-events:none}
/* pills (from the mock's hub block; used by the review's choice cards) */
.pill{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:700;padding:3px 10px;border-radius:99px;background:var(--soft);color:var(--ink)}
.pill.ok{background:var(--ok-soft);color:var(--ok)}
.pill.fb{background:var(--warn-soft)}
.pill.new{background:var(--yellow);color:var(--yellow-ink)}
.pill.route{background:var(--sel);border:1px solid var(--lblue)}

/* ---------- estimate ---------- */
.est{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:16px 18px;box-shadow:0 12px 40px rgba(6,18,43,.07)}
.est-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.tag{font-size:13px;font-weight:800;border:1px dashed var(--ctl);border-radius:99px;padding:2px 10px;color:var(--ink);white-space:nowrap}
.est-range{font-size:26px;font-weight:800;margin:0 0 8px;line-height:1.2}
.est-bud{margin:8px 0 0;font-size:16px;color:var(--muted)}
.est-bud b{color:var(--ink)}
.est-over{margin:8px 0 0;font-size:16px}
.est-note{margin:10px 0 0;font-size:14px;color:var(--muted)}
.est-care{margin:8px 0 0;font-size:15px}
.est details{margin-top:10px;font-size:15px}
.est summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center;color:var(--blue-ink)}
.est-lines{list-style:none;margin:0;padding:0}
.est-lines li{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid var(--line)}
.est-lines li:last-child{border-bottom:0}
.est-lines small{color:var(--muted);font-size:13px;font-weight:700}
.fit{display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:16px;border-radius:99px;padding:4px 12px 4px 6px;margin:0}
.fit svg{width:22px;height:22px;flex:none}
.fit-fits{background:var(--ok-soft);color:var(--ok)}
.fit-close{background:var(--soft);color:var(--ink)}
.fit-above{background:var(--warn-soft);color:var(--ink);border:1px solid var(--yellow)}
.fit-none{background:var(--soft);color:var(--muted)}
.est-inline{margin:0 0 22px}
@media (min-width:1000px){.est-inline{display:none}}
.est-bar{position:fixed;left:0;right:0;bottom:60px;z-index:24;background:var(--surface);border-top:1px solid var(--line);padding:6px 16px;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.est-bar .eb-l{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.est-bar .eb-l small{font-size:13px;font-weight:700;color:var(--muted)}
.est-bar .eb-l b{font-size:18px}
.est-bar .fit{font-size:14px;padding:3px 10px 3px 4px}
.est-bar .fit svg{width:20px;height:20px}
.view-start .peek[data-open="true"] ~ .est-bar{display:none}
@media (min-width:1000px){.est-bar{display:none}}
/* inline budget prompt */
.nudge{border:2px solid var(--yellow);background:var(--warn-soft);color:var(--ink);border-radius:14px;padding:12px 14px;margin:8px 0 14px;font-size:16px}
.nudge p{margin:0 0 10px;font-weight:600;display:flex;gap:10px;align-items:flex-start}
.nudge p svg{width:22px;height:22px;flex:none;margin-top:1px}
.nudge .row{display:flex;flex-wrap:wrap;gap:8px}
.nudge-done{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:700;margin:6px 0 12px;padding:4px 12px;border-radius:99px;background:var(--soft)}
/* ways out: Ali chooses / talk about it */
.ways{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 24px}
.way{border:2px solid var(--ctl);border-radius:16px;background:var(--surface);padding:10px 12px;text-align:left;display:flex;gap:10px;align-items:center;min-height:64px;position:relative}
.way svg{width:34px;height:34px;flex:none}
.way b{display:block;font-size:16px;line-height:1.2}
.way small{display:block;font-size:14px;color:var(--muted);line-height:1.25;margin-top:2px}
.way[aria-pressed="true"]{border-color:var(--blue);box-shadow:0 0 0 3px var(--lblue);background:var(--sel)}
.free-card{background:var(--sel);border:1px solid var(--lblue);border-radius:16px;padding:16px;margin:0 0 22px}
.free-card b{display:block;font-size:19px;margin-bottom:4px}
.free-card p{margin:0 0 10px;font-size:16px}
.talk-line{font-size:15px;font-weight:700;margin:-14px 0 22px;color:var(--ink)}
.rv-lists{display:grid;gap:12px;margin-bottom:22px}
.rv-lists h2{font-size:20px;margin-bottom:8px}
.pills{display:flex;flex-wrap:wrap;gap:6px}
@media (prefers-reduced-motion:reduce){*{animation:none !important;transition:none !important}}

/* ---------- site: screen.css sets a dark page, a centred <main> and a mono h1 for the placeholder screens; undo here ---------- */
html,body{height:auto;min-height:100%;background:var(--bg);color:var(--ink)}
main{display:block;place-items:normal;min-height:0;padding:0}
h1{font:inherit;text-align:left}
.step-title{font-size:32px;font-weight:800;line-height:1.2}
.tpl-hero h1{font-family:var(--tf-h);font-weight:var(--tw);line-height:1.1}
/* room for "Back to the studio" (on its own) or the overlay's Close button (in the overlay), both 44px at the top */
.brief{padding-top:72px}
@media (min-width:1000px){.preview-side{top:72px;max-height:calc(100vh - 88px)}}
/* the phone's estimate bar hides while "Your site so far" is open (the mock's rule missed: the bar sits in .js-bar) */
.peek[data-open="true"] ~ .js-bar .est-bar{display:none}

/* ---------- were inline style attributes in the mock's HTML strings ---------- */
.fs15{font-size:15px}
.fs28{font-size:28px}
.m0{margin:0}
.mb12{margin-bottom:12px}
.btn-wide{width:100%}
.send-h{font-size:22px;margin-bottom:14px}
.ra .ln.w70{width:70%}
.tpl .ph.w45{width:45%}
.tpl .ph.w110{width:110px}
.tpl .ph.mv10{margin:10px 0}
.tpl .ph.mb12{margin-bottom:12px}
.tpl .ph.mb14{margin-bottom:14px}
.tpl .ph.ctr8{margin:0 auto 8px}
.tpl .ph.ctr{margin:0 auto}
.tpl p.m6{margin:0 0 6px}
.tpl-box.mini{min-height:50px;margin-bottom:6px}
.tpl-box.pick{min-height:60px;margin-bottom:8px}
.tpl-form .f.tall{height:56px}

/* ---------- colour picks from the Colours screen ---------- */
.sw-lab{font-size:15px;font-weight:700;color:var(--muted);margin:0 0 8px}
.chip.fontpick{font-size:22px;font-weight:400;margin-bottom:16px}   /* the shelf's font, in that font (bookshelf, 12 Nov) */
.swatches.picks{margin-bottom:12px}
.sw-it{display:inline-flex;align-items:center;margin-right:8px}

/* ---------- sending ---------- */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.send-state{font-weight:700;font-size:16px;margin:12px 0 0}
.send-state.bad{color:#B4232F}
.btn[aria-disabled="true"]{opacity:.6;cursor:progress}

/* ---------- phone: Tab never leaves focus under the fixed estimate bar + "Your site so far" (about 120px) ---------- */
@media (max-width:999px){html{scroll-padding-bottom:140px}}

/* ---------- logo upload (easel job, 11 Nov): a real file input inside the old "Upload logo" box. The input is clear and
   covers the box, so a click anywhere opens the picker and the keyboard reaches it with Tab; the box shows its focus. */
label.upload{position:relative;cursor:pointer}
.upload-in{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:0}
label.upload:focus-within{outline:3px solid var(--blue-ink);outline-offset:2px}
.upload + .err{margin:-4px 0 14px}

/* ---------- ?embed=1: on the easel's canvas in the home page (round 2, easel2, 11 Nov evening; Ali: "look as if it is
   still on the easel the whole time, and blend it into the fabric of the canvas"). The home page draws this frame with
   mix-blend-mode: multiply over the room's own canvas (css/site.css .easel__frame), so here white is the fabric itself
   and every ink takes the weave and the baked light. So: clear page and cards, no shadows, thin ink lines, outlined
   fields and chips, the chosen one filled with Imperial Blue paint, a painted progress line. The two fixed bars (the
   estimate and "Your site so far") keep a white ground: under the blend that is bare fabric, and it hides the form
   scrolling under them. Multiply can only darken, so fields get no lighter wash; the inks are dark enough on every
   light look (tests/easel2-contrast.txt). The page on its own is unchanged. */
.embed{--bg:transparent;--surface:transparent;--soft:transparent;--sel:transparent;--ok-soft:transparent;--warn-soft:transparent;
  --ink:#14161A;--muted:#262B37;--line:rgba(20,22,26,.42);--ctl:#232528;--blue:#2A2A72;--blue-ink:#0A2F78;--lblue:#2A2A72;--yellow-ink:#14161A}
.embed .btn-main{background:#FFEA8F}   /* a paler yellow paint: the full #FFD31A multiplied into the Night canvas left the label at 4.2:1 */
.embed, .embed body{background:transparent}
.embed body{font-size:17px}
.embed .brief{padding:14px 0 170px;gap:20px}
.embed .step-title{font-size:clamp(22px,7.5vw,30px);margin-bottom:18px}
.embed .card,.embed .est,.embed .frame,.embed .peek,.embed .pic[aria-pressed="true"],.embed .way[aria-pressed="true"],.embed .sw[aria-pressed="true"]{box-shadow:none}
.embed .input{border-width:1.5px;background:transparent}
.embed .input::placeholder{color:#30343F;opacity:1}
.embed .chip,.embed .pic,.embed .way,.embed .sw,.embed .upload,.embed .btn-line{border-width:1.5px}
.embed .chip[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff}
.embed .pic[aria-pressed="true"],.embed .way[aria-pressed="true"]{border-color:var(--blue);outline:2px solid var(--blue);outline-offset:-4px}
.embed .pic[aria-pressed="true"]::after{background-color:var(--yellow);border-color:var(--blue)}
.embed .sw[aria-pressed="true"]{outline:2px solid var(--blue);outline-offset:2px}
.embed .seg i{height:4px;border-radius:2px;background:rgba(20,22,26,.28)}
.embed .seg i b{background:var(--blue);border-radius:2px}
.embed .peek,.embed .peek-btn,.embed .est-bar{background:#fff}
.embed .peek{border-top:1.5px solid var(--line)}
.embed .est-bar{bottom:50px;padding:3px 12px;gap:2px 8px;border-top:1px solid var(--line)}   /* tucked under the peek: no gap the form shows through */
.embed .est-bar .eb-l b{font-size:16px}
.embed .peek-btn{min-height:52px;padding:6px 12px;font-size:17px}
.embed .peek-body{max-height:calc(100vh - 120px);background:#fff}
.embed .fit-above{border-color:var(--ink)}
.embed .fit-fits,.embed .fit-close,.embed .fit-above,.embed .fit-none,.embed .pill,.embed .nudge-done{box-shadow:inset 0 0 0 1px var(--line)}
.embed .nudge{border-width:1.5px}
.embed .free-card{border-color:var(--line)}
.embed .pc .con::before,.embed .err,.embed .send-state.bad{color:#650D19}
.embed .upload[data-has="true"]{border-color:var(--ok)}
/* briefkb (15 Nov, Ali's iPhone: the estimate bar sat over the chips, text on text): on the canvas the page scrolls in
   body, which ends where the two fixed bars begin (--bars, measured by brief.js after each render), so no question or
   chip is ever under them, whatever the browser does with the bars' white ground under the multiply blend */
.embed{height:100%;overflow:hidden}
.embed body{position:fixed;top:0;left:0;right:0;bottom:var(--bars,124px);height:auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding-bottom:16px}
.embed .brief{padding-bottom:24px}
/* always the single column on the canvas (a very large screen could make the frame 1000px wide) */
@media (min-width:1000px){
  .embed .brief{grid-template-columns:minmax(0,1fr);padding-bottom:24px}
  .embed .brief-main{margin:0 auto}
  .embed .preview-side{display:none}
  .embed .peek{display:block !important}
  .embed .est-bar{display:flex}
  .embed .est-inline{display:block}
}
