
:root {
  --navy-950: #00172b;
  --navy-900: #00243f;
  --navy-850: #062f50;
  --gold: #ffd000;
  --gold-soft: #e8ae20;
  --white: #ffffff;
  --text: #eef4fa;
  --muted: #b9c7d5;
  --line: rgba(255, 208, 0, .34);
  --max: 1180px;
  --header-h: 92px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy-950); }
body {
  margin: 0;
  background: var(--navy-950);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 9999; left: 12px; top: 12px;
  transform: translateY(-160%);
  background: var(--gold); color: #00172b;
  padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  height: var(--header-h);
  position: sticky; top: 0; z-index: 1000;
  background: rgba(0, 23, 43, .96);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(var(--max), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
}
.subscribe {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 9px;
  background: var(--gold);
  color: #00172b;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .01em;
  transition: transform .18s ease, filter .18s ease;
}
.subscribe:hover { transform: translateY(-1px); filter: brightness(1.03); }
.subscribe:focus-visible,
.btn:focus-visible,
.contact-card:focus-visible,
.social-link:focus-visible,
.footer-link:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(720px, calc(100svh - var(--header-h)));
  display: grid;
  place-items: end center;
  overflow: hidden;
  background-color: #00182e;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -2;
  background-image: url("../assets/markstalks-hero.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0;
  height: 34%;
  z-index: -1;
  background: linear-gradient(to top, rgba(0,23,43,.70), rgba(0,23,43,0));
  pointer-events: none;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  padding: 0 24px 58px;
}
.btn {
  min-width: 188px;
  min-height: 54px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 24px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .025em;
  border: 2px solid var(--gold);
  transition: transform .18s ease, background-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #00172b; }
.btn-secondary { background: rgba(0,23,43,.55); color: var(--gold); }

/* Sections */
.section {
  padding: 92px 24px;
}
.section-inner {
  width: min(920px, 100%);
  margin: 0 auto;
}
.creator {
  text-align: center;
  background: linear-gradient(180deg, #063354 0%, #00243f 100%);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.creator-mark {
  width: 190px;
  margin: 0 auto 32px;
}
.eyebrow {
  color: var(--gold);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
h2 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0 0 30px;
  color: var(--white);
}
.creator-copy {
  max-width: 820px;
  margin: 0 auto;
  color: #e8eef5;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
  font-weight: 500;
}
.creator-copy p { margin: 0; }


/* Latest YouTube release */
.latest {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,208,0,.07), transparent 32%),
    #00172b;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.latest-inner {
  width: min(1080px, 100%);
}
.latest-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 38px;
}
.latest-head h2 {
  font-size: clamp(36px, 5.5vw, 58px);
  margin-bottom: 16px;
}
.latest-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.latest-head strong {
  color: var(--white);
}
.youtube-shell {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 28px 70px rgba(0,0,0,.30);
}
.youtube-player {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.latest-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.latest-youtube-link {
  min-width: 210px;
}

/* Privacy page */
.privacy-page main {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 22px;
}
.privacy-page .back {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--gold);
}
.privacy-page h1 {
  font-size: 42px;
  line-height: 1.05;
  margin: 0 0 28px;
  color: var(--white);
}
.privacy-page h2 {
  font-size: 26px;
  line-height: 1.2;
  margin: 38px 0 14px;
}
.privacy-page p,
.privacy-page li {
  color: #d5e0ea;
  line-height: 1.65;
}

/* Contact */
.contact {
  background: var(--navy-950);
}
.contact .section-inner { width: min(1080px, 100%); }
.contact-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.contact-head h2 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 16px; }
.contact-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--line);
  background: rgba(255,255,255,.055);
}
.contact-type { color: var(--gold); font-weight: 800; }
.contact-email {
  color: var(--white);
  font-size: 16px;
  overflow-wrap: anywhere;
}
.contact-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin-top: auto;
}

/* Footer */
.site-footer {
  background: #001426;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 38px 24px 28px;
}
.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand img { width: 62px; }
.footer-brand strong { color: var(--white); font-size: 20px; }
.socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #8ea3b7;
  font-size: 13px;
}
.footer-link { color: #b9c7d5; text-decoration: none; }
.footer-link:hover { color: var(--gold); }

@media (max-width: 760px) {
  :root { --header-h: 86px; }
  .header-inner { width: calc(100% - 28px); }
  .brand-logo { width: 70px; height: 70px; }
  .subscribe { min-height: 48px; padding: 0 24px; font-size: 16px; }
  .hero {
    min-height: 670px;
  }
  .hero::before {
    background-position: 50% 50%;
  }
  .hero-actions {
    width: 100%;
    gap: 12px;
    padding: 0 18px 46px;
  }
  .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 56px;
    padding: 0 12px;
    font-size: 15px;
  }
  .section { padding: 70px 20px; }
  .latest-head { margin-bottom: 28px; }
  .latest-head p:last-child { font-size: 16px; }
  .youtube-shell { border-radius: 12px; }
  .latest-actions { margin-top: 22px; }
  .creator-mark { width: 165px; margin-bottom: 28px; }
  .eyebrow { font-size: 13px; margin-bottom: 20px; }
  .creator-copy { font-size: 18px; line-height: 1.55; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: 128px; }
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .socials { justify-content: flex-start; }
}

@media (max-width: 430px) {
  .brand-logo { width: 66px; height: 66px; }
  .subscribe { padding: 0 20px; }
  .hero { min-height: 640px; }
  .hero-actions { padding-bottom: 34px; }
  .btn { font-size: 14px; }
}

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