/* =====================================================
   SMWOA Website
   Southern Minnesota Wrestling Officials Association
   ===================================================== */

/* -------------------------
   CSS Variables
   ------------------------- */

:root {
  --black: #050505;
  --charcoal: #171717;
  --charcoal-2: #242424;

  --gray-900: #222222;
  --gray-800: #333333;
  --gray-700: #555555;
  --gray-600: #666666;
  --gray-400: #a5a5a5;
  --gray-300: #d8d8d8;
  --gray-200: #eeeeee;
  --gray-100: #f7f7f7;

  --white: #ffffff;

  --red: #9f1d20;
  --red-dark: #781518;
  --gold: #c79a3a;

  --body-font: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --heading-font: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 16px 36px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.16);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --container: 1160px;
}

/* -------------------------
   Base
   ------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: var(--white);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.12;
}

h1,
h2 {
  font-family: var(--heading-font);
  font-weight: 900;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.75rem, 5.6vw, 5.25rem);
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
}

h3 {
  font-size: 1.25rem;
}

ul,
ol {
  margin-top: 0;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.muted {
  color: var(--gray-600);
}

/* -------------------------
   Buttons / Links
   ------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 26px rgba(159, 29, 32, 0.24);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-secondary,
.btn-outline {
  color: var(--charcoal);
  border-color: var(--charcoal);
  background: transparent;
}

.btn-secondary:hover,
.btn-outline:hover {
  color: var(--white);
  background: var(--charcoal);
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--red);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.text-link:hover {
  color: var(--red-dark);
}

/* -------------------------
   Header
   ------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 1.5rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 260px;
  max-width: 390px;
}

.site-logo {
  width: auto;
  height: 70px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.site-title {
  display: grid;
  min-width: 0;
  line-height: 1.08;
}

.site-title strong {
  color: var(--charcoal);
  font-size: 1.15rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.site-title small {
  max-width: 270px;
  color: var(--gray-700);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  margin-left: auto;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 0.78rem;
  border-radius: 999px;
  color: var(--gray-800);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--charcoal);
  background: rgba(0, 0, 0, 0.07);
}

.site-nav .nav-cta {
  min-height: 44px;
  padding-inline: 1rem;
  color: var(--white);
  background: var(--red);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  color: var(--white);
  background: var(--red-dark);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--charcoal);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 999px;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* -------------------------
   Hero
   ------------------------- */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 660px;
  overflow: hidden;
  color: var(--charcoal);
  background:
    radial-gradient(circle at 72% 28%, rgba(159, 29, 32, 0.15), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f7f7f7 52%, #eeeeee 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 76%);
}

.hero::after {
  content: "WRESTLING";
  position: absolute;
  right: -0.05em;
  bottom: -0.22em;
  color: rgba(0, 0, 0, 0.045);
  font-family: var(--heading-font);
  font-size: clamp(5rem, 16vw, 15rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  padding: 4.5rem 0;
}

.hero-logo-wrap {
  width: 180px;
  margin-bottom: 2rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-logo {
  width: 100%;
  height: auto;
  background: transparent;
}

.hero-text {
  max-width: 720px;
  color: var(--gray-700);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

/* -------------------------
   Page Hero
   ------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  color: var(--charcoal);
  background:
    radial-gradient(circle at 78% 28%, rgba(159, 29, 32, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f7f7f7 58%, #eeeeee 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border: 42px solid rgba(159, 29, 32, 0.07);
  border-radius: 999px;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.page-hero p {
  max-width: 780px;
  color: var(--gray-700);
  font-size: 1.12rem;
}

/* -------------------------
   Sections
   ------------------------- */

.section {
  padding: 5rem 0;
}

.section-light {
  background: var(--gray-100);
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 18% 25%, rgba(159, 29, 32, 0.22), transparent 34%),
    linear-gradient(135deg, #202020, #101010);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2.25rem;
}

.section-heading p {
  color: var(--gray-700);
  font-size: 1.05rem;
}

.section-dark .section-heading p,
.section-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.eyebrow-dark {
  color: var(--red);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.split-reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

/* -------------------------
   Cards
   ------------------------- */

.card-grid {
  display: grid;
  gap: 1.2rem;
}

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.content-card,
.info-panel,
.person-card,
.stat-card,
.simple-panel {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.feature-card {
  position: relative;
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.3rem;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(159, 29, 32, 0.08), transparent 45%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.025));
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(159, 29, 32, 0.24);
  box-shadow: var(--shadow-md);
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.card-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.75rem;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  color: var(--red);
  background: rgba(159, 29, 32, 0.09);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p,
.content-card p,
.stat-card span,
.simple-panel p {
  color: var(--gray-700);
}

.content-card,
.info-panel,
.simple-panel {
  padding: 1.5rem;
}

.content-card h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.info-panel {
  color: var(--charcoal);
  box-shadow: var(--shadow-md);
}

.info-panel h3 {
  color: var(--charcoal);
}

.info-panel .muted,
.info-panel p {
  color: var(--gray-700);
}

.stat-stack {
  display: grid;
  gap: 1rem;
}

.stat-card {
  padding: 1.25rem;
  border-left: 6px solid var(--red);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--charcoal);
  font-size: 1.18rem;
}

.person-card {
  padding: 1.25rem;
}

.person-card h3 {
  margin-bottom: 0.4rem;
  color: var(--red);
}

.person-card p {
  margin: 0;
  color: var(--gray-700);
}

/* -------------------------
   Utility Lists / Panels
   ------------------------- */

.clean-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--gray-700);
}

.clean-list li + li {
  margin-top: 0.72rem;
}

.clean-list li::marker {
  color: var(--red);
  font-weight: 950;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.notice-card {
  margin: 1.5rem 0;
  padding: 1.35rem;
  border-left: 6px solid var(--red);
  border-radius: var(--radius-md);
  background: var(--gray-100);
}

.notice-card h3 {
  margin-bottom: 0.75rem;
}

.notice-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--gray-700);
}

.notice-card li + li {
  margin-top: 0.6rem;
}

.notice-card-light {
  background: #fff8f8;
}

.resource-stack {
  display: grid;
  gap: 1rem;
}

.resource-card,
.member-resource-card,
.rules-resource-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.resource-card:hover,
.member-resource-card:hover,
.rules-resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 29, 32, 0.24);
  box-shadow: var(--shadow-md);
}

.resource-card h3,
.member-resource-card h3,
.rules-resource-card h3 {
  margin-bottom: 0.4rem;
}

.resource-card p,
.member-resource-card p,
.rules-resource-card p {
  margin: 0;
  color: var(--gray-700);
}

.resource-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 38px;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--charcoal);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* -------------------------
   Article / Join Page
   ------------------------- */

.article-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: 104px;
}

.sidebar-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.sidebar-card h2 {
  margin-bottom: 0.65rem;
  color: var(--charcoal);
  font-family: var(--body-font);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidebar-card a {
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  color: var(--gray-800);
  font-size: 0.95rem;
  font-weight: 800;
}

.sidebar-card a:hover {
  color: var(--red);
  background: var(--white);
}

.article-content {
  max-width: 860px;
}

.article-section {
  padding: 0 0 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}

.article-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.article-section h2 {
  max-width: 780px;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.article-section p {
  color: var(--gray-700);
  font-size: 1.05rem;
}

.article-section a:not(.btn) {
  color: var(--red);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.step-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
  color: var(--gray-700);
  font-size: 1.05rem;
}

.step-list li::marker {
  color: var(--red);
  font-weight: 900;
}

.info-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  color: var(--white);
  background:
    radial-gradient(circle at 15% 15%, rgba(214, 168, 79, 0.22), transparent 28%),
    linear-gradient(135deg, var(--charcoal), var(--black));
  box-shadow: var(--shadow-md);
}

.info-strip h3 {
  margin-bottom: 0.35rem;
}

.info-strip p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.info-strip .btn {
  flex: 0 0 auto;
}

/* -------------------------
   New Officials / Roadmap
   ------------------------- */

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.check-card {
  padding: 1.35rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.check-card span,
.gear-requirement-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-size: 0.88rem;
  font-weight: 950;
}

.check-card p,
.gear-requirement-card p {
  margin: 0;
  color: var(--gray-700);
}

.dark-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.dark-card {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

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

.dark-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.two-column-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}

.roadmap-section {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.roadmap {
  position: relative;
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.roadmap::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 24px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(159, 29, 32, 0.18), rgba(159, 29, 32, 0.5));
}

.roadmap-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.roadmap-marker {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding-top: 0.15rem;
}

.roadmap-marker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 4px solid #fff;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
  font-weight: 950;
}

.roadmap-card {
  padding: 1.35rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.roadmap-kicker {
  margin-bottom: 0.45rem;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.roadmap-card p:last-child {
  margin-bottom: 0;
  color: var(--gray-700);
}

/* -------------------------
   Member Resources
   ------------------------- */

.member-resource-grid,
.resource-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.member-resource-card {
  min-height: 190px;
}

/* -------------------------
   Gear Page
   ------------------------- */

.gear-callout {
  display: grid;
  gap: 0.75rem;
}

.gear-requirements-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.gear-requirement-card {
  padding: 1.35rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.gear-vendor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.gear-vendor-card {
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 210px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.gear-vendor-card:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 29, 32, 0.24);
  box-shadow: var(--shadow-md);
}

.gear-vendor-card img {
  max-width: 245px;
  max-height: 115px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.gear-vendor-card span {
  margin-top: 1rem;
  color: var(--gray-800);
  font-size: 0.95rem;
  font-weight: 850;
  text-align: center;
}

/* -------------------------
   NASO Page
   ------------------------- */

.naso-page-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 0.92fr);
  gap: 2rem;
  align-items: start;
}

.naso-flyer-column {
  display: grid;
  gap: 0.9rem;
}

.naso-flyer-link {
  display: block;
  padding: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.naso-flyer-link:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 29, 32, 0.24);
  box-shadow: var(--shadow-md);
}

.naso-flyer-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.naso-flyer-caption {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.95rem;
  font-weight: 750;
  text-align: center;
}

.naso-content-card {
  padding: 1.8rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.naso-content-card h2 {
  font-size: clamp(2rem, 3.3vw, 3rem);
}

.naso-content-card p {
  color: var(--gray-700);
}

.naso-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.naso-benefit-card {
  padding: 1.35rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

/* -------------------------
   School Resources / Fee Page
   ------------------------- */

.school-fee-intro {
  max-width: 860px;
}

.school-fee-intro h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
}

.school-fee-intro p {
  color: var(--gray-700);
  font-size: 1.12rem;
}

.fee-table-card {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
}

.fee-table th,
.fee-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.fee-table th {
  color: var(--white);
  background: var(--charcoal);
  font-size: 0.85rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fee-table td {
  color: var(--gray-800);
  font-weight: 750;
}

.fee-table tr:last-child td {
  border-bottom: 0;
}

.fee-table td:last-child {
  color: var(--red);
  font-weight: 950;
  white-space: nowrap;
}

.fee-note {
  margin: 0;
  padding: 1rem 1.15rem;
  color: var(--gray-800);
  background: #fff8f8;
  border-top: 1px solid rgba(159, 29, 32, 0.14);
  font-weight: 850;
}

.compact-fee-table td:first-child {
  width: 55%;
}

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

.mileage-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.3rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.mileage-card span {
  color: var(--gray-700);
  font-weight: 850;
}

.mileage-card strong {
  color: var(--red);
  font-size: 2rem;
  line-height: 1;
}

/* -------------------------
   Rules & Training
   ------------------------- */

.rules-callout {
  display: grid;
  gap: 0.75rem;
}

.rules-callout p {
  margin: 0;
  color: var(--gray-700);
}

.rules-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.rules-resource-card {
  min-height: 190px;
  padding: 1.35rem;
}

/* -------------------------
   History / Purpose / Leadership
   ------------------------- */

.history-highlight-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.6rem;
  border-radius: var(--radius-md);
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(214, 168, 79, 0.26), transparent 32%),
    linear-gradient(135deg, var(--charcoal), var(--black));
  box-shadow: var(--shadow-md);
}

.history-highlight-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.history-highlight-card strong {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.history-highlight-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.history-timeline {
  position: relative;
  display: grid;
  gap: 1.3rem;
  margin-top: 2rem;
}

.history-timeline::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 14px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(159, 29, 32, 0.18), rgba(159, 29, 32, 0.52));
}

.history-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.history-timeline-marker {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 6px solid var(--white);
  border-radius: 999px;
  background: var(--red);
  box-shadow: var(--shadow-sm);
}

.history-timeline-card {
  padding: 1.35rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.history-date {
  margin-bottom: 0.45rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.history-timeline-card p:last-child {
  margin-bottom: 0;
  color: var(--gray-700);
}

.history-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.history-values-grid .content-card h3 {
  font-size: 1.35rem;
}

.leadership-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.leadership-feature-card {
  padding: 1.35rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.leadership-feature-card span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.leadership-feature-card h3 {
  margin-bottom: 0.3rem;
}

.leadership-feature-card p {
  margin: 0 0 0.8rem;
  color: var(--gray-700);
  font-weight: 800;
}

.board-card {
  margin-top: 1.4rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  color: var(--white);
  background: linear-gradient(135deg, var(--charcoal), var(--black));
  box-shadow: var(--shadow-md);
}

.board-card h3 {
  margin-bottom: rem;
}

.board-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.board-list span {
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  font-weight: 800;
}

/* -------------------------
   Contact Page
   ------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
  align-items: start;
}

.contact-main {
  min-width: 0;
}

.contact-form-card,
.contact-side-card,
.contact-topic-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-form-card {
  padding: 1.6rem;
}

.contact-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-select,
.contact-input,
.contact-textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 14px;
  color: var(--gray-900);
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-select,
.contact-input {
  min-height: 52px;
  padding: 0 1rem;
}

.contact-textarea {
  min-height: 160px;
  padding: 0.9rem 1rem;
  resize: vertical;
}

.contact-select:focus,
.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: rgba(159, 29, 32, 0.55);
  box-shadow: 0 0 0 4px rgba(159, 29, 32, 0.12);
}

.contact-preview-card {
  margin: 1.2rem 0;
  padding: 1rem;
  border-left: 6px solid var(--red);
  border-radius: var(--radius-sm);
  background: var(--gray-100);
}

.contact-preview-label {
  margin-bottom: 0.25rem;
  color: var(--gray-600);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-subject-preview {
  margin: 0;
  color: var(--charcoal);
  font-size: 1.15rem;
  font-weight: 900;
}

.contact-fields {
  display: grid;
  gap: 0.8rem;
}

.contact-email-button {
  margin-top: 1.2rem;
}

.contact-helper-text {
  margin: 1rem 0 0;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.contact-success-text {
  color: var(--red);
  font-weight: 850;
}

.contact-sidebar {
  display: grid;
  gap: 1rem;
}

.contact-side-card {
  padding: 1.3rem;
}

.contact-side-card p {
  color: var(--gray-700);
}

.card-meta {
  margin-bottom: 0.55rem;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-security-card {
  border-left: 6px solid var(--red);
}

.contact-link-list {
  display: grid;
  gap: 0.45rem;
}

.contact-link-list a {
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  color: var(--gray-800);
  background: var(--gray-100);
  font-weight: 850;
}

.contact-link-list a:hover {
  color: var(--red);
  background: #fff8f8;
}

.contact-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.contact-topic-card {
  padding: 1.25rem;
}

.contact-topic-card p {
  margin: 0;
  color: var(--gray-700);
}

/* -------------------------
   CTA
   ------------------------- */

.cta-section {
   padding: 3rem 0 2.5rem;
  background: var(--white);
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.2rem;
  color: var(--white);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 15% 15%, rgba(214, 168, 79, 0.24), transparent 30%),
    linear-gradient(135deg, #262626, #101010);
  box-shadow: var(--shadow-lg);
}

.cta-card p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
}
.home-cta-section {
  padding-top: 0;
}
/* -------------------------
   Footer
   ------------------------- */

.site-footer {
  color: var(--white);
  background: var(--charcoal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.7fr);
  gap: 2rem;
  padding: 3.75rem 0;
}

.footer-logo {
  width: 145px;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer-column h2 {
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-family: var(--body-font);
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 750;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

/* =====================================================
   Responsive
   ===================================================== */

@media (max-width: 1180px) {
  .site-brand {
    min-width: 210px;
    max-width: 260px;
  }

  .site-title small {
    display: none;
  }

  .site-nav a {
    padding: 0.52rem 0.62rem;
    font-size: 0.8rem;
  }

  .card-grid-4,
  .leadership-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 1040px) {
  .checklist-grid,
  .dark-card-grid,
  .gear-requirements-grid,
  .gear-vendor-grid,
  .member-resource-grid,
  .resource-guide-grid,
  .history-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column-content {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .naso-page-layout {
    grid-template-columns: 1fr;
  }

  .naso-flyer-column {
    max-width: 520px;
  }

  .naso-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 940px) {
  .header-inner {
    min-height: 72px;
  }

  .site-brand {
    min-width: 0;
    max-width: none;
  }

  .site-logo {
    width: auto;
    height: 52px;
    flex: 0 0 auto;
    object-fit: contain;
  }

  .site-title strong {
    font-size: 1.05rem;
  }

  .site-title small {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
    position: relative;
    z-index: 1002;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    z-index: 1001;
    display: grid;
    justify-content: stretch;
    gap: 0.35rem;
    padding: 1rem;
    margin-left: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 220ms ease,
      opacity 220ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 48px;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
    white-space: normal;
  }

  .site-nav .nav-cta {
    justify-content: center;
  }

  .hero {
    min-height: 600px;
  }

  .hero-logo-wrap {
    width: 160px;
  }

  .split,
  .split-reverse,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

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

  .sidebar-card h2 {
    grid-column: 1 / -1;
  }

  .section {
    padding: 4.25rem 0;
  }

  .info-strip,
  .cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .rules-resource-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .contact-sidebar {
    grid-template-columns: 1fr;
  }

  .contact-topic-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .fee-table-card {
    overflow-x: auto;
  }

  .fee-table {
    min-width: 520px;
    font-size: 0.95rem;
  }

  .fee-table th,
  .fee-table td {
    padding: 0.9rem;
  }

  .fee-table td:last-child {
    white-space: normal;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .header-inner {
    min-height: 70px;
  }

  .site-brand {
    gap: 0.6rem;
  }

  .site-logo {
    width: auto;
    height: 48px;
    flex: 0 0 auto;
  }

  .site-title strong {
    font-size: 1rem;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  h2,
  .content-card h2 {
    font-size: clamp(1.75rem, 8.5vw, 2.45rem);
  }

  h3 {
    font-size: 1.18rem;
  }

  .hero {
    min-height: 540px;
  }

  .hero-content {
    padding: 3.25rem 0;
  }

  .hero-logo-wrap {
    width: 145px;
    margin-bottom: 1.4rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .page-hero {
    padding: 3.5rem 0;
  }

  .page-hero::after {
    right: -170px;
    bottom: -190px;
    width: 360px;
    height: 360px;
    border-width: 34px;
  }

  .page-hero p {
    font-size: 1.02rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-heading {
    margin-bottom: 1.8rem;
  }

  .hero-actions,
  .button-row {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .card-grid-3,
  .card-grid-4,
  .checklist-grid,
  .dark-card-grid,
  .gear-requirements-grid,
  .gear-vendor-grid,
  .member-resource-grid,
  .resource-guide-grid,
  .history-values-grid,
  .leadership-feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 210px;
  }

  .content-card,
  .info-panel,
  .simple-panel,
  .notice-card,
  .naso-content-card,
  .contact-form-card {
    padding: 1.2rem;
  }

  .resource-card,
  .member-resource-card,
  .rules-resource-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .resource-type {
    width: fit-content;
  }

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

  .article-section {
    padding-bottom: 2.25rem;
    margin-bottom: 2.25rem;
  }

  .roadmap::before {
    left: 20px;
  }

  .roadmap-step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0.9rem;
  }

  .roadmap-marker span {
    width: 40px;
    height: 40px;
    font-size: 0.88rem;
  }

  .roadmap-card {
    padding: 1.15rem;
  }

  .history-timeline-item {
    gap: 0.8rem;
  }

  .board-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .board-list span {
    justify-content: center;
  }

  .gear-vendor-card {
    min-height: 180px;
  }

  .gear-vendor-card img {
    max-width: 220px;
    max-height: 100px;
  }

  .cta-section {
    padding: 2.5rem 0;
  }

  .cta-card {
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 3rem 0;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}