/* OnlyKazoo / Nothing — layout only. Colors, fonts and shadows come from the site. */

.page-main > .hero {
  padding-left: 0;
  padding-right: 0;
}

.ok-feature {
  width: min(100%, 40rem);
  margin: 0 auto 1.6rem;
  background: #fff;
  border-radius: 16px;
  padding: 0.9rem;
  box-shadow: 0 12px 28px rgba(20, 16, 10, .08);
}

/* Same square studio frame as the grid cards — no 16:9 letterbox bands. */
.ok-feature .product-media {
  aspect-ratio: 1 / 1;
  width: 100%;
  margin: 0;
  border-radius: 12px;
  background: var(--cream, #f8f4ec);
  position: relative;
}

.ok-feature .product-media picture,
.ok-feature .product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ok-feature .product-media img {
  object-fit: contain;
  background: #f8f4ec;
}

.ok-feature figcaption,
.ok-close {
  margin: 0.85rem 0.15rem 0.15rem;
  font-size: 0.82rem;
  color: var(--muted, #6b6560);
  line-height: 1.5;
}

.ok-close {
  margin: 2rem 0 0;
  max-width: 40rem;
}

.ok-close a { text-underline-offset: 2px; }

/* Nothing: almost empty, ink-dark, one line, a discreet way home. */
body.page-nothing {
  background: var(--ink, #141414);
  color: var(--muted, #6b6560);
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body.page-nothing main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
}

body.page-nothing .ok-nothing-line {
  margin: 0;
  font-family: "Poppins", "DM Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--muted, #6b6560);
  text-align: center;
}

body.page-nothing .ok-nothing-back {
  margin: 0;
  padding: 1.2rem 1.4rem 2.4rem;
  text-align: center;
  font-size: 0.82rem;
}

body.page-nothing .ok-nothing-back a {
  color: var(--muted, #6b6560);
  text-decoration: none;
}

body.page-nothing .ok-nothing-back a:hover,
body.page-nothing .ok-nothing-back a:focus-visible {
  color: var(--cream, #f8f4ec);
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Final title state for visitors: no home reveal fade, typewriter or flicker. */
.page-main > .hero.reveal {
  opacity: 1;
  transform: none;
}
body.era-home.is-ready .page-main > .hero h1 em,
.page-main > .hero h1 em {
  animation: none;
  display: inline;
  overflow: visible;
  max-width: none;
  white-space: normal;
  border-right: 0;
  vertical-align: baseline;
}

@media (max-width: 720px) {
  .ok-feature .product-media { width: 100%; }
  .hero h1 { padding: 0 0.5rem; }
}
