/*
Theme Name: mYe Foundation
Theme URI: https://example.com/
Author: mYe Foundation
Description: A polished one-page WordPress theme for the Michigan Youth Empowerment Foundation.
Version: 1.2.0
Requires PHP: 7.4
Text Domain: mye-foundation
*/

:root {
  --mye-navy: #153149;
  --mye-ink: #172331;
  --mye-blue: #2f6682;
  --mye-gold: #c99a3f;
  --mye-sage: #6f8f82;
  --mye-paper: #fbfaf7;
  --mye-mist: #edf4f2;
  --mye-line: rgba(23, 35, 49, 0.14);
  --mye-white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  color: var(--mye-ink);
  background: var(--mye-paper);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  color: #fff;
  background: var(--mye-navy);
  clip: auto;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--mye-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 20px;
  color: #fff;
}

.brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  border-radius: 15px;
  background: #fff;
}

.brand-name {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus {
  color: #fff;
  border-bottom-color: var(--mye-gold);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: #fff;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
}

.hero {
  min-height: calc(100vh - 84px);
  background: url("https://i.imgur.com/EhNXKjH.png") center/cover no-repeat;
  scroll-margin-top: 84px;
}

.section {
  padding: clamp(64px, 8vw, 112px) 0;
  scroll-margin-top: 84px;
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--mye-gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.page-title,
.section-heading {
  margin: 0;
  color: var(--mye-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.page-title {
  max-width: 900px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.section-heading {
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.lead {
  max-width: 780px;
  margin: 24px 0 0;
  color: #44505b;
  font-size: 1.1rem;
}

.intro-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.statement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.statement {
  min-height: 260px;
  padding: clamp(26px, 4vw, 42px);
  background: #fff;
  border-top: 6px solid var(--mye-gold);
  box-shadow: 0 18px 50px rgba(23, 35, 49, 0.08);
}

.statement-dark {
  color: #fff;
  background: var(--mye-navy);
  border-top-color: var(--mye-sage);
}

.statement span {
  display: block;
  margin-bottom: 18px;
  color: var(--mye-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.statement p {
  margin: 0;
  font-size: 1.04rem;
}

.video-wrap {
  margin-top: 28px;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--mye-line);
}

.video-wrap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.section-impact {
  background: var(--mye-mist);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--mye-line);
  border: 1px solid var(--mye-line);
}

.impact-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 28px;
  background: #fff;
}

.impact-item span {
  color: var(--mye-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  line-height: 1;
}

.impact-item p {
  margin: 0;
}

.section-scholarship {
  color: #fff;
  background: linear-gradient(135deg, #153149 0%, #244a5c 58%, #6f8f82 100%);
}

.section-scholarship .section-kicker,
.section-scholarship .section-heading,
.section-scholarship .lead {
  color: #fff;
}

.scholarship-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(32px, 7vw, 80px);
  align-items: start;
}

.scholarship-panel {
  padding: 34px;
  color: var(--mye-ink);
  background: #fff;
  border-top: 8px solid var(--mye-gold);
}

.award {
  margin: 0;
  color: var(--mye-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 1;
}

.scholarship-panel dl {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.scholarship-panel dt {
  color: #69717a;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scholarship-panel dd {
  margin: 3px 0 0;
  color: var(--mye-navy);
  font-weight: 700;
}

.criteria-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.criteria-list div {
  padding: 22px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  margin-top: 28px;
  color: var(--mye-navy);
  font-weight: 700;
  background: #fff;
  border: 1px solid #fff;
}

.btn:hover,
.btn:focus {
  color: #fff;
  background: var(--mye-gold);
  border-color: var(--mye-gold);
}

.section-contact {
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.contact-details {
  padding: 32px;
  color: #fff;
  background: var(--mye-navy);
}

.contact-details a {
  display: block;
  margin-bottom: 22px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-details p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.7);
  background: var(--mye-navy);
}

.copyright {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .header-inner {
    min-height: 76px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--mye-navy);
    transition: max-height 0.25s ease;
  }

  .site-nav.is-open {
    max-height: 320px;
  }

  .site-nav ul {
    display: grid;
    gap: 0;
    padding: 10px 20px 18px;
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: calc(100vh - 76px);
    scroll-margin-top: 76px;
  }

  html,
  body {
    scroll-padding-top: 76px;
  }

  .intro-layout,
  .statement-grid,
  .impact-grid,
  .scholarship-layout,
  .criteria-list,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .impact-item {
    grid-template-columns: 48px 1fr;
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    gap: 12px;
  }

  .brand img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .brand-name {
    font-size: 1.02rem;
    letter-spacing: 1px;
  }

  .section {
    padding: 54px 0;
  }

  .hero {
    background-position: center;
  }

  .statement,
  .scholarship-panel,
  .contact-details {
    padding: 24px;
  }
}
