/* ============================================================
   Caledonian, Direction A: "The Operator"
   Modern sans · operator-led · hyper-interactive
   ============================================================ */

:root {
  /* Palette */
  --forest: #0E3A2A;
  --forest-deep: #082018;
  --forest-soft: #1A4A39;
  --cream: #F2EDE2;
  --cream-warm: #EBE3D2;
  --ink: #0A0A0A;
  --ink-soft: #1F1F1F;
  --rust: #C84A2C;
  --rust-deep: #A93A1F;
  --peach: #F4A988;
  --heather: #C4BBAA;
  --line: rgba(10,10,10,0.12);
  --line-on-dark: rgba(242,237,226,0.18);
  --figma-blue: #0D99FF;
  --figma-blue-deep: #007BE5;

  /* Type, modern sans, no editorial serif */
  --serif: 'Geist', 'Söhne', 'Inter', system-ui, sans-serif;
  --sans: 'Geist', 'Söhne', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  /* Spacing */
  --gutter: clamp(20px, 4vw, 64px);
  --section-y: clamp(80px, 9vw, 160px);
  --max: 1440px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
:target, .svc-block, [id] { scroll-margin-top: 88px; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ============================================================
   Figma-style custom cursor
   ============================================================ */

@media (hover: hover) and (pointer: fine) {
  html.cursor-on, html.cursor-on body { cursor: none; }
  html.cursor-on a, html.cursor-on button, html.cursor-on label,
  html.cursor-on .chip, html.cursor-on input, html.cursor-on textarea,
  html.cursor-on summary, html.cursor-on .service-card, html.cursor-on .case-card,
  html.cursor-on .step, html.cursor-on details { cursor: none; }
}

#fcursor {
  position: fixed;
  top: 0; left: 0;
  width: 28px;
  height: 28px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-200px, -200px);
  will-change: transform;
  display: none;
}
html.cursor-on #fcursor { display: block; }

#fcursor .arrow {
  position: absolute;
  top: 0; left: 0;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 8px rgba(13,153,255,0.35)) drop-shadow(0 1px 3px rgba(0,0,0,0.4));
  transition: transform 0.18s var(--ease);
}
#fcursor.click .arrow { transform: scale(0.82); }

#fcursor .label {
  position: absolute;
  top: 22px;
  left: 16px;
  background: var(--figma-blue);
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 4px 9px 5px 9px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transform: translate(2px, -2px) scale(0.9);
  transform-origin: top left;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), background 0.22s var(--ease);
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  line-height: 1.1;
}
#fcursor.show-label .label { opacity: 1; transform: translate(2px, -2px) scale(1); }
#fcursor.brand .label { background: var(--rust); }
#fcursor.dark .label { background: var(--ink); }

#fcursor .ring {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--figma-blue);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), border-color 0.22s var(--ease);
}
#fcursor.hover .ring { opacity: 0.65; transform: scale(1); }
#fcursor.brand .ring { border-color: var(--rust); }

@media (hover: none), (pointer: coarse) {
  #fcursor { display: none !important; }
  html.cursor-on { cursor: auto !important; }
  html.cursor-on body, html.cursor-on a, html.cursor-on button { cursor: auto !important; }
}

/* ============================================================
   Typography
   ============================================================ */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.65;
}

.eyebrow .num {
  margin-right: 12px;
  opacity: 0.45;
}

.display {
  font-family: var(--sans);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.display em {
  font-style: normal;
  color: var(--rust);
  font-weight: 400;
}

.h-xl { font-size: clamp(64px, 9vw, 156px); }
.h-l  { font-size: clamp(44px, 6vw, 96px); }
.h-m  { font-size: clamp(32px, 4.5vw, 64px); }
.h-s  { font-size: clamp(24px, 2.6vw, 38px); }

.lede {
  font-family: var(--sans);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  font-weight: 300;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

.body-l { font-size: 18px; line-height: 1.5; text-wrap: pretty; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px 16px 26px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(160px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.btn:hover::after { opacity: 1; }

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

.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--rust); }

/* Nav primary CTA on cream nav, use brand forest with peach accent on hover */
.nav:not(.on-forest) .btn-primary {
  background: var(--forest);
  color: var(--cream);
}
.nav:not(.on-forest) .btn-primary:hover {
  background: var(--rust);
  color: var(--cream);
}

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.btn-on-dark.btn-primary { background: var(--cream); color: var(--forest-deep); }
.btn-on-dark.btn-primary:hover { background: var(--rust); color: var(--cream); }

.btn-on-dark.btn-ghost { border-color: var(--line-on-dark); color: var(--cream); }
.btn-on-dark.btn-ghost:hover { background: var(--cream); color: var(--forest-deep); border-color: var(--cream); }

.btn .arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Layout primitives
   ============================================================ */

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: var(--section-y) 0; }

.section-head {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: end;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
.section-head .meta { display: flex; flex-direction: column; gap: 18px; }
.section-head h2 { max-width: 14ch; }

@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
}

/* On dark sections */
.on-dark { background: var(--forest); color: var(--cream); }
.on-dark .eyebrow { color: var(--cream); opacity: 0.6; }
.on-dark .section-head { border-bottom-color: var(--line-on-dark); }
.on-dark .display em { color: var(--peach); }
.on-dark a:hover { color: var(--peach); }

.on-ink { background: var(--ink); color: var(--cream); }
.on-ink .section-head { border-bottom-color: var(--line-on-dark); }
.on-ink .eyebrow { color: var(--cream); opacity: 0.6; }
.on-ink .display em { color: var(--rust); }

/* ============================================================
   Nav
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.on-forest { background: var(--forest); border-bottom-color: var(--line-on-dark); color: var(--cream); }
.nav.glassy { background: rgba(242,237,226,0.78); }
.nav.on-forest.glassy { background: rgba(14,58,42,0.85); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 72px;
  gap: 48px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 22px;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.brand-img {
  height: 38px;
  width: auto;
  display: block;
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease);
}
.brand:hover .brand-img { transform: translateX(2px); }
.nav-mobile .brand-img { height: 34px; }
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--forest);
  display: grid;
  place-items: center;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, transparent, rgba(244,169,136,0.6), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  animation: spinBrand 6s linear infinite;
}
.brand:hover .brand-mark::after { opacity: 1; }
.brand:hover .brand-mark { transform: rotate(-12deg); }
@keyframes spinBrand { to { transform: rotate(360deg); } }
.nav.on-forest .brand-mark { background: var(--cream); color: var(--forest); }

.nav-links { display: flex; gap: 36px; justify-content: center; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: opacity 0.2s;
}
.nav-links a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::before { width: 100%; }
.nav-links a:hover { opacity: 1; }
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
}

.nav-cta { display: flex; align-items: center; gap: 16px; grid-column: 3; }
.nav-phone {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.nav-phone:hover { opacity: 1; }
.nav-phone::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #28A745;
  box-shadow: 0 0 0 4px rgba(40,167,69,0.18);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(40,167,69,0.18); }
  50% { box-shadow: 0 0 0 7px rgba(40,167,69,0.05); }
}

.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
}
.nav-mobile-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.nav.on-forest .nav-mobile-toggle { border-color: var(--line-on-dark); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-cta .btn { padding: 12px 18px; font-size: 13px; }
}

/* Mobile menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--forest);
  color: var(--cream);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
  visibility: hidden;
}
.nav-mobile.open { transform: translateY(0); visibility: visible; }
.nav-mobile-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.nav-mobile a { font-size: clamp(36px, 7vw, 56px); padding: 12px 0; border-bottom: 1px solid var(--line-on-dark); letter-spacing: -0.025em; }
.nav-mobile a:last-of-type { border-bottom: 0; }
.nav-mobile .close { font-size: 14px; font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.nav-mobile .foot { margin-top: auto; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
@media (max-width: 900px) {
  .nav-mobile-toggle { display: inline-flex; }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(60px, 8vw, 120px) 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(244,169,136,0.08) 0%, transparent 50%);
  pointer-events: none;
  filter: blur(40px);
  animation: floatGlow 12s ease-in-out infinite;
}
@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 30px); }
}

.hero-grid { display: grid; grid-template-columns: 1fr; gap: 72px; }

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-on-dark);
}
.hero-meta .right { display: flex; gap: 32px; }
.hero-meta .live { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .live::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--peach);
  border-radius: 50%;
  animation: pulse2 1.6s ease-in-out infinite;
}
@keyframes pulse2 {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero h1 { max-width: 18ch; }
.hero h1 em { color: var(--peach); }

.hero-sub {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--line-on-dark);
  margin-top: 48px;
  align-items: start;
}

.hero-sub .lede { max-width: 30ch; color: var(--cream); opacity: 0.92; }

.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
  padding-top: 8px;
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat .num {
  font-family: var(--sans);
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stat .num em { color: var(--peach); }
.stat .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  max-width: 22ch;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero-sub { grid-template-columns: 1fr; gap: 40px; }
}

/* Hero image strip below */
.hero-strip {
  margin-top: clamp(60px, 7vw, 100px);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 4px;
  border-top: 1px solid var(--line-on-dark);
  padding-top: 4px;
}
.hero-strip .panel {
  aspect-ratio: 4/3;
  background: var(--forest-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}
.hero-strip .panel:hover { transform: scale(1.01); }
.hero-strip .panel.label::after {
  content: attr(data-label);
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
}
.hero-strip .panel.placeholder {
  background: repeating-linear-gradient(
    45deg,
    var(--forest-soft) 0px, var(--forest-soft) 8px,
    var(--forest-deep) 8px, var(--forest-deep) 9px
  );
}

@media (max-width: 800px) {
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .hero-strip .panel:nth-child(3) { display: none; }
}

/* ============================================================
   Trusted-by, proper section, brand logos + names
   ============================================================ */

.logos {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(64px, 7vw, 110px) 0;
}
.logos-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 72px);
}
.logos-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.logos-head h2 {
  font-family: var(--sans);
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 400;
  max-width: 18ch;
}
.logos-head h2 em { color: var(--rust); font-style: normal; }
.logos-head .meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
  text-align: right;
}
.logos-head .meta .eyebrow { opacity: 0.7; }
.logos-head .meta .count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}
@media (max-width: 800px) {
  .logos-head { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .logos-head .meta { align-items: flex-start; text-align: left; }
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  align-items: stretch;
}

.logo-row .logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 32px 16px 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--cream);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.logo-row .logo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx,50%) var(--my,50%), rgba(200,74,44,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.logo-row .logo:hover { background: #fff; border-color: var(--ink); transform: translateY(-3px); }
.logo-row .logo:hover::after { opacity: 1; }

.logo-row .logo .logo-img {
  height: 64px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1) brightness(0.55) contrast(1.3);
  opacity: 0.7;
  transition: filter 0.4s var(--ease), opacity 0.3s var(--ease), color 0.4s var(--ease);
}

/* Electro-HI HTML/CSS lockup, uses page-loaded Geist for crisp wordmark */
.logo-row .logo .logo-electrohi {
  flex-direction: row;
  gap: 10px;
  color: var(--ink);
}
.logo-row .logo .logo-electrohi .bolt {
  flex-shrink: 0;
  color: var(--rust);
  display: block;
}
.logo-row .logo .logo-electrohi .wm-text {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.logo-row .logo .logo-electrohi .wm-text .hi { color: var(--rust); }
/* Override default grayscale for HTML logo: tone via opacity instead so type stays sharp */
.logo-row .logo:has(.logo-electrohi) .logo-img {
  filter: none;
  opacity: 0.5;
}
.logo-row .logo:has(.logo-electrohi):hover .logo-img {
  opacity: 1;
}
.logo-row .logo:hover .logo-img {
  filter: grayscale(0) brightness(1) contrast(1);
  opacity: 1;
}
.logo-row .logo .logo-img img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.logo-row .logo .name {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-align: center;
  line-height: 1.2;
  opacity: 0.82;
  transition: opacity 0.3s var(--ease);
}
.logo-row .logo .category {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.45;
  text-align: center;
  margin-top: -4px;
}
.logo-row .logo:hover .name { opacity: 1; }
.logo-row .logo:hover .category { opacity: 0.7; }
.logo-row .logo .read-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  opacity: 0;
  transform: translate(-3px, 3px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.logo-row .logo:hover .read-arrow {
  opacity: 1;
  transform: translate(0, 0);
  background: var(--rust);
  color: var(--cream);
  border-color: var(--rust);
}

.logos-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  flex-wrap: wrap;
}
.logos-foot .nda {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logos-foot .nda::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--rust);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 900px) { .logo-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .logo-row { grid-template-columns: 1fr; } }

/* ============================================================
   Marquee
   ============================================================ */

.marquee {
  background: var(--forest);
  color: var(--cream);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marq 28s linear infinite;
  font-family: var(--sans);
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.025em;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: flex; align-items: center; gap: 48px; }
.marquee-track .dot { color: var(--peach); }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   Credo (bold pull-quote section)
   ============================================================ */

.credo { padding: var(--section-y) 0; background: var(--cream); }
.credo-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.credo .quote {
  font-family: var(--sans);
  font-size: clamp(36px, 4.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.credo .quote em { color: var(--rust); }
.credo .quote .strike { position: relative; display: inline-block; opacity: 0.45; }
.credo .quote .strike::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 52%;
  height: 4px;
  background: var(--rust);
  transform: rotate(-1.5deg) scaleX(0);
  transform-origin: left center;
  animation: strikeIn 1s var(--ease) 0.3s forwards;
}
.credo.in .quote .strike::after { transform: rotate(-1.5deg) scaleX(1); }
@keyframes strikeIn { to { transform: rotate(-1.5deg) scaleX(1); } }

.credo-aside { display: flex; flex-direction: column; gap: 20px; padding-top: 12px; }
.credo-aside p { max-width: 32ch; line-height: 1.5; opacity: 0.8; }

@media (max-width: 800px) {
  .credo-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   Services
   ============================================================ */

.services { padding: var(--section-y) 0; background: var(--cream); }
.services-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}
.service-card:hover { background: var(--cream-warm); }
.service-card .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.45;
}
.service-card h3 {
  font-family: var(--sans);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin-top: auto;
}
.service-card p {
  font-size: 14.5px;
  line-height: 1.5;
  opacity: 0.78;
  max-width: 32ch;
}
.service-card .more {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
  transition: color 0.2s, gap 0.3s var(--ease);
}
.service-card:hover .more { gap: 12px; }
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx,50%) var(--my,50%), rgba(200,74,44,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover .more { color: var(--rust); }
.service-card:hover h3 em { color: var(--rust-deep); }

@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .service-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Numbers section (on-dark)
   ============================================================ */

.numbers { padding: var(--section-y) 0; background: var(--ink); color: var(--cream); }
.numbers-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-on-dark);
}
.numbers-grid .cell {
  padding: 40px 28px;
  border-right: 1px solid var(--line-on-dark);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
  position: relative;
  transition: background 0.4s var(--ease);
}
.numbers-grid .cell:hover { background: rgba(244,169,136,0.04); }
.numbers-grid .cell:last-child { border-right: 0; }
.numbers-grid .num {
  font-family: var(--sans);
  font-size: clamp(48px, 5.5vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin-top: auto;
  font-variant-numeric: tabular-nums;
}
.numbers-grid .num em { color: var(--peach); }
.numbers-grid .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  max-width: 24ch;
  line-height: 1.4;
}

.numbers-aside {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: end;
}
.numbers-aside .pull {
  font-family: var(--sans);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 22ch;
}
.numbers-aside .note { opacity: 0.7; max-width: 36ch; }

@media (max-width: 1000px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); } .numbers-grid .cell:nth-child(2n) { border-right: 0; } }
@media (max-width: 600px) { .numbers-grid { grid-template-columns: 1fr; } .numbers-grid .cell { border-right: 0; } .numbers-aside { grid-template-columns: 1fr; gap: 24px; } }

/* ============================================================
   Case studies preview
   ============================================================ */

.cases { padding: var(--section-y) 0; background: var(--cream); }
.cases-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.case-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}
.case-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  border: 0;
  text-align: left;
  transition: transform 0.3s var(--ease);
}
.case-card:hover { transform: translateY(-4px); }
.case-card .visual {
  aspect-ratio: 4/3;
  background: var(--forest);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  transition: transform 0.6s var(--ease);
}
.case-card:hover .visual { transform: scale(1.012); }
.case-card .visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx,50%) var(--my,50%), rgba(244,169,136,0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.case-card:hover .visual::before { opacity: 1; }
.case-card .visual.placeholder {
  background:
    repeating-linear-gradient(
      135deg,
      var(--forest-soft) 0, var(--forest-soft) 1px,
      var(--forest) 1px, var(--forest) 14px
    );
}
.case-card .visual.solskin {
  background:
    linear-gradient(180deg, rgba(14,58,42,0.25) 0%, rgba(14,58,42,0.85) 100%),
    url('images/solskin-product.webp') center / cover no-repeat #2D3F2A;
}
.case-card .visual.sup {
  background:
    linear-gradient(180deg, rgba(14,58,42,0.25) 0%, rgba(14,58,42,0.85) 100%),
    url('images/sup-aplus.webp') center / cover no-repeat #1F4F6B;
}
.case-card .visual.seed {
  background:
    linear-gradient(180deg, rgba(14,58,42,0.25) 0%, rgba(14,58,42,0.85) 100%),
    url('images/seedballs-6pack.webp') center / cover no-repeat #5C4A2C;
}
.case-card .visual.electro {
  background:
    linear-gradient(180deg, rgba(14,58,42,0.25) 0%, rgba(14,58,42,0.85) 100%),
    url('images/electrohi-product.webp') center / cover no-repeat #1A1A1A;
}

.case-card .brand-tag {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
}
.case-card .stat-tag {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  font-family: var(--sans);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.95;
  color: var(--cream);
  letter-spacing: -0.025em;
}
.case-card .stat-tag em { color: var(--peach); }
.case-card .meta { display: flex; flex-direction: column; gap: 8px; }
.case-card h3 {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  transition: color 0.2s;
}
.case-card:hover h3 { color: var(--rust); }
.case-card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

@media (max-width: 1000px) { .case-grid { grid-template-columns: 1fr 1fr; } .case-card:first-child { grid-column: span 2; } }
@media (max-width: 600px) { .case-grid { grid-template-columns: 1fr; } .case-card:first-child { grid-column: span 1; } }

/* ============================================================
   Approach (4-step methodology)
   ============================================================ */

.approach { padding: var(--section-y) 0; background: var(--cream-warm); }
.approach-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.step {
  padding: 40px 28px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.3s var(--ease);
}
.step:hover { background: rgba(200,74,44,0.04); }
.step:last-child { border-right: 0; padding-right: 0; }
.step:first-child { padding-left: 0; }
.step:not(:first-child) { padding-left: 28px; }

.step .index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.45;
}
.step h4 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.035em;
  transition: transform 0.3s var(--ease);
}
.step:hover h4 { transform: translateX(6px); }
.step h4 em { color: var(--rust); transition: color 0.2s; }
.step:hover h4 em { color: var(--rust-deep); }
.step p { font-size: 14.5px; line-height: 1.5; opacity: 0.8; max-width: 28ch; }
.step .meta {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0.55;
  text-transform: uppercase;
}

@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(2n) { border-right: 0; padding-right: 0; } .step:nth-child(2n+1) { padding-left: 0; padding-right: 28px; } .step:nth-child(2n) { padding-left: 28px; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; padding: 32px 0 !important; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: 0; } }

/* ============================================================
   FAQ
   ============================================================ */

.faq { padding: var(--section-y) 0; background: var(--cream); }
.faq-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.faq-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); transition: padding 0.3s; }
.faq-item[open] { padding-bottom: 4px; }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  font-family: var(--sans);
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.025em;
  line-height: 1.2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--rust); }
.faq-q .icon {
  font-family: var(--mono);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 6px;
  transition: transform 0.4s var(--ease);
}
.faq-item[open] .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 0 28px;
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.78;
  max-width: 60ch;
  animation: faqIn 0.5s var(--ease);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ''; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 0.78; transform: translateY(0); } }

@media (max-width: 800px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   CTA / contact preview
   ============================================================ */

.cta {
  background: var(--forest);
  color: var(--cream);
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 70%;
  height: 100%;
  background: radial-gradient(circle, rgba(200,74,44,0.12) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(60px);
}
.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: end;
  position: relative;
}
.cta h2 { max-width: 14ch; }
.cta h2 em { color: var(--peach); }
.cta-aside { display: flex; flex-direction: column; gap: 24px; padding-bottom: 8px; }
.cta-aside .lede { color: var(--cream); opacity: 0.92; max-width: 32ch; }
.cta-aside .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.cta-direct {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line-on-dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.cta-direct .item { display: flex; flex-direction: column; gap: 6px; }
.cta-direct .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}
.cta-direct .value {
  font-family: var(--sans);
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.005em;
  transition: color 0.2s;
}
.cta-direct a.value:hover { color: var(--peach); }

@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; gap: 32px; align-items: start; } .cta-direct { grid-template-columns: 1fr; gap: 20px; } }

/* ============================================================
   Footer
   ============================================================ */

.foot { background: var(--ink); color: var(--cream); padding: 80px 0 32px; position: relative; overflow: hidden; }
.foot-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line-on-dark);
}
.foot-top h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 20px;
}
.foot-top ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-top a { font-size: 15px; opacity: 0.85; transition: opacity 0.2s, color 0.2s; }
.foot-top a:hover { opacity: 1; color: var(--peach); }

.foot-brand .wordmark {
  font-family: var(--sans);
  font-size: 36px;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.foot-brand .wordmark em { color: var(--peach); font-style: normal; }
.foot-brand p { opacity: 0.7; max-width: 32ch; line-height: 1.5; font-size: 14.5px; }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
  flex-wrap: wrap;
  gap: 16px;
}

/* Big foot wordmark */
.foot-display {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--sans);
  font-size: clamp(120px, 18vw, 320px);
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--cream);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  font-weight: 400;
}

@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot-top { grid-template-columns: 1fr; } }

/* ============================================================
   Generic page header (for inner pages)
   ============================================================ */

.page-head {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(60px, 7vw, 100px) 0 clamp(80px, 9vw, 140px);
  border-bottom: 1px solid var(--line-on-dark);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(244,169,136,0.06) 0%, transparent 50%);
  pointer-events: none;
  filter: blur(40px);
}
.page-head-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.page-head .meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-on-dark);
  margin-bottom: 56px;
}
.page-head h1 { max-width: 18ch; margin-bottom: 32px; }
.page-head h1 em { color: var(--peach); }
.page-head .lede { max-width: 38ch; opacity: 0.92; color: var(--cream); }

/* ============================================================
   Form (contact)
   ============================================================ */

.form-wrap { background: var(--cream); padding: 0; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  min-height: 100vh;
}
.form-side {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(60px, 7vw, 100px) clamp(40px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 80px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.form-side .meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-on-dark);
}
.form-side h1 { max-width: 14ch; }
.form-side h1 em { color: var(--peach); }
.form-side .lede { max-width: 32ch; opacity: 0.92; color: var(--cream); }
.form-side .direct { display: flex; flex-direction: column; gap: 20px; padding-top: 32px; border-top: 1px solid var(--line-on-dark); }
.form-side .direct .item { display: flex; flex-direction: column; gap: 4px; }
.form-side .direct .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; }
.form-side .direct .value { font-family: var(--sans); font-size: 22px; letter-spacing: -0.005em; }
.form-side .direct a:hover { color: var(--peach); }

.form-main {
  padding: clamp(60px, 7vw, 100px) clamp(40px, 5vw, 80px);
  background: var(--cream);
}
.form-main .meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}
.field label .req { color: var(--rust); margin-left: 4px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field textarea,
.field select {
  font-family: var(--sans);
  font-size: 18px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: var(--ink);
  outline: 0;
  transition: border-color 0.3s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 72px; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-bottom-color: var(--ink); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  background: transparent;
  transition: all 0.2s var(--ease);
  user-select: none;
}
.chip input { display: none; }
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip.active,
.chip:has(input:checked) {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.captcha-field {
  margin-top: 8px;
  margin-bottom: 32px;
}
.captcha-field .h-captcha {
  margin-top: 4px;
  min-height: 80px;
}
.captcha-field iframe {
  border-radius: 4px;
}

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  gap: 24px;
  flex-wrap: wrap;
}
.form-foot .micro {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  max-width: 36ch;
  line-height: 1.5;
}

.form-success {
  display: none;
  padding: 32px;
  border: 1px solid var(--forest);
  background: rgba(14,58,42,0.04);
  margin-bottom: 24px;
}
.form-success.on { display: block; animation: fadeIn 0.4s var(--ease); }
.form-success h3 { font-family: var(--sans); font-size: 28px; margin-bottom: 8px; }
.form-error { color: var(--rust); font-size: 14px; margin-top: 8px; display: none; }
.form-error.on { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1000px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-side { position: static; height: auto; }
}

/* ============================================================
   Misc utilities
   ============================================================ */

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

.hr-rule { height: 1px; background: var(--line); margin: 32px 0; }

::selection { background: var(--rust); color: var(--cream); }

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reduce-motion .reveal { opacity: 1; transform: none; transition: none; }

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 18px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(10,10,10,0.18), 0 2px 6px rgba(10,10,10,0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.2s;
  pointer-events: none;
}
.sticky-cta.on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sticky-cta:hover { background: var(--rust); }
.sticky-cta .sc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34D068;
  box-shadow: 0 0 0 4px rgba(52,208,104,0.22);
  animation: pulse 2s infinite;
}
.sticky-cta .sc-arrow { transition: transform 0.2s; }
.sticky-cta:hover .sc-arrow { transform: translateX(4px); }
@media (max-width: 600px) { .sticky-cta { right: 16px; bottom: 16px; padding: 12px 16px; font-size: 13px; } }

/* Inner page utilities used across pages */
.page-section { padding: var(--section-y) 0; }

/* Two-column long-form */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.two-col .left { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col .left { position: static; }
}

.prose p { font-size: 17px; line-height: 1.6; margin-bottom: 1em; max-width: 64ch; }
.prose p.first { font-family: var(--sans); font-size: clamp(22px, 2vw, 28px); line-height: 1.35; letter-spacing: -0.005em; opacity: 0.92; max-width: 32ch; margin-bottom: 1.2em; }
.prose h3 { font-family: var(--sans); font-size: clamp(28px, 3vw, 40px); font-weight: 400; line-height: 1.1; letter-spacing: -0.035em; margin: 1.4em 0 0.6em; }
.prose ul { padding-left: 0; list-style: none; margin-bottom: 1.4em; }
.prose ul li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: baseline; }
.prose ul li::before { content: counter(li, decimal-leading-zero); counter-increment: li; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; opacity: 0.5; }
.prose ul { counter-reset: li; }

/* Service deep-dive cards */
.svc-block {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  gap: 40px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  position: relative;
  transition: padding 0.4s var(--ease);
}
.svc-block:last-child { border-bottom: 1px solid var(--line); }
.svc-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 1px;
  background: var(--rust);
  transition: width 0.6s var(--ease);
}
.svc-block:hover::before { width: 100%; }
.svc-block .idx { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; opacity: 0.5; padding-top: 8px; }
.svc-block h2 { font-family: var(--sans); font-weight: 400; font-size: clamp(36px, 4vw, 64px); line-height: 1; letter-spacing: -0.04em; }
.svc-block h2 em { color: var(--rust); }
.svc-block .body { display: flex; flex-direction: column; gap: 16px; }
.svc-block .body p { font-size: 16.5px; line-height: 1.55; max-width: 50ch; opacity: 0.85; }
.svc-block .body ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; padding: 16px 0 0; border-top: 1px solid var(--line); }
.svc-block .body ul li { font-size: 14px; padding: 4px 0; opacity: 0.8; display: flex; gap: 10px; transition: opacity 0.2s, padding-left 0.3s var(--ease); }
.svc-block .body ul li:hover { opacity: 1; padding-left: 4px; }
.svc-block .body ul li::before { content: '/'; color: var(--rust); font-family: var(--mono); }
@media (max-width: 800px) {
  .svc-block { grid-template-columns: 1fr; gap: 16px; }
  .svc-block .body ul { grid-template-columns: 1fr; }
}

/* Team grid */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team .member { display: flex; flex-direction: column; gap: 16px; }
.team .photo {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-soft) 100%);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}
.team .member:hover .photo { transform: scale(1.02); }
.team .photo.placeholder {
  background: repeating-linear-gradient(135deg, var(--forest-soft) 0, var(--forest-soft) 1px, var(--forest) 1px, var(--forest) 14px);
}
.team .photo .name-tag {
  position: absolute; bottom: 16px; left: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cream); opacity: 0.7;
}
.team h4 { font-family: var(--sans); font-size: 24px; font-weight: 400; line-height: 1.1; letter-spacing: -0.025em; }
.team .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; }
.team p { font-size: 14.5px; line-height: 1.5; opacity: 0.8; max-width: 32ch; }
@media (max-width: 800px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .team { grid-template-columns: 1fr; } }

/* Case page hero */
.case-hero { background: var(--forest); color: var(--cream); padding: clamp(60px, 7vw, 100px) 0; }
.case-hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.case-hero .meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-on-dark);
  margin-bottom: 40px;
}
.case-hero h1 { max-width: 22ch; margin-bottom: 32px; }
.case-hero h1 em { color: var(--peach); }
.case-hero .lede { max-width: 36ch; opacity: 0.92; }
.case-hero .visual {
  margin-top: 56px;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #2D3F2A 0%, #4A5C3A 100%);
  border: 1px solid var(--line-on-dark);
  position: relative;
  overflow: hidden;
}
.case-hero .visual.placeholder {
  background: repeating-linear-gradient(135deg, #2D3F2A 0, #2D3F2A 1px, #4A5C3A 1px, #4A5C3A 14px);
}
.case-hero .visual.solskin-hero {
  background:
    linear-gradient(180deg, rgba(14,58,42,0.20) 0%, rgba(14,58,42,0.55) 100%),
    url('images/solskin-product.webp') center / cover no-repeat #2D3F2A;
}
.case-hero .visual.sup-hero {
  background:
    linear-gradient(180deg, rgba(14,58,42,0.20) 0%, rgba(14,58,42,0.55) 100%),
    url('images/sup-product.webp') center / cover no-repeat #1F4F6B;
}
.case-hero .visual.seed-hero {
  background:
    linear-gradient(180deg, rgba(14,58,42,0.20) 0%, rgba(14,58,42,0.55) 100%),
    url('images/seedballs-product.webp') center / cover no-repeat #5C4A2C;
}
.case-hero .visual.electro-hero {
  background:
    linear-gradient(180deg, rgba(14,58,42,0.20) 0%, rgba(14,58,42,0.55) 100%),
    url('images/electrohi-product.webp') center / cover no-repeat #1A1A1A;
}
.case-hero .visual::after { display: none; }
.case-hero .visual::after {
  content: 'Lifestyle hero, placeholder for client imagery';
  position: absolute; bottom: 16px; left: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cream); opacity: 0.6;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case-stats .cell {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 180px;
  transition: background 0.3s;
}
.case-stats .cell:hover { background: rgba(200,74,44,0.04); }
.case-stats .cell:last-child { border-right: 0; }
.case-stats .num { font-family: var(--sans); font-size: clamp(40px, 4vw, 64px); line-height: 0.9; letter-spacing: -0.04em; margin-top: auto; font-variant-numeric: tabular-nums; }
.case-stats .num em { color: var(--rust); }
.case-stats .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; max-width: 22ch; line-height: 1.4; }
@media (max-width: 900px) { .case-stats { grid-template-columns: 1fr 1fr; } .case-stats .cell:nth-child(2n) { border-right: 0; } }
@media (max-width: 500px) { .case-stats { grid-template-columns: 1fr; } .case-stats .cell { border-right: 0; } }

/* Page transition overlay */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--forest);
  z-index: 10000;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.6s var(--ease);
}
.page-transition.in { transform: translateY(0); }
.page-transition.out { transform: translateY(-100%); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--rust);
  width: 0;
  z-index: 200;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* Testimonial slider */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: start;
}
.testi-grid figure {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  padding-left: 24px;
  border-left: 1px solid var(--line-on-dark);
  transition: border-color 0.3s, padding-left 0.3s var(--ease);
}
.testi-grid figure:hover { border-left-color: var(--peach); padding-left: 32px; }
.testi-grid blockquote {
  font-family: var(--sans);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.testi-grid blockquote em { color: var(--peach); font-style: normal; }
.testi-grid figcaption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; gap: 32px; } }

/* On the trust strip rows in case pages */
.full-mark-bar {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  flex-wrap: wrap;
}

/* live time clock */
.nav-clock {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 1100px) { .nav-clock { display: none; } }

/* ============================================================
   Mobile layout fixes
   ============================================================ */
@media (max-width: 600px) {
  /* Inline-styled multi-column grids can't carry their own media
     queries — collapse them to a single column on small screens */
  [style*="grid-template-columns:1.2fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:repeat(2,1fr)"],
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* Contact form panels: trim side padding so the 302px captcha fits */
  .form-side,
  .form-main {
    padding-left: 24px;
    padding-right: 24px;
  }
  /* Nav: tighten gaps and keep the wordmark at its true aspect ratio
     (it was being crushed — a fixed height plus the max-width cap squashed it) */
  .nav-inner { gap: 14px; }
  .nav-cta { gap: 10px; }
  .nav-cta .btn { padding-left: 14px; padding-right: 14px; }
  .brand-img { height: auto; max-width: 104px; }
}
