/* RackingZone — global design system (every page loads this file)
   Palette: Happy Hues #8 (https://www.happyhues.co/palettes/8)
   background #f8f5f2 · headline #232323 · paragraph #222525 · main #fffffe
   highlight #078080 (used as #067474, see --teal) · secondary #f45d48 · stroke #232323
   Page-only styles go in /assets/css/pages/<page>.css. Component list: working/site-src/README.md */

:root {
  --bg: #f8f5f2;
  --main: #fffffe;
  --ink: #232323;
  --text: #222525;
  --muted: #5d6262;
  --teal: #067474; /* was #078080 (Happy Hues #8); darkened slightly for WCAG AA text contrast on #f8f5f2 and teal-soft */
  --teal-soft: #e3f1f0;
  --red: #f45d48;
  --red-dark: #c43a26; /* text-safe red: ≥4.5:1 on white, --bg and --red-soft */
  --red-soft: #fde9e5;
  --line: #e7e1da;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(35, 35, 35, .06);
  --shadow: 0 10px 30px rgba(35, 35, 35, .08);
  --shadow-lg: 0 24px 60px rgba(35, 35, 35, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-head: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; } /* in-page anchors land below the sticky header; components may set their own */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
a { color: var(--teal); transition: color .2s var(--ease); }
a:hover { color: var(--ink); text-decoration: none; }
/* inline links inside running text are underlined (WCAG 1.4.1: not identified by color alone) */
main :is(p, label, dd, td, small, .form-text, .notice, .check-list, .mk-pledges, .sv-checklist, .sg-ask, .ab-corr-steps, .ev-aside-box, .tl-assume) a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
main :is(p, label, dd, td, small, .form-text, .notice, .check-list, .mk-pledges, .sv-checklist, .sg-ask, .ab-corr-steps, .ev-aside-box, .tl-assume) a:not([class]):hover { text-decoration: underline; }
::selection { background: var(--red); color: #fff; }
img { max-width: 100%; }
.text-muted { color: var(--muted) !important; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-main { background: var(--main); }
@media (max-width: 767.98px) { .section { padding: 64px 0; } .section-sm { padding: 48px 0; } }


/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--red); }
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 800; line-height: 1.15; margin: .6rem 0 1rem; }
.section-lead { font-size: 1.08rem; color: var(--muted); max-width: 640px; }
.mark-red { color: var(--red); }
.underline-teal { background: linear-gradient(transparent 68%, rgba(7, 128, 128, .18) 68%); }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 700; letter-spacing: .02em; border-radius: 10px; padding: .7rem 1.35rem; transition: all .25s var(--ease); }
.btn:focus { box-shadow: 0 0 0 .2rem rgba(7, 128, 128, .25); }
.btn-quote { background: var(--red); color: #fff; border: 2px solid var(--red); position: relative; overflow: hidden; }
.btn-quote::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .35), transparent);
  transition: left .6s var(--ease);
}
.btn-quote:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(244, 93, 72, .35); }
.btn-quote:hover::after { left: 130%; }
.btn-teal { background: var(--teal); color: #fff; border: 2px solid var(--teal); }
.btn-teal:hover { background: #066a6a; border-color: #066a6a; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(7, 128, 128, .3); }
.btn-line { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn .bi-arrow-right { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .bi-arrow-right, .link-arrow:hover .bi-arrow-right { transform: translateX(4px); }
.link-arrow { font-family: var(--font-head); font-weight: 700; color: var(--teal); white-space: nowrap; }
.link-arrow .bi { display: inline-block; transition: transform .25s var(--ease); }


/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: .8rem; }
.topbar a { color: rgba(255, 255, 255, .78); }
.topbar a:hover { color: #fff; }
.topbar .sep { opacity: .35; margin: 0 .6rem; }

.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 254, .88);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.site-header .navbar { padding: 14px 0; transition: padding .3s var(--ease); }
.site-header.is-scrolled .navbar { padding: 8px 0; }
.brand-logo { height: 38px; width: auto; transition: height .3s var(--ease), transform .3s var(--ease); }
.site-header.is-scrolled .brand-logo { height: 32px; }
.navbar-brand:hover .brand-logo { transform: scale(1.03) rotate(-1deg); }

.site-header .nav-link {
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink) !important;
  padding: .5rem .95rem !important; position: relative;
}
.site-header .nav-link::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .25rem; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-header .nav-link:hover::after, .site-header .nav-item.show .nav-link::after { transform: scaleX(1); }
.site-header .dropdown-toggle::after { display: none; }
.site-header .nav-link .bi-chevron-down { font-size: .7rem; margin-left: .2rem; transition: transform .25s var(--ease); display: inline-block; }
.site-header .nav-item.show .bi-chevron-down { transform: rotate(180deg); }
.header-cta .btn { padding: .55rem 1.05rem; font-size: .92rem; white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) { .site-header .nav-link { padding: .5rem .7rem !important; font-size: .98rem; } .site-header .nav-link::after { left: .7rem; right: .7rem; } }

.dropdown-menu.mega {
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1.25rem; margin-top: .6rem; min-width: 560px; animation: dropIn .25s var(--ease);
}
.dropdown-menu.mega-sm { min-width: 300px; }
/* Desktop hover menus: an invisible bridge fills the gap between the nav link and the panel,
   so moving the mouse down to the submenu never leaves the .dropdown (which would close it). */
@media (min-width: 1200px) {
  .site-header .dropdown-menu.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
}
@keyframes dropIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mega-title { font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.mega .dropdown-item {
  border-radius: 8px; padding: .5rem .65rem; font-weight: 500; color: var(--ink);
  display: flex; align-items: center; gap: .6rem; white-space: normal; transition: background .2s, padding-left .2s var(--ease);
}
.mega .dropdown-item .bi { color: var(--teal); font-size: 1.05rem; }
.mega .dropdown-item:hover { background: var(--teal-soft); padding-left: .9rem; }
.mega .mega-foot { border-top: 1px solid var(--line); margin-top: .9rem; padding-top: .8rem; font-size: .9rem; }

@media (max-width: 1199.98px) {
  .dropdown-menu.mega { min-width: 0; box-shadow: none; border: 0; padding: .25rem 0 .5rem 1rem; margin: 0; animation: none; background: transparent; }
  .site-header .navbar-collapse { max-height: calc(100vh - 80px); overflow-y: auto; padding-bottom: 1rem; }
  .site-header .nav-link::after { display: none; }
  .header-cta { flex-direction: column; align-items: stretch !important; gap: .5rem; margin-top: .75rem; }
}
.navbar-toggler { border: 0; padding: .4rem; }
.navbar-toggler:focus { outline: none; box-shadow: 0 0 0 .2rem rgba(7, 128, 128, .2); }
.toggler-bars { display: inline-block; width: 26px; height: 18px; position: relative; }
.toggler-bars span { position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px; background: var(--ink); transition: all .3s var(--ease); }
.toggler-bars span:nth-child(1) { top: 0; } .toggler-bars span:nth-child(2) { top: 8px; } .toggler-bars span:nth-child(3) { top: 16px; }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(3) { top: 8px; transform: rotate(-45deg); }


/* ---------- Category cards ---------- */
.cat-card {
  display: block; height: 100%; background: var(--main); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.cat-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cat-card:hover .cat-media img, .cat-card:hover .cat-media .ph { transform: scale(1.07); }
.cat-media .tag {
  position: absolute; left: 12px; top: 12px; z-index: 2; background: rgba(255, 255, 254, .92); color: var(--ink);
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 6px;
}
.cat-body { padding: 1rem 1.1rem 1.15rem; }
.cat-body h3 { font-size: 1.12rem; margin: 0 0 .25rem; }
.cat-body p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.5; }
.cat-body .go { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); color: var(--ink); transition: all .3s var(--ease); flex: none; }
.cat-card:hover .go { background: var(--red); color: #fff; transform: rotate(-45deg); }

/* ---------- Image placeholder (data-prompt) ---------- */
.ph {
  position: relative; width: 100%; height: 100%; min-height: 160px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; text-align: center;
  color: var(--teal); font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  background:
    repeating-linear-gradient(-45deg, rgba(7, 128, 128, .06) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #eef5f4, #f6ece6);
  transition: transform .7s var(--ease);
}
.ph .bi { font-size: 2.2rem; opacity: .75; }
.ph::after { content: "Image placeholder"; font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(34, 37, 37, .45); }
.ph.ph-round { border-radius: 50%; min-height: 0; }
.ph.ph-round::after, .ph.ph-logo::after { display: none; }
.ph.ph-logo { min-height: 0; border-radius: 12px; }


/* ---------- Directory ---------- */
.filter-group + .filter-group { margin-top: 1.4rem; }
.filter-group .mega-title { margin-bottom: .6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .35rem; margin: 0 .35rem .5rem 0; padding: .4rem .85rem; border-radius: 999px;
  background: var(--main); border: 1px solid var(--line); color: var(--ink); font-size: .88rem; font-weight: 500;
  transition: all .22s var(--ease); cursor: pointer;
}
.chip:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .flag { font-size: 1rem; line-height: 1; }

.supplier-card {
  background: var(--main); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: flex; gap: 1rem; align-items: flex-start;
  transition: all .35s var(--ease); position: relative;
}
.supplier-card + .supplier-card { margin-top: 1rem; }
.supplier-card:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.supplier-card .logo-box { width: 72px; height: 72px; flex: none; }
.supplier-card .logo-box img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 12px; background: #fff; }
.supplier-card .btn { white-space: nowrap; }
@media (max-width: 575.98px) { .supplier-card .logo-box { width: 56px; height: 56px; } }
.supplier-card h4 { font-size: 1.1rem; margin: 0; }
.supplier-card .meta { font-size: .83rem; color: var(--muted); }
.supplier-card > .btn, .supplier-card > .link-arrow { flex-shrink: 0; white-space: nowrap; }
.badge-verified { display: inline-flex; align-items: center; gap: .25rem; background: var(--teal-soft); color: var(--teal); border-radius: 6px; padding: .12rem .45rem; font-size: .72rem; font-weight: 700; }
.rz-claimed { display: inline-flex; color: var(--teal); font-size: .9em; margin-right: .3rem; vertical-align: -.05em; }  /* "claimed by the company" mark before a listing name; unclaimed listings show nothing */
.badge-featured { display: inline-flex; align-items: center; gap: .25rem; background: var(--red-soft); color: var(--red-dark); border-radius: 6px; padding: .12rem .45rem; font-size: .72rem; font-weight: 700; }
.supplier-card .pills span { display: inline-block; font-size: .74rem; border: 1px solid var(--line); border-radius: 6px; padding: .05rem .45rem; margin: .35rem .25rem 0 0; color: var(--muted); }
.slot-card { border-style: dashed; background: transparent; }
.slot-card:hover { background: var(--main); }

/* ---------- Guides ---------- */
.guide-feature { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; height: 100%; color: #fff; box-shadow: var(--shadow); }
.guide-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.guide-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35, 35, 35, 0) 25%, rgba(35, 35, 35, .88) 100%); }
.guide-feature:hover img { transform: scale(1.06); }
.guide-feature .inner { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem; z-index: 2; }
.guide-feature h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; margin: .7rem 0 .5rem; }
.guide-feature p { color: rgba(255, 255, 255, .85); margin-bottom: 1rem; }
.guide-feature:hover { color: #fff; }
.kicker { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .22rem .55rem; border-radius: 6px; background: var(--teal); color: #fff; }
.kicker.red { background: var(--red); }
.kicker.ink { background: var(--ink); }
.kicker.soft { background: var(--teal-soft); color: var(--teal); }

.guide-item { display: flex; gap: 1rem; align-items: center; padding: 1.05rem 1.1rem; border-radius: var(--radius); background: var(--main); border: 1px solid var(--line); color: var(--ink); transition: all .3s var(--ease); }
.guide-item + .guide-item { margin-top: .75rem; }
.guide-item:hover { color: var(--ink); border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.guide-item .gi-icon { width: 46px; height: 46px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; background: var(--bg); color: var(--teal); transition: all .3s var(--ease); }
.guide-item:hover .gi-icon { background: var(--teal); color: #fff; }
.guide-item h4 { font-size: 1.02rem; margin: .15rem 0 0; line-height: 1.3; }
.guide-item .bi-arrow-up-right { margin-left: auto; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.guide-item:hover .bi-arrow-up-right { transform: translate(3px, -3px); color: var(--red); }

/* ---------- News ---------- */
.news-card { display: block; height: 100%; color: var(--ink); background: var(--main); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: all .35s var(--ease); }
.news-card:hover { color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.news-media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.news-card:hover .news-media img, .news-card:hover .news-media .ph { transform: scale(1.06); }
.news-media .kicker { position: absolute; left: 14px; top: 14px; z-index: 2; }
.news-body { padding: 1.2rem 1.3rem 1.4rem; }
.news-body h3 { font-size: 1.18rem; line-height: 1.3; margin: 0 0 .5rem; transition: color .2s; }
.news-card:hover h3 { color: var(--teal); }
.news-body p { color: var(--muted); font-size: .92rem; margin: 0; }
.news-body .by { font-size: .8rem; color: var(--muted); margin-top: .9rem; display: flex; align-items: center; gap: .5rem; }


.interview-card { display: flex; gap: 1.25rem; align-items: center; background: var(--main); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; height: 100%; color: var(--ink); transition: all .35s var(--ease); }
.interview-card:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.interview-card .avatar { width: 92px; height: 92px; flex: none; }
.interview-card .avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.interview-card blockquote { font-family: var(--font-head); font-size: 1.12rem; font-weight: 600; color: var(--ink); margin: .5rem 0 .4rem; line-height: 1.35; }

/* ---------- Trade shows ---------- */
.show-card { border-radius: var(--radius); padding: 1.3rem 1.35rem; background: var(--main); border: 1px solid var(--line); height: 100%; transition: all .3s var(--ease); display: block; color: var(--ink); }
.show-card:hover { color: var(--ink); border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow); }
.show-card .date { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--red); line-height: 1; }
.show-card h4 { font-size: 1.1rem; margin: .6rem 0 .15rem; }
.show-card .where { font-size: .85rem; color: var(--muted); }

/* ---------- Supplier CTA band ---------- */
.cta-band { position: relative; border-radius: 28px; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .82); padding: 64px 56px; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; line-height: 1.12; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 93, 72, .55), transparent 70%); filter: blur(10px); }
.cta-band::after { content: ""; position: absolute; left: -60px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(7, 128, 128, .55), transparent 70%); filter: blur(10px); }
.cta-band > .row { position: relative; z-index: 1; }
.benefit { display: flex; gap: .9rem; padding: 1rem; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); height: 100%; transition: all .3s var(--ease); }
.benefit:hover { background: rgba(255, 255, 255, .11); transform: translateY(-3px); }
.benefit .bi { font-size: 1.4rem; color: var(--red); }
.benefit h5 { color: #fff; font-size: 1.02rem; margin: 0 0 .2rem; }
.benefit p { margin: 0; font-size: .86rem; color: rgba(255, 255, 255, .7); }
@media (max-width: 767.98px) { .cta-band { padding: 44px 24px; border-radius: 20px; } }


/* ---------- Quote form ---------- */
.quote-wrap { background: var(--main); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.quote-side { background: var(--teal); color: rgba(255, 255, 255, .88); padding: 2.5rem 2.2rem; height: 100%; position: relative; overflow: hidden; }
.quote-side h2 { color: #fff; font-weight: 800; font-size: 2rem; line-height: 1.15; }
.quote-side::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .08); }
.quote-side ul { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.quote-side li { display: flex; gap: .6rem; margin-bottom: .8rem; }
.quote-side li .bi { color: #fff; }
.quote-form { padding: 2.4rem 2.2rem; }

/* ---------- Forms (.rz-form wraps a form[data-cms-form] + its .form-success panel) ---------- */
.rz-form label { font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: .3rem; }
.rz-form .form-control, .rz-form .custom-select {
  border: 1.5px solid var(--line); border-radius: 10px; height: 48px; font-size: .95rem; background-color: var(--bg); transition: all .2s var(--ease);
}
.rz-form textarea.form-control { height: auto; }
.rz-form .form-control:focus, .rz-form .custom-select:focus { border-color: var(--teal); background-color: #fff; box-shadow: 0 0 0 .2rem rgba(7, 128, 128, .12); }
.rz-form .consent { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.rz-form .custom-control-label::before { border-color: #bbb; }
.rz-form .custom-control-input:checked ~ .custom-control-label::before { background: var(--teal); border-color: var(--teal); }
.rz-form .form-text { font-size: .78rem; color: var(--muted); }
.rz-form .hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: none; text-align: center; padding: 3rem 1rem; }
.form-success .bi { font-size: 3rem; color: var(--teal); }
.rz-form.is-done form { display: none; }
.rz-form.is-done .form-success { display: block; animation: dropIn .4s var(--ease); }
.form-error { display: none; margin: 0 0 1rem; padding: .75rem 1rem; border-radius: 10px; background: var(--red-soft); color: #9b2c1c; font-size: .88rem; border: 1px solid rgba(244, 93, 72, .35); }
.form-error.show { display: flex; gap: .5rem; align-items: flex-start; }
.form-error a { color: #9b2c1c; text-decoration: underline; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn .spinner-border { width: 1rem; height: 1rem; border-width: .15em; vertical-align: -2px; }
@media (max-width: 767.98px) { .quote-side, .quote-form { padding: 2rem 1.4rem; } }


/* ---------- Footer ---------- */
.site-footer { background: var(--main); border-top: 1px solid var(--line); padding: 72px 0 28px; font-size: .92rem; }
.site-footer h6 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--ink); display: inline-block; transition: color .2s, transform .2s var(--ease); }
.site-footer a:hover { color: var(--red); transform: translateX(3px); }
.footer-logo { height: 34px; }
.newsletter { display: flex; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 5px; margin-top: 1rem; max-width: 380px; }
.newsletter input { flex: 1; border: 0; background: transparent; padding: 0 .75rem; outline: none; min-width: 0; }
.newsletter .btn { padding: .5rem .9rem; }
.newsletter:focus-within { border-color: var(--teal); box-shadow: 0 0 0 .2rem rgba(7, 128, 128, .18); }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex !important; align-items: center; justify-content: center; margin-right: .35rem; }
.social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-3px) !important; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.4rem; font-size: .82rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }

/* ---------- Mobile sticky CTA & back to top ---------- */
.mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1040; display: none; transform: translateY(140%); transition: transform .4s var(--ease); }
.mobile-cta.show { transform: none; }
.mobile-cta .btn { width: 100%; box-shadow: var(--shadow-lg); padding: .85rem; }
@media (max-width: 767.98px) { .mobile-cta { display: block; } body { padding-bottom: 76px; } }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; border: 0; z-index: 1035; opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .35s var(--ease); box-shadow: var(--shadow); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red); transform: translateY(-3px); }
@media (max-width: 767.98px) { .to-top { display: none; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.from-left { transform: translateX(-32px); }
.reveal.from-right { transform: translateX(32px); }
.reveal.zoom { transform: scale(.94); }
.reveal.is-visible { opacity: 1; transform: none; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--red), var(--teal)); z-index: 1050; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Mobile refinements ---------- */
main { overflow-x: clip; }
@media (max-width: 575.98px) {
  .cat-body { padding: .8rem .85rem .9rem; }
  .cat-body h3 { font-size: 1rem; }
  .cat-body p { font-size: .8rem; }
  .cat-body .go { display: none; }
  .section-title { font-size: 1.75rem; }
}

/* ---------- Positioning notes & email contact ---------- */
.listing-note { margin: 1rem 0 0; font-size: .86rem; color: var(--muted); display: flex; gap: .5rem; align-items: flex-start; }
.listing-note .bi { color: var(--teal); margin-top: .15rem; }
.quote-email { position: relative; z-index: 1; display: flex; align-items: center; gap: .8rem; margin-top: 1.6rem; padding: .9rem 1rem; border-radius: 12px; background: rgba(0, 0, 0, .16); border: 1px solid rgba(255, 255, 255, .18); transition: background .25s var(--ease); }
.quote-email:hover { background: rgba(0, 0, 0, .24); }
.quote-email .bi { font-size: 1.4rem; color: #fff; }
.quote-email span { display: block; font-size: .78rem; opacity: .95; }
.quote-email a { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; word-break: break-all; }
.quote-email a:hover { color: #fff; text-decoration: underline; }
.disclaimer { margin: 2.5rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); line-height: 1.6; }
.disclaimer + .footer-bottom { margin-top: 1.2rem; }

/* Bootstrap 4 removes container padding inside .navbar-expand-xl below 1200px; keep the gutter so the logo isn't flush to the edge */
@media (max-width: 1199.98px) {
  .site-header .navbar-expand-xl > .container { padding-left: 15px; padding-right: 15px; }
}

/* Active top-nav section (set by the build from front-matter "nav") */
@media (min-width: 1200px) { .site-header .nav-item.active .nav-link::after { transform: scaleX(1); } }
.site-header .nav-item.active > .nav-link { color: var(--ink) !important; }

/* =====================================================================
   Reusable components for inner pages
   ===================================================================== */

/* ---------- Breadcrumb ({{breadcrumb}} placeholder) ---------- */
.rz-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: .84rem; color: var(--muted); }
.rz-breadcrumb li { display: inline-flex; align-items: center; }
.rz-breadcrumb li + li::before { content: "\F285"; font-family: "bootstrap-icons"; font-size: .62rem; margin: 0 .5rem; opacity: .6; }
.rz-breadcrumb a { color: var(--muted); }
.rz-breadcrumb a:hover { color: var(--teal); }
.rz-breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }
.page-hero-dark .rz-breadcrumb ol, .page-hero-dark .rz-breadcrumb a { color: rgba(255, 255, 255, .7); }
.page-hero-dark .rz-breadcrumb [aria-current] { color: #fff; }

/* ---------- Page hero (light by default; .page-hero-dark for the ink band) ---------- */
.page-hero { position: relative; padding: 40px 0 64px; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(35, 35, 35, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(35, 35, 35, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 80% 20%, #000 20%, transparent 70%);
}
.page-hero > .container { position: relative; }
.page-hero .rz-breadcrumb { margin-bottom: 1.6rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: .7rem 0 1rem; }
.page-hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 680px; }
.page-hero-white { background: var(--main); }
.page-hero-dark { background: var(--ink); color: rgba(255, 255, 255, .8); border-bottom: 0; }
.page-hero-dark::before { background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); }
.page-hero-dark h1 { color: #fff; }
.page-hero-dark .lead { color: rgba(255, 255, 255, .75); }
.page-hero-dark .eyebrow { color: #7fd1d1; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.4rem; font-size: .9rem; font-weight: 500; }
.hero-facts span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-facts .bi { color: var(--red); }
@media (max-width: 767.98px) { .page-hero { padding: 28px 0 44px; } }

/* ---------- Generic surface card + sticky sidebar ---------- */
.rz-card { background: var(--main); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.rz-card-hover { transition: all .35s var(--ease); }
.rz-card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.rz-card h3, .rz-card h4 { margin-top: 0; }
.sticky-side { position: sticky; top: 96px; }
.side-card { background: var(--main); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.6rem; }
.side-card + .side-card { margin-top: 1.25rem; }
.side-card h3 { font-size: 1.3rem; font-weight: 800; margin: .5rem 0 .6rem; }
.side-card .rz-form .form-group { margin-bottom: .75rem; }
.side-card .rz-form .form-control, .side-card .rz-form .custom-select { height: 44px; }
@media (max-width: 991.98px) { .sticky-side { position: static; } }

/* ---------- Icon tile / feature list ---------- */
.icon-tile { width: 48px; height: 48px; border-radius: 12px; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; background: var(--teal-soft); color: var(--teal); }
.icon-tile.red { background: var(--red-soft); color: var(--red); }
.icon-tile.ink { background: var(--ink); color: #fff; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
.check-list li::before { content: "\F270"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--teal); font-size: 1.1rem; line-height: 1.5; }
.check-list.cons li::before { content: "\F623"; color: var(--red); }

/* ---------- Accordion / FAQ (Bootstrap collapse) ---------- */
.rz-accordion { border-top: 1px solid var(--line); }
.rz-accordion .acc-item { border-bottom: 1px solid var(--line); }
.rz-accordion .acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left;
  background: none; border: 0; padding: 1.1rem .25rem; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); cursor: pointer;
}
.rz-accordion .acc-btn:focus { outline: none; }
.rz-accordion .acc-btn:focus-visible { box-shadow: 0 0 0 .2rem rgba(7, 128, 128, .25); border-radius: 6px; }
.rz-accordion .acc-btn::after { content: "\F64D"; font-family: "bootstrap-icons"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg); color: var(--teal); transition: transform .3s var(--ease), background .3s; }
.rz-accordion .acc-btn[aria-expanded="true"]::after { transform: rotate(45deg); background: var(--teal); color: #fff; }
.rz-accordion .acc-body { padding: 0 .25rem 1.2rem; color: var(--text); }
.rz-accordion .acc-body p:last-child { margin-bottom: 0; }

/* ---------- Data table ---------- */
.rz-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--main); }
.rz-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 0; }
.rz-table th, .rz-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.rz-table thead th { background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 700; letter-spacing: .02em; white-space: nowrap; border-bottom: 0; }
.rz-table tbody tr:nth-child(even) { background: #fbf9f7; }
.rz-table tbody tr:hover { background: var(--teal-soft); }
.rz-table tbody th { font-weight: 600; color: var(--ink); background: transparent; }
.rz-table tr:last-child td, .rz-table tr:last-child th { border-bottom: 0; }
.rz-table .yes { color: var(--teal); font-weight: 600; }
.rz-table .no { color: var(--red-dark); font-weight: 600; }
.rz-table caption { caption-side: bottom; font-size: .78rem; color: var(--muted); padding: .6rem 1rem; }

/* ---------- Tabs / pills (Bootstrap .nav) ---------- */
.rz-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.rz-pills .nav-link { font-family: var(--font-head); font-weight: 700; color: var(--muted); border-radius: 999px; padding: .45rem 1.05rem; border: 1px solid var(--line); background: var(--main); transition: all .25s var(--ease); }
.rz-pills .nav-link:hover { color: var(--ink); border-color: var(--ink); }
.rz-pills .nav-link.active, .rz-pills .nav-link[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.rz-tabs { border-bottom: 2px solid var(--line); gap: .25rem; }
.rz-tabs .nav-link { font-family: var(--font-head); font-weight: 700; color: var(--muted); border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: .7rem 1rem; border-radius: 0; }
.rz-tabs .nav-link:hover { color: var(--ink); }
.rz-tabs .nav-link.active { color: var(--ink); border-bottom-color: var(--red); background: transparent; }

/* ---------- List items (no pagination) ---------- */
.rz-list { list-style: none; padding: 0; margin: 0; }
.rz-list-item { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.rz-list-item:first-child { padding-top: 0; }
a.rz-list-item:hover { color: var(--ink); }
a.rz-list-item:hover h3, a.rz-list-item:hover h4 { color: var(--teal); }
.rz-list-item .thumb { width: 132px; flex: none; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--bg); }
.rz-list-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.rz-list-item:hover .thumb img { transform: scale(1.06); }
.rz-list-item h3, .rz-list-item h4 { font-size: 1.12rem; margin: .3rem 0 .3rem; line-height: 1.3; transition: color .2s; }
.rz-list-item p { color: var(--muted); font-size: .9rem; margin: 0; }
.rz-list-item .meta { font-size: .78rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin-top: .45rem; }
@media (max-width: 575.98px) { .rz-list-item .thumb { width: 96px; } }

/* ---------- Article body (guides / news) ---------- */
.prose { font-size: 1.04rem; line-height: 1.75; color: var(--text); }
.prose h2 { font-size: 1.7rem; font-weight: 800; margin: 2.4rem 0 .9rem; scroll-margin-top: 100px; }
.prose h3 { font-size: 1.28rem; margin: 1.8rem 0 .6rem; scroll-margin-top: 100px; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1rem; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.prose figure { margin: 1.8rem 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: .82rem; color: var(--muted); margin-top: .5rem; }
.prose blockquote, .pull-quote { border-left: 4px solid var(--red); padding: .4rem 0 .4rem 1.3rem; margin: 1.8rem 0; font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.last-reviewed { font-size: .82rem; color: var(--muted); display: inline-flex; align-items: center; gap: .4rem; }
.toc { font-size: .9rem; }
.toc .toc-title { font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.toc ol, .toc ul { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: .35rem 0 .35rem .9rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.35; }
.toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--red); }

/* ---------- Notice / disclaimer boxes ---------- */
.notice { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: 12px; background: var(--teal-soft); border: 1px solid rgba(7, 128, 128, .2); color: var(--text); font-size: .9rem; }
.notice > .bi { color: var(--teal); font-size: 1.2rem; line-height: 1.3; flex: none; }
.notice p:last-child { margin-bottom: 0; }
.notice-warn { background: #fff6e0; border-color: #f1d48a; }
.notice-warn > .bi { color: #b7791f; }
.notice-red { background: var(--red-soft); border-color: rgba(244, 93, 72, .3); }
.notice-red > .bi { color: var(--red); }
.notice-muted { background: var(--main); border-color: var(--line); color: var(--muted); }
.notice-muted > .bi { color: var(--muted); }

/* ---------- "Template preview — sample data" banner (detail templates) ---------- */
.template-banner { background: repeating-linear-gradient(-45deg, #232323 0 14px, #2d2d2d 14px 28px); color: #fff; font-size: .86rem; padding: .6rem 1rem; text-align: center; }
.template-banner strong { color: #ffd166; font-family: var(--font-head); letter-spacing: .04em; text-transform: uppercase; margin-right: .4rem; }
.sample-tag { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .1rem .4rem; border-radius: 4px; background: #fff3cd; color: #7a5f12; vertical-align: middle; }
.img-caption { display: inline-block; font-size: .62rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Modal skin (Bootstrap 4 modal) ---------- */
.modal-backdrop.show { opacity: .55; }
.rz-modal .modal-content { border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.rz-modal .modal-header { border-bottom: 1px solid var(--line); padding: 1.2rem 1.5rem; align-items: center; }
.rz-modal .modal-title { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; }
.rz-modal .modal-body { padding: 1.5rem; }
.rz-modal .close { opacity: .6; font-size: 1.6rem; text-shadow: none; }
.rz-modal .close:hover { opacity: 1; }

/* ---------- Lightbox ([data-lightbox] links, handled by global.js) ---------- */
.rz-lightbox { position: fixed; inset: 0; z-index: 1060; background: rgba(20, 20, 20, .92); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.rz-lightbox.show { display: flex; animation: dropIn .25s var(--ease); }
.rz-lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.rz-lightbox img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 10px; box-shadow: var(--shadow-lg); background: #fff; }
.rz-lightbox figcaption { color: rgba(255, 255, 255, .8); font-size: .88rem; margin-top: .8rem; }
.rz-lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.rz-lightbox button:hover { background: var(--red); }
.rz-lightbox .lb-close { top: 14px; right: 14px; }
.rz-lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.rz-lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
[data-lightbox] { cursor: zoom-in; }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 3rem 1.5rem; border: 2px dashed var(--line); border-radius: var(--radius-lg); background: var(--main); }
.empty-state > .bi { font-size: 2.6rem; color: var(--teal); }
.empty-state h3 { font-size: 1.3rem; margin: .8rem 0 .4rem; }
.empty-state p { color: var(--muted); max-width: 460px; margin: 0 auto 1.2rem; }

/* ---------- Utilities ---------- */
.bg-ink { background: var(--ink); color: rgba(255, 255, 255, .82); }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }
.bg-soft { background: var(--bg); }
.text-teal { color: var(--teal) !important; }
.text-red { color: var(--red) !important; }
.text-ink { color: var(--ink) !important; }
.fw-800 { font-weight: 800 !important; }
.font-head { font-family: var(--font-head); }
.small-muted { font-size: .84rem; color: var(--muted); }
.rounded-xl { border-radius: var(--radius-lg) !important; }
.shadow-soft { box-shadow: var(--shadow) !important; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.ratio-4x3 { aspect-ratio: 4 / 3; overflow: hidden; } .ratio-16x9 { aspect-ratio: 16 / 9; overflow: hidden; }
.ratio-4x3 > img, .ratio-16x9 > img { width: 100%; height: 100%; object-fit: cover; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 2000; padding: .6rem 1rem; background: var(--ink); color: #fff; font-weight: 600; border-radius: 8px; transform: translateY(-160%); transition: transform .15s ease; }
.skip-link:focus, .skip-link:focus-visible { transform: none; color: #fff; text-decoration: none; outline: 2px solid var(--teal); outline-offset: 2px; }
main:focus { outline: none; }

/* ---------- Screenshot mode: ?shot=1 adds .no-anim to <html> (global.js) ---------- */
.no-anim *, .no-anim *::before, .no-anim *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.no-anim .reveal { opacity: 1 !important; transform: none !important; }
.no-anim { scroll-behavior: auto; }
