
/* ============================================================ */
/* TEDDY'S KITCHEN — EARTHY VITALITY DESIGN SYSTEM                  */
/* Shared CSS for all pages                                         */
/* ============================================================ */

:root {
    --white: #FFFFFF;
    --cream: #FFF7EA;
    --vanilla: #FFEDC1;
    --sunray: #FEB229;
    --sunray-deep: #E89E1F;
    --maroon: #470102;
    --maroon-soft: #6B0204;
    --rose: #FE9ABE;
    --rose-deep: #F87FAE;
    --ink-faint: rgba(71,1,2,0.55);
    --ink-fainter: rgba(71,1,2,0.30);

    /* Legacy aliases — keep so existing styling falls back gracefully */
    --off-white: #FFF7EA;
    --clay-light: #FFEDC1;
    --clay: #FFEDC1;
    --clay-deep: #FEB229;
    --eucalyptus: #470102;
    --eucalyptus-deep: #1F3429;
    --eucalyptus-mid: #470102;
    --gold: #FEB229;
    --gold-deep: #E89E1F;
    --budgie: #470102;
    --budgie-deep: #6B0204;
    --mist: #FE9ABE;
    --mist-deep: #F87FAE;
    --peach: #FE9ABE;
    --peach-deep: #F87FAE;
    --ink: #2A2520;
    --sunrise: #FFEDC1;
    --sunrise-soft: #FFEDC1;

    --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px;
    --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px;
    --r-sm: 6px; --r: 12px; --r-lg: 20px; --r-xl: 32px;
    --sh-sm: 0 2px 6px rgba(42,37,32,0.05);
    --sh: 0 8px 20px rgba(42,37,32,0.08);
    --sh-lg: 0 20px 40px rgba(42,37,32,0.12);
    --sh-card-lg: 0 20px 40px rgba(42,37,32,0.12);
  }

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--eucalyptus);
  background: var(--off-white);
  /* `overflow-x: clip` (not `hidden`) so we don't make body a new scroll
     container, which would break `position: sticky` on the nav. */
  overflow-x: clip;
  max-width: 100vw;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--s-4); }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 var(--s-4); }
.wrap-tight { max-width: 720px; margin: 0 auto; padding: 0 var(--s-4); }
@media (max-width: 720px) { .wrap, .wrap-narrow, .wrap-tight { padding: 0 var(--s-3); } }

/* ============================================================ */
/* TYPOGRAPHY                                                      */
/* ============================================================ */
.caption {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--eucalyptus);
  display: inline-block;
}
.caption.gold { color: var(--gold-deep); }
.caption.blue { color: var(--budgie); }
.caption.peach { color: var(--peach-deep); }
.caption.mist { color: var(--mist-deep); }
.caption-line {
  display: inline-flex; align-items: center; gap: 10px;
}
.caption-line::before {
  content: ''; width: 32px; height: 1.5px; background: currentColor;
}

h1, h2, h3 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 700;
  color: var(--eucalyptus);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(40px, 6vw, 56px); line-height: 1.1; }
h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.2; }
h3 { font-size: clamp(22px, 2.5vw, 28px); line-height: 1.25; }
h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--eucalyptus);
  line-height: 1.3;
}

p { font-family: 'Inter', sans-serif; }

.lead {
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.55;
  color: var(--eucalyptus);
  opacity: 0.85;
}

/* ============================================================ */
/* BUTTONS                                                         */
/* ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.005em;
  text-decoration: none;
}
.btn-primary {
  background: var(--budgie);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--budgie-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(91,154,163,0.25);
  color: var(--white);
}
.btn-primary .arr { transition: transform 0.2s; display: inline-block; }
.btn-primary:hover .arr { transform: translateX(3px); }

.btn-secondary {
  background: transparent;
  border-color: var(--gold);
  color: var(--eucalyptus);
}
.btn-secondary:hover {
  background: rgba(227,184,115,0.12);
  border-color: var(--gold-deep);
}

.btn-peach {
  background: var(--peach);
  color: var(--white);
}
.btn-peach:hover { background: var(--peach-deep); }

.btn-dark {
  background: var(--eucalyptus);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--eucalyptus-deep);
  transform: translateY(-1px);
}

.btn-lg { padding: 16px 32px; font-size: 17px; }

/* ============================================================ */
/* ANNOUNCEMENT BAR                                                */
/* ============================================================ */
.announce {
  background: var(--eucalyptus-deep);
  color: var(--clay-light);
  padding: 10px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 51;
}
.announce-inner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap;
  padding: 0 var(--s-3);
}
.announce-dot {
  width: 7px; height: 7px;
  background: var(--peach);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.announce-divider { color: rgba(217,197,178,0.4); margin: 0 4px; }
.announce a {
    color: var(--sunray); text-decoration: underline;
    text-underline-offset: 4px; font-weight: 600;
    display: inline-block; padding: 14px 12px; margin: -14px 0; /* Audit #19 */
  }
.announce a:hover { color: var(--peach); }
@media (max-width: 600px) {
  .announce { font-size: 11.5px; padding: 9px 0; }
  .announce-inner { gap: 8px; padding: 0 var(--s-2); }
}

/* ============================================================ */
/* NAV                                                             */
/* ============================================================ */
nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--off-white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
nav.is-scrolled {
  border-bottom-color: rgba(26,59,50,0.08);
  box-shadow: 0 2px 12px rgba(26,59,50,0.04);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px var(--s-4);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  color: inherit;
  text-decoration: none;
}
.logo-mark {
  width: 42px; height: 42px;
  color: var(--eucalyptus);
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.005em;
  color: var(--eucalyptus);
  line-height: 1;
}
.logo-text small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  margin-top: 4px;
  text-transform: uppercase;
}

.nav-links {
  display: flex; gap: 36px; align-items: center;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--eucalyptus);
  transition: color 0.15s;
  position: relative;
}
.nav-links a:hover { color: var(--budgie); }
.nav-links a.current { color: var(--budgie); }
.nav-links a.current::after {
  content: '';
  position: absolute;
  bottom: -22px; left: 0; right: 0; height: 2px;
  background: var(--gold);
}
.nav-cta { font-weight: 500 !important; padding: 11px 24px !important; }
.nav-cta.current::after { display: none !important; }

.nav-menu-btn {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1.5px solid var(--eucalyptus);
  border-radius: 12px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-menu-btn svg { width: 18px; height: 18px; color: var(--eucalyptus); }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .nav-links.is-open {
    display: flex;
    position: fixed; top: 78px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--off-white);
    padding: var(--s-3) var(--s-4) var(--s-4);
    border-bottom: 1px solid rgba(26,59,50,0.08);
    box-shadow: 0 8px 24px rgba(26,59,50,0.08);
  }
  .nav-links.is-open a {
    padding: 18px 0;
    border-bottom: 1px solid rgba(26,59,50,0.08);
    font-size: 20px;
    font-family: 'Archivo Black', sans-serif;
  }
  .nav-links.is-open a:last-child { border-bottom: none; }
  .nav-links.is-open a.current::after { display: none; }
  .nav-links.is-open .nav-cta {
    margin-top: 12px; justify-content: center; padding: 14px 24px !important;
  }
}

/* ============================================================ */
/* SECTION PATTERNS                                                */
/* ============================================================ */
.section {
  padding: var(--s-7) 0;
}
@media (max-width: 720px) { .section { padding: var(--s-6) 0; } }
.section-clay { background: var(--clay-light); }
.section-mist { background: var(--mist); }
.section-deep { background: var(--eucalyptus); color: var(--off-white); }
.section-deep h1, .section-deep h2, .section-deep h3, .section-deep h4 { color: var(--off-white); }
.section-deep .caption { color: var(--gold); }
.section-sunrise { background: var(--sunrise); position: relative; overflow: hidden; }
.section-sunrise::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(26,59,50,0.10), transparent 50%);
  pointer-events: none;
}
.section-sunrise > * { position: relative; z-index: 1; }

.section-head-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-5);
}
.section-head-center .caption { margin-bottom: var(--s-2); }
.section-head-center h1 { margin-bottom: var(--s-2); }
.section-head-center h2 { margin-bottom: var(--s-2); }
.section-head-center p {
  font-size: 17px;
  color: var(--eucalyptus);
  opacity: 0.75;
  line-height: 1.55;
}

.section-head-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-4);
  align-items: end;
  margin-bottom: var(--s-5);
}
@media (max-width: 720px) {
  .section-head-split { grid-template-columns: 1fr; gap: var(--s-2); align-items: start; }
}
.section-head-split h2 { margin-bottom: 0; }
.section-head-split p { max-width: 380px; }

/* ============================================================ */
/* CARDS                                                           */
/* ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--r);
  padding: var(--s-3);
  box-shadow: var(--sh-card);
  border: 1px solid rgba(26,59,50,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card-lg);
}
.card-clay { background: var(--clay-light); }
.card-plain { box-shadow: none; border: 1px solid var(--clay-deep); }

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tag-mist { background: var(--mist); color: var(--eucalyptus); }
.tag-gold { background: var(--gold); color: var(--eucalyptus); }
.tag-peach { background: var(--peach); color: var(--white); }
.tag-blue { background: var(--budgie); color: var(--white); }
.tag-clay { background: var(--clay); color: var(--eucalyptus); }

/* ============================================================ */
/* GRIDS                                                           */
/* ============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Zig-zag layout */
.zigzag-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  align-items: center;
}
@media (max-width: 900px) {
  .zigzag-row { grid-template-columns: 1fr; gap: var(--s-4); }
}
.zigzag-reverse > :first-child { order: 2; }
.zigzag-reverse > :last-child { order: 1; }
@media (max-width: 900px) {
  .zigzag-reverse > :first-child { order: 1; }
  .zigzag-reverse > :last-child { order: 2; }
}

.zigzag-img {
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--clay);
  position: relative;
  box-shadow: var(--sh-card);
}
.zigzag-img svg { width: 100%; height: 100%; display: block; }

.zigzag-list {
  list-style: none;
  margin: var(--s-3) 0;
}
.zigzag-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(26,59,50,0.08);
  font-size: 16px;
  color: var(--eucalyptus);
}
.zigzag-list li:last-child { border-bottom: none; }
.zigzag-list li::before {
  content: '';
  width: 24px; height: 24px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A3B32' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}
.zigzag-list li strong { font-weight: 600; color: var(--eucalyptus); }

/* ============================================================ */
/* FOOTER                                                          */
/* ============================================================ */
footer {
  background: var(--eucalyptus);
  color: var(--clay);
  padding: var(--s-7) 0 var(--s-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-5);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-4); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand-block { max-width: 320px; }
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: var(--s-2);
}
.footer-brand .logo-mark { width: 36px; height: 36px; color: var(--clay); }
.footer-brand .logo-text { color: var(--clay); font-size: 18px; }
.footer-brand .logo-text small { color: var(--gold); }
.footer-tagline {
  font-size: 14px; line-height: 1.6;
  color: var(--clay); opacity: 0.75;
  margin-bottom: var(--s-3);
}
.footer-socials { display: flex; gap: 12px; }
.footer-social {
  width: 36px; height: 36px;
  background: rgba(217,197,178,0.08);
  border: 1px solid rgba(217,197,178,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--clay);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social:hover { background: var(--gold); color: var(--eucalyptus); border-color: var(--gold); }
.footer-social svg { width: 16px; height: 16px; stroke-width: 2; }

.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: var(--s-2);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14.5px; color: var(--clay); opacity: 0.85;
  transition: color 0.15s, opacity 0.15s;
}
.footer-col a:hover { color: var(--gold); opacity: 1; }

.footer-bottom {
  padding-top: var(--s-3);
  border-top: 1px solid rgba(217,197,178,0.12);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--clay); opacity: 0.7;
  flex-wrap: wrap; gap: 12px;
}

/* ============================================================ */
/* LOGO TAIL WAG ANIMATION                                         */
/* ============================================================ */
@keyframes wag {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(8deg); }
}

/* ============================================================ */
/* TRUST STRIP COMPONENTS                                          */
/* ============================================================ */
.trust-strip { background: var(--clay); padding: var(--s-5) 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item { display: flex; align-items: flex-start; gap: var(--s-2); }
.trust-icon {
  width: 40px; height: 40px;
  background: var(--off-white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--eucalyptus);
  flex-shrink: 0;
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-text strong {
  display: block; font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 15px;
  color: var(--eucalyptus); margin-bottom: 2px;
}
.trust-text span {
  font-size: 13.5px; color: var(--eucalyptus);
  opacity: 0.7; line-height: 1.4;
}

/* ============================================================ */
/* TABLE STYLES                                                    */
/* ============================================================ */
.tk-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--sh-card);
}
.tk-table th, .tk-table td {
  padding: 16px 20px; text-align: left;
  border-bottom: 1px solid rgba(26,59,50,0.06);
  font-size: 15px;
}
.tk-table th {
  background: var(--clay-light);
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--eucalyptus);
}
.tk-table td { color: var(--eucalyptus); }
.tk-table tr:last-child td { border-bottom: none; }

/* Form elements */
.tk-input, .tk-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--clay-deep);
  border-radius: 12px;
  background: var(--white);
  color: var(--eucalyptus);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.tk-input:focus, .tk-select:focus {
  outline: none;
  border-color: var(--budgie);
  box-shadow: 0 0 0 3px rgba(91,154,163,0.15);
}
.tk-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--eucalyptus);
  margin-bottom: 6px;
}

/* Utility */
.text-center { text-align: center; }
.text-muted { color: var(--ink-faint); }
.mb-1 { margin-bottom: var(--s-1); }
.mb-2 { margin-bottom: var(--s-2); }
.mb-3 { margin-bottom: var(--s-3); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-5 { margin-bottom: var(--s-5); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }

/* ============================================================ */
/* CALCULATOR — ORIGINAL CLASSES STYLED WITH EARTHY VITALITY      */
/* ============================================================ */

.calculator { padding: var(--s-7) 0; background: var(--off-white); position: relative; }
@media (max-width: 720px) { .calculator { padding: var(--s-6) 0; } }

.section-heading { text-align: center; max-width: 720px; margin: 0 auto var(--s-5); }
.section-heading .eyebrow-script {
  display: inline-block; margin-bottom: var(--s-2);
  font-family: 'Archivo Black', sans-serif; font-weight: 400;
  font-size: 18px; color: var(--gold-deep); font-style: italic;
}
.section-heading h2 { font-size: clamp(28px, 4vw, 36px); margin-bottom: var(--s-2); }
.section-heading h2 em { font-style: italic; color: var(--budgie); font-weight: 700; }
.section-heading p { font-size: 17px; color: var(--eucalyptus); opacity: 0.75; }

.calc-card {
  max-width: 880px; margin: 0 auto;
  background: var(--white); border-radius: var(--r-lg);
  padding: var(--s-5) var(--s-4); box-shadow: var(--sh-card-lg);
  border: 1px solid rgba(26,59,50,0.05);
  min-height: 460px;
}
@media (max-width: 720px) { .calc-card { padding: var(--s-4) var(--s-3); border-radius: var(--r); min-height: auto; } }

.calc-progress { margin-bottom: var(--s-4); display: flex; flex-direction: column; gap: 10px; }
.progress-track { height: 6px; background: var(--clay-light); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--budgie) 0%, var(--gold) 100%); border-radius: 3px; transition: width 0.4s cubic-bezier(0.4,0,0.2,1); width: 14%; }
.progress-text { font-size: 13px; color: var(--ink-faint); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }
.progress-text span { color: var(--eucalyptus); font-weight: 600; }

.calc-step { display: none; animation: tkFadeIn 0.35s ease; }
.calc-step.is-active { display: block; }
@keyframes tkFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.step-icon { width: 60px; height: 60px; margin: 0 auto var(--s-2); color: var(--gold-deep); }
.step-icon svg { width: 100%; height: 100%; }
.step-question { font-family: 'Archivo Black', sans-serif; font-weight: 700; font-size: clamp(26px, 3.5vw, 36px); line-height: 1.15; color: var(--eucalyptus); text-align: center; margin-bottom: 8px; }
.step-question em, .step-question .dn { color: var(--budgie); font-style: normal; }
.step-sub { font-size: 15px; color: var(--ink-faint); margin-bottom: var(--s-3); line-height: 1.55; text-align: center; }
.step-sub .hint { color: var(--gold-deep); font-weight: 500; }

.step-input-wrap { display: flex; align-items: center; gap: 10px; max-width: 360px; margin: 0 auto var(--s-3); }
.step-input-wrap input[type="text"], .step-input-wrap input[type="number"] {
  flex: 1; padding: 16px 20px;
  border: 1.5px solid var(--clay-deep); border-radius: 14px;
  background: var(--white); font-family: 'Inter', sans-serif;
  font-size: 18px; color: var(--eucalyptus); text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.step-input-wrap input:focus { outline: none; border-color: var(--budgie); box-shadow: 0 0 0 3px rgba(91,154,163,0.15); }
.step-input-wrap input::placeholder { color: var(--ink-fainter); }
.step-input-wrap .input-unit { font-size: 16px; font-weight: 500; color: var(--eucalyptus); opacity: 0.7; }

/* Breed search */
.breed-search-wrap { position: relative; margin-bottom: var(--s-3); }
.breed-search-wrap input {
  width: 100%; padding: 16px 20px 16px 48px;
  border: 1.5px solid var(--clay-deep); border-radius: 14px;
  background: var(--white); font-family: 'Inter', sans-serif;
  font-size: 16px; color: var(--eucalyptus);
}
.breed-search-wrap input::placeholder { color: var(--ink-fainter); }
.breed-search-wrap input:focus { outline: none; border-color: var(--budgie); box-shadow: 0 0 0 3px rgba(91,154,163,0.15); }
.breed-search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--ink-faint); pointer-events: none;
}
.breed-quick-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-3); justify-content: center; }
.breed-quick {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; background: var(--clay-light);
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
  color: var(--eucalyptus); cursor: pointer; transition: all 0.15s;
}
.breed-quick:hover { background: var(--gold); border-color: var(--gold-deep); }

/* Mixed-breed parent picker */
.mixed-picker { display: none; padding: 20px; background: var(--clay-light); border-radius: var(--r); margin-bottom: var(--s-3); }
.mixed-picker-header { font-family: 'Archivo Black', sans-serif; font-weight: 700; font-size: 18px; color: var(--eucalyptus); margin-bottom: 4px; }
.mixed-picker-sub { font-size: 13px; color: var(--ink-faint); margin-bottom: var(--s-2); }
.mixed-close { background: transparent; border: 1.5px solid var(--clay-deep); color: var(--eucalyptus); padding: 6px 14px; border-radius: var(--r-pill); font-size: 13px; cursor: pointer; }
.mixed-close:hover { background: var(--white); }
.parent-slot { margin-bottom: 12px; }
.parent-label { font-size: 13px; font-weight: 600; color: var(--eucalyptus); margin-bottom: 6px; }
.parent-divider { text-align: center; font-family: 'Archivo Black', sans-serif; color: var(--gold-deep); font-size: 14px; margin: 6px 0; }
.parent-input-wrap { position: relative; }
.parent-input-wrap .breed-search-icon { left: 12px; top: 50%; }
.parent-search {
  width: 100%; padding: 12px 16px 12px 40px;
  border: 1.5px solid var(--clay-deep); border-radius: 12px;
  background: var(--white); font-family: 'Inter', sans-serif;
  font-size: 15px;
}
.parent-search:focus { outline: none; border-color: var(--budgie); box-shadow: 0 0 0 3px rgba(91,154,163,0.15); }
.parent-dropdown {
  position: relative;
  background: var(--white); border: 1.5px solid var(--clay-deep);
  border-radius: 12px; margin-top: 8px;
  max-height: 240px; overflow-y: auto;
  box-shadow: var(--sh-card-lg); z-index: 10;
}
.parent-selected {
  display: none; padding: 12px 16px;
  background: var(--white); border: 1.5px solid var(--mist);
  border-radius: 12px; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--eucalyptus);
}

/* Breed dropdown */
.breed-dropdown {
  position: relative;
  background: var(--white); border: 1.5px solid var(--clay-deep);
  border-radius: 12px; margin-top: 8px; margin-bottom: var(--s-3);
  max-height: 280px; overflow-y: auto;
  box-shadow: var(--sh-card-lg); z-index: 10;
}
.breed-option {
  padding: 12px 16px; cursor: pointer;
  border-bottom: 1px solid rgba(26,59,50,0.06);
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; transition: background 0.15s;
  width: 100%; background: var(--white); border-left: 0; border-right: 0; border-top: 0;
  text-align: left; font-family: 'Inter', sans-serif; color: var(--eucalyptus);
}
.breed-option:hover { background: var(--clay-light); }
.breed-option:last-child { border-bottom: none; }
.breed-option-emoji { font-size: 18px; flex-shrink: 0; }
.breed-option-name { color: var(--eucalyptus); font-weight: 500; }
.breed-option-size { font-size: 12px; color: var(--ink-faint); margin-left: auto; }
.breed-no-results { padding: 16px; text-align: center; color: var(--ink-faint); font-size: 14px; }

/* Breed info card after selection */
.breed-info-card {
  margin: var(--s-3) 0;
  padding: 20px; background: var(--mist);
  border-radius: var(--r);
  border-left: 4px solid var(--eucalyptus);
}
.breed-info-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.breed-info-emoji { font-size: 36px; flex-shrink: 0; }
.breed-info-name { font-family: 'Archivo Black', sans-serif; font-weight: 700; font-size: 22px; color: var(--eucalyptus); }
.breed-info-size { font-size: 12px; color: var(--ink-faint); letter-spacing: 0.05em; text-transform: uppercase; }
.breed-health-section { margin: 12px 0; padding: 12px; background: rgba(250,246,241,0.6); border-radius: 10px; }
.breed-health-heading { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--eucalyptus); margin-bottom: 8px; }
.breed-health-icon { font-size: 16px; }
.breed-traits { display: flex; flex-wrap: wrap; gap: 6px; }
.breed-trait { padding: 3px 10px; background: var(--off-white); border-radius: 12px; font-size: 12px; font-weight: 500; color: var(--eucalyptus); }
.breed-notes { font-size: 14.5px; line-height: 1.55; color: var(--eucalyptus); opacity: 0.85; margin: 8px 0; }
.breed-rec-line { font-size: 14px; color: var(--eucalyptus); margin: 8px 0; }
.breed-rec-line strong { color: var(--budgie); font-weight: 600; }
.breed-info-disclaimer { font-size: 12px; color: var(--ink-faint); margin-top: 12px; line-height: 1.5; font-style: italic; }

/* Option cards (activity, body) */
.option-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--s-3); max-width: 480px; margin-left: auto; margin-right: auto; }
.option-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: var(--white);
  border: 1.5px solid var(--clay-deep); border-radius: 14px;
  font-family: 'Inter', sans-serif; cursor: pointer;
  transition: all 0.15s; text-align: left; width: 100%;
}
.option-card:hover { border-color: var(--budgie); background: var(--clay-light); transform: translateY(-1px); }
.option-card.is-selected { background: var(--mist); border-color: var(--eucalyptus); }
.opt-emoji { font-size: 32px; flex-shrink: 0; }
.opt-info { flex: 1; }
.opt-title { font-size: 17px; font-weight: 600; color: var(--eucalyptus); margin-bottom: 2px; }
.opt-desc { font-size: 13.5px; color: var(--ink-faint); line-height: 1.4; }
.opt-arrow { font-size: 22px; color: var(--gold-deep); opacity: 0.6; transition: transform 0.15s, opacity 0.15s; }
.option-card:hover .opt-arrow { opacity: 1; transform: translateX(3px); }

/* Concerns grid */
.concerns-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: var(--s-3); }
.concern-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; background: var(--white);
  border: 1.5px solid var(--clay-deep); border-radius: 12px;
  cursor: pointer; transition: all 0.15s;
  font-family: 'Inter', sans-serif; font-size: 15px;
  color: var(--eucalyptus); font-weight: 500;
}
.concern-chip:hover { border-color: var(--budgie); background: var(--clay-light); }
.concern-chip input[type="checkbox"] { display: none; }
.concern-chip:has(input:checked) { background: var(--mist); border-color: var(--eucalyptus); }
.concern-chip .chip-icon { font-size: 20px; }

/* Step buttons */
.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: var(--s-3); flex-wrap: wrap; }
.btn-pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: var(--budgie); color: var(--white); border-radius: var(--r-pill); border: 2px solid transparent; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 16px; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.btn-pill:hover { background: var(--budgie-deep); transform: translateY(-1px); box-shadow: 0 8px 16px rgba(91,154,163,0.25); color: var(--white); }
.btn-pill-lg { padding: 14px 32px; font-size: 17px; }
.btn-pill:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-back { background: transparent; color: var(--eucalyptus); border: 1.5px solid var(--clay-deep); border-radius: var(--r-pill); padding: 10px 22px; font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 500; cursor: pointer; transition: all 0.15s; }
.btn-back:hover { background: var(--clay-light); border-color: var(--eucalyptus); }
.skip-link { text-align: center; margin-top: var(--s-2); }
.skip-link a { font-size: 14px; color: var(--gold-deep); border-bottom: 1px dashed currentColor; }
.skip-link a:hover { color: var(--peach-deep); }

/* Calc results */
.calc-results { display: none; margin-top: var(--s-4); }
.calc-results.show { display: block; animation: tkFadeIn 0.5s ease; }
.calc-results-divider { position: relative; text-align: center; margin: var(--s-4) 0; height: 1px; background: var(--clay-deep); }
.calc-summary {
  display: grid; grid-template-columns: 1fr auto;
  gap: var(--s-3); align-items: center;
  padding: var(--s-4); background: var(--mist);
  border-radius: var(--r); margin-bottom: var(--s-3);
}
@media (max-width: 720px) { .calc-summary { grid-template-columns: 1fr; padding: var(--s-3); } }
.calc-summary-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--eucalyptus); opacity: 0.7; margin-bottom: 8px; }
.calc-summary-num { font-family: 'Archivo Black', sans-serif; font-weight: 700; font-size: 56px; line-height: 1; color: var(--eucalyptus); }
.calc-summary-unit { font-size: 22px; opacity: 0.7; font-family: 'Inter', sans-serif; font-weight: 600; margin-left: 6px; }
.calc-summary-meta { font-size: 14px; color: var(--eucalyptus); opacity: 0.75; margin-top: 8px; }
.calc-summary-decor svg { width: 110px; height: 110px; color: var(--eucalyptus); }
@media (max-width: 720px) { .calc-summary-decor { display: none; } }
.calc-results-heading { font-family: 'Archivo Black', sans-serif; font-weight: 700; font-size: 26px; color: var(--eucalyptus); margin-bottom: 8px; }
.calc-results-sub { font-size: 15px; color: var(--ink-faint); margin-bottom: var(--s-3); }
.calc-recipe-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-2); margin-bottom: var(--s-3); }
.calc-recipe-result {
  padding: 16px; background: var(--white);
  border: 1.5px solid var(--clay-deep); border-radius: var(--r);
  text-decoration: none; color: var(--eucalyptus);
  transition: all 0.2s; display: block;
}
.calc-recipe-result:hover { border-color: var(--budgie); transform: translateY(-2px); box-shadow: var(--sh-card); }
.calc-recipe-result-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 6px; }
.calc-recipe-result-name { font-family: 'Archivo Black', sans-serif; font-weight: 700; font-size: 18px; color: var(--eucalyptus); margin-bottom: 4px; line-height: 1.2; }
.calc-recipe-result-portion { font-size: 13.5px; color: var(--eucalyptus); opacity: 0.75; }
.calc-recipe-result-portion strong { color: var(--budgie); font-weight: 600; }
.calc-results-disclaimer { background: var(--clay-light); border-radius: 12px; padding: 16px; font-size: 13px; color: var(--eucalyptus); opacity: 0.85; line-height: 1.55; }
.calc-results-disclaimer strong { color: var(--eucalyptus); opacity: 1; }


  /* ============================================================
     V3 BRAND OVERRIDES (PawHome-inspired)
     Applied site-wide on top of legacy page styles
     ============================================================ */
  * { box-sizing: border-box; }
  body {
    background: var(--cream);
    color: var(--maroon);
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4 {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 0.95;
    color: var(--maroon);
  }
  h1 { font-size: clamp(40px, 6vw, 72px); }
  h2 { font-size: clamp(32px, 4.5vw, 56px); }
  h3 { font-size: clamp(22px, 2.8vw, 32px); }
  h4 { font-size: clamp(18px, 1.8vw, 22px); }
  p { color: var(--maroon); }
  a { color: var(--maroon); }

  /* Eyebrow text */
  .eyebrow, .caption, .caption.gold {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: var(--maroon) !important;
    opacity: 0.7;
    display: inline-block;
    background: transparent !important;
    padding: 0 !important;
  }

  /* === v3 Announce bar === */
  .announce {
    background: var(--maroon) !important;
    color: var(--cream) !important;
    text-align: center;
    padding: 11px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
  }
  .announce a { color: var(--sunray) !important; text-decoration: underline; margin-left: 10px; }
  .announce-dot {
    display: inline-block; width: 7px; height: 7px;
    background: var(--sunray) !important; border-radius: 50%;
    margin-right: 10px; vertical-align: middle;
  }

  /* === v3 Nav === */
  .v3-nav {
    background: var(--cream);
    position: sticky; top: 0; z-index: 50;
    border-bottom: 1px solid rgba(71,1,2,0.08);
  }
  /* Audit P0 #4 — sticky nav was getting trapped inside <header>'s box and
     would unstick once the header scrolled off. Flatten <header> so the nav's
     sticky context is the body. */
  header { display: contents; }
  .v3-nav .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1320px; margin: 0 auto;
    padding: 18px 32px;
  }
  .v3-nav .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .v3-nav .logo-mark { width: 52px; height: 52px; }
  .v3-nav .logo-text {
    font-family: 'Archivo Black', sans-serif;
    font-size: 24px; color: var(--maroon);
    letter-spacing: -0.01em; line-height: 1;
  }
  .v3-nav .nav-links { display: flex; align-items: center; gap: 36px; }
  .v3-nav .nav-links a {
    color: var(--maroon); text-decoration: none;
    font-size: 14.5px; font-weight: 500;
  }
  .v3-nav .nav-links a:hover { opacity: 0.6; }
  /* Mobile breakpoint at 1099px — match the inline styles on recipe/other pages
     so the desktop nav hides and the hamburger shows. Without this, site.css's
     `.v3-nav .nav-links` (specificity 0,2,0) was overriding the inline
     `.nav-links-desktop { display: none }` (specificity 0,1,0) at this width. */
  @media (max-width: 1099px) {
    .v3-nav .nav-links-desktop { display: none !important; }
  }
  @media (max-width: 880px) {
    .v3-nav .nav-links a:not(.pill-btn) { display: none; }
  }

  /* === v3 Buttons / Pills === */
  .pill-btn, a.btn, button.btn, .btn-pill, a.btn-pill {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px;
    border-radius: 999px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important; font-size: 15px;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
    white-space: nowrap;
  }
  .pill-btn-dark, .btn-primary, .btn-pill-cta {
    background: var(--maroon) !important;
    color: var(--cream) !important;
  }
  .pill-btn-dark:hover, .btn-primary:hover { background: var(--maroon-soft) !important; transform: translateY(-1px); }
  .pill-btn-sunray { background: var(--sunray) !important; color: var(--maroon) !important; }
  .pill-btn-sunray:hover { background: var(--sunray-deep) !important; transform: translateY(-1px); }
  .pill-btn-ghost, .btn-secondary {
    background: transparent !important;
    color: var(--maroon) !important;
    border: 1.5px solid var(--maroon) !important;
  }
  .pill-btn-ghost:hover { background: var(--maroon) !important; color: var(--cream) !important; }
  .pill-btn-lg { padding: 18px 36px; font-size: 16px; }

  /* === v3 Footer === */
  .v3-footer {
    background: var(--maroon);
    color: var(--cream);
    padding: 80px 0 40px;
    margin-top: 80px;
  }
  .v3-footer .wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
  @media (max-width: 600px) {
    .v3-footer { padding: 56px 0 32px; margin-top: 56px; }
    .v3-footer .wrap { padding: 0 20px; }
  }
  .v3-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
  }
  @media (max-width: 880px) { .v3-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
  @media (max-width: 600px) { .v3-footer .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; } }
  .v3-footer .footer-brand .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 16px; }
  .v3-footer .footer-brand .logo-text {
    font-family: 'Archivo Black', sans-serif;
    font-size: 22px;
    color: var(--cream);
  }
  .v3-footer .footer-brand p {
    font-size: 14px;
    color: rgba(255,247,234,0.7);
    max-width: 320px;
    /* On phones, lock to the column width — prior max-width:320 was wider than
       a 2-column grid cell at 390vw, forcing horizontal overflow. */
  }
  @media (max-width: 600px) { .v3-footer .footer-brand p { max-width: 100%; } }
  .v3-footer .footer-col h3, .v3-footer .footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sunray);
    margin: 0 0 16px;
  }
  .v3-footer .footer-col a {
    display: block;
    color: rgba(255,247,234,0.85);
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
  }
  .v3-footer .footer-col a:hover { color: var(--sunray); }
  .v3-footer .footer-bottom {
    border-top: 1px solid rgba(255,247,234,0.1);
    padding-top: 32px;
    display: flex; flex-wrap: wrap;
    justify-content: space-between; align-items: center; gap: 20px;
  }
  .v3-footer .footer-tagline {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(32px, 4vw, 56px);
    text-transform: uppercase;
    color: var(--sunray);
    line-height: 1;
    flex: 1;
  }
  .v3-footer .footer-credits {
    font-size: 12px;
    opacity: 0.55;
    color: var(--cream);
  }

  /* === Card backgrounds — soften any clashing old card colors === */
  .card, .recipe-card, .info-card, .tip-card {
    background: var(--cream) !important;
    border: 2px solid var(--maroon) !important;
    border-radius: 24px !important;
  }

  /* Hide any legacy nav/footer that may have been left behind  */
  body > nav:not(.v3-nav) { display: none !important; }
  body > footer:not(.v3-footer) { display: none !important; }

  /* === v3 Hero blocks === */
  .v3-hero {
    background: var(--cream);
    padding: 64px 0 80px;
  }
  .v3-hero h1 {
    font-size: clamp(40px, 7vw, 88px);
    line-height: 0.92;
    margin-bottom: 20px;
  }
  .v3-hero h1 .accent { color: var(--sunray); }
  .v3-hero .lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 560px; opacity: 0.85; }

  /* === v3 Section dividers === */
  .v3-section-vanilla { background: var(--vanilla); padding: 64px 0; }
  .v3-section-rose { background: var(--rose); padding: 64px 0; }
  .v3-section-maroon { background: var(--maroon); color: var(--cream); padding: 64px 0; }
  .v3-section-maroon h1, .v3-section-maroon h2, .v3-section-maroon h3 { color: var(--cream); }
  .v3-section-maroon p, .v3-section-maroon a { color: var(--cream); }

  /* Pill metadata */
  .pill-meta {
    display: inline-flex; align-items: center;
    padding: 6px 14px; border-radius: 999px;
    background: var(--cream); color: var(--maroon);
    font-size: 12.5px; font-weight: 500;
    border: 1px solid rgba(71,1,2,0.12);
  }

/* ───────── Site-wide focus indicators (audit P0 #1) ─────────
   Keyboard users need a visible focus ring on every interactive element.
   :focus-visible only fires for keyboard / non-pointer focus, so mouse
   clicks don't get a ring on buttons (preserving the design), but tab
   navigation always does. !important defeats earlier `outline: none` rules
   on inputs in the calculator/breed-search/etc. */
:focus-visible {
  outline: 3px solid var(--sunray, #FEB229) !important;
  outline-offset: 2px !important;
  border-radius: 4px;
}
/* For inputs with their own box-shadow ring, layer the focus ring outside it */
.tk-input:focus-visible,
.tk-select:focus-visible,
.step-input-wrap input:focus-visible,
.breed-search-wrap input:focus-visible,
.parent-search:focus-visible {
  outline: 3px solid var(--sunray, #FEB229) !important;
  outline-offset: 2px !important;
}


/* ---- Guide components (TL;DR, CTA, related cards) — global so every guide is styled ---- */
.guide-tldr { background: var(--vanilla, #FFEDC1); border: 2px solid var(--maroon, #470102); border-radius: 20px; padding: 24px 28px; margin: 24px 0 40px; }
.guide-tldr-label { display: inline-block; font-family: 'Archivo Black', sans-serif; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--maroon, #470102); background: var(--sunray, #FEB229); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.guide-tldr p { margin: 0; font-weight: 500; }
.guide-cta { margin: 56px 0 0; background: var(--maroon, #470102); color: var(--cream, #FFF7EA); border-radius: 24px; padding: 40px 32px; text-align: center; }
.guide-cta h3 { font-family: 'Archivo Black', sans-serif; font-size: 28px; color: var(--cream, #FFF7EA); margin: 0 0 12px; text-transform: uppercase; }
.guide-cta p { font-size: 16px; color: var(--cream, #FFF7EA); opacity: 0.85; margin: 0 0 24px; }
.guide-cta .pill-btn { display: inline-block; }
.guide-related { margin-top: 64px; padding-top: 40px; border-top: 1px solid rgba(71,1,2,0.12); }
.guide-related h3 { font-family: 'Archivo Black', sans-serif; font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--maroon, #470102); margin: 0 0 20px; }
.guide-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.guide-related-card { display: block; background: var(--vanilla, #FFEDC1) !important; border: 2px solid var(--maroon, #470102); border-radius: 16px; padding: 20px 22px; text-decoration: none !important; transition: transform 0.15s; }
.guide-related-card:hover { transform: translateY(-2px); }
.guide-related-card strong { display: block; font-family: 'Archivo Black', sans-serif; font-size: 14px; text-transform: uppercase; color: var(--maroon, #470102); margin-bottom: 8px; }
.guide-related-card span { font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 400; color: var(--maroon, #470102); opacity: 0.7; line-height: 1.5; }


/* ===== Guide hero + body layout (global — fixes inline-only styling) ===== */
.guide-hero { background: var(--cream, #FFF7EA); padding: 32px 0 48px; }
.guide-hero .wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.guide-breadcrumb { display:inline-block; font-family:'Inter',sans-serif; font-size:14px; font-weight:600; color:var(--maroon,#470102); text-decoration:none; opacity:0.7; margin-bottom:24px; }
.guide-breadcrumb:hover { opacity:1; }
.guide-eyebrow { display:inline-block; font-family:'Inter',sans-serif; font-size:12px; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; color:var(--maroon,#470102); background:var(--vanilla,#FFEDC1); padding:8px 18px; border-radius:999px; margin-bottom:24px; }
.guide-h1 { font-family:'Archivo Black',sans-serif; font-size:clamp(36px,6vw,60px); line-height:0.98; letter-spacing:-0.01em; color:var(--maroon,#470102); margin:0 0 8px; text-transform:uppercase; }
.guide-body { padding: 32px 0 80px; }
.guide-body .wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.guide-body p, .guide-body li { font-family:'Inter',sans-serif; font-size:17px; line-height:1.65; color:var(--maroon,#470102); }
.guide-body h2 { font-family:'Archivo Black',sans-serif; font-size:28px; line-height:1.1; letter-spacing:-0.005em; color:var(--maroon,#470102); text-transform:uppercase; margin:56px 0 16px; }
.guide-body h3 { font-family:'Archivo Black',sans-serif; font-size:20px; line-height:1.2; color:var(--maroon,#470102); margin:36px 0 12px; text-transform:uppercase; letter-spacing:0.01em; }
.guide-body p { margin:0 0 18px; }
.guide-body ul, .guide-body ol { padding-left:22px; margin:0 0 22px; }
.guide-body li { margin-bottom:10px; }
.guide-body a { color:var(--maroon,#470102); font-weight:600; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:3px; text-decoration-color:var(--sunray,#FEB229); }
.guide-body a:hover { background:var(--vanilla,#FFEDC1); }

/* ===== Calculator recipe-result cards (with photo thumbnail) ===== */
.recipe-recommendation-grid { display:flex; flex-direction:column; gap:12px; }
.recipe-result { display:flex; align-items:center; gap:16px; background:var(--cream,#FFF7EA); border:2px solid var(--maroon,#470102); border-radius:18px; padding:14px 16px; text-decoration:none; color:var(--maroon,#470102); position:relative; transition:transform .15s, box-shadow .15s; }
.recipe-result:hover { transform:translateY(-2px); box-shadow:0 8px 22px rgba(71,1,2,0.14); }
.recipe-result.recommended { background:var(--vanilla,#FFEDC1); box-shadow:0 6px 18px rgba(71,1,2,0.12); }
.recipe-result.excluded { opacity:0.55; }
.recipe-result-illo { flex:0 0 auto; width:84px; height:84px; border-radius:14px; overflow:hidden; background:var(--vanilla,#FFEDC1); border:1px solid rgba(71,1,2,0.12); }
.recipe-illo-slot { display:block; width:100%; height:100%; }
.recipe-illo-slot img { width:100%; height:100%; object-fit:cover; display:block; }
.recipe-result-info { flex:1 1 auto; min-width:0; }
.recipe-result-info h4 { font-family:'Archivo Black',sans-serif; font-size:16px; color:var(--maroon,#470102); margin:0 0 4px; line-height:1.15; }
.recipe-result-info p { font-family:'Inter',sans-serif; font-size:13px; line-height:1.4; color:var(--maroon,#470102); opacity:0.7; margin:0; }
.recipe-result .result-cta { display:inline-block; margin-top:6px; font-family:'Inter',sans-serif; font-size:12.5px; font-weight:700; color:var(--maroon,#470102); text-decoration:underline; text-decoration-color:var(--sunray,#FEB229); text-decoration-thickness:2px; text-underline-offset:2px; }
.recipe-result-portion { flex:0 0 auto; text-align:right; padding-left:8px; }
.recipe-result-portion .grams { font-family:'Archivo Black',sans-serif; font-size:22px; color:var(--maroon,#470102); line-height:1; }
.recipe-result-portion .grams-label { font-family:'Inter',sans-serif; font-size:11px; text-transform:uppercase; letter-spacing:0.08em; color:var(--maroon,#470102); opacity:0.6; margin-top:3px; }
.recipe-result-badge { position:absolute; top:-10px; right:14px; background:var(--sunray,#FEB229); color:var(--maroon,#470102); font-family:'Inter',sans-serif; font-size:11px; font-weight:700; letter-spacing:0.04em; padding:3px 10px; border-radius:999px; border:1.5px solid var(--maroon,#470102); }
.recipe-result .excluded-label { font-family:'Inter',sans-serif; font-size:12px; font-weight:600; color:#B00404; }
@media (max-width:560px){ .recipe-result-illo{ width:64px; height:64px; } .recipe-result-portion .grams{ font-size:18px; } }
