/* Joshua Palassis, The Connector. One stylesheet for every page.
   The look: his neon jungle studio (black, deep green, amber gold, a touch of red). The studio photo shows
   behind everything; photos and panels have no hard borders, their edges fade into it (vignette / feather).
   Type matches his share card: headings in Archivo Black (semi-condensed, like "GET SEEN."), the small
   gold labels above them in Knewave (like "FIGHT CLUB"), nav and reading text in Roboto. */

:root {
  --bg: #060807;
  --bg-raised: #0b120e;
  --panel: rgba(9, 14, 11, 0.8);           /* fill of a feathered panel */
  --feather: 0 0 30px 12px rgba(9, 14, 11, 0.8); /* the same colour blurred outward: a soft edge, no border */
  --line: rgba(170, 200, 180, 0.14);
  --line-gold: rgba(255, 194, 26, 0.38);
  --text: #f3f0e7;
  --muted: #b3bdb5;
  --gold: #ffc21a;
  --gold-soft: #ffd86b;
  --gold-ink: #161000;
  --red: #ff4433;
  --green: #3e8a5f;
  --glow-gold: 0 0 22px rgba(255, 194, 26, 0.32);
  /* Photos fade into the background at the sides and bottom; the top edge stays, so heads keep their room. */
  --fade-x: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  --fade-y: linear-gradient(180deg, #000 72%, transparent);
  --radius: 14px;
  --radius-sm: 10px;
  --font-head: "Archivo", "Archivo Black", Impact, system-ui, sans-serif;
  --font-brush: "Knewave", "Archivo", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
  --max: 1120px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* Knewave has one weight; never let the browser fake a bold version of it. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-synthesis: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-soft); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 900; font-stretch: 87.5%; line-height: 1.05; margin: 0 0 0.5em; letter-spacing: -0.005em; }
h1 { text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); text-transform: uppercase; }
h3, .h3 { font-size: 1.05rem; font-weight: 800; }
p { margin: 0 0 1em; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--gold-ink); padding: 12px 16px; min-height: 44px; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- background: his studio photo, shown as is. A fixed layer, because iPhone ignores background-attachment: fixed ---------- */
.page-bg {
  position: fixed; inset: 0; z-index: -2;
  background: #060807 url("../assets/img/bg-landscape.webp") center / cover no-repeat;
}
@media (orientation: portrait) {
  .page-bg { background-image: url("../assets/img/bg-portrait.webp"); }
}

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 56px 0; }
.section--tight { padding: 32px 0; }
.band { background: none; }
.center { text-align: center; }
/* The small gold label above a heading, in the "FIGHT CLUB" brush font. */
.eyebrow {
  font: 400 1.15rem/1.2 var(--font-brush); letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 8px;
}
.lede { font-size: 1.1rem; color: var(--text); }
.muted { color: var(--muted); }
.intro { color: var(--muted); max-width: 620px; margin: 0 auto 26px; font-size: 1rem; }
.stack-sm > * + * { margin-top: 10px; }
/* Reading text over the photo keeps a soft shadow so it stays clear where the leaves are bright. */
.hero, .section { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 700 0.92rem/1.2 var(--font-body); letter-spacing: 0.01em; text-decoration: none; text-shadow: none;
  border: 1px solid transparent; cursor: pointer; transition: box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--gold:hover { color: var(--gold-ink); background: var(--gold-soft); box-shadow: var(--glow-gold); }
.btn--ghost { background: rgba(6, 8, 7, 0.6); color: var(--text); border-color: var(--line-gold); }
.btn--ghost:hover { color: var(--text); border-color: var(--gold); box-shadow: var(--glow-gold); }
/* Neon sign: a black pill with a gold outline, and the words outlined in gold to match. Fills in on hover. */
.btn--neon {
  background: #000; color: var(--gold); border: 1.5px solid var(--gold);
  font: 900 0.95rem/1.2 var(--font-head); font-stretch: 87.5%; letter-spacing: 0.05em; text-transform: uppercase;
  -webkit-text-fill-color: transparent; -webkit-text-stroke: 1px var(--gold);
  box-shadow: 0 0 14px rgba(255, 194, 26, 0.35), inset 0 0 12px rgba(255, 194, 26, 0.16);
}
.btn--neon:hover {
  color: var(--gold); -webkit-text-fill-color: var(--gold);
  box-shadow: 0 0 24px rgba(255, 194, 26, 0.55), inset 0 0 16px rgba(255, 194, 26, 0.24);
}
.btn--small { min-height: 44px; padding: 10px 18px; font-size: 0.85rem; }
.btn--neon.btn--small { font-size: 0.88rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.center .actions, .actions.center { justify-content: center; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 8, 7, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.7);
}
.site-head__inner { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 900 1.1rem/1 var(--font-head); font-stretch: 87.5%; letter-spacing: 0.01em; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--muted); text-decoration: none; font: 400 0.95rem/1 var(--font-body); letter-spacing: 0.01em;
  padding: 10px 12px; border-radius: 999px;
}
.nav a:hover { color: var(--text); }
/* The page you are on: bold yellow. */
.nav a[aria-current="page"] { color: var(--gold); font-weight: 700; }
.site-head .btn { margin-left: 8px; }
@media (max-width: 860px) {
  .site-head .btn { display: none; }
}
@media (max-width: 600px) {
  .site-head__inner { flex-wrap: wrap; justify-content: center; gap: 4px; padding-top: 10px; padding-bottom: 6px; }
  .nav { margin: 0; width: 100%; justify-content: center; }
  .nav a { padding: 10px 9px; font-size: 0.88rem; }
}

/* ---------- hero ---------- */
.hero { padding: 48px 0 56px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 0.98;
  text-transform: uppercase; margin-bottom: 22px;
}
.hero h1 span { display: block; }
.neon-outline {
  color: var(--gold); /* the real colour, for contrast checkers and browsers without text-stroke */
  -webkit-text-fill-color: transparent; -webkit-text-stroke: 2px var(--gold);
  filter: drop-shadow(0 0 10px rgba(255, 194, 26, 0.45));
  text-shadow: none;
}
.neon-red { color: var(--red); text-shadow: 0 0 22px rgba(255, 68, 51, 0.35); }
.hero .lede { max-width: 540px; margin-bottom: 24px; }
/* Photos with no frame: every edge fades into the background. */
.portrait, .banner, .links-card {
  -webkit-mask-image: var(--fade-x), var(--fade-y); -webkit-mask-composite: source-in;
          mask-image: var(--fade-x), var(--fade-y);         mask-composite: intersect;
}
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* Wide screens: the hero photo stands at the right edge of the window, full height of the top section,
   over the microphone in the background photo; its left side and bottom fade into the page. */
@media (min-width: 1000px) {
  /* The top section fills the first screen, so the photo reaches the bottom of the window. */
  .hero { position: relative; display: flex; align-items: center; min-height: max(560px, calc(100vh - 66px)); }
  .hero > .container { width: 100%; }
  .hero__grid, .hero .split { grid-template-columns: minmax(0, 1fr); }
  .hero__grid > :first-child, .hero .split > :not(.hero__photo) { max-width: 560px; }
  .hero .hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: clamp(420px, 40vw, 640px); }
  .hero .hero__photo .portrait {
    height: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%), linear-gradient(180deg, #000 85%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 30%), linear-gradient(180deg, #000 85%, transparent);
  }
  .hero .hero__photo .portrait img { height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 10%; }
}
@media (max-width: 860px) {
  .hero { padding: 28px 0 44px; }
  .hero__grid { grid-template-columns: 1fr; gap: 22px; }
  .hero__photo { max-width: 440px; width: 100%; margin: 0 auto; order: -1; }
  .hero__photo .portrait img { aspect-ratio: 4 / 3; object-position: 50% 18%; }
}

/* ---------- panels: no border, a soft feathered edge ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }
.card {
  background: var(--panel); box-shadow: var(--feather); border-radius: 24px;
  padding: 26px; transition: box-shadow 0.25s;
}
.card:hover { box-shadow: var(--feather), 0 0 60px rgba(255, 194, 26, 0.08); }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card__icon { width: 44px; height: 44px; color: var(--gold); margin-bottom: 16px; }
.card__icon svg { width: 100%; height: 100%; }

/* ---------- Fight Club banner (the fist wall, as a wide strip, edges faded) ---------- */
.banner { position: relative; margin-bottom: 18px; }
.banner img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; }
@media (max-width: 600px) { .banner img { aspect-ratio: 16 / 9; } }

/* ---------- testimonial cards: 16:9 thumbnails of the original screenshots ---------- */
.proof__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.proof__head h2 { margin: 0; }
.proof__hint { color: var(--muted); font-size: 0.95rem; margin: 6px 0 0; }
.reel-toggle { background: rgba(6, 8, 7, 0.6); color: var(--muted); border: 1px solid var(--line); }
.reel-toggle:hover { color: var(--text); border-color: var(--line-gold); }
.reel {
  position: relative; /* card positions are measured from the row */
  overflow-x: auto; scroll-snap-type: x mandatory; /* without the script: a row you can swipe */
  padding: 14px 0; margin: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.reel.is-live { overflow: hidden; scroll-snap-type: none; touch-action: pan-y; cursor: grab; }
.reel.is-live.is-dragging { cursor: grabbing; }
.reel__track { display: flex; align-items: center; gap: 22px; width: max-content; padding: 0 var(--gutter); will-change: transform; }
/* One card: the screenshot, whole, on its white page; the page fades into the background at the edges,
   and the name sits on the faded bottom edge. A click opens the readable card (js/quotes.js). */
.tcard {
  --focus: 1;
  --w: 256px; /* card width; small and large cards vary it (tcard--s, tcard--l) */
  position: relative; flex: none; width: var(--w); height: calc(var(--w) * 9 / 16 + 24px); margin: 0;
  scroll-snap-align: center; cursor: pointer; user-select: none; transform-origin: center;
  text-shadow: none;
}
/* The page fades out evenly on all four sides (two soft bands, crossed). */
.tcard__thumb {
  position: absolute; inset: 0 0 24px; display: grid; place-items: center; padding: 10% 9%;
  background: #f4f2ec;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent), linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent), linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
          mask-composite: intersect;
  filter: brightness(calc(0.7 + var(--focus) * 0.16));
  transition: filter 0.2s;
}
.tcard__thumb img { width: 100%; height: 100%; object-fit: contain; }
/* The name has its own strip under the page, so it never covers the screenshot. */
.tcard figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; height: 22px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font: 600 0.8rem/1.2 var(--font-body); color: var(--text);
  text-shadow: 0 0 8px #000, 0 0 3px #000;
}
.tcard:hover .tcard__thumb, .tcard:focus-visible .tcard__thumb { filter: brightness(0.98); }
.tcard:hover figcaption, .tcard:focus-visible figcaption { color: var(--gold); }
.tcard:focus-visible { outline-offset: 6px; }
.stars { color: var(--gold); letter-spacing: 0.15em; font-size: 0.85rem; }
.tcard--s { --w: 196px; }
.tcard--l { --w: 330px; }
@media (max-width: 600px) { .tcard { --w: 206px; } .tcard--s { --w: 160px; } .tcard--l { --w: 262px; } }

/* ---------- testimonials page: the same cards, fitted together like a puzzle ----------
   4 columns of 16:9 cells (2 on phones). Big cards take 2x2 cells, wide ones 2x1; the order in the HTML
   is chosen so every row fills with no holes. */
.tpuzzle { container-type: inline-size; }
.tpuzzle__grid {
  --gap: 18px;
  display: grid; gap: var(--gap); grid-auto-flow: dense;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: calc((100cqw - 3 * var(--gap)) / 4 * 9 / 16);
}
/* Solid cards here: the whole screenshot on a white card, name on a dark bar, no fading. */
.tpuzzle .tcard {
  width: auto; height: auto; background: var(--bg-raised); border-radius: 12px; overflow: hidden;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.9);
}
.tpuzzle .tcard__thumb { inset: 0 0 30px; -webkit-mask-image: none; mask-image: none; filter: none; }
.tpuzzle .tcard figcaption { height: 30px; line-height: 30px; background: var(--bg-raised); text-shadow: none; }
.tpuzzle .tcard:hover, .tpuzzle .tcard:focus-visible { box-shadow: 0 0 0 2px var(--gold), 0 14px 34px -14px rgba(0, 0, 0, 0.9); }
.tpuzzle .tcard.is-big { grid-column: span 2; grid-row: span 2; }
.tpuzzle .tcard.is-wide { grid-column: span 2; }
.tpuzzle .tcard.is-big figcaption { font-size: 0.95rem; }
@media (max-width: 700px) {
  .tpuzzle__grid { --gap: 12px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: calc((100cqw - var(--gap)) / 2 * 9 / 16); }
}

/* ---------- the readable card a testimonial opens in (solid, edges feathered into the dimmed page) ---------- */
.qdialog {
  padding: 0; border: 0; background: transparent; color: var(--text);
  width: min(92vw, 620px); max-width: none; max-height: none; overflow: visible;
}
.qdialog::backdrop { background: rgba(4, 6, 5, 0.86); backdrop-filter: blur(3px); }
.qdialog__card {
  position: relative; max-height: 86vh; overflow: auto; padding: 34px 30px 26px;
  background: var(--bg-raised); border-radius: 22px;
  box-shadow: 0 0 40px 18px var(--bg-raised), 0 0 120px rgba(255, 194, 26, 0.12);
}
.qdialog__body { margin: 0; }
.qdialog__body blockquote { margin: 0; }
.qdialog__body p { font-size: 1.08rem; line-height: 1.75; margin: 0 0 1em; }
.qdialog__body blockquote > p:first-child::before { content: "\201C"; color: var(--gold); font: 900 2rem/0 var(--font-head); margin-right: 6px; vertical-align: -0.4em; }
.qdialog__body figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 16px; margin-top: 6px; border-top: 1px solid var(--line); }
.qdialog__body figcaption b { font: 700 1.1rem/1.3 var(--font-body); }
.qdialog__body figcaption span { color: var(--muted); font-size: 0.9rem; }
.qdialog__close {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.qdialog__close:hover { border-color: var(--gold); color: var(--gold); }
.qdialog form { margin: 0; }
.qdialog__shot { width: 100%; margin-top: 14px; border-radius: var(--radius-sm); background: #fff; }
.linkbtn { background: none; border: 0; padding: 12px 0; min-height: 44px; color: var(--gold-soft); font: 600 0.9rem var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .qdialog__card { padding: 30px 20px 20px; } .qdialog__body p { font-size: 1rem; } }

/* ---------- video (edges faded like the photos) ---------- */
.video {
  position: relative; max-width: 860px; margin: 0 auto; aspect-ratio: 16 / 9; background: #000;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
          mask-composite: intersect;
}
.video iframe, .video button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button { padding: 0; cursor: pointer; background: #000; }
.video button img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.2s; }
.video button:hover img { opacity: 1; }
.video .play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; box-shadow: var(--glow-gold);
}
.video .play svg { width: 30px; height: 30px; margin-left: 4px; }

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.split--flip { grid-template-columns: 1.15fr 0.85fr; }
.split--flip > :first-child { order: 2; }
@media (max-width: 860px) {
  .split, .split--flip { grid-template-columns: 1fr; gap: 30px; }
  .split--flip > :first-child { order: 0; }
  .split .portrait { max-width: 440px; }
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.stat { background: var(--panel); box-shadow: 0 0 22px 8px rgba(9, 14, 11, 0.8); border-radius: 18px; padding: 16px; }
.stat b { display: block; font: 900 1.6rem/1 var(--font-head); font-stretch: 87.5%; color: var(--gold); margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 0.85rem; line-height: 1.35; display: block; }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list-check li { position: relative; padding-left: 28px; color: var(--muted); }
.list-check li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 10px; height: 10px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 10px rgba(255, 194, 26, 0.55); transform: rotate(45deg); }
.list-x li::before { background: var(--red); box-shadow: 0 0 10px rgba(255, 68, 51, 0.5); }
.chapter h3 { color: var(--gold); font-size: 1.15rem; text-transform: uppercase; font-family: var(--font-brush); font-weight: 400; letter-spacing: 0.02em; margin-bottom: 4px; }
.quote-line {
  font: 900 clamp(1.6rem, 4vw, 2.6rem)/1.1 var(--font-head); font-stretch: 87.5%; text-transform: uppercase; text-align: center; margin: 0;
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 18px; }
.faq details { background: var(--panel); box-shadow: 0 0 22px 8px rgba(9, 14, 11, 0.8); border-radius: 18px; padding: 0 20px; }
.faq details[open] { box-shadow: 0 0 22px 8px rgba(9, 14, 11, 0.8), 0 0 40px rgba(255, 194, 26, 0.08); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; color: var(--gold); font-size: 1.4rem; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* ---------- call to action panel ---------- */
.cta {
  text-align: center; padding: 40px 24px; border-radius: 28px;
  background: radial-gradient(ellipse 55% 75% at 50% 0%, rgba(62, 138, 95, 0.22), transparent 100%), var(--panel);
  box-shadow: 0 0 44px 18px rgba(9, 14, 11, 0.8);
}
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 22px; }

/* ---------- links page ---------- */
.links-page { max-width: 600px; margin: 0 auto; }
.links-card { margin-bottom: 18px; }
.links-card img { width: 100%; }
.links-intro { text-align: center; margin-bottom: 26px; }
.links-intro h1 { font-size: clamp(1.6rem, 5vw, 2.1rem); text-transform: uppercase; margin-bottom: 4px; }
.links-intro p { color: var(--muted); margin: 0; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
/* Every link is a darker gold button; the Fight Club (Skool) link is the bright gold one. */
.link-list a {
  display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 18px;
  background: #c4920f; border-radius: 16px; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.9);
  color: var(--gold-ink); text-decoration: none; text-shadow: none; transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.link-list a:hover { background: #d9a414; box-shadow: var(--glow-gold); transform: translateY(-1px); color: var(--gold-ink); }
.link-list a.is-main { background: var(--gold); box-shadow: 0 0 26px rgba(255, 194, 26, 0.4); }
.link-list a.is-main:hover { background: var(--gold-soft); }
.link-list svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.link-list .txt { display: flex; flex-direction: column; line-height: 1.3; }
.link-list .name { font-weight: 700; }
.link-list .sub { color: rgba(22, 16, 0, 0.78); font-size: 0.85rem; }
.link-list .arrow { margin-left: auto; opacity: 0.6; }

/* ---------- footer (fades up out of the background, no hard line) ---------- */
.site-foot {
  margin-top: 12px; padding: 52px 0 28px; font-size: 0.92rem;
  background: linear-gradient(180deg, transparent, rgba(4, 6, 5, 0.92) 70px);
}
.site-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-foot h2 { font: 400 1.05rem/1.2 var(--font-brush); letter-spacing: 0.02em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.site-foot li a, .site-foot__base a { display: inline-block; padding: 5px 0; min-height: 32px; min-width: 44px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--text); }
.site-foot .tagline { color: var(--muted); max-width: 320px; }
.app-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.app-tools button { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.app-tools button:hover { color: var(--text); border-color: var(--line-gold); }
.app-status { color: var(--muted); font-size: 0.85rem; min-height: 1.2em; margin: 8px 0 0; }
.site-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
@media (max-width: 760px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } .site-foot__brand { grid-column: 1 / -1; } }

/* ---------- small screens ---------- */
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .section { padding: 40px 0; }
  .lede { font-size: 1.05rem; }
  .card { padding: 22px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .stat { padding: 12px; }
  .stat b { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
