/* ============================================================
   HirePunk Landing v3 — core styles
   tokens, base, type, buttons, header, hero sky, clouds,
   bands, balloons, manifesto, reveal primitives
   ============================================================ */

@font-face {
  font-family: "Druk Wide";
  src: url("fonts/DrukWide-Bold.otf") format("opentype");
  font-weight: 700 900; font-style: normal; font-display: block;
}
@font-face {
  font-family: "Druk Wide";
  src: url("fonts/DrukWide-SuperItalic.otf") format("opentype");
  font-weight: 700 900; font-style: italic; font-display: block;
}
@font-face {
  font-family: "Druk Cond";
  src: url("fonts/DrukXCond-Super.otf") format("opentype");
  font-weight: 900; font-style: normal; font-display: block;
}

:root {
  --ink: #0F1320;
  --ink-2: #1A1F30;
  --ink-3: #262C40;
  --frost: #F3F7FB;
  --paper: #FFFFFF;
  --mist: #EEF2F8;
  --line: #E1E6EE;
  --line-dk: #262C40;
  --line-dk-2: #1F2438;
  --ash: #8B95A9;
  --ash-2: #6B7280;
  --ash-3: #ACAAAD;
  --acid: #CEFC00;
  --acid-2: #C1ED00;
  --acid-ink: #1F2900;
  --danger: #FF7351;

  --r-pill: 999px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wide: "Druk Wide", "Arial Black", sans-serif;
  --cond: "Druk Cond", "Arial Black", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
em, i { font-style: normal; }
body {
  background: var(--frost); color: var(--ink);
  font-family: var(--mono); font-size: 14px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.page { width: 100%; margin: 0 auto; background: var(--frost); position: relative; }
::selection { background: var(--acid); color: var(--ink); }

/* ---------- TYPE ---------- */
.display { font-family: var(--wide); font-weight: 700; letter-spacing: -0.01em; line-height: 1.05; text-transform: uppercase; margin: 0; }
.display-hero { font-size: clamp(40px, 5.8vw, 84px); line-height: 1.0; }
.display-xl  { font-size: clamp(36px, 5.4vw, 76px); line-height: 1.02; }
.display-lg  { font-size: clamp(30px, 3.9vw, 56px); }
.display-md  { font-size: 38px; }
.display-sm  { font-size: 25px; }
.display-xs  { font-size: 17px; }
.display .acc { color: var(--ink); background: var(--acid); padding: 0 12px; display: inline-block; line-height: 1.02; }
.display .stk { -webkit-text-stroke: 2px var(--ink); color: transparent; }
.dk .display .stk { -webkit-text-stroke: 2px var(--frost); color: transparent; }
.display .lime { color: var(--acid); }

.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ash-2);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow .dot { width: 7px; height: 7px; background: var(--acid); border-radius: 50%; flex: none; }
.eyebrow .idx { color: var(--ink); background: var(--acid); padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.dk .eyebrow { color: var(--ash); }

.lead { font-size: 16px; line-height: 1.7; color: var(--ash-2); }
.lead strong { color: var(--ink); font-weight: 600; }
.dk .lead { color: var(--ash-3); }
.dk .lead strong { color: var(--frost); }

/* ---------- BUTTONS ---------- */
.btn {
  font-family: var(--mono); font-weight: 600; font-size: 13px;
  padding: 15px 24px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  line-height: 1; letter-spacing: 0.02em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-acid { background: var(--acid); color: var(--ink); box-shadow: 0 1px 0 rgba(15,19,32,0.2), 0 10px 28px rgba(206,252,0,0.22); }
.btn-acid:hover { background: var(--acid-2); }
.btn-ink { background: var(--ink); color: var(--frost); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost-light { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost-light:hover { background: var(--ink); color: var(--frost); }
.btn-ghost-dark { background: transparent; color: var(--frost); border-color: rgba(243,247,251,0.28); }
.btn-ghost-dark:hover { background: var(--frost); color: var(--ink); border-color: var(--frost); }
.btn-sm { padding: 10px 16px; font-size: 11px; }
.btn-lg { padding: 19px 30px; font-size: 14px; }
.btn .arr { display: inline-flex; transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- CHIPS ---------- */
.chip {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  padding: 8px 14px; border-radius: var(--r-pill); text-transform: uppercase;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px; line-height: 1.4;
}
.chip.acid { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.chip.dk { background: var(--ink-2); border-color: var(--line-dk); color: var(--frost); }

/* ---------- HEADER ---------- */
.header-stack { position: sticky; top: 0; z-index: 100; }
.header {
  position: relative; z-index: 99;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px 48px;
  background: rgba(243,247,251,0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--wide); font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
  text-decoration: none; color: var(--ink); text-transform: uppercase;
}
.logo .mark {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 7px; background: var(--ink); color: var(--acid);
  font-family: var(--wide); font-weight: 700; font-size: 14px;
}
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ash-2); text-decoration: none; letter-spacing: 0.05em; text-transform: uppercase; transition: color .15s ease; }
.nav a:hover { color: var(--ink); }
.nav a.nav-hot {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  padding: 8px 14px; border-radius: var(--r-pill);
  box-shadow: 0 2px 10px rgba(15,19,32,0.06);
  transition: border-color .15s ease, background .15s ease;
}
.nav a.nav-hot .fl { font-size: 13px; line-height: 1; }
.nav a.nav-hot:hover { border-color: var(--ink); color: var(--ink); }
.nav a.nav-hot.is-here { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.header-cta { display: flex; gap: 10px; align-items: center; }

/* ---------- CLOUDS ---------- */
.cloud {
  position: absolute; display: block; pointer-events: none;
  width: var(--w, 200px); z-index: 1;
  will-change: transform;
}
.cloud > i {
  display: block; width: 100%;
  animation: cloud-bob var(--bob, 7s) ease-in-out infinite alternate;
  animation-delay: var(--bd, 0s);
}
.cloud > i svg { display: block; width: 100%; height: auto; overflow: visible; }
.cloud.front { z-index: 7; }
.cloud.soft > i svg { filter: drop-shadow(0 24px 32px rgba(15,19,32,0.10)); }
@keyframes cloud-bob {
  from { transform: translateY(-7px) translateX(0); }
  to   { transform: translateY(9px) translateX(6px); }
}

/* ---------- CLOUD HORIZON BANDS ---------- */
.band { position: relative; z-index: 9; height: 0; pointer-events: none; }
.band .cloudband { position: absolute; left: 0; right: 0; bottom: -2px; }
.band .cloudband svg { display: block; width: 100%; height: auto; }

/* ---------- BALLOON / SUN ---------- */
.balloon { display: block; pointer-events: none; }
.balloon svg { display: block; width: 100%; height: auto; overflow: visible; }
.sun { position: absolute; pointer-events: none; z-index: 1; width: var(--w, 110px); }
.sun svg { display: block; width: 100%; height: auto; overflow: visible; }
.sun .ring { transform-origin: 50% 50%; animation: sun-spin 44s linear infinite; }
@keyframes sun-spin { to { transform: rotate(360deg); } }

/* ---------- HERO ---------- */
.hero {
  padding: 84px 48px 300px; position: relative; overflow: hidden;
  background:
    radial-gradient(760px 360px at 16% -6%, rgba(206,252,0,0.15), transparent 66%),
    radial-gradient(980px 460px at 86% 0%, rgba(139,149,169,0.16), transparent 70%),
    linear-gradient(180deg, var(--frost) 62%, #E9EFF7 100%);
}
.hero-inner { position: relative; z-index: 5; max-width: 1060px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
/* audience toggle (For Companies / For Recruiters) */
.aud-toggle {
  position: relative; display: inline-flex; padding: 5px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill);
  box-shadow: 0 2px 12px rgba(15,19,32,0.06);
}
.aud-btn {
  position: relative; z-index: 2; font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ash-2);
  padding: 10px 20px; border: 0; background: transparent; cursor: pointer; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; line-height: 1;
  transition: color .2s ease;
}
.aud-btn .ic { font-size: 11px; opacity: 0.65; }
.aud-btn:hover { color: var(--ink); }
.aud-btn.is-on { color: var(--ink); }
.aud-btn.is-on .ic { opacity: 1; }
.aud-btn .soon {
  font-size: 8.5px; letter-spacing: 0.1em; padding: 3px 7px; border-radius: 999px;
  background: var(--mist); color: var(--ash-2); font-weight: 700;
}
.aud-btn.wobble { animation: aud-wobble .42s ease; }
@keyframes aud-wobble { 0%,100% { transform: none; } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.aud-thumb {
  position: absolute; z-index: 1; top: 5px; left: 0; height: calc(100% - 10px);
  background: var(--acid); border-radius: var(--r-pill); width: 0;
  box-shadow: 0 2px 10px rgba(206,252,0,0.4);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), width .3s cubic-bezier(.2,.7,.2,1);
}
.hero h1 { margin: 30px 0 0; }
.hero .sub {
  margin: 26px auto 0; max-width: 620px;
  font-size: 16px; line-height: 1.7; color: var(--ash-2);
}
.hero .sub strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* three "no" pains — struck through on reveal */
.no-chips { display: flex; gap: 10px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.no-chip {
  position: relative; font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 10px 18px; display: inline-flex; align-items: center; gap: 9px;
}
.no-chip .x { color: var(--danger); font-weight: 700; }
.no-chip .strike {
  position: absolute; left: 7%; top: 50%; height: 3px; width: 0;
  background: var(--danger); border-radius: 3px; transform: rotate(-1.4deg);
  transition: width .5s cubic-bezier(.7,0,.3,1);
  transition-delay: calc(var(--d, 0s) + .55s);
}
.no-chips.in .no-chip .strike { width: 87%; }

/* floating sky objects */
.hero-float { position: absolute; z-index: 4; pointer-events: none; }
.hero-float .bobber { animation: cloud-bob var(--bob, 9s) ease-in-out infinite alternate; }
.fl-right { right: max(2%, calc(50% - 720px)); bottom: 210px; width: 240px; }
.fl-right .balloon { width: 150px; margin: 0 auto; }
.fl-left { left: max(1.5%, calc(50% - 730px)); bottom: 300px; width: 250px; }
.fl-chip { left: max(4%, calc(50% - 660px)); top: 140px; }

/* card hanging from balloon */
.hang { position: relative; margin-top: 24px; }
.hang::before, .hang::after {
  content: ""; position: absolute; top: -25px; width: 2px; height: 28px;
  background: var(--ink); border-radius: 2px;
}
.hang::before { left: 26%; transform: rotate(16deg); }
.hang::after { right: 26%; transform: rotate(-16deg); }

/* mini ui cards floating in the sky */
.float-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15,19,32,0.14);
  padding: 14px; text-align: left;
}
.float-card .fc-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ash-2); padding-bottom: 9px; border-bottom: 1px solid var(--line); margin-bottom: 9px;
}
.float-card .fc-head .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }
.float-card .fc-row { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 10.5px; color: var(--ink-2); }
.float-card .fc-row + .fc-row { border-top: 1px dashed var(--line); }
.float-card .fc-row .tk { width: 17px; height: 17px; border-radius: 5px; background: var(--ink); color: var(--acid); display: grid; place-items: center; font-size: 9px; font-weight: 700; flex: none; }
.float-card .fc-row.warn .tk { background: var(--paper); color: var(--danger); border: 1px solid var(--danger); }
.float-card .fc-row .nm { font-weight: 700; white-space: nowrap; }
.float-card .fc-row .rl { color: var(--ash-2); font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-card .fc-row .fit { margin-left: auto; font-family: var(--wide); font-size: 13px; }
.float-card .fc-row.top .fit { color: var(--acid-ink); background: var(--acid); padding: 2px 7px; border-radius: 6px; }
.float-card .fc-row .av { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--frost); display: grid; place-items: center; font-size: 8px; font-weight: 700; flex: none; }
.float-card .fc-row.top .av { background: var(--acid); color: var(--ink); }
.float-card .fc-foot { margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash); display: flex; justify-content: space-between; }
.float-card .fc-foot b { color: var(--ink); }

/* "now placing" cycler chip */
.now-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ink); color: var(--frost); border-radius: var(--r-pill);
  padding: 9px 16px; font-size: 10px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  box-shadow: 0 14px 36px rgba(15,19,32,0.22);
}
.now-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); animation: blink 1.6s ease-in-out infinite; }
.cycle { display: inline-grid; overflow: hidden; text-align: left; }
.cycle .cy {
  grid-area: 1 / 1; white-space: nowrap; color: var(--acid);
  transform: translateY(120%); opacity: 0;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
}
.cycle .cy.on { transform: translateY(0); opacity: 1; }
.cycle .cy.out { transform: translateY(-120%); opacity: 0; }

/* ---------- SECTION SCAFFOLD ---------- */
section { position: relative; }
.sec-pad { padding: 136px 48px; }
.dk { background: var(--ink); color: var(--frost); }
.paper-bg { background: var(--paper); }
.section-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; margin: 0 auto 72px; align-items: end; max-width: 1440px; }
.section-head h2 { margin: 18px 0 0; }
.section-head .lead { max-width: 440px; justify-self: end; align-self: end; }

/* ---------- MANIFESTO ---------- */
.manifesto { background: var(--ink); color: var(--frost); padding: 170px 48px 150px; position: relative; overflow: hidden; }
.manifesto .wrap { max-width: 1060px; margin: 0 auto; position: relative; z-index: 3; display: flex; flex-direction: column; gap: 44px; }
.scrub { font-family: var(--wide); font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 4vw, 56px); line-height: 1.14; letter-spacing: -0.01em; margin: 0; }
.scrub .w { display: inline-block; }
.scrub .wi { opacity: 0.14; transition: opacity .3s linear, color .3s linear; }
.scrub .wi.lit { opacity: 1; }
.scrub.hl .wi.lit { color: var(--acid); }
.manifesto .body { max-width: 620px; font-size: 15px; line-height: 1.75; color: var(--ash-3); margin: 0; }
.manifesto .body strong { color: var(--frost); font-weight: 600; }

.kw-row { display: flex; gap: 10px; flex-wrap: wrap; }
.kw {
  position: relative; font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--ash-3);
  border: 1px dashed var(--line-dk); border-radius: var(--r-pill); padding: 10px 18px;
  background: rgba(255,255,255,0.03); white-space: nowrap;
}
.kw .strike {
  position: absolute; left: 8%; top: 50%; height: 3px; width: 0;
  background: var(--danger); border-radius: 3px; transform: rotate(-1.6deg);
  transition: width .5s cubic-bezier(.7,0,.3,1); transition-delay: calc(var(--d, 0s) + .4s);
}
.kw-row.in .kw .strike { width: 84%; }

.cap-row { display: flex; gap: 10px; flex-wrap: wrap; max-width: 860px; }
.cap {
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink); background: var(--acid);
  border-radius: var(--r-pill); padding: 11px 18px; display: inline-flex; gap: 9px; align-items: center;
}
.cap .tk { font-size: 10px; }

/* ---------- REVEAL PRIMITIVES ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

.stagger > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0s);
}
.stagger.in > * { opacity: 1; transform: none; }

[data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.09em; margin-bottom: -0.09em; }
[data-split] .wi {
  display: inline-block; transform: translateY(118%) rotate(5deg); transform-origin: 0 100%;
  transition: transform .85s cubic-bezier(.16,1,.3,1); transition-delay: var(--wd, 0s); will-change: transform;
}
[data-split].in .wi { transform: translateY(0) rotate(0deg); }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .rv, .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  [data-split] .wi { transform: none !important; transition: none !important; }
  .cloud > i, .hero-float .bobber, .sun .ring, .float-card .fc-head .dot, .now-chip .dot { animation: none !important; }
  .no-chips .no-chip .strike, .kw-row .kw .strike { transition: none !important; width: 87%; }
  .kw-row .kw .strike { width: 84%; }
  .not-line .strike { transition: none !important; }
  html { scroll-behavior: auto; }
}
