/* ==========================================================================
   Home page theme (index.html)
   Fonts: Montserrat (headings), Open Sans (body)
   ========================================================================== */

:root {
  --text: #55636f;
  --heading: #000;
  --page-bg: #eee;
  --cream: #f8efc9;
  --footer-bg: #000;
  --container: 1170px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--page-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--heading);
  margin: 0 0 16px;
}

p { margin: 0 0 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .8; }

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

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.col { padding: 0 15px; width: 100%; }

@media (min-width: 768px) {
  .col-md-4  { width: 33.3333%; }
  .col-md-5  { width: 41.6667%; }
  .col-md-6  { width: 50%; }
  .col-md-8  { width: 66.6667%; }
  .col-md-10 { width: 83.3333%; }
  .offset-md-1 { margin-left: 8.3333%; }
}

.page { background: #fff; }

/* ---------- Header ---------- */
.header {
  position: relative;
  background: #fff;
  padding: 30px 0;
  color: #000;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { max-height: 115px; width: auto; height: auto; }

.header-menu { display: flex; }
.header-menu a {
  line-height: 100px;
  margin: 0 10px;
  color: #000;
}

/* Header podcast: mic logo, then coloured platform icons above a grey PODCAST label */
.header-podcast-row { display: flex; align-items: center; gap: 14px; }
.header-podcast__logo {
  width: auto;
  height: 90px;
  border-radius: 6px;
  filter: invert(1); /* black mic on white in the header; the footer keeps the original */
}
.header-podcast {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px; /* gives 22px of visible space between icons and the PODCAST box */
}
.podcast-icons { display: flex; gap: 14px; }
.header-menu .podcast-icons a {
  display: inline-flex;
  margin: 0;
  line-height: 1;
}
.podcast-icons svg { width: 28px; height: 28px; display: block; }

/* Grey label box: PODCAST (header and footer) and MEDIA (footer) */
.label-box {
  display: inline-block;
  min-width: 124px;
  padding: 12px 18px;
  line-height: 1;
  text-align: center;
  background: #e6e6e6;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #000;
}

.header-ham {
  display: none;
  width: 30px;
  height: 24px;
  position: relative;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.header-ham span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #000;
  transition: transform .25s, opacity .25s, top .25s;
}
.header-ham span:nth-child(1) { top: 0; }
.header-ham span:nth-child(2) { top: 10px; }
.header-ham span:nth-child(3) { top: 20px; }
.header-ham.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.header-ham.open span:nth-child(2) { opacity: 0; }
.header-ham.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

@media (max-width: 767px) {
  .header .container { flex-wrap: wrap; }
  .logo { max-width: calc(100% - 50px); }
  .header-ham { display: block; }
  .header-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 10px;
  }
  .header-menu.open { display: flex; }
  .header-menu a { line-height: 40px; margin: 0; }
  .header-podcast-row { margin: 6px 0; align-self: flex-start; }
}

/* ---------- Sections ---------- */
.section { padding: 15px 0; background: #fff; }
.section--medium { padding: 100px 0; }

/* Hero: muted background video, with the poster image as the fallback */
.section--hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding: 175px 0;
  background: #222 url("../images/hero-tulsa.webp") center / cover no-repeat;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.section--hero .container { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
.section--hero .row { justify-content: center; }
.section--hero h2 { color: #fff; font-size: 40px; margin: 16px 0; }

@media (max-width: 767px) {
  .section--hero { padding: 25px 0; }
  .section--hero h2 { font-size: 28px; }
  .section--medium { padding: 40px 0; }
}

/* Feature columns */
.feature { text-align: center; margin-bottom: 30px; }
.feature img { width: 100%; margin: 0 0 16px; }
.feature h4 { font-size: 24px; }

/* Text + image */
.section--text_img .row { align-items: center; }
.section--text_img img { width: 100%; margin-bottom: 16px; }
.section--text_img h4 { font-size: 24px; }

/* Text list */
/* Core values: standalone black band */
.section--values { background: #000; color: #fff; padding: 56px 0; text-align: center; }
.values__title {
  margin: 0 0 18px;
  font-size: 14px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #f8c600;
}
.values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font: 700 40px/1.2 "Montserrat", Arial, sans-serif;
  color: #fff;
}
.values li + li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 28px;
  border-radius: 50%;
  background: #f8c600;
  vertical-align: middle;
}
@media (max-width: 767px) {
  .section--values { padding: 40px 0; }
  .values { flex-direction: column; gap: 14px; font-size: 30px; }
  .values li + li::before { display: block; margin: 0 auto 14px; }
}

/* Catalyst characteristics: 3 x 3 card grid */
.section--text { padding: 40px 0 50px; }
.traits__intro,
.traits__note { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.traits__intro {
  margin-bottom: 28px;
  padding: 14px 24px;
  font-size: 18px;
  color: #000;
  background: #ececec;
  border-radius: 6px;
}

.traits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
@media (max-width: 991px) {
  .traits { gap: 16px; }
  .trait { padding: 20px 14px; }
}
/* Two columns would strand the ninth card, so go straight from 3 to 1 */
@media (max-width: 699px) { .traits { grid-template-columns: 1fr; } }

.trait {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid #ece7d3;
  border-radius: 6px;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.trait:hover { box-shadow: 0 8px 22px rgba(91, 74, 0, .1); transform: translateY(-2px); }
.trait__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #f8c600;
}
.trait__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #000;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trait h3 { font-size: 20px; margin: 0 0 6px; }
.trait p { margin: 0; font-size: 15px; line-height: 1.6; }

.traits__note { font-size: 14px; margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) {
  .trait, .trait:hover { transition: none; transform: none; }
}

/* ---------- Testimonials: text quote cards, 3 / 2 / 1 per view ---------- */
.section--slideshow { background: var(--cream); padding: 40px 0 50px; }
.heading__title { font-size: 30px; text-align: center; margin: 16px 0 28px; }

.quotes { --per-view: 3; --gap: 24px; }
@media (max-width: 991px) { .quotes { --per-view: 2; } }
@media (max-width: 639px) { .quotes { --per-view: 1; --gap: 16px; } }

.quotes__track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 12px;
}
.quotes__track::-webkit-scrollbar { display: none; }
.quotes__track:focus-visible { outline: 2px solid #000; outline-offset: 4px; }

.quote-card {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 28px 26px 24px;
  background: #fff;
  border-top: 6px solid #f8c600;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(91, 74, 0, .08);
}
.quote-card blockquote {
  position: relative;
  flex: 1;
  margin: 0 0 22px;
  padding-top: 30px;
  font-size: 16px;
  line-height: 1.7;
  color: #3d4750;
}
.quote-card__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
}
.quote-card.is-expanded .quote-card__text { display: block; }
.quote-card__more {
  display: block;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  font: 700 14px/1.4 "Open Sans", Arial, sans-serif;
  color: #000;
  text-decoration: underline;
  cursor: pointer;
}
.quote-card blockquote::before {
  content: "\201C";
  position: absolute;
  top: -14px;
  left: -4px;
  font: 700 64px/1 "Montserrat", Georgia, serif;
  color: #f8c600;
}
.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #eee4bd;
}
.quote-card figcaption img {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}
.quote-card figcaption span { font-size: 14px; line-height: 1.4; color: var(--text); }
.quote-card figcaption strong {
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  color: #000;
}

.quotes__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}
.quotes__arrow {
  width: 40px;
  height: 40px;
  border: 1px solid #000;
  border-radius: 50%;
  background: transparent;
  color: #000;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.quotes__arrow:hover,
.quotes__arrow:focus-visible { background: #000; color: #fff; }
.quotes__dots { display: flex; gap: 8px; }
.quotes__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #000;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.quotes__dots button[aria-current="true"] { background: #000; }

@media (prefers-reduced-motion: reduce) {
  .quotes__track { scroll-behavior: auto; }
}

/* ---------- Hover labels on podcast icons (data-tip) ---------- */
[data-tip] { position: relative; }
[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  z-index: 10;
  padding: 4px 8px;
  border-radius: 4px;
  background: #222;
  color: #fff;
  font: 600 12px/1.2 "Open Sans", Arial, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity .15s, transform .15s;
}
[data-tip]:hover::after,
[data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
/* Light label on the black footer */
.footer [data-tip]::after { background: #fff; color: #000; }
/* Keep the icon itself fully opaque while its label shows */
[data-tip]:hover { opacity: 1; }

/* ---------- Footer ---------- */
.footer { background: var(--footer-bg); color: #fff; padding: 24px 0; }
.footer a { color: #fff; }

/* Social icons left; mic logo + podcast platforms right (as in the header) */
.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.footer__podcast-row { display: flex; align-items: center; gap: 14px; }
.footer__social,
.footer__podcast {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
/* 22px of visible space between the icons and the MEDIA / PODCAST boxes */
.footer .social-icons { padding-bottom: 3px; }
.footer__logo { display: block; width: auto; height: 90px; }
.social-icons { display: flex; gap: 20px; padding: 8px 0; }
.social-icons a { display: inline-flex; width: 24px; height: 40px; align-items: center; }
.social-icons svg { width: 22px; height: 22px; fill: #fff; }

@media (max-width: 767px) {
  .footer__row { flex-direction: column; }
  .social-icons { justify-content: center; }
}
