/* ==========================================================================
   Engsound International — Design System
   Display: Space Grotesk / Body: Inter / Utility: IBM Plex Mono
   ========================================================================== */

:root {
  /* Color — bright, cartoon-friendly palette */
  --ink:        #221B4E;   /* deep plum-navy, used for outlines & dark panels */
  --ink-2:      #2E2569;
  --ink-3:      #3A2E82;
  --paper:      #FFF8EC;   /* warm cream page background */
  --paper-2:    #FFFFFF;
  --line:       #221B4E;   /* outlines are heavy and dark, not hairlines */
  --line-dark:  rgba(255,255,255,0.22);
  --text:       #221B4E;
  --muted:      #6B6296;
  --muted-dark: #C9C1F2;
  --accent:     #FF6B4A;   /* coral orange — primary playful accent */
  --accent-ink: #E24E2E;
  --accent-cyan: #35D0C0;
  --accent-2:   #FFC845;   /* sunshine yellow */
  --accent-pink:#FF6FA3;
  --accent-blue:#4D7CFF;
  --accent-green:#3DD68C;
  --good:       #3DD68C;
  --grad-signal: linear-gradient(100deg, #FF6B4A 0%, #FF6FA3 45%, #4D7CFF 100%);
  --grad-warm:   linear-gradient(100deg, #FFC845 0%, #FF6B4A 100%);

  /* Type — rounded, friendly */
  --f-display: 'Fredoka', 'Baloo 2', sans-serif;
  --f-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono: 'Nunito', -apple-system, sans-serif; /* kept as an alias so old rules still work */

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 20px;
  --radius-sm: 12px;
  --outline-w: 3px;
  --sticker-shadow: 6px 6px 0 var(--ink);
  --sticker-shadow-sm: 4px 4px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0;
}

p { margin: 0; }

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

::selection { background: var(--accent); color: #fff; }

/* Gradient text accent */
.grad-text {
  background: var(--grad-signal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Film-grain texture, layered over dark sections for depth */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* Cursor-reactive glow, position set via --mx/--my custom properties from JS */
.glow-surface { position: relative; isolation: isolate; }
.glow-surface::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 20%), rgba(76,111,255,0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.glow-surface:hover::after,
.glow-surface.glow-active::after { opacity: 1; }
.glow-surface > * { position: relative; z-index: 1; }

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

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* --------------------------------------------------------------------------
   Eyebrow / mono labels
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  background: var(--accent-2);
  border: var(--outline-w) solid var(--ink);
  border-radius: 999px;
  padding: 6px 16px;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  display: inline-block;
  border-radius: 50%;
  border: 2px solid var(--ink);
}

.eyebrow.on-dark { color: var(--ink); background: #fff; }

/* --------------------------------------------------------------------------
   Skip link
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  z-index: 999;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------------------------
   Header / Nav
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: var(--outline-w) solid var(--ink);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 0 rgba(34,27,78,0.15);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 20px;
}

.logo-chip {
  background: #fff;
  border-radius: 999px;
  border: var(--outline-w) solid var(--ink);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  line-height: 0;
}
.logo-chip img { height: 26px; width: auto; display: block; }

.logo small {
  display: block;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  margin-top: 1px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  position: relative;
}
.main-nav a:hover { background: rgba(255,255,255,0.15); transform: translateY(-1px); }
.main-nav a[aria-current="page"] { background: var(--accent); color: var(--ink); }

.nav-cta {
  font-family: var(--f-body) !important;
  font-size: 13.5px !important;
  color: var(--ink) !important;
  background: var(--accent-2) !important;
  border: 2px solid var(--ink);
  padding: 9px 18px !important;
  margin-left: 10px;
  border-radius: 999px;
  font-weight: 800;
}
.nav-cta:hover { background: var(--accent) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: var(--outline-w) solid #fff;
  color: #fff;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 8px var(--gutter) 20px;
    border-bottom: 1px solid var(--line-dark);
  }
  .site-header.nav-open .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line-dark); }
  .nav-cta { margin-left: 0; margin-top: 10px; text-align: center; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: var(--outline-w) solid var(--ink);
  cursor: pointer;
  position: relative;
  box-shadow: var(--sticker-shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--ink); }

.btn-primary {
  background: var(--accent);
  color: var(--ink);
}
.btn-primary:hover { background: var(--accent-2); }

.btn-ghost { background: #fff; color: var(--ink); }
.btn-ghost:hover { background: var(--accent-cyan); }

.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-2); }

.btn-outline { background: var(--paper); color: var(--text); }
.btn-outline:hover { background: var(--accent-2); }

.btn-arrow::after { content: '→'; transition: transform 0.15s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 128px 0 108px;
  background-image: radial-gradient(var(--ink-2) 2.5px, transparent 2.5px);
  background-size: 28px 28px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 620px 420px at 85% 0%, rgba(255,200,69,0.35), transparent 65%),
    radial-gradient(ellipse 520px 380px at 0% 100%, rgba(53,208,192,0.28), transparent 65%);
  pointer-events: none;
}

.hero .grain { display: none; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero.hero-simple .hero-inner { grid-template-columns: 1fr; max-width: 760px; }

.hero h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.2rem);
  margin-top: 20px;
  max-width: 15ch;
}

.hero-lede {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--muted-dark);
  max-width: 46ch;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 46px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.hero-meta > div {
  background: #fff;
  border: var(--outline-w) solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  box-shadow: var(--sticker-shadow-sm);
}
.hero-meta strong { color: var(--accent-ink); display: block; font-family: var(--f-display); font-size: 22px; font-weight: 600; margin-bottom: 2px; }

.hero-diagram { position: relative; }

/* --------------------------------------------------------------------------
   Systems diagram (signature element)
   -------------------------------------------------------------------------- */

.systems-diagram { width: 100%; height: auto; overflow: visible; }
.systems-diagram .node-box {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 3;
}
.systems-diagram .node-box.n-finance { fill: var(--accent-2); }
.systems-diagram .node-box.n-retail { fill: var(--accent-pink); }
.systems-diagram .node-box.n-manufacturing { fill: var(--accent); }
.systems-diagram .node-box.n-import { fill: var(--accent-blue); }
.systems-diagram .node-box.n-warehousing { fill: var(--accent-green); }
.systems-diagram .node-hub {
  fill: var(--accent-2);
  stroke: var(--ink);
  stroke-width: 3.5;
}
.systems-diagram .node-label {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 11px;
  fill: var(--ink);
  letter-spacing: 0.01em;
}
.systems-diagram .node-label.hub { fill: var(--ink); font-size: 13px; font-weight: 800; }
.systems-diagram .wire {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1 10;
}
.systems-diagram .pulse {
  fill: var(--accent);
  stroke: var(--ink);
  stroke-width: 2;
}
.systems-diagram .pulse.cyan {
  fill: var(--accent-cyan);
  stroke: var(--ink);
  stroke-width: 2;
}
.systems-diagram .node-hub {
  animation: hub-pulse 1.4s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes hub-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .systems-diagram .node-hub { animation: none; }
}
.systems-diagram .node-icon { stroke: var(--ink); stroke-width: 2; fill: none; }

@keyframes travel {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

section { padding: 88px 0; }
.section-tight { padding: 64px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-top: 16px;
}
.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.on-dark { background: var(--ink); color: #fff; }
.on-dark .muted { color: var(--muted-dark); }
.on-dark .section-head p { color: var(--muted-dark); }

.divider {
  border: none;
  border-top: 2px dashed var(--ink);
  margin: 0;
}
.on-dark hr, .divider-dark { border-top: 2px dashed var(--line-dark); }

/* --------------------------------------------------------------------------
   Partner strip
   -------------------------------------------------------------------------- */

.partner-strip {
  border-top: var(--outline-w) solid var(--ink);
  border-bottom: var(--outline-w) solid var(--ink);
  background: var(--accent-cyan);
  overflow: hidden;
  padding: 22px 0;
}
.partner-strip .label {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
  white-space: nowrap;
  padding-left: var(--gutter);
  display: block;
  margin-bottom: 16px;
}
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover { animation-play-state: paused; }
.partner-badges { display: flex; gap: 16px; flex-wrap: nowrap; padding-right: 16px; }

.brand-badge {
  display: inline-flex;
  align-items: center;
  border: var(--outline-w) solid var(--ink);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  background: #fff;
  box-shadow: var(--sticker-shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  height: 58px;
  box-sizing: border-box;
}
.brand-badge:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.brand-badge.chip-dark { background: var(--ink); }
.brand-badge img { height: 32px; width: auto; max-width: 160px; display: block; object-fit: contain; }

/* Legacy text-only badge (still used inline in copy) */
.badge {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 700;
  border: var(--outline-w) solid var(--ink);
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--ink);
  white-space: nowrap;
  background: #fff;
  transition: transform 0.15s ease;
}
.badge:hover { transform: translateY(-2px); background: var(--accent-2); }
.badge b { color: var(--accent-ink); font-weight: 800; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }

/* --------------------------------------------------------------------------
   Pillar cards
   -------------------------------------------------------------------------- */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: #fff;
  padding: 36px 28px 30px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  position: relative;
  isolation: isolate;
  border: var(--outline-w) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--sticker-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.pillar-card:nth-child(1) { background: #FFF3DE; }
.pillar-card:nth-child(2) { background: #FFE6EF; }
.pillar-card:nth-child(3) { background: #E3F8F4; }
.pillar-card:nth-child(4) { background: #EAEBFF; }
.pillar-card:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

.pillar-icon {
  width: 48px; height: 48px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
.pillar-card:hover .pillar-icon { transform: rotate(-6deg) scale(1.08); }

.pillar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--ink);
}
.pillar-card p { color: var(--ink); opacity: 0.75; font-size: 15px; font-weight: 600; line-height: 1.6; flex-grow: 1; }
.pillar-more {
  margin-top: 22px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pillar-card:hover .pillar-more::after { transform: translateX(3px); }
.pillar-more::after { content: '→'; transition: transform 0.15s ease; }

@media (max-width: 980px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-diagram { order: -1; }
}
@media (max-width: 640px) {
  .hero-diagram { display: none; }
}

/* --------------------------------------------------------------------------
   Feature list / two-column
   -------------------------------------------------------------------------- */

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.6;
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 6px;
  width: 8px; height: 8px;
  background: var(--accent-2);
  transform: rotate(45deg);
}
.on-dark .check-list li::before { background: var(--accent-2); }

.stat-block { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; margin-top: 8px; }
.stat-block.stat-4 { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.stat-block > div {
  background: #fff;
  border: var(--outline-w) solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--sticker-shadow-sm);
}
.on-dark .stat-block > div { background: var(--ink-2); }
.stat-block .num { font-family: var(--f-display); font-weight: 600; font-size: 2.1rem; color: var(--accent-ink); }
.stat-block .lbl { font-family: var(--f-body); font-weight: 700; font-size: 12px; color: var(--muted); letter-spacing: 0.02em; margin-top: 4px; }
.on-dark .stat-block .num { color: var(--accent-2); }
.on-dark .stat-block .lbl { color: var(--muted-dark); }

/* --------------------------------------------------------------------------
   Process flow (ordered — real sequence)
   -------------------------------------------------------------------------- */

.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  counter-reset: flow;
}
.flow-step {
  background: #fff;
  padding: 22px 16px;
  position: relative;
  border: var(--outline-w) solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--sticker-shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.flow-step:nth-child(6n+1) { background: #FFF3DE; }
.flow-step:nth-child(6n+2) { background: #FFE6EF; }
.flow-step:nth-child(6n+3) { background: #E3F8F4; }
.flow-step:nth-child(6n+4) { background: #EAEBFF; }
.flow-step:nth-child(6n+5) { background: #E1F7E6; }
.flow-step:nth-child(6n+6) { background: #FFEAD1; }
.flow-step:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.flow-step::before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  background: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  margin-bottom: 12px;
}
.flow-step h4 { color: var(--ink); font-size: 14.5px; font-weight: 800; margin-bottom: 6px; }
.flow-step p { color: var(--ink); opacity: 0.75; font-size: 12.5px; font-weight: 600; line-height: 1.55; }

@media (max-width: 960px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Solutions grid (Continia)
   -------------------------------------------------------------------------- */

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.solution-tile {
  border: var(--outline-w) solid var(--ink);
  border-radius: var(--radius);
  padding: 24px 22px;
  background: #fff;
  box-shadow: var(--sticker-shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.solution-tile:nth-child(5n+1) { background: #FFF3DE; }
.solution-tile:nth-child(5n+2) { background: #FFE6EF; }
.solution-tile:nth-child(5n+3) { background: #E3F8F4; }
.solution-tile:nth-child(5n+4) { background: #EAEBFF; }
.solution-tile:nth-child(5n+5) { background: #E1F7E6; }
.solution-tile:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}
.solution-tile .tag {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 11px;
  color: var(--accent-ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.solution-tile h4 { margin-top: 10px; font-size: 1.05rem; color: var(--ink); }
.solution-tile p { margin-top: 8px; color: var(--ink); opacity: 0.75; font-size: 14px; font-weight: 600; line-height: 1.6; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 340px at 12% 120%, rgba(255,200,69,0.28), transparent 70%),
              radial-gradient(500px 300px at 92% -20%, rgba(53,208,192,0.22), transparent 70%);
  pointer-events: none;
}
.cta-band .wrap {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); max-width: 20ch; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Video embed
   -------------------------------------------------------------------------- */

.video-frame {
  position: relative;
  padding-top: 56.25%;
  background: var(--ink);
  border: var(--outline-w) solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sticker-shadow);
}
.video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }

.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label {
  font-family: var(--f-body);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 16px;
  border: var(--outline-w) solid var(--ink);
  background: #fff;
  border-radius: var(--radius-sm);
  color: var(--text);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 3px 3px 0 var(--ink);
}
.field textarea { resize: vertical; min-height: 130px; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin-top: 16px;
  padding: 14px 16px;
  border: var(--outline-w) solid var(--ink);
  background: #FFD3D3;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-sm);
}
.form-error a { color: inherit; text-decoration: underline; }

.form-success {
  border: var(--outline-w) solid var(--ink);
  border-radius: var(--radius);
  background: #E1F7E6;
  padding: 30px;
  box-shadow: var(--sticker-shadow);
}
.form-success h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; margin-bottom: 10px; color: var(--ink); }
.form-success p { color: var(--ink); opacity: 0.8; font-weight: 600; font-size: 15.5px; line-height: 1.6; }
.form-success a { color: var(--accent-ink); text-decoration: none; font-weight: 800; }
.form-success a:hover { text-decoration: underline; }

.contact-card {
  border: var(--outline-w) solid var(--ink);
  border-radius: var(--radius);
  padding: 30px;
  background: #FFF3DE;
  box-shadow: var(--sticker-shadow);
}
.contact-card dt {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-top: 20px;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd {
  margin: 6px 0 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}
.contact-card a { text-decoration: none; color: var(--accent-ink); }
.contact-card a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--muted-dark);
  padding: 64px 0 28px;
  border-top: var(--outline-w) solid var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 2px dashed var(--line-dark);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.footer-grid h5 {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--muted-dark); font-size: 14.5px; font-weight: 600; }
.footer-grid a:hover { color: #fff; }
.footer-blurb { font-size: 14.5px; font-weight: 600; line-height: 1.7; max-width: 34ch; margin-top: 14px; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--muted-dark);
}

/* --------------------------------------------------------------------------
   Breadcrumb / page kicker (sub pages)
   -------------------------------------------------------------------------- */

.crumb {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--muted-dark);
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.crumb a { color: var(--muted-dark); text-decoration: none; }
.crumb a:hover { color: #fff; }

/* Vendor logo art embedded on product pages */
.vendor-logo-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.vendor-logo-row img { height: 44px; width: auto; }
.vendor-logo-chip {
  background: var(--ink-2);
  border: var(--outline-w) solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  box-shadow: var(--sticker-shadow-sm);
}
.vendor-logo-chip.light { background: #fff; }
.vendor-logo-collection {
  border: var(--outline-w) solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 640px;
  box-shadow: var(--sticker-shadow);
}
.vendor-logo-collection img { width: 100%; height: auto; display: block; }
.mt-0 { margin-top: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

.pillar-grid [data-reveal]:nth-child(1) { transition-delay: 0s; }
.pillar-grid [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.pillar-grid [data-reveal]:nth-child(3) { transition-delay: 0.2s; }
.solution-grid [data-reveal] { transition-delay: 0s; }
