/* Boss Battle Blog — bossbattleblog.com
   Visual DNA: editorial photography portfolio. One typeface, one weight (400),
   one chrome size (16px). No cards, no borders, no radius, no shadows.
   Colour comes from the photographs and from warm neutral washes. */

:root {
  /* Colours — theme tokens */
  --color-obsidian: #000000;
  --color-paper-white: #ffffff;
  --color-warm-fog: #bcbcbc;
  --color-bone: #cccbbb;
  --color-slate-drift: #c0c4ca;
  --color-rose-clay: #cdbcb9;
  --color-linen: #cfbca6;
  --color-graphite: #4b4848;
  --color-espresso: #2e2321;
  --color-vermillion: #e01365;
  --color-saffron: #d0a43e;
  --color-cinnabar: #cc4132;
  --color-ochre: #a48b0b;

  /* Typography */
  --font-grotesk: 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Inter,
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-caption: 16px;
  --leading-caption: 1;
  --font-weight-regular: 400;

  /* Editorial display sizes — chrome never uses these */
  --text-display: clamp(46px, 8.4vw, 104px);
  --text-head: clamp(30px, 4.2vw, 52px);
  --text-sub: clamp(21px, 2.2vw, 27px);
  --text-numeral: clamp(52px, 7vw, 96px);

  /* Spacing */
  --spacing-unit: 6px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --gap: 12px;

  /* Radii — the system is entirely sharp-edged */
  --radius-tags: 0px;
  --radius-cards: 0px;
  --radius-inputs: 0px;
  --radius-buttons: 0px;

  --container: 1280px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--color-bone);
  color: var(--color-obsidian);
  font-family: var(--font-grotesk);
  font-size: var(--text-caption);
  font-weight: var(--font-weight-regular);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; border: 0; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--color-cinnabar);
  outline-offset: 3px;
}

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul { list-style: none; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-obsidian); color: var(--color-paper-white);
  padding: 10px 16px; z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

/* ── Type roles ───────────────────────────────────────────── */
.display { font-size: var(--text-display); line-height: .98; letter-spacing: -.03em; font-weight: 400; }
.head    { font-size: var(--text-head); line-height: 1.04; letter-spacing: -.02em; font-weight: 400; }
.sub     { font-size: var(--text-sub); line-height: 1.32; letter-spacing: -.01em; font-weight: 400; }
.label   { font-size: var(--text-caption); line-height: var(--leading-caption); }
.lede    { max-width: 62ch; }
.dim     { color: var(--color-graphite); }
.on-dark .dim, .hero .dim, .footer .dim, .cookie .dim { color: #b7aca6; }

/* ── 1. Header ────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  color: var(--color-paper-white);
  transition: background-color .25s ease, color .25s ease;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.header.is-solid, .header--solid {
  background: var(--color-linen);
  color: var(--color-obsidian);
}

.logo { font-size: var(--text-caption); line-height: 1; text-transform: uppercase; letter-spacing: .14em; white-space: nowrap; }
.logo__accent { color: var(--color-cinnabar); }
.header.is-solid .logo__accent, .header--solid .logo__accent { color: #8f2317; }

.nav__list { display: flex; align-items: center; gap: 22px; }
.nav__link { font-size: var(--text-caption); line-height: 1; padding: 6px 0; }
.nav__link:hover { text-decoration: underline; text-underline-offset: 5px; }

.burger {
  display: none; background: none; border: 0; padding: 8px; margin-right: -8px;
  color: inherit; cursor: pointer;
}
.burger svg { width: 22px; height: 22px; display: block; }

@media (max-width: 1000px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--color-linen);
    color: var(--color-obsidian);
    padding: 20px clamp(20px, 5vw, 56px) 30px;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ── 2. Hero — full-bleed editorial photograph ───────────── */
.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
  background: var(--color-espresso);
  color: var(--color-paper-white);
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%;
}
/* Scrim lives on the photographic layer, not on the UI — needed for AA legibility */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(23,17,15,.90) 0%, rgba(23,17,15,.62) 32%, rgba(23,17,15,.06) 66%),
    linear-gradient(to right, rgba(23,17,15,.68) 0%, rgba(23,17,15,.10) 52%);
}
.hero__body { padding-block: 140px 26px; }
.hero__eyebrow { display: block; margin-bottom: 22px; }
.hero__title { max-width: 15ch; margin-bottom: 20px; }
.hero__title em { font-style: normal; color: var(--color-saffron); }
.hero__lede { max-width: 46ch; margin-bottom: 26px; }
.hero__actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__trust { max-width: 52ch; }

/* Icon showcase — six real Google Play icons */
.showcase { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.showcase__img { width: 46px; height: 46px; }
.showcase__note { margin-left: 6px; }

/* Three-element bottom bar — the theme's signature UI layer */
.hero__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-block: var(--spacing-16);
  font-size: var(--text-caption); line-height: var(--leading-caption);
}
.hero__bar span, .hero__bar a { font-size: var(--text-caption); line-height: 1; }
.hero__info:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 640px) {
  .hero__credit { display: none; }
  .hero__body { padding-block: 120px 20px; }
}

/* Text links — every interactive element is a text link */
.tlink {
  font-size: var(--text-caption); line-height: 1;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
  transition: opacity .18s ease;
}
.tlink:hover { opacity: .58; }
.tlink--accent { color: var(--color-saffron); }

/* ── Section rhythm — deliberately uneven ────────────────── */
.section { padding-block: 96px; }
.section--tight { padding-block: 64px; }
.section--tall { padding-block: 128px; }
.on-dark { background: var(--color-espresso); color: var(--color-paper-white); }
.wash-bone { background: var(--color-bone); }
.wash-linen { background: var(--color-linen); }
.wash-fog { background: var(--color-warm-fog); }
.wash-clay { background: var(--color-rose-clay); }

.section__label { display: block; margin-bottom: 18px; }
.section__head { margin-bottom: 20px; }

/* ── 3. Pick of the week ─────────────────────────────────── */
.pick__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 44px; }
.pick__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pick__icon { width: 52px; height: 52px; }
.pick__frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pick__frame { aspect-ratio: 9 / 16; overflow: hidden; background: #1a1412; }
.pick__frame img { width: 100%; height: 100%; object-fit: cover; }
.pick__frame--drop { transform: translateY(28px); }
.pick__caption { margin-top: 40px; max-width: 58ch; }
@media (max-width: 860px) {
  .pick__top { grid-template-columns: 1fr; gap: 22px; }
  .pick__frame--drop { transform: none; }
  .pick__caption { margin-top: 24px; }
}

/* ── 4. Catalogue — staggered two-column index ───────────── */
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 56px; }
.games__item:nth-child(even) { transform: translateY(64px); }
.games__shot { overflow: hidden; background: var(--color-warm-fog); margin-bottom: 18px; }
.games__shot--tall { aspect-ratio: 4 / 5; }
.games__shot--wide { aspect-ratio: 16 / 10; }
.games__shot img { width: 100%; height: 100%; object-fit: cover; }
.games__head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.games__icon { width: 44px; height: 44px; flex: none; }
.games__title { font-size: 21px; line-height: 1.18; letter-spacing: -.01em; }
.games__dev { display: block; }
.games__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.games__stars { width: 86px; height: 16px; display: block; color: var(--color-ochre); }
.games__text { margin-bottom: 12px; max-width: 46ch; }
.games__wall { margin-bottom: 16px; max-width: 46ch; }
.games__wall b { font-weight: 400; border-bottom: 1px solid var(--color-cinnabar); }
.games__end { margin-top: 96px; }
@media (max-width: 760px) {
  .games { grid-template-columns: 1fr; gap: 56px; }
  .games__item:nth-child(even) { transform: none; }
  .games__end { margin-top: 48px; }
}

/* ── 5. About ────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.about__photo { aspect-ratio: 3 / 2; overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__figcap { margin-top: 10px; }
.about__text { max-width: 44ch; }
.about__text p + p { margin-top: 16px; }
.about__aside { margin-top: 34px; max-width: 40ch; border-left: 0; }
.about__aside p { padding-left: 18px; box-shadow: inset 2px 0 0 var(--color-cinnabar); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 28px; } }

/* ── 6. Method ───────────────────────────────────────────── */
.method { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.method__photo { aspect-ratio: 3 / 2; overflow: hidden; margin-top: 8px; }
.method__photo img { width: 100%; height: 100%; object-fit: cover; }
.method__steps { counter-reset: step; list-style: none; padding: 0; }
.method__step { counter-increment: step; padding-left: 46px; position: relative; }
.method__step + .method__step { margin-top: 26px; }
.method__step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 2px;
  font-size: var(--text-caption); line-height: 1; color: var(--color-cinnabar);
}
.method__step h3 { font-size: 19px; line-height: 1.25; margin-bottom: 6px; letter-spacing: -.01em; }
.method__step p { max-width: 48ch; }
@media (max-width: 860px) { .method { grid-template-columns: 1fr; gap: 30px; } }

/* ── 7. Money ────────────────────────────────────────────── */
.band { width: 100%; height: clamp(140px, 20vw, 240px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.money { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.money__points li { padding-block: 14px; }
.money__points li + li { box-shadow: inset 0 1px 0 rgba(46,35,33,.22); }
.money__points h3 { font-size: 18px; line-height: 1.3; margin-bottom: 4px; letter-spacing: -.01em; }
.money__points p { max-width: 44ch; }
@media (max-width: 860px) { .money { grid-template-columns: 1fr; gap: 26px; } }

/* ── 8. Reviews ──────────────────────────────────────────── */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.reviews__item:nth-child(2) { padding-top: 34px; }
.reviews__quote { margin-bottom: 18px; max-width: 40ch; }
.reviews__by { display: flex; align-items: center; gap: 10px; }
.reviews__initials {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  background: var(--color-espresso); color: var(--color-paper-white);
  font-size: 13px; letter-spacing: .06em; line-height: 1;
}
@media (max-width: 860px) {
  .reviews { grid-template-columns: 1fr; gap: 30px; }
  .reviews__item:nth-child(2) { padding-top: 0; }
}

/* ── 9. Numbers ──────────────────────────────────────────── */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.numbers__value { display: block; font-size: var(--text-numeral); line-height: .92; letter-spacing: -.045em; }
.numbers__unit { font-size: 22px; letter-spacing: -.02em; }
.numbers__key { display: block; margin-top: 10px; max-width: 26ch; }
.numbers__note { margin-top: 48px; max-width: 62ch; }
@media (max-width: 860px) { .numbers { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 420px) { .numbers { grid-template-columns: 1fr; } }

/* ── 10. Subscribe ───────────────────────────────────────── */
.sign { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__field { display: block; margin-bottom: 14px; }
.form__label { display: block; margin-bottom: 6px; }
.form__input {
  width: 100%; padding: 11px 0; border: 0;
  border-bottom: 1px solid var(--color-espresso);
  border-radius: var(--radius-inputs);
  background: transparent; color: var(--color-obsidian);
  font-family: inherit; font-size: var(--text-caption); line-height: 1.3;
}
.form__input::placeholder { color: var(--color-graphite); opacity: .75; }
.form__consent { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 22px; max-width: 56ch; }
.form__consent input { margin: 3px 0 0; width: 16px; height: 16px; flex: none; accent-color: var(--color-cinnabar); }
.form__submit {
  background: none; border: 0; border-bottom: 1px solid currentColor;
  border-radius: var(--radius-buttons); padding: 0 0 4px; cursor: pointer;
  font-family: inherit; font-size: var(--text-caption); line-height: 1; color: inherit;
}
.form__submit:hover { opacity: .58; }
.form__error { display: block; margin-top: 14px; color: #8f2317; }
.form__success { display: none; margin-top: 20px; max-width: 48ch; box-shadow: inset 2px 0 0 var(--color-cinnabar); padding-left: 18px; }
.form__success.is-visible { display: block; }
@media (max-width: 860px) { .sign { grid-template-columns: 1fr; gap: 28px; } .form__row { grid-template-columns: 1fr; gap: 0; } }

/* ── 11. FAQ ─────────────────────────────────────────────── */
.faq { max-width: 74ch; }
.faq__item { box-shadow: inset 0 1px 0 rgba(46,35,33,.24); }
.faq__item:last-child { box-shadow: inset 0 1px 0 rgba(46,35,33,.24), inset 0 -1px 0 rgba(46,35,33,.24); }
.faq__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: 0; padding: 22px 0; cursor: pointer;
  font-family: inherit; font-size: 18px; line-height: 1.3; letter-spacing: -.01em;
  color: inherit; text-align: left;
}
.faq__sign { width: 14px; height: 14px; flex: none; transition: transform .22s ease; }
.faq__item.is-open .faq__sign { transform: rotate(45deg); }
.faq__panel { display: none; padding: 0 0 24px; max-width: 62ch; }
.faq__item.is-open .faq__panel { display: block; }

/* ── 12. Footer ──────────────────────────────────────────── */
.footer { background: var(--color-espresso); color: var(--color-paper-white); padding-block: 72px 34px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; margin-bottom: 56px; }
.footer__logo { display: inline-block; margin-bottom: 16px; }
.footer__blurb { max-width: 38ch; color: #b7aca6; }
.footer__title { display: block; margin-bottom: 14px; }
.footer__links li + li { margin-top: 8px; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer__mail { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: #b7aca6; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 30px; } }

/* ── Cookie banner ───────────────────────────────────────── */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: var(--color-espresso); color: var(--color-paper-white);
  padding: 18px 0; display: none;
}
.cookie.is-visible { display: block; }
.cookie__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cookie__text { max-width: 66ch; }
.cookie__actions { display: flex; gap: 22px; align-items: center; }
.cookie__btn {
  background: none; border: 0; border-bottom: 1px solid currentColor;
  border-radius: 0; padding: 0 0 4px; cursor: pointer;
  font-family: inherit; font-size: var(--text-caption); line-height: 1; color: inherit;
}
.cookie__btn:hover { opacity: .58; }

/* ── Back to top ─────────────────────────────────────────── */
.totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 110;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--color-espresso); color: var(--color-paper-white);
  border: 0; border-radius: 0; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.totop.is-visible { opacity: 1; pointer-events: auto; }
.totop svg { width: 16px; height: 16px; }

/* ── Legal pages ─────────────────────────────────────────── */
.legal { padding-block: 60px 96px; }
.legal__head { margin-bottom: 34px; }
.legal__meta { display: block; margin-top: 14px; }
.legal__body { max-width: 76ch; }
.legal__body h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.015em; margin: 40px 0 12px; }
.legal__body h3 { font-size: 18px; line-height: 1.3; margin: 24px 0 8px; }
.legal__body p { margin-bottom: 12px; }
.legal__body ul { margin: 0 0 12px; }
.legal__body li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.legal__body li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--color-cinnabar); }
.legal__back { display: inline-block; margin-bottom: 26px; }

/* ── 404 ─────────────────────────────────────────────────── */
.nf { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding-block: 80px; }
.nf__code { display: block; font-size: var(--text-numeral); line-height: .9; letter-spacing: -.05em; margin-bottom: 20px; }
.nf__text { max-width: 46ch; margin-bottom: 26px; }
