/*
Theme Name: Ruihejin
Theme URI: https://ruihejin.com
Author: Ruihejin
Author URI: https://ruihejin.com
Description: Custom WordPress theme for Ruihejin — Premium Shiitake Mushroom & Walnut Supplier from Shaanxi, China. Export-grade quality, bulk supply, OEM packaging.
Version: 3.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ruihejin
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ══════════════════════════════════════
   v3.0.0 — DESIGN TOKENS (Direction B: Modern Pantry)
   Cream backgrounds · Deep forest green · Butter yellow accent
   Newsreader serif headlines · Inter body
   ══════════════════════════════════════ */
:root {
  /* Brand */
  --rh-primary:        #0D3B2E;   /* 墨绿 — H1, primary CTA */
  --rh-primary-dark:   #051F18;   /* 极深墨绿 — strongest text */
  --rh-primary-light:  #1C5944;   /* 中墨绿 — hover */
  --rh-accent:         #E8C97A;   /* 奶油黄 — accents, links */
  --rh-accent-dark:    #C9A859;   /* 深奶油黄 — hover */
  --rh-accent-soft:    #F4E4B8;   /* 浅奶油黄 — badge bg */

  /* Surface */
  --rh-bg:             #FAF7F2;   /* 纯米 — body */
  --rh-surface:        #FFFFFF;   /* 卡片 */
  --rh-surface-alt:    #F0EBE0;   /* 米深 — alt sections */
  --rh-surface-dark:   #0D3B2E;   /* 反色块 */

  /* Text */
  --rh-text:           #1A1814;   /* 深墨黑 */
  --rh-text-muted:     #6B6357;   /* 暖灰 — meta */
  --rh-text-soft:      #948A7A;   /* 更浅 — placeholder */
  --rh-text-on-dark:   #FAF7F2;   /* 米色 — 反色块上 */

  /* Border */
  --rh-border:         #E5DDD0;   /* 浅米边框 */
  --rh-border-strong:  #C5BBA8;   /* 强边框 */

  /* Type */
  --rh-font-serif:     'Newsreader', Georgia, 'Times New Roman', serif;
  --rh-font-sans:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale */
  --rh-r-sm: 6px;
  --rh-r-md: 10px;
  --rh-r-lg: 16px;
  --rh-r-xl: 24px;
}

/* ══════════════════════════════════════
   GLOBAL BASE STYLES
   ══════════════════════════════════════ */
body {
  font-family: var(--rh-font-sans);
  background: var(--rh-bg);
  color: var(--rh-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

/* Serif treatment on every heading */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--rh-font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--rh-primary);
}
h1 { font-weight: 600; letter-spacing: -0.02em; }

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

/* Override Tailwind text-primary tokens to point at new green */
.text-primary { color: var(--rh-primary) !important; }
.text-primary-fixed,
.text-on-primary-fixed { color: var(--rh-accent-soft) !important; }
.text-on-primary-container { color: var(--rh-text-on-dark) !important; }
.text-secondary { color: var(--rh-text-muted) !important; }
.text-on-surface { color: var(--rh-text) !important; }
.text-on-surface-variant { color: var(--rh-text-muted) !important; }
.text-outline-variant { color: var(--rh-border-strong) !important; }
.text-accent { color: var(--rh-accent-dark) !important; }

.bg-primary { background-color: var(--rh-primary) !important; }
.bg-primary-fixed { background-color: var(--rh-accent-soft) !important; }
.bg-primary-fixed\/30 { background-color: rgba(232, 201, 122, 0.30) !important; }
.bg-primary-fixed\/40 { background-color: rgba(232, 201, 122, 0.40) !important; }
.bg-primary-fixed\/15 { background-color: rgba(232, 201, 122, 0.15) !important; }
.bg-surface-container-low { background-color: var(--rh-surface-alt) !important; }
.bg-surface-container-high { background-color: var(--rh-surface) !important; }
.bg-surface-container-highest { background-color: var(--rh-border) !important; }
.bg-accent { background-color: var(--rh-accent-dark) !important; }
.bg-accent-light { background-color: var(--rh-accent-soft) !important; }
.bg-accent-light\/40 { background-color: rgba(244, 228, 184, 0.40) !important; }
.bg-primary-container { background-color: var(--rh-primary-light) !important; }

.border-outline-variant\/10 { border-color: rgba(229, 221, 208, 0.6) !important; }
.border-outline-variant\/40 { border-color: var(--rh-border) !important; }
.border-outline-variant\/15 { border-color: rgba(229, 221, 208, 0.7) !important; }
.border-outline-variant\/30 { border-color: rgba(229, 221, 208, 0.85) !important; }
.border-outline-variant { border-color: var(--rh-border-strong) !important; }
.border-primary { border-color: var(--rh-primary) !important; }
.border-accent { border-color: var(--rh-accent-dark) !important; }

/* Background tints used by archive/PDP/contact pages */
.bg-outline-variant { background-color: var(--rh-border-strong) !important; }
.bg-primary-fixed\/25 { background-color: rgba(232, 201, 122, 0.25) !important; }
.bg-primary-fixed\/20 { background-color: rgba(232, 201, 122, 0.20) !important; }
.bg-accent-light\/30 { background-color: rgba(244, 228, 184, 0.30) !important; }
.bg-accent-light\/50 { background-color: rgba(244, 228, 184, 0.50) !important; }
.bg-accent-light\/60 { background-color: rgba(244, 228, 184, 0.60) !important; }
.bg-accent\/10 { background-color: rgba(232, 201, 122, 0.10) !important; }
.bg-accent\/15 { background-color: rgba(232, 201, 122, 0.15) !important; }
.bg-accent\/20 { background-color: rgba(232, 201, 122, 0.20) !important; }
.bg-inverse-surface { background-color: var(--rh-primary-dark) !important; }

/* Hover utility overrides (common on cards / links) */
.hover\:bg-primary:hover { background-color: var(--rh-primary) !important; }
.hover\:bg-primary-fixed:hover { background-color: var(--rh-accent-soft) !important; }
.hover\:bg-primary-container:hover { background-color: var(--rh-primary-light) !important; }
.hover\:bg-surface-container-low:hover { background-color: var(--rh-surface-alt) !important; }
.hover\:bg-surface-container-high:hover { background-color: var(--rh-surface) !important; }
.hover\:text-primary:hover { color: var(--rh-primary) !important; }
.hover\:text-accent:hover { color: var(--rh-accent-dark) !important; }
.hover\:text-white:hover { color: var(--rh-text-on-dark) !important; }
.hover\:border-primary:hover { border-color: var(--rh-primary) !important; }

/* Gradient stop overrides (used by hero / banners / buttons) */
.from-primary { --tw-gradient-from: var(--rh-primary) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent) !important; }
.from-accent { --tw-gradient-from: var(--rh-accent-dark) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent) !important; }
.from-accent-light\/30 { --tw-gradient-from: rgba(244, 228, 184, 0.30) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent) !important; }
.from-primary-fixed\/20 { --tw-gradient-from: rgba(232, 201, 122, 0.20) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent) !important; }
.to-primary-container { --tw-gradient-to: var(--rh-primary-dark) !important; }
.to-surface-container-low { --tw-gradient-to: var(--rh-surface-alt) !important; }

/* Focus ring overrides */
.focus\:ring-primary\/20:focus { --tw-ring-color: rgba(13, 59, 46, 0.20) !important; }
.focus\:ring-primary\/10:focus { --tw-ring-color: rgba(13, 59, 46, 0.10) !important; }
.focus\:border-primary:focus { border-color: var(--rh-primary) !important; }
.accent-primary { accent-color: var(--rh-primary) !important; }

/* Common gradient text on hero/about (override gradient text trick) */
.text-transparent.bg-clip-text { color: var(--rh-primary) !important; -webkit-background-clip: initial !important; background-clip: initial !important; background-image: none !important; }

/* Inline SVG icon sizing */
.inn-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
  fill: currentColor;
  line-height: 1;
}
svg.inn-icon { overflow: visible; }

/* Utility classes — gradients now subtle, no Material colors */
.primary-gradient {
  background: linear-gradient(135deg, var(--rh-primary) 0%, var(--rh-primary-dark) 100%);
}
.accent-gradient {
  background: linear-gradient(135deg, var(--rh-primary) 0%, var(--rh-primary-light) 100%);
  color: var(--rh-text-on-dark);
}
.ghost-border { border: 1px solid var(--rh-border); }
.dot-pattern {
  background-image: radial-gradient(rgba(250, 247, 242, 0.4) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--rh-surface-alt); }
::-webkit-scrollbar-thumb { background: var(--rh-border-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--rh-text-muted); }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes countUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-up { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-fade-in { animation: fadeIn 0.5s ease-out forwards; }
.delay-100 { animation-delay: 100ms; } .delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; } .delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* Hover lift */
.hover-lift { transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08); }

/* Stat counter — progressive enhancement: visible by default, only hidden
   on JS-enabled pages so IntersectionObserver can animate them in. */
.stat-number { animation: countUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
html.js .stat-number { opacity: 0; }

/* Reveal animation — same pattern: visible by default, JS-hidden for fade-in. */
.reveal { transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
html.js .reveal { opacity: 0; transform: translateY(30px); }
html.js .reveal.visible { opacity: 1; transform: translateY(0); }

/* FAQ accordion */
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease, opacity 0.25s ease; opacity: 0; }
.faq-item.open .faq-answer { max-height: 300px; opacity: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }

/* ══════════════════════════════════════
   HEADER STYLES — v3.0 (transparent-over-hero pattern)
   ══════════════════════════════════════ */
.inn-trust {
  background: var(--rh-primary);
  color: var(--rh-text-on-dark);
  overflow: hidden;
}
.inn-trust-inner { display: flex; align-items: center; height: 36px; width: max-content; will-change: transform; }
.inn-marquee { display: inline-flex; align-items: center; white-space: nowrap; flex-shrink: 0; }
.inn-marquee span {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 28px;
  font-size: 12px; font-weight: 400; letter-spacing: .04em; flex-shrink: 0;
  font-family: var(--rh-font-sans);
}
.inn-marquee .inn-icon { font-size: 14px; color: var(--rh-accent-soft); }

/* Sticky nav — starts transparent over hero, becomes solid on scroll.
   The body adds a `.scrolled` class via JS when window.scrollY > 80. */
.inn-nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
body.inn-scrolled .inn-nav {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--rh-border);
  box-shadow: 0 1px 0 rgba(13, 59, 46, 0.04);
}
.inn-nav-wrap {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; height: 76px;
}

/* Logo — serif wordmark */
.inn-logo {
  font-family: var(--rh-font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--rh-text-on-dark);  /* light over hero */
  text-decoration: none;
  display: flex; align-items: center;
  transition: color .35s ease;
}
body.inn-scrolled .inn-logo { color: var(--rh-primary); }
.inn-logo-img { display: block; width: auto; height: auto; max-height: 56px; object-fit: contain; }

/* Nav links — light over hero, dark when scrolled */
.inn-links { display: none; align-items: center; gap: 2.25rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 1024px) { .inn-links { display: flex; } }
.inn-links li { list-style: none; padding: 0; margin: 0; }
.inn-links a,
.inn-links li a {
  font-family: var(--rh-font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--rh-text-on-dark);
  text-decoration: none;
  letter-spacing: .01em;
  transition: color .25s ease, opacity .25s ease;
  opacity: 0.92;
}
.inn-links a:hover,
.inn-links a.active,
.inn-links li a:hover { color: var(--rh-accent); opacity: 1; }

body.inn-scrolled .inn-links a,
body.inn-scrolled .inn-links li a { color: var(--rh-text); }
body.inn-scrolled .inn-links a:hover,
body.inn-scrolled .inn-links li a:hover { color: var(--rh-primary); }
.inn-links a .inn-icon,
.inn-links li a .inn-icon { font-size: 16px; vertical-align: middle; }

.inn-right { display: flex; align-items: center; gap: 14px; }

.inn-ico {
  display: none; align-items: center;
  color: var(--rh-text-on-dark);
  background: none; border: none; cursor: pointer; padding: 0;
  transition: color .25s ease, opacity .25s ease;
  text-decoration: none;
  opacity: 0.92;
}
.inn-ico:hover { color: var(--rh-accent); opacity: 1; }
body.inn-scrolled .inn-ico { color: var(--rh-text); }
body.inn-scrolled .inn-ico:hover { color: var(--rh-primary); }
@media (min-width: 640px) { .inn-ico { display: flex; } }

.inn-lang {
  display: none; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 500; letter-spacing: .04em;
  color: var(--rh-text-on-dark);
  border: 1px solid rgba(250, 247, 242, 0.32);
  padding: 6px 12px; border-radius: 9999px;
  background: none; cursor: pointer;
  transition: all .25s;
  font-family: var(--rh-font-sans);
}
.inn-lang:hover { border-color: var(--rh-accent); color: var(--rh-accent); }
body.inn-scrolled .inn-lang { color: var(--rh-text); border-color: var(--rh-border-strong); }
body.inn-scrolled .inn-lang:hover { color: var(--rh-primary); border-color: var(--rh-primary); }
.inn-lang .inn-icon { font-size: 14px; }
@media (min-width: 640px) { .inn-lang { display: flex; } }

/* CTA button — accent (butter yellow) over hero, primary green when scrolled */
.inn-quote {
  display: inline-block;
  background: var(--rh-accent);
  color: var(--rh-primary-dark);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background-color .25s, transform .15s;
  font-family: var(--rh-font-sans);
}
.inn-quote:hover { background: var(--rh-accent-dark); }
.inn-quote:active { transform: scale(.97); }
body.inn-scrolled .inn-quote {
  background: var(--rh-primary);
  color: var(--rh-text-on-dark);
}
body.inn-scrolled .inn-quote:hover { background: var(--rh-primary-light); }

.inn-burger {
  display: block;
  background: none; border: none;
  color: var(--rh-text-on-dark);
  cursor: pointer; padding: 0;
}
body.inn-scrolled .inn-burger { color: var(--rh-text); }
@media (min-width: 1024px) { .inn-burger { display: none; } }

/* Mobile Drawer */
.inn-drawer-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(13, 59, 46, 0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.inn-drawer-overlay.open { opacity: 1; visibility: visible; }
.inn-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 78%; max-width: 340px; z-index: 61; background: var(--rh-bg); box-shadow: -8px 0 32px rgba(0, 0, 0, .12); transform: translateX(100%); transition: transform .35s cubic-bezier(.16, 1, .3, 1); display: flex; flex-direction: column; overflow-y: auto; }
.inn-drawer-overlay.open .inn-drawer { transform: translateX(0); }
.inn-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--rh-border); }
.inn-drawer-head span { font-size: 1.5rem; font-weight: 600; color: var(--rh-primary); font-family: var(--rh-font-serif); }
.inn-drawer-close { width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--rh-surface-alt); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--rh-text); transition: all .2s; }
.inn-drawer-close:hover { background: var(--rh-primary); color: var(--rh-text-on-dark); }
.inn-drawer-links { flex: 1; padding: 0.5rem 0; list-style: none; margin: 0; }
.inn-drawer-links li { list-style: none; padding: 0; margin: 0; }
.inn-drawer-links a,
.inn-drawer-links li a { display: flex; align-items: center; gap: 12px; padding: 16px 1.5rem; font-size: 15px; font-weight: 500; color: var(--rh-text); text-decoration: none; border-bottom: 1px solid var(--rh-border); font-family: var(--rh-font-sans); transition: background .15s, color .15s; }
.inn-drawer-links a:hover,
.inn-drawer-links li a:hover { background: var(--rh-surface-alt); color: var(--rh-primary); }
.inn-drawer-links a .inn-icon,
.inn-drawer-links li a .inn-icon { font-size: 20px; color: var(--rh-text-muted); }
.inn-drawer-links a:last-child,
.inn-drawer-links li:last-child a { border-bottom: none; }
.inn-drawer-cta { padding: 1rem 1.5rem 1.5rem; border-top: 1px solid var(--rh-border); }
.inn-drawer-cta a {
  display: block; text-align: center;
  background: var(--rh-primary);
  color: var(--rh-text-on-dark);
  border-radius: 999px;
  padding: 14px;
  font-size: 15px; font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  font-family: var(--rh-font-sans);
  transition: background-color .25s;
}
.inn-drawer-cta a:hover { background: var(--rh-primary-light); }
@media (min-width: 1024px) { .inn-drawer-overlay, .inn-drawer { display: none !important; } }

/* Search Overlay */
.inn-search-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(13, 59, 46, 0.5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: none; align-items: flex-start; justify-content: center;
  padding: 80px 1.5rem;
}
.inn-search-overlay.open { display: flex; }
.inn-search-box {
  background: var(--rh-bg);
  border-radius: var(--rh-r-xl);
  width: 100%; max-width: 640px;
  box-shadow: 0 24px 64px rgba(13, 59, 46, 0.15);
  overflow: hidden;
  animation: innSearchIn .25s ease-out;
}
@keyframes innSearchIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.inn-search-input {
  width: 100%;
  padding: 1.5rem 1.75rem;
  font-size: 20px;
  font-weight: 500;
  border: none; outline: none;
  background: transparent;
  color: var(--rh-primary);
  font-family: var(--rh-font-serif);
  letter-spacing: -0.01em;
}
.inn-search-input::placeholder { color: var(--rh-text-soft); font-weight: 400; }
.inn-search-hints { padding: 0 1.75rem 1.5rem; border-top: 1px solid var(--rh-border); }
.inn-search-hints p {
  font-family: var(--rh-font-sans);
  font-size: 11px; color: var(--rh-text-muted);
  padding: 14px 0 10px;
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em;
  margin: 0;
}
.inn-search-hints a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  color: var(--rh-text);
  text-decoration: none;
  border-bottom: 1px solid var(--rh-border);
  transition: color .2s;
  font-family: var(--rh-font-sans);
}
.inn-search-hints a:hover { color: var(--rh-primary); }
.inn-search-hints a:last-child { border: none; }
.inn-search-hints .inn-icon { font-size: 18px; color: var(--rh-text-muted); }
.inn-search-close {
  position: absolute; top: 24px; right: 24px;
  background: rgba(250, 247, 242, 0.9); border: none;
  width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--rh-text); font-size: 20px; transition: all .2s;
}
.inn-search-close:hover { background: var(--rh-primary); color: var(--rh-text-on-dark); }

/* Language dropdown */
.inn-lang-wrap { position: relative; }
.inn-lang-dd {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--rh-surface); border-radius: var(--rh-r-md);
  box-shadow: 0 8px 24px rgba(13, 59, 46, 0.12);
  border: 1px solid var(--rh-border);
  min-width: 140px; z-index: 60; overflow: hidden;
}
.inn-lang-wrap.open .inn-lang-dd { display: block; }
.inn-lang-dd a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--rh-text);
  text-decoration: none;
  transition: background .2s, color .2s;
  font-family: var(--rh-font-sans);
}
.inn-lang-dd a:hover { background: var(--rh-surface-alt); color: var(--rh-primary); }
.inn-lang-dd a.active { font-weight: 600; color: var(--rh-primary); background: var(--rh-accent-soft); }

/* ══════════════════════════════════════
   FOOTER STYLES
   ══════════════════════════════════════ */
/* ══════════════════════════════════════
   FOOTER — v3.0 (cream surface, serif brand mark, generous spacing)
   ══════════════════════════════════════ */
.inn-footer {
  background: var(--rh-surface-alt);
  border-top: 1px solid var(--rh-border);
  padding: 5rem 1.5rem 2rem;
  color: var(--rh-text);
}
.inn-footer-inner { max-width: 80rem; margin: 0 auto; }
.inn-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) { .inn-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.inn-footer-brand { grid-column: span 2; }
@media (min-width: 768px) { .inn-footer-brand { grid-column: span 1; max-width: 320px; } }
.inn-footer-brand a {
  font-family: var(--rh-font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--rh-primary);
  text-decoration: none;
}
.inn-footer-brand p {
  font-family: var(--rh-font-sans);
  font-size: 14px;
  color: var(--rh-text-muted);
  line-height: 1.7;
  margin-top: 16px;
}

.inn-footer h5 {
  font-family: var(--rh-font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--rh-primary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1.25rem;
}
.inn-footer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.inn-footer ul li { list-style: none; padding: 0; margin: 0; }
.inn-footer ul a,
.inn-footer ul li a {
  font-family: var(--rh-font-sans);
  font-size: 14px;
  color: var(--rh-text-muted);
  text-decoration: none;
  transition: color .2s;
}
.inn-footer ul a:hover,
.inn-footer ul li a:hover { color: var(--rh-primary); }

.inn-footer-compliance {
  background: var(--rh-bg);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-r-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}
.inn-footer-compliance p {
  font-family: var(--rh-font-sans);
  font-size: 12px;
  color: var(--rh-text-muted);
  line-height: 1.7;
  margin: 0;
}
.inn-footer-compliance strong { color: var(--rh-primary); font-weight: 500; }

.inn-footer-bottom {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rh-border);
}
@media (min-width: 768px) {
  .inn-footer-bottom { flex-direction: row; justify-content: space-between; }
}
.inn-footer-bottom span,
.inn-footer-bottom a {
  font-family: var(--rh-font-sans);
  font-size: 12px;
  color: var(--rh-text-muted);
  text-decoration: none;
}
.inn-footer-bottom a:hover { color: var(--rh-primary); }
.inn-footer-legal {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem;
}
.inn-footer-status { display: flex; align-items: center; gap: 8px; }
.inn-footer-status .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--rh-accent-dark);
  animation: innPulse 2.4s ease-in-out infinite;
}
.inn-footer-status span {
  font-family: var(--rh-font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--rh-primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
@keyframes innPulse{0%,100%{opacity:1}50%{opacity:.5}}

/* ══════════════════════════════════════
   CONTACT BAR — floating capsule buttons (Email + WhatsApp)
   v2.0.3: padded, rounded, animated
   ══════════════════════════════════════ */
.inn-fab-group{
    position:fixed;left:12px;right:12px;bottom:12px;z-index:40;
    display:flex;align-items:stretch;gap:10px;
    /* iOS safe-area (iPhone home indicator) */
    padding-bottom:env(safe-area-inset-bottom,0);
    /* Slide-up entrance animation — kicks in once after page load */
    animation:innFabSlideUp .6s cubic-bezier(.16,1,.3,1) .3s both;
    /* Let the gap between buttons pass clicks through to the page */
    pointer-events:none;
}
.inn-fab-group > *{pointer-events:auto}

.inn-fab{
    flex:1 1 0;min-width:0;
    display:flex;align-items:center;justify-content:center;gap:10px;
    height:56px;padding:0 16px;
    border-radius:14px;border:0;
    color:#fff;font-weight:700;font-size:15px;line-height:1;
    text-decoration:none;
    box-shadow:0 6px 20px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.08);
    position:relative;overflow:hidden;
    transition:transform .25s cubic-bezier(.16,1,.3,1),
               box-shadow .25s ease,
               filter .2s ease;
    -webkit-tap-highlight-color:transparent;
}
/* Subtle gradient highlight that fades in on hover */
.inn-fab::after{
    content:'';position:absolute;inset:0;
    border-radius:inherit;pointer-events:none;
    background:linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,0) 60%);
    opacity:0;transition:opacity .25s ease;
}
.inn-fab svg{
    width:22px;height:22px;flex-shrink:0;fill:currentColor;
    transition:transform .3s cubic-bezier(.34,1.56,.64,1);
}
.inn-fab-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Colors */
.inn-fab-email{background:var(--rh-primary)}            /* brand primary */
.inn-fab-wa,
.inn-wa{background:#25D366}                    /* WhatsApp green — .inn-wa kept for back-compat */

/* Hover effect — desktop pointers only (don't trigger on mobile tap-hold) */
@media (hover: hover) and (pointer: fine){
    .inn-fab:hover{
        transform:translateY(-3px);
        box-shadow:0 10px 28px rgba(0,0,0,.22), 0 4px 10px rgba(0,0,0,.12);
        filter:brightness(1.08);
    }
    .inn-fab:hover::after{opacity:1}
    .inn-fab:hover svg{transform:scale(1.15)}
}

/* Touch/click feedback */
.inn-fab:active{
    transform:scale(.97);
    box-shadow:0 3px 10px rgba(0,0,0,.18);
    transition-duration:.12s;
}

/* ── Icon micro-animations ────────────────────────
   WhatsApp icon: wiggle once every 5s (mimics a notification).
   Email icon: gentle float (like a paper plane drifting).
───────────────────────────────────────────────── */
.inn-fab-wa svg,
.inn-wa svg{
    transform-origin:center;
    animation:innWaWiggle 5s cubic-bezier(.36,.07,.19,.97) 1s infinite;
}
.inn-fab-email svg{
    animation:innEmailBob 3s ease-in-out infinite;
}
@keyframes innWaWiggle{
    0%, 80%, 100%{transform:rotate(0deg)}
    84%{transform:rotate(-14deg)}
    88%{transform:rotate(12deg)}
    92%{transform:rotate(-8deg)}
    96%{transform:rotate(4deg)}
}
@keyframes innEmailBob{
    0%, 100%{transform:translateY(0)}
    50%{transform:translateY(-2px)}
}
@keyframes innFabSlideUp{
    from{opacity:0;transform:translateY(110%)}
    to  {opacity:1;transform:translateY(0)}
}

/* Body spacer so page content is not hidden under the floating bar */
body.inn-has-contact-bar{padding-bottom:calc(56px + 12px + env(safe-area-inset-bottom,0))}

/* Mobile: tighter padding, smaller radius */
@media (max-width:767px){
    .inn-fab-group{left:10px;right:10px;bottom:10px;gap:8px}
    .inn-fab{height:52px;font-size:14px;gap:8px;padding:0 12px;border-radius:12px}
    .inn-fab svg{width:20px;height:20px}
    body.inn-has-contact-bar{padding-bottom:calc(52px + 10px + env(safe-area-inset-bottom,0))}
}

/* Desktop: more breathing room */
@media (min-width:1024px){
    .inn-fab-group{left:16px;right:16px;bottom:16px;gap:12px}
    .inn-fab{height:60px;font-size:16px;gap:12px;border-radius:16px}
    .inn-fab svg{width:24px;height:24px}
    body.inn-has-contact-bar{padding-bottom:calc(60px + 16px + env(safe-area-inset-bottom,0))}
}

/* Respect users who ask the OS to reduce motion */
@media (prefers-reduced-motion: reduce){
    .inn-fab-group,
    .inn-fab-wa svg,
    .inn-wa svg,
    .inn-fab-email svg{animation:none !important}
    .inn-fab,.inn-fab svg{transition:none}
}

/* Keep the cookie banner above the contact bar */
.inn-cookie{bottom:calc(76px + env(safe-area-inset-bottom,0))}
@media (min-width:1024px){
    .inn-cookie{bottom:calc(88px + env(safe-area-inset-bottom,0))}
}

/* Back to Top */


/* Cookie Banner */
.inn-cookie {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 60;
  background: var(--rh-bg);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-r-lg);
  box-shadow: 0 8px 32px rgba(13, 59, 46, 0.12);
  padding: 1.25rem 1.5rem;
  display: none; max-width: 380px; width: calc(100% - 2rem);
}
.inn-cookie-inner { display: flex; flex-direction: column; gap: .75rem; }
@media (max-width: 480px) { .inn-cookie { right: 1rem; left: 1rem; max-width: none; } }
.inn-cookie-text { flex: 1; }
.inn-cookie-text strong {
  font-size: 15px;
  color: var(--rh-primary);
  font-family: var(--rh-font-serif);
  font-weight: 600;
}
.inn-cookie-text p {
  font-size: 13px;
  color: var(--rh-text-muted);
  margin-top: 6px;
  font-family: var(--rh-font-sans);
  line-height: 1.6;
}
.inn-cookie-text a { color: var(--rh-primary); text-decoration: underline; }
.inn-cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.inn-cookie-btns button {
  padding: 9px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.02em;
  cursor: pointer; transition: all .2s;
  font-family: var(--rh-font-sans);
  flex: 1;
}
.inn-cookie-ess {
  background: none;
  border: 1px solid var(--rh-border-strong);
  color: var(--rh-text);
}
.inn-cookie-ess:hover {
  border-color: var(--rh-primary);
  color: var(--rh-primary);
}
.inn-cookie-all {
  background: var(--rh-primary);
  border: 1px solid var(--rh-primary);
  color: var(--rh-text-on-dark);
}
.inn-cookie-all:hover { background: var(--rh-primary-light); border-color: var(--rh-primary-light); }

/* Drawer Logo (#18) */
.inn-drawer-logo{display:flex;align-items:center}
.inn-drawer-logo img{max-height:36px;width:auto;display:block}

/* ── Product Grid: 4 cols desktop / 2 cols mobile ── */
.inn-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 768px) {
    .inn-product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── COA Marquee Card ── */
.coa-card {
    flex-shrink: 0;
    width: 200px;
    cursor: pointer;
    text-decoration: none;
    display: block;
}
.coa-card-img {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(214, 209, 198,.3);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    aspect-ratio: 210 / 297;   /* A4 portrait */
    position: relative;
}
.coa-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.coa-card:hover .coa-card-img img { transform: scale(1.04); }
.coa-card-title {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--rh-primary);
    text-align: center;
    line-height: 1.4;
    padding: 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ╔═══════════════════════════════════════════════════════════════╗
   ║   v3.x SHARED EDITORIAL STYLES                                ║
   ║   Moved from front-page.css so internal pages (About/Contact/ ║
   ║   Blog/Article/Products/PDP) get the same .rh-* classes.      ║
   ╚═══════════════════════════════════════════════════════════════╝ */

/* ════════════════════════════════════════════════════════════
   PHASE 2 — Home page sections (Modern Pantry editorial)
   ════════════════════════════════════════════════════════════ */

/* ─── Shared section primitives ─── */
.rh-section {
  padding: 6rem 1.5rem;
  position: relative;
}
@media (min-width: 768px) { .rh-section { padding: 7rem 2rem; } }
@media (min-width: 1280px) { .rh-section { padding: 8rem 3rem; } }

.rh-wrap {
  max-width: 80rem;
  margin: 0 auto;
}
.rh-narrow { max-width: 48rem; }

.rh-eyebrow {
  font-family: var(--rh-font-sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--rh-accent-dark);
  margin-bottom: 1.25rem;
}
.rh-eyebrow-light { color: var(--rh-accent); }

.rh-h2 {
  font-family: var(--rh-font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--rh-primary);
  margin: 0 0 1.25rem;
}

.rh-lede {
  font-family: var(--rh-font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--rh-text-muted);
  margin: 0 0 3rem;
  max-width: 50ch;
}
.rh-lede-left { margin-left: 0; }

.rh-section-head { margin-bottom: 3.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
@media (min-width: 768px) {
  .rh-section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2rem; }
  .rh-section-head > div:first-child { flex: 1; max-width: 38rem; }
  .rh-section-head .rh-lede { margin-bottom: 0; }
}
.rh-section-head-center { text-align: center; align-items: center; max-width: 42rem; margin-left: auto; margin-right: auto; }
.rh-section-head-center .rh-lede { margin-left: auto; margin-right: auto; }

.rh-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--rh-font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--rh-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--rh-primary);
  padding-bottom: 2px;
  transition: gap 0.2s, color 0.2s;
}
.rh-link-arrow:hover { gap: 0.75rem; color: var(--rh-primary-light); }

.rh-mt-lg { margin-top: 2rem; }

/* ─── 02.5 Certifications ─── */
.rh-certs {
  padding-top: 4rem;
  padding-bottom: 4rem;
  text-align: center;
  border-bottom: 1px solid var(--rh-border);
}
.rh-cert-row {
  font-family: var(--rh-font-serif);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 400;
  font-style: italic;
  color: var(--rh-primary);
  line-height: 1.8;
  margin: 0 0 1rem;
}
.rh-cert-row .rh-dot {
  display: inline-block;
  margin: 0 0.75em;
  color: var(--rh-accent-dark);
  font-style: normal;
}
.rh-cert-tag {
  font-family: var(--rh-font-sans);
  font-size: 13px;
  color: var(--rh-text-muted);
  margin: 0;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* ─── 03 Stats Strip ─── */
.rh-stats {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: var(--rh-surface-alt);
}
.rh-stats-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 2.5rem;
  text-align: center;
}
.rh-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.rh-stat-num {
  font-family: var(--rh-font-serif);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1;
  color: var(--rh-primary);
  letter-spacing: -0.01em;
}
.rh-stat-label {
  font-family: var(--rh-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rh-text-muted);
}
.rh-stat-sep {
  display: none;
  width: 1px;
  height: 32px;
  background: var(--rh-border-strong);
}
@media (min-width: 768px) {
  .rh-stat-sep { display: block; }
}

/* ─── 04 Features (3 editorial) ─── */
.rh-features {
  text-align: center;
}
.rh-features .rh-eyebrow,
.rh-features .rh-h2,
.rh-features .rh-lede {
  text-align: center;
}
.rh-features .rh-lede {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}
.rh-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: left;
  max-width: 42rem;
  margin: 0 auto;
}
.rh-feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rh-border);
}
.rh-feature-item:last-child { border-bottom: 0; padding-bottom: 0; }
.rh-feature-num {
  font-family: var(--rh-font-serif);
  font-size: 2.25rem;
  font-weight: 500;
  font-style: italic;
  color: var(--rh-accent-dark);
  line-height: 1;
  min-width: 3rem;
}
.rh-feature-title {
  font-family: var(--rh-font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--rh-primary);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}
.rh-feature-text {
  font-family: var(--rh-font-sans);
  font-size: 15px;
  color: var(--rh-text-muted);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 640px) {
  .rh-feature-item { grid-template-columns: 1fr; gap: 0.75rem; }
  .rh-feature-num { font-size: 1.5rem; }
}

/* ─── 14 Origin Banner (full-bleed) ─── */
.rh-origin {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  max-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--rh-primary-dark);
}
.rh-origin-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: rh-ken-burns 28s ease-out infinite alternate;
}
.rh-origin-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 31, 24, 0.75) 0%,
    rgba(5, 31, 24, 0.45) 50%,
    rgba(5, 31, 24, 0.25) 100%
  );
}
.rh-origin-content {
  position: relative;
  z-index: 2;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  color: var(--rh-text-on-dark);
}
.rh-origin-title {
  font-family: var(--rh-font-serif);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--rh-text-on-dark);
  margin: 0 0 1.5rem;
}
.rh-origin-text {
  font-family: var(--rh-font-sans);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.7;
  color: rgba(250, 247, 242, 0.85);
  max-width: 46ch;
  margin: 0 0 2.5rem;
}
.rh-cta-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--rh-font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--rh-primary-dark);
  background: var(--rh-accent);
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.15s;
}
.rh-cta-light:hover { background: var(--rh-accent-dark); }
.rh-cta-light:active { transform: scale(0.97); }

/* ─── 05 Featured Products (magazine grid) ─── */
.rh-featured-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .rh-featured-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
  }
  .rh-featured-hero {
    grid-row: span 2;
  }
}
@media (min-width: 1024px) {
  .rh-featured-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .rh-featured-hero {
    grid-row: span 2;
    grid-column: span 1;
  }
}
.rh-featured-card {
  display: block;
  background: var(--rh-surface);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-r-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.rh-featured-card:hover {
  transform: translateY(-2px);
  border-color: var(--rh-border-strong);
  box-shadow: 0 12px 32px rgba(13, 59, 46, 0.08);
}
.rh-featured-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--rh-surface-alt);
}
.rh-featured-hero .rh-featured-img { aspect-ratio: 4 / 5; }
.rh-featured-small .rh-featured-img { aspect-ratio: 4 / 3; }
.rh-featured-meta {
  padding: 1.25rem 1.5rem 1.5rem;
}
.rh-featured-hero .rh-featured-meta { padding: 1.75rem 2rem 2rem; }
.rh-featured-title {
  font-family: var(--rh-font-serif);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--rh-primary);
  margin: 0;
  line-height: 1.3;
}
.rh-featured-hero .rh-featured-title {
  font-size: 1.5rem;
}
.rh-featured-excerpt {
  font-family: var(--rh-font-sans);
  font-size: 14px;
  color: var(--rh-text-muted);
  line-height: 1.6;
  margin: 0.75rem 0 0;
}

/* ─── 06 Quality Showcase (left text + right 2 photos) ─── */
.rh-quality {
  background: var(--rh-surface-alt);
}
.rh-quality-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .rh-quality-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}
.rh-spec-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.rh-spec-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rh-border);
}
.rh-spec-row:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 640px) {
  .rh-spec-row { grid-template-columns: 14rem 1fr; gap: 2rem; }
}
.rh-spec-label {
  font-family: var(--rh-font-serif);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--rh-primary);
  letter-spacing: -0.005em;
  margin: 0;
}
.rh-spec-text {
  font-family: var(--rh-font-sans);
  font-size: 14px;
  color: var(--rh-text-muted);
  line-height: 1.65;
  margin: 0;
}
.rh-quality-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}
.rh-quality-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--rh-border);
  border-radius: var(--rh-r-lg);
  aspect-ratio: 4 / 5;
}
.rh-quality-img-bot { margin-top: 3rem; }

/* ─── 07 Categories (3 cards, refined) ─── */
.rh-cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .rh-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.rh-cat-card {
  display: flex;
  flex-direction: column;
  background: var(--rh-surface);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-r-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.rh-cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--rh-border-strong);
  box-shadow: 0 12px 32px rgba(13, 59, 46, 0.08);
}
.rh-cat-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--rh-surface-alt);
}
.rh-cat-body { padding: 1.75rem 1.75rem 2rem; display: flex; flex-direction: column; flex: 1; }
.rh-cat-title {
  font-family: var(--rh-font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--rh-primary);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}
.rh-cat-desc {
  font-family: var(--rh-font-sans);
  font-size: 14px;
  color: var(--rh-text-muted);
  line-height: 1.65;
  margin: 0 0 1.25rem;
  flex: 1;
}
.rh-cat-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.rh-cat-tags li {
  font-family: var(--rh-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--rh-primary);
  background: var(--rh-accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.rh-cat-link {
  font-family: var(--rh-font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--rh-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}
.rh-cat-card:hover .rh-cat-link { gap: 0.7rem; }

/* ─── 08 How We Ship (timetable) ─── */
.rh-ship {
  background: var(--rh-surface-alt);
}
.rh-timetable {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .rh-timetable { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; } }
.rh-tt-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.rh-tt-num {
  font-family: var(--rh-font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1;
  color: var(--rh-accent-dark);
}
.rh-tt-rule {
  width: 100%;
  height: 1px;
  background: var(--rh-border-strong);
}
.rh-tt-title {
  font-family: var(--rh-font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--rh-primary);
  margin: 0;
  line-height: 1.25;
}
.rh-tt-text {
  font-family: var(--rh-font-sans);
  font-size: 13px;
  color: var(--rh-text-muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.rh-tt-time {
  font-family: var(--rh-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rh-accent-dark);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ─── 09 Solutions (alternating editorial sections) ─── */
.rh-sol-list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.rh-sol-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .rh-sol-item { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .rh-sol-flip .rh-sol-img { order: 2; }
}
.rh-sol-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--rh-border);
  aspect-ratio: 4 / 3;
  border-radius: var(--rh-r-lg);
}
.rh-sol-content { display: flex; flex-direction: column; }
.rh-sol-tag {
  font-family: var(--rh-font-serif);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--rh-accent-dark);
  margin-bottom: 1rem;
}
.rh-sol-title {
  font-family: var(--rh-font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--rh-primary);
  margin: 0 0 1rem;
  line-height: 1.2;
}
.rh-sol-text {
  font-family: var(--rh-font-sans);
  font-size: 15px;
  color: var(--rh-text-muted);
  line-height: 1.7;
  margin: 0 0 1.75rem;
}
.rh-sol-content .rh-link-arrow { align-self: flex-start; }

/* ─── 15 FAQ (serif numbered, no chevron) ─── */
.rh-faq {
  background: var(--rh-surface-alt);
}
.rh-faq .rh-eyebrow,
.rh-faq .rh-h2 {
  text-align: center;
}
.rh-faq .rh-h2 { margin-bottom: 3rem; }
.rh-faq-list {
  display: flex;
  flex-direction: column;
}
.rh-faq-item {
  border-top: 1px solid var(--rh-border);
}
.rh-faq-item:last-child { border-bottom: 1px solid var(--rh-border); }
.rh-faq-summary {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.75rem 0;
  cursor: pointer;
  list-style: none;
}
.rh-faq-summary::-webkit-details-marker { display: none; }
.rh-faq-num {
  font-family: var(--rh-font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  font-style: italic;
  color: var(--rh-accent-dark);
  line-height: 1;
}
.rh-faq-q {
  font-family: var(--rh-font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--rh-primary);
  line-height: 1.3;
}
.rh-faq-toggle {
  font-family: var(--rh-font-sans);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--rh-primary);
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.rh-faq-item[open] .rh-faq-toggle { transform: rotate(45deg); }
.rh-faq-answer {
  padding: 0 0 1.75rem 4.25rem;
  margin: 0;
}
.rh-faq-answer p {
  font-family: var(--rh-font-sans);
  font-size: 15px;
  color: var(--rh-text-muted);
  line-height: 1.75;
  margin: 0;
  max-width: 56ch;
}
@media (max-width: 640px) {
  .rh-faq-summary { grid-template-columns: 2.5rem 1fr auto; gap: 0.75rem; }
  .rh-faq-q { font-size: 1rem; }
  .rh-faq-answer { padding-left: 0; }
}

/* ─── 11 Form section restyle (cream letterhead) ─── */
.bg-surface-container-low { background: var(--rh-surface-alt) !important; }
/* (The inquiry form's existing structure stays. CSS overrides via tokens. ) */

/* ─── 11 Form Section (cream letterhead) ─── */
.rh-form-section {
  background: var(--rh-surface-alt);
  padding-top: 5rem;
  padding-bottom: 7rem;
}
.rh-form-frame {
  background: var(--rh-bg);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .rh-form-frame { grid-template-columns: 1fr 1.1fr; } }

.rh-form-img-wrap {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--rh-surface-alt);
}
.rh-form-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.rh-form-contact-card {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-r-md);
  padding: 1rem 1.25rem;
  min-width: 240px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rh-form-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rh-font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--rh-primary);
  text-decoration: none;
  transition: color 0.2s;
}
.rh-form-contact-row:hover { color: var(--rh-primary-light); }
.rh-form-contact-note {
  font-family: var(--rh-font-sans);
  font-size: 11px;
  color: var(--rh-text-muted);
  line-height: 1.55;
  border-top: 1px solid var(--rh-border);
  padding-top: 8px;
  margin: 2px 0 0;
}

.rh-form-body {
  padding: 3rem 2.5rem;
}
@media (min-width: 1024px) { .rh-form-body { padding: 4rem 3.5rem; } }

.rh-form-title {
  font-family: var(--rh-font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--rh-primary);
  margin: 0 0 1rem;
  line-height: 1.2;
}
.rh-form-lede {
  font-family: var(--rh-font-sans);
  font-size: 15px;
  color: var(--rh-text-muted);
  line-height: 1.65;
  margin: 0 0 2.5rem;
  max-width: 42ch;
}

.rh-form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.rh-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .rh-form-row { grid-template-columns: 1fr 1fr; } }

.rh-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rh-form-label {
  font-family: var(--rh-font-serif);
  font-size: 13px;
  font-style: italic;
  font-weight: 400;
  color: var(--rh-text);
  letter-spacing: 0.01em;
}
.rh-form-input {
  font-family: var(--rh-font-sans);
  font-size: 15px;
  color: var(--rh-text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rh-border-strong);
  padding: 8px 0 10px;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}
.rh-form-input::placeholder {
  color: var(--rh-text-soft);
  font-family: var(--rh-font-sans);
  opacity: 0.9;
}
.rh-form-input:focus {
  border-bottom-color: var(--rh-primary);
}
.rh-form-textarea {
  resize: vertical;
  min-height: 6rem;
  line-height: 1.6;
}

.rh-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: var(--rh-primary);
  color: var(--rh-text-on-dark);
  border: 0;
  font-family: var(--rh-font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 18px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s;
  margin-top: 1rem;
}
.rh-form-submit:hover { background: var(--rh-primary-light); }
.rh-form-submit:active { transform: scale(0.98); }
.rh-form-submit:disabled { opacity: 0.7; cursor: wait; }

.rh-form-legal {
  font-family: var(--rh-font-sans);
  font-size: 11px;
  color: var(--rh-text-soft);
  line-height: 1.55;
  margin: 0;
  text-align: center;
}

.rh-form-success {
  text-align: center;
  padding: 3rem 1rem;
}
.rh-form-success.hidden { display: none; }

/* Validation highlight (keeps existing fpHighlight() JS working) */
.rh-form-input.rh-form-error,
.rh-form-input[style*="border"]:not([style*="border-bottom-color"]) {
  border-bottom-color: var(--rh-accent-dark);
}

/* ════════════════════════════════════════════════════════════
   PHASE 3 — Internal pages (About / Contact / Archive / Single)
   ════════════════════════════════════════════════════════════ */

/* ─── Shared page hero (used by About / Contact / Archive) ─── */
.rh-page-hero {
  background: var(--rh-bg);
  padding: 7rem 1.5rem 4rem;
}
@media (min-width: 768px) { .rh-page-hero { padding: 9rem 2rem 5rem; } }
@media (min-width: 1280px) { .rh-page-hero { padding: 10rem 3rem 6rem; } }

.rh-page-title {
  font-family: var(--rh-font-serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--rh-primary);
  margin: 0 0 1.25rem;
  max-width: 18ch;
}
.rh-page-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--rh-accent-dark);
}
.rh-page-lede {
  font-family: var(--rh-font-sans);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--rh-text-muted);
  margin: 0 0 2rem;
  max-width: 52ch;
}
.rh-page-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

/* ─── Breadcrumb ─── */
.rh-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--rh-font-sans);
  font-size: 12px;
  color: var(--rh-text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.rh-breadcrumb a {
  color: var(--rh-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.rh-breadcrumb a:hover { color: var(--rh-primary); }
.rh-breadcrumb span[aria-hidden] { color: var(--rh-border-strong); }
.rh-breadcrumb-current { color: var(--rh-primary); }

/* ─── About: Story 2-col with floating tag ─── */
.rh-about-story { padding-top: 4rem; padding-bottom: 6rem; }
.rh-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .rh-story-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.rh-prose p {
  font-family: var(--rh-font-sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--rh-text-muted);
  margin: 0 0 1.25rem;
}
.rh-prose p:last-child { margin-bottom: 0; }

.rh-story-img-wrap {
  position: relative;
}
.rh-story-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--rh-r-lg);
}
.rh-story-tag {
  position: absolute;
  bottom: 1.5rem; left: -1rem;
  background: var(--rh-bg);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-r-md);
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 24px rgba(13, 59, 46, 0.06);
}
.rh-story-tag-num {
  font-family: var(--rh-font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--rh-primary);
  line-height: 1;
}
.rh-story-tag-label {
  font-family: var(--rh-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rh-text-muted);
  margin-top: 4px;
}

/* ─── About: Timeline ─── */
.rh-about-timeline { background: var(--rh-surface-alt); }
.rh-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.rh-tl-item {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rh-border);
  align-items: baseline;
}
.rh-tl-item:first-child { border-top: 0; padding-top: 0; }
.rh-tl-year {
  font-family: var(--rh-font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  color: var(--rh-accent-dark);
  line-height: 1;
}
.rh-tl-current .rh-tl-year { color: var(--rh-primary); font-weight: 600; }
.rh-tl-title {
  font-family: var(--rh-font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--rh-primary);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.rh-tl-desc {
  font-family: var(--rh-font-sans);
  font-size: 15px;
  color: var(--rh-text-muted);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 640px) {
  .rh-tl-item { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ─── About: Team ─── */
.rh-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) { .rh-team-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.rh-team-card { text-align: left; }
.rh-team-img-wrap {
  aspect-ratio: 3 / 4;
  background: var(--rh-surface-alt);
  border-radius: var(--rh-r-lg);
  overflow: hidden;
  margin-bottom: 1rem;
}
.rh-team-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.rh-team-card:hover .rh-team-img { transform: scale(1.04); }
.rh-team-img-placeholder { width: 100%; height: 100%; background: var(--rh-border); }
.rh-team-name {
  font-family: var(--rh-font-serif);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--rh-primary);
  margin: 0 0 0.25rem;
}
.rh-team-role {
  font-family: var(--rh-font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rh-accent-dark);
  margin: 0 0 0.5rem;
}
.rh-team-desc {
  font-family: var(--rh-font-sans);
  font-size: 13px;
  color: var(--rh-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── About: CTA Card ─── */
.rh-about-cta { background: var(--rh-bg); }
.rh-cta-card {
  background: var(--rh-surface-alt);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-r-lg);
  padding: 4rem 2.5rem;
  text-align: center;
}
.rh-cta-card .rh-h2 { text-align: center; margin-bottom: 1rem; }
.rh-cta-card .rh-lede { text-align: center; margin-left: auto; margin-right: auto; max-width: 42ch; margin-bottom: 2rem; }

/* ─── Contact page ─── */
.rh-contact-section { padding-top: 2rem; }
.rh-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .rh-contact-grid { grid-template-columns: 1.5fr 1fr; gap: 4rem; } }
.rh-contact-form-frame {
  background: var(--rh-bg);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-r-lg);
  padding: 3rem 2.5rem;
}
@media (min-width: 1024px) { .rh-contact-form-frame { padding: 4rem 3.5rem; } }
.rh-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-family: var(--rh-font-sans);
  font-size: 13px;
  color: var(--rh-text-muted);
  line-height: 1.6;
}
.rh-form-consent input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 3px;
  accent-color: var(--rh-primary);
  flex-shrink: 0;
}
.rh-link-underline {
  color: var(--rh-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rh-form-input select,
select.rh-form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%231F3D2B' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 1.25em;
  padding-right: 2rem;
}

.rh-contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}
@media (min-width: 1024px) {
  .rh-contact-aside { position: sticky; top: 100px; align-self: start; }
}
.rh-contact-block {
  background: var(--rh-bg);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-r-lg);
  padding: 2rem;
}
.rh-contact-block .rh-eyebrow { margin-bottom: 1.5rem; }
.rh-contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.rh-contact-list li { display: flex; flex-direction: column; gap: 0.25rem; }
.rh-contact-label {
  font-family: var(--rh-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rh-text-muted);
}
.rh-contact-value {
  font-family: var(--rh-font-serif);
  font-size: 1rem;
  color: var(--rh-primary);
  text-decoration: none;
  transition: color 0.2s;
}
.rh-contact-value:hover { color: var(--rh-primary-light); }
.rh-contact-value-soft {
  font-family: var(--rh-font-sans);
  font-size: 14px;
  color: var(--rh-text-muted);
}
.rh-contact-highlight {
  background: var(--rh-primary);
  color: var(--rh-text-on-dark);
  text-align: center;
  border-color: var(--rh-primary);
}
.rh-contact-highlight-num {
  font-family: var(--rh-font-serif);
  font-size: 3rem;
  font-weight: 500;
  color: var(--rh-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.rh-contact-highlight-label {
  font-family: var(--rh-font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.75);
}
.rh-contact-faq { background: var(--rh-bg); }

/* ─── Archive page (hero only — rest uses existing styles via tokens) ─── */
.rh-archive-hero {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rh-border);
}
.rh-archive-hero .rh-page-title { font-size: clamp(2.25rem, 4vw, 3rem); }
.rh-archive-hero .rh-page-lede { font-size: 1rem; margin-bottom: 0; }

/* ─── Single Product (PDP) ─── */
.rh-pdp-info {
  padding: 1rem 0;
}
.rh-pdp-breadcrumb { margin-bottom: 2rem; }

.rh-pdp-title {
  font-family: var(--rh-font-serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.015em;
  color: var(--rh-primary);
  margin: 0 0 1rem;
  line-height: 1.2;
}
.rh-pdp-lede {
  font-family: var(--rh-font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--rh-text-muted);
  margin: 0 0 1.75rem;
}
.rh-pdp-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-family: var(--rh-font-sans);
  font-size: 12px;
  color: var(--rh-text-muted);
  margin-bottom: 2.5rem;
}
.rh-pdp-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.rh-pdp-stock-in { color: var(--rh-primary); }
.rh-pdp-stock-out { color: var(--rh-accent-dark); }
.rh-pdp-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: currentColor;
}
.rh-pdp-status-sep { color: var(--rh-border-strong); }
.rh-pdp-status-text { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }

.rh-pdp-specs {
  margin: 0 0 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rh-border);
  border-bottom: 1px solid var(--rh-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rh-pdp-spec {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
}
.rh-pdp-spec dt {
  font-family: var(--rh-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rh-text-muted);
}
.rh-pdp-spec dd {
  font-family: var(--rh-font-serif);
  font-size: 15px;
  color: var(--rh-primary);
  margin: 0;
}

.rh-pdp-section-label {
  font-family: var(--rh-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rh-text-muted);
  margin-bottom: 0.75rem;
}
.rh-pdp-sizes { margin-bottom: 2.5rem; }
.rh-pdp-size-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rh-pdp-size {
  font-family: var(--rh-font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--rh-primary);
  background: var(--rh-bg);
  border: 1px solid var(--rh-border-strong);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.rh-pdp-size:hover { border-color: var(--rh-primary); }
.rh-pdp-size.is-selected {
  background: var(--rh-primary);
  color: var(--rh-text-on-dark);
  border-color: var(--rh-primary);
}

.rh-pdp-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
}
.rh-pdp-cta-primary { padding: 18px 32px; }

.rh-pdp-trust {
  padding-top: 1.5rem;
  border-top: 1px solid var(--rh-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.rh-pdp-trust-item {
  font-family: var(--rh-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rh-text-muted);
  position: relative;
}
.rh-pdp-trust-item::after {
  content: '·';
  position: absolute;
  right: -0.85rem;
  color: var(--rh-border-strong);
}
.rh-pdp-trust-item:last-child::after { display: none; }

/* ─── Misc fillers (marker classes, mostly semantic) ─── */
.rh-tl-body { min-width: 0; }
.rh-page-about, .rh-page-contact, .rh-page-single-product { display: block; }
.rh-about-stats, .rh-about-values, .rh-about-team, .rh-about-cta, .rh-about-story, .rh-about-timeline { /* section markers */ }

/* ════════════════════════════════════════════════════════════
   PHASE 4 — Blog list + Article reading
   ════════════════════════════════════════════════════════════ */

/* ─── Reading progress bar ─── */
.rh-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--rh-primary);
  z-index: 999;
  transition: width 0.15s linear;
  pointer-events: none;
}

/* ─── Blog hero refinement ─── */
.rh-blog-hero { padding-bottom: 2rem; }
.rh-blog-hero .rh-page-title { font-size: clamp(2.5rem, 5vw, 4rem); }

/* ─── Search + Category Filter ─── */
.rh-blog-filters {
  padding: 1.5rem 1.5rem 2rem;
  border-bottom: 1px solid var(--rh-border);
  background: var(--rh-bg);
}
@media (min-width: 768px) { .rh-blog-filters { padding: 1.5rem 2rem 2rem; } }
.rh-blog-filter-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .rh-blog-filter-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
}
.rh-blog-search-wrap {
  position: relative;
  width: 100%;
  max-width: 24rem;
}
.rh-blog-search {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rh-border-strong);
  padding: 10px 0;
  font-family: var(--rh-font-sans);
  font-size: 14px;
  color: var(--rh-text);
  outline: none;
  transition: border-color 0.2s;
}
.rh-blog-search:focus { border-bottom-color: var(--rh-primary); }
.rh-blog-search::placeholder {
  color: var(--rh-text-soft);
  font-style: italic;
}
.rh-blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.rh-blog-cat {
  font-family: var(--rh-font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--rh-text-muted);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.01em;
}
.rh-blog-cat:hover { color: var(--rh-primary); }
.rh-blog-cat.is-active {
  color: var(--rh-primary);
  border-bottom-color: var(--rh-primary);
}

/* ─── Featured Article (large hero card) ─── */
.rh-blog-featured-section { padding-top: 4rem; padding-bottom: 4rem; }
.rh-blog-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}
@media (min-width: 1024px) {
  .rh-blog-featured { grid-template-columns: 1.2fr 1fr; gap: 3.5rem; align-items: center; }
}
.rh-blog-featured:hover .rh-blog-featured-img { transform: scale(1.02); }
.rh-blog-featured-img-wrap {
  position: relative;
  border-radius: var(--rh-r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--rh-surface-alt);
}
.rh-blog-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.rh-blog-featured-placeholder { background: var(--rh-surface-alt); }
.rh-blog-featured-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--rh-bg);
  color: var(--rh-primary);
  font-family: var(--rh-font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.rh-blog-featured-meta { padding: 0; }
.rh-blog-featured-title {
  font-family: var(--rh-font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--rh-primary);
  line-height: 1.2;
  margin: 0 0 1rem;
}
.rh-blog-featured-excerpt {
  font-family: var(--rh-font-sans);
  font-size: 1rem;
  color: var(--rh-text-muted);
  line-height: 1.7;
  margin: 0 0 1.75rem;
}

/* ─── Blog Card (magazine list) ─── */
.rh-blog-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 2rem;
}
@media (min-width: 768px) { .rh-blog-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .rh-blog-list { grid-template-columns: repeat(3, 1fr); gap: 3.5rem 2rem; } }

.rh-blog-card { display: block; }
.rh-blog-card-link { display: block; text-decoration: none; }
.rh-blog-card-img-wrap {
  border-radius: var(--rh-r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--rh-surface-alt);
  margin-bottom: 1.25rem;
}
.rh-blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.rh-blog-card-link:hover .rh-blog-card-img { transform: scale(1.04); }

.rh-blog-card-cat {
  font-family: var(--rh-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rh-accent-dark);
  margin-bottom: 0.6rem;
}
.rh-blog-card-title {
  font-family: var(--rh-font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--rh-primary);
  line-height: 1.3;
  margin: 0 0 0.75rem;
  transition: color 0.2s;
}
.rh-blog-card-link:hover .rh-blog-card-title { color: var(--rh-primary-light); }
.rh-blog-card-excerpt {
  font-family: var(--rh-font-sans);
  font-size: 14px;
  color: var(--rh-text-muted);
  line-height: 1.6;
  margin: 0 0 1rem;
}
.rh-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--rh-font-sans);
  font-size: 12px;
  color: var(--rh-text-soft);
  letter-spacing: 0.02em;
}
.rh-blog-card-sep { color: var(--rh-border-strong); }

/* ─── Byline (used in featured + article) ─── */
.rh-blog-byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.rh-blog-byline-avatar {
  width: 36px; height: 36px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}
.rh-blog-byline-name {
  font-family: var(--rh-font-serif);
  font-size: 14px;
  color: var(--rh-primary);
  line-height: 1.2;
}
.rh-blog-byline-meta {
  font-family: var(--rh-font-sans);
  font-size: 12px;
  color: var(--rh-text-muted);
  margin-top: 2px;
}

/* ─── Pagination ─── */
.rh-blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rh-border);
}
.rh-blog-pagination .page-numbers {
  font-family: var(--rh-font-sans);
  font-size: 14px;
  color: var(--rh-text-muted);
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.rh-blog-pagination .page-numbers:hover { color: var(--rh-primary); }
.rh-blog-pagination .page-numbers.current {
  color: var(--rh-primary);
  font-weight: 500;
  border-bottom: 1px solid var(--rh-primary);
  border-radius: 0;
}
.rh-blog-pagination .page-numbers.dots { color: var(--rh-text-soft); }
.rh-blog-pagination .prev,
.rh-blog-pagination .next {
  font-family: var(--rh-font-sans);
  font-weight: 500;
  color: var(--rh-primary);
}

/* ─── Empty state ─── */
.rh-blog-empty {
  text-align: center;
  padding: 6rem 0;
}

/* ─── Newsletter ─── */
.rh-blog-newsletter { background: var(--rh-surface-alt); }
.rh-text-center { text-align: center; }
.rh-text-center .rh-h2 { margin-left: auto; margin-right: auto; }
.rh-text-center .rh-lede { margin-left: auto; margin-right: auto; max-width: 42ch; }

/* ════════════════════════════════════════════════════════════
   Single Article reading
   ════════════════════════════════════════════════════════════ */

/* ─── Article hero ─── */
.rh-article-hero { padding-bottom: 3rem; }
.rh-article-title {
  font-family: var(--rh-font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--rh-primary);
  margin: 0 0 1.5rem;
  max-width: 22ch;
}
.rh-article-lede {
  font-family: var(--rh-font-serif);
  font-style: italic;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.55;
  color: var(--rh-text-muted);
  margin: 0 0 2.5rem;
  max-width: 52ch;
  font-weight: 400;
}
.rh-article-byline {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rh-border);
}
.rh-article-byline-avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}
.rh-article-byline-name {
  font-family: var(--rh-font-serif);
  font-size: 1rem;
  color: var(--rh-primary);
}
.rh-article-byline-meta {
  font-family: var(--rh-font-sans);
  font-size: 13px;
  color: var(--rh-text-muted);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ─── Featured image ─── */
.rh-article-feature-img { padding: 1rem 1.5rem 3rem; }
@media (min-width: 768px) { .rh-article-feature-img { padding: 1rem 2rem 4rem; } }
.rh-article-img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  border-radius: var(--rh-r-lg);
  display: block;
}

/* ─── Article body (drop cap + editorial typography) ─── */
.rh-article-body-wrap { padding: 0 1.5rem 6rem; }
@media (min-width: 768px) { .rh-article-body-wrap { padding: 0 2rem 7rem; } }
.rh-article-body {
  font-family: var(--rh-font-serif);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--rh-text);
  max-width: 38rem;
  margin: 0 auto;
}

/* Drop cap on first paragraph */
.rh-article-body > p:first-of-type::first-letter {
  font-family: var(--rh-font-serif);
  font-weight: 500;
  float: left;
  font-size: 4.5em;
  line-height: 0.85;
  margin: 0.05em 0.1em 0 -0.05em;
  color: var(--rh-primary);
}

.rh-article-body p {
  margin: 0 0 1.5rem;
}
.rh-article-body p:last-child { margin-bottom: 0; }

.rh-article-body h2 {
  font-family: var(--rh-font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--rh-primary);
  margin: 3.5rem 0 1.25rem;
  line-height: 1.25;
  padding-top: 2rem;
  border-top: 1px solid var(--rh-border);
}
.rh-article-body h3 {
  font-family: var(--rh-font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--rh-primary);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}
.rh-article-body h4 {
  font-family: var(--rh-font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  font-style: italic;
  color: var(--rh-primary);
  margin: 2rem 0 0.75rem;
}

.rh-article-body a {
  color: var(--rh-primary);
  text-decoration: underline;
  text-decoration-color: var(--rh-border-strong);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.2s;
}
.rh-article-body a:hover { text-decoration-color: var(--rh-primary); }

.rh-article-body blockquote {
  border-left: 2px solid var(--rh-accent-dark);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--rh-primary);
  line-height: 1.55;
}

.rh-article-body ul,
.rh-article-body ol {
  padding-left: 1.5rem;
  margin: 0 0 1.5rem;
}
.rh-article-body li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.rh-article-body img {
  width: 100%;
  height: auto;
  border-radius: var(--rh-r-md);
  margin: 2rem 0;
}

.rh-article-body code {
  font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
  background: var(--rh-surface-alt);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--rh-primary-dark);
}

.rh-article-body pre {
  background: var(--rh-surface-alt);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-r-md);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
  margin: 2rem 0;
}
.rh-article-body pre code {
  background: transparent;
  padding: 0;
  font-size: inherit;
}

.rh-article-body hr {
  border: 0;
  border-top: 1px solid var(--rh-border);
  margin: 3rem auto;
  max-width: 6rem;
}

/* ─── Article tags ─── */
.rh-article-tags {
  margin: 3.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--rh-border);
  max-width: 38rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.rh-article-tags-label {
  font-family: var(--rh-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rh-text-muted);
  margin-right: 0.5rem;
}
.rh-article-tag {
  font-family: var(--rh-font-sans);
  font-size: 13px;
  color: var(--rh-primary);
  text-decoration: none;
  padding: 4px 12px;
  border: 1px solid var(--rh-border);
  border-radius: 999px;
  background: var(--rh-bg);
  transition: background-color 0.2s, border-color 0.2s;
}
.rh-article-tag:hover {
  background: var(--rh-surface-alt);
  border-color: var(--rh-border-strong);
}

/* ─── Related Articles section ─── */
.rh-article-related {
  background: var(--rh-surface-alt);
  border-top: 1px solid var(--rh-border);
}

/* ════════════════════════════════════════════════════════════
   Mobile regression — fine-tune small viewports
   ════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
  /* Page heros */
  .rh-page-hero { padding-top: 5.5rem; padding-bottom: 3rem; }
  .rh-page-title { font-size: clamp(2rem, 8vw, 2.5rem); }

  /* Sections tighter */
  .rh-section { padding: 4rem 1.25rem; }

  /* Stats row stacks 2x2 */
  .rh-stats-row { gap: 1.5rem; }
  .rh-stat-sep { display: none; }

  /* Origin Banner — smaller title on mobile */
  .rh-origin-title { font-size: clamp(3.5rem, 14vw, 5rem); }
  .rh-origin-content { padding: 0 1.5rem; }
  .rh-origin { height: 60vh; min-height: 380px; }

  /* Featured products — stack single column on phones */
  .rh-featured-hero .rh-featured-img { aspect-ratio: 16 / 11; }

  /* Quality showcase — image margin tighter */
  .rh-quality-img-bot { margin-top: 1.5rem; }

  /* Timetable — vertical stack with horizontal rule between */
  .rh-tt-step { padding-bottom: 1.5rem; border-bottom: 1px solid var(--rh-border); }
  .rh-tt-step:last-child { border-bottom: 0; }
  .rh-tt-rule { display: none; }

  /* Solutions — image first */
  .rh-sol-item, .rh-sol-flip { gap: 1.5rem; }
  .rh-sol-flip .rh-sol-img { order: 0; }

  /* Form */
  .rh-form-body { padding: 2.5rem 1.5rem; }
  .rh-form-row { gap: 1.25rem; }
  .rh-form-frame { grid-template-columns: 1fr; }
  .rh-form-img-wrap { min-height: 240px; aspect-ratio: 16/10; }

  /* Story tag positioning */
  .rh-story-tag { bottom: 1rem; left: 1rem; padding: 0.75rem 1.25rem; }
  .rh-story-tag-num { font-size: 1.5rem; }

  /* PDP specs - stack the dt/dd */
  .rh-pdp-spec { grid-template-columns: 1fr; gap: 0.25rem; }
  .rh-pdp-spec dt { letter-spacing: 0.12em; }

  /* Article — smaller drop cap on phones */
  .rh-article-body > p:first-of-type::first-letter { font-size: 3.5em; }
  .rh-article-body { font-size: 1rem; }
  .rh-article-body h2 { font-size: 1.5rem; padding-top: 1.5rem; margin-top: 2.5rem; }

  /* Section heads stack */
  .rh-section-head { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

/* Very small (under 380px) */
@media (max-width: 380px) {
  .rh-page-title { font-size: 1.875rem; }
  .rh-h2 { font-size: 1.625rem; }
  .rh-origin-title { font-size: 3rem; }
  .rh-section { padding: 3rem 1rem; }
  .rh-form-body { padding: 2rem 1.25rem; }
}

/* ╔═══════════════════════════════════════════════════════════════╗
   ║   v3.4 WIDTH SYSTEM — Unified text widths + bleed support     ║
   ║                                                               ║
   ║   5 standardized widths:                                      ║
   ║   • Prose body          38rem  (article reading)              ║
   ║   • Editorial paragraph 48rem  (Features / FAQ / Values)      ║
   ║   • Lede / subtitle     52ch   (hero / page ledes universal)  ║
   ║   • Standard container  80rem  (most sections)                ║
   ║   • Wide gallery        92rem  (Featured Products / grids)    ║
   ║   • Bleed (no max)      100%   (hero photos / banners)        ║
   ╚═══════════════════════════════════════════════════════════════╝ */

/* New: wider container for gallery sections */
.rh-wrap-wide {
  max-width: 92rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .rh-wrap-wide { padding: 0 2rem; } }
@media (min-width: 1280px) { .rh-wrap-wide { padding: 0 3rem; } }

/* New: full-bleed (no max-width, no padding) for poster/banner images */
.rh-wrap-bleed {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* New: figure that breaks out of its container to viewport edge */
.rh-bleed-right {
  /* Extends right edge of element to viewport right edge.
     Use on photo columns inside a 2-col grid. */
  margin-right: calc(-1 * max(0px, (100vw - 80rem) / 2 - 1.5rem));
}
@media (min-width: 1280px) {
  .rh-bleed-right {
    margin-right: calc(-1 * max(0px, (100vw - 80rem) / 2 - 3rem));
  }
}
@media (max-width: 1024px) {
  /* On mobile/tablet, don't bleed — keep contained */
  .rh-bleed-right { margin-right: 0; }
}

/* ─── Standardize text widths across ALL pages ─── */
/* All page-level ledes / heros */
.rh-page-lede,
.rh-hero-subtitle,
.rh-origin-text,
.rh-article-lede,
.rh-form-lede {
  max-width: 52ch;
}

/* All section ledes */
.rh-lede {
  max-width: 52ch;  /* was 50ch — unify with page lede */
}

/* All editorial-paragraph blocks */
.rh-feature-text,
.rh-spec-text,
.rh-sol-text,
.rh-tl-desc,
.rh-cat-desc {
  max-width: 56ch;  /* common editorial reading width */
}

/* All prose blocks (article body, About story) */
.rh-prose {
  max-width: 38rem;
}
.rh-prose p {
  max-width: 38rem;
}

/* Article body text width consistency */
.rh-article-body {
  max-width: 38rem;
}

/* Form labels and inputs stay full container width */
/* (no max-width needed — these are inside narrow form frame) */

/* ─── Make specific posters full-bleed ─── */

/* Article featured image: full viewport width edge-to-edge */
.rh-article-feature-img {
  padding: 0 0 3rem;  /* was: 1rem 1.5rem 3rem — remove side padding */
  width: 100%;
}
.rh-article-feature-img .rh-wrap {
  max-width: 100%;
  padding: 0;
}
.rh-article-img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: cover;
  border-radius: 0;  /* was rh-r-lg — flat at viewport edges */
  display: block;
  margin: 0 auto;
}

/* Featured Products section uses wider container */
.rh-featured .rh-wrap,
.rh-blog-featured-section .rh-wrap {
  max-width: 92rem;
}

/* About Story image extends to right viewport edge on desktop */
@media (min-width: 1024px) {
  .rh-story-grid {
    /* Override: allow right column to extend beyond container */
    grid-template-columns: 1fr 1.15fr;
  }
  .rh-story-img-wrap {
    margin-right: calc(-1 * max(0px, (100vw - 80rem) / 2 - 3rem));
  }
  .rh-story-img {
    border-radius: var(--rh-r-lg) 0 0 var(--rh-r-lg);
  }
}

/* Blog featured article — already full asymmetric, ensure image generous */
.rh-blog-featured-img-wrap {
  aspect-ratio: 5 / 4;  /* slightly squarer = more visual presence */
}

/* Featured Products grid hero — taller aspect for cinematic feel */
@media (min-width: 1024px) {
  .rh-featured-hero .rh-featured-img {
    aspect-ratio: 3 / 4;  /* was 4/5 — taller, more poster-like */
  }
}

/* ─── Solutions: image extends slightly for editorial effect ─── */
@media (min-width: 1024px) {
  .rh-sol-item:not(.rh-sol-flip) .rh-sol-img {
    margin-left: calc(-1 * max(0px, (100vw - 80rem) / 2 - 2rem));
    border-radius: 0 var(--rh-r-lg) var(--rh-r-lg) 0;
  }
  .rh-sol-flip .rh-sol-img {
    margin-right: calc(-1 * max(0px, (100vw - 80rem) / 2 - 2rem));
    border-radius: var(--rh-r-lg) 0 0 var(--rh-r-lg);
  }
}

/* ─── Quality Showcase: right photos bleed to viewport right ─── */
@media (min-width: 1024px) {
  .rh-quality-imgs {
    margin-right: calc(-1 * max(0px, (100vw - 80rem) / 2 - 2rem));
  }
  .rh-quality-img-top,
  .rh-quality-img-bot {
    border-radius: var(--rh-r-lg) 0 0 var(--rh-r-lg);
  }
}

/* ─── Page Hero: keep text at 18-22ch, lede at 52ch (already set) ─── */
/* Make sure page titles don't get too wide on huge screens */
.rh-page-title { max-width: 20ch; }
.rh-article-title { max-width: 22ch; }
.rh-hero-title { max-width: 24ch; }
.rh-origin-title { max-width: none; }  /* big display word, no constraint */

/* ─── Stats Strip: keep numbers visible, cap container ─── */
.rh-stats-row {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Newsletter / CTA card: tighter ─── */
.rh-cta-card { max-width: 42rem; margin-left: auto; margin-right: auto; }

/* ─── Mobile: cancel all bleed overrides ─── */
@media (max-width: 1023px) {
  .rh-story-img-wrap,
  .rh-sol-item .rh-sol-img,
  .rh-quality-imgs {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .rh-story-img,
  .rh-sol-img,
  .rh-quality-img-top,
  .rh-quality-img-bot {
    border-radius: var(--rh-r-lg) !important;
  }
  .rh-article-img {
    border-radius: 0;  /* keep flat at edges on mobile too — cleaner */
  }
}
