/* =========================================================================
   The Trusted Media Alliance — "The Coalition"
   Woven tri-color system on a single dark ground: TrustX cyan, madSense
   magenta, Shigotech teal. Adapted from brand-explorations/option-c.html.
   ========================================================================= */

:root {
  /* ---- Palette ---- */
  --bg: #0b0e13;
  --bg-1: #10141b;
  --bg-2: #151a22;
  --bg-3: #1b212b;
  --field-bg: #0b0e13;

  --line: rgba(243, 245, 247, 0.1);
  --line-strong: rgba(243, 245, 247, 0.18);

  --text: #f3f5f7;
  --text-dim: #99a2ac;
  --text-faint: #5d6570;

  --cyan: #22d3e8;    /* TrustX */
  --magenta: #ef3c8e; /* madSense */
  --teal: #2be6a6;    /* Shigotech */
  --ink: #06090c;

  --cyan-tint: rgba(34, 211, 232, 0.1);
  --teal-tint: rgba(43, 230, 166, 0.1);

  --grad: linear-gradient(95deg, var(--cyan), var(--teal) 55%, var(--magenta));
  /* headline-only gradient: routes cyan->magenta through periwinkle instead of
     teal->magenta (which desaturates to gray mid-word on bold display text) */
  --grad-text: linear-gradient(92deg, var(--cyan), #8b8dff 48%, var(--magenta));

  --err: #ff6b6b;
  --err-tint: rgba(255, 107, 107, 0.1);
  --ok: var(--teal);
  --ok-tint: var(--teal-tint);

  /* ---- Type ---- */
  --f-display: "Bricolage Grotesque", sans-serif;
  --f-body: "Plus Jakarta Sans", sans-serif;
  --f-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ---- Rhythm ---- */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-pad: clamp(4rem, 9vw, 7.5rem);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================================
   Reset
   ========================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background:
    radial-gradient(620px 460px at 14% 8%, rgba(34, 211, 232, 0.14), transparent 62%),
    radial-gradient(560px 480px at 82% -4%, rgba(239, 60, 142, 0.12), transparent 60%),
    radial-gradient(680px 520px at 55% 38%, rgba(43, 230, 166, 0.09), transparent 65%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text-dim);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* faint grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 800;
  margin: 0;
  color: var(--text);
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Focus visibility — accessible everywhere */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  z-index: 9999;
  background: var(--cyan);
  color: var(--ink);
  padding: 0.9rem 1.4rem;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
}
.skip-link:focus {
  left: var(--gutter);
  top: var(--gutter);
}

/* =========================================================================
   Layout helpers
   ========================================================================= */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 1;
}

.hairline {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}

.eyebrow .dot {
  color: var(--cyan);
  font-size: 0.6em;
  text-shadow: 0 0 0 3px rgba(34, 211, 232, 0.15), 0 0 10px rgba(34, 211, 232, 0.6);
}

.section-number {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--cyan);
  letter-spacing: 0.06em;
}

.section-head {
  display: grid;
  gap: 0.9rem;
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.section-kicker {
  font-family: var(--f-mono);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.lede {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  color: var(--text-dim);
  max-width: 42rem;
  line-height: 1.55;
}

/* buttons — restrained solid by default; the hero primary CTA opts into
   the tri-color gradient via .btn-hero so it stays a single showcase
   moment rather than a site-wide pattern. */
.btn {
  --btn-bg: var(--cyan);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.9em 1.6em;
  border: none;
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: filter 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

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

.btn:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

.btn-hero {
  --btn-bg: var(--grad);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px -14px rgba(34, 211, 232, 0.35);
}

.btn-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg) translateX(0%);
  opacity: 0;
  pointer-events: none;
}

.btn-hero:hover::after {
  opacity: 1;
  animation: sheen-sweep 0.9s ease forwards;
}

@keyframes sheen-sweep {
  from { transform: skewX(-20deg) translateX(0%); }
  to { transform: skewX(-20deg) translateX(340%); }
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  box-shadow: none;
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  background: var(--cyan-tint);
  filter: none;
  transform: none;
}

.btn-small {
  padding: 0.68em 1.2em;
  font-size: 0.82rem;
}

.btn-link {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.2em;
  transition: border-color 0.2s var(--ease), gap 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-link:hover {
  border-color: var(--cyan);
  gap: 0.75em;
  color: var(--text);
}

/* checkmark bullets */
.check-list {
  display: grid;
  gap: 0.9rem;
}

.check-list li {
  position: relative;
  padding-left: 1.85em;
  line-height: 1.5;
  color: var(--text-dim);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--f-mono);
  color: var(--teal);
  font-weight: 700;
  line-height: 1.5;
}

/* =========================================================================
   Reveal on scroll
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.22s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .reveal-stagger > *,
  .hero-eyebrow,
  .hero-title span,
  .hero-lede,
  .hero-ctas,
  .signatories,
  .hero-mark-svg,
  .seal .petal,
  .hero::before {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .btn-hero::after {
    display: none !important;
  }

  .company-card,
  .company-card::before {
    transition: none !important;
  }

  .company-card:hover {
    transform: none !important;
  }

  .btn:hover,
  .btn:active {
    transform: none !important;
  }
}

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 19, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.wordmark-seal {
  width: 34px;
  height: 34px;
  flex: none;
}

.wordmark-text {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  line-height: 1.2;
  color: var(--text);
}

.wordmark-text small {
  display: block;
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 0.6rem;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.3em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2rem);
}

.main-nav a:not(.btn) {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
  color: var(--text-dim);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.main-nav a:not(.btn):hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 1.8rem);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  position: relative;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}

/* slow-drifting tri-color ambient glow, contained to the hero */
.hero::before {
  content: "";
  position: absolute;
  inset: -15% -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(480px 380px at 18% 22%, rgba(34, 211, 232, 0.16), transparent 60%),
    radial-gradient(420px 360px at 82% 8%, rgba(239, 60, 142, 0.14), transparent 58%),
    radial-gradient(520px 420px at 55% 78%, rgba(43, 230, 166, 0.1), transparent 62%);
  animation: mesh-drift 28s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes mesh-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2.5%, 2%, 0) scale(1.05); }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.hero-eyebrow {
  margin-bottom: 1.7rem;
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.8s var(--ease) 0.05s forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 6.6vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.015em;
  font-weight: 800;
  max-width: 22ch;
}

/* LCP-safe entrance: transform-only, never opacity:0 on the h1 (W3C LCP
   excludes invisible elements, which would push the measured LCP back) */
.hero-title span {
  display: inline-block;
  transform: translateY(28px);
  animation: rise-transform 0.9s var(--ease) forwards;
}

.hero-title .l1 { animation-delay: 0.16s; color: var(--text); }
.hero-title .l2 {
  animation-delay: 0.28s;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .l3 {
  animation-delay: 0.4s;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-transform {
  to {
    transform: translateY(0);
  }
}

.hero-lede {
  margin-top: 1.9rem;
  max-width: 44rem;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-dim);
  transform: translateY(16px);
  animation: rise-transform 0.8s var(--ease) 0.55s forwards;
}

.hero-lede strong {
  color: var(--text);
  font-weight: 700;
}

.hero-ctas {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem;
  transform: translateY(16px);
  animation: rise-transform 0.8s var(--ease) 0.68s forwards;
}

/* decorative woven mark */
.hero-seal-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  opacity: 0;
  transform: scale(0.9);
  animation: seal-in 1s var(--ease) 0.3s forwards;
}

@keyframes seal-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.seal {
  width: clamp(96px, 11vw, 160px);
  height: clamp(96px, 11vw, 160px);
  filter: drop-shadow(0 20px 44px rgba(34, 211, 232, 0.16)) drop-shadow(0 10px 30px rgba(239, 60, 142, 0.12));
}

.seal.spin-slow {
  animation: spin 70s linear infinite;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .seal.spin-slow { animation: none; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* each petal gets its own fill-box origin so the entrance/breathe
   animations don't clobber the SVG rotate() attribute on its parent <g> */
.seal .petal {
  transform-box: fill-box;
  transform-origin: center;
}

.seal .petal-a {
  animation: petal-enter 0.7s var(--ease) 0.35s both, petal-breathe 7s ease-in-out infinite 1.05s;
}
.seal .petal-b {
  animation: petal-enter 0.7s var(--ease) 0.48s both, petal-breathe 7s ease-in-out infinite 2.15s;
}
.seal .petal-c {
  animation: petal-enter 0.7s var(--ease) 0.61s both, petal-breathe 7s ease-in-out infinite 3.25s;
}

@keyframes petal-enter {
  from { opacity: 0; transform: scale(0.35); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes petal-breathe {
  0%, 100% { opacity: 0.82; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1.06); }
}

/* signatories / member strip */
.signatories {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signatory {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  padding: 1.9rem 2rem 0.2rem 1.6rem;
  border-left: 3px solid var(--dot, var(--cyan));
  position: relative;
  text-decoration: none;
  transition: background 0.25s var(--ease);
}

.signatory:hover {
  background: linear-gradient(180deg, rgba(243, 245, 247, 0.035), transparent);
}

.signatory:hover .sig-name::after {
  content: " ↓";
  color: var(--dot, var(--cyan));
}

.signatory::after {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.signatory:first-child {
  padding-left: 1.3rem;
}

.signatory .sig-pillar {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dot, var(--cyan));
  order: 1;
}

.signatory .sig-name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  letter-spacing: -0.01em;
  color: var(--text);
  order: 0;
}

.sig-trustx { --dot: var(--cyan); }
.sig-madsense { --dot: var(--magenta); }
.sig-shigotech { --dot: var(--teal); }

/* =========================================================================
   Manifesto / problem section
   ========================================================================= */
.manifesto {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  border-top: 1px solid var(--line);
  background: var(--bg-1);
}

/* oversized ghost numerals give each section an architectural landmark */
.section-head {
  position: relative;
}

.section-head::after {
  content: attr(data-num);
  position: absolute;
  top: -2.5rem;
  right: -7rem;
  font-family: var(--f-display);
  font-size: clamp(6rem, 13vw, 10.5rem);
  font-weight: 800;
  color: var(--text);
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  display: none;
}

@media (min-width: 1120px) {
  .section-head::after { display: block; }
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2.5rem;
}

.problem-card {
  background: var(--bg-2);
  padding: 1.9rem 1.6rem 2.2rem;
  display: grid;
  gap: 0.85rem;
  align-content: start;
  transition: background 0.3s var(--ease);
  border-top: 2px solid var(--accent-c, var(--line-strong));
}

/* seed the tri-color system before section 02 introduces it formally */
.problem-card:nth-child(1) { --accent-c: var(--cyan); }
.problem-card:nth-child(2) { --accent-c: var(--magenta); }
.problem-card:nth-child(3) { --accent-c: var(--teal); }
.problem-card:nth-child(4) { --accent-c: var(--cyan); }

.problem-card:hover {
  background: var(--bg-3);
}

.problem-card .num {
  font-family: var(--f-mono);
  font-weight: 700;
  color: var(--cyan);
  font-size: 0.78rem;
}

.problem-card h3 {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.3;
  color: var(--text);
}

.problem-card p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.5;
}

.alliance-answer {
  margin-top: 3.2rem;
  padding-top: 2.6rem;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.9rem 1.4rem;
}

.alliance-answer .aa-label {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.alliance-answer .aa-terms {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
  color: var(--text);
}

/* =========================================================================
   Companies section
   ========================================================================= */
.companies {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  border-top: 1px solid var(--line);
  background: var(--bg-1);
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2vw, 1.8rem);
}

.company-card {
  --accent-c: var(--cyan);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.7rem, 2.4vw, 2.3rem) clamp(1.5rem, 2vw, 2rem) 2rem;
  /* flex column so the CTA pins to the bottom and all three align, whatever
     the copy length — grid+align-content:start let content overflow the
     clipped box and swallowed a CTA. */
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

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

.company-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-c);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.company-card:hover {
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6), 0 0 34px -6px var(--accent-glow, rgba(34, 211, 232, 0.3));
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.company-card:hover::before {
  transform: scaleX(1);
  box-shadow: 0 0 14px 1px var(--accent-c);
}

.company-trustx { --accent-c: var(--cyan); --accent-glow: rgba(34, 211, 232, 0.35); }
.company-madsense { --accent-c: var(--magenta); --accent-glow: rgba(239, 60, 142, 0.35); }
.company-shigotech { --accent-c: var(--teal); --accent-glow: rgba(43, 230, 166, 0.35); }

.company-head {
  display: grid;
  gap: 0.5rem;
}

.company-logo-box {
  height: 34px;
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.company-logo {
  max-height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* one metadata line instead of pillar + duplicated name + sub stacked */
.company-meta {
  display: flex;
  align-items: center;
  gap: 0.6em;
  flex-wrap: wrap;
}

.company-meta .company-sub::before {
  content: "·";
  margin-right: 0.6em;
  color: var(--text-faint);
}


.company-logo-wordmark {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.2em;
  color: #fff;
  display: inline-flex;
  align-items: baseline;
  gap: 0.22em;
}

/* shared, attributed credibility strip — keeps one company's proof from
   making its card taller than its peers */
.proof-strip {
  margin-top: clamp(1.6rem, 2.6vw, 2.4rem);
  padding: 1.3rem clamp(1.3rem, 2vw, 1.8rem);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--bg-2);
  display: grid;
  gap: 0.55rem;
}

.proof-strip-label {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.proof-strip-body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 68ch;
}

.proof-strip-body strong {
  color: var(--text);
  font-weight: 700;
}

.proof-src {
  color: var(--text-faint);
}

/* keep each card single-hue: bullets inherit the card accent */
.company-card .check-list li::before {
  color: var(--accent-c);
}


.company-logo-wordmark i {
  font-style: normal;
  color: var(--shigo);
  font-weight: 800;
}

.company-pillar {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-c);
}

.company-name {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 1.9vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.company-sub {
  font-family: var(--f-mono);
  font-size: 0.76rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.company-quote {
  position: relative;
  padding-left: 1.1rem;
  border-left: 2px solid var(--accent-c);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  line-height: 1.36;
  color: var(--text);
}

.company-quote .qm {
  font-family: var(--f-display);
  color: var(--accent-c);
  opacity: 0.65;
  font-size: 2.2rem;
  line-height: 0;
  position: relative;
  top: 0.55rem;
  margin-right: 0.1rem;
}

.company-pillar-headline {
  margin-top: auto; /* absorbs slack so tagline + CTA align across all cards */
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-dim);
}

.company-card .btn {
  justify-self: start;
  margin-top: 0.3rem;
}

.company-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.4rem;
}

.company-actions .btn {
  margin-top: 0;
}

.company-site {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.company-site:hover,
.company-site:focus-visible {
  color: var(--text);
  border-color: var(--text-dim);
}

.req {
  color: var(--cyan);
  font-weight: 700;
}

.cf-turnstile {
  margin: 0.4rem 0 0.2rem;
  min-height: 65px;
}

/* =========================================================================
   Value proposition
   ========================================================================= */
.value {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  border-top: 1px solid var(--line);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2.5rem;
}

.value-card {
  background: var(--bg-2);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: grid;
  gap: 1.4rem;
  align-content: start;
}

.value-audience {
  font-family: var(--f-mono);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.value-headline {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--text);
  line-height: 1.18;
}

/* =========================================================================
   DMEXCO
   ========================================================================= */
.dmexco {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 900px 520px at 92% 0%, rgba(43, 230, 166, 0.18), transparent 55%),
    radial-gradient(ellipse 620px 420px at 4% 100%, rgba(34, 211, 232, 0.1), transparent 60%),
    var(--bg-1);
  position: relative;
  overflow: hidden;
}

/* the climax section gets the display face at scale */
.dmexco .section-head h2 {
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
}

/* recurring signature: oversized single-color petal bleeding off the edge */
.dmexco-watermark {
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 520px;
  height: 520px;
  opacity: 0.045;
  pointer-events: none;
}

.dmexco .section-number {
  color: var(--teal);
}

.dmexco-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.dmexco-facts {
  display: grid;
  gap: 1.1rem;
}

.dmexco-fact {
  display: grid;
  grid-template-columns: 7.4rem 1fr;
  gap: 1rem;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.dmexco-fact dt {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.dmexco-fact dd {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--text);
}

.dmexco-booth {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 2.6vw, 2.4rem);
  display: grid;
  gap: 1.4rem;
  justify-items: start;
}

.dmexco-booth .badge {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  border: 1px solid rgba(43, 230, 166, 0.4);
  background: var(--teal-tint);
  padding: 0.35em 0.8em;
  border-radius: 999px;
}

.dmexco-booth p {
  color: var(--text-dim);
  line-height: 1.55;
}

/* =========================================================================
   Contact
   ========================================================================= */
.contact {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  border-top: 1px solid var(--line);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.contact-meta {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.contact-meta a {
  font-family: var(--f-mono);
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--cyan);
  border-bottom: 1px solid var(--cyan-tint);
}

.contact-meta a:hover {
  border-color: var(--cyan);
}

.contact-meta .meta-label {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  display: block;
  margin-bottom: 0.2rem;
}

/* form */
.lead-form-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  position: relative;
}

.form-routing {
  display: none;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  font-family: var(--f-mono);
  font-size: 0.76rem;
}

.form-routing.is-active {
  display: inline-flex;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--cyan-tint);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 232, 0.35);
  padding: 0.4em 0.75em 0.4em 0.9em;
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0;
}

.chip button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font-family: var(--f-mono);
  font-size: 1em;
  line-height: 1;
  padding: 0;
  opacity: 0.75;
}

.chip button:hover {
  opacity: 1;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.field label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.field input,
.field select,
.field textarea {
  background: var(--field-bg);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 0.8em 0.9em;
  font-family: var(--f-body);
  font-size: 0.98rem;
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field select {
  color-scheme: dark;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-faint);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--text-faint);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-tint);
}

.field textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.field-error {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--err);
  min-height: 1em;
}

/* honeypot — visually hidden, still in tab flow-safe area removed */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

.form-privacy {
  font-size: 0.78rem;
  color: var(--text-faint);
  max-width: 22rem;
}

.form-status {
  margin-top: 1.3rem;
  padding: 1.1rem 1.3rem;
  border-radius: 2px;
  font-size: 0.94rem;
  line-height: 1.5;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: var(--ok-tint);
  border: 1px solid rgba(43, 230, 166, 0.35);
  color: var(--ok);
}

.form-status.error {
  background: var(--err-tint);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: var(--err);
}

.form-status a {
  color: inherit;
  text-decoration: underline;
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  padding-top: clamp(2.4rem, 4vw, 3.2rem);
  padding-bottom: clamp(2.4rem, 4vw, 3.2rem);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-seal {
  width: 30px;
  height: 30px;
  flex: none;
}

.footer-lines {
  display: grid;
  gap: 0.3rem;
  font-family: var(--f-mono);
  font-size: 0.76rem;
  color: var(--text-dim);
}

.footer-lines a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-lines a:hover {
  border-color: var(--cyan);
}

.footer-links {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-seal-wrap {
    justify-content: flex-start;
    order: -1;
  }
  .seal {
    width: 72px;
    height: 72px;
  }
  .signatories {
    grid-template-columns: 1fr;
  }
  .signatory {
    border-left: 3px solid var(--dot, var(--cyan));
    padding-left: 1.3rem;
    border-top: none;
  }
  .signatory::after {
    display: none;
  }
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .company-grid {
    grid-template-columns: 1fr;
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
  .dmexco-inner {
    grid-template-columns: 1fr;
  }
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .main-nav .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    top: 66px;
    background: var(--bg-1);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem var(--gutter) 2rem;
    gap: 1.1rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .main-nav.is-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  /* dim the page + block interaction behind the open menu */
  .main-nav::before {
    content: "";
    position: fixed;
    inset: 0;
    top: 66px;
    background: rgba(4, 6, 9, 0.7);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease);
    z-index: -1;
  }
  .main-nav.is-open::before {
    opacity: 1;
    pointer-events: auto;
  }
  body.nav-open {
    overflow: hidden;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links .btn {
    margin-top: 0.4rem;
  }
}

@media (max-width: 640px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .dmexco-fact {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
