@font-face {
  font-family: 'Chakra Petch';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/chakra-petch-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/chakra-petch-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/chakra-petch-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Barlow';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/barlow-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/barlow-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/barlow-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/barlow-latin-700-normal.woff2') format('woff2');
}

/* ==========================================================================
   SerpentX Tech — Media Kit
   Rebuilt as static HTML/CSS under SerpentX ownership.
   Every value is a token below; nothing is hardcoded further down.
   ========================================================================== */

:root {
  /* Palette — sampled from the original build */
  --ink:        #0e0f12;
  --ink-soft:   #16181d;
  --panel:      #eceef1;
  --paper:      #f7f8fa;
  --gold:       #f9b81b;
  --gold-deep:  #c77f0a;
  --gold-ink:   #966008;  /* 4.97:1 on --paper, 4.55:1 on --panel — AA for small text */
  --steel:      #a7abb4;
  --live-red:   #e5262b;  /* the LIVE dot, as in the original */
  --tick-green: #2bd84a;  /* the BTC/USD ticker arrow */

  --line-dark:  rgba(255,255,255,.12);
  --line-light: rgba(14,15,18,.15);

  --font-display: 'Chakra Petch', 'Segoe UI', sans-serif;
  --font-body:    'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --wrap: 1200px;
  --ease: 0.3s ease;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; transition: color var(--ease); }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.6rem, 8vw, 5.5rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.25rem); letter-spacing: -0.01em; }
p  { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.5rem); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--ink); padding: .8rem 1.2rem; font-weight: 700; }
.skip:focus { left: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  display: flex; align-items: center; gap: .85rem; margin: 0 0 1.25rem; color: var(--gold);
}
.eyebrow::before { content: ""; width: 2.1rem; height: 3px; background: var(--gold); flex: none; }
.label {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--steel); margin: 0 0 .35rem;
}
.grid-bg {
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  padding: .95rem 1.5rem; border: 2px solid transparent;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}
.btn svg { width: 1em; height: 1em; flex: none; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffc93d; color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.3); color: var(--paper); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- header ---------- */
.site-head {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(14,15,18,.88); backdrop-filter: blur(10px);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--paper); }
.brand picture { display: block; flex: none; }
.brand img { height: 40px; width: auto; object-fit: contain; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; }
.site-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.site-nav a {
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--steel); text-decoration: none;
}
.site-nav a:hover { color: var(--gold); }
.site-nav .cta a {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--gold); color: var(--ink); padding: .45rem .85rem; font-weight: 700;
  transition: background-color var(--ease);
}
.site-nav .cta a:hover { background: #ffc93d; color: var(--ink); }
.site-nav .cta svg { width: 1em; height: 1em; flex: none; }
@media (max-width: 62rem) {
  /* a scrollable strip rather than a disappearing nav */
  .site-head .wrap { flex-wrap: wrap; row-gap: .5rem; padding-block: .7rem .5rem; }
  .brand { flex: 1 1 100%; }
  .site-nav { flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { flex-wrap: nowrap; gap: 1.15rem; padding-bottom: .35rem; }
  .site-nav a { white-space: nowrap; }
  .site-nav .cta a { padding: .4rem .7rem; }
}

/* ---------- hero ---------- */
.hero { background: var(--ink); padding-top: 4.5rem; position: relative; overflow: hidden; }
@media (max-width: 62rem) { .hero { padding-top: 6.25rem; } }
.hero::after {
  content: ""; position: absolute; width: 40rem; height: 40rem; right: -10rem; top: 10%;
  background: radial-gradient(circle, rgba(249,184,27,.14), transparent 68%); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(3rem, 8vw, 6rem); display: grid; gap: 3rem; align-items: center; }
@media (min-width: 64rem) { .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 4rem; } }
.hero h1 { margin-bottom: .35em; }
.tagline {
  font-family: var(--font-mono); font-size: clamp(.78rem, 1.3vw, .92rem); font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.75rem;
}
.hero .lede { font-size: clamp(1rem, 1.35vw, 1.1rem); color: #c7cad1; max-width: 48ch; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.rig { border: 2px solid var(--gold); background: rgba(255,255,255,.02); padding: 1.5rem; }
.rig img { width: 100%; max-width: 22rem; margin-inline: auto;
           filter: drop-shadow(0 0 32px rgba(249,184,27,.18)); }

/* ---------- social row ---------- */
.social { list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .6rem; }
.social a {
  display: block; text-decoration: none; padding: .8rem .9rem;
  border: 1px solid var(--line-dark); color: var(--steel);
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  transition: border-color var(--ease), color var(--ease), background-color var(--ease);
}
.social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(249,184,27,.06); }

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.on-dark  { background: var(--ink); color: var(--paper); }
.on-light { background: var(--panel); color: var(--ink); }
.on-light .eyebrow { color: var(--gold-ink); }
.on-light .eyebrow::before { background: var(--gold-ink); }
.on-light .label { color: rgba(14,15,18,.62); }
.section-head { display: grid; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 60rem) { .section-head { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: #b4b8c0; }
.on-light .section-head p { color: rgba(14,15,18,.68); }

/* ---------- category cards ---------- */
.cards { display: grid; gap: 0; border: 2px solid var(--ink); }
@media (min-width: 46rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70rem) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  padding: 1.6rem; background: var(--paper); position: relative;
  border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
  transition: background-color var(--ease);
}
.card:hover { background: #fff; }
.card h3 { margin-bottom: .7rem; color: var(--ink); }
.card p { font-size: .95rem; color: rgba(14,15,18,.7); margin: 0; }
.card .label { color: rgba(14,15,18,.62); }

/* ---------- videos ---------- */
.videos { display: grid; gap: 1.5rem; }
@media (min-width: 46rem) { .videos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70rem) { .videos { grid-template-columns: repeat(3, 1fr); } }
.video {
  border: 1px solid var(--line-dark); background: rgba(255,255,255,.02);
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: border-color var(--ease), background-color var(--ease), transform var(--ease);
}
.video:hover { border-color: var(--gold); background: rgba(249,184,27,.05); transform: translateY(-2px); }
.video .thumb { position: relative; aspect-ratio: 16 / 9; background: var(--ink-soft); overflow: hidden; }
.video .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,15,18,.55), transparent 55%);
}
.video .body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.video h3 {
  font-size: .98rem; line-height: 1.25; margin: 0; text-transform: none;
  letter-spacing: -0.005em; color: var(--paper);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.video .watch {
  margin-top: auto; font-family: var(--font-mono); font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: .45rem;
}
.video:hover .watch { color: #ffc93d; }

/* loading and failure states for the feed */
.video.is-skeleton { pointer-events: none; }
.video.is-skeleton .thumb { background: #1b1e27; }
.video.is-skeleton .line { height: .72rem; background: #1b1e27; border-radius: 2px; }
.video.is-skeleton .line + .line { width: 65%; margin-top: .5rem; }
@media (prefers-reduced-motion: no-preference) {
  .video.is-skeleton .thumb, .video.is-skeleton .line { animation: pulse 1.6s ease-in-out infinite; }
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

.feed-note {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em;
  color: var(--steel); margin: 1.5rem 0 0; text-align: center;
}
.feed-note a { color: var(--gold); }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--steel); border-top: 3px solid var(--gold); padding-block: 2.5rem; }
.site-foot .wrap { display: grid; gap: 1.25rem; }
.foot-top { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.4rem; }
.foot-links a {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--steel);
}
.foot-links a:hover { color: var(--gold); }
.site-foot .legal {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: #8b9099; margin: 0; line-height: 1.7;
  border-top: 1px solid var(--line-dark); padding-top: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
