/* Impulse88 Team — one stylesheet.

   Identity notes, so later edits do not drift:

   · Lime is the only accent. The page had red AND gold AND lime competing;
     boldness works in one place, so red and gold stopped being decoration.
     Gold survives on item cost alone, because gold is the in-game currency
     and that figure genuinely is gold.
   · The four attribute colours are data, not styling. They mark a hero's
     attribute and nothing else.
   · The wordmark is a heavy oblique, and the 88 icon is a parallelogram. That
     slant is the recurring device: small marks skew -12deg and counter-skew
     their content upright. Used on maybe six elements; any more and it is a
     gimmick.
   · Neutrals are biased very slightly green so they sit under the lime as if
     chosen rather than inherited.

   Single theme on purpose: this is a dark esports site, not a document. */

/* ------------------------------------------------------------------ type */

/* Fonts are linked from the layout head rather than @import, which would
   delay them behind this stylesheet parsing. */

:root {
    /* ink */
    --ink:       #0a0b0c;
    --raise:     #101316;
    --surface:   #161a1e;
    --line:      #232930;
    --line-soft: #1b2026;

    --text:      #e9edf0;
    --text-2:    #98a3ac;
    --text-3:    #667078;

    /* brand */
    --lime:      #ccff00;
    --lime-2:    #aad400;
    --lime-ink:  #0a0b0c;
    --lime-wash: rgba(204, 255, 0, .08);
    --lime-edge: rgba(204, 255, 0, .32);

    /* gold, kept only for item cost — it is the game's currency */
    --gold:      #d9a441;

    /* the four primary attributes, in their in-game colours */
    --str:       #ec3d06;
    --agi:       #26e030;
    --int:       #00a8e8;
    --uni:       #b57edc;

    /* type */
    --display: Archivo, "Archivo Expanded", "Segoe UI", system-ui, sans-serif;
    --sans:    "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
    --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

    /* spacing scale */
    --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
    --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

    --r-sm: 6px;
    --r:    10px;
    --r-lg: 14px;

    color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--lime-2); }

:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 2px;
    border-radius: var(--r-sm);
}

h1, h2, h3 {
    font-family: var(--display);
    line-height: 1.08;
    margin: 0 0 .4em;
    letter-spacing: -.02em;
    text-wrap: balance;
}

h1 { font-size: 44px; font-weight: 900; font-style: italic; }
h2 { font-size: 28px; font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
p  { margin: 0 0 1em; }

strong { font-weight: 600; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 20px; }

/* A shared label style: mono, small, tracked out. Used by kickers, stat
   labels, table headers and card subtitles so they read as one family. */
.kicker,
.stat-label,
.card-sub,
.apply-box-head,
.foot-label,
th {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

/* ---------------------------------------------------------------- header */

.site-head {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(10, 11, 12, .88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.head-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s5);
    padding-block: var(--s3);
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }

.brand-logo { height: 24px; width: auto; display: block; }

/* "TEAM" locks up to the wordmark, separated by a slanted rule that repeats
   the angle of the 88 mark. */
.brand-team {
    position: relative;
    padding-left: 12px;
    font-family: var(--display);
    font-style: italic;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lime);
}

.brand-team::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 2px;
    background: var(--lime);
    transform: skewX(-12deg);
}

.nav { display: flex; gap: var(--s1); flex-wrap: wrap; align-items: center; }

.nav a {
    padding: 8px 12px;
    border-radius: var(--r-sm);
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
}

.nav a:hover { color: var(--text); background: var(--raise); }
.nav a.is-active { color: var(--text); background: var(--raise); }

.nav a.nav-cta {
    color: var(--lime);
    border: 1px solid var(--lime-edge);
    font-weight: 600;
}

.nav a.nav-cta:hover { background: var(--lime-wash); color: var(--lime); }

/* ------------------------------------------------------------------ hero */

.hero {
    position: relative;
    padding-block: var(--s9) var(--s8);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(760px 300px at 12% -20%, rgba(204, 255, 0, .10), transparent 70%),
        var(--ink);
}

/* A short slanted stroke at the hero's top left, cut to the same angle as the
   88 mark. Clipped rather than skewed: a skewX on a full-height bar walks its
   own bottom edge off the page and leaves a wedge behind. */
.hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 150px;
    background: linear-gradient(180deg, var(--lime), transparent 85%);
    clip-path: polygon(36px 0, 40px 0, 4px 150px, 0 150px);
}

.kicker {
    display: inline-block;
    margin-bottom: var(--s4);
    padding: 5px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--raise);
    color: var(--text-2);
}

.kicker--brand {
    color: var(--lime-ink);
    background: var(--lime);
    border-color: var(--lime);
}

.hero h1 { max-width: 16ch; font-size: 58px; }
.hero .lede { max-width: 60ch; margin: 0; color: var(--text-2); font-size: 18px; }
.hero .lede strong { color: var(--text); font-weight: 600; }

.cta-row { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s6); }

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.btn-primary,
.btn-brand {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--lime-ink);
    font-weight: 700;
}

.btn-primary:hover,
.btn-brand:hover { background: var(--lime-2); border-color: var(--lime-2); color: var(--lime-ink); }

.btn-ghost { border-color: var(--line); background: var(--raise); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-3); color: var(--text); }

/* --------------------------------------------------------------- section */

.section { padding-block: var(--s8); }
.section + .section { border-top: 1px solid var(--line-soft); }

.section-head { margin-bottom: var(--s6); }
.section-head p { max-width: 62ch; margin: 0; color: var(--text-2); }

.grid { display: grid; gap: var(--s4); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

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

.card {
    display: block;
    padding: var(--s5);
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface);
    color: var(--text);
    transition: border-color .15s ease, transform .15s ease;
}

a.card:hover {
    border-color: var(--attr, var(--lime));
    transform: translateY(-2px);
    color: var(--text);
}

.card-top { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); }

/* The attribute lozenge carries the brand slant. */
.attr-dot {
    flex: none;
    width: 36px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: var(--r-sm);
    background: color-mix(in srgb, var(--attr, var(--lime)) 16%, transparent);
    color: var(--attr, var(--lime));
    font-family: var(--mono);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .04em;
    transform: skewX(-12deg);
}

.attr-dot > * { transform: skewX(12deg); }

.card h3 { margin: 0; }
.card .card-sub { color: var(--text-3); }
.card p { margin: 0; color: var(--text-2); font-size: 14.5px; }

.card--brand { --attr: var(--lime); }
.card--brand .attr-dot { background: var(--lime); color: var(--lime-ink); }

.tag-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

.tag {
    padding: 3px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--raise);
    color: var(--text-2);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
}

.tag-attr { border-color: color-mix(in srgb, var(--attr) 45%, transparent); color: var(--attr); }

/* ---------------------------------------------------------------- filter */

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s2);
    margin-bottom: var(--s6);
    padding: var(--s3);
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface);
}

.chip {
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--raise);
    color: var(--text-2);
    font-size: 13px;
    font-weight: 500;
}

.chip:hover { color: var(--text); border-color: var(--text-3); }

.chip.is-on {
    background: var(--attr, var(--lime));
    border-color: var(--attr, var(--lime));
    color: var(--lime-ink);
    font-weight: 600;
}

.search { display: flex; gap: var(--s2); margin-left: auto; }

.search input {
    min-width: 220px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--ink);
    color: var(--text);
    font: inherit;
    font-size: 14px;
}

.search input:focus { outline: none; border-color: var(--lime); }

/* ------------------------------------------------------------ hero detail */

.detail-head {
    padding-block: var(--s7) var(--s6);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(700px 260px at 12% -30%, color-mix(in srgb, var(--attr) 22%, transparent), transparent 70%),
        var(--ink);
}

.crumb { margin-bottom: var(--s3); color: var(--text-3); font-size: 13px; }
.crumb a { color: var(--text-2); }
.crumb a:hover { color: var(--lime); }

.detail-head h1 { margin-bottom: var(--s2); font-size: 42px; }
.detail-head .lede { max-width: 60ch; margin: 0; color: var(--text-2); font-size: 17px; }

.stat-row { display: flex; flex-wrap: wrap; gap: var(--s6); margin-top: var(--s5); }
.stat-label { color: var(--text-3); display: block; }
.stat-value { color: var(--text); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }

.panel {
    padding: var(--s5);
    border: 1px solid var(--line);
    border-left: 3px solid var(--attr, var(--lime));
    border-radius: var(--r);
    background: var(--surface);
}

.panel h3 { color: var(--attr, var(--lime)); }
.panel p:last-child { margin-bottom: 0; }

.prose { max-width: 66ch; color: var(--text-2); }
.prose strong { color: var(--text); }
.prose h2 { color: var(--text); margin-top: var(--s6); }
.prose h2:first-child { margin-top: 0; }

/* pips for the complexity rating */
.pips { display: inline-flex; gap: 4px; vertical-align: middle; }
.pip { width: 9px; height: 9px; border-radius: 2px; background: var(--line); transform: skewX(-12deg); }
.pip.on { background: var(--attr, var(--lime)); }

/* ----------------------------------------------------------------- table */

/* overflow-x, not hidden: a four-column table would otherwise squeeze
   itself unreadable on a phone rather than letting the reader scroll it. */
.table-wrap { border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; }
.table-wrap table { min-width: 520px; }

table { width: 100%; border-collapse: collapse; font-size: 14.5px; }

th {
    padding: 12px 16px;
    background: var(--raise);
    border-bottom: 1px solid var(--line);
    color: var(--text-3);
    text-align: left;
}

td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); background: var(--surface); color: var(--text-2); }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--text); }

.cost { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ------------------------------------------------------------ steps list */

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; margin-bottom: var(--s5); padding-left: 52px; color: var(--text-2); }

.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 32px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: var(--r-sm);
    background: var(--lime-wash);
    color: var(--lime);
    font-family: var(--mono);
    font-weight: 600;
    font-size: 13px;
    transform: skewX(-12deg);
}

.steps h3 { margin-bottom: 2px; color: var(--text); }

/* ================================================== recruitment: the band */

.recruit-band {
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(180deg, var(--lime-wash), transparent 60%),
        var(--raise);
    padding-block: var(--s7);
}

.recruit-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s7);
    flex-wrap: wrap;
}

.recruit-band h2 { margin-bottom: .3em; font-size: 30px; font-style: italic; }
.recruit-band p { color: var(--text-2); margin: 0; max-width: 58ch; }
.recruit-band strong { color: var(--lime); font-weight: 600; }

.recruit-band-cta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); }

.recruit-band-note {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-3);
}

/* =================================================== recruitment: the page */

.hero--join {
    background:
        radial-gradient(900px 340px at 14% -18%, rgba(204, 255, 0, .16), transparent 72%),
        var(--ink);
}

.hero--join h1 { max-width: 14ch; }
.hero--join .lede strong { color: var(--lime); font-weight: 600; }

.roles { display: grid; gap: var(--s3); }

.role {
    display: flex;
    gap: var(--s5);
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: var(--s5);
    transition: border-color .15s ease;
}

.role:hover { border-color: var(--lime-edge); }

.role-num {
    flex: none;
    width: 38px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: var(--r-sm);
    background: var(--lime);
    color: var(--lime-ink);
    font-family: var(--mono);
    font-weight: 600;
    font-size: 14px;
    transform: skewX(-12deg);
}

.role-num > * { transform: skewX(12deg); }

.role h3 { margin-bottom: .25em; }
.role p { color: var(--text-2); margin: 0; max-width: 70ch; }

/* apply block */

.apply { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s7); align-items: start; }

.apply-steps { margin: 0; padding-left: 22px; color: var(--text-2); }
.apply-steps li { margin-bottom: var(--s4); padding-left: 4px; }
.apply-steps li::marker { color: var(--lime); font-family: var(--mono); font-size: 13px; }
.apply-steps strong { color: var(--text); font-weight: 600; }

.apply-box {
    background: var(--surface);
    border: 1px solid var(--lime-edge);
    border-radius: var(--r-lg);
    padding: var(--s5);
}

.apply-box-head { color: var(--text-3); margin-bottom: var(--s2); }

.apply-contact {
    font-family: var(--mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--lime);
    margin: 0 0 var(--s3);
    word-break: break-word;
}

.apply-note { font-size: 13.5px; color: var(--text-2); margin: 0 0 var(--s5); }

/* ---------------------------------------------------------------- footer */

.site-foot { border-top: 1px solid var(--line); background: var(--raise); }

.foot-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--s6);
    padding-block: var(--s7) var(--s5);
}

.foot-title {
    font-family: var(--display);
    font-style: italic;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -.01em;
    margin-bottom: var(--s2);
}

.foot-note { max-width: 54ch; margin: 0; color: var(--text-3); font-size: 13.5px; }
.foot-links { display: flex; flex-direction: column; gap: var(--s2); }
.foot-links a { color: var(--text-2); font-size: 14px; }
.foot-links a:hover { color: var(--lime); }

.foot-bar {
    padding-block: var(--s4) var(--s6);
    border-top: 1px solid var(--line-soft);
    color: var(--text-3);
    font-size: 12.5px;
}

/* ----------------------------------------------------------- responsive */

@media (max-width: 960px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero h1 { font-size: 44px; }
    .apply { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
    .recruit-band-inner { gap: var(--s5); }
}

@media (max-width: 640px) {
    h1 { font-size: 32px; }
    h2 { font-size: 24px; }
    .hero { padding-block: var(--s7) var(--s6); }
    .hero h1 { font-size: 34px; max-width: none; }
    .hero .lede { font-size: 16.5px; }
    .detail-head h1 { font-size: 30px; }
    .grid-4, .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
    .head-inner { flex-direction: column; align-items: flex-start; gap: var(--s3); }
    .nav { width: 100%; }
    .search { width: 100%; margin-left: 0; }
    .search input { flex: 1; min-width: 0; }
    .section { padding-block: var(--s7); }
    .stat-row { gap: var(--s5); }
    .recruit-band-inner { flex-direction: column; align-items: flex-start; }
    .recruit-band h2 { font-size: 24px; }
    .role { gap: var(--s4); padding: var(--s4); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ======================================== home: the recruitment statement

   The salary is the reason anyone is on this page, so it gets display
   treatment rather than sitting inside a paragraph. It scales with the
   viewport (clamp) so the figure stays the largest thing on screen at any
   width without ever overflowing.
   ======================================================================= */

.hero--recruit {
    padding-block: var(--s8) var(--s8);
    background:
        radial-gradient(900px 420px at 8% -25%, rgba(204, 255, 0, .18), transparent 70%),
        radial-gradient(600px 300px at 92% 110%, rgba(204, 255, 0, .06), transparent 70%),
        var(--ink);
}

.hero--recruit h1 {
    max-width: none;
    font-size: clamp(34px, 5.2vw, 62px);
    margin-bottom: var(--s6);
}

.pay-lead {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-3);
    margin: 0 0 var(--s2);
}

.pay-figure {
    display: flex;
    align-items: flex-start;
    gap: .06em;
    font-family: var(--display);
    font-style: italic;
    font-weight: 900;
    font-size: clamp(66px, 15vw, 186px);
    line-height: .86;
    letter-spacing: -.045em;
    color: var(--lime);
    font-variant-numeric: tabular-nums;
}

/* The currency rides at the top of the numerals rather than sitting on the
   baseline, so the figure itself stays the thing you read first. */
.pay-currency {
    font-size: .34em;
    letter-spacing: -.01em;
    padding-top: .18em;
}

.pay-unit {
    font-family: var(--display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(20px, 3.2vw, 34px);
    line-height: 1;
    color: var(--text);
    margin: var(--s3) 0 var(--s6);
}

.hero--recruit .lede { max-width: 54ch; font-size: 18px; }

.pay-roles {
    margin: var(--s6) 0 0;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-3);
}

/* The band below the statement now carries the guide rather than the
   recruitment, so it drops the lime wash and reads as a quieter shelf. */
.recruit-band { background: var(--raise); }
.recruit-band h2 { font-style: normal; }

@media (max-width: 640px) {
    .hero--recruit { padding-block: var(--s7) var(--s7); }
    .hero--recruit h1 { margin-bottom: var(--s5); }
    .hero--recruit .lede { font-size: 16.5px; }
    .pay-figure { letter-spacing: -.05em; }
}
