/* Unified chrome — apron browns, simple & fast */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --apron: #c9b7a4;
  --apron-deep: #b39d87;
  --apron-light: #e4d7c8;
  --piping: #fffdf8;
  --ink: #3d2818;
  --ink-soft: #6b5340;
  --brown: #5a3d28;
  --brown-deep: #3d2818;
  --shadow: rgba(61, 40, 24, 0.14);
  --font-display: "Montserrat", sans-serif;
  --font-body: "Montserrat", sans-serif;
  --navy: var(--brown-deep);
  --blue: var(--brown);
  --blue-deep: var(--brown-deep);
  --yellow: var(--brown);
  --yellow-deep: var(--brown-deep);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.apron-body,
body.hf-page,
body.ask-page,
body.rx-page,
body.catalog-page {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  background: var(--apron);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brown-deep); }
a:hover { color: var(--brown); }

.apron-top,
.hf-topbar,
.rx-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--apron-deep);
  border-bottom: 3px solid var(--brown);
}

.apron-brand,
.hf-topbar-brand,
.rx-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--brown-deep);
  font-family: var(--font-display);
  font-weight: 900;
  min-width: 0;
}

.apron-brand img,
.hf-topbar-brand img,
.rx-brand img {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 3px solid var(--brown);
  object-fit: contain;
  padding: 5px;
  background: var(--piping);
}

.apron-brand span,
.apron-brand strong,
.hf-topbar-brand span {
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.05;
  color: var(--brown-deep);
}

.rx-brand .rx-kicker {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brown);
  font-weight: 800;
}

.rx-brand-logo {
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
}

.rx-brand h1 {
  margin: 0.05rem 0 0;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  line-height: 1;
  font-weight: 900;
  color: var(--brown-deep);
}

.rx-brand h1 a {
  color: inherit;
  text-decoration: none;
}

.rx-brand h1 a:hover,
.rx-brand-logo:hover img {
  opacity: 0.88;
}

.apron-nav,
.hf-nav,
.rx-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.9rem;
  margin-left: auto;
}

.apron-nav a,
.hf-nav a,
.rx-nav a,
.rx-note a {
  color: var(--brown-deep);
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
}

.apron-nav a:hover,
.hf-nav a:hover,
.rx-nav a:hover { color: var(--brown); }

.rx-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 800;
}

.apron-prose {
  width: min(720px, calc(100% - 2rem));
  margin: 1.25rem auto 2.5rem;
  padding: 1.35rem clamp(1rem, 3vw, 1.75rem);
  background: var(--piping);
  border-radius: 20px;
  border: 3px solid var(--brown);
}

.apron-prose h1,
.apron-prose h2 {
  font-family: var(--font-display);
  color: var(--brown-deep);
  font-weight: 900;
  line-height: 1.15;
}

.apron-prose h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
}

.apron-prose h2 {
  margin: 1.4rem 0 0.5rem;
  font-size: 1.2rem;
}

.apron-prose p,
.apron-prose li {
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 1.02rem;
}

.apron-prose a { color: var(--brown-deep); font-weight: 800; }

/* Brown CTA / YouTube — no yellow */
.apron-btn,
.rx-yt-btn,
.yt-btn,
.yt-subscribe,
a.yt-btn,
a.yt-subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 3px solid var(--brown-deep);
  background: var(--brown);
  color: var(--piping) !important;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  text-decoration: none;
}

.apron-btn:hover,
.rx-yt-btn:hover,
.yt-btn:hover,
.yt-subscribe:hover,
a.yt-btn:hover,
a.yt-subscribe:hover {
  background: var(--brown-deep);
  color: var(--piping) !important;
}

@media (max-width: 640px) {
  .apron-brand img,
  .hf-topbar-brand img,
  .rx-brand img {
    width: 50px;
    height: 50px;
  }
}

/* Keyword play layer — light, GPU-friendly */
.kw-play {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.kw-play__tag {
  position: absolute;
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 2px solid var(--brown);
  background: rgba(255, 253, 248, 0.72);
  color: var(--brown-deep);
  font-family: var(--font-display);
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  will-change: transform, opacity;
  animation: kwFloat linear infinite;
}

@keyframes kwFloat {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.92);
  }
  12% { opacity: 0.9; }
  50% {
    opacity: 0.85;
    transform: translate3d(12px, -28px, 0) scale(1);
  }
  88% { opacity: 0.75; }
  100% {
    opacity: 0;
    transform: translate3d(-8px, -56px, 0) scale(0.96);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kw-play { display: none; }
}


.apron-nav a.is-active,
.hf-nav a.is-active,
.rx-nav a.is-active {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  font-weight: 900;
}

.hf-footer.rx-site-footer,
.hf-footer.apron-site-footer {
  margin-top: 2rem;
  padding: 1.25rem clamp(1rem, 3vw, 2rem) 2rem;
  text-align: center;
  font-size: 0.9rem;
}
