/* ==========================================================================
   BearClaw Robotics — Design System
   Palette: deep field-night green/black, metallic forest green, soil brown,
   cream. Signature motif: the "claw slash" — three diagonal marks referencing
   the brand mark, used as dividers, accents, and hover states.
   ========================================================================== */

:root {
  /* Color — sampled directly from the BearClaw logo (a muted pine-metal green,
     not a bright acid green) plus safety-amber pulled from the real indicator
     lights visible on the Spearman X1 toolbar. */
  --claw-black: #081109;      /* near-black pine, dark section bg */
  --claw-forest: #0f2a1e;     /* dark pine panel, sampled from logo shadow tone */
  --claw-green: #2b5943;      /* metallic mid pine green, sampled from logo, primary brand */
  --claw-acid: #d98a2b;       /* safety amber, from equipment indicator lights — CTAs/highlights */
  --amber-bright: #eda449;    /* amber hover state */
  --soil: #8a5a34;            /* soil brown, warm secondary accent */
  --cream: #f5f2ea;           /* light section background */
  --cream-dim: #ece7d9;       /* light section secondary bg */
  --ink: #16211b;             /* body text on light */
  --ink-soft: #3d4a42;        /* secondary text on light */
  --paper: #fbfaf6;           /* card bg on cream */
  --steel: #9db3a4;           /* muted sage, from logo highlight tone — secondary text on dark */
  --line-dark: rgba(245,242,234,0.14);
  --line-light: rgba(20,32,26,0.12);

  /* Type */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Layout */
  --maxw: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); }

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

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

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--claw-acid);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 0.95em 1.6em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  min-height: 44px;
}
.btn-primary {
  background: var(--claw-acid);
  color: var(--claw-black);
}
.btn-primary:hover { background: var(--amber-bright); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--cream);
}
.btn-outline:hover { border-color: var(--claw-acid); color: var(--claw-acid); }
.btn-outline.on-light {
  color: var(--ink);
  border-color: var(--line-light);
}
.btn-outline.on-light:hover { border-color: var(--claw-green); color: var(--claw-green); }

/* ---------- Claw-slash signature motif ---------- */
.claw-slash {
  display: inline-flex;
  gap: 5px;
  align-items: flex-end;
}
.claw-slash span {
  width: 4px;
  background: var(--claw-acid);
  display: block;
  transform: skewX(-18deg);
}
.claw-slash span:nth-child(1) { height: 14px; }
.claw-slash span:nth-child(2) { height: 22px; }
.claw-slash span:nth-child(3) { height: 30px; }

/* ---------- Targeting-bracket motif ----------
   Referencing the bounding-box markers in BearClaw's own weed-detection
   imagery: four corner brackets, like a machine-vision viewfinder locking
   onto a target. This is the site's primary structural signature. */
.bracket-target {
  position: relative;
}
.bracket-target::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--claw-acid), var(--claw-acid)), linear-gradient(var(--claw-acid), var(--claw-acid)),
    linear-gradient(var(--claw-acid), var(--claw-acid)), linear-gradient(var(--claw-acid), var(--claw-acid)),
    linear-gradient(var(--claw-acid), var(--claw-acid)), linear-gradient(var(--claw-acid), var(--claw-acid)),
    linear-gradient(var(--claw-acid), var(--claw-acid)), linear-gradient(var(--claw-acid), var(--claw-acid));
  background-size: 16px 2px, 2px 16px, 16px 2px, 2px 16px, 16px 2px, 2px 16px, 16px 2px, 2px 16px;
  background-position: top left, top left, top right, top right, bottom left, bottom left, bottom right, bottom right;
  opacity: 0.9;
  transition: inset 0.2s ease, opacity 0.2s ease;
}
.product-card:hover .bracket-target::after { inset: 4px; }

.hero-media.bracket-target::before {
  content: "";
  position: absolute;
  inset: 26px;
  z-index: 1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--claw-acid), var(--claw-acid)), linear-gradient(var(--claw-acid), var(--claw-acid)),
    linear-gradient(var(--claw-acid), var(--claw-acid)), linear-gradient(var(--claw-acid), var(--claw-acid)),
    linear-gradient(var(--claw-acid), var(--claw-acid)), linear-gradient(var(--claw-acid), var(--claw-acid)),
    linear-gradient(var(--claw-acid), var(--claw-acid)), linear-gradient(var(--claw-acid), var(--claw-acid));
  background-size: 26px 2px, 2px 26px, 26px 2px, 2px 26px, 26px 2px, 2px 26px, 26px 2px, 2px 26px;
  background-position: top left, top left, top right, top right, bottom left, bottom left, bottom right, bottom right;
  opacity: 0.55;
}

.claw-divider {
  width: 100%;
  height: 46px;
  overflow: hidden;
  line-height: 0;
}
.claw-divider svg { width: 100%; height: 100%; display: block; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,18,13,0.96);
  border-bottom: 1px solid var(--line-dark);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cream);
}
.brand img { height: 34px; width: auto; }
.brand-word {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding: 0.4rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: var(--claw-acid);
  transition: width 0.2s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-dark);
  color: var(--cream);
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius);
  min-height: 44px;
  min-width: 44px;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links {
    position: fixed;
    inset: 62px 0 0 0;
    background: var(--claw-black);
    z-index: 150;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem var(--pad);
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--claw-black);
  color: var(--cream);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,18,13,0.55) 0%, rgba(11,18,13,0.7) 45%, var(--claw-black) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(4rem,12vw,7rem) var(--pad) clamp(3rem,8vw,5rem);
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-content .eyebrow { color: var(--claw-acid); margin-bottom: 1rem; display: inline-block; }
.hero-content h1 { max-width: 16ch; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 46ch;
  color: var(--steel);
  margin-top: 1.2rem;
}
.hero-ctas { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid rgba(217,138,43,0.4);
  background: rgba(217,138,43,0.08);
  border-radius: var(--radius);
}
.stat-badge-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--claw-acid);
  line-height: 1;
}
.stat-badge-label {
  font-size: 0.85rem;
  color: var(--steel);
  max-width: 22ch;
  line-height: 1.3;
}

/* ---------- Sections ---------- */
section { padding: clamp(3rem,8vw,5.5rem) 0; }
.section-dark { background: var(--claw-black); color: var(--cream); }
.section-forest { background: var(--claw-forest); color: var(--cream); }
.section-cream { background: var(--cream); color: var(--ink); }
.section-dim { background: var(--cream-dim); color: var(--ink); }

.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.section-head .eyebrow { color: var(--claw-green); display: block; margin-bottom: 0.8rem; }
.section-dark .section-head .eyebrow, .section-forest .section-head .eyebrow { color: var(--claw-acid); }

/* ---------- Problem / stat grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 780px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.stat-card {
  border-top: 2px solid var(--claw-green);
  padding-top: 1.2rem;
}
.stat-card .icon { margin-bottom: 0.8rem; }
.stat-card h3 { margin-bottom: 0.5rem; }
.stat-card p { color: var(--ink-soft); font-size: 0.95rem; }
.section-dark .stat-card p, .section-forest .stat-card p { color: var(--steel); }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 780px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--claw-forest);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.product-card:hover { border-color: var(--claw-acid); transform: translateY(-3px); }
.product-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--claw-black); position: relative; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .thumb.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 20%, #17402c, var(--claw-black));
}
.product-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.status-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3em 0.7em;
  border-radius: 2px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 0.8rem;
}
.status-live { background: rgba(217,138,43,0.15); color: var(--claw-acid); border: 1px solid rgba(217,138,43,0.4); }
.status-soon { background: rgba(138,90,52,0.2); color: #e0b58a; border: 1px solid rgba(224,181,138,0.4); }
.status-custom { background: rgba(245,242,234,0.08); color: var(--steel); border: 1px solid var(--line-dark); }

.product-card h3 { margin-bottom: 0.5rem; }
.product-card p { color: var(--steel); font-size: 0.95rem; flex: 1; }
.card-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--claw-acid);
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.card-link .arrow { transition: transform 0.15s ease; }
.product-card:hover .card-link .arrow { transform: translateX(4px); }

/* ---------- Feature list (icon + text) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
}
@media (max-width: 780px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-item .thumb { aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.feature-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.feature-item h4 {
  font-family: var(--font-body);
  text-transform: none;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0;
}
.feature-item p { font-size: 0.92rem; }

/* ---------- Spec table ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.92rem;
}
.spec-table tr { border-bottom: 1px solid var(--line-dark); }
.section-cream .spec-table tr, .section-dim .spec-table tr { border-bottom: 1px solid var(--line-light); }
.spec-table td { padding: 0.85rem 0.5rem; vertical-align: top; }
.spec-table td:first-child {
  text-transform: uppercase;
  color: var(--claw-acid);
  letter-spacing: 0.06em;
  width: 40%;
  font-weight: 600;
}
.section-cream .spec-table td:first-child, .section-dim .spec-table td:first-child { color: var(--claw-green); }

/* ---------- Why-us strip ---------- */
.why-strip {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.why-item {
  flex: 0 0 auto;
  min-width: 150px;
  text-align: center;
}
.why-item .icon { margin: 0 auto 0.7rem; width: 40px; height: 40px; }
.why-item p { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--claw-green);
  color: var(--cream);
  text-align: center;
}
.cta-band h2 { max-width: 20ch; margin: 0 auto 1.2rem; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--claw-forest);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--cream);
}
.contact-line { display: flex; gap: 0.9rem; margin-bottom: 1.1rem; align-items: flex-start; }
.contact-line .icon { flex: 0 0 auto; margin-top: 2px; }
.contact-line a, .contact-line span { font-size: 0.98rem; color: var(--cream); }
.contact-line a:hover { color: var(--claw-acid); }

form.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 0.4rem;
}
input, textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8em 0.9em;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  min-height: 44px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--claw-green); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--claw-black);
  color: var(--steel);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-grid h4 {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-grid a:hover { color: var(--claw-acid); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.tag-list { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1rem 0; }
.tag-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid currentColor;
  padding: 0.3em 0.8em;
  border-radius: 20px;
  opacity: 0.85;
}

.disclaimer-box {
  border-left: 3px solid var(--soil);
  padding: 1rem 1.4rem;
  background: var(--cream-dim);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* Hero: slow ambient zoom + staggered fade-up entrance for headline/sub/ctas */
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}
.hero-media img {
  animation: heroZoom 18s ease-out forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content .eyebrow { animation: fadeUp 0.7s ease both; }
.hero-content h1 { animation: fadeUp 0.7s ease 0.1s both; }
.hero-content .hero-sub { animation: fadeUp 0.7s ease 0.2s both; }
.hero-content .hero-ctas { animation: fadeUp 0.7s ease 0.3s both; }

/* Bracket pulse: the targeting frame gives a soft confirming pulse */
@keyframes bracketPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.95; }
}
.hero-media.bracket-target::before { animation: bracketPulse 3.4s ease-in-out infinite; }
.product-card .bracket-target::after { animation: bracketPulse 4s ease-in-out infinite; }
.product-card:hover .bracket-target::after { animation: none; opacity: 1; }

/* Card and button micro-interactions */
.product-card { transition: border-color 0.25s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease; }
.product-card:hover { box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.product-card .thumb img { transition: transform 0.5s ease; }
.product-card:hover .thumb img { transform: scale(1.06); }

.feature-item .thumb img { transition: transform 0.5s ease; }
.feature-item:hover .thumb img { transform: scale(1.05); }

.btn { transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.2s ease; }
.btn-primary:hover { box-shadow: 0 8px 22px rgba(217,138,43,0.35); }

.why-item { transition: transform 0.25s ease; }
.why-item:hover { transform: translateY(-4px); }
.why-item .icon svg { transition: stroke 0.2s ease, transform 0.3s ease; }
.why-item:hover .icon svg { transform: scale(1.12); }

/* Status tag gentle glow for "available today" */
@keyframes tagGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(217,138,43,0); }
  50% { box-shadow: 0 0 10px rgba(217,138,43,0.35); }
}
.status-live { animation: tagGlow 3s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .hero-media img, .hero-content .eyebrow, .hero-content h1, .hero-content .hero-sub,
  .hero-content .hero-ctas, .hero-media.bracket-target::before, .product-card .bracket-target::after,
  .status-live { animation: none !important; }
}

.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--claw-black);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-dark);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Video gallery ---------- */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.video-card { display: flex; flex-direction: column; }
.video-card .video-frame { margin-bottom: 1rem; }
.video-card h3 { font-size: 1.1rem; text-transform: none; font-family: var(--font-body); font-weight: 700; margin-bottom: 0.3rem; }
.video-card p { color: var(--steel); font-size: 0.92rem; }
.video-frame {
  cursor: pointer;
}
.video-frame .play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.video-frame .play-badge svg {
  width: 60px; height: 60px;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.4));
}
.video-frame:hover .play-badge { transform: scale(1.08); }
.video-frame.is-playing .play-badge { opacity: 0; }
.video-empty {
  padding: 2.5rem;
  text-align: center;
  border: 1px dashed var(--line-dark);
  border-radius: var(--radius);
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.section-dark .testimonial-card, .section-forest .testimonial-card {
  background: var(--claw-forest);
  border-color: var(--line-dark);
}
.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--claw-acid);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.testimonial-card blockquote {
  margin: 0 0 1.2rem;
  font-size: 1.02rem;
  line-height: 1.5;
  flex: 1;
}
.testimonial-person { display: flex; align-items: center; gap: 0.8rem; }
.testimonial-photo {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--claw-green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1rem;
}
.testimonial-photo img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-farm { font-size: 0.85rem; color: var(--ink-soft); }
.section-dark .testimonial-farm, .section-forest .testimonial-farm { color: var(--steel); }
.testimonials-empty {
  padding: 2rem;
  border: 1px dashed var(--line-dark);
  border-radius: var(--radius);
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Photo gallery + lightbox ---------- */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--claw-black);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.6rem 0.7rem;
  background: linear-gradient(to top, rgba(8,17,9,0.85), transparent);
  color: var(--cream);
  font-size: 0.78rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8,17,9,0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}
#lightbox.is-open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: var(--radius); }
#lightbox .lightbox-caption { position: absolute; bottom: 2rem; left: 0; right: 0; text-align: center; color: var(--cream); font-size: 0.9rem; }

/* ---------- Case study cards ---------- */
.case-study-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.case-study-card {
  display: block;
  background: var(--claw-forest);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.case-study-card:hover { border-color: var(--claw-acid); transform: translateY(-3px); }
.case-study-card h3 { font-size: 1.05rem; margin: 0.6rem 0 0.5rem; }
.case-study-card p { color: var(--steel); font-size: 0.92rem; margin-bottom: 0.8rem; }

/* ---------- Competitor comparison tool ---------- */
.vs-picker {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.vs-picker label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin: 0;
}
.vs-picker select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7em 1em;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  min-height: 44px;
  min-width: 240px;
}

.vs-table {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.vs-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr;
  border-bottom: 1px solid var(--line-light);
}
.vs-row:last-child { border-bottom: none; }
.vs-label {
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
}
.vs-cell {
  padding: 1rem;
  font-size: 0.92rem;
  border-left: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  justify-content: center;
}
.vs-us {
  background: rgba(43,169,79,0.06);
  font-weight: 600;
}
.vs-checks { display: flex; gap: 0.2rem; }
.vs-row.vs-head {
  background: var(--claw-black);
}
.vs-row.vs-head .vs-cell { border-left-color: rgba(245,242,234,0.1); padding: 1.2rem 1rem; }
.vs-brand-us {
  background: var(--claw-green) !important;
  color: var(--cream);
  flex-direction: row !important;
  align-items: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  gap: 0.6rem !important;
}
.vs-brand-them {
  color: var(--cream);
}
.vs-wordmark {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}
.vs-product { font-family: var(--font-mono); font-size: 0.72rem; color: var(--steel); }

.vs-note {
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}

@media (max-width: 760px) {
  .vs-row { grid-template-columns: 1fr; }
  .vs-label { border-bottom: 1px dashed var(--line-light); background: var(--cream-dim); font-weight: 600; }
  .vs-cell { border-left: none; border-bottom: 1px solid var(--line-light); }
  .vs-row.vs-head .vs-label { display: none; }
}

.vs-fine {
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 400;
}
.vs-row.vs-total .vs-label {
  font-weight: 700;
  color: var(--ink);
}
.vs-row.vs-total .vs-us {
  background: rgba(43,169,79,0.14);
}
.vs-row.vs-total .vs-cell {
  font-size: 0.9rem;
}
