:root {
  --ink: #111417;
  --muted: #4e5b63;
  --paper: #f7fbfe;
  --cream: #eaf5fc;
  --green: #101820;
  --green-dark: #050607;
  --gold: #7bafd4;
  --brick: #007fae;
  --sky: #d8edf8;
  --white: #ffffff;
  --line: rgba(17, 20, 23, 0.14);
  --shadow: 0 22px 50px rgba(5, 6, 7, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: 6px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  background: rgba(5, 6, 7, 0.96);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.brand-logo {
  display: inline-grid;
  place-items: center;
  width: 78px;
  height: 58px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.96rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-weight: 700;
  font-size: 0.92rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--white);
}

.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.nav-action {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 7px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--green-dark);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  filter: saturate(0.86) contrast(0.95);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.91), rgba(16, 24, 32, 0.68) 48%, rgba(16, 24, 32, 0.28) 84%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(16, 24, 32, 0.24) 58%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 150px 0 188px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brick);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 6.2vw, 5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 800;
}

h3 {
  font-size: 1.28rem;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  color: var(--green-dark);
}

.button.primary.dark {
  background: var(--green-dark);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-strip {
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 34px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  width: min(430px, calc(100% - 36px));
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 6, 7, 0.84);
  backdrop-filter: blur(14px);
}

.hero-strip div {
  min-height: 96px;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-strip div:last-child {
  border-right: 0;
}

.hero-strip strong,
.hero-strip span {
  display: block;
}

.hero-strip strong {
  font-size: 1.2rem;
}

.hero-strip span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.section {
  padding: clamp(70px, 10vw, 128px) clamp(18px, 4vw, 54px);
}

section[id] {
  scroll-margin-top: 92px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.lead {
  margin-top: 0;
  color: var(--green-dark);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 700;
  line-height: 1.28;
}

.mission-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.programs-section {
  background: var(--green-dark);
  color: var(--white);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 58px);
}

.section-heading h2 {
  max-width: 780px;
}

.programs-section .section-heading h2,
.events-section h2 {
  color: var(--white);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.program-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.card-number {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--gold);
  font-weight: 800;
}

.program-card p {
  color: rgba(255, 255, 255, 0.76);
}

.welcome-section {
  background: var(--cream);
}

.welcome-layout {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(28px, 6vw, 76px);
  align-items: stretch;
}

.welcome-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
}

.member-panel {
  display: grid;
  gap: 18px;
}

.member-panel > div {
  padding: clamp(22px, 4vw, 36px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.member-panel ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.member-panel li + li {
  margin-top: 11px;
}

.partner-note {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: center;
  border-left: 5px solid var(--brick);
}

.partner-note strong {
  color: var(--brick);
  text-transform: uppercase;
  font-size: 0.78rem;
}

.board-section {
  background: var(--paper);
}

.partners-section {
  background: var(--paper);
}

.partners-grid {
  display: grid;
  gap: 16px;
}

.partner-card {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.partner-logo {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 24px;
  border-radius: var(--radius);
  background: #f7fbfd;
  border: 1px solid rgba(32, 37, 38, 0.1);
}

.partner-logo img {
  width: min(180px, 100%);
  height: auto;
  object-fit: contain;
}

.partner-content span {
  display: block;
  margin-bottom: 12px;
  color: var(--brick);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.partner-content h3 {
  color: var(--green-dark);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.partner-content p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.04rem;
}

.partner-content a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.section-heading.compact {
  align-items: start;
  flex-direction: column;
  margin-bottom: 34px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.board-card {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.board-card span {
  display: block;
  margin-bottom: 22px;
  color: var(--brick);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.board-card h3 {
  color: var(--green-dark);
}

.events-section {
  background: var(--green);
  color: rgba(255, 255, 255, 0.8);
}

.event-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 7vw, 84px);
}

.event-layout p {
  max-width: 620px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.timeline span {
  color: var(--gold);
  font-weight: 800;
}

.timeline p {
  margin: 0;
}

.contact-section {
  background: var(--sky);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr minmax(310px, 0.8fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: start;
  margin-bottom: 24px;
}

.contact-layout > div:first-child p:not(.eyebrow) {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-card {
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-card p:first-child {
  padding-top: 0;
}

.contact-card p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-card span {
  color: var(--brick);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.contact-form-callout {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form-callout h3 {
  color: var(--green-dark);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.contact-form-callout p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.contact-form-callout .button {
  justify-self: start;
  margin-top: 8px;
}

.submit-page {
  background: var(--paper);
}

.submit-section {
  min-height: calc(100vh - 80px);
  padding-top: clamp(120px, 15vw, 170px);
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.92), rgba(5, 6, 7, 0.7)),
    url("assets/lcoc-building-background.jpg") left center / cover;
}

.submit-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(340px, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.submit-intro {
  color: var(--white);
}

.submit-intro h1 {
  max-width: 520px;
  font-size: clamp(3rem, 6vw, 5rem);
}

.submit-intro p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.submission-form {
  padding: clamp(22px, 4vw, 36px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hidden-field {
  display: none;
}

.form-heading {
  margin-bottom: 24px;
}

.form-heading h3 {
  color: var(--green-dark);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.submission-form label {
  display: grid;
  gap: 8px;
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.submission-form input,
.submission-form select,
.submission-form textarea {
  width: 100%;
  border: 1px solid rgba(32, 37, 38, 0.2);
  border-radius: 7px;
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.submission-form input,
.submission-form select {
  min-height: 48px;
  padding: 10px 12px;
}

.submission-form textarea {
  min-height: 150px;
  padding: 12px;
  resize: vertical;
}

.submission-form input:focus,
.submission-form select:focus,
.submission-form textarea:focus {
  outline: 3px solid rgba(123, 175, 212, 0.38);
  border-color: var(--gold);
}

.full-field {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
}

.form-note {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  margin: 16px 0 0;
  color: var(--green-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 54px);
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.76);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.thank-you-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.92), rgba(16, 24, 32, 0.78)),
    url("assets/lcoc-building-background.jpg") left center / cover;
  color: var(--white);
}

.thank-you {
  display: grid;
  align-content: center;
  min-height: 100vh;
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
  padding: 44px 0;
}

.thank-you-brand {
  position: absolute;
  top: 24px;
  left: clamp(18px, 4vw, 54px);
}

.thank-you h1 {
  max-width: 780px;
}

.thank-you p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.14rem;
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    top: 74px;
    right: 18px;
    display: none;
    width: min(330px, calc(100vw - 36px));
    padding: 18px;
    border-radius: var(--radius);
    background: var(--green-dark);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  }

  .site-nav.is-open {
    display: grid;
  }

  .nav-toggle {
    display: block;
  }

  .hero-content {
    padding-bottom: 240px;
  }

  .hero-strip {
    left: 18px;
    right: 18px;
    grid-template-columns: 1fr;
  }

  .hero-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-strip div:last-child {
    border-bottom: 0;
  }

  .split,
  .welcome-layout,
  .event-layout,
  .contact-layout,
  .submit-layout,
  .partner-card {
    grid-template-columns: 1fr;
  }

  .program-grid,
  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
  }

  .brand strong {
    font-size: 0.86rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .brand-logo {
    width: 62px;
    height: 48px;
  }

  .hero {
    min-height: 960px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-top: 118px;
    padding-bottom: 300px;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.25rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 64px 16px;
  }

  .section-heading {
    display: block;
  }

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

  .program-grid,
  .board-grid {
    grid-template-columns: 1fr;
  }

  .program-card {
    min-height: 230px;
  }

  .partner-logo {
    min-height: 180px;
  }

  .partner-note,
  .timeline div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}
