/* Bayha Group — one stylesheet
   Grouped by page structure. Brand #EE3D70; light backgrounds; dark text. */

/* --- Page --- */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
  color: #1f2124;
  font-family: "Open Sans", "Roboto", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: #EE3D70;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #c22e58;
  text-decoration: underline;
}

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

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  color: #1f2124;
}

p {
  color: #3f444b;
}

/* --- Header / Nav --- */
.site-header {
  border-bottom: 1px solid #e8eaed;
  background: #ffffff;
}

.header-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: inline-block;
}

.logo-link:hover,
.logo-link:focus {
  text-decoration: none;
  opacity: 0.92;
}

.logo {
  width: min(11rem, 42vw);
  height: auto;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.site-nav a {
  color: #1f2124;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  color: #EE3D70;
  text-decoration: none;
}

/* --- Main layout --- */
main {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

.page-intro {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.page-intro h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
}

.lede {
  font-size: 1.1rem;
  color: #3f444b;
}

.section {
  margin: 2.75rem 0;
}

.section-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: #EE3D70;
}

.section-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.55rem;
  background: #EE3D70;
}

/* --- Hero (Home) — full-bleed banner of a real Bayha event photo, dark scrim for legibility --- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(22rem, 36vw, 30rem);
  text-align: center;
  padding: 4.5rem 1.25rem;
  /* Break out of main; overflow-x hidden on html/body kills scrollbar */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  background-color: #2b2b2b;
  background-image:
    linear-gradient(
      180deg,
      rgba(18, 16, 22, 0.50) 0%,
      rgba(18, 16, 22, 0.58) 55%,
      rgba(18, 16, 22, 0.66) 100%
    ),
    url("images/hero.jpg?v=20261011june");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-inner {
  max-width: 42rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero .hero-kicker {
  color: #ff9ab8;
}

.hero h1 {
  color: #ffffff;
}

.hero .hero-sub {
  color: #f3f1f4;
}

.hero h1,
.hero-sub,
.hero-kicker {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.hero-kicker {
  margin: 0 0 0.5rem;
  color: #EE3D70;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
}

.hero-sub {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  color: #3f444b;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  min-height: 2.75rem;
  background: #EE3D70;
  color: #ffffff;
  font-weight: 700;
  border-radius: 2px;
  text-decoration: none;
  line-height: 1.3;
}

.btn:hover,
.btn:focus {
  background: #c22e58;
  color: #ffffff;
  text-decoration: none;
}

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.stat-card {
  background: #f7f8fa;
  border: 1px solid #e8eaed;
  border-radius: 4px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.stat-num {
  margin: 0;
  color: #EE3D70;
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
}

.stat-label {
  margin: 0.15rem 0 0;
  color: #1f2124;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
}

.stat-num + .stat-label {
  /* Primary label stacks directly under big number (e.g. Million under $124+) */
  letter-spacing: 0.01em;
}

.stat-note {
  margin: 0.45rem 0 0;
  color: #3f444b;
  font-size: 0.92rem;
}

/* --- Quotes --- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
}

.quote-card {
  background: #ffffff;
  border: 1px solid #e8eaed;
  border-left: 4px solid #EE3D70;
  border-radius: 4px;
  padding: 1.25rem;
}

.quote-byline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.quote-photo {
  display: block;
  width: 6rem;
  height: 6rem;
  margin: 0;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #EE3D70;
}

.quote-card cite {
  display: block;
  flex: 1;
  min-width: 0;
}

.quote-card blockquote {
  margin: 0 0 0.85rem;
  color: #3f444b;
  font-style: italic;
}

.quote-card cite {
  color: #1f2124;
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
}

.quote-card .cite-meta {
  display: block;
  color: #3f444b;
  font-weight: 400;
  font-size: 0.85rem;
}

.quotes-strip {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: #f7f8fa;
  border-radius: 4px;
}

.quotes-strip p {
  margin: 0.65rem 0;
  color: #3f444b;
  font-style: italic;
}

.quotes-strip .attr {
  font-style: normal;
  font-weight: 700;
  color: #1f2124;
}

/* --- Programs: WorkWonder split (copy + Harlen stage photo floated right) --- */
.ww-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem 1.75rem;
  margin: 0 0 0.5rem;
}

.ww-copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.ww-photo {
  flex: 0 0 auto;
  margin: 0;
  max-width: 14rem;
}

.ww-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 640px) {
  .ww-photo {
    max-width: 11rem;
    margin-left: auto;
  }
}

/* --- Partners --- */
/* --- Partners (match old bayhagroup.com carousel: 5 across, ~240px cells, 5px gap) --- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.35rem;
  align-items: center;
  justify-items: center;
  margin-top: 1.25rem;
  max-width: 75rem; /* ~1200px like old Elementor content-width */
  margin-left: auto;
  margin-right: auto;
}

.partner-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 15rem; /* 240px */
  min-height: 7.5rem;
  padding: 0.75rem 0.5rem;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
}

.partner-tile:hover,
.partner-tile:focus-visible {
  border: none;
  outline: none;
  opacity: 0.88;
}

.partner-logo {
  display: block;
  width: 100%;
  max-width: 15rem; /* 240px — same cell as old 5-up carousel */
  max-height: 7.5rem;
  height: auto;
  object-fit: contain;
}

/* --- Cards (services / programs) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f0f1f3;
}

.card-body {
  padding: 1.25rem;
  flex: 1;
}

.card-body h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}

.card-body p {
  margin: 0 0 0.75rem;
}

.card-body ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #3f444b;
}

.card-body li {
  margin-bottom: 0.35rem;
}

/* --- Values --- */
.values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.value-item {
  padding: 1.1rem 1.2rem;
  background: #f7f8fa;
  border-radius: 4px;
  border-left: 4px solid #EE3D70;
}

.value-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.value-item p {
  margin: 0;
}

/* --- Team --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.75rem;
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 10rem;
  height: 10rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #EE3D70;
  background: #f0f1f3;
}

.team-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.team-title {
  margin: 0 0 0.75rem;
  color: #EE3D70;
  font-weight: 700;
  font-size: 0.95rem;
}

.team-bio {
  margin: 0;
  text-align: left;
  font-size: 0.95rem;
}

/* --- Contact --- */
.contact-photo {
  margin: 0 0 1.5rem;
  max-width: 40rem;
}

.contact-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

.contact-box {
  max-width: 32rem;
  padding: 1.5rem;
  background: #f7f8fa;
  border: 1px solid #e8eaed;
  border-radius: 4px;
}

.contact-box p {
  margin: 0 0 0.85rem;
}

.contact-email {
  font-size: 1.15rem;
  font-weight: 700;
}

/* --- Footer --- */
/* --- YouTube embed (home) — responsive 16:9 --- */
.video-embed {
  position: relative;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 2px;
  overflow: hidden;
}

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

.feather-break {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.5rem 0 1.5rem; /* ≥20px before gray footer */
  padding: 0;
}

.feather-break img {
  display: block;
  width: 5rem;
  height: auto;
}

.site-footer {
  border-top: 1px solid #e8eaed;
  background: #1f2124;
  color: #c8ccd1;
  padding: 2rem 1.25rem;
}

.footer-inner {
  max-width: 68rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer a {
  color: #EE3D70;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #ff6b96;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-nav a {
  color: #c8ccd1;
  font-size: 0.9rem;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: #EE3D70;
}

.footer-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: #8b9199;
}

.accent-feather {
  width: 2.5rem;
  height: auto;
  margin: 0 auto 1rem;
  opacity: 0.85;
}

/* --- Utilities --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Mobile adaptive (Harlen 2026-09-17) --- */
@media (max-width: 40rem) {
  body {
    font-size: 1.05rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
  }

  .logo {
    width: min(10rem, 70vw);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0.25rem;
    min-height: 2.75rem;
    line-height: 1.35;
    border-bottom: 1px solid #e8eaed;
  }

  .site-nav li:last-child a {
    border-bottom: none;
  }

  main {
    padding: 1.25rem 1rem 2.5rem;
  }

  .page-intro h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .hero {
    min-height: 30rem;
    padding: 3rem 1rem 2.75rem;
    /* Content-relative full-bleed — avoid 100vw overhang past layout viewport */
    width: calc(100% + 2rem);
    max-width: none;
    margin-left: -1rem;
    margin-right: -1rem;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }

  .hero-sub {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
  }

  .btn {
    display: block;
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-sizing: border-box;
    padding: 0.95rem 1.25rem;
  }

  .section {
    margin: 2rem 0;
  }

  .stats,
  .quotes,
  .card-grid,
  .team-grid,
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-card,
  .quote-card,
  .card,
  .partner-tile,
  .contact-box {
    width: 100%;
  }

  .stat-num {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .team-photo {
    width: 8.5rem;
    height: 8.5rem;
  }

  .team-bio {
    font-size: 1rem;
  }

  .partner-tile {
    min-height: 4.75rem;
    padding: 0.85rem 1rem;
  }

  .quotes-strip {
    padding: 1.15rem 1rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.25rem;
  }

  .footer-nav {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .footer-nav a {
    display: block;
    padding: 0.65rem 0;
    min-height: 2.5rem;
    border-bottom: 1px solid #33373d;
  }

  .footer-nav li:last-child a {
    border-bottom: none;
  }
}

@media (max-width: 23.75rem) {
  /* ~380px phones */
  body {
    font-size: 1rem;
  }

  .header-inner,
  main {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .hero {
    padding: 2.5rem 0.85rem 2.25rem;
    width: calc(100% + 1.7rem);
    max-width: none;
    margin-left: -0.85rem;
    margin-right: -0.85rem;
  }

  .hero h1 {
    font-size: 1.55rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .stat-card,
  .value-item,
  .card-body,
  .contact-box {
    padding: 1rem 0.9rem;
  }

  .team-photo {
    width: 7.5rem;
    height: 7.5rem;
  }
}

/* --- Programs: RAPs split (copy + rotary-grinder photo floated right) --- */
.raps-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem 1.75rem;
  margin: 0 0 0.5rem;
}

.raps-copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.raps-photo {
  flex: 0 0 auto;
  margin: 0;
  max-width: 14rem;
}

.raps-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 640px) {
  .raps-photo {
    max-width: 11rem;
    margin-left: auto;
  }
}
