/* AndroVolt — design system v2: light industrial / "hazard sign" aesthetic.
   Deliberately NOT a dark neon-glow theme (see cryptopatolog.com) — instead:
   warm paper background, navy header/footer bookends, black/amber hazard
   stripes as the recurring motif, flat hard-bordered cards (no shadows/glow),
   chamfered-corner image frames. Palette lifted from the channel logo. */

:root {
  --color-bg: #FAF7F0;
  --color-surface: #FFFFFF;
  --color-surface-2: #F1ECE0;
  --color-ink: #14192B;
  --color-navy: #1F2E73;
  --color-navy-dark: #141B4D;
  --color-amber: #F8B13B;
  --color-orange: #F6783D;
  --color-muted: #5B6270;
  --color-border: #14192B;
  --color-on-accent: #14192B;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 20px;
  --space-5: 28px;
  --space-6: 40px;
  --space-7: 64px;
  --space-8: 96px;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-full: 999px;

  --duration-base: 160ms;
  --ease: cubic-bezier(.4, 0, .2, 1);

  --hazard-size: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 var(--space-4); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--color-amber); color: var(--color-ink);
  padding: var(--space-2) var(--space-4); font-weight: 700;
}
.skip-link:focus { left: var(--space-3); top: var(--space-3); }

:focus-visible { outline: 2px solid var(--color-navy); outline-offset: 2px; }

/* ===== Hazard stripe divider — the recurring brand motif ===== */
.hazard-strip {
  height: 10px;
  background: repeating-linear-gradient(
    45deg,
    var(--color-ink) 0 var(--hazard-size),
    var(--color-amber) var(--hazard-size) calc(var(--hazard-size) * 2)
  );
  border-top: 2px solid var(--color-ink);
  border-bottom: 2px solid var(--color-ink);
}

/* ===== Buttons — flat, hard-edged, black-on-amber (hazard-sign convention) ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 13px 26px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--duration-base) var(--ease), color var(--duration-base) var(--ease), transform var(--duration-base) var(--ease);
}
.btn-primary {
  background: var(--color-amber);
  color: var(--color-on-accent);
}
.btn-primary:hover { background: var(--color-ink); color: var(--color-amber); }
.btn-ghost {
  background: transparent;
  color: var(--color-ink);
}
.btn-ghost:hover { background: var(--color-ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-navy);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  height: 68px;
}
.brand { display: flex; align-items: center; gap: var(--space-2); }
.brand-logo { border-radius: var(--radius-sm); border: 2px solid var(--color-amber); }
.brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  text-transform: uppercase; letter-spacing: .02em; color: #fff;
}
.site-nav { display: flex; gap: var(--space-5); }
.site-nav a {
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.8);
  padding-bottom: 4px; border-bottom: 2px solid transparent;
  transition: color var(--duration-base) var(--ease), border-color var(--duration-base) var(--ease);
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--color-amber); border-bottom-color: var(--color-amber); }
.btn-subscribe { padding: 10px 20px; }
.btn-subscribe-label { display: inline; }
@media (max-width: 640px) {
  .site-nav { display: none; }
  .btn-subscribe-label { display: none; }
  .btn-subscribe { padding: 10px; }
}

/* ===== Chamfered image frame — signature shape, replaces circular avatar look ===== */
.chamfer-frame {
  display: inline-block;
  padding: 10px;
  background: var(--color-navy);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 84% 100%, 0 100%);
}
.chamfer-frame img {
  width: 240px; height: 240px; object-fit: cover; background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%);
}
.chamfer-frame-lg img { width: 100%; height: 100%; min-height: 320px; }

/* ===== Hero ===== */
.hero { background: var(--color-bg); padding: var(--space-7) 0 var(--space-6); overflow: clip; }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--space-7); align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--color-navy);
  margin: 0 0 var(--space-2);
}
.hero-title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(44px, 7vw, 76px); line-height: .96; letter-spacing: -.01em;
  margin: 0 0 var(--space-3); color: var(--color-ink);
}
.hero-subtitle { font-size: 18px; color: var(--color-muted); max-width: 46ch; margin: 0 0 var(--space-5); }
.hero-stats { display: flex; gap: var(--space-6); margin-bottom: var(--space-5); }
.stat { border-left: 3px solid var(--color-amber); padding-left: var(--space-3); }
.stat-value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--color-ink); }
.stat-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-badge {
  position: absolute; bottom: -12px; right: 4px;
  background: var(--color-amber); color: var(--color-on-accent);
  border: 2px solid var(--color-ink); border-radius: var(--radius-sm);
  padding: 7px 14px; font-family: var(--font-display); font-size: 12px;
  font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  transform: rotate(-3deg);
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { order: -1; margin-bottom: var(--space-4); justify-content: flex-start; }
}

/* ===== Sections ===== */
.section { padding: var(--space-7) 0; }
.section:nth-of-type(even) { background: var(--color-surface-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-4); margin-bottom: var(--space-5); flex-wrap: wrap; }
.section-head h2 {
  position: relative; display: inline-flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-display); text-transform: uppercase; font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -.005em; margin: 0 0 6px;
}
.section-head h2::before { content: ''; width: 16px; height: 16px; background: var(--color-amber); border: 2px solid var(--color-ink); flex: none; }
.section-sub { margin: 0; color: var(--color-muted); }
.feed-status { font-size: 13px; color: var(--color-muted); }

/* Video / Shorts grids */
.videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.shorts-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
@media (max-width: 960px) { .videos-grid { grid-template-columns: repeat(2, 1fr); } .shorts-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .videos-grid { grid-template-columns: 1fr; } .shorts-grid { grid-template-columns: repeat(2, 1fr); } }

.video-card, .short-card {
  display: block; background: var(--color-surface);
  border: 2px solid var(--color-ink); border-radius: var(--radius-md);
  overflow: hidden; border-top: 4px solid var(--color-amber);
  transition: transform var(--duration-base) var(--ease), border-color var(--duration-base) var(--ease);
}
.video-card:hover, .short-card:hover { transform: translateY(-3px); border-color: var(--color-navy); }
.video-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--color-surface-2); }
.short-thumb { aspect-ratio: 9/16; overflow: hidden; background: var(--color-surface-2); }
.video-thumb img, .short-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 260ms var(--ease); }
.video-card:hover .video-thumb img, .short-card:hover .short-thumb img { transform: scale(1.04); }
.video-body { padding: var(--space-3) var(--space-4) var(--space-4); }
.short-body { padding: var(--space-2) var(--space-3) var(--space-3); }
.video-title {
  margin: 0 0 6px; font-family: var(--font-display); font-weight: 500; font-size: 16px;
  line-height: 1.25; color: var(--color-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.short-title {
  margin: 0; font-size: 13px; color: var(--color-ink); font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.video-meta { font-size: 13px; color: var(--color-muted); }

.card-skeleton {
  background: repeating-linear-gradient(90deg, var(--color-surface) 0 100%);
  border: 2px dashed var(--color-border); border-radius: var(--radius-md);
  aspect-ratio: 16/9; opacity: .5; animation: pulse 1.4s var(--ease) infinite;
}
.short-skeleton { aspect-ratio: 9/16; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: .7; } }
.feed-empty { color: var(--color-muted); text-align: center; padding: var(--space-5) 0; grid-column: 1 / -1; }
.feed-empty a { color: var(--color-navy); font-weight: 600; text-decoration: underline; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--space-7); align-items: center; }
.about-grid h2 {
  font-family: var(--font-display); text-transform: uppercase; font-size: clamp(26px, 4vw, 34px);
  margin: 0 0 var(--space-3);
}
.about-list { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.about-list li { display: flex; align-items: flex-start; gap: var(--space-3); }
.about-list .icon {
  flex: none; width: 22px; height: 22px; color: var(--color-ink);
  background: var(--color-amber); border: 2px solid var(--color-ink); border-radius: var(--radius-sm);
  padding: 5px;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ===== Contact ===== */
.contact-card {
  background: var(--color-surface); border: 2px solid var(--color-ink); border-radius: var(--radius-md);
  padding: var(--space-6); text-align: center; max-width: 640px; margin: 0 auto;
  border-top: 6px solid var(--color-orange);
}
.contact-card h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(24px, 3.6vw, 30px); margin: 0 0 var(--space-3); }
.contact-card p { color: var(--color-muted); margin: 0 0 var(--space-5); }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-3); }

/* ===== Footer ===== */
.site-footer { background: var(--color-navy); color: rgba(255,255,255,.85); padding: var(--space-5) 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: var(--space-3); }
.footer-brand img { width: 32px; height: 32px; border-radius: var(--radius-sm); border: 2px solid var(--color-amber); }
.footer-copy { margin: 0; font-size: 13px; }
.footer-social a { color: rgba(255,255,255,.85); transition: color var(--duration-base) var(--ease); }
.footer-social a:hover { color: var(--color-amber); }
.footer-social .icon { width: 22px; height: 22px; }
