/* Pollard Productions — YouTube-adjacent dark theme */

:root {
  --bg: #0f0f0f;
  --surface: #1f1f1f;
  --surface-2: #272727;
  --border: #303030;
  --text: #f1f1f1;
  --text-dim: #aaaaaa;
  --accent: #558EB9;
  --accent-hover: #437294;
  --radius: 12px;
  --max-w: 1400px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ===== Top nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 24px;
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.nav__brand-mark {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  overflow: hidden;
}
.nav__brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}
.nav__links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-dim);
  transition: background 0.15s, color 0.15s;
}
.nav__links a:hover { background: var(--surface); color: var(--text); }
.nav__links a.is-active { color: var(--text); background: var(--surface); }
.nav__cta {
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
}
.nav__cta:hover { background: var(--accent-hover); }

/* Hamburger (mobile only) */
.nav__hamburger {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
  transition: background 0.15s;
}
.nav__hamburger:hover { background: var(--surface); }
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Channel banner ===== */
.banner {
  height: 220px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(85, 142, 185, 0.3), transparent 60%),
    linear-gradient(135deg, #0E1A26 0%, #0f0f0f 60%, #000 100%);
  border-bottom: 1px solid var(--border);
}

.channel {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 24px 16px;
  display: flex;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.channel__avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: linear-gradient(135deg, #558EB9, #2A4760);
  display: grid;
  place-items: center;
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.channel__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.channel__info h1 {
  font-size: 36px;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.channel__handle { color: var(--text-dim); font-size: 14px; margin-bottom: 8px; }
.channel__stats {
  display: flex;
  gap: 12px;
  color: var(--text-dim);
  font-size: 14px;
  flex-wrap: wrap;
}
.channel__stats span { white-space: nowrap; }
.channel__stats span::after { content: " •"; margin-left: 12px; color: var(--border); }
.channel__stats span:last-child::after { content: ""; }
.channel__actions { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, transform 0.05s;
}
.btn--primary { background: #fff; color: #0f0f0f; }
.btn--primary:hover { background: #e6e6e6; }
.btn--secondary { background: var(--surface); color: var(--text); }
.btn--secondary:hover { background: var(--surface-2); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }

/* ===== Tabs (channel-style nav) ===== */
.tabs {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  padding: 14px 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tabs a.is-active { color: var(--text); border-bottom-color: var(--text); }
.tabs a:hover { color: var(--text); }

/* ===== Sections ===== */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 24px;
}
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}
.section__title { font-size: 20px; font-weight: 600; }
.section__more {
  color: var(--text-dim);
  font-size: 14px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}
.section__more:hover { color: var(--accent); }

.grid.is-collapsed > :nth-child(n+9) { display: none !important; }
.shorts.is-collapsed > :nth-child(n+9) { display: none !important; }

/* ===== Hero reel ===== */
.reel {
  max-width: var(--max-w);
  margin: 32px auto 0;
  padding: 0 24px;
}
.reel__frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.reel__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.reel__placeholder {
  text-align: center;
  color: var(--text-dim);
}
.reel__playbtn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 32px rgba(85, 142, 185, 0.4);
}
.reel__playbtn svg { width: 32px; height: 32px; fill: #fff; margin-left: 4px; }
.reel__caption { color: var(--text-dim); font-size: 14px; margin-top: 12px; text-align: center; }

/* ===== Video grid (long-form) ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 16px;
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .grid { grid-template-columns: 1fr; }
}
.card { cursor: pointer; }
.card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background-image:
    radial-gradient(ellipse at 30% 40%, rgba(85, 142, 185, 0.15), transparent 60%),
    linear-gradient(135deg, var(--surface), var(--bg));
}
.card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
}
.card__thumb svg.play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  fill: rgba(255, 255, 255, 0.85);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  z-index: 1;
}
.card:hover .card__thumb svg.play { fill: var(--accent); }
.card__duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.85);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  z-index: 2;
}
.card__body {
  padding: 12px 4px 0;
  display: flex;
  gap: 12px;
}
.card__channel-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}
.card__meta { min-width: 0; }
.card__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__sub {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
}
.card__sub span::after { content: " • "; }
.card__sub span:last-child::after { content: ""; }

/* ===== Shorts row ===== */
.shorts {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.short {
  flex-shrink: 0;
  width: 220px;
  scroll-snap-align: start;
  cursor: pointer;
}
.short__thumb {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(85, 142, 185, 0.2), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--bg));
  border: 1px solid var(--border);
}
.short__thumb svg.play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 48px;
  height: 48px;
  fill: rgba(255, 255, 255, 0.85);
}
.short:hover .short__thumb svg.play { fill: var(--accent); }
.short__title {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.short__views { font-size: 12px; color: var(--text-dim); margin-top: 4px; }

/* ===== About ===== */
.about {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.about__photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--surface-2), var(--bg));
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--text-dim);
  font-size: 14px;
  border: 1px dashed var(--border);
}
.about h2 { font-size: 28px; margin-bottom: 12px; letter-spacing: -0.3px; }
.about p { color: var(--text-dim); font-size: 16px; line-height: 1.7; margin-bottom: 12px; }
.about__stack { color: var(--text); font-size: 14px; margin-top: 16px; }
.about__stack strong { color: var(--accent); }

/* ===== Testimonials ===== */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.quote__text { font-size: 15px; line-height: 1.6; margin-bottom: 16px; color: var(--text); }
.quote__text::before { content: "\201C"; font-size: 36px; color: var(--accent); line-height: 0; vertical-align: -18px; margin-right: 4px; }
.quote__author { font-size: 13px; color: var(--text-dim); }
.quote__author strong { color: var(--text); display: block; font-weight: 500; }

/* ===== Pricing ===== */
.pricing-hero {
  text-align: center;
  padding: 80px 24px 40px;
  max-width: 760px;
  margin: 0 auto;
}
.pricing-hero h1 {
  font-size: 48px;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.1;
}
.pricing-hero h1 span { color: var(--accent); }
.pricing-hero p { font-size: 18px; color: var(--text-dim); }

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.tier--featured { border-color: var(--accent); position: relative; }
.tier--featured::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}
.tier h3 { font-size: 20px; margin-bottom: 8px; }
.tier__price {
  font-size: 36px;
  font-weight: 700;
  margin: 16px 0 4px;
  letter-spacing: -1px;
}
.tier__price small { font-size: 14px; color: var(--text-dim); font-weight: 400; }
.tier__desc { color: var(--text-dim); font-size: 14px; margin-bottom: 20px; }
.tier ul { list-style: none; margin-bottom: 24px; flex: 1; }
.tier ul li {
  font-size: 14px;
  padding: 8px 0;
  color: var(--text);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.tier ul li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.tier .btn { width: 100%; justify-content: center; }

.notes {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}
.notes strong { color: var(--text); }

/* ===== Contact ===== */
.contact {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px;
}
.contact h1 {
  font-size: 48px;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.1;
  text-align: center;
}
.contact > p {
  font-size: 18px;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 48px;
}
.contact__methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.contact__method {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: border-color 0.15s, transform 0.1s;
}
.contact__method:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact__method-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(85, 142, 185, 0.15);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.contact__method-icon svg { width: 22px; height: 22px; fill: var(--accent); }
.contact__method h3 { font-size: 16px; margin-bottom: 6px; }
.contact__method p { color: var(--text-dim); font-size: 14px; margin-bottom: 12px; }
.contact__method strong { color: var(--text); font-size: 15px; word-break: break-all; }

.contact__cal {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
}
.contact__cal strong { color: var(--text); display: block; margin-bottom: 8px; font-size: 16px; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 32px 24px;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand { color: var(--text-dim); font-size: 14px; }
.footer__socials { display: flex; gap: 8px; }
.footer__socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
  transition: background 0.15s, color 0.15s;
  color: var(--text-dim);
}
.footer__socials a:hover { background: var(--accent); color: #fff; }
.footer__socials svg { width: 18px; height: 18px; fill: currentColor; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .channel { flex-direction: column; text-align: center; padding: 24px 16px; }
  .channel__avatar { width: 96px; height: 96px; font-size: 36px; }
  .channel__info h1 { font-size: 26px; }
  .channel__stats { justify-content: center; }
  .channel__actions { justify-content: center; }
  .banner { height: 140px; }
  .about { grid-template-columns: 1fr; padding: 24px; }
  .pricing-hero h1 { font-size: 36px; }
  .contact h1 { font-size: 36px; }
  .contact__methods { grid-template-columns: 1fr; }
  .nav { padding: 0 12px; }
  .nav__inner { gap: 12px; }
  .nav__brand-text { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 16px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
  }
  .nav__cta {
    margin-top: 8px;
    justify-content: center;
    text-align: center;
  }
  .section { padding: 24px 16px; }
}
