/* ==========================================================================
   Muna Chuna & Company
   1. Variables
   2. Reset
   3. Base
   4. Typography
   5. Layout
   6. Header
   7. Hero
   8. Buttons
   9. Sections
   10. Cards
   11. Products
   12. Modal
   13. Forms
   14. Footer
   15. Utilities
   16. Animations
   17. Responsive
   18. Reduced motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables
   -------------------------------------------------------------------------- */
:root {
  --forest: #173C32;
  --evergreen: #0E2923;
  --terracotta: #B65F3C;
  --gold: #C6A15B;
  --ivory: #F6F1E7;
  --white: #FFFFFF;
  --charcoal: #242B28;
  --slate: #68716C;

  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Manrope", Arial, sans-serif;

  --fs-h1: clamp(2.625rem, 5vw + 1.2rem, 4.75rem);
  --fs-h2: clamp(2.125rem, 3.2vw + 1rem, 3.25rem);
  --fs-h3: clamp(1.5rem, 1.4vw + 1rem, 2.125rem);
  --fs-body: clamp(1rem, 0.25vw + 0.95rem, 1.125rem);
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.75rem;

  --lh-tight: 1.12;
  --lh-heading: 1.18;
  --lh-body: 1.65;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;

  --header-h: 68px;
  --progress-h: 3px;
  --radius: 0;
  --radius-lg: 0;
  --container: 1180px;
  --gutter: 1.25rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur-mid: 280ms;
  --dur-slow: 720ms;

  --shadow-sm: 0 8px 24px rgba(14, 41, 35, 0.08);
  --shadow-md: 0 16px 40px rgba(14, 41, 35, 0.12);
  --line: rgba(23, 60, 50, 0.12);
  --focus: 0 0 0 3px rgba(198, 161, 91, 0.45);

  --grain:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

img {
  object-fit: cover;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--charcoal);
  background: var(--ivory);
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--forest);
  color: var(--ivory);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--forest);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--forest);
  overflow-wrap: break-word;
}

.field-full {
  grid-column: 1 / -1;
}

h1,
.display {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
}

h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.lede {
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem);
  color: var(--slate);
  max-width: 38rem;
}

.legal-page {
  padding-top: 2.25rem;
}

.legal-prose {
  max-width: 44rem;
}

.legal-prose h2 {
  font-size: clamp(1.35rem, 1vw + 1.1rem, 1.75rem);
  margin: 2.1rem 0 0.7rem;
}

.legal-prose p,
.legal-prose li {
  color: var(--slate);
  margin-bottom: 0.85rem;
}

.legal-prose ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-prose li {
  margin-bottom: 0.45rem;
}

.legal-updated {
  font-size: 0.88rem;
  color: var(--slate);
  margin-bottom: 1.5rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: var(--space-6);
}

.section-head h2 {
  margin-bottom: 0.85rem;
}

/* --------------------------------------------------------------------------
   5. Layout
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  padding: var(--space-8) 0;
  position: relative;
}

.section-tight {
  padding: var(--space-6) 0;
}

.split {
  display: grid;
  gap: var(--space-6);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: var(--progress-h);
  width: 0%;
  background: var(--gold);
  z-index: 80;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color var(--dur-mid) var(--ease), box-shadow var(--dur-mid) var(--ease), color var(--dur-mid) var(--ease);
}

.site-header .header-inner {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.logo-trans {
  height: 44px;
  width: auto;
  max-width: min(220px, calc(100vw - 7.5rem));
  object-fit: contain;
}

.logo-trans-light {
  display: none;
}

.site-header.overlay:not(.scrolled) .logo-trans-dark {
  display: none;
}

.site-header.overlay:not(.scrolled) .logo-trans-light {
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.logo-entity {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease);
}

.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: var(--radius);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Overlay header (home / products hero) */
.site-header.overlay {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  color: var(--ivory);
}

.site-header.overlay .logo-entity {
  color: rgba(246, 241, 231, 0.72);
}

.site-header.overlay .btn-header {
  border-color: var(--ivory);
  color: var(--ivory);
}

/* Scrolled / solid */
.site-header.scrolled,
.site-header.solid {
  background: rgba(246, 241, 231, 0.96);
  color: var(--forest);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(10px);
}

.site-header.scrolled .logo-entity,
.site-header.solid .logo-entity {
  color: var(--slate);
}

.site-header.scrolled .btn-header,
.site-header.solid .btn-header {
  border-color: var(--forest);
  color: var(--forest);
}

.site-header.scrolled .btn-header:hover,
.site-header.solid .btn-header:hover {
  background: var(--forest);
  color: var(--white);
}

/* Mobile menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--ivory);
  color: var(--forest);
  display: flex;
  flex-direction: column;
  padding: 1.25rem var(--gutter) 2rem;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 420ms var(--ease), opacity 420ms var(--ease), visibility 420ms;
}

.nav-mobile.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.nav-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}

.nav-mobile-list {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.35rem;
}

.nav-mobile-list a,
.nav-mobile-list .nav-mobile-cta {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-family: var(--font-display);
  font-size: 2rem;
  opacity: 0;
  transform: translateY(12px);
}

.nav-mobile.is-open .nav-mobile-list a,
.nav-mobile.is-open .nav-mobile-list .nav-mobile-cta {
  animation: rise-in 560ms var(--ease) forwards;
}

.nav-mobile.is-open .nav-mobile-list li:nth-child(1) a { animation-delay: 80ms; }
.nav-mobile.is-open .nav-mobile-list li:nth-child(2) a { animation-delay: 140ms; }
.nav-mobile.is-open .nav-mobile-list li:nth-child(3) a { animation-delay: 200ms; }
.nav-mobile.is-open .nav-mobile-list li:nth-child(4) a { animation-delay: 260ms; }
.nav-mobile.is-open .nav-mobile-list li:nth-child(5) .nav-mobile-cta { animation-delay: 320ms; }

.nav-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  font-size: 1.4rem;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-split {
  display: grid;
  background: var(--ivory);
  color: var(--charcoal);
}

.hero-copy-panel {
  display: grid;
  align-items: center;
}

.hero-split .hero-content {
  width: min(100% - (var(--gutter) * 2), 36rem);
  margin: 0 auto;
  padding: 3rem 0 2.5rem;
}

.hero-split h1 {
  color: var(--forest);
  max-width: 12ch;
  margin-bottom: 1.25rem;
}

.hero-split .hero-copy {
  max-width: 34rem;
  color: var(--slate);
  margin-bottom: 1.75rem;
}

.hero-media {
  position: relative;
  min-height: 280px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14, 41, 35, 0.18) 100%);
  pointer-events: none;
}

.page-intro {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
}

.page-intro h1 {
  margin-bottom: 0.7rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.25rem;
}

.page-hero {
  min-height: 52vh;
  background: var(--forest);
}

.page-hero .hero-content {
  padding: 6.5rem 0 3.5rem;
}

.page-hero h1 {
  max-width: 16ch;
}

/* Hero entrance */
.hero.is-ready .hero-rule {
  animation: fade-up 700ms var(--ease) both;
}

.hero.is-ready h1 {
  animation: fade-up 800ms var(--ease) 90ms both;
}

.hero.is-ready .hero-copy {
  animation: fade-up-sm 800ms var(--ease) 180ms both;
}

.hero.is-ready .hero-actions {
  animation: fade-up-xs 800ms var(--ease) 280ms both;
}

.hero.is-ready .hero-media img {
  animation: hero-image 900ms var(--ease) both;
}

/* --------------------------------------------------------------------------
   8. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: transform var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--forest);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--evergreen);
}

.btn-secondary {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.btn-secondary:hover {
  background: var(--forest);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: var(--ivory);
  color: var(--ivory);
}

.btn-ghost:hover {
  background: var(--ivory);
  color: var(--forest);
}

.btn-header {
  min-height: 44px;
  padding-inline: 1rem;
  border: 1.5px solid currentColor;
}

.btn-header:hover {
  background: var(--ivory);
  color: var(--forest);
}

.btn-accent {
  background: var(--terracotta);
  color: var(--white);
}

.btn-accent:hover {
  background: #9d4f32;
}

.btn .arrow {
  display: inline-block;
  transition: transform var(--dur-mid) var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   9. Sections
   -------------------------------------------------------------------------- */
.trust {
  background: var(--forest);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.trust-item {
  padding: 1.35rem 1rem;
  border-bottom: 1px solid rgba(246, 241, 231, 0.12);
  position: relative;
}

.trust-item:nth-child(odd) {
  border-right: 1px solid rgba(246, 241, 231, 0.12);
}

.trust-item svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
  margin-bottom: 0.7rem;
  transition: transform var(--dur-mid) var(--ease);
}

.trust-item strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory);
}

.trust-item::after {
  content: "";
  position: absolute;
  left: 1rem;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease);
}

.trust-item:hover svg {
  transform: translateY(-3px);
}

.trust-item:hover::after {
  opacity: 1;
}

.trust-item:hover strong {
  color: var(--ivory);
}

.about {
  background: var(--ivory);
  overflow: hidden;
}

.about-visual {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.about-stack {
  position: absolute;
  inset: auto 1rem 1rem auto;
  text-align: right;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 0.92;
  color: rgba(246, 241, 231, 0.88);
  pointer-events: none;
  text-shadow: 0 8px 28px rgba(14, 41, 35, 0.28);
}

.about-copy p + p {
  margin-top: 1rem;
  color: var(--slate);
}

.categories {
  background: var(--white);
}

.serve {
  background: var(--ivory);
}

.serve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.serve-card {
  background: transparent;
  border-left: 2px solid var(--gold);
  padding: 0.85rem 0 0.85rem 1rem;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  transition: transform var(--dur-mid) var(--ease), border-color var(--dur-mid) var(--ease);
}

.serve-card strong {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
}

.serve-card span {
  font-size: 0.9rem;
  color: var(--slate);
}

.serve-card:hover {
  transform: translateX(4px);
  border-color: var(--terracotta);
}

.why {
  background: var(--white);
}

.why-list {
  display: grid;
  gap: 1rem;
}

.why-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.why-item svg {
  width: 28px;
  height: 28px;
  stroke: var(--terracotta);
  fill: none;
  stroke-width: 1.6;
  margin-top: 0.2rem;
}

.why-item h3 {
  font-family: var(--font-body);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.why-item p {
  color: var(--slate);
}

.brands {
  background: var(--ivory);
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.brand-slot {
  min-height: 88px;
  border: 1px dashed rgba(23, 60, 50, 0.28);
  background: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: var(--slate);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cta-band {
  background: var(--ivory);
  color: var(--charcoal);
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.cta-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--terracotta);
}

.cta-band h2,
.cta-band p {
  color: var(--forest);
  position: relative;
}

.cta-band p {
  color: var(--slate);
  margin: 0.8rem 0 1.6rem;
  max-width: 32rem;
}

.cta-band .hero-actions {
  position: relative;
}

.contact {
  background: var(--white);
}

.contact-layout {
  display: grid;
  gap: 1.75rem;
}

.map-frame {
  margin-top: 1.25rem;
  min-height: 280px;
  border: 1px solid var(--line);
  background: var(--ivory);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.contact-panel {
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  padding: 1.35rem;
}

.contact-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.contact-panel .btn {
  margin-top: 1.5rem;
}

.contact-meta {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.contact-meta dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.2rem;
}

.contact-meta dd {
  color: var(--charcoal);
}

.contact-meta a,
.form-alt a,
.site-footer a[href^="mailto:"],
.site-footer a[href^="tel:"] {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-meta a:hover,
.form-alt a:hover,
.site-footer a[href^="mailto:"]:hover,
.site-footer a[href^="tel:"]:hover {
  color: var(--gold);
}

.form-alt {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: var(--slate);
}

.placeholder-note {
  font-size: 0.85rem;
  color: var(--slate);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.category-grid {
  display: grid;
  gap: 1.15rem;
}

.category-card {
  background: var(--white);
  border: 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 300ms var(--ease);
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.category-media img {
  width: 100%;
  height: 100%;
  transition: transform 320ms var(--ease);
}

.category-card:hover .category-media img {
  transform: scale(1.04);
}

.category-body {
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-body h3 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.category-body p {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex: 1;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
}

.category-link .arrow {
  transition: transform 280ms var(--ease);
}

.category-card:hover .category-link .arrow {
  transform: translateX(4px);
}

.category-accent {
  height: 2px;
  width: 100%;
  background: var(--terracotta);
  opacity: 0;
  transition: opacity 280ms var(--ease);
}

.category-card:hover .category-accent {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   11. Products
   -------------------------------------------------------------------------- */
.product-tools {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.search-field {
  position: relative;
}

.search-field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  border-radius: var(--radius);
}

.search-field svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--slate);
  fill: none;
  pointer-events: none;
}

.filter-bar {
  display: none;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-select,
.filter-toggle {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  text-align: left;
}

.filter-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.filter-panel.is-open {
  display: grid;
}

.filter-btn {
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background-color var(--dur-mid) var(--ease), color var(--dur-mid) var(--ease), border-color var(--dur-mid) var(--ease);
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.product-grid {
  display: grid;
  gap: 1.15rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
}

.product-card-body {
  padding: 1.1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.45rem;
}

.product-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}

.product-card .brand {
  color: var(--forest);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}

.product-card .desc {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  flex: 1;
}

.product-card .sku {
  font-size: 0.78rem;
  color: var(--slate);
  margin-bottom: 0.9rem;
}

.product-empty,
.product-count {
  color: var(--slate);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   12. Modal
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 41, 35, 0.62);
  opacity: 0;
  transition: opacity 280ms var(--ease);
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal-dialog {
  position: relative;
  width: min(100% - 1.5rem, 560px);
  max-height: calc(100svh - 2rem);
  overflow: auto;
  margin: 1rem auto;
  background: var(--ivory);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.2rem 1.5rem;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 320ms var(--ease), opacity 320ms var(--ease);
}

.modal.is-open .modal-dialog {
  transform: translateY(0);
  opacity: 1;
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-close {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1.4rem;
}

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  gap: 0.9rem;
}

.field label,
.field .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--forest);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(23, 60, 50, 0.2);
  background: var(--white);
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: var(--focus);
}

.field-error {
  display: none;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--terracotta);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--terracotta);
}

.field.is-invalid .field-error {
  display: block;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.form-status {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
  color: var(--charcoal);
  display: none;
  grid-column: 1 / -1;
}

.form-status.is-visible {
  display: block;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--evergreen);
  color: rgba(246, 241, 231, 0.82);
  padding: 3.5rem 0 1.5rem;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--gold);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.site-footer h2,
.site-footer h3 {
  color: var(--ivory);
}

.footer-logo {
  display: inline-block;
  max-width: 200px;
  padding: 0.7rem;
  background: var(--ivory);
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.legal-prose a {
  color: var(--forest);
  text-decoration: underline;
}

.site-footer .brand-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ivory);
  line-height: 1.15;
}

.site-footer .brand-industry {
  margin: 0.45rem 0 0.7rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  gap: 0.55rem;
}

.footer-nav a,
.social-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-nav a:hover,
.social-links a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.footer-base {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(246, 241, 231, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.88rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   15. Utilities
   -------------------------------------------------------------------------- */
.page-wrap {
  opacity: 0;
  transform: translateY(8px);
}

html.is-loaded .page-wrap {
  opacity: 1;
  transform: none;
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

html.is-leaving .page-wrap {
  opacity: 0.35;
  transition: opacity 160ms linear;
}

.error-page {
  min-height: 72vh;
  display: grid;
  align-items: center;
  padding: 7rem 0 4rem;
  position: relative;
}

.error-bg {
  position: absolute;
  right: 4vw;
  top: 18%;
  font-family: var(--font-display);
  font-size: clamp(7rem, 22vw, 16rem);
  color: rgba(23, 60, 50, 0.06);
  line-height: 0.8;
  pointer-events: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   16. Animations
   -------------------------------------------------------------------------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-up-sm {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-up-xs {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-image {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes rise-in {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
}

.reveal-up { transform: translateY(30px); }
.reveal-left { transform: translateX(-24px); }
.reveal-right { transform: translateX(24px); }
.reveal-scale { transform: scale(0.98); }

.reveal.revealed {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.delay-1 { transition-delay: 80ms; }
.delay-2 { transition-delay: 160ms; }
.delay-3 { transition-delay: 240ms; }
.delay-4 { transition-delay: 320ms; }

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 480px) {
  :root { --gutter: 1.5rem; }

  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  :root {
    --header-h: 80px;
    --gutter: 2rem;
  }

  .logo-trans {
    height: 54px;
    max-width: 280px;
  }

  .split,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: start;
  }

  .footer-grid {
    align-items: start;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-item {
    padding: 1.6rem 1.2rem;
    border-bottom: 0;
    border-right: 1px solid rgba(246, 241, 231, 0.12);
  }

  .trust-item:last-child {
    border-right: 0;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .serve-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .filter-select {
    display: none;
  }

  .why-list {
    grid-template-columns: 1fr;
  }

  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }

  .footer-base {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hero-split {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: calc(100svh - var(--header-h));
  }

  .hero-split .hero-content {
    width: min(100% - 3rem, 34rem);
    margin-left: auto;
    margin-right: clamp(1.5rem, 4vw, 4rem);
    padding: 4rem 0;
  }

  .hero-media,
  .hero-media img {
    min-height: 100%;
    height: 100%;
  }

  .map-frame iframe {
    height: 420px;
  }

  .filter-toggle {
    display: none;
  }

  .filter-panel,
  .filter-panel.is-open {
    display: none;
  }

  .filter-bar {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .nav-desktop,
  .header-cta {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-visual {
    min-height: 420px;
  }

  .about-visual img {
    min-height: 420px;
  }
}

@media (min-width: 1280px) {
  :root { --container: 1220px; }

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   18. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .page-wrap,
  html.is-loaded .page-wrap,
  html.is-leaving .page-wrap {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-media img,
  .hero.is-ready .hero-media img,
  .hero.is-ready h1,
  .hero.is-ready .hero-copy,
  .hero.is-ready .hero-actions,
  .hero.is-ready .hero-rule {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
