/* Jayviating — site styles */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Display";
  src: url("../fonts/inter-display-800.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B1F3A;
  --navy-deep: #071629;
  --navy-mid: #1E3A66;
  --amber: #F5A524;
  --slate: #4A5A70;
  --ink: #0F172A;
  --body-ink: #24324A;
  --sky: #F4F7FB;
  --white: #FFFFFF;
  --line: #D9E1EC;
  --on-navy: #C9D6E8;
  --on-navy-muted: #9FB0C8;

  --font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1200px;
  --gutter: 24px;
  --section-pad: clamp(64px, 9vw, 96px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sky);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); }
a:hover { color: var(--navy-mid); }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--amber); color: var(--navy); padding: 12px 18px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

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

.label {
  margin: 0;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.on-navy .label { color: var(--amber); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; margin: 0; color: var(--navy); }
h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.015em; }
h3 { font-size: 21px; line-height: 1.25; }
.on-navy h1, .on-navy h2 { color: var(--white); }

p { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: #FFB83F; color: var(--navy); }
.btn-outline { color: var(--white); border: 1.5px solid rgba(255,255,255,0.55); }
.btn-outline:hover { color: var(--white); border-color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-mid); color: var(--white); }
.btn svg { flex: none; }

.text-link {
  display: inline-block; padding: 12px 0; font-weight: 600; font-size: 17px;
  text-underline-offset: 4px;
}
.on-navy .text-link { color: var(--white); }

/* Header */
.site-header { background: var(--navy); color: var(--white); }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 16px; padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand img { width: 56px; height: 56px; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: 0.1em; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 26px; }
.main-nav a:not(.btn) {
  color: var(--on-navy); text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 0;
}
.main-nav a:not(.btn):hover { color: var(--white); }
.main-nav .btn { min-height: 44px; padding: 10px 22px; font-size: 15px; }

/* Hero */
.hero { background: var(--navy); color: var(--white); }
.hero-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px 56px;
  padding-top: 40px; padding-bottom: var(--section-pad);
}
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(50px, 7vw, 96px); line-height: 0.95; letter-spacing: -0.02em; }
.hero .lede { font-size: 20px; line-height: 1.55; color: var(--on-navy); max-width: 540px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero-media { flex: 1 1 360px; min-width: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }

/* Stats */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px 32px;
  padding-top: 40px; padding-bottom: 40px; margin: 0 auto; list-style: none;
}
.stat { display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--navy); padding-top: 16px; }
.stat-value { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--navy); }
.stat-label { font-size: 15px; color: var(--slate); }

/* About */
.about { background: var(--sky); scroll-margin-top: 12px; }
.about-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px;
  padding-top: var(--section-pad); padding-bottom: var(--section-pad);
}
.about-photos { flex: 1 1 400px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about-photos figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.about-photos figure:nth-child(2) { margin-top: 48px; }
.about-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; }
.about-photos figcaption { font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.about-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-copy p:not(.label) { color: var(--body-ink); line-height: 1.7; }

/* Channel */
.channel { background: var(--white); }
.channel-inner { display: flex; flex-direction: column; gap: 48px; padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.section-head p:not(.label) { color: var(--slate); line-height: 1.65; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.card { background: var(--sky); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.card-body p { font-size: 15px; line-height: 1.6; color: var(--slate); }

/* Featured video */
.video-section { background: var(--navy); color: var(--white); }
.video-inner { display: flex; flex-direction: column; gap: 36px; padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.video-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.video-head > div { display: flex; flex-direction: column; gap: 16px; }
.video-frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 20px; overflow: hidden; background: var(--navy-deep); color: var(--white); text-decoration: none;
}
.video-frame:hover { color: var(--white); }
.video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 92px; height: 92px; border-radius: 999px; background: var(--amber); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35); transition: transform .15s ease;
}
.video-frame:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.video-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 72px 28px 24px;
  background: linear-gradient(180deg, rgba(7,22,41,0) 0%, rgba(7,22,41,0.9) 70%);
  display: flex; flex-direction: column; gap: 6px;
}
.video-caption .kicker { font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.video-caption .title { font-family: var(--font-display); font-weight: 800; font-size: clamp(19px, 2.4vw, 30px); line-height: 1.2; }
.video-note { font-size: 14px; color: var(--on-navy-muted); }

/* Contact */
.contact { background: var(--white); border-top: 1px solid var(--line); }
.contact-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
  padding-top: var(--section-pad); padding-bottom: var(--section-pad);
}
.contact-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-copy p:not(.label) { color: var(--slate); max-width: 560px; }
.contact-email { align-self: flex-start; padding: 8px 0; font-weight: 600; font-size: 19px; text-underline-offset: 4px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy); }
.footer-inner { display: flex; flex-direction: column; gap: 36px; padding-top: 56px; padding-bottom: 32px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 80px; height: 80px; }
.footer-brand div { display: flex; flex-direction: column; gap: 6px; }
.footer-brand strong { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: 0.1em; color: var(--white); }
.footer-brand em { font-size: 16px; }
.social { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.social a { display: inline-block; padding: 12px 0; color: var(--white); font-size: 15px; font-weight: 600; text-decoration: none; }
.social a:hover { color: var(--amber); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.14); font-size: 14px; color: var(--on-navy-muted);
}
.footer-bottom a { color: var(--on-navy-muted); }
.footer-bottom a:hover { color: var(--white); }

/* Simple pages (privacy, 404) */
.page { background: var(--white); }
.page-inner { max-width: 760px; margin: 0 auto; padding: var(--section-pad) var(--gutter); display: flex; flex-direction: column; gap: 18px; }
.page-inner h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.015em; margin-bottom: 8px; }
.page-inner h2 { font-size: 26px; margin-top: 18px; }
.page-inner p, .page-inner li { color: var(--body-ink); line-height: 1.7; }
.page-inner ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.updated { font-size: 15px; color: var(--slate); }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .header-inner { justify-content: center; }
  .main-nav { justify-content: center; gap: 0 20px; }
  .hero-inner { padding-top: 24px; }
  .btn-row .btn { flex: 1 1 100%; }
  .about-photos figure:nth-child(2) { margin-top: 32px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .stat-value { font-size: 32px; }
  .stat-label { font-size: 14px; }
  .play { width: 60px; height: 60px; }
  .play svg { width: 26px; height: 26px; }
  .video-caption { padding: 36px 16px 12px; }
  .video-caption .kicker { display: none; }
  .video-caption .title { font-size: 16px; }
}
