/* Valence | lacquer swatches and the optical test bench */
:is(#theater #stage .va-console, html[data-ver-cursor="valence"] .vb-instrument) {
  background: linear-gradient(122deg,#363530 0%,#1e1e1c 19%,#191a18 72%,#292922);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 #78746a, inset 0 -2px 0 #0d0e0c, 0 10px 24px #0004;
}
:is(#theater #stage, html[data-ver-cursor="valence"]) .vb-window {
  padding: 5px;
  background: #10110f;
  border-radius: 7px;
  box-shadow: inset 0 1px 4px #000c, 0 1px 0 #b8ae9229;
}
:is(#theater #stage, html[data-ver-cursor="valence"]) .vb-screen { overflow: hidden; border-radius: 3px; }
html[data-ver-cursor="valence"] #series {
  padding-block: clamp(48px,6vw,92px);
}
html[data-ver-cursor="valence"] #series .spec-strip {
  gap:0; padding: clamp(14px,2.5vw,38px); border: 1px solid #625d50; border-radius: 8px;
  background: linear-gradient(110deg,#2b2b27,#1d1e1b 43%,#22231f);
  box-shadow: inset 0 1px #e7dcbe25,0 12px 24px #0003;
}
html[data-ver-cursor="valence"] #series .spec-strip>div {
  padding:clamp(12px,1.7vw,24px); box-shadow:none; background:transparent; border:none;
  border-inline-start:1px solid #77726565;
}
html[data-ver-cursor="valence"] #series .spec-strip dt {color:#d1bea0;}
html[data-ver-cursor="valence"] #build .swatches {
  display:flex; flex-wrap:wrap; gap:8px; padding:4px;
}
html[data-ver-cursor="valence"] #build .swatch {
  width:clamp(45px,5vw,68px); min-height:44px; display:grid; align-items:center;
}
html[data-ver-cursor="valence"] #build .swatch>span {
  width:100%; height:32px; border-radius:8px 15px 6px 5px;
  border:1px solid #c7c0ae85;
  background:linear-gradient(167deg,#fff5 0%,#fff2 26%,transparent 41%,#0005 79%,#fff2),var(--swatch);
  box-shadow:inset 0 1px 1px #fff7, inset 0 -2px 4px #0006,0 2px 5px #0006;
}
html[data-ver-cursor="valence"] #build .swatch input:is(:checked,:focus-visible)+span {
  outline:2px solid #e4c397; outline-offset:3px;
}
html[data-ver-cursor="valence"] .inspection-controls button,
html[data-ver-cursor="valence"] .view-controls button {min-height:44px;}

/* Vesper | model photographs, construction sheets and the finish library */
#theater #vesper-study .light-plate,
html[data-ver-cursor="vesper"] .hero-figure .hero-media {
  outline:1px solid #655d4970; outline-offset:-1px; border-radius:4px;
  box-shadow:0 0 0 5px #e5ddc9,0 0 0 6px #a99e8370,0 9px 17px #483e272b;
}
#theater #vesper-study .model-details {gap:6px;}
#theater #vesper-study .model-details button {
  min-height:44px; border:1px solid #77735b82; border-radius:3px;
  background:#f5efdd; color:#38362c;
}
#theater #vesper-study .model-details button:is([aria-pressed="true"],[aria-selected="true"],.active) {
  background:#474c3b;color:#fffbef;
}
#theater #vesper-study .wk-junction-index {
  padding:clamp(12px,2.2vw,28px); gap:clamp(15px,3vw,46px);
  background:linear-gradient(105deg,#f5efdf,#ede4d0);
  border:1px solid #897c5e59; border-radius:3px; box-shadow:0 5px 12px #51432b12;
}
html[data-ver-cursor="vesper"] #work .project button {
  padding:clamp(6px,1.2vw,16px); height:100%;
  border:1px solid #968b705e; border-radius:3px; background:#f6efdf;
  color:#322f26; box-shadow:0 3px 0 -1px #d4c9af,0 7px 18px #423c2918;
}
html[data-ver-cursor="vesper"] #work .project button img {border-radius:2px;}
html[data-ver-cursor="vesper"] #work .project-info {padding:clamp(11px,1.7vw,23px) 5px 4px;align-items:center;}
html[data-ver-cursor="vesper"] #materials .material-studio {
  padding:clamp(13px,2.6vw,38px); gap:clamp(20px,3vw,46px);
  color:#332f24; background:linear-gradient(112deg,#f5eedf,#e9dfc8);
  border:1px solid #978a6a75; border-radius:5px;
  box-shadow:0 3px 0 -1px #c5b99d,0 12px 30px #3c352416;
}
html[data-ver-cursor="vesper"] #materials .sample-view {
  overflow:hidden; border-radius:3px; outline:1px solid #81755c6b; outline-offset:-1px;
  box-shadow:0 0 0 3px #e1d7bf,0 2px 7px #4c412f36;
}
html[data-ver-cursor="vesper"] #materials .sample-controls {min-width:0; padding:0; align-content:center;}
html[data-ver-cursor="vesper"] #materials .sample-controls :is(h3,p,label,output,.time-labels,.time-labels span) {color:#46412f;}
html[data-ver-cursor="vesper"] #materials .sample-controls h3 {color:#26251d;}
html[data-ver-cursor="vesper"] #materials .sample-controls .swatches {gap:6px;display:flex;flex-wrap:wrap;}
html[data-ver-cursor="vesper"] #materials .swatches button {
  min-height:44px;color:#38372b; background:#f5efdf; border:1px solid #918770;
  border-radius:3px; padding:6px 10px;
}
html[data-ver-cursor="vesper"] #materials .swatches button[aria-pressed="true"] {
  color:#fff9e7; background:#474d3b; border-color:#474d3b;
}
html[data-ver-cursor="vesper"] #materials .sample-controls input {accent-color:#50563e;}

/* Ember & Anvil | the botanical impression, retail packets and recipe card */
#theater #stage .ea-roastery .ea-photobay {
  --print-inset:clamp(10px,2vw,30px); background:radial-gradient(ellipse at 46% 35%,#6a4b36,#463125 78%);
}
#theater #stage .ea-roastery .ea-photobay>img.cf-print {
  inset:var(--print-inset); width:calc(100% - var(--print-inset) * 2); height:calc(100% - var(--print-inset) * 2);
  object-fit:cover; mask-image:none; -webkit-mask-image:none;
  border:clamp(4px,.7vw,10px) solid #dfcfac;
  border-radius:48% 48% 3px 3px / 23% 23% 3px 3px; box-shadow:0 6px 14px #20150d60;
}
#theater #stage .ea-roastery .ea-roasts label {
  min-height:44px; padding:7px 10px; border-radius:4px; border:1px solid #c8ad845c;
  color:#efe3c6!important; background:#37291e!important; display:flex; align-items:center; gap:6px;
}
#theater #stage .ea-roastery .ea-roasts label.ea-picked {
  color:#35251b!important;background:#ead9b6!important; border-color:#ead9b6;
}
html[data-ver-cursor="ember"] .hero.cf-front>img.cf-print {
  border:clamp(5px,1vw,14px) solid #e7d7b4; border-radius:47% 47% 3px 3px / 19% 19% 3px 3px;
  mask-image:none; -webkit-mask-image:none; box-shadow:0 6px 24px #21140c59;
}
html[data-ver-cursor="ember"] #coffee .products {gap:clamp(12px,1.7vw,26px);align-items:stretch;}
html[data-ver-cursor="ember"] #coffee .products>.product {
  display:flex; flex-direction:column; min-width:0;
  background:#f0e2c6; border:1px solid #89674666; border-radius:5px; padding:clamp(6px,.8vw,13px);
  box-shadow:0 4px 12px #41281219; color:#3e291d;
}
html[data-ver-cursor="ember"] #coffee .product .cf-bag-front {border-radius:2px; overflow:hidden;}
html[data-ver-cursor="ember"] #coffee .product-copy {flex:1; padding:clamp(9px,1.2vw,17px) clamp(2px,.4vw,8px) 3px;}
html.cf-edition[data-ver-cursor="ember"] #coffee .product-copy :is(p,small) {color:#574332;}
html.cf-edition[data-ver-cursor="ember"] #coffee .product-copy p.eyebrow {color:#72452d;}
html[data-ver-cursor="ember"] #coffee .buy {margin-top:auto;flex-wrap:wrap;gap:7px;}
html[data-ver-cursor="ember"] #coffee .buy button {
  min-height:44px; padding:7px 12px!important; background:#493124!important;color:#fff1d5; border:1px solid #5e4230;
  border-radius:3px; text-decoration:none!important;
}
html.cf-edition[data-ver-cursor="ember"] #brew.brew.shell {
  align-items:center; column-gap:clamp(24px,6vw,82px); padding-block:clamp(44px,6vw,86px);
}
html.cf-edition[data-ver-cursor="ember"] #brew.brew.shell .calculator {
  padding:clamp(16px,2.8vw,40px); background:linear-gradient(115deg,#f2e5c8,#e3cdab)!important;
  color:#442e22; border:1px solid #9b7750; border-radius:4px;
  box-shadow:0 4px 0 -1px #b8a280,0 12px 28px #20160f48;
}
html.cf-edition[data-ver-cursor="ember"] #brew.brew.shell .calculator :is(h3,label,p,output,.recipe,.recipe strong,small,dt,dd,figcaption,.cf-dose) {color:#442e22;}
html.cf-edition[data-ver-cursor="ember"] #brew.brew.shell .calculator :is(select,input,button) {
  min-height:44px; color:#402d20!important; color-scheme:light; background:#f6edda!important;border-color:#a48b69;
}
html.cf-edition[data-ver-cursor="ember"] #brew.brew.shell .calculator .dose-presets>button.cf-dose {
  min-height:44px; padding:7px 10px!important; background:#f1e2c5!important; color:#513823!important;
  border:1px solid #a58b68!important; border-radius:3px;
}
html.cf-edition[data-ver-cursor="ember"] #brew.brew.shell .calculator .dose-presets>button.cf-dose[aria-pressed="true"] {
  color:#ffefd0!important; background:#553b2a!important;
}
html.cf-edition[data-ver-cursor="ember"] #brew .dose-presets>button.cf-dose small {color:inherit;}
html.cf-edition[data-ver-cursor="ember"] #coffee .products>.product[hidden] {display:none!important;}

@media(max-width:700px) {
  #theater #stage .ea-roastery .ea-roasts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
  html[data-ver-cursor="valence"] #series .spec-strip {padding:10px;row-gap:10px;}
  html[data-ver-cursor="vesper"] #materials .material-studio {grid-template-columns:1fr;}
  html[data-ver-cursor="ember"] #coffee .products {grid-template-columns:repeat(2,minmax(0,1fr));}
  html.cf-edition[data-ver-cursor="ember"] #coffee .buy {align-items:stretch; flex-direction:column;}
  html.cf-edition[data-ver-cursor="ember"] #coffee .buy button {justify-content:center;}
  html[data-ver-cursor="ember"] #coffee .product-copy h3 {font-size:clamp(1.12rem,5vw,1.55rem);}
}
@media(max-width:385px) {
  html[data-ver-cursor="ember"] #coffee .products {grid-template-columns:1fr;}
}
