/* Side Hustle Summit Review — "case file" design system.
   The brand idea: honesty as visual language. Every fact is stamped
   CONFIRMED (solid cobalt) or PENDING (dashed outline). Cobalt carries
   verdicts, evidence and CTAs; everything else is ink on paper-white. */

:root {
  --bg: oklch(0.99 0.003 230);
  --ink: oklch(0.23 0.022 235);
  --ink-soft: oklch(0.40 0.03 235);
  --cobalt: oklch(0.42 0.115 230);
  --cobalt-bright: oklch(0.50 0.115 230);
  --cobalt-deep: oklch(0.26 0.075 236);
  --cobalt-deeper: oklch(0.21 0.06 238);
  --on-cobalt: oklch(0.975 0.008 230);
  --on-cobalt-soft: oklch(0.82 0.045 230);
  --frost: oklch(0.958 0.012 230);
  --line: oklch(0.885 0.012 230);
  --rust: oklch(0.46 0.105 40);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --grot: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", sans-serif;
  --measure: 68ch;
  --z-sticky: 10;
  --z-skip: 20;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--grot);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
}

h1 { font-size: clamp(2.3rem, 6.5vw, 4.1rem); font-weight: 800; margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; margin: 3.5rem 0 1rem; }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.35rem); font-weight: 700; margin: 2.2rem 0 0.6rem; line-height: 1.2; }

p, ul, ol, dl { max-width: var(--measure); }
article > p { text-wrap: pretty; }

a { color: var(--cobalt-bright); text-decoration-thickness: 1px; text-underline-offset: 2.5px; }
a:hover { color: var(--cobalt-deep); }

::selection { background: var(--cobalt); color: var(--on-cobalt); }

.skip-link {
  position: absolute; left: -9999px; z-index: var(--z-skip);
  background: var(--cobalt-deep); color: var(--on-cobalt);
  padding: 0.6rem 1rem; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; top: 0; }

/* ---------- status chips: the core system ---------- */

.chip {
  display: inline-flex; align-items: center; gap: 0.35em;
  font-family: var(--grot); font-weight: 700;
  font-size: 0.68rem; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.22em 0.65em; border-radius: 4px;
  vertical-align: 0.15em; white-space: nowrap;
}
.chip-ok { background: var(--cobalt); color: var(--on-cobalt); }
.chip-ok::before { content: "✓"; font-size: 0.9em; }
.chip-tbc { border: 1.5px dashed oklch(0.62 0.05 235); color: var(--ink-soft); background: transparent; }

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

.site-head {
  position: sticky; top: 0; z-index: var(--z-sticky);
  display: flex; align-items: center; gap: 1.25rem;
  padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in oklch, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: var(--grot); font-weight: 800; font-size: 1.02rem;
  letter-spacing: -0.01em; color: var(--ink); text-decoration: none;
  white-space: nowrap;
}
.wordmark .dot { color: var(--cobalt-bright); }
.site-head nav { display: flex; gap: 1.1rem; margin-left: auto; align-items: center; }
.site-head nav a {
  font-family: var(--grot); font-weight: 600; font-size: 0.9rem;
  color: var(--ink-soft); text-decoration: none;
}
.site-head nav a:hover { color: var(--cobalt); }
.head-cta {
  font-family: var(--grot); font-weight: 700; font-size: 0.88rem;
  background: var(--cobalt); color: var(--on-cobalt) !important;
  padding: 0.5rem 1rem; border-radius: 999px; text-decoration: none;
  white-space: nowrap;
}
.head-cta:hover { background: var(--cobalt-deep); }
.head-cta .cta-short { display: none; }
@media (max-width: 640px) {
  .site-head nav a:not(.head-cta) { display: none; }
  .head-cta .cta-long { display: none; }
  .head-cta .cta-short { display: inline; }
  .wordmark { font-size: 0.94rem; }
}

/* ---------- disclosure ---------- */

.disclosure {
  background: var(--frost);
  border-bottom: 1px solid var(--line);
  padding: 0.55rem clamp(1rem, 4vw, 2.5rem);
  font-size: 0.85rem; color: var(--ink-soft);
}
.disclosure strong { color: var(--ink); }

/* ---------- hero: the case-file cover ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(0deg,
      transparent 0, transparent 47px,
      oklch(0.35 0.07 233 / 0.35) 47px, oklch(0.35 0.07 233 / 0.35) 48px),
    linear-gradient(160deg, var(--cobalt-deep), var(--cobalt-deeper) 70%);
  color: var(--on-cobalt);
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1rem, 4vw, 2.5rem) clamp(3.25rem, 7vw, 5rem);
}
.hero-inner { max-width: 60rem; margin: 0 auto; position: relative; }
.hero .kicker {
  font-family: var(--grot); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-cobalt-soft); margin: 0 0 1.1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero .kicker::before {
  content: ""; width: 2.2rem; height: 2px; background: var(--cobalt-bright);
  display: inline-block;
}
.hero h1 { color: var(--on-cobalt); max-width: 15ch; }
.hero .ghost-date {
  position: absolute; right: -0.5rem; top: -1.5rem;
  font-family: var(--grot); font-weight: 800;
  font-size: clamp(4rem, 12vw, 8.5rem); line-height: 1;
  letter-spacing: -0.03em;
  color: oklch(0.4 0.1 230 / 0.28);
  user-select: none; pointer-events: none;
  writing-mode: vertical-rl;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) { .hero .ghost-date { display: none; } }
.hero .standfirst {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.55; color: var(--on-cobalt-soft); max-width: 54ch;
  margin: 1.2rem 0 1.8rem;
}
.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem;
  font-family: var(--grot); font-size: 0.88rem; font-weight: 600;
  color: var(--on-cobalt-soft);
  border-top: 1px solid oklch(0.42 0.09 230 / 0.6);
  padding-top: 1.1rem; max-width: 44rem;
}
.byline .who { color: var(--on-cobalt); }

/* the verdict stamp */
.stamp {
  display: inline-block; margin-top: 2rem;
  border: 3px double var(--on-cobalt);
  border-radius: 10px;
  padding: 0.8rem 1.3rem;
  rotate: -1.5deg;
  background: oklch(0.3 0.08 233 / 0.5);
  box-shadow: 0 0 0 1px oklch(0.2 0.05 238 / 0.4);
}
.stamp .stamp-label {
  display: block; font-family: var(--grot); font-weight: 700;
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--on-cobalt-soft); margin-bottom: 0.25rem;
}
.stamp .stamp-text {
  font-family: var(--grot); font-weight: 800; font-size: 1.05rem;
  letter-spacing: 0.01em; color: var(--on-cobalt);
}

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes stamp-in {
  from { opacity: 0; transform: scale(1.25); }
  to { opacity: 1; transform: scale(1); }
}
.hero .kicker { animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero h1 { animation: rise 0.6s 0.06s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero .standfirst { animation: rise 0.6s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero .byline { animation: rise 0.6s 0.18s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero .stamp { animation: stamp-in 0.45s 0.5s cubic-bezier(0.22, 1.4, 0.36, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .hero .kicker, .hero h1, .hero .standfirst, .hero .byline, .hero .stamp { animation: none; }
}

/* ---------- layout ---------- */

.wrap {
  max-width: 60rem; margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem) 4rem;
}
article { margin-top: 2.75rem; }

/* case file panel */
.facts {
  background: var(--frost); border: 1px solid var(--line); border-radius: 14px;
  padding: 0 0 0.4rem; margin: -3.25rem auto 0; position: relative; max-width: 60rem;
  overflow: hidden;
  box-shadow: 0 12px 32px -18px oklch(0.25 0.06 236 / 0.45);
}
@media (max-width: 640px) {
  .facts { margin-top: -1.1rem; }
  .hero { padding-bottom: 3.5rem; }
}
.facts h2 {
  margin: 0; padding: 0.85rem 1.5rem;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--cobalt-deep); color: var(--on-cobalt);
}
.facts dl {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 0 1.6rem; margin: 0; max-width: none;
  padding: 1.1rem 1.5rem 0.9rem;
}
.facts dl > div { padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.facts dt {
  font-family: var(--grot); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--cobalt);
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
}
.facts dd { margin: 0.2rem 0 0; font-size: 0.98rem; }
.facts .tbc { color: var(--ink-soft); font-style: italic; }

/* table of contents */
.toc { border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.4rem; margin: 2.5rem 0; }
.toc h2 { margin: 0 0 0.6rem; font-size: 1rem; }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2.5rem; font-size: 0.95rem; }
.toc li { margin-bottom: 0.35rem; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 560px) { .toc ol { columns: 1; } }

/* section heading chips */
h2 .chip { margin-left: 0.6rem; }

/* timeline */
.timeline { margin: 1.9rem 0 0.5rem; padding: 0; list-style: none; max-width: var(--measure); }
.timeline li {
  position: relative; padding: 0 0 1.7rem 2.4rem;
  border-left: 2px solid var(--cobalt-bright); margin-left: 0.5rem;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0.2rem; }
.timeline li::before {
  content: ""; position: absolute; left: -9px; top: 0.28rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 4px solid var(--cobalt);
}
.timeline .when {
  font-family: var(--grot); font-weight: 800; font-size: 1.05rem;
  letter-spacing: -0.01em; color: var(--cobalt); display: block;
  font-variant-numeric: tabular-nums;
}

/* pros & cons */
.pc { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.25rem; margin: 1.7rem 0; }
.pc section { border: 1.5px solid var(--line); border-radius: 14px; padding: 1.25rem 1.4rem; }
.pc section.yes { border-color: oklch(0.72 0.07 230); background: oklch(0.975 0.008 230); }
.pc h3 {
  margin: 0 0 0.8rem; font-size: 0.82rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.pc .yes h3 { color: var(--cobalt); }
.pc .no h3 { color: var(--rust); }
.pc ul { margin: 0; padding: 0; list-style: none; }
.pc li { padding-left: 1.6rem; position: relative; margin-bottom: 0.7rem; font-size: 0.97rem; }
.pc li::before { position: absolute; left: 0; font-family: var(--grot); font-weight: 800; }
.pc .yes li::before { content: "✓"; color: var(--cobalt-bright); }
.pc .no li::before { content: "✕"; color: var(--rust); }

/* callouts */
.note {
  background: var(--frost); border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem 1.3rem; margin: 1.7rem 0; max-width: var(--measure);
  font-size: 0.97rem;
}
.note strong { font-family: var(--grot); }

/* verdict */
.verdict {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(0deg,
      transparent 0, transparent 47px,
      oklch(0.35 0.07 233 / 0.35) 47px, oklch(0.35 0.07 233 / 0.35) 48px),
    linear-gradient(160deg, var(--cobalt-deep), var(--cobalt-deeper) 75%);
  color: var(--on-cobalt);
  border-radius: 18px; padding: clamp(1.8rem, 4.5vw, 2.8rem);
  margin: 3.25rem 0;
}
.verdict h2 { color: var(--on-cobalt); margin-top: 0; }
.verdict p { color: var(--on-cobalt-soft); }
.verdict p strong { color: var(--on-cobalt); }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.6rem; }
.btn {
  font-family: var(--grot); font-weight: 800; font-size: 1.04rem;
  letter-spacing: 0.01em;
  background: var(--on-cobalt); color: var(--cobalt-deep);
  padding: 0.9rem 1.6rem; border-radius: 10px; text-decoration: none;
  display: inline-block;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover {
  background: var(--on-cobalt); color: var(--cobalt-deeper);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px oklch(0.1 0.04 238 / 0.8);
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; box-shadow: none; } }
.cta-row .aside { font-size: 0.85rem; color: var(--on-cobalt-soft); max-width: 34ch; }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line); padding: 0.35rem 0; max-width: var(--measure);
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  font-family: var(--grot); font-weight: 700; font-size: 1.04rem;
  padding: 0.8rem 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-weight: 800; font-size: 1.2rem; color: var(--cobalt-bright);
  transition: rotate 0.25s cubic-bezier(0.16, 1, 0.3, 1); flex-shrink: 0;
}
.faq details[open] summary::after { rotate: 45deg; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq details p { margin: 0 0 1rem; }

/* update log: the evidence ledger */
.updates { list-style: none; margin: 1.4rem 0 0; padding: 0; max-width: var(--measure); font-size: 0.95rem; }
.updates li {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.4rem 1.1rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--line);
}
.updates li:first-child { border-top: 1px solid var(--line); }
.updates time {
  font-family: var(--grot); font-weight: 800; color: var(--cobalt);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 560px) { .updates li { grid-template-columns: 1fr; gap: 0.15rem; } }

/* author */
.author {
  display: flex; gap: 1.2rem; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 14px;
  padding: 1.4rem; margin: 3rem 0 0; max-width: var(--measure);
  background: var(--frost);
}
.author .avatar {
  width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0;
  background: var(--cobalt); color: var(--on-cobalt);
  display: grid; place-items: center;
  font-family: var(--grot); font-weight: 800; font-size: 1.3rem;
}
.author h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.author p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }

/* footer */
.site-foot {
  border-top: 1px solid var(--line); margin-top: 4rem;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 3rem;
  font-size: 0.85rem; color: var(--ink-soft);
}
.site-foot .inner { max-width: 60rem; margin: 0 auto; display: grid; gap: 0.8rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-foot a { color: var(--ink-soft); }

/* prose pages (about / privacy / 404) */
.prose { margin-top: 2.5rem; }
.prose h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
