/* NS3DW Hub Site -- Main Stylesheet */

:root {
  --sage:        #506858;
  --green:       #3D8B3F;
  --green-bright:#4caf50;
  --orange:      #D4621A;
  --gold:        #F6C90E;
  --bg-dark:     #0f1710;
  --bg-mid:      #1a2e1b;
  --text:        #f0ede8;
  --text-muted:  #8a9e8c;
  --border:      rgba(255,255,255,0.08);
  --card-bg:     rgba(255,255,255,0.04);
  --transition:  0.3s ease;
  --radius:      6px;
  --max-w:       1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-bright); border-color: var(--green-bright); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: var(--green); color: var(--green-bright); }

.btn-outline--light {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline--light:hover { border-color: var(--gold); color: var(--gold); }

.btn-nav {
  background: var(--green);
  color: #fff;
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}
.btn-nav:hover { background: var(--green-bright); }

.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.82rem; }

/* LABELS */
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 0.75rem;
}
.section-label--light { color: var(--gold); }
.section-sub { color: var(--text-muted); font-size: 1rem; margin-bottom: 2.5rem; max-width: 56ch; }

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.35rem 0;
  background: transparent;
  transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}
.nav.scrolled {
  background: rgba(15,23,16,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo img { height: 2in; width: auto; filter: drop-shadow(0 2px 12px rgba(76,175,80,0.3)); }
.nav-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; margin-left: auto; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: calc(2in + 2rem) 1.5rem 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 50%, rgba(61,139,63,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 75% 30%, rgba(80,104,88,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 680px;
  margin: 0 auto 0 max(1.5rem, calc((100vw - 1140px) / 2));
  z-index: 2;
}
@media (max-width: 768px) {
  .hero-content {
    margin: 0 auto;
    text-align: center;
    padding: 0 1.25rem;
  }
  .hero-badges, .hero-ctas { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(76,175,80,0.35);
  color: var(--green-bright);
  border-radius: 999px;
  padding: 0.3em 0.85em;
}
.hero-h1 {
  margin-bottom: 1.25rem;
  color: var(--text);
}
.hero-h1 span { color: var(--green-bright); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 52ch;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero scroll video */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
  will-change: contents;
}
.hero-video-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg-dark) 0%, rgba(15,23,16,0.55) 40%, transparent 100%),
    linear-gradient(to top, var(--bg-dark) 0%, transparent 35%),
    linear-gradient(to bottom, rgba(15,23,16,0.4) 0%, transparent 20%);
  pointer-events: none;
}

/* Scroll-to-advance hint on the hero */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  z-index: 3;
}
.hero-scroll-hint-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero-video { opacity: 0.35; } /* darker on mobile for readability */
  .hero-video-vignette {
    background:
      rgba(15,23,16,0.45),
      linear-gradient(to top, var(--bg-dark) 0%, transparent 40%),
      linear-gradient(to bottom, rgba(15,23,16,0.5) 0%, transparent 25%);
  }
  .hero-content {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    text-align: center;
    align-items: center;
  }
  .hero-h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-badges { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-3d-placeholder { display: none; }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll-hint span {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--green-bright), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* SCHOOL SEARCH */
.school-search {
  background: var(--bg-mid);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.school-search::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(61,139,63,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.school-search .container { position: relative; }
.school-search h2 { margin-bottom: 0.5rem; }

.search-wrap { position: relative; max-width: 600px; margin: 0 auto 2rem; }
.search-input-wrap { position: relative; }
.search-icon {
  position: absolute;
  left: 1rem; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1rem 1rem 2.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus {
  border-color: var(--green);
  background: rgba(61,139,63,0.06);
}

.search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #1c2e1d;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 50;
  display: none;
}
.search-results.active { display: block; }
.search-result-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition);
  border-bottom: 1px solid var(--border);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover, .search-result-item.focused { background: rgba(61,139,63,0.12); }
.search-result-name { font-weight: 500; font-size: 0.9rem; }
.search-result-meta { font-size: 0.75rem; color: var(--text-muted); text-align: right; }
.search-result-status {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2em 0.6em;
  border-radius: 999px;
}
.status-active { background: rgba(76,175,80,0.18); color: var(--green-bright); }
.status-coming { background: rgba(246,201,14,0.12); color: var(--gold); }

/* School spinner */
.school-spinner {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,16,0.92);
  backdrop-filter: blur(8px);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.school-spinner.active { display: flex; }
.spinner-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  animation: spinLogo 0.8s linear infinite;
}
@keyframes spinLogo {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.school-spinner p { font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem; color: var(--text-muted); }

.district-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.district-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.35em 1em;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all var(--transition);
}
.district-btn:hover { border-color: var(--green); color: var(--green-bright); }

/* PRODUCTS */
.products {
  padding: 7rem 0;
  background: var(--bg-dark);
}
.products h2 { margin-bottom: 0.5rem; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: rgba(61,139,63,0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.product-category {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-bright);
}
.product-card-body h3 { font-size: 1.05rem; }
.product-card-body p { font-size: 0.85rem; color: var(--text-muted); flex: 1; }
.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 0.75rem; }
.product-price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--text); font-size: 0.95rem; }
.product-cta { font-size: 0.82rem; color: var(--green-bright); font-weight: 600; }
.product-card--all {
  border: 2px dashed rgba(255,255,255,0.1);
  background: transparent;
  justify-content: center;
}
.product-card--all:hover { border-color: var(--green); }
.product-card-body--center {
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}
.product-all-icon { font-size: 2.5rem; color: var(--text-muted); margin-bottom: 0.5rem; }

/* FUNDRAISER */
.fundraiser {
  background: var(--bg-mid);
  padding: 7rem 0;
}
.fundraiser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.fundraiser-text h2 { margin-bottom: 1rem; }
.fundraiser-text p { color: var(--text-muted); margin-bottom: 2rem; max-width: 46ch; }

.fundraiser-steps { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.fundraiser-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-bright);
  flex-shrink: 0;
  width: 2rem;
  line-height: 1;
  padding-top: 0.1rem;
}
.fundraiser-step strong { display: block; font-size: 0.9rem; margin-bottom: 0.25rem; }
.fundraiser-step p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

.fundraiser-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Proposal preview */
.fundraiser-visual { position: relative; }
.proposal-preview {
  position: relative;
  width: 260px;
  height: 360px;
  margin: 0 auto;
}
.proposal-page {
  position: absolute;
  top: 0; left: 0;
  width: 220px;
  height: 310px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: #1e2f1f;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  border: 1px solid var(--border);
}
.proposal-page--offset {
  top: 30px;
  left: 40px;
  z-index: -1;
  opacity: 0.7;
}
.proposal-label {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Form card */
.form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem;
  margin-top: 4rem;
}
.form-card--centered { max-width: 680px; margin: 2rem auto 0; }
.form-card h3 { margin-bottom: 0.4rem; }
.form-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.75rem; }

.inquiry-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group input:focus, .form-group select, .form-group textarea:focus { border-color: var(--green); }
.form-group select { cursor: pointer; }
.form-group option { background: #1c2e1d; }
.form-group small { font-size: 0.72rem; color: var(--text-muted); }

/* MILITARY */
.military {
  padding: 7rem 0;
  background: var(--bg-dark);
}
.military-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.military-text h2 { margin-bottom: 1rem; }
.military-text p { color: var(--text-muted); margin-bottom: 1.5rem; max-width: 46ch; }
.military-list { margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.military-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.military-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
}
.veteran-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  background: var(--card-bg);
}
.veteran-badge span {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  white-space: nowrap;
}
.veteran-identity p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

.military-visual { display: flex; justify-content: center; }
.military-product-placeholder {
  position: relative;
  text-align: center;
}
.military-product-placeholder img {
  width: 280px;
  height: 280px;
  object-fit: contain;
  margin: 0 auto;
}
.military-product-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-weight: 500;
}

/* COLLAB */
.collab {
  background: var(--bg-mid);
  padding: 7rem 0;
  overflow: hidden;
}
.collab-header { text-align: center; margin-bottom: 3.5rem; }
.collab-header h2 { margin-bottom: 0.5rem; }
.collab-header .section-sub { margin: 0 auto; text-align: center; }

.collab-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 3rem;
}

.collab-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.collab-card--ns3dw { border-top: 3px solid var(--green); }
.collab-card--jktees { border-top: 3px solid var(--orange); }

.collab-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.collab-brand-logo { height: 44px; width: auto; object-fit: contain; }
.collab-logo--text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--orange);
}
.collab-location {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.collab-card h3 { font-size: 1.1rem; margin: 0; }
.collab-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; flex: 1; }

.collab-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
}
.collab-list li {
  font-size: 0.84rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
}
.collab-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green-bright);
  font-size: 0.7rem;
}
.collab-card--jktees .collab-list li::before { color: var(--orange); }

/* Bridge center column */
.collab-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 1.5rem;
  position: relative;
}
.collab-bridge-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}
.collab-bridge-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}
.collab-plus-sign {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
}
.collab-bridge-center p { font-size: 0.75rem; color: var(--text-muted); max-width: 12ch; line-height: 1.6; }
.collab-bridge-claim {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  max-width: 14ch;
}

/* Collab bottom */
.collab-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}
.collab-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  max-width: 700px;
}
.collab-proof-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: left;
}
.collab-proof-item strong { display: block; font-size: 0.88rem; margin-bottom: 0.4rem; }
.collab-proof-item p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* ── SCHOOL LOGO CAROUSEL ── */
.carousel-section {
  overflow: hidden;
  padding: 1.5rem 0;
  position: relative;
}
.carousel-section::before,
.carousel-section::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.carousel-section::before { left: 0; background: linear-gradient(to right, var(--bg-mid), transparent); }
.carousel-section::after  { right: 0; background: linear-gradient(to left, var(--bg-mid), transparent); }

.carousel-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scrollLeft 40s linear infinite;
}
.carousel-track--right { animation: scrollRight 40s linear infinite; }

.carousel-section:hover .carousel-track { animation-play-state: paused; }

@keyframes scrollLeft  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes scrollRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.carousel-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}
.carousel-logo-item:hover { background: rgba(255,255,255,0.05); }

.carousel-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 6px;
}
.carousel-logo-name {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-align: center;
  max-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── ADMIN MODE ── */
.admin-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: #1a0a00;
  border-bottom: 2px solid var(--orange);
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--orange);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}
.admin-bar span { opacity: 0.6; font-size: 0.72rem; font-weight: 400; color: rgba(255,255,255,0.5); }
.admin-bar a {
  color: var(--orange);
  border: 1px solid rgba(212,98,26,0.4);
  border-radius: 4px;
  padding: 0.2em 0.7em;
  font-size: 0.75rem;
  transition: all 0.2s;
  text-decoration: none;
}
.admin-bar a:hover { background: var(--orange); color: #fff; }
.admin-bar .admin-exit { margin-left: auto; color: rgba(255,255,255,0.4); font-size: 0.72rem; cursor: pointer; }

.admin-edit-overlay {
  position: absolute;
  top: 0.5rem; right: 0.5rem;
  z-index: 10;
  display: none;
}
body.admin-mode .admin-edit-overlay { display: block; }
body.admin-mode .product-card { position: relative; }

/* Admin inline editing */
.admin-editable {
  outline: 1.5px dashed rgba(212,98,26,0.4);
  border-radius: 3px;
  cursor: text;
  transition: outline-color 0.2s, background 0.2s;
  min-width: 20px;
  min-height: 1em;
}
.admin-editable:hover {
  outline-color: rgba(212,98,26,0.8);
  background: rgba(212,98,26,0.05);
}
.admin-editable:focus {
  outline: 2px solid var(--orange);
  background: rgba(212,98,26,0.08);
  border-radius: 3px;
}

/* Admin bar action buttons */
.admin-bar-action {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  border-radius: 4px;
  padding: 0.2em 0.75em;
  font-size: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.admin-bar-action:hover { background: rgba(255,255,255,0.15); color: #fff; }
.admin-bar-action--primary { background: var(--green); border-color: var(--green); color: #fff; }
.admin-bar-action--primary:hover { background: var(--green-bright); }
.admin-bar-action--danger { border-color: rgba(229,115,115,0.4); color: #e57373; }
.admin-bar-action--danger:hover { background: rgba(229,115,115,0.15); }

/* Hidden admin entry button in footer */
.admin-secret-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.06);
  font-size: 0.5rem;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: 0.5rem;
  transition: color 0.3s;
  vertical-align: middle;
  user-select: none;
}
.admin-secret-btn:hover { color: rgba(255,255,255,0.15); }

/* Back to Hub button on school pages */
.back-to-hub {
  position: fixed;
  bottom: 5rem;
  left: 1.5rem;
  z-index: 90;
  background: rgba(15,23,16,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.back-to-hub:hover {
  background: rgba(80,104,88,0.85);
  color: #fff;
  border-color: var(--green);
  transform: translateX(2px);
}
.back-to-hub svg { flex-shrink: 0; }

.admin-edit-btn {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
}

@media (max-width: 900px) {
  .collab-strip { grid-template-columns: 1fr; }
  .collab-bridge { flex-direction: row; padding: 1rem 0; }
  .collab-bridge-line { width: auto; height: 1px; flex: 1; background: linear-gradient(to right, transparent, var(--border), transparent); }
  .collab-proof { grid-template-columns: 1fr; max-width: 100%; }
}

/* SOCIAL PROOF */
.proof {
  padding: 7rem 0;
  background: var(--bg-dark);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0 4rem;
}
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  border-left: 3px solid var(--green);
}
.testimonial-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; flex-direction: column; gap: 0.2rem; }
.testimonial-author strong { font-size: 0.88rem; }
.testimonial-author span { font-size: 0.78rem; color: var(--text-muted); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  text-align: center;
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-bright);
  margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* ABOUT */
.about {
  background: var(--bg-mid);
  padding: 7rem 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}
.about-photo {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.75; }
.about-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.about-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.3em 0.9em;
}

/* QUOTE */
.quote-section {
  padding: 7rem 0;
  background: var(--bg-dark);
}
.quote-section h2 { margin-bottom: 0.5rem; }

/* FOOTER */
.footer {
  background: #0a100b;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); margin: 0.75rem 0 1rem; line-height: 1.6; }
.footer-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(212,98,26,0.4);
  color: var(--orange);
  border-radius: 999px;
  padding: 0.3em 0.8em;
}
.footer-links { display: contents; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col strong { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.25rem; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* GSAP initial states are set via gsap.set() in main.js, not CSS.
   This ensures the page is always visible even if GSAP fails to load. */

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-3d-placeholder { display: none; }
  .hero-content { margin-left: 1.5rem; }
  .fundraiser-inner, .military-inner, .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .fundraiser-visual { order: -1; }
  .collab-grid { grid-template-columns: 1fr; }
  .collab-plus { flex-direction: row; gap: 1rem; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .btn-nav { display: none; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .proposal-preview { display: none; }
}

/* Mobile nav open state */
.nav.menu-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(15,23,16,0.98);
  padding: 1.5rem;
  gap: 1.25rem;
  border-bottom: 1px solid var(--border);
}
