/* Frunk To Trunk — site styles (YouTube banner red / charcoal brand) */
:root {
  --primary: #E3253E;
  --primary-hover: #B51D31;
  --primary-active: #8F1727;
  --dark: #0A0A0A;
  --dark-elevated: #1A1A1A;
  --charcoal: #040404;
  --soft-gray: #EEF0F2;
  --soft-gray-alt: #F5F6F7;
  --secondary: #B0B3B6;
  --mid-gray: #6B6B6B;
  --white: #ffffff;
  --text: #0A0A0A;
  --primary-soft: #fce8eb;
  --primary-soft-hover: #f5d0d5;
  --border: rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius: 0.5rem;
  --radius-sm: 0.25rem;
  --max-width: 1040px;
  --font: "Roboto", system-ui, -apple-system, sans-serif;
  font-size: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin: 0 0 1rem;
}

ul, ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ——— Header / Nav ——— */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding: 0.75rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  white-space: nowrap;
  letter-spacing: -0.01em;
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.logo:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--dark);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  text-decoration: none;
  border-bottom-color: var(--primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--dark);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white) !important;
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--white) !important;
}

.btn-primary:active {
  background: var(--primary-active);
}

.btn-outline {
  background: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white) !important;
}

.btn-dark {
  background: var(--dark);
  color: var(--white) !important;
}

.btn-dark:hover {
  background: var(--dark-elevated);
  color: var(--white) !important;
}

.btn-white {
  background: var(--white);
  color: var(--primary) !important;
}

.btn-white:hover {
  background: var(--soft-gray);
  color: var(--primary-hover) !important;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

.btn-block {
  width: 100%;
}

/* ——— Hero Bio ——— */
.hero-bio {
  background: var(--charcoal);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
  border-bottom: 3px solid var(--primary);
}

.hero-bio a {
  color: var(--white);
}

.hero-bio a:hover {
  color: var(--primary);
  opacity: 1;
}

.hero-bio-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.avatar {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--dark-elevated);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 3px rgba(227, 37, 62, 0.25);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}

.hero-bio .pretitle {
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 1;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
}

.hero-bio h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.hero-bio .bio-text {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.95;
  max-width: 36rem;
  margin-bottom: 1.25rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  transition: background 0.15s, transform 0.15s;
}

.social-icon:hover {
  background: var(--primary);
  transform: translateY(-2px);
  color: var(--white);
  opacity: 1;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ——— Sections ——— */
.section {
  padding: 3.5rem 0;
}

.section-gray {
  background: var(--soft-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header p {
  color: var(--mid-gray);
  max-width: 36rem;
  margin: 0.5rem auto 0;
}

.section-header .subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

/* ——— Cards ——— */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8eaef;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--mid-gray);
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.95rem;
  color: #3d4650;
  margin-bottom: 1rem;
}

/* Featured video split */
.featured-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 0;
}

.featured-split .media {
  aspect-ratio: 16 / 9;
  background: #111;
}

.featured-split .media iframe,
.featured-split .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.featured-split .content {
  padding: 1.5rem 2rem 1.5rem 0;
}

.featured-split .badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.video-card .card-media {
  position: relative;
}

.video-card .play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.35);
  opacity: 0;
  transition: opacity 0.2s;
}

.video-card:hover .play-badge {
  opacity: 1;
}

.video-card .play-badge svg {
  width: 56px;
  height: 56px;
  fill: white;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

/* Partner / accessory cards */
.partner-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.partner-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.partner-media {
  aspect-ratio: 16 / 9;
  background: var(--dark-elevated);
  border-bottom: 3px solid var(--primary);
}

.partner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.partner-card:hover .partner-media img {
  transform: scale(1.04);
}

.discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  cursor: pointer;
  border: 1px dashed var(--primary);
  transition: background 0.15s;
  align-self: flex-start;
}

.discount-badge:hover {
  background: var(--primary-soft-hover);
}

.discount-badge .code {
  font-family: ui-monospace, monospace;
  letter-spacing: 0.03em;
}

.discount-badge .copy-hint {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.7;
}

.partner-card .btn {
  margin-top: auto;
}

.disclosure {
  background: #fff8e6;
  border-left: 4px solid #e6a817;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  color: #5a4a20;
}

/* Social cards */
.social-card {
  text-align: center;
  padding: 2rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--soft-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.social-card .icon-wrap svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.social-card h3 {
  margin-bottom: 0.35rem;
}

.social-card .handle {
  font-size: 0.85rem;
  color: var(--mid-gray);
  margin-bottom: 0.75rem;
}

.social-card .card-text {
  flex: 1;
}

/* FAQ Accordion */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: none;
  border: none;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  color: var(--dark);
  cursor: pointer;
  line-height: 1.4;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  transition: transform 0.2s, opacity 0.2s;
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  display: none;
  padding: 0 1.35rem 1.25rem;
  color: #3d4650;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Newsletter */
.newsletter-band {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0;
}

.newsletter-card {
  background: var(--white);
  color: var(--dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem 2rem 1.75rem;
  text-align: center;
}

.newsletter-band .band-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.newsletter-band .band-intro h2 {
  color: var(--white);
}

.newsletter-band .band-intro p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 28rem;
  margin: 0.5rem auto 0;
}

.form-group {
  margin-bottom: 0.85rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}

.form-note {
  font-size: 0.75rem;
  color: var(--mid-gray);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--soft-gray);
  padding: 2.75rem 0 2.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--mid-gray);
  max-width: 36rem;
  margin: 0 auto;
}

/* Blog */
.blog-post-card .card-media {
  aspect-ratio: 16 / 9;
}

.article {
  max-width: 720px;
  margin: 0 auto;
}

.article-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  aspect-ratio: 16 / 9;
  background: #e8eaef;
}

.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--mid-gray);
  margin-bottom: 1.5rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body h2 {
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  font-size: 1.5rem;
}

.article-body h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

.cta-box {
  background: var(--soft-gray);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid var(--primary);
}

.cta-box h3 {
  margin-bottom: 0.5rem;
}

.cta-box .codes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.embed-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  background: #111;
}

.embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.shorts-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.short-card .card-media {
  aspect-ratio: 9 / 16;
  max-height: 280px;
}

/* Footer */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-links a {
  color: var(--dark);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--soft-gray);
  color: var(--dark);
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--mid-gray);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-block {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.contact-block h3 {
  margin-bottom: 0.5rem;
}

.contact-block a.email-link {
  color: var(--primary);
  font-weight: 700;
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--dark);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 200;
  transition: transform 0.25s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .grid-3,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4,
  .shorts-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-split {
    grid-template-columns: 1fr;
  }

  .featured-split .content {
    padding: 1.5rem;
  }

  .hero-bio-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-bio .bio-text {
    margin-left: auto;
    margin-right: auto;
  }

  .social-row {
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    font-size: 16px;
  }

  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.6rem; }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    gap: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav a:hover,
  .nav a.active {
    border-bottom-color: var(--primary);
  }

  .nav a:last-child {
    border-bottom-color: transparent;
  }

  .nav a:last-child:hover,
  .nav a:last-child.active {
    border-bottom-color: var(--primary);
  }

  .header-cta .btn {
    display: none;
  }

  .header-inner {
    position: relative;
  }

  .grid-3,
  .grid-2,
  .video-grid,
  .grid-4,
  .shorts-row {
    grid-template-columns: 1fr;
  }

  .avatar {
    width: 110px;
    height: 110px;
  }

  .section {
    padding: 2.5rem 0;
  }
}
