/* The Building Podcast - Red & Black theme */
:root {
  --red: #d61f26;
  --red-dark: #9e1419;
  --black: #0b0b0b;
  --charcoal: #181818;
  --gray: #2a2a2a;
  --white: #ffffff;
  --muted: #b5b5b5;
}

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

body {
  font-family: "Open Sans", Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: .4rem; }

a { color: var(--white); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }

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

.container { width: min(1140px, 92%); margin: 0 auto; }
.red { color: var(--red); }
.text-center { text-align: center; }

/* Header */
.site-header {
  background: var(--black);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 0;
}
.logo img { height: 64px; width: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}
.main-nav a {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.active { color: var(--red); border-bottom-color: var(--red); }

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--red);
  color: var(--white);
  font-size: 1.5rem;
  padding: .2rem .6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background:
    linear-gradient(120deg, rgba(0,0,0,.92) 40%, rgba(214,31,38,.55)),
    repeating-linear-gradient(45deg, #111 0 12px, #181818 12px 24px);
  padding: 6rem 0;
  border-bottom: 1px solid #333;
}
.eyebrow {
  color: var(--red);
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: .10rem;
}
.lead { max-width: 620px; color: var(--muted); font-size: 1.1rem; margin: 1.2rem 0 2rem; }
.hero-buttons, .platforms { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: .8rem 1.8rem;
  border: 2px solid var(--red);
  border-radius: 2px;
  cursor: pointer;
  background: none;
  color: var(--white);
  font-size: 1rem;
}
.btn-red { background: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-outline:hover { background: var(--red); color: var(--white); }

.text-link {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  color: var(--red);
  letter-spacing: 1px;
}

/* Sections */
.section { padding: 5rem 0; }
.section-dark { background: var(--charcoal); }
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 2px solid var(--red);
  padding-bottom: .6rem;
  margin-bottom: 2.5rem;
}
.section-title h2 { margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split p { color: var(--muted); margin-bottom: 1rem; }

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}
.card {
  background: var(--charcoal);
  border-top: 4px solid var(--red);
  padding: 2rem;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(214,31,38,.25); }
.card p { color: var(--muted); margin-bottom: 1rem; }

.tag {
  display: inline-block;
  background: var(--red);
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: .8rem;
  padding: .15rem .6rem;
  margin-bottom: .8rem;
  letter-spacing: 1px;
}
.meta { color: var(--red) !important; font-size: .9rem; }

/* Stats */
.stat-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.stat-box div {
  background: var(--black);
  border: 1px solid var(--red);
  padding: 2rem 1rem;
  text-align: center;
}
.stat-box strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  color: var(--red);
}
.stat-box span { color: var(--muted); text-transform: uppercase; font-size: .85rem; letter-spacing: 1px; }

/* Page banner */
.page-banner {
  background: linear-gradient(90deg, var(--red-dark), var(--black));
  padding: 4rem 0;
  border-bottom: 1px solid #333;
}
.page-banner p { color: var(--white); opacity: .85; margin-top: .5rem; }

/* Episodes */
.filter-bar { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  background: none;
  border: 2px solid var(--red);
  color: var(--white);
  padding: .4rem 1.1rem;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}
.filter-btn.active, .filter-btn:hover { background: var(--red); }

.episode-list { display: flex; flex-direction: column; gap: 1.5rem; }
.episode {
  background: var(--charcoal);
  border-left: 4px solid var(--red);
  padding: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.episode-info { flex: 1 1 320px; }
.episode-info p { color: var(--muted); }
.episode audio { flex: 0 1 340px; width: 100%; max-width: 340px; filter: invert(0.9) hue-rotate(180deg); }

/* Host */
.host { text-align: center; }
.avatar {
  width: 96px; height: 96px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: "Oswald", sans-serif;
  font-size: 1.6rem;
}
.quote-box {
  border-left: 5px solid var(--red);
  background: var(--charcoal);
  padding: 2rem;
  font-family: "Oswald", sans-serif;
  font-size: 1.3rem;
}
.quote-box span { display: block; margin-top: 1rem; color: var(--red); font-size: 1rem; }

.cta { background: linear-gradient(135deg, var(--red-dark), var(--red)); }
.cta h2 { margin-bottom: 1.5rem; }
.cta .btn-red { background: var(--black); border-color: var(--black); }

/* Contact */
.contact-form { display: flex; flex-direction: column; gap: .5rem; }
.contact-form label { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 1px; margin-top: .6rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--charcoal);
  border: 1px solid #444;
  color: var(--white);
  padding: .8rem;
  font-family: inherit;
  font-size: 1rem;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--red); }
.contact-form .btn { align-self: flex-start; margin-top: 1rem; cursor: pointer; }
.form-status { margin-top: .8rem; color: var(--red); min-height: 1.5rem; }
.info-box {
  background: var(--charcoal);
  border-top: 4px solid var(--red);
  padding: 2rem;
}
.info-box p { color: var(--muted); margin-bottom: .8rem; }
.info-box strong { color: var(--white); }

/* Footer */
.site-footer {
  background: var(--black);
  border-top: 3px solid var(--red);
  padding: 3rem 0;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}
.footer-logo { height: 80px; margin: 0 auto 1rem; width: auto; }
.footer-inner p { margin-bottom: .5rem; }
.site-footer a:hover { color: var(--red); }

/* Responsive */
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--black);
    border-bottom: 3px solid var(--red);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: .9rem 4%; border-bottom: 1px solid #222; }
  .split { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0; }
  .header-inner { position: relative; }
}

@media (max-width: 520px) {
  .logo img { height: 48px; }
  .stat-box { grid-template-columns: 1fr; }
  .episode { flex-direction: column; align-items: flex-start; }
  .episode audio { max-width: 100%; }
.dropdown { display: none; }
.has-dropdown.open > .dropdown { display: block; }

@media (max-width: 768px) {
  .main-nav > ul { display: none; }
  .main-nav.open > ul { display: block; }
}
}

/* Center the subscribe buttons */
#subscribe .platforms {
  justify-content: center;
}
