/* Plain CSS keeps the critical stylesheet smaller than the previous Tailwind-generated bundle. */
:root {
  --color-paper: #f7f8f5;
  --color-paper-2: #eef2ed;
  --color-card: #ffffff;
  --color-ink: #18352f;
  --color-steel: #455952;
  --color-steel-2: #4f625b;
  --color-line: #dfe6e1;
  --color-line-2: #cbd6d0;
  --color-accent: #167a59;
  --color-accent-d: #105f45;
  --color-accent-l: #e5f2ec;
  --color-ok: #24734d;
  --color-low: #805006;
  --color-out: #b34236;
  --font-sans: Inter, Aptos, "Segoe UI", Roboto, Helvetica, Arial, system-ui, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --maxw: 1280px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(24, 53, 47, 0.04), 0 8px 24px rgba(24, 53, 47, 0.05);
  --shadow-md: 0 18px 50px rgba(24, 53, 47, 0.09);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.app-html { min-height: 100%; }
.app-body { min-height: 100vh; display: flex; flex-direction: column; }
.app-main { flex: 1 0 auto; }

::selection { background: var(--color-accent); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.data { font-variant-numeric: tabular-nums; }
.eyebrow {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.rule { height: 1px; background: var(--color-line); width: 100%; }
.rule-ink { height: 1px; background: var(--color-line-2); width: 100%; }

.brand-logo { display: block; width: clamp(142px, 17vw, 190px); height: auto; }
.footer-brand-logo { display: block; width: min(220px, 68vw); height: auto; }

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.btn:hover { background: var(--color-accent-d); border-color: var(--color-accent-d); box-shadow: 0 8px 18px rgba(16, 95, 69, 0.16); }
.btn:active { transform: translateY(1px); }
.btn:disabled { cursor: not-allowed; opacity: 0.5; }
.btn-ghost { background: #fff; color: var(--color-ink); border-color: var(--color-line-2); box-shadow: none; }
.btn-ghost:hover { background: var(--color-paper-2); border-color: var(--color-line-2); color: var(--color-ink); box-shadow: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--color-accent) 28%, transparent); outline-offset: 2px; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--color-line); backdrop-filter: blur(14px); }
.site-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.nav-link { color: var(--color-steel); font-size: 0.9rem; font-weight: 650; transition: color .15s ease; }
.nav-link:hover { color: var(--color-accent); }
.header-actions { display: flex; align-items: center; gap: 0.65rem; }
.header-account { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.18); font-size: .72rem; }
.mobile-menu { border-top: 1px solid var(--color-line); background: #fff; }
.mobile-menu nav { display: grid; padding-block: .6rem 1rem; }
.mobile-menu a { padding: .78rem 0; border-bottom: 1px solid var(--color-line); color: var(--color-steel); font-weight: 650; }
.mobile-menu a:last-child { border-bottom: 0; }

.hero-section { padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(2.5rem, 6vw, 5rem); background: linear-gradient(180deg, #ffffff 0%, var(--color-paper) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.hero-title { max-width: 760px; margin: .8rem 0 0; font-size: clamp(2.7rem, 6.4vw, 5.3rem); line-height: .98; letter-spacing: -.055em; font-weight: 780; }
.hero-title span { color: var(--color-accent); }
.hero-copy { max-width: 650px; margin: 1.35rem 0 0; color: var(--color-steel); font-size: clamp(1rem, 1.8vw, 1.16rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .8rem; margin-top: 2.4rem; }
.hero-fact { padding: 1rem 0; border-top: 1px solid var(--color-line); }
.hero-fact strong { display: block; font-size: 1.35rem; letter-spacing: -.03em; }
.hero-fact span { display: block; margin-top: .22rem; color: var(--color-steel-2); font-size: .78rem; }

.inventory-card { padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); }
.inventory-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--color-steel-2); font-size: .76rem; }
.live-pill { display: inline-flex; align-items: center; gap: .45rem; color: var(--color-ok); font-weight: 750; }
.live-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 12%, transparent); }
.inventory-total { margin-top: 1.7rem; }
.inventory-total span { display:block; color: var(--color-steel-2); font-size: .82rem; }
.inventory-total strong { display:block; margin-top: .35rem; font-size: clamp(2.7rem, 7vw, 4rem); line-height: 1; letter-spacing: -.055em; }
.inventory-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--color-line); }
.inventory-stat span { display:block; color: var(--color-steel-2); font-size: .72rem; }
.inventory-stat strong { display:block; margin-top: .2rem; font-size: .9rem; }

.compliance-section { padding: clamp(3.5rem, 7vw, 6rem) 0 1rem; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:1.5rem; flex-wrap:wrap; }
.section-heading h2 { max-width: 720px; margin:.55rem 0 0; font-size:clamp(2rem,4.5vw,3.5rem); line-height:1.05; letter-spacing:-.045em; font-weight:770; }
.section-heading p { max-width: 420px; margin:0; color:var(--color-steel); line-height:1.7; }
.feature-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; margin-top:2rem; }
.feature-card { padding:1.5rem; border:1px solid var(--color-line); border-radius:var(--radius-md); background:#fff; box-shadow:var(--shadow-sm); }
.feature-icon { width:42px; height:42px; color:var(--color-accent); }
.feature-card h3 { margin:1.15rem 0 0; font-size:1.05rem; font-weight:750; letter-spacing:-.015em; }
.feature-card p { margin:.55rem 0 0; color:var(--color-steel); font-size:.9rem; line-height:1.65; }

.mailing-section { padding: clamp(3rem,6vw,5rem) 0 1rem; }
.mailing-card { display:grid; grid-template-columns:minmax(0,.8fr) minmax(360px,1.2fr); gap:clamp(1.5rem,5vw,4rem); align-items:start; padding:clamp(1.4rem,4vw,2.5rem); border:1px solid var(--color-line); border-radius:var(--radius-lg); background:#fff; box-shadow:var(--shadow-sm); }
.mailing-card h2 { margin:.55rem 0 0; font-size:clamp(1.9rem,4vw,3rem); line-height:1.08; letter-spacing:-.045em; font-weight:770; }
.mailing-card p { margin:1rem 0 0; color:var(--color-steel); line-height:1.7; }
.mailing-form { display:grid; gap:.9rem; }
.auth-field { display:grid; gap:.4rem; color:var(--color-steel); font-size:.78rem; font-weight:700; }
.auth-field em { color:var(--color-steel-2); font-style:normal; font-weight:500; }
.auth-field input, .auth-field textarea, .auth-input {
  width:100%; border:1px solid var(--color-line-2); border-radius:var(--radius-sm); background:#fff; color:var(--color-ink); padding:.82rem .9rem; font-size:.95rem; font-weight:450;
}
.auth-field input:focus, .auth-field textarea:focus, .auth-input:focus { outline:none; border-color:var(--color-accent); box-shadow:0 0 0 4px color-mix(in srgb,var(--color-accent) 12%,transparent); }
.check-row { display:flex; align-items:flex-start; gap:.6rem; color:var(--color-steel); font-size:.83rem; line-height:1.5; }
.check-row input { margin-top:.15rem; width:1rem; height:1rem; accent-color:var(--color-accent); flex:none; }
.auth-link { color:var(--color-accent); font-weight:700; text-decoration:underline; text-underline-offset:3px; }

.catalog-section { padding:clamp(3.5rem,7vw,6rem) var(--gutter) 1rem; max-width:var(--maxw); margin-inline:auto; }
.catalog-head { display:flex; align-items:end; justify-content:space-between; gap:1.5rem; flex-wrap:wrap; padding-bottom:1.25rem; border-bottom:1px solid var(--color-line); }
.catalog-head h2 { margin:.5rem 0 0; font-size:clamp(2rem,4.6vw,3.5rem); line-height:1.05; letter-spacing:-.045em; font-weight:770; }
.catalog-head-note { color:var(--color-steel-2); font-size:.82rem; }
.catalog-group { margin-top:3.25rem; }
.catalog-group-head { display:flex; align-items:center; gap:1rem; margin-bottom:1rem; }
.catalog-group-head h3 { margin:0; font-size:1.15rem; font-weight:750; letter-spacing:-.015em; }
.catalog-group-count { color:var(--color-steel-2); font-size:.8rem; }
.catalog-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); gap:1.2rem; }

.product-card { overflow:hidden; display:flex; flex-direction:column; border:1px solid var(--color-line); border-radius:var(--radius-md); background:#fff; box-shadow:var(--shadow-sm); transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
.product-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); border-color:var(--color-line-2); }
.product-media { position:relative; min-height:260px; padding:1.15rem; background:var(--color-paper-2); border-bottom:1px solid var(--color-line); }
.product-image { min-height:225px; display:flex; align-items:center; justify-content:center; padding:.65rem; }
.product-image img { max-width:100%; max-height:210px; object-fit:contain; mix-blend-mode:multiply; transition:transform .3s ease; }
.product-card:hover .product-image img { transform:scale(1.025); }
.product-body { display:flex; flex-direction:column; flex:1; padding:1.25rem; }
.product-meta-line { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:.55rem; color:var(--color-steel-2); font-size:.7rem; font-weight:700; }
.product-status { display:inline-flex; align-items:center; gap:.4rem; font-size:.7rem; font-weight:700; }
.product-status i { width:7px; height:7px; border-radius:999px; background:currentColor; }
.product-title-row { display:flex; align-items:start; justify-content:space-between; gap:1rem; }
.product-title-row h3 { margin:0; font-size:1.18rem; line-height:1.25; font-weight:760; letter-spacing:-.02em; }
.product-group { color:var(--color-steel-2); font-size:.72rem; white-space:nowrap; }
.product-blurb { min-height:66px; margin:.6rem 0 0; color:var(--color-steel); font-size:.86rem; line-height:1.6; }
.product-tags { display:flex; flex-wrap:wrap; gap:.4rem; margin:.8rem 0 0; }
.product-tags span { padding:.32rem .55rem; border:1px solid color-mix(in srgb,var(--color-accent) 22%,var(--color-line)); border-radius:999px; background:var(--color-accent-l); color:var(--color-accent-d); font-size:.68rem; line-height:1.2; font-weight:700; }
.product-safety-note { margin:.1rem 0 1rem; color:var(--color-steel); font-size:.76rem; line-height:1.5; }
.product-safety-note strong { color:var(--color-ink); }
.product-specs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; margin:1rem 0; }
.product-spec { padding:.65rem .72rem; border-radius:9px; background:var(--color-paper); }
.product-spec dt { color:var(--color-steel-2); font-size:.66rem; }
.product-spec dd { margin:.2rem 0 0; font-size:.78rem; font-weight:700; }
.option-label { margin-bottom:.5rem; color:var(--color-steel-2); font-size:.7rem; font-weight:700; }
.color-options,.size-options { display:flex; flex-wrap:wrap; gap:.45rem; }
.color-chip { width:24px; height:24px; border-radius:999px; border:1px solid rgba(0,0,0,.14); cursor:pointer; }
.color-chip[aria-pressed="true"] { outline:2px solid var(--color-accent); outline-offset:2px; }
.size-chip { min-width:36px; padding:.4rem .5rem; border:1px solid var(--color-line-2); border-radius:8px; background:#fff; color:var(--color-ink); font-size:.73rem; font-weight:700; cursor:pointer; }
.size-chip[aria-pressed="true"] { border-color:var(--color-accent); background:var(--color-accent-l); color:var(--color-accent-d); }
.product-inventory { margin-top:auto; padding-top:1.15rem; }
.inventory-row { display:flex; align-items:end; justify-content:space-between; gap:1rem; }
.inventory-row span:first-child { color:var(--color-steel-2); font-size:.72rem; }
.inventory-number { font-size:1rem; font-weight:760; }
.inventory-number small { color:var(--color-steel-2); font-size:.72rem; font-weight:500; }
.meter { position:relative; height:7px; margin-top:.55rem; overflow:hidden; border-radius:999px; background:var(--color-paper-2); }
.meter>span { position:absolute; inset:0 auto 0 0; border-radius:inherit; background:var(--color-ok); transition:width .7s ease; }
.meter.is-low>span { background:var(--color-low); }
.meter.is-out>span { background:var(--color-out); }

.tag-frame { border-color:var(--color-line)!important; border-width:1px!important; border-radius:var(--radius-md); box-shadow:var(--shadow-sm); }
.tag-frame::before,.tag-frame::after { display:none!important; }
.reveal { opacity:0; transform:translateY(10px); transition:opacity .5s ease,transform .5s ease; }
.reveal.is-in { opacity:1; transform:none; }

.site-footer { margin-top:clamp(4rem,8vw,7rem); background:#17342e; color:#fff; }
.footer-main { display:grid; grid-template-columns:minmax(320px,1.5fr) repeat(2,minmax(150px,.55fr)); gap:clamp(2rem,5vw,4rem); padding:clamp(3rem,7vw,5rem) 0 2.5rem; align-items:start; }
.footer-intro h2 { max-width:540px; margin:.9rem 0 0; font-size:clamp(1.8rem,4vw,2.8rem); line-height:1.08; letter-spacing:-.04em; }
.footer-intro p { max-width:560px; margin:1rem 0 0; color:#dbe3e1; line-height:1.7; }
.footer-links { min-width:0; }
.footer-links h3 { margin:0; color:#cbd6d3; font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; }
.footer-links ul { list-style:none; margin:1rem 0 0; padding:0; display:grid; gap:.7rem; color:#e0e6e4; font-size:.86rem; }
.footer-links a, .footer-links button { display:inline-block; color:#e0e6e4; line-height:1.45; transition:color .15s ease, transform .15s ease; }
.footer-links button { border:0; padding:0; background:none; font:inherit; cursor:pointer; text-align:left; }
.footer-links a:hover, .footer-links button:hover { color:#fff; transform:translateX(2px); }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; padding:1.25rem 0 2rem; border-top:1px solid rgba(255,255,255,.12); color:#cbd6d3; font-size:.72rem; }
.footer-bottom nav { display:flex; flex-wrap:wrap; gap:1rem; }
.footer-bottom a { transition:color .15s ease; }
.footer-bottom a:hover { color:#fff; }

@media (max-width: 980px) {
  .hero-grid,.mailing-card { grid-template-columns:1fr; }
  .feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-main { grid-template-columns:minmax(0,1.35fr) repeat(2,minmax(130px,.65fr)); gap:2rem; }
  .footer-intro { grid-column:auto; }
}
@media (max-width: 767px) {
  .site-header-inner { min-height:68px; }
  .site-nav,.header-account { display:none; }
  .hero-section { padding-top:2.4rem; }
  .hero-facts { grid-template-columns:1fr; gap:0; }
  .feature-grid,.footer-main { grid-template-columns:1fr; }
  .footer-main { gap:2rem; padding-top:2.75rem; padding-bottom:2rem; }
  .footer-intro { grid-column:1; }
  .footer-intro h2 { font-size:clamp(1.65rem,8vw,2.25rem); }
  .footer-bottom { align-items:flex-start; flex-direction:column; }
  .section-heading { align-items:start; }
  .catalog-grid { grid-template-columns:1fr; }
  .product-media { min-height:240px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.001ms!important; animation-iteration-count:1!important; transition-duration:.001ms!important; scroll-behavior:auto!important; }
  .reveal { opacity:1; transform:none; }
}

/* Keep essential content visible without relying on JavaScript-driven reveals. */
.reveal,
.reveal.is-in { opacity: 1; transform: none; }
.mobile-menu-toggle { display: none; }
@media (max-width: 767px) { .mobile-menu-toggle { display: inline-flex; } }

/* 2026 visual refresh: photographic opening gallery and procurement-first homepage */
.utility-bar {
  background: linear-gradient(90deg, #0d4b39, #113e32);
  color: rgba(255,255,255,.92);
  font-size: .72rem;
  font-weight: 650;
}
.utility-bar-inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3.5rem);
}
.utility-bar-inner span { display: inline-flex; align-items: center; gap: .45rem; }
.utility-bar-inner span + span::before { content: ""; width: 1px; height: 13px; margin-right: clamp(.5rem, 1.5vw, 1.4rem); background: rgba(255,255,255,.3); }
.site-header { top: 0; }
.site-header-inner { min-height: 78px; }
.site-nav { gap: clamp(.9rem, 2vw, 1.75rem); }
.nav-link { color: #314a43; font-weight: 700; }
.header-contact { display: inline-flex; }

.gallery-hero {
  position: relative;
  min-height: clamp(540px, 68vw, 690px);
  overflow: hidden;
  isolation: isolate;
  background: #0d2f28;
  color: #fff;
}
.gallery-slides, .gallery-slide, .gallery-shade { position: absolute; inset: 0; }
.gallery-slide { opacity: 0; transform: scale(1.035); transition: opacity .9s ease, transform 6.5s ease; }
.gallery-slide.is-active { opacity: 1; transform: scale(1); }
.gallery-slide img { object-fit: cover; object-position: 58% center; }
.gallery-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,35,29,.96) 0%, rgba(7,45,37,.88) 25%, rgba(6,31,27,.45) 49%, rgba(4,20,18,.06) 76%),
    linear-gradient(0deg, rgba(4,24,20,.22), transparent 46%);
}
.gallery-hero-inner { position: relative; z-index: 2; min-height: inherit; display: flex; align-items: center; padding-block: clamp(4rem, 8vw, 7rem); }
.gallery-copy { width: min(640px, 52vw); }
.gallery-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .48rem .72rem;
  border: 1px solid rgba(98,215,146,.6);
  border-radius: 999px;
  background: rgba(12,64,49,.54);
  color: #75e5a3;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.gallery-pill svg, .hero-proof svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gallery-copy h1 { margin: 1.2rem 0 0; font-size: clamp(3rem, 5.8vw, 5.75rem); line-height: .94; letter-spacing: -.06em; font-weight: 790; text-wrap: balance; }
.gallery-copy h1 span { color: #57c98a; }
.gallery-copy p { max-width: 610px; margin: 1.45rem 0 0; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.72; }
.gallery-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.gallery-actions .btn { min-height: 48px; padding-inline: 1.2rem; }
.hero-primary { background: #16845e; border-color: #16845e; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.hero-primary svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero-secondary { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.72); color: #fff; backdrop-filter: blur(8px); }
.hero-secondary:hover { background: #fff; color: var(--color-ink); border-color: #fff; }
.gallery-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(255,255,255,.93);
  color: #173b32;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0,0,0,.18);
  transform: translateY(-50%);
  transition: transform .16s ease, background .16s ease;
}
.gallery-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.gallery-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gallery-arrow-prev { left: clamp(.75rem, 2vw, 2rem); }
.gallery-arrow-next { right: clamp(.75rem, 2vw, 2rem); }
.gallery-dots { position: absolute; z-index: 3; left: 50%; bottom: 1.5rem; display: flex; gap: .55rem; transform: translateX(-50%); }
.gallery-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.52); cursor: pointer; transition: width .2s ease, background .2s ease; }
.gallery-dots button.is-active { width: 30px; background: #fff; }

.hero-proof-strip { border-bottom: 1px solid var(--color-line); background: #fff; }
.hero-proof-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); padding-block: 1.25rem; }
.hero-proof { min-width: 0; display: flex; align-items: center; gap: .8rem; padding: .3rem clamp(.7rem, 1.7vw, 1.4rem); border-right: 1px solid var(--color-line); }
.hero-proof:first-child { padding-left: 0; }
.hero-proof:last-child { border-right: 0; padding-right: 0; }
.hero-proof-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 999px; background: #e8f4ec; color: #155b42; }
.hero-proof strong, .hero-proof small { display: block; }
.hero-proof strong { font-size: .82rem; line-height: 1.25; }
.hero-proof small { margin-top: .18rem; color: var(--color-steel-2); font-size: .68rem; line-height: 1.35; }

.category-showcase { padding: clamp(3.25rem, 6vw, 5.5rem) 0 1.25rem; background: #fff; }
.category-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.35rem; }
.category-heading h2 { margin: .5rem 0 0; font-size: clamp(2rem, 4.3vw, 3.35rem); line-height: 1.02; letter-spacing: -.045em; }
.category-view-all { flex: none; color: var(--color-accent-d); font-size: .85rem; font-weight: 750; }
.category-view-all span { margin-left: .35rem; }
.category-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.15fr; gap: 1rem; }
.category-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(19,53,45,.1);
  color: #17372f;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.category-forest { background: linear-gradient(145deg,#dfece3,#c6dccd); }
.category-navy { background: linear-gradient(145deg,#e5eaf0,#cbd4df); }
.category-sand { background: linear-gradient(145deg,#f1ede4,#ded4c2); }
.category-sage { background: linear-gradient(145deg,#edf3e9,#d5e4d2); }
.category-card-copy { position: relative; z-index: 2; width: 58%; }
.category-card-copy strong, .category-card-copy small { display: block; }
.category-card-copy strong { font-size: 1.4rem; letter-spacing: -.025em; }
.category-card-copy small { margin-top: .45rem; color: rgba(24,53,47,.72); line-height: 1.45; }
.category-garment { position: absolute; z-index: 1; right: -1.5rem; bottom: -1rem; width: 61%; height: 96%; color: rgba(19,71,55,.8); filter: drop-shadow(0 14px 18px rgba(20,47,39,.12)); }
.category-navy .category-garment { color: #273955; }
.category-sand .category-garment { color: #8f7655; }
.category-arrow { position: absolute; z-index: 3; right: 1rem; bottom: 1rem; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; background: #fff; color: #145c43; font-size: 1.2rem; box-shadow: 0 7px 18px rgba(17,54,44,.13); }

.trust-band { padding: 1.2rem 0 0; background: #fff; }
.trust-band-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); padding: 1.55rem 1.8rem; border-radius: 18px; background: linear-gradient(120deg,#103c31,#075139 58%,#124133); color: #fff; box-shadow: 0 18px 45px rgba(12,57,44,.16); }
.trust-stat { min-width: 0; padding: .25rem 1.35rem; border-right: 1px solid rgba(255,255,255,.16); }
.trust-stat:first-child { padding-left: 0; }
.trust-stat:last-child { border-right: 0; padding-right: 0; }
.trust-stat strong, .trust-stat span { display: block; }
.trust-stat strong { font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -.035em; }
.trust-stat span { margin-top: .35rem; color: rgba(255,255,255,.72); font-size: .74rem; line-height: 1.4; }

.compliance-section { padding-top: clamp(4rem, 7vw, 6.5rem); }
.feature-card { box-shadow: none; }
.catalog-group { scroll-margin-top: 125px; }
.catalog-section { padding-top: clamp(4rem, 7vw, 6.5rem); }

@media (max-width: 1100px) {
  .site-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .gallery-copy { width: min(620px, 65vw); }
  .hero-proof-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero-proof:nth-child(3) { border-right: 0; }
  .hero-proof:nth-child(n+4) { margin-top: .9rem; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trust-band-grid { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 1.2rem; }
  .trust-stat:nth-child(3) { border-right: 0; }
  .trust-stat:nth-child(n+4) { padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.12); }
}

@media (max-width: 767px) {
  .utility-bar-inner { justify-content: center; min-height: 30px; }
  .utility-bar-inner span { display: none; }
  .utility-bar-inner span:first-child { display: inline-flex; }
  .utility-bar-inner span + span::before { display: none; }
  .site-header-inner { min-height: 66px; gap: .65rem; }
  .brand-logo { width: 132px; }
  .header-contact { display: none; }
  .header-actions { gap: .45rem; }
  .header-actions > .btn:not(.mobile-menu-toggle) { min-height: 40px; padding: .58rem .7rem; font-size: .78rem; }
  .mobile-menu-toggle { min-height: 40px; padding: .58rem .7rem; }
  .gallery-hero { min-height: 660px; }
  .gallery-slide img { object-position: 62% center; }
  .gallery-shade { background: linear-gradient(0deg,rgba(5,35,29,.96) 0%,rgba(6,42,34,.78) 48%,rgba(5,24,21,.12) 86%); }
  .gallery-hero-inner { align-items: flex-end; padding-top: 9rem; padding-bottom: 5.25rem; }
  .gallery-copy { width: 100%; }
  .gallery-copy h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .gallery-copy p { font-size: .98rem; line-height: 1.62; }
  .gallery-actions { display: grid; grid-template-columns: 1fr; }
  .gallery-actions .btn { width: 100%; }
  .gallery-arrow { top: 39%; width: 42px; height: 42px; }
  .gallery-arrow-prev { left: .65rem; }
  .gallery-arrow-next { right: .65rem; }
  .gallery-dots { bottom: 1.4rem; }
  .hero-proof-grid { display: flex; overflow-x: auto; padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); scroll-snap-type: x mandatory; }
  .hero-proof { min-width: 210px; padding: .2rem 1rem; border-right: 1px solid var(--color-line); scroll-snap-align: start; }
  .hero-proof:first-child { padding-left: 0; }
  .hero-proof:nth-child(n+4) { margin-top: 0; }
  .category-heading { align-items: flex-start; flex-direction: column; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 210px; }
  .trust-band-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 1.15rem; }
  .trust-stat { padding: .75rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .trust-stat:first-child { padding-left: .75rem; }
  .trust-stat:nth-child(n+4) { border-top: 0; }
  .trust-stat:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-slide { transition: none; transform: none; }
}

/* 2026-07-17: align the implemented storefront with the approved gallery mockup. */
.site-header-inner.wrap,
.mobile-menu > .wrap {
  max-width: 1536px;
  padding-inline: clamp(1.5rem, 4vw, 4.5rem);
}
.site-header-inner { min-height: 80px; }
.brand-link { flex: none; }
.brand-logo { width: clamp(154px, 13vw, 194px); }
.site-nav { gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav-link { color: #1f352f; font-size: .86rem; font-weight: 700; }
.header-actions .btn { min-height: 46px; padding-inline: 1.05rem; }

.gallery-hero {
  min-height: clamp(500px, 38vw, 590px);
  background: #0a2f27;
}
.gallery-scenes,
.gallery-scene,
.gallery-shade { position: absolute; inset: 0; }
.gallery-scene {
  opacity: 0;
  transition: opacity .75s ease;
}
.gallery-scene.is-active { opacity: 1; }
.gallery-panel {
  position: absolute;
  top: -1.5%;
  bottom: -1.5%;
  overflow: hidden;
  background: #dce4df;
  filter: drop-shadow(-3px 0 0 rgba(255,255,255,.88));
}
.gallery-panel img {
  object-fit: cover;
  image-rendering: auto;
}
.gallery-panel-1 {
  left: 0;
  width: 49%;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  filter: none;
}
.gallery-panel-2 {
  left: 34%;
  width: 31%;
  z-index: 2;
  clip-path: polygon(13% 0, 100% 0, 87% 100%, 0 100%);
}
.gallery-panel-3 {
  left: 55%;
  width: 29.5%;
  z-index: 3;
  clip-path: polygon(13% 0, 100% 0, 87% 100%, 0 100%);
}
.gallery-panel-4 {
  left: 75.5%;
  width: 30.5%;
  z-index: 4;
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
}
.gallery-shade {
  z-index: 10;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,35,29,.96) 0%, rgba(5,41,33,.92) 19%, rgba(5,37,31,.74) 31%, rgba(4,28,24,.24) 48%, rgba(4,20,18,.02) 69%),
    linear-gradient(0deg, rgba(4,24,20,.14), transparent 46%);
}
.gallery-hero-inner {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 1536px;
  min-height: inherit;
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding: 3.5rem clamp(4.5rem, 7vw, 7rem) 4rem;
}
.gallery-copy { width: min(470px, 39vw); }
.gallery-pill {
  padding: .42rem .68rem;
  background: rgba(7,61,46,.54);
  color: #79e2a2;
  font-size: .68rem;
}
.gallery-copy h1 {
  max-width: 490px;
  margin-top: 1rem;
  font-size: clamp(3rem, 4.25vw, 4.25rem);
  line-height: .98;
  letter-spacing: -.052em;
  font-weight: 790;
}
.gallery-copy p {
  max-width: 435px;
  margin-top: 1.2rem;
  color: rgba(255,255,255,.88);
  font-size: clamp(.95rem, 1.15vw, 1.08rem);
  line-height: 1.62;
}
.gallery-actions { margin-top: 1.45rem; }
.gallery-actions .btn { min-height: 46px; }
.gallery-arrow { z-index: 30; width: 46px; height: 46px; }
.gallery-arrow-prev { left: clamp(1.25rem, 2.5vw, 2.6rem); }
.gallery-arrow-next { right: clamp(1.25rem, 2.5vw, 2.6rem); }
.gallery-dots { z-index: 30; bottom: 1.2rem; }
.gallery-dots button { width: 8px; height: 8px; }
.gallery-dots button.is-active { width: 26px; }

.hero-proof-grid,
.category-showcase > .wrap,
.trust-band > .wrap { max-width: 1420px; }
.hero-proof-grid { padding-block: 1.05rem; }
.hero-proof { padding-block: .2rem; }
.hero-proof-icon { width: 40px; height: 40px; }
.hero-proof strong { font-size: .8rem; }
.hero-proof small { font-size: .67rem; }

.category-showcase { padding-top: clamp(2.7rem, 5vw, 4.25rem); }
.category-heading { margin-bottom: 1.15rem; }
.category-heading h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.category-card {
  min-height: 205px;
  align-items: flex-start;
  padding: 1.2rem;
  border-radius: 14px;
  background: #ecefe9;
  isolation: isolate;
}
.category-image {
  z-index: 0;
  object-fit: cover;
  transition: transform .35s ease;
}
.category-card:hover .category-image { transform: scale(1.025); }
.category-card-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(249,250,247,.98) 0%, rgba(249,250,247,.93) 37%, rgba(249,250,247,.45) 61%, rgba(249,250,247,.06) 100%);
}
.category-card-copy { z-index: 2; width: 56%; }
.category-card-copy strong { font-size: 1.22rem; }
.category-card-copy small { font-size: .78rem; }
.category-arrow { width: 36px; height: 36px; }

.trust-band-grid { padding: 1.35rem 1.7rem; border-radius: 14px; }

@media (max-width: 1100px) {
  .site-header-inner.wrap { padding-inline: var(--gutter); }
  .gallery-copy { width: min(490px, 53vw); }
  .gallery-panel-1 { width: 58%; }
  .gallery-panel-2 { left: 43%; width: 33%; }
  .gallery-panel-3 { left: 65%; width: 36%; }
  .gallery-panel-4 { display: none; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .site-header-inner { min-height: 68px; }
  .brand-logo { width: 132px; }
  .gallery-hero { min-height: 620px; }
  .gallery-panel { display: none; filter: none; }
  .gallery-panel-1 {
    display: block;
    inset: 0;
    width: 100%;
    clip-path: none;
  }
  .gallery-panel-1 img { object-position: 48% center !important; }
  .gallery-shade {
    background:
      linear-gradient(0deg, rgba(4,35,29,.98) 0%, rgba(5,41,33,.92) 42%, rgba(4,28,24,.42) 70%, rgba(4,20,18,.08) 100%),
      linear-gradient(90deg, rgba(4,30,25,.35), transparent 70%);
  }
  .gallery-hero-inner {
    align-items: flex-end;
    padding: 8rem var(--gutter) 5rem;
  }
  .gallery-copy { width: 100%; }
  .gallery-copy h1 {
    max-width: 420px;
    font-size: clamp(2.65rem, 12vw, 3.75rem);
    line-height: .97;
  }
  .gallery-copy p { max-width: 430px; font-size: .96rem; }
  .gallery-arrow { top: 38%; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-scene { transition: none; }
  .category-image { transition: none; }
}

/* 2026-07-17: searchable catalog and product-accurate category imagery. */
.gallery-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
}
.catalog-search {
  min-height: 54px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 36px;
  align-items: center;
  gap: .75rem;
  padding: 0 .65rem 0 1rem;
  border: 1px solid #cbd8d2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 60, 49, .06);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.catalog-search:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(24, 132, 94, .12), 0 10px 28px rgba(23, 60, 49, .08);
}
.catalog-search > svg,
.catalog-search button svg,
.catalog-empty > svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.catalog-search > svg { color: #647b73; }
.catalog-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--color-ink);
  font: inherit;
  font-size: .96rem;
}
.catalog-search input::placeholder { color: #84968f; }
.catalog-search button {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: #eff5f1;
  color: #36584d;
  cursor: pointer;
}
.catalog-search button:hover { background: #e4efe9; }
.catalog-search-count {
  margin: 0;
  color: var(--color-steel-2);
  font-size: .8rem;
  white-space: nowrap;
}
.catalog-empty {
  min-height: 300px;
  margin-top: 2rem;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed #bdcec6;
  border-radius: 16px;
  background: #f7faf8;
}
.catalog-empty > svg { width: 38px; height: 38px; color: #66877b; }
.catalog-empty h3 { margin: 1rem 0 .35rem; font-size: 1.3rem; }
.catalog-empty p { margin: 0 0 1.2rem; color: var(--color-steel-2); }

.category-card {
  overflow: hidden;
  background: #eef3ef;
}
.category-tops { background: linear-gradient(145deg, #e7f1eb, #cfe0d6); }
.category-bottoms { background: linear-gradient(145deg, #e9edf2, #cfd8e3); }
.category-base { background: linear-gradient(145deg, #f4f0e8, #e2d9c9); }
.category-safety { background: linear-gradient(145deg, #e9f3e7, #cedfc9); }
.category-card-copy { position: relative; z-index: 3; width: 58%; }
.category-card-copy em {
  display: block;
  margin-top: .8rem;
  color: #2f6655;
  font-size: .7rem;
  font-style: normal;
  font-weight: 750;
  letter-spacing: .02em;
}
.category-product-visual {
  position: absolute;
  z-index: 1;
  top: .65rem;
  right: -.6rem;
  bottom: -.65rem;
  width: 52%;
  display: grid;
  place-items: center;
  color: #17654d;
  pointer-events: none;
}
.category-product-visual::before {
  content: "";
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,.48);
  filter: blur(1px);
}
.category-product-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: .4rem;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 16px rgba(28, 66, 54, .16));
}
.category-product-visual .category-garment {
  position: relative;
  z-index: 1;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
  color: currentColor;
  filter: drop-shadow(0 14px 16px rgba(28, 66, 54, .13));
}
.category-bottoms .category-product-visual { color: #344864; }
.category-base .category-product-visual { color: #8a7052; }
.category-safety-visual { color: #17654d; }
.category-safety-visual svg {
  position: relative;
  z-index: 1;
  width: 72%;
  max-height: 82%;
  fill: rgba(255,255,255,.28);
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 14px 16px rgba(28,66,54,.12));
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.48), transparent 58%);
}
.category-arrow { z-index: 4; }

@media (max-width: 767px) {
  .catalog-search-row { grid-template-columns: 1fr; gap: .65rem; }
  .catalog-search-count { white-space: normal; }
  .category-card-copy { width: 62%; }
  .category-product-visual { width: 48%; }
}

/* 2026-07-17 final correctional-apparel gallery implementation. */
.site-header-inner.wrap {
  max-width: 1600px;
  padding-inline: clamp(1.25rem, 3vw, 3.25rem);
}
.site-header-inner { min-height: 74px; gap: clamp(.8rem, 1.6vw, 1.5rem); }
.brand-logo { width: clamp(148px, 11vw, 178px); }
.site-nav { gap: clamp(.85rem, 1.65vw, 1.65rem); flex: none; }
.nav-link { font-size: .79rem; white-space: nowrap; }
.header-search {
  flex: 1 1 270px;
  max-width: 350px;
  min-width: 220px;
  min-height: 42px;
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr) 36px;
  align-items: center;
  gap: .55rem;
  padding-left: .85rem;
  border: 1px solid var(--color-line-2);
  border-radius: 9px;
  background: #fff;
  color: #50665f;
}
.header-search:focus-within { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(22,122,89,.1); }
.header-search > svg,
.header-search button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.header-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--color-ink); font-size: .82rem; }
.header-search input::placeholder { color: #83928d; }
.header-search button { width: 36px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-left: 1px solid var(--color-line); background: transparent; color: #173f34; cursor: pointer; }

.correctional-gallery.gallery-hero {
  min-height: clamp(430px, 34vw, 535px);
  background: #f8faf8;
  color: var(--color-ink);
}
.correctional-gallery .gallery-panel {
  top: 0;
  bottom: 0;
  background: #e7ebe8;
  filter: drop-shadow(-3px 0 0 #fff);
}
.correctional-gallery .gallery-panel img { width: 100%; height: 100%; object-fit: cover; }
.correctional-gallery .gallery-panel-1 {
  left: 31%; width: 24%; z-index: 1;
  clip-path: polygon(15% 0, 100% 0, 84% 100%, 0 100%);
}
.correctional-gallery .gallery-panel-2 {
  left: 46%; width: 23%; z-index: 2;
  clip-path: polygon(15% 0, 100% 0, 84% 100%, 0 100%);
}
.correctional-gallery .gallery-panel-3 {
  left: 60.5%; width: 23%; z-index: 3;
  clip-path: polygon(15% 0, 100% 0, 84% 100%, 0 100%);
}
.correctional-gallery .gallery-panel-4 {
  left: 75%; width: 23%; z-index: 4;
  clip-path: polygon(15% 0, 100% 0, 84% 100%, 0 100%);
}
.correctional-gallery .gallery-panel-5 {
  left: 89.5%; width: 18%; z-index: 5;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}
.correctional-gallery .gallery-shade {
  z-index: 10;
  background: linear-gradient(90deg, #f8faf8 0%, #f8faf8 27%, rgba(248,250,248,.96) 31%, rgba(248,250,248,.18) 42%, transparent 53%);
}
.correctional-gallery .gallery-hero-inner {
  max-width: 1600px;
  padding: clamp(2.7rem, 4vw, 4rem) clamp(4.25rem, 6.5vw, 7rem);
}
.correctional-gallery .gallery-copy { width: min(430px, 28vw); }
.correctional-gallery .gallery-pill {
  border-color: #a9d7c0;
  background: #f1f8f4;
  color: #14704f;
  backdrop-filter: none;
}
.correctional-gallery .gallery-copy h1 {
  max-width: 430px;
  margin-top: .9rem;
  color: #173a31;
  font-size: clamp(2.55rem, 3.45vw, 3.8rem);
  line-height: 1.02;
}
.correctional-gallery .gallery-copy h1 span { color: #18855e; }
.correctional-gallery .gallery-copy p {
  max-width: 390px;
  margin-top: 1rem;
  color: #536861;
  font-size: clamp(.85rem, .92vw, .98rem);
  line-height: 1.58;
}
.correctional-gallery .gallery-actions { margin-top: 1.25rem; }
.correctional-gallery .hero-secondary { background: #fff; border-color: #b9c8c2; color: #1a3931; backdrop-filter: none; }
.correctional-gallery .hero-secondary:hover { background: #edf4f0; border-color: #9eb6ab; }
.correctional-gallery .gallery-arrow { border-color: #d4ddd8; color: #173b32; box-shadow: 0 6px 20px rgba(21,55,46,.12); }
.correctional-gallery .gallery-dots button { background: rgba(24,64,52,.3); }
.correctional-gallery .gallery-dots button.is-active { background: #16845e; }

.hero-proof-strip { background: #fff; }
.hero-proof-grid { max-width: 1440px; }
.hero-proof-icon { background: transparent; border: 0; color: #157251; }
.hero-proof small { color: #52655f; }

.compact-category-showcase.category-showcase {
  padding: 1.25rem 0 1.4rem;
  border-bottom: 1px solid var(--color-line);
  background: #fff;
}
.category-strip-layout { max-width: 1480px; display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: stretch; gap: 1rem; }
.category-strip-title { display: flex; flex-direction: column; justify-content: center; padding-right: .5rem; }
.category-strip-title h2 { margin: .35rem 0 0; font-size: clamp(1.6rem, 2.4vw, 2.25rem); line-height: 1.03; letter-spacing: -.045em; }
.category-scroll { min-width: 0; display: flex; gap: .7rem; overflow-x: auto; margin: 0; padding: .2rem .1rem .45rem; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.category-list-item { min-width: 0; }
.category-tile {
  display: block;
  position: relative;
  min-width: 168px;
  min-height: 145px;
  overflow: hidden;
  flex: 1 0 168px;
  padding: .85rem;
  border: 1px solid #dce4df;
  border-radius: 9px;
  background: #f7f8f6;
  scroll-snap-align: start;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.category-tile:hover { transform: translateY(-2px); border-color: #b8c9c1; box-shadow: 0 8px 20px rgba(20,55,45,.08); }
.category-tile-copy { position: relative; z-index: 3; width: 55%; }
.category-tile-copy strong, .category-tile-copy small { display: block; }
.category-tile-copy strong { font-size: .88rem; line-height: 1.12; }
.category-tile-copy small { margin-top: .35rem; color: #52665f; font-size: .68rem; line-height: 1.35; }
.category-tile-visual { position: absolute; z-index: 1; inset: 2rem -.45rem -.2rem 40%; display: grid; place-items: center; }
.category-tile-visual img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 8px 10px rgba(28,55,47,.1)); }
.category-tile-visual .category-garment { position: static; width: 100%; height: 100%; color: #758b83; filter: drop-shadow(0 8px 10px rgba(28,55,47,.1)); }
.category-tile-arrow { position: absolute; z-index: 4; right: .55rem; bottom: .5rem; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #176148; box-shadow: 0 4px 12px rgba(20,55,45,.12); }

.catalog-section { max-width: 1480px; padding-top: clamp(2.3rem, 4vw, 3.7rem); }
.product-card { scroll-margin-top: 100px; }
.product-media { background: #fafbfa; }
.product-image img { mix-blend-mode: multiply; }

@media (max-width: 1320px) {
  .site-nav { gap: .9rem; }
  .nav-link { font-size: .75rem; }
  .header-search { max-width: 285px; }
  .correctional-gallery .gallery-copy { width: min(390px, 31vw); }
  .correctional-gallery .gallery-panel-1 { left: 34%; }
}

@media (max-width: 1100px) {
  .header-search { max-width: none; flex: 1; }
  .correctional-gallery .gallery-panel-1 { left: 43%; width: 32%; }
  .correctional-gallery .gallery-panel-2 { left: 63%; width: 31%; }
  .correctional-gallery .gallery-panel-3 { left: 82%; width: 27%; }
  .correctional-gallery .gallery-panel-4,
  .correctional-gallery .gallery-panel-5 { display: none; }
  .correctional-gallery .gallery-shade { background: linear-gradient(90deg,#f8faf8 0%,#f8faf8 38%,rgba(248,250,248,.82) 49%,transparent 68%); }
  .correctional-gallery .gallery-copy { width: min(430px, 42vw); }
  .category-strip-layout { grid-template-columns: 125px minmax(0,1fr); }
}

@media (max-width: 767px) {
  .header-search { display: none; }
  .correctional-gallery.gallery-hero { min-height: 670px; }
  .correctional-gallery .gallery-panel { display: none; }
  .correctional-gallery .gallery-panel-1 { display: block; inset: 0; width: 100%; clip-path: none; }
  .correctional-gallery .gallery-panel-1 img { object-position: 72% center !important; }
  .correctional-gallery .gallery-shade {
    background: linear-gradient(180deg,#f8faf8 0%,rgba(248,250,248,.98) 44%,rgba(248,250,248,.78) 61%,rgba(248,250,248,.08) 100%);
  }
  .correctional-gallery .gallery-hero-inner { align-items: flex-start; padding: 2.4rem var(--gutter) 4.8rem; }
  .correctional-gallery .gallery-copy { width: 100%; }
  .correctional-gallery .gallery-copy h1 { max-width: 360px; font-size: clamp(2.45rem, 11.5vw, 3.35rem); }
  .correctional-gallery .gallery-copy p { max-width: 360px; font-size: .9rem; }
  .correctional-gallery .gallery-actions { max-width: 320px; }
  .correctional-gallery .gallery-arrow { top: 73%; }
  .correctional-gallery .gallery-dots { bottom: 1rem; }
  .category-strip-layout { display: block; }
  .category-strip-title { margin-bottom: .75rem; }
  .category-strip-title h2 br { display: none; }
  .category-tile { min-width: 155px; flex-basis: 155px; }
}

/* 2026-07-17: normalized correctional hero crops and three-category layout. */
.correctional-gallery .gallery-panel {
  top: 0;
  bottom: 0;
  width: 18.25%;
  background: #e7ebe8;
  filter: drop-shadow(-3px 0 0 #fff);
}
.correctional-gallery .gallery-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center !important;
}
.correctional-gallery .gallery-panel-1 { left: 31.5%; width: 18.25%; }
.correctional-gallery .gallery-panel-2 { left: 45.15%; width: 18.25%; }
.correctional-gallery .gallery-panel-3 { left: 58.8%; width: 18.25%; }
.correctional-gallery .gallery-panel-4 { left: 72.45%; width: 18.25%; }
.correctional-gallery .gallery-panel-5 { left: 86.1%; width: 16%; }

.category-scroll {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  overflow: visible;
  padding: .2rem .1rem .45rem;
}
.category-list-item { width: 100%; }
.category-tile {
  min-width: 0;
  min-height: 158px;
  width: 100%;
  flex: none;
}
.category-tile-copy { width: 52%; }
.category-tile-visual { inset: 1.6rem -.1rem -.25rem 45%; }

@media (max-width: 1100px) {
  .correctional-gallery .gallery-panel-1 { left: 42%; width: 25%; }
  .correctional-gallery .gallery-panel-2 { left: 61%; width: 25%; }
  .correctional-gallery .gallery-panel-3 { left: 80%; width: 23%; }
  .category-scroll { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .correctional-gallery .gallery-panel-1 img { object-position: center center !important; }
  .category-scroll {
    display: grid;
    grid-template-columns: 1fr;
    gap: .7rem;
    overflow: visible;
  }
  .category-tile {
    min-width: 0;
    min-height: 150px;
  }
}

.product-image-placeholder {
  width: 100%;
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .65rem;
  color: #87958f;
  text-align: center;
  font-size: .76rem;
}
.product-image-placeholder svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.category-placeholder-icon {
  width: 82%;
  height: 82%;
  fill: none;
  stroke: #789087;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 2026-07-17: compact, non-overlapping mobile storefront layout. */
@media (max-width: 767px) {
  :root { --gutter: clamp(.95rem, 4.5vw, 1.2rem); }

  .site-header-inner.wrap {
    min-height: 72px;
    padding-inline: var(--gutter);
    gap: .45rem;
  }
  .brand-logo { width: clamp(128px, 37vw, 148px); }
  .header-actions { margin-left: auto; gap: .38rem; }
  .header-actions > .btn:not(.mobile-menu-toggle),
  .mobile-menu-toggle {
    min-height: 42px;
    padding: .52rem .62rem;
    border-radius: 9px;
    font-size: .74rem;
    line-height: 1;
    white-space: nowrap;
  }
  .header-actions > .btn:not(.mobile-menu-toggle) { gap: .32rem; }
  .cart-count { min-width: 20px; height: 20px; padding-inline: 5px; font-size: .66rem; }

  .correctional-gallery.gallery-hero {
    min-height: 810px;
    overflow: hidden;
    background: #f8faf8;
  }
  .correctional-gallery .gallery-scenes {
    inset: auto 0 0;
    height: 330px;
    overflow: hidden;
    background: #e7ebe8;
  }
  .correctional-gallery .gallery-scene { inset: 0; }
  .correctional-gallery .gallery-panel { display: none; }
  .correctional-gallery .gallery-panel-1 {
    display: block;
    inset: 0;
    width: 100%;
    height: 100%;
    clip-path: none;
    filter: none;
  }
  .correctional-gallery .gallery-panel-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24% !important;
  }
  .correctional-gallery .gallery-shade {
    inset: auto 0 0;
    height: 105px;
    background: linear-gradient(180deg, #f8faf8 0%, rgba(248,250,248,.78) 30%, rgba(248,250,248,0) 100%);
  }
  .correctional-gallery .gallery-hero-inner {
    min-height: 810px;
    display: block;
    padding: 1.9rem var(--gutter) 350px;
  }
  .correctional-gallery .gallery-copy { width: 100%; max-width: none; }
  .correctional-gallery .gallery-pill {
    width: fit-content;
    padding: .4rem .62rem;
    font-size: .65rem;
  }
  .correctional-gallery .gallery-copy h1 {
    max-width: 350px;
    margin-top: .9rem;
    font-size: clamp(2.3rem, 10.6vw, 2.8rem);
    line-height: 1.01;
    letter-spacing: -.045em;
  }
  .correctional-gallery .gallery-copy p {
    max-width: 350px;
    margin-top: .9rem;
    font-size: .89rem;
    line-height: 1.55;
  }
  .correctional-gallery .gallery-actions {
    width: 100%;
    max-width: none;
    margin-top: 1.1rem;
    gap: .65rem;
  }
  .correctional-gallery .gallery-actions .btn {
    width: 100%;
    min-height: 46px;
  }
  .correctional-gallery .gallery-arrow {
    top: auto;
    bottom: 137px;
    width: 43px;
    height: 43px;
  }
  .correctional-gallery .gallery-arrow-prev { left: .85rem; }
  .correctional-gallery .gallery-arrow-next { right: .85rem; }
  .correctional-gallery .gallery-dots { bottom: .85rem; }

  .hero-proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    margin-inline: 0;
    padding: .65rem var(--gutter);
    gap: 0;
  }
  .hero-proof {
    min-width: 0;
    padding: .72rem .55rem;
    gap: .55rem;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
    scroll-snap-align: none;
  }
  .hero-proof:nth-child(odd) { border-right: 1px solid var(--color-line); padding-left: 0; }
  .hero-proof:nth-child(even) { padding-right: 0; }
  .hero-proof:nth-child(n+4) { margin-top: 0; }
  .hero-proof:nth-child(4) { border-bottom: 0; }
  .hero-proof:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
    padding-inline: 0;
  }
  .hero-proof-icon { width: 32px; height: 32px; }
  .hero-proof-icon svg { width: 17px; height: 17px; }
  .hero-proof strong { font-size: .74rem; }
  .hero-proof small { font-size: .63rem; }

  .compact-category-showcase.category-showcase { padding: 1.55rem 0 1.7rem; }
  .category-strip-title { margin-bottom: 1rem; }
  .category-strip-title h2 { font-size: 1.85rem; }
  .category-scroll { gap: .75rem; }
  .category-tile {
    min-height: 136px;
    padding: .9rem;
  }
  .category-tile-copy { width: 54%; }
  .category-tile-visual { inset: 1rem .15rem .05rem 45%; }
}

@media (max-width: 360px) {
  .brand-logo { width: 118px; }
  .header-actions > .btn:not(.mobile-menu-toggle),
  .mobile-menu-toggle { padding-inline: .5rem; font-size: .7rem; }
  .correctional-gallery.gallery-hero,
  .correctional-gallery .gallery-hero-inner { min-height: 825px; }
  .correctional-gallery .gallery-copy h1 { font-size: 2.2rem; }
}

/* 2026-07-17: final mobile hero crop and spacing correction. */
@media (max-width: 767px) {
  .correctional-gallery.gallery-hero {
    min-height: 748px;
  }

  .correctional-gallery .gallery-scenes {
    height: 350px;
  }

  .correctional-gallery .gallery-panel-1 img {
    object-fit: cover;
    object-position: center top !important;
  }

  /* The desktop fade creates a white band across the mobile photograph. */
  .correctional-gallery .gallery-shade {
    display: none;
  }

  .correctional-gallery .gallery-hero-inner {
    min-height: 748px;
    padding: 1.65rem var(--gutter) 370px;
  }

  .correctional-gallery .gallery-copy h1 {
    margin-top: .75rem;
  }

  .correctional-gallery .gallery-copy p {
    margin-top: .72rem;
  }

  .correctional-gallery .gallery-actions {
    margin-top: .9rem;
  }

  .correctional-gallery .gallery-arrow {
    bottom: 151px;
  }

  .correctional-gallery .gallery-dots {
    bottom: .75rem;
    padding: .35rem .48rem;
    border-radius: 999px;
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(5px);
  }

  .correctional-gallery .gallery-dots button {
    background: rgba(22,99,73,.28);
  }

  .correctional-gallery .gallery-dots button.is-active {
    background: #16845e;
  }

  .hero-proof-grid {
    padding-block: .55rem;
  }

  .hero-proof {
    min-height: 72px;
    align-items: flex-start;
    padding-block: .68rem;
  }

  .hero-proof:last-child {
    min-height: 60px;
  }
}

@media (max-width: 390px) {
  .correctional-gallery.gallery-hero,
  .correctional-gallery .gallery-hero-inner {
    min-height: 770px;
  }

  .correctional-gallery .gallery-scenes {
    height: 345px;
  }

  .correctional-gallery .gallery-hero-inner {
    padding-bottom: 365px;
  }
}

@media (max-width: 360px) {
  .correctional-gallery.gallery-hero,
  .correctional-gallery .gallery-hero-inner {
    min-height: 825px;
  }
}

/* 2026-07-17: show full garments in the mobile hero and normalize the mobile footer. */
@media (max-width: 767px) {
  .correctional-gallery.gallery-hero {
    min-height: 890px;
  }

  .correctional-gallery .gallery-scenes {
    height: 480px;
    background: #e8ece9;
  }

  .correctional-gallery .gallery-panel-1 {
    display: grid;
    place-items: center;
    background: #e8ece9;
  }

  .correctional-gallery .gallery-panel-1 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom !important;
    background: #e8ece9;
  }

  .correctional-gallery .gallery-hero-inner {
    min-height: 890px;
    padding-bottom: 500px;
  }

  .correctional-gallery .gallery-arrow {
    bottom: 218px;
  }

  .correctional-gallery .gallery-dots {
    bottom: .8rem;
  }

  .site-footer {
    margin-top: 3.25rem;
  }

  .site-footer .wrap {
    max-width: none;
    padding-inline: var(--gutter);
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1rem;
    padding-top: 2.5rem;
    padding-bottom: 1.8rem;
  }

  .footer-intro {
    grid-column: 1 / -1;
  }

  .footer-brand-logo {
    width: min(190px, 62vw);
  }

  .footer-intro h2 {
    max-width: 320px;
    margin-top: .85rem;
    font-size: clamp(1.65rem, 8vw, 2.05rem);
    line-height: 1.08;
  }

  .footer-intro p {
    max-width: 34rem;
    margin-top: .8rem;
    font-size: .9rem;
    line-height: 1.6;
  }

  .footer-links {
    min-width: 0;
  }

  .footer-links ul {
    margin-top: .75rem;
    gap: .62rem;
    font-size: .84rem;
  }

  .footer-links a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    padding-top: 1.15rem;
    padding-bottom: 1.5rem;
    align-items: flex-start;
    gap: .7rem;
  }

  .footer-bottom nav {
    gap: .85rem;
  }
}

@media (max-width: 390px) {
  .correctional-gallery.gallery-hero,
  .correctional-gallery .gallery-hero-inner {
    min-height: 920px;
  }

  .correctional-gallery .gallery-scenes {
    height: 500px;
  }

  .correctional-gallery .gallery-hero-inner {
    padding-bottom: 520px;
  }

  .correctional-gallery .gallery-arrow {
    bottom: 228px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.45rem;
  }

  .footer-intro,
  .footer-links {
    grid-column: 1;
  }

  .footer-links + .footer-links {
    padding-top: .15rem;
  }
}


/* Streamed catalog fallback: the page shell and hero can paint before the backend responds. */
.catalog-loading-shell {
  min-height: 520px;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: #fff;
}
.catalog-loading-heading,
.catalog-loading-grid > div {
  overflow: hidden;
  position: relative;
  background: #e9eeeb;
}
.catalog-loading-heading { width: min(420px, 72vw); height: 44px; border-radius: 12px; }
.catalog-loading-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.catalog-loading-grid > div { min-height: 300px; border-radius: var(--radius-md); }
.catalog-loading-heading::after,
.catalog-loading-grid > div::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.62), transparent);
  animation: catalog-loading-shimmer 1.5s infinite;
}
@keyframes catalog-loading-shimmer { to { transform: translateX(100%); } }

/* Skip paint/layout work for sections that start below the first viewport. */
.category-showcase,
.trust-band,
.catalog-section,
.compliance-section,
.mailing-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

@media (max-width: 767px) {
  .catalog-loading-grid { grid-template-columns: 1fr; }
  .catalog-loading-grid > div:nth-child(n+2) { display: none; }
  .catalog-loading-shell { min-height: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-loading-heading::after,
  .catalog-loading-grid > div::after { animation: none; }
}

.catalog-load-error {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.catalog-load-error > div { max-width: 620px; }
.catalog-load-error h2 { margin: .45rem 0 .65rem; }
.catalog-load-error p { margin: 0; color: var(--color-steel); }
@media (max-width: 700px) {
  .catalog-load-error { align-items: flex-start; flex-direction: column; justify-content: center; }
  .catalog-load-error .btn { width: 100%; }
}


/* Accessibility contrast pass: all secondary text meets WCAG AA on its rendered surface. */
.hero-proof small,
.catalog-head-note,
.catalog-search-count,
.catalog-group-count,
.product-meta-line,
.product-group,
.product-spec dt,
.option-label,
.inventory-row > span:first-child,
.inventory-number small {
  color: #4b5f58;
}
.feature-card,
.product-spec {
  color: var(--color-ink);
}
.feature-card p,
.product-safety-note {
  color: #455952;
}
.site-footer { color: #ffffff; }
.site-footer .footer-intro p { color: #dbe3e1; }
.site-footer .footer-links h3,
.site-footer .footer-bottom { color: #cbd6d3; }
.site-footer .footer-links ul,
.site-footer .footer-links a,
.site-footer .footer-links button { color: #e0e6e4; }

/* Final WCAG contrast pass for product details and footer navigation. */
.reveal,
.reveal.is-in {
  opacity: 1;
}

.product-safety-note,
.product-safety-note strong {
  color: #17352e !important;
}

.inventory-number small {
  color: #2f463e !important;
  font-weight: 650;
}

.site-footer {
  background: #0d2b24;
  color: #ffffff;
}

.site-footer .footer-intro p,
.site-footer .footer-links h3,
.site-footer .footer-links ul,
.site-footer .footer-links a,
.site-footer .footer-links button,
.site-footer .footer-bottom,
.site-footer .footer-bottom a {
  color: #ffffff !important;
  opacity: 1;
}

.site-footer .footer-links a,
.site-footer .footer-links button,
.site-footer .footer-bottom a {
  font-weight: 650;
}

.site-footer .footer-links a:focus-visible,
.site-footer .footer-links button:focus-visible,
.site-footer .footer-bottom a:focus-visible {
  outline-color: #ffffff;
}

/* Final contrast correction for the two remaining Lighthouse findings. */
.product-safety-note {
  color: #142b25 !important;
  opacity: 1 !important;
}
.product-safety-label {
  color: #071713 !important;
  font-weight: 800;
  opacity: 1 !important;
}
.inventory-number {
  color: #10251f !important;
  opacity: 1 !important;
}
.inventory-capacity {
  color: #243b33 !important;
  font-size: .78rem;
  font-weight: 700;
  opacity: 1 !important;
}

/* Quote list drawer */
.quote-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(7, 23, 19, 0.58);
  backdrop-filter: blur(2px);
  animation: quote-backdrop-in 0.18s ease both;
}
.quote-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 80;
  width: min(560px, 100vw);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-left: 1px solid var(--color-line-2);
  background: #fff;
  color: var(--color-ink);
  box-shadow: -20px 0 60px rgba(7, 23, 19, 0.22);
  animation: quote-drawer-in 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.quote-drawer-header {
  min-height: 86px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--color-line);
  background: #fff;
}
.quote-drawer-eyebrow {
  color: var(--color-accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.quote-drawer-header h2 {
  margin: 0.16rem 0 0;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.quote-close-button {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--color-line-2);
  border-radius: 12px;
  background: #fff;
  color: var(--color-ink);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.quote-close-button:hover { background: var(--color-paper-2); border-color: #aebfb7; }
.quote-close-button:active { transform: scale(0.97); }
.quote-close-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.quote-drawer-scroll {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background: var(--color-paper);
}
.quote-success {
  margin: 1.1rem 1.25rem 0;
  padding: 1rem 1.05rem;
  border: 1px solid #8fc6ad;
  border-radius: 12px;
  background: #eef8f3;
}
.quote-success > span { display: block; color: var(--color-accent); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.quote-success > strong { display: block; margin-top: 0.25rem; font-size: 1.02rem; }
.quote-success p { margin: 0.4rem 0 0; color: var(--color-steel); font-size: 0.8rem; line-height: 1.55; }
.quote-empty {
  min-height: 420px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 3rem 2rem;
  text-align: center;
}
.quote-empty-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: var(--color-accent-l); color: var(--color-accent-d); }
.quote-empty-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.quote-empty h3 { margin: 1.1rem 0 0; font-size: 1.2rem; letter-spacing: -0.025em; }
.quote-empty p { max-width: 320px; margin: 0.55rem 0 1.25rem; color: var(--color-steel); font-size: 0.9rem; line-height: 1.55; }
.quote-lines { display: grid; gap: 0.85rem; padding: 1rem 1.15rem; }
.quote-line {
  padding: 1rem;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(24, 53, 47, 0.045);
}
.quote-line-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.quote-line-copy { min-width: 0; }
.quote-line-sku { display: block; color: var(--color-accent); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.quote-line h3 { margin: 0.18rem 0 0; font-size: 1rem; line-height: 1.25; letter-spacing: -0.018em; }
.quote-line-copy p { margin: 0.22rem 0 0; color: var(--color-steel); font-size: 0.72rem; line-height: 1.4; text-transform: capitalize; }
.quote-remove-button {
  flex: none;
  padding: 0.34rem 0.5rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #6a3b35;
  font-size: 0.69rem;
  font-weight: 700;
  cursor: pointer;
}
.quote-remove-button:hover { background: #f8ecea; color: var(--color-out); }
.quote-line-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.9rem; padding-top: 0.85rem; border-top: 1px solid var(--color-line); }
.quote-quantity { display: grid; grid-template-columns: 38px minmax(76px, auto) 38px; min-height: 38px; overflow: hidden; border: 1px solid var(--color-line-2); border-radius: 10px; background: #fff; }
.quote-quantity > button { display: grid; place-items: center; padding: 0; border: 0; background: var(--color-paper); color: var(--color-ink); font-size: 1.12rem; font-weight: 650; cursor: pointer; }
.quote-quantity > button:first-child { border-right: 1px solid var(--color-line); }
.quote-quantity > button:last-child { border-left: 1px solid var(--color-line); }
.quote-quantity > button:hover { background: var(--color-accent-l); color: var(--color-accent-d); }
.quote-quantity-value { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 0.22rem; padding-inline: 0.35rem; }
.quote-quantity-input { width: 30px; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--color-ink); text-align: right; font-variant-numeric: tabular-nums; font-size: 0.84rem; font-weight: 750; }
.quote-quantity-input:focus { box-shadow: 0 2px 0 var(--color-accent); }
.quote-quantity-value span { color: var(--color-steel); font-size: 0.67rem; }
.quote-line-price { min-width: 90px; display: grid; justify-items: end; gap: 0.12rem; }
.quote-line-price span { color: var(--color-steel); font-size: 0.68rem; }
.quote-line-price strong { font-size: 1rem; font-variant-numeric: tabular-nums; }
.quote-form { display: grid; gap: 0.9rem; margin-top: 0.15rem; padding: 1.2rem 1.15rem 1.5rem; border-top: 1px solid var(--color-line); background: #fff; }
.quote-form-heading { margin-bottom: 0.15rem; }
.quote-form-heading > span { display: block; font-size: 1rem; font-weight: 800; letter-spacing: -0.018em; }
.quote-form-heading p { margin: 0.22rem 0 0; color: var(--color-steel); font-size: 0.76rem; line-height: 1.45; }
.quote-form-grid { display: grid; gap: 0.8rem; }
.quote-form-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote-field { min-width: 0; display: grid; gap: 0.38rem; color: var(--color-ink); font-size: 0.74rem; font-weight: 750; }
.quote-field > span { display: block; }
.quote-field em { margin-left: 0.25rem; color: var(--color-steel); font-size: 0.67rem; font-style: normal; font-weight: 550; }
.quote-field input,
.quote-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--color-line-2);
  border-radius: 10px;
  background: #fff;
  color: var(--color-ink);
  padding: 0.78rem 0.82rem;
  font-size: 0.86rem;
  font-weight: 450;
  line-height: 1.35;
  resize: vertical;
}
.quote-field input { min-height: 44px; }
.quote-field input:focus,
.quote-field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(22, 122, 89, 0.11); }
.quote-field input::placeholder,
.quote-field textarea::placeholder { color: #71827c; opacity: 1; }
.quote-preferences { display: grid; gap: 0.6rem; padding: 0.8rem; border: 1px solid var(--color-line); border-radius: 12px; background: var(--color-paper); }
.quote-check-row { display: flex; align-items: flex-start; gap: 0.58rem; color: var(--color-steel); font-size: 0.76rem; line-height: 1.45; cursor: pointer; }
.quote-check-row input { width: 1rem; height: 1rem; flex: none; margin: 0.1rem 0 0; accent-color: var(--color-accent); }
.quote-error { padding: 0.8rem 0.85rem; border: 1px solid #d68a82; border-radius: 10px; background: #fff2f0; color: #7d2f27; font-size: 0.76rem; line-height: 1.5; }
.quote-summary { display: grid; gap: 0.78rem; margin-top: 0.15rem; padding: 1rem; border: 1px solid var(--color-line); border-radius: 14px; background: var(--color-paper); }
.quote-summary-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; color: var(--color-steel); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; }
.quote-summary-meta span:not(:last-child)::after { content: "·"; margin-left: 0.8rem; color: #9aa9a3; }
.quote-summary-total { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--color-line); }
.quote-summary-total span { color: var(--color-steel); font-size: 0.76rem; font-weight: 700; }
.quote-summary-total strong { font-size: 1.65rem; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.quote-summary-actions { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.7rem; }
.quote-clear-button { min-height: 42px; padding: 0.55rem 0.3rem; border: 0; background: transparent; color: var(--color-steel); font-size: 0.72rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.quote-clear-button:disabled { visibility: hidden; }
.quote-submit-button { width: 100%; min-width: 0; }
.quote-summary > p { margin: 0; color: var(--color-steel); font-size: 0.67rem; line-height: 1.55; }
@keyframes quote-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes quote-drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }

@media (max-width: 620px) {
  .quote-drawer { width: 100vw; border-left: 0; }
  .quote-drawer-header { min-height: 76px; padding: 0.9rem 1rem; }
  .quote-drawer-header h2 { font-size: 1.25rem; }
  .quote-close-button { width: 42px; height: 42px; }
  .quote-lines { padding: 0.8rem; gap: 0.7rem; }
  .quote-line { padding: 0.9rem; }
  .quote-form { padding: 1rem 0.8rem 1.25rem; }
  .quote-form-grid-two { grid-template-columns: 1fr; }
  .quote-summary-actions { grid-template-columns: 1fr; }
  .quote-clear-button { order: 2; justify-self: center; }
  .quote-line-controls { align-items: end; }
}

@media (max-width: 380px) {
  .quote-line-controls { display: grid; grid-template-columns: 1fr; }
  .quote-line-price { justify-items: start; }
  .quote-quantity { width: 100%; grid-template-columns: 42px minmax(0, 1fr) 42px; }
}

/* Customer-facing contact page */
.contact-hero {
  padding: clamp(3.2rem, 7vw, 6.5rem) 0 clamp(2.8rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 88% 18%, rgba(22, 122, 89, 0.11), transparent 27rem),
    linear-gradient(180deg, #ffffff 0%, var(--color-paper) 100%);
  border-bottom: 1px solid var(--color-line);
}
.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}
.contact-hero-copy h1 {
  max-width: 760px;
  margin: 0.75rem 0 0;
  font-size: clamp(2.7rem, 6.5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 790;
}
.contact-hero-copy > p {
  max-width: 690px;
  margin: 1.25rem 0 0;
  color: var(--color-steel);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.75;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.contact-email-card {
  padding: clamp(1.4rem, 3.5vw, 2.2rem);
  border: 1px solid var(--color-line-2);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.contact-card-label {
  display: block;
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.contact-email-card > a {
  display: inline-block;
  margin-top: 0.65rem;
  color: var(--color-ink);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.contact-email-card > a:hover { color: var(--color-accent); }
.contact-email-card > p {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
  color: var(--color-steel);
  font-size: 0.9rem;
  line-height: 1.65;
}
.contact-options { padding: clamp(3.5rem, 7vw, 6rem) 0 1rem; }
.contact-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}
.contact-section-heading h2 {
  max-width: 680px;
  margin: 0.55rem 0 0;
  font-size: clamp(2rem, 4.5vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 780;
}
.contact-section-heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--color-steel);
  line-height: 1.7;
}
.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.contact-option-card {
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.3rem, 3vw, 1.7rem);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.contact-option-number {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}
.contact-option-card h3 {
  margin: 1.8rem 0 0;
  font-size: 1.15rem;
  font-weight: 780;
  letter-spacing: -0.02em;
}
.contact-option-card p {
  margin: 0.7rem 0 0;
  color: var(--color-steel);
  font-size: 0.92rem;
  line-height: 1.68;
}
.contact-text-action {
  width: fit-content;
  margin-top: auto;
  padding: 1.4rem 0 0;
  border: 0;
  background: transparent;
  color: var(--color-accent-d);
  font-weight: 800;
  cursor: pointer;
}
.contact-text-action:hover { color: var(--color-accent); text-decoration: underline; text-underline-offset: 0.25em; }

@media (max-width: 900px) {
  .contact-hero-grid { grid-template-columns: 1fr; }
  .contact-email-card { max-width: 620px; }
  .contact-card-grid { grid-template-columns: 1fr; }
  .contact-option-card { min-height: 0; }
  .contact-section-heading { align-items: start; flex-direction: column; }
}
@media (max-width: 560px) {
  .contact-hero { padding-top: 2.4rem; }
  .contact-actions { display: grid; grid-template-columns: 1fr; }
  .contact-actions .btn { width: 100%; }
  .contact-email-card { padding: 1.2rem; }
}

/* Customer shipping and returns pages */
.policy-hero {
  padding: clamp(3.2rem, 7vw, 6.5rem) 0 clamp(2.8rem, 6vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--color-line);
  background:
    radial-gradient(circle at 88% 16%, rgba(22, 122, 89, 0.13), transparent 25rem),
    linear-gradient(180deg, #ffffff 0%, var(--color-paper) 100%);
}
.policy-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, 0.72fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}
.policy-hero-copy h1 {
  max-width: 800px;
  margin: 0.72rem 0 0;
  color: var(--color-ink);
  font-size: clamp(2.65rem, 6.2vw, 5rem);
  font-weight: 790;
  letter-spacing: -0.055em;
  line-height: 0.99;
  text-wrap: balance;
}
.policy-hero-copy > p {
  max-width: 720px;
  margin: 1.25rem 0 0;
  color: var(--color-steel);
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  line-height: 1.75;
}
.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.policy-summary-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--color-line-2);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.policy-summary-label {
  display: block;
  color: var(--color-accent-d);
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.policy-summary-card h2 {
  margin: 0.65rem 0 0;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  font-weight: 790;
  letter-spacing: -0.025em;
  line-height: 1.18;
}
.policy-summary-card ul {
  display: grid;
  gap: 0.8rem;
  margin: 1.2rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--color-line);
  list-style: none;
}
.policy-summary-card li {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  color: var(--color-steel);
  font-size: 0.9rem;
  line-height: 1.55;
}
.policy-summary-card li > span:first-child {
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--color-accent-l);
  color: var(--color-accent-d);
  font-size: 0.72rem;
  font-weight: 900;
}
.policy-content { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); background: #fff; }
.policy-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}
.policy-section-heading h2 {
  max-width: 680px;
  margin: 0.55rem 0 0;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-wrap: balance;
}
.policy-section-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--color-steel);
  line-height: 1.7;
}
.policy-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.policy-card {
  min-height: 270px;
  padding: clamp(1.35rem, 3vw, 1.8rem);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-paper);
}
.policy-card-number {
  color: var(--color-accent-d);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}
.policy-card h3 {
  margin: 2rem 0 0;
  color: var(--color-ink);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.policy-card-copy {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
  color: var(--color-steel);
  font-size: 0.94rem;
  line-height: 1.72;
}
.policy-card-copy p { margin: 0; }
.policy-help-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1rem;
  padding: clamp(1.4rem, 4vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: #103b31;
  color: #fff;
}
.policy-help-card > div { max-width: 760px; }
.policy-help-card .policy-summary-label { color: #9fe0c6; }
.policy-help-card h2 {
  margin: 0.55rem 0 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.policy-help-card p {
  margin: 0.75rem 0 0;
  color: #d7e7e1;
  line-height: 1.65;
}
.policy-help-card .btn { flex: none; background: #fff; border-color: #fff; color: var(--color-ink); }
.policy-help-card .btn:hover { background: var(--color-accent-l); }

@media (max-width: 900px) {
  .policy-hero-grid { grid-template-columns: 1fr; }
  .policy-summary-card { max-width: 680px; }
  .policy-section-heading { align-items: start; flex-direction: column; }
  .policy-card-grid { grid-template-columns: 1fr; }
  .policy-card { min-height: 0; }
}
@media (max-width: 620px) {
  .policy-hero { padding-top: 2.4rem; }
  .policy-actions { display: grid; grid-template-columns: 1fr; }
  .policy-actions .btn { width: 100%; }
  .policy-summary-card { padding: 1.15rem; }
  .policy-content { padding-top: 3rem; }
  .policy-help-card { align-items: stretch; flex-direction: column; }
  .policy-help-card .btn { width: 100%; }
}


/* Dynamic storefront contact information */
.contact-methods-card { scroll-margin-top: 7rem; }
.contact-method-row {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--color-line);
}
.contact-method-row > span {
  color: var(--color-steel);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-method-row > a {
  color: var(--color-ink);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}
.contact-method-row > a:hover { color: var(--color-accent); }
.contact-option-actions { display: grid; gap: 0.65rem; margin-top: auto; }
.policy-related-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--color-accent-d);
  font-weight: 800;
  text-decoration: none;
}
.policy-related-link:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.policy-help-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; flex: none; }
.policy-help-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: transparent;
}
.policy-help-actions .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
@media (max-width: 640px) {
  .policy-help-actions { width: 100%; display: grid; }
  .policy-help-actions .btn { width: 100%; }
}
