/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  --bg:         #0A0807;
  --bg-2:       #130F0C;
  --bg-3:       #1C1511;
  --bg-4:       #241A14;
  --cream:      #F0E8D6;
  --cream-2:    #C8BEA8;
  --cream-3:    #7A7060;
  --accent:     #C5301E;
  --accent-2:   #9E260F;
  --accent-glow:rgba(197,48,30,0.25);
  --gold:       #C88444;
  --line:       rgba(240,232,214,0.08);
  --line-2:     rgba(240,232,214,0.14);

  --condensed: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-h:     72px;
  --gutter:    clamp(1.25rem, 4vw, 2.5rem);
  --max-w:     1240px;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  color-scheme: dark;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--condensed);
  text-wrap: balance;
  line-height: 1;
  letter-spacing: -0.01em;
}
::selection { background: var(--accent); color: var(--cream); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. UTILITIES
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600; font-size: .875rem;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* =============================================================
   4. REVEAL ANIMATIONS
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   5. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--condensed);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background .25s var(--ease-out), color .25s var(--ease-out),
              transform .2s var(--ease-out), box-shadow .25s var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--cream);
  box-shadow: 0 4px 24px rgba(197,48,30,.3);
}
.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 8px 32px rgba(197,48,30,.5);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(240,232,214,.3);
}
.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(240,232,214,.06);
}

/* =============================================================
   6. NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding-inline: var(--gutter);
  gap: 2rem;
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out),
              backdrop-filter .4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(10,8,7,.88);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 1px 0 var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 44px;
  height: 44px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--condensed);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  letter-spacing: 0;
  transition: background .25s var(--ease-out);
}
.nav-logo:hover .nav-logo-mark { background: var(--accent-2); }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo-text .logo-name {
  font-family: var(--condensed);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .08em;
  color: var(--cream);
}
.nav-logo-text .logo-sub {
  font-family: var(--condensed);
  font-weight: 400;
  font-size: .65rem;
  letter-spacing: .14em;
  color: var(--cream-3);
}

.nav-links {
  display: none;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--condensed);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cream-2);
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .3s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: none; }

.nav-hamburger {
  margin-left: auto;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(10,8,7,.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.mobile-menu nav a {
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 3rem;
  letter-spacing: -.01em;
  color: var(--cream);
  transition: color .2s;
}
.mobile-menu nav a:hover { color: var(--accent); }
.mobile-menu-contact a {
  font-family: var(--condensed);
  font-size: 1.2rem;
  letter-spacing: .06em;
  color: var(--cream-3);
  transition: color .2s;
}
.mobile-menu-contact a:hover { color: var(--accent); }

/* =============================================================
   7. SPLASH
   ============================================================= */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  animation: splashSafety .01s 4.5s forwards;
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; }
}
.splash.is-out {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
}

.splash-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: splashReveal .8s .2s both var(--ease-out);
}
.splash-logo-mark {
  width: 72px;
  height: 72px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--condensed);
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}
.splash-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.splash-logo-text .s-name {
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .08em;
  color: var(--cream);
}
.splash-logo-text .s-sub {
  font-family: var(--condensed);
  font-weight: 400;
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--cream-3);
}
.splash-line {
  width: 0;
  height: 2px;
  background: var(--accent);
  animation: splashLine .8s .8s both var(--ease-out);
}
@keyframes splashReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes splashLine {
  from { width: 0; }
  to   { width: 140px; }
}

/* =============================================================
   8. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(4rem, 8vh, 7rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.05) contrast(1.02);
}
.hero-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,8,7,.72) 0%,
    rgba(10,8,7,.4) 40%,
    rgba(10,8,7,.85) 80%,
    rgba(10,8,7,.97) 100%
  );
}

.hero-mesh {
  position: absolute;
  inset: -20%;
  z-index: 1;
  background:
    radial-gradient(circle 900px at 15% 25%, rgba(197,48,30,.28), transparent 55%),
    radial-gradient(circle 600px at 85% 75%, rgba(197,48,30,.12), transparent 55%),
    radial-gradient(circle 700px at 55% 85%, rgba(200,132,68,.08), transparent 55%);
  filter: blur(80px);
  pointer-events: none;
  animation: meshDrift 22s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0%   { transform: scale(1)   translate(0, 0); }
  100% { transform: scale(1.25) translate(-4%, 3%); }
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: var(--nav-h);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--condensed);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--cream-3);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50%       { box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: .92;
  letter-spacing: -.02em;
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  max-width: 14ch;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  color: var(--cream-2);
  max-width: 52ch;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(240,232,214,.5), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* =============================================================
   9. SECTION SHARED STYLES
   ============================================================= */
.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-kicker {
  display: inline-block;
  font-family: var(--condensed);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--cream);
  margin-bottom: 1rem;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.section-title em {
  font-style: normal;
  color: var(--accent);
}
.section-sub {
  font-size: 1rem;
  color: var(--cream-3);
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.7;
}

/* =============================================================
   10. PRODUCTS
   ============================================================= */
.products {
  padding-block: clamp(5rem, 10vh, 8rem);
  background: var(--bg-2);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-3);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out),
              border-color .35s var(--ease-out);
  cursor: default;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(197,48,30,.2);
  border-color: rgba(197,48,30,.3);
}

.product-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out), filter .5s var(--ease-out);
}
.product-card:hover .product-card-img img {
  transform: scale(1.06);
  filter: saturate(1.12);
}
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,7,.7) 0%, transparent 60%);
  transition: opacity .3s;
}

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.product-icon {
  font-size: 1.1rem;
  color: var(--accent);
  line-height: 1;
}
.product-card-body h3 {
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--cream);
}
.product-card-body p {
  font-size: .88rem;
  color: var(--cream-3);
  line-height: 1.6;
}

.products-cta {
  text-align: center;
  margin-top: 3rem;
}

/* =============================================================
   11. VALUES
   ============================================================= */
.values {
  padding-block: clamp(5rem, 10vh, 8rem);
  background: var(--bg);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  overflow: hidden;
}

.value-card {
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--bg-3);
  border-bottom: 1px solid var(--line-2);
  transition: background .3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.value-card:last-child { border-bottom: 0; }
.value-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease-out);
}
.value-card:hover::before { transform: scaleY(1); }
.value-card:hover { background: var(--bg-4); }

.value-num {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: 3rem;
  color: rgba(197,48,30,.2);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color .3s;
}
.value-card:hover .value-num { color: rgba(197,48,30,.4); }
.value-card h3 {
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--cream);
  margin-bottom: .6rem;
}
.value-card p {
  font-size: .9rem;
  color: var(--cream-3);
  line-height: 1.7;
  max-width: 48ch;
}

/* =============================================================
   12. STATS
   ============================================================= */
.stats-section {
  padding-block: clamp(4rem, 8vh, 6rem);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
}
.stat-number {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--accent);
  line-height: 1;
  display: inline-block;
  letter-spacing: -.03em;
}
.stat-suffix {
  font-family: var(--condensed);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--gold);
  vertical-align: top;
  margin-top: .4rem;
  display: inline-block;
}
.stat-label {
  font-family: var(--condensed);
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-3);
  margin-top: .4rem;
}

/* =============================================================
   13. CONTACT
   ============================================================= */
.contact {
  padding-block: clamp(5rem, 10vh, 8rem);
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
}

.contact-info .section-kicker { margin-bottom: .5rem; }

.contact-title {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--cream);
  line-height: .95;
  margin-bottom: 1.25rem;
}
.contact-title em { font-style: normal; color: var(--accent); }

.contact-sub {
  font-size: .95rem;
  color: var(--cream-3);
  line-height: 1.7;
  max-width: 46ch;
  margin-bottom: 2.5rem;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--cream-2);
  transition: color .2s;
}
.contact-link:hover { color: var(--accent); }
.contact-icon {
  width: 40px; height: 40px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.contact-link:hover .contact-icon {
  background: rgba(197,48,30,.12);
  border-color: rgba(197,48,30,.3);
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--bg-3);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 12px;
  border: 1px solid var(--line-2);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-group label {
  font-family: var(--condensed);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream-3);
}
.form-group input,
.form-group textarea {
  background: rgba(240,232,214,.04);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: .85rem 1rem;
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--cream);
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--cream-3); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(197,48,30,.05);
}

.btn-submit {
  position: relative;
  overflow: hidden;
}
.btn-sending, .btn-check { display: none; }
.contact-form.is-sending .btn-text { display: none; }
.contact-form.is-sending .btn-sending { display: inline; }
.contact-form.is-done .btn-text,
.contact-form.is-done .btn-sending { display: none; }
.contact-form.is-done .btn-check { display: inline; }
.contact-form.is-done .btn-submit { background: #2a7a2a; cursor: default; }

.form-note {
  font-size: .8rem;
  color: var(--cream-3);
  text-align: center;
  line-height: 1.5;
}

/* =============================================================
   14. FOOTER
   ============================================================= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vh, 5rem);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}
.footer-logo-mark {
  width: 52px; height: 52px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--condensed);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.footer-logo-text .logo-name {
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .08em;
  color: var(--cream);
}
.footer-logo-text .logo-sub {
  font-family: var(--condensed);
  font-size: .7rem;
  letter-spacing: .18em;
  color: var(--cream-3);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}
.footer-links a {
  font-family: var(--condensed);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-3);
  transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 1.5rem;
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  color: var(--cream-3);
  transition: color .2s;
}
.footer-contact a:hover { color: var(--cream); }
.footer-copy {
  font-size: .78rem;
  color: var(--cream-3);
  opacity: .6;
}
.footer-social-icon {
  width: 18px; height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* =============================================================
   15. CHAT WIDGET
   ============================================================= */
.chat-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 800;
}

.chat-toggle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 8px 32px rgba(197,48,30,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s var(--ease-out), transform .25s var(--ease-out),
              box-shadow .25s var(--ease-out);
  position: relative;
}
.chat-toggle:hover {
  background: var(--accent-2);
  transform: scale(1.06);
  box-shadow: 0 12px 40px rgba(197,48,30,.55);
}
.chat-toggle svg {
  width: 26px; height: 26px;
  fill: #fff;
  position: absolute;
  transition: opacity .25s, transform .25s var(--ease-out);
}
.chat-icon-close { opacity: 0; transform: scale(.6) rotate(90deg); }
.chat-toggle[aria-expanded="true"] .chat-icon-open  { opacity: 0; transform: scale(.6); }
.chat-toggle[aria-expanded="true"] .chat-icon-close { opacity: 1; transform: scale(1) rotate(0deg); }

.chat-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  font-size: .65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.15); }
}
.chat-toggle[aria-expanded="true"] .chat-badge { display: none; }

.chat-panel {
  position: absolute;
  bottom: calc(100% + 1rem);
  right: 0;
  width: min(380px, calc(100vw - 2rem));
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(197,48,30,.08);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.chat-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.chat-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--condensed);
  font-weight: 800;
  font-size: .9rem;
  color: #fff;
  flex-shrink: 0;
}
.chat-name {
  font-family: var(--condensed);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  color: var(--cream);
  text-transform: uppercase;
}
.chat-status {
  font-size: .72rem;
  color: var(--gold);
  margin-top: .1rem;
}
.chat-close {
  margin-left: auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(240,232,214,.06);
  color: var(--cream-3);
  font-size: 1.1rem;
  transition: background .2s, color .2s;
  display: flex; align-items: center; justify-content: center;
}
.chat-close:hover { background: rgba(197,48,30,.2); color: var(--cream); }

.chat-messages {
  flex: 1;
  min-height: 200px;
  max-height: 320px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--bg-4) transparent;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 2px; }

.chat-msg {
  max-width: 88%;
  padding: .65rem .9rem;
  border-radius: 12px;
  font-size: .83rem;
  line-height: 1.55;
  white-space: pre-line;
  animation: msgIn .25s var(--ease-out) both;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.chat-msg.bot {
  background: var(--bg-4);
  color: var(--cream-2);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-msg.user {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: .65rem .9rem;
  background: var(--bg-4);
  border-radius: 12px 12px 12px 4px;
  align-self: flex-start;
  max-width: 60px;
}
.chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cream-3);
  animation: typingDot 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot {
  0%, 100% { transform: translateY(0); opacity: .4; }
  50%       { transform: translateY(-4px); opacity: 1; }
}

.chat-suggestions {
  padding: .5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  border-top: 1px solid var(--line);
}
.chat-suggestions button {
  font-size: .72rem;
  padding: .35rem .75rem;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  color: var(--cream-3);
  background: transparent;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.chat-suggestions button:hover {
  background: rgba(197,48,30,.12);
  color: var(--cream);
  border-color: rgba(197,48,30,.3);
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-top: 1px solid var(--line);
}
#chat-input {
  flex: 1;
  background: rgba(240,232,214,.04);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: .55rem 1rem;
  font-family: var(--sans);
  font-size: .83rem;
  color: var(--cream);
  transition: border-color .2s;
}
#chat-input::placeholder { color: var(--cream-3); }
#chat-input:focus { outline: none; border-color: var(--accent); }
#chat-send {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}
#chat-send:hover { background: var(--accent-2); transform: scale(1.05); }

/* =============================================================
   16. RESPONSIVE
   ============================================================= */
@media (min-width: 540px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .nav-hamburger { display: none; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .value-card { border-bottom: 0; border-right: 1px solid var(--line-2); }
  .value-card:last-child { border-right: 0; }

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

  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }

  .footer-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    text-align: left;
    align-items: center;
  }
  .footer-logo { justify-content: flex-start; }
  .footer-links { justify-content: flex-start; }
  .footer-contact { justify-content: flex-end; }
  .footer-copy {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (min-width: 960px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 8vw, 7rem); }
}

/* =============================================================
   17. REDUCED MOTION — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  .hero-scroll-line { animation: none; opacity: .5; }
  .hero-dot { animation: none; }
  .splash-line { animation: none; width: 140px; }
  .splash-logo { animation: none; opacity: 1; transform: none; }
  .chat-badge { animation: none; }
  .chat-typing span { animation: none; opacity: .6; }
  .meshDrift { animation: none; }
}
