/* Compact public header; training stays in the protected bakery workspace. */
.glutonimo .site-header {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: auto;
  align-items: center;
  column-gap: 1rem;
  row-gap: .25rem;
  padding-top: .25rem;
  padding-bottom: .25rem;
}
.glutonimo .site-header .brand { grid-column: 1; grid-row: 1; align-self: start; }
.glutonimo .site-header .brand img { width: 96px; height: 96px; }
.glutonimo .site-header nav {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem;
}
.glutonimo .site-header nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  padding: .625rem .875rem;
  border: 1px solid var(--navy);
  border-radius: 5px;
  background: rgba(255, 253, 247, .85);
  color: var(--navy);
  font-size: .875rem;
  line-height: 1.35;
  text-decoration: none;
  text-align: center;
}
.glutonimo .site-header nav a:hover { background: #e9eee5; }
.glutonimo .site-header nav .nav-home { background: var(--navy); color: var(--paper); }
.glutonimo .site-header nav .nav-home:hover { background: var(--leaf); border-color: var(--leaf); }
.glutonimo .nav-home svg { flex: none; }
.glutonimo .site-header .header-cta span { margin: 0; }
.glutonimo .header-demo {
  grid-column: 3;
  grid-row: 1;
  min-height: 44px;
  padding: .625rem .875rem;
  font-size: .875rem;
  line-height: 1.35;
}
.glutonimo .header-status {
  grid-column: 2 / 4;
  grid-row: 2;
  align-self: start;
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.4;
  text-align: right;
}

.glutonimo .hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin: 0 0 .875rem;
  padding: 0;
}
.glutonimo .hero-badges li {
  display: flex;
  align-items: center;
  min-height: 32px;
  max-width: 100%;
  padding: .4375rem .625rem;
  border: 1px solid #b79b65;
  border-radius: 5px;
  background: rgba(19, 44, 32, .8);
  color: #f4e5c4;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Reserve room for the header and ribbon on regular laptop screens. The
   minimum is not a hard crop: enlarged text can still grow the section. */
@media (min-width: 861px) {
  .glutonimo .hero-stage { min-height: clamp(30rem, calc(100svh - 12rem), 43rem); }
  .glutonimo .hero-scene { position: absolute; inset: 0; }
  .glutonimo .hero-scene img { width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: center bottom; }
  .glutonimo .hero-copy { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .glutonimo .hero h1 { font-size: clamp(2.375rem, 4.2vw, 4rem); margin-top: .75rem; }
  .glutonimo .hero-introduction { margin-top: 1.125rem; }
  .glutonimo .hero .welcome-line { margin-bottom: .5rem; }
  .glutonimo .hero .button { min-height: 48px; margin-top: 1rem; padding: .75rem 1rem; }
  .glutonimo .hero .replay { display: inline-flex; align-items: center; min-height: 44px; margin-left: .75rem; padding: .5rem 0; }
  .glutonimo .hero .replay[hidden] { display: none; }
}
