/* Hustle Stats site. Layout concept: a dark "arena" page, one gold line of emphasis per section,
   data shown in tabular mono like a stat sheet. Single deliberate dark look (brand: black and gold). */
:root {
  --ink: #0b0b0c;          /* page */
  --court: #141415;        /* raised surfaces */
  --court-2: #1b1a18;      /* hover / table stripe, warm */
  --line: #2b2822;         /* rules, warm-tinted */
  --text: #efe9dc;         /* warm off-white */
  --mute: #a29b8e;
  --faint: #6f695f;
  --gold: #d0b063;         /* brand gold, sampled from the logo */
  --gold-hi: #ecd28a;
  --gold-deep: #9c7c3c;
  --up: #6fbf8e;           /* semantic: better than average */
  --down: #e0695c;         /* semantic: worse than average */
  --f-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --f-data: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.6 var(--f-body); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; line-height: 1.15; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font: 600 12px/1.2 var(--f-data); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.mono { font-family: var(--f-data); font-variant-numeric: tabular-nums; }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(11,11,12,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); flex-shrink: 0; }
.brand img { width: 36px; height: auto; }
.brand b { font: 800 19px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand small { display: block; font: 500 9.5px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-top: 5px; }
.nav { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { font: 600 14px/1 var(--f-body); color: var(--mute); padding: 10px 12px; border-radius: 6px; white-space: nowrap; position: relative; }
.nav a:hover { color: var(--text); background: var(--court); }
.nav a[aria-current="page"] { color: var(--gold-hi); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -14px; height: 2px; background: var(--gold); }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; padding-block: 64px 56px; }
.hero h1 { font-weight: 800; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase; margin-top: 16px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { font-size: 18.5px; color: var(--mute); max-width: 56ch; margin: 20px 0 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--f-body); padding: 14px 20px; border-radius: 8px; border: 1.5px solid var(--gold); color: var(--ink); background: var(--gold); }
.btn:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: rgba(208,176,99,.1); color: var(--gold-hi); }
.status { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; font: 500 13px/1.4 var(--f-data); color: var(--faint); }
.status span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--up); margin-right: 8px; vertical-align: 1px; }
.hero-mark { position: relative; justify-self: center; width: min(100%, 340px); }
.hero-mark svg { position: absolute; inset: -18% -30%; width: 160%; height: 136%; color: var(--line); }
.hero-mark img { position: relative; width: 100%; filter: drop-shadow(0 18px 40px rgba(208,176,99,.18)); }

/* sections */
.section { padding-block: 64px 8px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.section-head h2 { font-weight: 800; font-size: 28px; letter-spacing: -.01em; text-transform: uppercase; margin-top: 8px; }
.section-head p { margin: 0; color: var(--mute); max-width: 52ch; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

/* tool cards */
.tool { background: var(--court); border: 1px solid var(--line); border-radius: 12px; padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tool:hover { border-color: var(--gold-deep); }
.tool h3 { font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: .01em; }
.tool h3 a { color: var(--text); }
.tool h3 a:hover { color: var(--gold-hi); }
.tool p { margin: 0; color: var(--mute); }
.mini { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.mini caption { text-align: left; font: 600 11px/1.3 var(--f-data); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding-bottom: 8px; }
.mini th { font: 600 11px/1.2 var(--f-data); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); text-align: right; padding: 0 0 8px 10px; border-bottom: 1px solid var(--line); }
.mini td { padding: 9px 0 9px 10px; border-bottom: 1px solid var(--line); text-align: right; font-family: var(--f-data); font-variant-numeric: tabular-nums; color: var(--text); }
.mini th:first-child, .mini td:first-child { text-align: left; padding-left: 0; }
.mini td:first-child { font-family: var(--f-body); font-weight: 600; }
.mini td:first-child .tm { font: 500 12px var(--f-data); color: var(--faint); margin-left: 6px; }
.mini td.hi { color: var(--gold-hi); font-weight: 600; }
.mini .rk { color: var(--faint); width: 26px; display: inline-block; font-family: var(--f-data); font-weight: 500; }
.more { margin-top: auto; font: 700 14px var(--f-body); display: inline-flex; gap: 6px; align-items: center; }

/* research cards */
.paper { display: grid; grid-template-rows: auto 1fr; background: var(--court); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--text); min-width: 0; }
.paper:hover { border-color: var(--gold-deep); color: var(--text); }
.paper img { width: 100%; aspect-ratio: 800 / 420; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.paper div { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.paper h3 { font-weight: 700; font-size: 19px; }
.paper p { margin: 0; color: var(--mute); font-size: 15.5px; }
.paper .find { font: 600 13px/1.4 var(--f-data); color: var(--gold); }

/* about strip */
.about-strip { margin-top: 64px; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(208,176,99,.07), transparent 60%); }
.about-strip .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding-block: 40px; }
.about-strip h2 { font-weight: 800; font-size: 24px; text-transform: uppercase; }
.about-strip p { margin: 10px 0 0; color: var(--mute); max-width: 70ch; }

/* plain pages */
.page-head { border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: 52px 36px; }
.page-head h1 { font-weight: 800; font-size: clamp(32px, 4.4vw, 48px); text-transform: uppercase; letter-spacing: -.01em; margin-top: 12px; }
.page-head p { color: var(--mute); max-width: 62ch; margin: 14px 0 0; font-size: 17.5px; }
.prose { max-width: 70ch; }
.prose p, .prose li { color: var(--mute); }
.prose h2 { font-size: 20px; text-transform: uppercase; margin: 36px 0 8px; }
.callout { background: var(--court); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; padding: 18px 22px; color: var(--mute); max-width: 70ch; }
.callout b { color: var(--text); }

/* footer */
.site-footer { margin-top: 72px; border-top: 1px solid var(--line); background: #080809; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, .6fr)); gap: 28px; padding-block: 40px 28px; }
.site-footer h4 { font: 600 11px/1 var(--f-data); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--mute); font-size: 14.5px; }
.site-footer a:hover { color: var(--gold-hi); }
.site-footer p { margin: 12px 0 0; font-size: 13.5px; color: var(--faint); max-width: 52ch; }
.legal { border-top: 1px solid var(--line); }
.legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 16px calc(18px + env(safe-area-inset-bottom, 0px)); font: 500 12.5px var(--f-data); color: var(--faint); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 44px; }
  .hero-mark { order: -1; width: 150px; justify-self: start; }
  .hero-mark svg { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .about-strip .wrap, .site-footer .wrap { grid-template-columns: 1fr; }
  .site-header .wrap { flex-wrap: wrap; gap: 0; padding-block: 10px 0; min-height: 0; }
  .nav { width: 100%; margin: 6px 0 0 -12px; }
  .nav a[aria-current="page"]::after { bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* The Hustle Report */
.report-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 0; background: var(--court); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--text); }
.report-feature:hover { border-color: var(--gold-deep); color: var(--text); }
.report-feature img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.report-feature .body { padding: 28px 30px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.report-feature h2 { font-size: 28px; font-weight: 800; }
.report-feature p { margin: 0; color: var(--mute); }
.report-date { font: 600 12px/1.2 var(--f-data); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.report-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.report-card { display: flex; flex-direction: column; background: var(--court); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--text); min-width: 0; }
.report-card:hover { border-color: var(--gold-deep); color: var(--text); }
.report-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.report-card div { padding: 16px 18px 18px; display: grid; gap: 8px; }
.report-card h3 { font-size: 17px; font-weight: 700; }
.report-card p { margin: 0; color: var(--mute); font-size: 14.5px; }
.subscribe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 36px; padding: 24px 28px; border: 1px solid var(--gold-deep); border-radius: 12px; background: linear-gradient(90deg, rgba(208,176,99,.09), transparent 70%); }
.subscribe h3 { font-size: 20px; text-transform: uppercase; }
.subscribe p { margin: 6px 0 0; color: var(--mute); }
.latest-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 20px; margin-top: 22px; background: var(--court); border: 1px solid var(--line); border-radius: 12px; color: var(--text); }
.latest-strip:hover { border-color: var(--gold-deep); color: var(--text); }
.latest-strip b { font: 700 16px var(--f-body); }
.latest-strip .go { color: var(--gold); font-weight: 700; white-space: nowrap; }

/* Methodology */
.method-page { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; display: grid; gap: 6px; font-size: 14.5px; }
.toc a { color: var(--mute); padding: 4px 0 4px 12px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--gold-hi); border-left-color: var(--gold); }
.mdoc { max-width: 76ch; }
.mdoc section { padding-block: 8px 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; scroll-margin-top: 96px; }
.mdoc section:last-child { border-bottom: 0; }
.mdoc h2 { font-size: 24px; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.mdoc h3 { font: 700 17px var(--f-body); margin: 22px 0 6px; color: var(--text); }
.mdoc p, .mdoc li { color: var(--mute); }
.mdoc b, .mdoc strong { color: var(--text); }
.mdoc code { font-family: var(--f-data); font-size: 14px; color: var(--gold-hi); background: var(--court); padding: 1px 6px; border-radius: 4px; }
.formula { font: 500 15px/1.6 var(--f-data); color: var(--gold-hi); background: var(--court); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; overflow-x: auto; }
.mtable { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 12px 0; }
.mtable th { font: 600 11px/1.3 var(--f-data); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); text-align: right; padding: 0 0 8px 12px; border-bottom: 1px solid var(--line); }
.mtable td { padding: 9px 0 9px 12px; border-bottom: 1px solid var(--line); text-align: right; font-family: var(--f-data); font-variant-numeric: tabular-nums; }
.mtable th:first-child, .mtable td:first-child { text-align: left; padding-left: 0; font-family: var(--f-body); }
.mtable-wrap { overflow-x: auto; }
@media (max-width: 860px) {
  .report-feature { grid-template-columns: 1fr; }
  .report-feature img { min-height: 0; aspect-ratio: 16 / 9; }
  .report-list { grid-template-columns: 1fr; }
  .method-page { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .latest-strip { grid-template-columns: minmax(0, 1fr); }
}
.report-feature:not(:has(img)) { grid-template-columns: 1fr; }
