/* =====================================================================
   VARIANT 01 — SWISS / International Typographic
   Stark white, black, one red. Strict grid, hairlines, B&W portrait,
   precise fast motion. Müller-Brockmann meets modern light product.
   ===================================================================== */
@import url("base.css");

:root {
  --bg: #FFFFFF; --bg-2: #F4F4F4;
  --surface: #FFFFFF; --surface-2: #FAFAF8;
  --ink: #0A0A0A; --dim: #555149; --faint: #8C887F;
  --line: #E4E2DC; --line-strong: #0A0A0A;
  --accent: #E5341B; --accent-2: #E5341B; --accent-ink: #FFFFFF;

  --sans: "Inter", system-ui, sans-serif;
  --mono: "Inter", system-ui, sans-serif;
  --display: "Inter", system-ui, sans-serif;
  --label-font: "Inter", system-ui, sans-serif;
  --label-transform: uppercase; --label-spacing: 0.14em;
  --hero-weight: 800; --hero-tracking: -0.04em;
  --title-weight: 700; --title-tracking: -0.03em;

  --radius-card: 0px; --radius-pill: 0px;
  --card-bg: #FFFFFF; --card-border: 1px solid var(--line);
  --card-bg-hover: #FFFFFF; --card-border-hover: 1px solid var(--ink);
  --card-shadow: none; --card-shadow-hover: none; --card-lift: 0px;

  --grain-opacity: 0; --portrait-radius: 0px; --portrait-border: 1px solid var(--ink);
  --portrait-filter: grayscale(1) contrast(1.06); --portrait-scrim: 0;
  --logo-opacity: 1; --logo-filter: grayscale(1) brightness(0) opacity(0.7);
  --metric-fill: var(--ink); --mail-fill: var(--ink);

  --reveal-y: 18px; --reveal-blur: 2px; --reveal-dur: 0.55s;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --head-bg: linear-gradient(to bottom, rgba(255,255,255,0.92), rgba(255,255,255,0));
}

.glow { display: none; }
.k { font-weight: 600; }
.brand-dim { font-family: var(--sans); }
.step-counter { color: var(--ink); }
.mode { border-color: var(--ink); }
.mode-btn.is-on { background: var(--accent); color: #fff; }
.head-progress { background: var(--line); }
.head-fill { background: var(--accent); box-shadow: none; }

.rail-list li.active::before { box-shadow: 0 0 0 3px rgba(229,52,27,0.18); }
.beat-no, .when { color: var(--accent); }

/* strict grid feel: heavy rules, big numerals */
.step-title { text-transform: none; }
.module:hover { transform: none; }
.m b { font-weight: 800; }

/* red underline on links/buttons instead of soft pills */
.pill { border: 1px solid var(--ink); background: #fff; color: var(--ink); }
.pill::before { display: none; }
.pill:hover { background: var(--ink); color: #fff; transform: none; box-shadow: none; }
.pill.small:hover { background: var(--accent); border-color: var(--accent); }
.continue:hover { color: var(--accent); }
.big-mail { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; text-decoration-color: var(--accent); }
.pull { border-left-width: 3px; }
.portrait-tag { background: var(--accent); border: 0; border-radius: 0; }
.portrait-tag::first-letter { color: #fff; }

/* bigger client logos — viewBoxes are content-cropped, so a single height
   renders them all at the same optical size */
.logo-row { gap: clamp(28px, 4.5vw, 60px); align-items: center; }
.logo-row img { height: 32px; width: auto; }

/* case-study link (Clay-style) */
.eng-body { align-self: start; }
.case-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 3px; transition: gap .3s var(--ease), color .25s; }
.case-link:hover { color: var(--accent); gap: 13px; }

/* engagement group labels (step 04) */
.eng-group { display: block; margin: clamp(34px, 5.5vh, 60px) 0 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.eng-group:first-of-type { margin-top: clamp(8px, 1.5vh, 16px); }

/* Paxel callout — "see how I work, live" */
.paxel-link { display: block; margin-top: clamp(32px, 5vh, 56px); border-top: 1px solid var(--ink); padding-top: 24px; max-width: 64ch; transition: padding-left .3s var(--ease); }
.paxel-link:hover { padding-left: 10px; }
.paxel-eyebrow { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 12px; }
.paxel-copy { display: block; font-size: clamp(16px, 1.9vw, 20px); font-weight: 500; color: var(--ink); line-height: 1.45; }
.paxel-copy .arr { color: var(--accent); display: inline-block; transition: transform .3s var(--ease); }
.paxel-link:hover .paxel-copy .arr { transform: translate(3px, -3px); }

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

/* ============ clients / products marquee (step 01) ============ */
.skills { margin-top: clamp(30px, 5vh, 56px); border-top: 1px solid var(--ink); padding-top: 26px; }
.skills .k { display: block; text-align: center; margin-bottom: 22px; color: var(--faint); }
.skills .row-2 { margin-top: clamp(30px, 4.5vh, 48px); }

.marquee { white-space: nowrap; overflow: hidden; }
.marquee .track { display: inline-flex; align-items: center; animation: scroll var(--dur, 38s) linear infinite; }
.marquee:hover .track { animation-play-state: paused; }

.marquee.logos img { height: 34px; width: auto; margin: 0 clamp(26px, 3.4vw, 48px);
  filter: var(--logo-filter); opacity: var(--logo-opacity); }

.marquee.products .track { animation-direction: reverse; }
.marquee.products .prod {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 clamp(20px, 2.6vw, 34px);
  font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.marquee.products .prod img { height: 26px; margin: 0; filter: none; opacity: 1; }
a.prod:hover { color: var(--accent); border-bottom-color: var(--accent); }

@keyframes scroll { to { transform: translateX(-50%); } }

/* AlphaForge credential (step 01) */
.credential { display: flex; align-items: flex-start; gap: clamp(18px, 2.6vw, 34px);
  margin-top: clamp(26px, 4vh, 42px); border-top: 1px solid var(--ink); padding-top: 22px; }
.cred-logo { height: 80px; width: auto; flex: none; }
.cred-label { font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--accent); white-space: nowrap; margin-right: 10px; }
.cred-copy { font-size: clamp(14px, 1.6vw, 16px); color: var(--dim); line-height: 1.5; }
.cred-copy b { color: var(--ink); font-weight: 700; }
.cred-tag { margin-top: 8px; font-size: clamp(13px, 1.5vw, 15px); color: var(--faint);
  line-height: 1.55; max-width: 66ch; font-style: italic; }
.cred-cases { display: flex; gap: clamp(18px, 3vw, 36px); flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 640px) {
  .credential { flex-direction: column; }
  .cred-logo { height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee .track { animation: none; }
}
