/**
 * Sulfur Wire — marketing (First Ground shell + sulfur yellow)
 * cache-bust: v2
 */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Montserrat:wght@400;500;600;700&display=swap');

/* Full-bleed storm dock hero */
.mkt-hero-bleed {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: flex-end;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  overflow: hidden;
  border-bottom: 1px solid var(--sw-border);
}

.mkt-hero-bleed__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(22, 22, 22, 0.92) 0%, rgba(22, 22, 22, 0.55) 45%, rgba(22, 22, 22, 0.75) 100%),
    url('/assets/images/sw-hero-vancouver-sulfur-storm.png') center / cover no-repeat;
}

.mkt-hero-bleed__content {
  position: relative;
  z-index: 1;
  max-width: var(--sw-container);
  width: 100%;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2.75rem;
}

.mkt-hero-bleed .mkt-display {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 14ch;
  color: var(--sw-text);
  margin-bottom: 0.85rem;
}

.mkt-hero-bleed .mkt-section-desc {
  font-size: 1.05rem;
  color: var(--sw-text);
  max-width: 34rem;
  margin-bottom: 0;
}

.mkt-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--sw-font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sw-yellow);
  border: 1px solid var(--sw-accent-border);
  background: var(--sw-accent-dim);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  margin-bottom: 1.1rem;
}

.mkt-status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sw-neon);
  box-shadow: 0 0 0 0 rgba(207, 255, 4, 0.5);
  animation: sw-pulse 2s var(--sw-ease) infinite;
}

@keyframes sw-pulse {
  0% { box-shadow: 0 0 0 0 rgba(207, 255, 4, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(207, 255, 4, 0); }
  100% { box-shadow: 0 0 0 0 rgba(207, 255, 4, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .mkt-status-pill::before { animation: none; }
}

/* Compact hero (inner pages) */
.mkt-hero {
  position: relative;
  padding: 2rem 0 1.75rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--sw-border);
}

.mkt-eyebrow {
  font-family: var(--sw-font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sw-yellow);
  margin-bottom: 0.75rem;
}

.mkt-display {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  max-width: 720px;
}

.mkt-prose {
  color: var(--sw-text-muted);
  max-width: 640px;
  line-height: 1.65;
}
.mkt-prose a { color: var(--sw-yellow); }
.mkt-prose a:hover { color: var(--sw-neon); }

.mkt-hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
}

.mkt-btn {
  display: inline-block;
  padding: 0.6rem 1.15rem;
  font-size: 0.72rem;
  font-family: var(--sw-font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: var(--sw-radius-sm);
  border: 1px solid transparent;
  transition: background 0.15s var(--sw-ease), color 0.15s, border-color 0.15s;
}

.mkt-btn--primary {
  background: var(--sw-yellow);
  border-color: var(--sw-yellow);
  color: var(--sw-on-yellow);
}
.mkt-btn--primary:hover {
  background: var(--sw-neon);
  border-color: var(--sw-neon);
  color: var(--sw-on-yellow);
}

.mkt-btn--ghost {
  background: transparent;
  border-color: var(--sw-border-strong);
  color: var(--sw-text);
}
.mkt-btn--ghost:hover {
  border-color: var(--sw-yellow);
  color: var(--sw-yellow);
}

.mkt-section { margin-bottom: 2.75rem; }

.mkt-section h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--sw-yellow);
  margin-bottom: 0.35rem;
}

.mkt-section-desc {
  color: var(--sw-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  max-width: 640px;
}

/* Paper stats band (First Ground credibility band) */
.mkt-stats {
  background: var(--sw-paper);
  color: var(--sw-ink);
  margin: 0 calc(50% - 50vw) 2.75rem;
  width: 100vw;
  padding: 1.75rem 1.25rem;
}

.mkt-stats-inner {
  max-width: var(--sw-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.mkt-stat-value {
  font-family: var(--sw-font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--sw-ink);
}

.mkt-stat-label {
  font-family: var(--sw-font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5a6068;
  margin-top: 0.25rem;
}

.mkt-moat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

.mkt-moat-card {
  background: var(--sw-surface);
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-md);
  padding: 1.25rem;
  transition: border-color 0.15s var(--sw-ease);
}
.mkt-moat-card:hover { border-color: var(--sw-accent-border); }

.mkt-moat-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.mkt-moat-card h3 a { color: var(--sw-yellow); }
.mkt-moat-card h3 a:hover { color: var(--sw-neon); }

.mkt-moat-card p {
  font-size: 0.85rem;
  color: var(--sw-text-muted);
  line-height: 1.55;
}

.mkt-products-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.mkt-products-table th,
.mkt-products-table td {
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--sw-border);
}
.mkt-products-table th {
  font-family: var(--sw-font-mono);
  color: var(--sw-text-muted);
  font-weight: 500;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mkt-products-table td.mono,
.mkt-products-table .mono {
  font-family: var(--sw-font-mono);
  font-size: 0.8rem;
}

.mkt-diagram {
  background: var(--sw-surface);
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-md);
  padding: 0;
  margin: 1rem 0;
  overflow: hidden;
}
.mkt-diagram img {
  display: block;
  width: 100%;
  height: auto;
}
.mkt-diagram figcaption {
  font-size: 0.7rem;
  color: var(--sw-text-muted);
  padding: 0.65rem 1rem;
  font-family: var(--sw-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mkt-outlook-form {
  background: var(--sw-surface);
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-md);
  padding: 1.25rem;
  max-width: 420px;
}
.mkt-outlook-form label {
  display: block;
  font-family: var(--sw-font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sw-text-muted);
  margin-bottom: 0.35rem;
}
.mkt-outlook-form input,
.mkt-outlook-form select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  background: var(--sw-void);
  border: 1px solid var(--sw-border-strong);
  border-radius: var(--sw-radius-sm);
  color: var(--sw-text);
  font-family: var(--sw-font-sans);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.mkt-outlook-form input:focus,
.mkt-outlook-form select:focus {
  outline: 1px solid var(--sw-yellow);
  outline-offset: 1px;
}

.mkt-callout {
  background: var(--sw-surface);
  border-left: 3px solid var(--sw-yellow);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--sw-text-muted);
  line-height: 1.6;
}
.mkt-callout strong { color: var(--sw-text); font-weight: 500; }

.mkt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.mkt-visual-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 0 0 0.5rem;
}

.mkt-visual-block {
  background: var(--sw-surface);
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-md);
  overflow: hidden;
}

.mkt-visual-block img {
  display: block;
  width: 100%;
  height: auto;
}

.mkt-visual-block figcaption {
  font-size: 0.65rem;
  color: var(--sw-text-muted);
  padding: 0.55rem 0.85rem;
  font-family: var(--sw-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-top: 1px solid var(--sw-border);
}

@media (max-width: 900px) {
  .mkt-stats-inner { grid-template-columns: 1fr 1fr; }
  .mkt-split { grid-template-columns: 1fr; }
  .mkt-hero-bleed { min-height: 70vh; }
}

@media (max-width: 520px) {
  .mkt-stats-inner { grid-template-columns: 1fr; }
}
