/* Boréal Turf Canada — site styles */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.boreal {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

/* ---------- TOP NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: rgba(244, 239, 227, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-boreal),
              background var(--dur-base) var(--ease-boreal);
}
.nav.scrolled { border-bottom-color: var(--bone); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav-logo .mark { width: 28px; height: 28px; }
.nav-logo .word {
  font-family: var(--sans); font-weight: 700; font-size: 18px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.nav-logo .word .accent { color: var(--clay); }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--clay); transition: width 200ms var(--ease-boreal);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: flex; gap: 12px; align-items: center;
}
.nav-lang {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  background: none; border: 1px solid var(--bone-deep); color: var(--ink-2);
  padding: 8px 12px; border-radius: var(--radius-s); cursor: pointer;
  font-family: var(--sans); text-transform: uppercase;
  transition: all 150ms var(--ease-boreal);
}
.nav-lang:hover { border-color: var(--ink); color: var(--ink); }
.nav-cta-btn {
  background: var(--forest); color: var(--cream);
  padding: 10px 18px; border: 0; border-radius: var(--radius-m);
  font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: var(--sans);
  transition: background 150ms var(--ease-boreal), transform 100ms var(--ease-boreal);
}
.nav-cta-btn:hover { background: var(--forest-deep); }
.nav-cta-btn:active { transform: translateY(1px); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: var(--radius-m);
  font-family: var(--sans); font-weight: 600; font-size: 16px;
  cursor: pointer; border: 0;
  transition: all 150ms var(--ease-boreal);
  white-space: nowrap;
}
.boreal a.btn, .btn { text-decoration: none !important; }
.boreal a.btn-primary, .btn-primary {
  background: var(--clay); color: var(--cream) !important;
}
.btn-primary:hover { background: var(--clay-deep); }
.btn-primary:active { transform: translateY(1px); }
.boreal a.btn-forest, .btn-forest {
  background: var(--forest); color: var(--cream) !important;
}
.btn-forest:hover { background: var(--forest-deep); }
.boreal a.btn-ghost, .btn-ghost {
  background: transparent; color: var(--cream) !important;
  border: 1px solid rgba(244,239,227,0.4);
}
.btn-ghost:hover { background: rgba(244,239,227,0.1); border-color: var(--cream); }
.boreal a.btn-outline, .btn-outline {
  background: transparent; color: var(--ink) !important;
  border: 1px solid var(--ink);
}
.boreal a.btn-outline:hover, .btn-outline:hover { background: var(--ink); color: var(--cream) !important; }
.btn-arrow {
  display: inline-block; transition: transform 200ms var(--ease-boreal);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- HERO ---------- */
.hero {
  position: relative; height: 100vh; min-height: 720px;
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 0 48px 96px;
  color: var(--cream);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  will-change: transform;
}
.hero-video-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(15,36,25,0.55) 0%, rgba(15,36,25,0.15) 35%, rgba(15,36,25,0.85) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner {
  position: relative; z-index: 3;
  max-width: var(--max-marketing);
  margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: end;
}
.hero-eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay-soft);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 0 rgba(192,74,31,0.6);
  animation: pulse 2s infinite var(--ease-boreal);
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(192,74,31,0.6); }
  70% { box-shadow: 0 0 0 16px rgba(192,74,31,0); }
  100% { box-shadow: 0 0 0 0 rgba(192,74,31,0); }
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 7.2vw, 112px);
  line-height: 0.95; letter-spacing: -0.02em;
  margin: 0 0 28px; color: var(--cream);
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic; color: var(--clay-soft);
}
.hero-sub {
  font-size: 19px; line-height: 1.55; max-width: 540px;
  color: rgba(244,239,227,0.85); margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  display: flex; flex-direction: column; gap: 18px;
  border-left: 1px solid rgba(244,239,227,0.25);
  padding-left: 28px;
  align-self: end;
}
.hero-meta-item {
  display: flex; flex-direction: column; gap: 4px;
}
.hero-meta-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(244,239,227,0.55);
}
.hero-meta-val {
  font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--cream);
}
.hero-meta-val small {
  font-family: var(--sans); font-size: 13px; color: rgba(244,239,227,0.65);
  margin-left: 6px; font-weight: 500;
}
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 4;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(244,239,227,0.6);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: bob 2.4s infinite var(--ease-boreal);
}
@keyframes bob {
  0%,100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--forest);
  color: var(--cream);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid var(--forest-deep);
  border-bottom: 1px solid var(--forest-deep);
}
.marquee-track {
  display: flex; gap: 64px;
  animation: scroll-x 40s linear infinite;
  white-space: nowrap;
  font-family: var(--serif); font-size: 28px; line-height: 1;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee-track .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--clay);
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 128px 48px;
  max-width: var(--max-marketing);
  margin: 0 auto;
  position: relative;
}
.section-header {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px;
  margin-bottom: 80px; align-items: end;
}
.section-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--clay);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before {
  content: ""; width: 32px; height: 1px; background: var(--clay);
}
.section h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 5vw, 72px); line-height: 0.98;
  letter-spacing: -0.02em; color: var(--ink);
  text-wrap: balance; margin: 0;
}
.section h2 em { font-style: italic; color: var(--moss); }
.section-lede {
  font-size: 19px; line-height: 1.55; color: var(--ink-2);
  max-width: 520px;
}

/* ---------- 3D PRODUCT SHOWCASE ---------- */
.showcase {
  background: linear-gradient(180deg, #EAF1E2 0%, #DCE7CF 100%);
  color: var(--ink);
  padding: 128px 48px;
  position: relative; overflow: hidden;
}
.showcase::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(92,122,82,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(192,74,31,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.showcase-inner {
  max-width: var(--max-marketing); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 96px;
  align-items: center; position: relative;
}
.showcase-stage {
  position: relative;
  perspective: 1200px;
  height: 560px;
  display: flex; align-items: center; justify-content: center;
}
.showcase-cta {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 24px;
}
.turf-3d {
  position: relative;
  width: 380px; height: 380px;
  transform-style: preserve-3d;
  transform: rotateX(55deg) rotateZ(0deg);
  transition: transform 400ms var(--ease-boreal);
}
.turf-layer {
  position: absolute; inset: 0;
  border-radius: 8px;
  background-size: cover; background-position: center;
  backface-visibility: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.turf-layer.l1 { transform: translateZ(0px); background-image: url('../images/macro-blades.webp'); }
.turf-layer.l2 { transform: translateZ(20px); opacity: 0.85; mix-blend-mode: multiply; background: linear-gradient(135deg, var(--forest) 0%, transparent 60%); }
.turf-layer.l3 { transform: translateZ(40px); background: var(--forest); width: 100%; height: 28px; bottom: -28px; top: auto; transform-origin: top; transform: rotateX(-90deg) translateZ(-28px); }
.turf-3d::before {
  content: ""; position: absolute; left: 50%; bottom: -80px; transform: translateX(-50%);
  width: 460px; height: 60px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,0.5), transparent 70%);
  filter: blur(20px); z-index: -1;
}
.showcase-bullets {
  display: flex; flex-direction: column; gap: 28px; margin-top: 40px;
}
.showcase-bullet {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
}
.showcase-bullet .num {
  font-family: var(--serif); font-size: 36px; line-height: 1;
  color: var(--clay); border-right: 1px solid rgba(15,36,25,0.18);
  padding-right: 20px;
}
.showcase-bullet h3 {
  font-family: var(--sans); font-weight: 600; font-size: 18px;
  margin: 0 0 6px; color: var(--ink);
}
.showcase-bullet p {
  font-size: 15px; line-height: 1.55;
  color: var(--ink-2); margin: 0;
}
.showcase h2 { color: var(--ink); }
.showcase p.section-lede { color: var(--ink-2); }
.showcase .section-eyebrow { color: var(--clay); }
.showcase .section-eyebrow::before { background: var(--clay); }

/* ---------- COLD-CLIMATE STRIP ---------- */
.cold-strip {
  background: var(--paper);
  padding: 96px 48px;
  border-top: 1px solid var(--bone);
  border-bottom: 1px solid var(--bone);
}
.cold-grid {
  max-width: var(--max-marketing); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px;
}
.cold-stat {
  display: flex; flex-direction: column; gap: 8px;
}
.cold-stat .num {
  font-family: var(--serif); font-size: 64px; line-height: 0.9;
  color: var(--forest); letter-spacing: -0.02em;
}
.cold-stat .num small {
  font-family: var(--sans); font-size: 18px; font-weight: 500;
  color: var(--ink-2); margin-left: 4px;
}
.cold-stat .label {
  font-size: 14px; line-height: 1.5; color: var(--ink-2);
  max-width: 220px;
}

/* ---------- PRODUCTS ---------- */
.products-section { padding: 128px 48px; max-width: var(--max-marketing); margin: 0 auto; }
.cat-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 40px 0 56px;
  border-bottom: 1px solid var(--bone);
}
.cat-btn {
  background: none; border: 0;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  padding: 14px 18px; cursor: pointer; color: var(--ink-2);
  border-bottom: 2px solid transparent;
  transition: all 150ms var(--ease-boreal);
  display: flex; align-items: center; gap: 8px;
}
.cat-btn:hover { color: var(--ink); }
.cat-btn.active { color: var(--ink); border-bottom-color: var(--clay); font-weight: 600; }
.cat-btn .count {
  font-family: var(--mono); font-size: 12px; color: var(--ink-3);
  background: var(--bone); padding: 2px 8px; border-radius: 999px;
}
.cat-btn.active .count { background: var(--clay); color: var(--cream); }

.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--bone);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 200ms var(--ease-boreal), transform 300ms var(--ease-boreal);
  cursor: pointer;
  position: relative;
}
.product-card:hover { border-color: var(--ink); }
.product-thumb {
  aspect-ratio: 4/3; background: #efece4;
  background-image: url('../images/macro-blades.webp');
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
}
.product-thumb.has-image { background-size: cover; background-repeat: no-repeat; background-position: center; }
.product-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,36,25,0.25) 100%);
}
.product-thumb-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--clay); color: var(--cream);
  padding: 6px 12px; border-radius: var(--radius-xs);
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  z-index: 2;
}
.product-thumb-cat {
  position: absolute; top: 16px; right: 16px;
  background: rgba(15,36,25,0.85);
  backdrop-filter: blur(8px);
  color: var(--cream);
  padding: 6px 12px; border-radius: var(--radius-xs);
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  z-index: 2;
}
.product-card-body {
  padding: 24px; flex: 1; display: flex; flex-direction: column;
}
.product-sku {
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px;
}
.product-name {
  font-family: var(--serif); font-size: 28px; line-height: 1.05;
  letter-spacing: -0.01em; color: var(--ink); margin: 0 0 12px;
}
.product-desc {
  font-size: 14px; line-height: 1.55; color: var(--ink-2);
  margin: 0 0 20px; flex: 1;
}
.product-specs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding: 16px 0; margin-bottom: 16px;
  border-top: 1px solid var(--bone); border-bottom: 1px solid var(--bone);
}
.product-spec { display: flex; flex-direction: column; gap: 2px; }
.product-spec .k {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3);
}
.product-spec .v {
  font-family: var(--mono); font-size: 13px; color: var(--ink); font-weight: 500;
}
.product-foot {
  display: flex; justify-content: space-between; align-items: end; margin-top: auto;
}
.product-price {
  font-family: var(--mono); font-size: 22px; font-weight: 500; color: var(--ink);
}
.product-price small {
  font-family: var(--sans); font-size: 12px; color: var(--ink-3); font-weight: 400;
  margin-left: 4px;
}
.product-cta {
  font-size: 14px; font-weight: 600; color: var(--clay);
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; padding: 8px 0;
}
.product-cta:hover { gap: 10px; }

/* ---------- CONFIGURATOR ---------- */
.config {
  background: var(--forest); color: var(--cream);
  padding: 128px 48px;
  position: relative; overflow: hidden;
}
.config-inner {
  max-width: var(--max-marketing); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 96px; align-items: center;
}
.config h2 { color: var(--cream); }
.config .section-eyebrow { color: var(--clay-soft); }
.config .section-eyebrow::before { background: var(--clay-soft); }
.config-lede { font-size: 19px; line-height: 1.6; color: rgba(244,239,227,0.8); margin: 24px 0 32px; }
.config-form {
  background: var(--forest-deep);
  border: 1px solid rgba(244,239,227,0.12);
  border-radius: var(--radius-l);
  padding: 40px;
}
.field { margin-bottom: 24px; }
.field-label {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(244,239,227,0.6);
  margin-bottom: 10px;
}
.field-row { display: flex; gap: 12px; align-items: center; }
.input, .select {
  width: 100%;
  background: rgba(244,239,227,0.06);
  border: 1px solid rgba(244,239,227,0.15);
  color: var(--cream); padding: 14px 16px;
  font-family: var(--sans); font-size: 15px;
  border-radius: var(--radius-s);
  transition: border-color 150ms var(--ease-boreal);
}
.input:focus, .select:focus { outline: none; border-color: var(--clay); }
.slider-wrap { display: grid; gap: 8px; }
.slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 2px;
  background: rgba(244,239,227,0.15); cursor: pointer;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--clay); cursor: pointer;
  box-shadow: 0 0 0 4px rgba(192,74,31,0.2);
}
.slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--clay); cursor: pointer; border: 0;
  box-shadow: 0 0 0 4px rgba(192,74,31,0.2);
}
.slider-val {
  font-family: var(--mono); font-size: 28px; color: var(--cream);
  display: flex; justify-content: space-between; align-items: baseline;
}
.slider-val small {
  font-family: var(--sans); font-size: 13px; color: rgba(244,239,227,0.6); font-weight: 500;
}
.config-summary {
  background: rgba(244,239,227,0.04);
  border: 1px dashed rgba(244,239,227,0.2);
  border-radius: var(--radius-m);
  padding: 24px; margin-top: 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.config-line { display: flex; flex-direction: column; gap: 4px; }
.config-line .k {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(244,239,227,0.5);
}
.config-line .v {
  font-family: var(--mono); font-size: 18px; color: var(--cream);
}
.config-total {
  grid-column: 1/-1; padding-top: 16px;
  border-top: 1px solid rgba(244,239,227,0.15);
  display: flex; justify-content: space-between; align-items: baseline;
}
.config-total .k {
  font-family: var(--serif); font-size: 22px; color: var(--cream);
}
.config-total .v {
  font-family: var(--serif); font-size: 44px; color: var(--clay-soft);
  letter-spacing: -0.02em;
}

/* ---------- FULL-BLEED IMAGE ---------- */
.full-bleed {
  position: relative; height: 80vh; min-height: 600px;
  overflow: hidden;
}
.full-bleed-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.full-bleed-quote {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: 0 48px;
  background: linear-gradient(90deg, rgba(15,36,25,0.6) 0%, transparent 50%, rgba(15,36,25,0.6) 100%);
}
.full-bleed-quote-inner {
  max-width: 900px; text-align: center;
}
.full-bleed-quote q {
  font-family: var(--serif); font-style: italic; font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.1; color: var(--cream); display: block;
  text-wrap: balance; quotes: '"' '"';
}
.full-bleed-quote .attr {
  font-size: 14px; color: rgba(244,239,227,0.7);
  margin-top: 32px; letter-spacing: 0.06em;
}

/* ---------- INSTALL STEPS ---------- */
.steps-section { padding: 128px 48px; max-width: var(--max-marketing); margin: 0 auto; }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  margin-top: 64px;
}
.step {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.step-num {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; color: var(--clay);
}
.step h3 {
  font-family: var(--serif); font-size: 32px; font-weight: 400;
  letter-spacing: -0.01em; color: var(--ink); margin: 0;
}
.step p { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* ---------- AI ADVISOR ---------- */
.ai-fab {
  position: fixed; bottom: 32px; right: 32px; z-index: 90;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--clay); color: var(--cream);
  border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(192,74,31,0.4);
  transition: all 200ms var(--ease-boreal);
}
.ai-fab:hover { background: var(--clay-deep); transform: translateY(-2px); }
.ai-fab svg { width: 28px; height: 28px; stroke-width: 1.75; }
.ai-fab .ai-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--clay); opacity: 0;
  animation: ai-pulse 2.4s infinite var(--ease-boreal);
}
@keyframes ai-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}

.ai-panel {
  position: fixed; bottom: 32px; right: 32px; z-index: 91;
  width: 420px; max-width: calc(100vw - 32px);
  height: 600px; max-height: calc(100vh - 64px);
  background: var(--paper);
  border: 1px solid var(--bone-deep);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-lift);
  display: flex; flex-direction: column;
  transform: translateY(20px) scale(0.96); opacity: 0;
  pointer-events: none;
  transition: all 240ms var(--ease-boreal);
}
.ai-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.ai-head {
  padding: 20px 24px; border-bottom: 1px solid var(--bone);
  display: flex; justify-content: space-between; align-items: center;
}
.ai-head-title {
  display: flex; align-items: center; gap: 12px;
}
.ai-head-title .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--moss);
  box-shadow: 0 0 0 0 rgba(92,122,82,0.6);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(92,122,82,0.6); }
  50% { box-shadow: 0 0 0 8px rgba(92,122,82,0); }
}
.ai-head h4 {
  font-family: var(--serif); font-size: 22px; font-weight: 400; margin: 0;
  color: var(--ink);
}
.ai-head .sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.ai-close {
  background: none; border: 0; cursor: pointer; color: var(--ink-2);
  padding: 6px; border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
}
.ai-close:hover { background: var(--bone); color: var(--ink); }
.ai-msgs {
  flex: 1; overflow-y: auto;
  padding: 20px 24px; display: flex; flex-direction: column; gap: 16px;
}
.ai-msg {
  max-width: 85%; padding: 12px 16px;
  font-size: 14px; line-height: 1.5;
  border-radius: var(--radius-m);
}
.ai-msg.bot {
  align-self: flex-start;
  background: var(--bone);
  color: var(--ink);
  border-bottom-left-radius: 2px;
}
.ai-msg.user {
  align-self: flex-end;
  background: var(--forest); color: var(--cream);
  border-bottom-right-radius: 2px;
}
.ai-msg.thinking {
  display: flex; gap: 4px; padding: 16px;
}
.ai-msg.thinking span {
  width: 6px; height: 6px; background: var(--ink-3); border-radius: 50%;
  animation: think 1.4s infinite var(--ease-boreal);
}
.ai-msg.thinking span:nth-child(2) { animation-delay: 0.2s; }
.ai-msg.thinking span:nth-child(3) { animation-delay: 0.4s; }
@keyframes think {
  0%,80%,100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
.ai-suggestions {
  padding: 0 24px 12px; display: flex; gap: 8px; flex-wrap: wrap;
}
.ai-chip {
  background: none; border: 1px solid var(--bone-deep); color: var(--ink-2);
  padding: 8px 12px; font-size: 12px; font-family: var(--sans);
  border-radius: var(--radius-pill); cursor: pointer;
  transition: all 150ms var(--ease-boreal);
}
.ai-chip:hover { border-color: var(--ink); color: var(--ink); background: var(--bone); }
.ai-input-row {
  padding: 16px 20px; border-top: 1px solid var(--bone);
  display: flex; gap: 8px; align-items: center;
}
.ai-input {
  flex: 1; background: var(--cream); border: 1px solid var(--bone-deep);
  color: var(--ink); padding: 12px 14px; font-family: var(--sans); font-size: 14px;
  border-radius: var(--radius-s);
}
.ai-input:focus { outline: none; border-color: var(--forest); }
.ai-send {
  background: var(--forest); color: var(--cream); border: 0;
  width: 40px; height: 40px; border-radius: var(--radius-s);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.ai-send:hover { background: var(--forest-deep); }
.ai-send svg { width: 18px; height: 18px; stroke-width: 1.75; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--forest-deep); color: rgba(244,239,227,0.8);
  padding: 96px 48px 32px;
}
.footer-inner {
  max-width: var(--max-marketing); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 64px;
}
.footer-brand {
  display: flex; flex-direction: column; gap: 16px;
}
.footer-brand .word {
  font-family: var(--sans); font-weight: 700; font-size: 22px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream);
}
.footer-brand .word .accent { color: var(--clay-soft); }
.footer-tagline {
  font-family: var(--serif); font-size: 22px; font-style: italic;
  line-height: 1.3; color: rgba(244,239,227,0.7);
  margin: 0; max-width: 320px;
}
.footer-col h5 {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream); margin: 0 0 20px;
}
.footer-col a {
  display: block; color: rgba(244,239,227,0.7); text-decoration: none;
  font-size: 14px; padding: 6px 0;
  transition: color 150ms var(--ease-boreal);
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  max-width: var(--max-marketing); margin: 0 auto;
  border-top: 1px solid rgba(244,239,227,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: rgba(244,239,227,0.5);
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 700ms var(--ease-boreal), transform 700ms var(--ease-boreal);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity 700ms var(--ease-boreal), transform 700ms var(--ease-boreal);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 560ms; }
.reveal-stagger.in > *:nth-child(9) { transition-delay: 640ms; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .hero { padding: 0 24px 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-meta { border-left: 0; border-top: 1px solid rgba(244,239,227,0.25); padding-left: 0; padding-top: 24px; flex-direction: row; flex-wrap: wrap; gap: 32px; }
  .section, .config, .showcase, .products-section, .steps-section { padding: 80px 24px; }
  .section-header, .config-inner, .showcase-inner { grid-template-columns: 1fr; gap: 32px; }
  .product-grid { grid-template-columns: 1fr; }
  .cold-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .ai-panel { right: 16px; bottom: 16px; height: calc(100vh - 32px); }
  .ai-fab { right: 16px; bottom: 16px; }
}
