:root{
  --baristuno-frame:1280px;
  --baristuno-gutter:clamp(18px,3.4vw,48px);
  --baristuno-section-space:clamp(44px,5.4vw,72px);
  --baristuno-banner-radius:18px;
  --baristuno-header-inset:clamp(16px,1.6vw,24px);
}

html{overflow-x:clip;scrollbar-gutter:stable}
body{overflow-x:clip}
html.shell-pending .site-head{visibility:hidden}
body>.wrap,body.console-world .wrap{width:100%;max-width:none;margin:0;padding:0;overflow:visible}

/* The header is a solid coffee-paper rail. Its contrast never depends on the
   page behind it, and every route uses the same measurable frame. */
html body .site-head.navigation-canonical,
html body.console-world .site-head.navigation-canonical{
  position:sticky;
  top:0;
  z-index:120;
  display:grid;
  box-sizing:border-box;
  width:min(var(--baristuno-frame),calc(100% - (2 * var(--baristuno-gutter))));
  min-height:78px;
  margin:0 auto 24px;
  padding:10px var(--baristuno-header-inset);
  grid-template-columns:minmax(250px,1fr) auto;
  align-items:center;
  gap:24px;
  border:0;
  border-bottom:1px solid var(--portrait-line,rgba(58,33,24,.24));
  border-radius:0;
  background:#fbf6f0;
  color:#3b2419;
  box-shadow:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
html body .site-head.navigation-canonical.scrolled,
html body.console-world .site-head.navigation-canonical.scrolled{
  background:#fbf6f0;
  border-color:rgba(58,33,24,.24);
  box-shadow:0 10px 28px rgba(44,26,19,.08);
}
html body .site-head .site-brand-link,
html body.console-world .site-head .site-brand-link{
  display:flex;
  min-width:0;
  min-height:56px;
  align-items:center;
  justify-self:start;
  gap:11px;
  color:#3b2419;
  text-decoration:none;
}
html body .site-head .brand-lockup{display:none!important}
html body .site-head .brand-monogram,
html body.console-world .site-head .brand-monogram{
  display:block!important;
  width:40px;
  height:50px;
  flex:0 0 40px;
  object-fit:contain;
  filter:none!important;
}
html body .site-head .approved-brand-signature{display:grid;gap:3px}
html body .site-head .approved-brand-wordmark{
  display:block;
  color:#3b2419;
  font:800 clamp(21px,1.8vw,28px)/.92 Inter,Arial,sans-serif;
  letter-spacing:.055em;
  white-space:nowrap;
}
html body .site-head .approved-brand-source{
  display:block;
  color:#791323;
  font:750 8px/1 Inter,Arial,sans-serif;
  letter-spacing:.09em;
  text-transform:uppercase;
  white-space:nowrap;
}
html body .site-head>nav,
html body.console-world .site-head>nav{
  position:static!important;
  display:flex!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  align-items:center;
  justify-content:flex-end;
  gap:clamp(10px,1.55vw,24px)!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  pointer-events:auto;
}
html body .site-head>nav>a,
html body.console-world .site-head>nav>a{
  position:relative;
  display:flex!important;
  min-width:0;
  min-height:44px;
  padding:0 2px;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:0;
  background:transparent;
  color:#3b2419;
  font:650 14px/1 Inter,Arial,sans-serif;
  text-decoration:none;
  white-space:nowrap;
}
html body .site-head>nav>a:hover,
html body .site-head>nav>a.on,
html body.console-world .site-head>nav>a:hover,
html body.console-world .site-head>nav>a.on{background:transparent;color:#791323;box-shadow:none}
html body .site-head>nav>a::after,
html body.console-world .site-head>nav>a::after{
  content:"";
  position:absolute;
  right:0;
  bottom:4px;
  left:0;
  height:2px;
  border:0;
  border-radius:0;
  background:#791323;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .2s ease;
}
html body .site-head>nav>a:hover::after,
html body .site-head>nav>a.on::after,
html body.console-world .site-head>nav>a:hover::after,
html body.console-world .site-head>nav>a.on::after{transform:scaleX(1)}
html body .site-head>nav>a.nav-shop,
html body.console-world .site-head>nav>a.nav-shop{
  min-width:0;
  min-height:44px;
  padding:0 12px;
  gap:7px;
  border:1px solid rgba(121,19,35,.28);
  border-radius:10px;
  background:transparent;
  color:#3b2419;
  font-weight:650;
}
html body .site-head>nav>a.nav-shop::after,
html body.console-world .site-head>nav>a.nav-shop::after{display:none}
html body .site-head>nav>a.nav-shop .primary-nav-icon,
html body.console-world .site-head>nav>a.nav-shop .primary-nav-icon{
  display:block!important;
  width:17px;
  height:17px;
  flex:0 0 17px;
}
html body .site-head>nav>a.nav-shop:hover,
html body .site-head>nav>a.nav-shop.on,
html body.console-world .site-head>nav>a.nav-shop:hover,
html body.console-world .site-head>nav>a.nav-shop.on{border-color:#791323;background:rgba(121,19,35,.055);color:#791323;box-shadow:none}
html body .site-head>nav>.knowledge-menu,
html body.console-world .site-head>nav>.knowledge-menu{position:relative;display:block!important;margin:0}
html body .site-head>nav>.knowledge-menu>summary,
html body.console-world .site-head>nav>.knowledge-menu>summary{
  display:flex;
  min-width:102px;
  min-height:46px;
  padding:0 15px;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border:1px solid rgba(58,33,24,.24)!important;
  border-radius:3px;
  background:#fbf6f0!important;
  color:#3b2419!important;
  font:680 14px/1 Inter,Arial,sans-serif;
  list-style:none;
}
html body .site-head>nav>.knowledge-menu>summary:hover,
html body .site-head>nav>.knowledge-menu[open]>summary,
html body.console-world .site-head>nav>.knowledge-menu>summary:hover,
html body.console-world .site-head>nav>.knowledge-menu[open]>summary{
  border-color:#791323!important;
  background:#fbf6f0!important;
  color:#791323!important;
}
html body .site-head>nav>.knowledge-menu>summary i,
html body.console-world .site-head>nav>.knowledge-menu>summary i{
  display:grid;
  width:20px;
  height:14px;
  gap:5px;
  transform:none;
}
html body .site-head>nav>.knowledge-menu>summary i b,
html body.console-world .site-head>nav>.knowledge-menu>summary i b{display:block;width:20px;height:1px;background:currentColor}
html body .site-head .acct{display:none!important}

html body .site-head.navigation-canonical>nav>.knowledge-menu.app-menu>.knowledge-popover,
html body.console-world .site-head.navigation-canonical>nav>.knowledge-menu.app-menu>.knowledge-popover{
  overflow:auto!important;
  padding:20px!important;
  border:1px solid rgba(58,33,24,.22)!important;
  border-radius:16px!important;
  background:#fbf6f0!important;
  color:#221710!important;
  box-shadow:0 28px 72px rgba(35,20,15,.18)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
html body .site-head.navigation-canonical .app-menu-intro,
html body.console-world .site-head.navigation-canonical .app-menu-intro{
  display:grid!important;
  margin:0 0 16px!important;
  padding:0 0 16px!important;
  grid-template-columns:150px minmax(0,1fr)!important;
  align-items:baseline!important;
  gap:24px!important;
  border-bottom:1px solid rgba(58,33,24,.2)!important;
}
html body .site-head.navigation-canonical .app-menu-intro span,
html body.console-world .site-head.navigation-canonical .app-menu-intro span{
  color:#791323!important;
  font:760 9px/1 Inter,Arial,sans-serif!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
}
html body .site-head.navigation-canonical .app-menu-intro strong,
html body.console-world .site-head.navigation-canonical .app-menu-intro strong{
  color:#221710!important;
  font:740 21px/1.1 Inter,Arial,sans-serif!important;
  letter-spacing:-.025em!important;
}
html body .site-head.navigation-canonical .knowledge-popover .app-menu-grid,
html body.console-world .site-head.navigation-canonical .knowledge-popover .app-menu-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}
html body .site-head.navigation-canonical .knowledge-popover .app-menu-group,
html body.console-world .site-head.navigation-canonical .knowledge-popover .app-menu-group{
  position:static!important;
  display:block!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:10px!important;
  border:1px solid rgba(58,33,24,.18)!important;
  border-radius:12px!important;
  background:#fffdf9!important;
  box-shadow:none!important;
}
html body .site-head.navigation-canonical .knowledge-popover .app-menu-group h3,
html body.console-world .site-head.navigation-canonical .knowledge-popover .app-menu-group h3{
  margin:0 6px 7px!important;
  color:#791323!important;
  font:760 9px/1.2 Inter,Arial,sans-serif!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
}
html body .site-head.navigation-canonical .knowledge-popover .app-menu-group a,
html body.console-world .site-head.navigation-canonical .knowledge-popover .app-menu-group a{
  display:flex!important;
  min-height:40px!important;
  padding:8px 7px!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:6px!important;
  border-radius:8px!important;
  color:#3b3029!important;
  font:650 12px/1.3 Inter,Arial,sans-serif!important;
  text-align:left!important;
  text-decoration:none!important;
  white-space:normal!important;
}
html body .site-head.navigation-canonical .knowledge-popover .app-menu-group a:hover,
html body .site-head.navigation-canonical .knowledge-popover .app-menu-group a:focus-visible,
html body.console-world .site-head.navigation-canonical .knowledge-popover .app-menu-group a:hover,
html body.console-world .site-head.navigation-canonical .knowledge-popover .app-menu-group a:focus-visible{
  background:#f2e8de!important;
  color:#791323!important;
  box-shadow:none!important;
}
html body .site-head.navigation-canonical .app-menu-footer,
html body.console-world .site-head.navigation-canonical .app-menu-footer{
  display:grid!important;
  margin-top:16px!important;
  padding-top:16px!important;
  grid-template-columns:minmax(280px,1.25fr) minmax(230px,.75fr)!important;
  align-items:stretch!important;
  gap:12px!important;
  border-top:1px solid rgba(58,33,24,.2)!important;
}
html body .site-head.navigation-canonical .app-menu-profile,
html body.console-world .site-head.navigation-canonical .app-menu-profile{
  display:grid!important;
  min-height:72px!important;
  padding:13px 16px!important;
  align-content:center!important;
  gap:4px!important;
  border:1px solid #791323!important;
  border-radius:12px!important;
  background:#791323!important;
  color:#fff8f1!important;
  text-align:left!important;
  text-decoration:none!important;
  white-space:normal!important;
}
html body .site-head.navigation-canonical .app-menu-profile:hover,
html body .site-head.navigation-canonical .app-menu-profile:focus-visible,
html body.console-world .site-head.navigation-canonical .app-menu-profile:hover,
html body.console-world .site-head.navigation-canonical .app-menu-profile:focus-visible{
  background:#5f0e1b!important;
  box-shadow:none!important;
}
html body .site-head.navigation-canonical .app-menu-profile span,
html body.console-world .site-head.navigation-canonical .app-menu-profile span{
  color:#e7bd7e!important;
  font:780 8px/1 Inter,Arial,sans-serif!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
html body .site-head.navigation-canonical .app-menu-profile strong,
html body.console-world .site-head.navigation-canonical .app-menu-profile strong{
  color:#fff8f1!important;
  font:750 15px/1.15 Inter,Arial,sans-serif!important;
}
html body .site-head.navigation-canonical .app-menu-profile small,
html body.console-world .site-head.navigation-canonical .app-menu-profile small{
  color:rgba(255,248,241,.78)!important;
  font:550 10px/1.35 Inter,Arial,sans-serif!important;
}
html body .site-head.navigation-canonical .app-menu-utility,
html body.console-world .site-head.navigation-canonical .app-menu-utility{
  position:static!important;
  display:grid!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:6px!important;
  border:0!important;
  background:transparent!important;
}
html body .site-head.navigation-canonical .app-menu-utility a,
html body.console-world .site-head.navigation-canonical .app-menu-utility a{
  display:grid!important;
  min-height:44px!important;
  padding:8px!important;
  place-items:center!important;
  border:1px solid rgba(58,33,24,.16)!important;
  border-radius:10px!important;
  background:#fffdf9!important;
  color:#62574f!important;
  font:680 10px/1 Inter,Arial,sans-serif!important;
  text-align:center!important;
  text-decoration:none!important;
}

@media(min-width:861px){
  html body .site-head.navigation-canonical>nav>a:not(.nav-shop)::after,
  html body.console-world .site-head.navigation-canonical>nav>a:not(.nav-shop)::after{
    content:""!important;
    position:absolute!important;
    right:0!important;
    bottom:4px!important;
    left:0!important;
    display:block!important;
    width:auto!important;
    height:2px!important;
    border:0!important;
    border-radius:0!important;
    background:#791323!important;
    transform:scaleX(0)!important;
    transform-origin:left!important;
  }
  html body .site-head.navigation-canonical>nav>a:not(.nav-shop):hover::after,
  html body .site-head.navigation-canonical>nav>a:not(.nav-shop).on::after,
  html body.console-world .site-head.navigation-canonical>nav>a:not(.nav-shop):hover::after,
  html body.console-world .site-head.navigation-canonical>nav>a:not(.nav-shop).on::after{transform:scaleX(1)!important}
}

html body .recipes-hero,
html body .journal-banner,
html body .lab-banner,
html body .passport-page-head,
html body .passport-boundaries{
  border-radius:var(--baristuno-banner-radius)!important;
}
html body .passport-boundaries h3,
html body.console-world .passport-boundaries h3{color:#fff8f0!important}
html body .passport-boundaries p,
html body.console-world .passport-boundaries p{color:#ddd0c4}

/* One content frame. Background belongs to the page; readable content never
   touches the viewport edge or changes width between adjacent sections. */
html body.console-world #appMain{width:100%;max-width:none;margin:0}
html body.console-world #appMain>.tab,
html body:not(.console-world) main,
html body:not(.console-world)>.wrap>main{
  width:min(var(--baristuno-frame),calc(100% - (2 * var(--baristuno-gutter))));
  max-width:var(--baristuno-frame);
  margin-right:auto;
  margin-left:auto;
}
html body.console-world #appMain>.tab.on{margin-top:0;margin-bottom:clamp(48px,6vw,80px)}
html body.console-world #tab-home,
html body.console-world #tab-recipes,
html body.console-world #tab-log,
html body.console-world #tab-profile,
html body.console-world #tab-shop,
html body.console-world #tab-lab,
html body.console-world #tab-mission{
  width:min(var(--baristuno-frame),calc(100% - (2 * var(--baristuno-gutter))));
  max-width:var(--baristuno-frame);
  margin-right:auto;
  margin-left:auto;
}
html body.console-world #tab-recipes,
html body.console-world #tab-log,
html body.console-world #tab-profile{margin-top:0}
html body.console-world #tab-profile .profile-page-hero,
html body.console-world #tab-shop .shop-hero,
html body.console-world #tab-shop .shop-trust{
  box-sizing:border-box;
  width:100%;
  margin-right:0!important;
  margin-left:0!important;
}
html body.console-world #tab-profile .profile-page-hero{margin-bottom:30px!important}
html body.console-world #tab-shop .shop-hero{margin-bottom:56px!important}
html body.console-world #tab-shop .shop-trust{margin-top:64px!important;margin-bottom:40px!important}
html body:not(.console-world)>.wrap{max-width:none!important}
html body:not(.console-world)>.wrap>.site-head,
html body:not(.console-world)>.wrap>main{box-sizing:border-box}

/* Approved first-view composition: the Chemex sits lower, while the machine
   is substantially larger, closer, and deliberately exits the right edge. */
html body.console-world .console-hero{min-height:min(820px,calc(100svh - 102px));max-height:860px}
html body.console-world .brew-object-chemex{z-index:4;left:-4%;bottom:-10%;width:min(65%,560px)}
html body.console-world .brew-object-espresso{right:-17%;bottom:-4%;width:min(88%,760px)}
html body.console-world .brew-portrait-stage::after{right:-4%;left:0}
html body.console-world .console-dials{position:relative;z-index:2;background:transparent}

/* Home rhythm: less empty vertical travel and fewer oversized proof panels. */
html body.console-world .signal-bench,
html body.console-world .tool-deck,
html body.console-world .home-news{padding:var(--baristuno-section-space) clamp(28px,4.6vw,64px)}
html body.console-world .next-move{min-height:0;padding:var(--baristuno-section-space) clamp(28px,4.6vw,64px)}
html body.console-world .console-pro{min-height:0;padding:clamp(42px,4.5vw,60px) clamp(28px,4.6vw,64px)}
html body.console-world .console-close{min-height:0;padding:clamp(54px,5vw,70px) clamp(28px,4.6vw,64px)}
html body.console-world .signal-bench-head,
html body.console-world .tool-deck>header{
  grid-template-columns:minmax(0,1.22fr) minmax(330px,.78fr);
  align-items:end;
  gap:42px;
}
html body.console-world #tab-home .signal-bench h2{max-width:22ch;font-size:clamp(42px,4.3vw,60px)}
html body.console-world #tab-home .tool-deck>header h2{max-width:18ch;font-size:clamp(42px,4.8vw,68px)}
html body.console-world .signal-bench-head p,
html body.console-world .tool-deck>header p{align-self:end}
html body.console-world #tab-home .next-move h2,
html body.fold-world.console-world #tab-home .next-move h2{font-size:clamp(52px,5.4vw,78px)!important}
html body.console-world .next-move{grid-template-columns:minmax(0,.95fr) minmax(470px,1.05fr)}
html body.console-world #tab-home .home-news h2{max-width:18ch;font-size:clamp(44px,4.8vw,68px)}

/* The product story combines one real coffee photograph with the exact fields
   and one-variable recommendation model used by Baristuno Journal. */
html body.console-world .signal-workbench{
  max-width:none;
  grid-template-columns:minmax(300px,.78fr) minmax(460px,1.22fr);
  align-items:stretch;
  border:1px solid var(--portrait-line);
}
html body.console-world .signal-photo{
  position:relative;
  min-width:0;
  min-height:520px;
  margin:0;
  overflow:hidden;
  background:#3b2419;
}
html body.console-world .signal-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:saturate(.84) contrast(1.02);
}
html body.console-world .signal-photo figcaption{
  position:absolute;
  right:20px;
  bottom:20px;
  left:20px;
  padding:13px 15px;
  background:rgba(31,20,14,.88);
  color:#fff8f0;
  font:620 11px/1.45 var(--portrait-body);
}
html body.console-world .actual-app-preview{min-height:500px;padding:clamp(30px,3vw,40px);border-left:1px solid var(--portrait-line);background:#40261b}
html body.console-world .actual-app-preview>header a{
  display:inline-flex;
  min-height:44px;
  align-items:center;
  color:#fff8f0;
  font:720 10px/1 var(--portrait-body);
  text-underline-offset:6px;
}
html body.console-world .actual-app-preview .signal-proof-output strong{max-width:14ch}
html body.console-world .actual-app-preview .signal-proof-output strong{font-size:clamp(32px,3.5vw,48px)}
html body.console-world .signal-track{
  grid-column:1/-1;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid var(--portrait-line);
  border-left:0;
}
html body.console-world .signal-track li{border-top:0;border-left:1px solid var(--portrait-line)}
html body.console-world .signal-track li:first-child{border-left:0}
html body.console-world .signal-track a{
  min-height:180px;
  padding:24px 20px;
  grid-template-columns:1fr;
  grid-template-rows:auto auto auto auto;
  align-content:start;
  gap:10px;
}
html body.console-world .signal-track span{grid-row:auto;padding:0}
html body.console-world .signal-track a::before{top:-1px;right:0;bottom:auto;left:0;width:auto;height:4px;transform:scaleX(0)}
html body.console-world .signal-track a:hover::before{transform:scaleX(1)}

html body.console-world .control-map{
  display:grid;
  padding:22px 26px;
  gap:15px;
  border-bottom:1px solid var(--portrait-line-light);
}
html body.console-world .control-row{
  display:grid;
  grid-template-columns:92px minmax(100px,1fr) 108px;
  align-items:center;
  gap:15px;
  color:#c8bcb0;
  font:650 10px/1 var(--portrait-body);
}
html body.console-world .control-row>span{text-transform:uppercase;letter-spacing:.09em}
html body.console-world .control-row>i{position:relative;display:block;height:1px;background:#7f8c84}
html body.console-world .control-row>i b{
  position:absolute;
  top:50%;
  left:50%;
  width:9px;
  height:9px;
  border:2px solid #fff8f0;
  border-radius:50%;
  background:var(--portrait-forest);
  transform:translate(-50%,-50%);
}
html body.console-world .control-row>i b+ b{background:#fff8f0}
html body.console-world .control-row.is-changed>i b:first-child{left:62%}
html body.console-world .control-row.is-changed>i b+ b{left:42%;border-color:var(--portrait-burgundy);background:var(--portrait-burgundy)}
html body.console-world .control-row>strong{color:#fff8f0;font:700 10px/1.2 var(--portrait-body);text-align:right}
html body.console-world .actual-next-move .move-result{min-height:0}

html body.console-world .tool-deck-list,
html body.console-world .grind-instrument,
html body.console-world .signal-bench-head,
html body.console-world .tool-deck>header,
html body.console-world .home-news-head,
html body.console-world .home-news-grid,
html body.console-world .signal-bench>footer{max-width:none}

/* Recipe imagery starts as a clear, full media image. Playback is a deliberate
   second action, so opening a recipe never begins with a boxed embed. */
.recipe-detail-overview{grid-template-columns:minmax(420px,1.15fr) minmax(320px,.85fr)}
.recipe-detail-media{position:relative;min-height:420px;overflow:hidden;background:#211711}
.recipe-detail-media img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;background:#211711}
.recipe-video-launch{
  position:absolute;
  right:24px;
  bottom:24px;
  display:inline-flex;
  min-height:48px;
  padding:0 18px;
  align-items:center;
  gap:10px;
  border:1px solid rgba(255,248,241,.72);
  border-radius:3px;
  background:rgba(35,23,16,.88);
  color:#fff8f1;
  font:720 13px/1 Inter,Arial,sans-serif;
  cursor:pointer;
}
.recipe-video-launch:hover{background:#791323}
.recipe-tile-media img{object-fit:cover!important}

@media(max-width:1080px){
  html body .site-head.navigation-canonical,
  html body.console-world .site-head.navigation-canonical{grid-template-columns:minmax(210px,1fr) auto;gap:16px}
  html body .site-head>nav,html body.console-world .site-head>nav{gap:10px!important}
  html body .site-head>nav>a,html body.console-world .site-head>nav>a{font-size:13px}
  html body .site-head>nav>.knowledge-menu>summary,html body.console-world .site-head>nav>.knowledge-menu>summary{min-width:92px;padding-inline:12px}
  html body.console-world .brew-object-chemex{left:-5%;width:66%}
  html body.console-world .brew-object-espresso{right:-18%;width:88%}
  html body.console-world .signal-workbench{grid-template-columns:minmax(260px,.7fr) minmax(420px,1.3fr)}
  html body.console-world .signal-track{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body.console-world .signal-track li:nth-child(3){border-left:0;border-top:1px solid var(--portrait-line)}
  html body.console-world .signal-track li:nth-child(4){border-top:1px solid var(--portrait-line)}
}

@media(max-width:860px){
  body{padding-bottom:0}
  .mobile-profile-link{
    display:grid;
    min-height:76px;
    margin:0 0 12px;
    padding:14px 16px;
    align-content:center;
    gap:4px;
    border:1px solid #791323;
    border-radius:14px;
    background:#791323;
    color:#fff8f1;
    text-decoration:none;
  }
  .mobile-profile-link span{color:#e7bd7e;font:780 8px/1 Inter,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
  .mobile-profile-link strong{color:#fff8f1;font:750 15px/1.15 Inter,Arial,sans-serif}
  .mobile-profile-link small{color:rgba(255,248,241,.78);font:550 10px/1.35 Inter,Arial,sans-serif}
  html body .site-head.navigation-canonical,
  html body.console-world .site-head.navigation-canonical{
    position:relative;
    width:min(var(--baristuno-frame),calc(100% - 32px));
    min-height:118px;
    margin:0 auto 16px;
    padding:8px 12px 0;
    grid-template-columns:1fr;
    grid-template-rows:58px 52px;
    gap:0;
    background:#fbf6f0;
  }
  html body .site-head .site-brand-link,
  html body.console-world .site-head .site-brand-link{grid-row:1;min-height:54px;gap:8px}
  html body .site-head .brand-monogram,
  html body.console-world .site-head .brand-monogram{width:34px;height:43px;flex-basis:34px}
  html body .site-head .approved-brand-wordmark{font-size:19px}
  html body .site-head .approved-brand-source{font-size:7px}
  html body .site-head>nav,
  html body.console-world .site-head>nav{
    position:static!important;
    display:grid!important;
    width:100%!important;
    min-height:52px!important;
    grid-row:2!important;
    grid-template-rows:52px!important;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:2px!important;
    border-top:1px solid rgba(58,33,24,.18)!important;
  }
  html body .site-head>nav>a,
  html body.console-world .site-head>nav>a,
  html body .site-head>nav>.mobile-more-trigger,
  html body.console-world .site-head>nav>.mobile-more-trigger{
    position:relative!important;
    display:flex!important;
    width:auto!important;
    min-width:0!important;
    min-height:50px!important;
    margin:0!important;
    padding:0 2px!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:0!important;
    background:#fbf6f0!important;
    color:#3b2419!important;
    font:690 10px/1 Inter,Arial,sans-serif!important;
    box-shadow:none!important;
    pointer-events:auto;
  }
  html body .site-head>nav>a::after,
  html body.console-world .site-head>nav>a::after{bottom:0}
  html body .site-head>nav>.knowledge-menu,
  html body.console-world .site-head>nav>.knowledge-menu{display:none!important}
  html body .site-head>nav>.mobile-more-trigger .mobile-more-icon,
  html body.console-world .site-head>nav>.mobile-more-trigger .mobile-more-icon{display:none!important}
  html body .site-head>nav>.mobile-more-trigger{grid-column:6!important;grid-row:1!important}
  html body .site-head>nav>a.nav-home{grid-column:1!important;grid-row:1!important}
  html body .site-head>nav>a[data-primary="recipes"]{grid-column:2!important;grid-row:1!important}
  html body .site-head>nav>a[data-primary="journal"]{grid-column:3!important;grid-row:1!important}
  html body .site-head>nav>a.nav-guides{grid-column:4!important;grid-row:1!important}
  html body .site-head>nav>a.nav-shop{grid-column:5!important;grid-row:1!important}
  html body .primary-nav-icon{display:none!important}
  html body.console-world #appMain>.tab,
  html body:not(.console-world) main,
  html body:not(.console-world)>.wrap>main,
  html body.console-world #tab-home,
  html body.console-world #tab-recipes,
  html body.console-world #tab-log,
  html body.console-world #tab-profile,
  html body.console-world #tab-shop,
  html body.console-world #tab-lab,
  html body.console-world #tab-mission{width:calc(100% - 32px);margin-right:auto;margin-left:auto}
  html body.console-world .console-hero{grid-template-rows:auto 286px auto}
  html body.console-world .brew-object-chemex{left:-2%;bottom:-9%;width:min(61%,340px)}
  html body.console-world .brew-object-espresso{right:-20%;bottom:-3%;width:min(79%,440px)}
  html body.console-world .signal-bench-head,
  html body.console-world .tool-deck>header{grid-template-columns:1fr;gap:16px}
  html body.console-world .next-move{grid-template-columns:1fr}
  html body.console-world .signal-workbench{grid-template-columns:1fr}
  html body.console-world .signal-photo{min-height:310px}
  html body.console-world .actual-app-preview{min-height:0;border-top:1px solid var(--portrait-line);border-left:0}
  .recipe-detail-overview{grid-template-columns:1fr}
  .recipe-detail-media{min-height:0;aspect-ratio:16/10}
}

@media(max-width:600px){
  :root{--baristuno-gutter:16px;--baristuno-section-space:40px}
  html body .site-head.navigation-canonical,
  html body.console-world .site-head.navigation-canonical{width:calc(100% - 24px)}
  html body .site-head>nav>a,
  html body.console-world .site-head>nav>a,
  html body .site-head>nav>.mobile-more-trigger,
  html body.console-world .site-head>nav>.mobile-more-trigger{font-size:9px!important;letter-spacing:-.01em}
  html body.console-world #appMain>.tab,
  html body:not(.console-world) main,
  html body:not(.console-world)>.wrap>main,
  html body.console-world #tab-home,
  html body.console-world #tab-recipes,
  html body.console-world #tab-log,
  html body.console-world #tab-profile,
  html body.console-world #tab-shop,
  html body.console-world #tab-lab,
  html body.console-world #tab-mission{width:calc(100% - 24px)}
  html body.console-world .console-hero{grid-template-rows:auto 270px auto}
  html body.console-world .console-hero-copy{padding:28px 18px 12px}
  html body.console-world .brew-object-chemex{left:-3%;bottom:-11%;width:62%}
  html body.console-world .brew-object-espresso{right:-22%;bottom:-4%;width:82%}
  html body.console-world #tab-home .next-move h2,
  html body.fold-world.console-world #tab-home .next-move h2{font-size:48px!important}
  html body.console-world .console-dials{margin:0 14px 14px}
  html body.console-world .signal-photo{min-height:260px}
  html body.console-world .signal-photo figcaption{right:12px;bottom:12px;left:12px;padding:10px 12px;font-size:10px}
  html body.console-world .actual-app-preview{padding:22px 18px}
  html body.console-world .actual-app-preview .signal-proof-flow{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:16px}
  html body.console-world .actual-app-preview .signal-proof-flow>div{padding:12px 8px;border-top:0;border-left:1px solid var(--portrait-line-light)}
  html body.console-world .actual-app-preview .signal-proof-flow>div:first-child{padding-left:0;border-left:0}
  html body.console-world .actual-app-preview .signal-proof-flow strong{font-size:14px;line-height:1.2}
  html body.console-world .actual-app-preview .signal-proof-output{padding-top:20px}
  html body.console-world .actual-app-preview .signal-proof-output strong{font-size:31px}
  html body.console-world .signal-track{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body.console-world .signal-track li,
  html body.console-world .signal-track li:nth-child(3),
  html body.console-world .signal-track li:nth-child(4){border-top:1px solid var(--portrait-line);border-left:1px solid var(--portrait-line)}
  html body.console-world .signal-track li:nth-child(odd){border-left:0}
  html body.console-world .signal-track li:nth-child(-n+2){border-top:0}
  html body.console-world .signal-track a{min-height:154px;padding:15px 13px;gap:5px}
  html body.console-world .signal-track strong{font-size:17px}
  html body.console-world .signal-track p{font-size:13px;line-height:1.42}
  html body.console-world .signal-track p{margin:0}
  html body.console-world .control-map{padding:18px 17px;gap:14px}
  html body.console-world .control-row{grid-template-columns:72px minmax(70px,1fr);gap:10px}
  html body.console-world .control-row>span{font-size:8px;letter-spacing:.04em}
  html body.console-world .control-row>strong{grid-column:2;text-align:left}
  html body.console-world .move-result strong{font-size:30px}
  html body.console-world .move-comparison strong{font-size:30px}
  html body.console-world .grind-instrument{margin-top:24px}
  html body.console-world .grind-capture{min-height:180px}
  html body.console-world .grind-instrument>div{padding:20px 18px}
  html body.console-world .grind-readout strong{margin:18px 0 14px;font-size:56px}
  html body.console-world .signal-bench,
  html body.console-world .tool-deck,
  html body.console-world .home-news{padding:40px 18px}
  html body.console-world .next-move{padding:44px 18px;gap:28px}
  html body.console-world .console-pro{padding:44px 18px}
  html body.console-world .console-close{padding:48px 18px}
  .recipe-video-launch{right:14px;bottom:14px;min-height:44px;padding-inline:14px}
}

@media(prefers-reduced-motion:reduce){
  html body .site-head>nav>a::after,
  html body.console-world .site-head>nav>a::after{transition:none}
}

/* Two-depth client interface -------------------------------------------------
   Coffee Lover and Coffee Enthusiast are presentation preferences. The same
   routes remain in the DOM and in both menu structures; only foregrounding and
   explanatory density change. */
html:not([data-coffee-mode="enthusiast"]) [data-interface-menu="enthusiast"],
html:not([data-coffee-mode="enthusiast"]) [data-interface-workbench="enthusiast"],
html[data-coffee-mode="enthusiast"] [data-interface-menu="lover"],
html[data-coffee-mode="enthusiast"] [data-interface-workbench="lover"]{display:none!important}

.interface-mode-switch{min-width:0;margin:0;padding:0;border:0}
.interface-mode-switch legend{float:left;width:100%;margin:0 0 8px;color:#61564f;font:700 10px/1.2 Inter,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.interface-mode-switch>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;clear:both}
.interface-mode-switch button,.site-head .interface-mode-switch button{position:relative;display:grid;min-width:0;min-height:56px;padding:10px 12px;align-content:center;gap:3px;border:1px solid rgba(58,33,24,.22);border-radius:4px;background:#fffdf9;color:#3b3029;font-family:Inter,Arial,sans-serif;text-align:left;cursor:pointer}
.interface-mode-switch button b{font:700 13px/1.4 Inter,Arial,sans-serif}
.interface-mode-switch button small{color:#6b625b;font:500 12px/1.4 Inter,Arial,sans-serif;letter-spacing:0}
.interface-mode-switch button:hover{border-color:#791323;background:#f8eee7}
.interface-mode-switch button:focus-visible{outline:3px solid #d83a2e;outline-offset:2px}
.interface-mode-switch button.is-selected,
.interface-mode-switch button[aria-checked="true"]{border-color:#791323;background:#791323;color:#fffaf5}
.interface-mode-switch button.is-selected small,
.interface-mode-switch button[aria-checked="true"] small{color:rgba(255,250,245,.78)}
.site-head.navigation-canonical .interface-mode-switch button[aria-checked="true"] small{color:#fff8f1!important}
.interface-mode-switch>p{margin:7px 0 0;color:#6b625b;font:550 10px/1.35 Inter,Arial,sans-serif}

html body .site-head.navigation-canonical .interface-mode-switch-menu,
html body.console-world .site-head.navigation-canonical .interface-mode-switch-menu{display:block!important;margin:0 0 14px!important;padding:0 0 14px!important;border-bottom:1px solid rgba(58,33,24,.18)!important}
html body .site-head.navigation-canonical .interface-mode-switch-menu legend,
html body.console-world .site-head.navigation-canonical .interface-mode-switch-menu legend{float:none;width:auto;margin:0 0 10px;color:#791323}
html body .site-head.navigation-canonical .interface-mode-switch-menu>div,
html body.console-world .site-head.navigation-canonical .interface-mode-switch-menu>div{clear:none;max-width:490px}
html body .site-head.navigation-canonical .interface-mode-switch-menu>p,
html body.console-world .site-head.navigation-canonical .interface-mode-switch-menu>p{margin:10px 0 0;text-align:left}
html body .site-head.navigation-canonical .app-menu-mode,
html body.console-world .site-head.navigation-canonical .app-menu-mode{display:block}
html body .site-head.navigation-canonical .app-menu-grid-lover,
html body.console-world .site-head.navigation-canonical .app-menu-grid-lover{grid-template-columns:.9fr 1.15fr .8fr 1.25fr!important}
html body .site-head.navigation-canonical .app-menu-advanced,
html body.console-world .site-head.navigation-canonical .app-menu-advanced{background:#f7efe7!important}

.interface-preference-card{border:1px solid rgba(58,33,24,.22)!important;border-radius:4px!important;background:#fffdf9!important;box-shadow:none!important}
.interface-preference-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid rgba(58,33,24,.16)}
.interface-preference-card>header h3{margin:0 0 6px;color:#211914;font:700 clamp(22px,2.1vw,32px)/1.08 var(--display,Georgia,serif);letter-spacing:-.025em}
.interface-preference-card>header p{max-width:68ch;margin:0;color:#5c554e}
.interface-current-mode{flex:0 0 auto;padding:8px 10px;border:1px solid rgba(121,19,35,.28);border-radius:3px;color:#665b54;font:600 11px/1.2 Inter,Arial,sans-serif;white-space:nowrap}
.interface-current-mode b{color:#791323}
.interface-mode-switch-profile>div{gap:0;border:1px solid rgba(58,33,24,.2);border-radius:4px;overflow:hidden}
.interface-mode-switch-profile button{min-height:118px;padding:18px;border:0;border-radius:0}
.interface-mode-switch-profile button+button{border-left:1px solid rgba(58,33,24,.2)}
.interface-mode-switch-profile button b{font-size:18px}
.interface-mode-switch-profile button small{font-size:13px;line-height:1.45}
.interface-mode-switch-profile button span{margin-top:8px;color:#6b625b;font:550 11px/1.4 Inter,Arial,sans-serif}
.interface-mode-switch-profile button.is-selected span,
.interface-mode-switch-profile button[aria-checked="true"] span{color:rgba(255,250,245,.76)}
.interface-mode-status{margin:12px 0 0;color:#62574f;font:550 12px/1.4 Inter,Arial,sans-serif}

.interface-workbench{margin:18px 0;border:1px solid rgba(58,33,24,.22);border-radius:4px;background:#fffdf9;color:#241a15;overflow:hidden}
.interface-workbench-head{display:flex;min-height:64px;padding:12px 18px;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid rgba(58,33,24,.18);background:#f7efe7}
.interface-workbench-head>div{display:flex;align-items:baseline;gap:12px}
.interface-workbench-head span{color:#791323;font:750 10px/1 Inter,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.interface-workbench-head h2{margin:0;color:#231914;font:720 17px/1.2 Inter,Arial,sans-serif;letter-spacing:-.015em}
.interface-workbench-head button{min-height:40px;padding:8px 12px;border:1px solid rgba(58,33,24,.22);border-radius:3px;background:#fffdf9;color:#4a3930;font:650 11px/1 Inter,Arial,sans-serif;cursor:pointer}
.interface-workbench-head button:hover{border-color:#791323;color:#791323}
.interface-workbench-head button:focus-visible{outline:3px solid #d83a2e;outline-offset:2px}
.interface-workbench-mode{padding:22px 24px 20px}
.interface-workbench-copy{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(340px,1.2fr);gap:30px;align-items:start;margin-bottom:20px}
.interface-workbench-copy h3{max-width:18ch;margin:0;color:#191b19;font:700 clamp(24px,2.6vw,38px)/1.04 var(--display,Georgia,serif);letter-spacing:-.03em;text-wrap:balance}
.interface-workbench-copy p{max-width:66ch;margin:2px 0 0;color:#5b554f;font-size:14px;line-height:1.55}
.interface-workbench-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid rgba(58,33,24,.2);border-radius:4px;overflow:hidden}
.interface-workbench-actions a{display:grid;min-height:78px;padding:14px 16px;align-content:center;gap:5px;background:#fffdf9;color:#30241e;text-decoration:none}
.interface-workbench-actions a+a{border-left:1px solid rgba(58,33,24,.18)}
.interface-workbench-actions a:hover{background:#f6ede5;color:#791323}
.interface-workbench-actions a:focus-visible{position:relative;z-index:1;outline:3px solid #d83a2e;outline-offset:-3px}
.interface-workbench-actions a.primary{background:#191b19;color:#fffaf5}
.interface-workbench-actions a.primary:hover{background:#2b302c}
.interface-workbench-actions b{font:700 13px/1.2 Inter,Arial,sans-serif}
.interface-workbench-actions span{color:#6a615a;font:550 11px/1.4 Inter,Arial,sans-serif}
.interface-workbench-actions a.primary span{color:rgba(255,250,245,.7)}
.interface-access-note{margin:13px 0 0;color:#625950;font:550 11px/1.45 Inter,Arial,sans-serif}
.interface-access-note strong{color:#34271f}
.interface-workbench-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 18px;border-top:1px solid rgba(58,33,24,.18);border-bottom:1px solid rgba(58,33,24,.18)}
.interface-workbench-metrics div{display:flex;min-height:62px;padding:10px 14px;align-items:baseline;gap:7px}
.interface-workbench-metrics div+div{border-left:1px solid rgba(58,33,24,.18)}
.interface-workbench-metrics dt{color:#191b19;font:720 24px/1 Inter,Arial,sans-serif;font-variant-numeric:tabular-nums}
.interface-workbench-metrics dd{color:#6b625b;font:600 10px/1.25 Inter,Arial,sans-serif;text-transform:uppercase;letter-spacing:.05em}

html[data-coffee-mode="lover"] #tab-log[data-mobile-section="today"]>.seg,
html[data-coffee-mode="lover"] #tab-log[data-mobile-section="brew"]>.seg{display:none}
html[data-coffee-mode="lover"] .journal-mobile-nav button[data-journal-section="insights"]{background:#f7efe7}
html[data-coffee-mode="enthusiast"] .journal-mobile-nav{border-color:rgba(25,27,25,.38)}
html[data-coffee-mode="enthusiast"] .journal-mobile-nav button.on{background:#191b19;color:#fffaf5}

.interface-mode-switch-mobile{margin:0 0 18px;padding:14px;border:1px solid rgba(58,33,24,.2);border-radius:4px;background:#f7efe7}
.mobile-menu-mode{display:block}

@media (max-width:860px){
  .interface-workbench{margin:14px 0}
  .interface-workbench-head{align-items:flex-start}
  .interface-workbench-head>div{display:grid;gap:4px}
  .interface-workbench-mode{padding:18px}
  .interface-workbench-copy{grid-template-columns:1fr;gap:9px;margin-bottom:16px}
  .interface-workbench-copy h3{max-width:20ch;font-size:28px}
  .interface-workbench-actions{grid-template-columns:1fr}
  .interface-workbench-actions a{min-height:66px}
  .interface-workbench-actions a+a{border-top:1px solid rgba(58,33,24,.18);border-left:0}
  .interface-workbench-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .interface-workbench-metrics div:nth-child(3){border-left:0}
  .interface-workbench-metrics div:nth-child(n+3){border-top:1px solid rgba(58,33,24,.18)}
  .interface-preference-card>header{display:grid;gap:12px}
  .interface-current-mode{justify-self:start}
  .interface-mode-switch-profile>div{grid-template-columns:1fr}
  .interface-mode-switch-profile button+button{border-top:1px solid rgba(58,33,24,.2);border-left:0}
  .interface-mode-switch-profile button{min-height:104px}
}

@media (max-width:520px){
  .interface-workbench-head{padding:12px}
  .interface-workbench-head button{max-width:118px;line-height:1.25}
  .interface-workbench-mode{padding:16px 12px}
  .interface-workbench-copy h3{font-size:25px}
  .interface-mode-switch>div{grid-template-columns:1fr}
  .interface-mode-switch-mobile>div{grid-template-columns:repeat(2,minmax(0,1fr))}
  .interface-mode-switch-mobile button{padding:9px}
}

.mobile-more-menu[hidden]{display:none!important}

/* Keep the mobile dialog above the shared sticky header on every route. */
html body .mobile-more-menu{z-index:1500!important}

/* Account actions share the same location in either menu density. */
.app-menu-account{min-width:0}
html body .menu-account-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
html body .menu-account-actions>a,
html body .site-head.navigation-canonical .menu-account-actions>a{display:inline-flex!important;align-items:center!important;min-height:44px!important;padding:6px 0!important;color:#62574f!important;background:transparent!important;border:0!important;border-radius:0!important;font:650 12px/1.4 Inter,Arial,sans-serif!important;text-decoration:underline!important;text-underline-offset:4px;white-space:normal!important}
html body .menu-account-actions>[data-menu-auth]{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex-shrink:0;min-height:44px;padding:10px 14px;border:1px solid #c6aca6;border-radius:6px;background:#fffdf9;color:#791323;font:700 13px/1.35 Inter,Arial,sans-serif;cursor:pointer}
html body .menu-account-actions>[data-menu-auth]:hover:not(:disabled){background:#f4e8e4;border-color:#791323}
html body .menu-account-actions>[data-menu-auth]:disabled{opacity:.6;cursor:wait}
html body .menu-account-actions>[data-menu-auth]:focus-visible{outline:3px solid #791323;outline-offset:3px}
.menu-account-actions [data-menu-auth] span{color:inherit;font:inherit}
.menu-account-actions svg{width:18px;height:18px;flex-shrink:0}
html body .menu-account-status{margin:8px 0 0;color:#791323;font:600 12px/1.5 Inter,Arial,sans-serif}
.menu-account-status:empty{display:none}
@media(max-width:860px){
  html body .mobile-more-sheet>.menu-account-actions{margin:0 0 18px;padding-bottom:16px;border-bottom:1px solid #d8c9bf}
  html body .mobile-more-sheet>.menu-account-status:not(:empty){margin:-8px 0 18px}
}
