/* ==========================================================================
   Habesha Bet review · habeshabet-app.com
   Single stylesheet for every page. Brand tokens are locked.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens -------------------------------------------------------------- */

:root {
  --yellow: #fed700;
  --yellow-deep: #d9b800;
  --yellow-dark: #c2a300;
  --red: #e71624;
  --ink: #1e1e1e;
  --black: #000;
  --white: #fff;
  --bg: #000;
  --surface: #1e1e1e;
  --surface-soft: #111;
  --fg: #fff;
  --muted: #b8b8b8;
  --border: #333;
  --border-soft: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.002em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--yellow);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--white);
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: var(--white);
  text-wrap: balance;
}

strong {
  color: var(--white);
  font-weight: 700;
}

::selection {
  background: var(--yellow);
  color: var(--black);
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.btn:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--white);
}

.btn-primary:focus-visible {
  outline-color: var(--black);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--yellow);
  color: var(--black);
  border-radius: var(--radius-sm);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--black);
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn-primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--yellow-deep);
  border-color: var(--yellow-deep);
  color: var(--black);
}

.btn-primary:active {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  color: var(--black);
  transform: translateY(1px);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.btn-ghost:hover {
  background: var(--ink);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn-ghost:active {
  background: #2a2a2a;
  color: var(--white);
}

.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.88rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(14px);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 74px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 36px;
  max-width: 108px;
  object-fit: contain;
}

.site-nav {
  flex: 1 1 auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--yellow);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
  color: var(--yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--yellow);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Breadcrumbs --------------------------------------------------------- */

.breadcrumbs {
  border-bottom: 1px solid var(--border-soft);
  background: #050505;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--yellow);
}

.crumb-sep {
  color: var(--yellow);
  font-weight: 800;
  margin-right: 8px;
}

.breadcrumbs [aria-current="page"] {
  color: var(--white);
}

/* --- Hero (home) --------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(44px, 7vw, 92px) 0 clamp(44px, 6vw, 76px);
  background:
    radial-gradient(900px 480px at 82% 8%, rgba(254, 215, 0, 0.1), transparent 62%),
    radial-gradient(600px 400px at 6% 92%, rgba(231, 22, 36, 0.08), transparent 60%),
    var(--black);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(34px, 5vw, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--yellow);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(231, 22, 36, 0.18);
}

.hero h1 {
  max-width: 20ch;
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  letter-spacing: -0.034em;
  text-transform: none;
}

.lead {
  max-width: 65ch;
  margin: 16px 0 0;
  color: #d6d6d6;
  font-size: clamp(1rem, 1.4vw, 1.05rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 28px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-link:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 34px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border-soft);
  list-style: none;
}

.hero-facts li {
  padding-right: 16px;
}

.hero-facts strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero-facts span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual .shot {
  margin: 0;
}

.page-hero-shot {
  margin: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 16px -14px -16px 16px;
  background: var(--yellow);
  border-radius: 18px;
  transform: rotate(-2.2deg);
}

.hero-visual .shot-link {
  position: relative;
  z-index: 1;
  display: block;
}

.shot-link {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.shot-link img {
  width: 100%;
  height: auto;
}

.live-pill {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  background: rgba(0, 0, 0, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.live-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

/* --- Ticker -------------------------------------------------------------- */

.ticker {
  background: var(--yellow);
  color: var(--black);
}

.ticker ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin: 0;
  padding: 11px 0;
  list-style: none;
}

.ticker li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ticker li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--red);
}

/* --- Inner page hero ----------------------------------------------------- */

.page-hero {
  padding: clamp(36px, 5vw, 68px) 0 clamp(30px, 4vw, 48px);
  background:
    radial-gradient(760px 420px at 86% 0%, rgba(254, 215, 0, 0.08), transparent 64%),
    var(--black);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(28px, 4vw, 54px);
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.15rem, 4.2vw, 3.5rem);
}

.page-hero .lead {
  margin-top: 18px;
}

.page-hero .shot-link {
  min-width: 0;
}

.page-hero .shot-link img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 330px;
  margin-inline: auto;
  object-fit: contain;
  background: #0a0a0a;
}

.page-hero-shot--portrait {
  justify-self: center;
  max-width: 300px;
}

.page-hero-shot--portrait .shot-link img {
  max-height: 420px;
}

/* --- Article ------------------------------------------------------------- */

.article {
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  padding: clamp(38px, 5vw, 62px) 0 clamp(40px, 6vw, 72px);
}

.article p,
.article li {
  max-width: 74ch;
}

.article p {
  color: #d7d7d7;
}

.article h2 {
  position: relative;
  max-width: 26ch;
  margin: 0 0 22px;
  padding-top: 26px;
  font-size: clamp(1.62rem, 2.9vw, 2.28rem);
}

.article h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 4px;
  background: var(--yellow);
}

.article h3 {
  margin: 30px 0 12px;
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.005em;
  color: var(--white);
}

.article h2 + p {
  margin-top: 0;
}

.article ul,
.article ol {
  margin: 0 0 1.2em;
  padding-left: 1.25em;
}

.article li {
  margin-bottom: 0.5em;
  color: #d7d7d7;
}

.article li::marker {
  color: var(--yellow);
  font-weight: 800;
}

.article ul li::marker {
  content: "■ ";
  font-size: 0.62em;
}

.content-section {
  padding-top: clamp(34px, 4.4vw, 52px);
  margin-top: clamp(34px, 4.4vw, 52px);
  border-top: 1px solid var(--border-soft);
}

.content-section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.content-section h2:first-child {
  margin-top: 0;
}

/* --- TOC ----------------------------------------------------------------- */

.toc {
  margin: 0 0 clamp(34px, 4.4vw, 52px);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 20px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.toc summary::-webkit-details-marker {
  display: none;
}

.toc summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.toc[open] summary {
  border-bottom: 1px solid var(--border);
}

.toc[open] summary::after {
  content: "–";
}

.toc summary:hover {
  color: var(--yellow);
}

.toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 12px 20px 18px 20px;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.toc li::before {
  content: counter(toc, decimal-leading-zero);
  margin-right: 10px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
}

.toc a {
  color: #d7d7d7;
  font-size: 0.88rem;
  text-decoration: none;
}

.toc a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

/* --- Tables -------------------------------------------------------------- */

.table-wrap {
  margin: 26px 0 28px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  text-align: left;
}

.table-wrap caption {
  padding: 16px 20px 4px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.table-wrap th,
.table-wrap td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
  font-size: 0.9rem;
  line-height: 1.5;
}

.table-wrap th {
  color: var(--white);
  font-weight: 800;
}

.table-wrap td {
  color: #d2d2d2;
}

.table-wrap tbody th {
  width: 38%;
  color: var(--muted);
  font-weight: 600;
}

.table-wrap tbody tr:last-child th,
.table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.table-wrap tbody tr:hover td,
.table-wrap tbody tr:hover th {
  background: rgba(254, 215, 0, 0.04);
}

/* --- Figures ------------------------------------------------------------- */

.shot {
  margin: 26px 0 30px;
}

.shot .shot-link {
  border-radius: var(--radius);
}

.shot figcaption {
  padding: 12px 2px 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.shot figcaption::before {
  content: "Fig. ";
  color: var(--yellow);
  font-weight: 800;
}

/* --- Notes and steps ----------------------------------------------------- */

.note {
  margin: 0 0 30px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.note-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.note p {
  margin: 0;
  font-size: 0.92rem;
}

.steps {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  counter-increment: steps;
  max-width: 74ch;
  margin: 0 0 14px;
  padding: 0 0 14px 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.steps li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.steps li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
}

.steps strong {
  display: block;
  margin-bottom: 3px;
}

/* --- FAQ ----------------------------------------------------------------- */

.faq {
  margin-top: 24px;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  position: relative;
  padding: 20px 48px 20px 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary:hover {
  color: var(--yellow);
}

.faq-item p {
  max-width: 74ch;
  margin: 0 0 20px;
  padding-right: 12px;
  color: #cfcfcf;
  font-size: 0.94rem;
}

/* --- CTA band ------------------------------------------------------------ */

.cta-band {
  background: var(--yellow);
  color: var(--black);
  padding: clamp(30px, 4vw, 46px) 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.cta-band .eyebrow {
  margin-bottom: 8px;
  color: rgba(0, 0, 0, 0.68);
}

.cta-band .dot {
  background: var(--black);
  box-shadow: none;
}

.cta-band-title {
  max-width: 24ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--black);
}

.cta-band p {
  max-width: 52ch;
  margin: 8px 0 0;
  color: rgba(0, 0, 0, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cta-band .btn-primary {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  flex: 0 0 auto;
}

.cta-band .btn-primary:hover {
  background: #262626;
  border-color: #262626;
  color: var(--white);
}

/* --- Author -------------------------------------------------------------- */

.author {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  margin: 24px 0 48px;
  padding: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.author-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  background: var(--yellow);
  border-radius: 50%;
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.author-name {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.author-role {
  margin: 2px 0 0;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.author-bio {
  margin: 10px 0 0;
  color: #cfcfcf;
  font-size: 0.9rem;
  line-height: 1.6;
}

.author-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.72rem;
}

.author-meta li {
  margin: 0;
}

.author-meta span {
  color: var(--white);
  font-weight: 700;
}

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  background: #080808;
  border-top: 1px solid var(--border);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 1.3fr 1.05fr;
  gap: 34px;
  padding: clamp(42px, 5vw, 64px) 0 40px;
}

.footer-brand img {
  width: auto;
  height: 42px;
  max-width: 124px;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-desc {
  max-width: 38ch;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.footer-disclosure {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  color: #8f8f8f;
  font-size: 0.72rem;
  line-height: 1.6;
}

.footer-title {
  margin: 0 0 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  display: inline-block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.83rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer-contact li {
  margin: 0 0 8px;
}

.footer-contact a {
  color: var(--white);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.footer-contact span {
  display: block;
  color: #8b8b8b;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-icons {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  gap: 10px;
}

.footer-icons .pay-icon {
  display: flex;
  align-items: center;
}

.footer-icons a.pay-icon {
  text-decoration: none;
}

.footer-icons a.pay-icon:hover span {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.footer-icons .pay-icon span {
  width: 30px;
  height: 30px;
  margin-left: 5px;
  font-size: 12px;
  border-radius: 100%;
  border: 1px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-icons .pay-icon img {
  display: block;
  filter: brightness(100);
}

.payments-wrap {
  margin: 0 0 26px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.payments-wrap h4 {
  color: #fff;
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.payments-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  margin: 20px 0;
}

.payment-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-item img {
  display: block;
  box-shadow: none;
  margin: 0 !important;
  border-radius: 0;
  border: none;
  max-width: 70px;
  max-height: 30px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--border);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #8f8f8f;
  font-size: 0.72rem;
}

.footer-legal a {
  color: #8f8f8f;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.footer-age-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.footer-age-text {
  max-width: 24ch;
  margin: 0;
  color: #8f8f8f;
  font-size: 0.7rem;
  line-height: 1.45;
}

.footer-parent {
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-parent a {
  color: var(--white);
}

@media (max-width: 800px) {
  .payments-grid {
    gap: 16px;
  }

  .payment-item img {
    max-width: 65px;
    max-height: 30px;
  }
}

@media (max-width: 640px) {
  .payments-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --- Mobile dock / dialog ------------------------------------------------ */

.mobile-dock {
  display: none;
}

.cta-dialog {
  width: min(440px, calc(100vw - 32px));
  padding: 0;
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

.cta-dialog::backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(5px);
}

.dialog-body {
  position: relative;
  padding: 28px;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
}

.dialog-close:hover {
  background: var(--ink);
  border-color: var(--muted);
}

.dialog-title {
  max-width: 15ch;
  margin: 0 0 10px;
  font-size: 1.9rem;
}

.dialog-copy {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.dialog-actions {
  display: grid;
  gap: 10px;
}

.dialog-note {
  margin: 16px 0 0;
  color: #8f8f8f;
  font-size: 0.7rem;
  line-height: 1.5;
}

/* --- Utilities ----------------------------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 1080px) {
  .site-nav ul {
    gap: 17px;
  }

  .site-nav a {
    font-size: 0.8rem;
  }

  .header-bar {
    gap: 18px;
  }

  .footer-main {
    grid-template-columns: 1.4fr 1fr 1.1fr;
  }

  .footer-col--contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 900px) {
  body {
    padding-bottom: 88px;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    z-index: 99;
    display: none;
    max-height: calc(100dvh - 74px);
    padding: 8px var(--gutter) 26px;
    overflow-y: auto;
    background: #070707;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: 1rem;
    white-space: normal;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a[aria-current="page"] {
    color: var(--yellow);
  }

  .nav-toggle {
    display: inline-flex;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-nav {
    display: block;
  }

  .hero-grid,
  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 20ch;
  }

  .hero-visual {
    max-width: 640px;
  }

  .page-hero-grid .shot {
    order: 2;
    margin-bottom: 0;
  }

  .page-hero .shot-link img {
    max-height: 280px;
  }

  .mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 98;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 -14px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    visibility: hidden;
    transform: translateY(110%);
    transition: transform 0.22s var(--ease), visibility 0.22s var(--ease);
  }

  .mobile-dock.is-visible {
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-dock .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
  }

  .mobile-dock-note {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col--contact {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .author {
    margin-bottom: 40px;
  }

  .cta-band-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .cta-band .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .header-bar {
    min-height: 68px;
    gap: 12px;
  }

  .brand img {
    height: 32px;
    max-width: 92px;
  }

  .site-nav {
    top: 68px;
    max-height: calc(100dvh - 68px);
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .hero h1 {
    letter-spacing: -0.032em;
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .hero-facts li {
    padding-right: 0;
  }

  .hero-facts li:last-child {
    grid-column: 1 / -1;
  }

  .toc ol {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article {
    padding-bottom: 34px;
  }

  .article h2 {
    max-width: 22ch;
  }

  .cta-band {
    padding: 28px 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 38px;
  }

  .footer-brand,
  .footer-col--contact {
    grid-column: auto;
  }

  .footer-col--contact {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .shot figcaption {
    padding-top: 9px;
  }
}

@media (max-width: 460px) {
  .header-actions .btn {
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-facts li:last-child {
    grid-column: auto;
  }

  .ticker ul {
    gap: 8px 14px;
  }

  .ticker li {
    font-size: 0.64rem;
  }

  .author {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .author-avatar {
    width: 52px;
    height: 52px;
    font-size: 1rem;
  }

  .mobile-dock-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
