﻿:root {
  color-scheme: light;
  --ink: #17211c;
  --soft-ink: #33433a;
  --muted: #66746d;
  --paper: #f4f6f2;
  --panel: #fffffa;
  --line: rgba(23, 33, 28, 0.14);
  --pitch: #1f7a4d;
  --pitch-dark: #0e3527;
  --pitch-soft: #dcece2;
  --accent: #e0b51f;
  --clay: #a86639;
  --night: #101915;
  --shadow: 0 18px 42px rgba(13, 35, 25, 0.14);
  font-family:
    "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    repeating-linear-gradient(
      0deg,
      rgba(31, 122, 77, 0.025) 0,
      rgba(31, 122, 77, 0.025) 1px,
      transparent 1px,
      transparent 8px
    ),
    linear-gradient(180deg, #f7f8f4 0%, #edf3ee 48%, #f4f6f2 100%);
  overflow-x: hidden;
}

a,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(224, 181, 31, 0.52);
  outline-offset: 3px;
}

svg {
  width: 1.18em;
  height: 1.18em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
p,
a,
button,
span,
li,
dd {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--pitch-dark);
  transform: translateY(-140%);
}

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

.page {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px 28px;
  color: #f7fbf4;
  background: rgba(14, 31, 24, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 218px;
}

.brand span:last-child {
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: #fffef6;
  background: var(--pitch);
}

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

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

.brand small {
  margin-top: 3px;
  color: #c8d8ce;
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #dce8df;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: #fff;
  border-color: var(--accent);
}

.nav-cta,
.menu-button,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 6px;
  font-weight: 900;
}

.nav-cta {
  padding: 0 16px;
  color: #122018;
  background: var(--accent);
}

.menu-button {
  display: none;
  width: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  background: transparent;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 500px;
  height: calc(100svh - 132px);
  max-height: 680px;
  color: #fffef6;
  background:
    linear-gradient(90deg, rgba(6, 17, 12, 0.9) 0%, rgba(6, 17, 12, 0.68) 38%, rgba(6, 17, 12, 0.16) 72%, rgba(6, 17, 12, 0.04) 100%),
    url("assets/football-sport-hero.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 18px
    ),
    linear-gradient(0deg, rgba(8, 20, 15, 0.35), transparent 45%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  padding: 46px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow,
.publish-band .eyebrow,
.site-footer .eyebrow {
  color: #f0c84b;
}

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 6.4vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

h2 {
  margin-bottom: 0;
  font-size: 2.12rem;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.35;
}

.hero-copy {
  width: min(650px, 100%);
  margin-bottom: 28px;
  color: #e4efe7;
  font-size: 1.08rem;
  line-height: 1.82;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.primary-action,
.secondary-action {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
}

.primary-action {
  color: #fffef6;
  background: var(--pitch);
  box-shadow: 0 12px 30px rgba(16, 92, 58, 0.28);
}

.primary-action:hover {
  background: #17643e;
}

.secondary-action {
  color: #fffef6;
  border-color: rgba(255, 254, 246, 0.36);
  background: rgba(255, 254, 246, 0.1);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 10px;
  margin: 0;
}

.hero-facts div {
  padding: 14px;
  border-left: 3px solid var(--accent);
  background: rgba(6, 17, 12, 0.58);
}

.hero-facts dt {
  margin-bottom: 3px;
  font-size: 1.25rem;
  font-weight: 900;
}

.hero-facts dd {
  margin: 0;
  color: #cdded2;
  font-size: 0.9rem;
}

.mission-band {
  padding: 58px 0;
  color: #f7fbf4;
  background:
    linear-gradient(135deg, rgba(14, 53, 39, 0.98), rgba(24, 78, 54, 0.94)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.055) 0,
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px,
      transparent 14px
    );
}

.mission-layout {
  display: grid;
  grid-template-columns: minmax(200px, 0.42fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.mission-heading h2 {
  margin-bottom: 12px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mission-card {
  min-height: 188px;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  background: rgba(5, 18, 12, 0.36);
  box-shadow: 0 18px 34px rgba(4, 14, 10, 0.18);
}

.mission-card.is-primary {
  background: rgba(224, 181, 31, 0.12);
}

.mission-card blockquote {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.72;
  letter-spacing: 0;
}

.board-section,
.process-section {
  padding: 70px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(280px, 1fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p:last-child,
.publish-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.board-tools {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(340px, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.search-box,
.filter-card,
.publish-form,
.listing-card,
.process-list li {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 250, 0.9);
  box-shadow: var(--shadow);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 14px;
  color: var(--pitch);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.filter-card {
  display: grid;
  grid-template-columns: minmax(190px, auto) repeat(2, minmax(132px, 1fr));
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
}

.role-filter,
.segmented {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(23, 33, 28, 0.1);
  border-radius: 6px;
  background: rgba(220, 236, 226, 0.7);
}

.role-filter button,
.segmented button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 5px;
  color: var(--soft-ink);
  background: transparent;
  font-weight: 900;
}

.segmented button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.role-filter button.is-active,
.segmented button.is-active {
  color: #fffef6;
  background: var(--pitch-dark);
}

.filter-card label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pitch);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 33, 28, 0.15);
  border-radius: 6px;
  color: var(--ink);
  background: #fffffb;
}

input,
select {
  min-height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 128px;
  padding: 12px;
  resize: vertical;
}

.filter-card select {
  min-height: 38px;
}

.board-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.board-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.board-summary button,
.empty-state button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--soft-ink);
  background: rgba(255, 255, 250, 0.82);
  font-weight: 800;
}

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

.listing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.listing-card header {
  padding: 18px 18px 0;
}

.listing-card h3 {
  margin: 12px 0 10px;
}

.listing-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 18px 18px;
}

.listing-body p {
  min-height: 72px;
  margin-bottom: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.listing-meta {
  display: grid;
  gap: 9px;
  margin: 0 0 16px;
}

.listing-meta div {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 10px;
}

.listing-meta dt {
  color: var(--pitch);
  font-weight: 900;
}

.listing-meta dd {
  margin: 0;
  color: var(--soft-ink);
}

.listing-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.listing-foot span {
  color: var(--muted);
  font-size: 0.9rem;
}

.listing-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pitch);
  font-weight: 900;
}

.contact-reveal {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(31, 122, 77, 0.26);
  border-radius: 6px;
  color: var(--pitch-dark);
  background: rgba(220, 236, 226, 0.74);
  font-weight: 900;
}

.contact-reveal.is-visible {
  color: #fffef6;
  background: var(--pitch-dark);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 4px;
  color: var(--soft-ink);
  background: var(--pitch-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.tag.role-student {
  color: #fffef6;
  background: var(--pitch);
}

.tag.role-coach {
  color: #1e2119;
  background: var(--accent);
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 220px;
  padding: 32px;
  border: 1px dashed rgba(31, 122, 77, 0.34);
  border-radius: 6px;
  background: rgba(255, 255, 250, 0.76);
  text-align: center;
}

.empty-state h3,
.empty-state p {
  margin-bottom: 0;
}

.empty-state p {
  color: var(--muted);
}

.publish-band {
  padding: 70px 0;
  color: #f6fbf2;
  background:
    linear-gradient(135deg, rgba(14, 53, 39, 0.98), rgba(36, 79, 62, 0.94)),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.055) 0,
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px,
      transparent 8px
    );
}

.publish-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(340px, 1.25fr);
  gap: 34px;
  align-items: start;
}

.publish-copy {
  position: sticky;
  top: 96px;
}

.publish-copy h2 {
  margin-bottom: 14px;
}

.publish-copy p {
  color: #cbdcd1;
}

.publish-points,
.assurance-list {
  display: grid;
  gap: 12px;
}

.publish-points {
  margin-top: 24px;
}

.publish-points span,
.assurance-list span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.65;
}

.publish-points svg,
.assurance-list svg {
  flex: 0 0 auto;
  color: var(--accent);
}

.publish-form {
  display: grid;
  gap: 18px;
  padding: 22px;
  color: var(--ink);
}

.form-head {
  display: flex;
  justify-content: flex-start;
}

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

.publish-form label {
  display: grid;
  gap: 8px;
  color: var(--soft-ink);
  font-weight: 900;
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.consent-line input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.consent-line a {
  color: var(--pitch-dark);
  font-weight: 900;
}

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

.submit-button {
  width: 100%;
  border: 0;
}

.form-status {
  min-height: 24px;
  margin: -4px 0 0;
  color: var(--pitch-dark);
  font-weight: 900;
}

.form-status.is-error {
  color: #9b371e;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  min-height: 220px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 250, 0.94), rgba(220, 236, 226, 0.68));
}

.process-list span {
  display: block;
  margin-bottom: 22px;
  color: rgba(23, 33, 28, 0.32);
  font-size: 2.1rem;
  font-weight: 900;
}

.process-list h3 {
  margin-bottom: 10px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.assurance-band {
  padding: 52px 0;
  background:
    linear-gradient(135deg, rgba(220, 236, 226, 0.98), rgba(247, 248, 244, 0.96));
}

.assurance-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(300px, 1fr);
  gap: 30px;
  align-items: center;
}

.assurance-list svg {
  color: var(--pitch);
}

.site-footer {
  padding: 38px 0;
  color: #d8e3dc;
  background: var(--night);
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(150px, 0.45fr) minmax(260px, 0.82fr);
  gap: 28px;
  align-items: start;
}

.footer-brand {
  color: #fffef6;
}

.site-footer p {
  max-width: 520px;
  margin: 18px 0 0;
  color: #aebfb4;
  line-height: 1.8;
}

.footer-links,
.site-footer address {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #eef6f0;
}

.site-footer address {
  margin: 0;
  color: #aebfb4;
  font-style: normal;
  line-height: 1.65;
}

.legal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aebfb4;
  font-size: 0.9rem;
}

.legal-strip a {
  color: #eef6f0;
  font-weight: 800;
}

.static-topbar {
  position: static;
}

.static-links {
  margin-left: auto;
}

.legal-page,
.not-found-page {
  padding: 70px 0;
}

.legal-page h1,
.not-found-page h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5vw, 3.8rem);
  line-height: 1.05;
}

.legal-page > p,
.not-found-page p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.82;
}

.legal-page section {
  max-width: 820px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-page section h2 {
  margin-bottom: 10px;
  font-size: 1.32rem;
}

.legal-page section p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.82;
}

.not-found-page {
  min-height: 70vh;
}

.not-found-page .primary-action {
  width: fit-content;
  margin-top: 12px;
}

@media (max-width: 980px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    padding: 10px 16px;
    overflow: hidden;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .static-topbar {
    grid-template-columns: 1fr;
  }

  .static-links {
    position: static;
    display: flex;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .menu-button {
    display: inline-flex;
    justify-self: end;
    flex: 0 0 auto;
  }

  .nav-links.is-open {
    position: absolute;
    top: 72px;
    right: 16px;
    display: grid;
    width: min(260px, calc(100vw - 32px));
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: rgba(14, 31, 24, 0.98);
  }

  .nav-links.is-open a {
    padding: 12px;
  }

  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
    background-position: 62% center;
  }

  .hero-content {
    padding: 72px 0 58px;
  }

  .section-heading,
  .mission-layout,
  .board-tools,
  .publish-layout,
  .assurance-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .publish-copy {
    position: static;
  }

  .filter-card {
    grid-template-columns: 1fr 1fr;
  }

  .role-filter {
    grid-column: 1 / -1;
  }

  .listing-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page {
    width: min(1160px, calc(100% - 24px));
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero-content {
    padding: 58px 0 46px;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .hero-copy,
  .section-heading p:last-child,
  .publish-copy p {
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .hero-actions {
    display: grid;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-facts,
  .filter-card,
  .form-grid,
  .listing-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .board-section,
  .mission-band,
  .process-section,
  .publish-band {
    padding: 50px 0;
  }

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

  .mission-card {
    min-height: 0;
  }

  .publish-form {
    padding: 18px;
  }

  .segmented,
  .role-filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
