/* ============================================================
   NCU BoltNut Robotics — Editorial redesign (2026-07)
   Cream base / thin rule lines / Orbitron display type
   ============================================================ */

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

:root {
  --cream:   #fdfaf5;
  --ink:     #1c1c1c;
  --ink2:    #3a3a3a;
  --muted:   #666666;
  --muted2:  #8a8378;
  --line:    #ece6dc;
  --line2:   #e4ddd0;
  --orange:  #f07020;
  --orange-d:#d45a10;
  --orange-l:#ff9d5c;
  --gold:    #c99a66;
  --font-title: 'Orbitron', sans-serif;
  --font-body:  'Noto Sans TC', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-d); }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

@keyframes bnFadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bnBounce { 0%, 100% { transform: translateY(0); opacity: 0.7; } 50% { transform: translateY(10px); opacity: 1; } }
@keyframes bnMenuSlide { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bnNewsFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.fade-up { animation: bnFadeUp 0.7s ease both; }
.fade-up-1 { animation: bnFadeUp 0.7s ease 0.05s both; }
.fade-up-2 { animation: bnFadeUp 0.7s ease 0.1s both; }
.fade-up-3 { animation: bnFadeUp 0.7s ease 0.15s both; }

/* ===================================================
   NAVBAR
   =================================================== */
.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  padding: 0 max(24px, calc((100% - 1200px) / 2 + 24px));
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.navbar.overlay {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  border-bottom-color: transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.navbar.overlay.scrolled {
  background: var(--cream);
  border-bottom-color: var(--line);
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { height: 52px; width: 52px; object-fit: contain; }
.nav-brand {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--ink);
  transition: color 0.3s ease;
}
.navbar.overlay:not(.scrolled) .nav-brand { color: #fff; }

.nav-links { display: flex; gap: clamp(16px, 2.4vw, 34px); flex-wrap: wrap; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink2);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.navbar.overlay:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.88); }
.nav-links a:hover { color: var(--orange); }
.nav-links a.active { color: var(--orange); font-weight: 700; border-bottom-color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}
.navbar.overlay:not(.scrolled) .nav-toggle { border-color: #fff; }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.3s ease;
}
.navbar.overlay:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--ink);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  display: none;
  flex-direction: column;
  z-index: 20;
}
.nav-mobile-menu.open { display: flex; animation: bnMenuSlide 0.22s ease both; }
.nav-mobile-menu a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.nav-mobile-menu a.active { color: var(--orange); font-weight: 700; background: #fff5ec; }

@media (max-width: 759px) {
  .navbar { height: 72px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .photo-band { background-attachment: scroll; height: 420px; }
}

/* ===================================================
   HOME HERO
   =================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #141414;
}
.hero-video-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero-video-wrap iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;
  min-height: 100%; min-width: 177.78vh;
  transform: translate(-50%,-50%);
  border: 0; pointer-events: none;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.4) 40%, rgba(10,10,10,0.88) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; width: 100%;
  padding: 140px 32px 72px;
}
.hero-pre {
  font-family: var(--font-title);
  font-size: 12px; font-weight: 700;
  color: var(--orange-l);
  letter-spacing: 0.24em;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-sub {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(22px, 4vw, 35px);
  color: var(--orange);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.hero-sub .sm { font-size: 0.72em; }
.hero-title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(48px, 9vw, 124px);
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  line-height: 0.95;
}
.hero-tagline {
  font-size: 15px; font-style: italic;
  color: rgba(255,255,255,0.8);
  border-left: 2px solid var(--orange);
  padding: 4px 0 4px 16px;
  margin-bottom: 36px;
  max-width: 360px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bnBounce 2s ease-in-out infinite;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 30px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(240,112,32,0.35); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; transform: translateY(-3px); }
.btn-outline-white { border: 2px solid rgba(255,255,255,0.85); color: #fff; }
.btn-outline-white:hover { color: #fff; transform: translateY(-3px); background: rgba(255,255,255,0.1); }

/* ===================================================
   SECTION HEADERS / EYEBROW
   =================================================== */
.eyebrow {
  font-family: var(--font-title);
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.section-rule {
  border-top: 1px solid var(--ink);
  padding-top: 32px;
  margin-bottom: 32px;
}
.section-head h2 {
  font-family: var(--font-title);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.row-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 36px;
}
.row-head-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink);
  transition: gap 0.2s ease, color 0.2s ease;
}
.row-head-link:hover { gap: 14px; color: var(--orange); }

/* ===================================================
   PAGE HEADER (inner pages)
   =================================================== */
.page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  border-bottom: 1px solid var(--ink);
}
.page-header .eyebrow { font-size: 12px; font-weight: 700; margin-bottom: 16px; }
.page-header h1 {
  font-family: var(--font-title);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 14px;
}
.page-header p { font-size: 15px; color: var(--muted); max-width: 520px; }

/* ===================================================
   NEWS TEASER STRIP (home)
   =================================================== */
.news-teaser {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(64px,8vw,96px) 32px clamp(40px,5vw,56px);
}
.news-teaser-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.news-teaser-row h2 { font-family: var(--font-title); font-size: 24px; font-weight: 700; margin: 0; }
.news-teaser-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink);
  transition: gap 0.2s ease, color 0.2s ease;
}
.news-teaser-link:hover { gap: 14px; color: var(--orange); }
.news-teaser-card {
  display: flex; gap: 24px; align-items: flex-start;
  border: 1px solid var(--line2); padding: 28px;
  text-decoration: none; color: inherit; flex-wrap: wrap;
  transition: border-color 0.2s ease;
}
.news-teaser-card:hover { border-color: var(--orange); }
.news-teaser-card .date { font-family: var(--font-title); font-size: 12px; color: var(--orange); letter-spacing: 0.08em; flex-shrink: 0; }
.news-teaser-card-body { flex: 1; min-width: 220px; }
.news-teaser-card-body h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.news-teaser-card-body p { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; }

/* ===================================================
   PHOTO BAND (home, fixed parallax)
   =================================================== */
.photo-band {
  position: relative;
  height: clamp(460px,68vw,760px);
  background-image: url('hero-team.jpg');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  overflow: hidden;
}
.photo-band-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.12) 55%, rgba(10,10,10,0) 100%);
}
.photo-band-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 32px 44px;
}
.photo-band-inner .eyebrow { color: var(--orange-l); }
.photo-band-inner h2 {
  font-family: var(--font-title);
  font-size: clamp(22px,3.4vw,34px); font-weight: 700;
  color: #fff; margin: 0; max-width: 620px; line-height: 1.25;
}

/* ===================================================
   HOME — generic bordered section
   =================================================== */
.home-section {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(56px,8vw,88px) 32px;
  border-top: 1px solid var(--line2);
}
.home-section .eyebrow { font-size: 11px; }

/* ===================================================
   HOME — SPONSORS
   =================================================== */
.sponsor-mini-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px; margin-bottom: 36px;
}
.sponsor-mini-cell {
  border: 1px solid var(--line2); padding: 18px;
  display: flex; align-items: center; justify-content: center; height: 64px;
}
.sponsor-mini-cell img { max-width: 100%; max-height: 64px; object-fit: contain; }
.sponsor-mini-cell.placeholder span {
  font-family: var(--font-title); font-size: 13px; font-weight: 700;
  color: var(--muted2); letter-spacing: 0.06em;
}
.sponsor-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; background: var(--ink); padding: 28px 32px;
}
.sponsor-cta h3 { font-family: var(--font-title); font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.sponsor-cta p { font-size: 13.5px; color: rgba(255,255,255,0.65); }
.sponsor-cta .btn { flex-shrink: 0; padding: 12px 26px; }

/* ===================================================
   ABOUT TEASER (home)
   =================================================== */
.about-teaser {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(24px,4vw,40px) 32px 96px;
}
.about-teaser-text { max-width: 760px; }
.about-teaser-text h2 {
  font-family: var(--font-title);
  font-size: clamp(26px,3vw,38px); font-weight: 700;
  color: var(--ink); margin-bottom: 20px; line-height: 1.2;
}
.about-teaser-text h2 span { color: var(--orange); }
.about-teaser-text p { font-size: 15px; color: var(--ink2); line-height: 1.85; margin-bottom: 16px; }
.about-teaser-logo { width: 110px; float: right; margin: 0 0 16px 20px; }

/* ===================================================
   NEWS PAGE
   =================================================== */
.news-tabs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.news-tab {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 700;
  color: var(--ink2);
  background: transparent;
  border: 1px solid var(--ink);
  padding: 9px 22px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.news-tab.active { color: #fff; background: var(--orange); border-color: var(--orange); }

.news-list { animation: bnNewsFade 0.4s ease both; }
.news-item {
  display: flex; gap: 28px;
  padding-bottom: 32px; margin-bottom: 32px;
  border-bottom: 1px solid var(--line2);
  flex-wrap: wrap;
}
.news-item:last-child { border-bottom: none; }
.news-item.is-hidden { display: none; }
.news-num {
  font-family: var(--font-title);
  font-size: 44px; font-weight: 900;
  color: var(--gold);
  flex-shrink: 0; line-height: 1;
}
.news-item-body { flex: 1; min-width: 220px; }
.news-item-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.news-date { font-size: 12px; color: var(--orange); letter-spacing: 0.08em; }
.news-year-tag { font-size: 11px; font-weight: 700; color: var(--muted2); border: 1px solid var(--line2); padding: 2px 10px; }
.news-item-body h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 10px 0 8px; }
.news-item-body p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.news-empty { font-size: 14px; color: var(--muted2); padding: 24px 0; }

/* ===================================================
   ABOUT PAGE
   =================================================== */
.team-story {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(56px,8vw,88px) 32px;
}
.team-story-inner { max-width: 820px; }
.team-story h2 { font-family: var(--font-title); font-size: clamp(22px,3vw,28px); font-weight: 700; margin-bottom: 20px; line-height: 1.3; }
.team-story .lead { font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.85; margin-bottom: 16px; }
.team-story .lead strong { color: var(--orange); }
.team-story p { font-size: 15px; color: var(--ink2); line-height: 1.8; margin-bottom: 16px; }
.team-story-inner .story-logo { width: 120px; float: right; margin: 0 0 16px 24px; }

.location-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px clamp(56px,8vw,88px); }
.location-frame { border: 1px solid var(--line2); overflow: hidden; }
.location-frame iframe { width: 100%; height: 360px; border: 0; display: block; }

.info-grid-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px clamp(56px,8vw,88px); }
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: var(--line2); border: 1px solid var(--line2);
}
.info-cell { background: var(--cream); padding: 28px 24px; }
.info-cell .eyebrow { font-size: 11px; font-weight: 700; margin-bottom: 10px; }
.info-cell p:last-child { font-size: 14px; color: var(--ink2); line-height: 1.6; }

.timeline-preview-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px clamp(56px,8vw,88px); }
.timeline-preview-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px; margin-bottom: 36px;
}
.timeline-preview-item { border-left: 2px solid var(--orange); padding-left: 18px; }
.timeline-preview-item .date { font-family: var(--font-title); font-size: 11px; color: var(--orange); letter-spacing: 0.1em; margin-bottom: 8px; display: block; }
.timeline-preview-item h3 { font-size: 16px; font-weight: 700; color: var(--ink); }

/* ===================================================
   HISTORY PAGE — TIMELINE
   =================================================== */
.timeline-wrap { max-width: 900px; margin: 0 auto; padding: clamp(56px,8vw,88px) 32px; }
.timeline { position: relative; padding-left: 40px; border-left: 2px solid var(--ink); }
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -49px; top: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--orange); border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--ink);
}
.timeline-item.milestone .timeline-dot {
  width: 18px; height: 18px; left: -50px;
  background: var(--ink); box-shadow: 0 0 0 2px var(--orange);
}
.timeline-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.timeline-date { font-family: var(--font-title); font-size: 12px; color: var(--orange); letter-spacing: 0.1em; }
.milestone-tag { font-size: 11px; font-weight: 700; color: #fff; background: var(--ink); padding: 2px 10px; letter-spacing: 0.08em; }
.timeline-item h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 8px 0 8px; }
.timeline-item p { font-size: 14px; color: var(--muted); line-height: 1.75; max-width: 600px; }

/* ===================================================
   ACHIEVEMENTS PAGE
   =================================================== */
.ach-main {
  max-width: 1200px; margin: 0 auto; padding: clamp(56px,8vw,88px) 32px 40px;
}
.ach-record {
  border: 2px solid var(--ink); padding: clamp(28px,4vw,44px); margin-bottom: 24px;
}
.ach-record h2 { font-size: clamp(20px,2.5vw,26px); font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 16px; }
.ach-record p { font-size: 15px; color: var(--ink2); line-height: 1.8; margin-bottom: 20px; max-width: 760px; }
.ach-record p strong { color: var(--orange); }
.ach-date-pill { display: inline-block; font-family: var(--font-title); font-size: 12px; color: var(--muted2); border: 1px solid var(--line2); padding: 4px 14px; }

.ach-sub { border: 1px solid var(--line2); padding: clamp(24px,3vw,32px); }
.ach-sub h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.ach-sub p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }

.robot-section { max-width: 1200px; margin: 0 auto; padding: 0 32px clamp(56px,8vw,88px); }
.robot-box { border: 1px solid var(--line2); padding: clamp(28px,4vw,40px); display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.robot-box-text { flex: 1 1 300px; min-width: 220px; }
.robot-box h3 { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.robot-box .robot-sub { font-family: var(--font-title); font-size: 12px; color: var(--muted2); letter-spacing: 0.08em; margin-bottom: 18px; }
.robot-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.robot-tags span { font-size: 13px; color: var(--orange); border: 1px solid var(--orange); padding: 4px 14px; }
.box-photo {
  flex: 1 1 260px; min-width: 220px; max-width: 340px; aspect-ratio: 4/3;
  border-radius: 8px; overflow: hidden; border: 1px solid var(--line2);
  box-shadow: 0 8px 20px rgba(28,28,28,0.08);
}
.box-photo img { width: 100%; height: 100%; object-fit: cover; }

.academic-section { max-width: 1200px; margin: 0 auto; padding: 0 32px clamp(56px,8vw,88px); }
.academic-box { border: 1px solid var(--line2); padding: clamp(24px,3vw,36px); display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.academic-box-text { flex: 1 1 300px; min-width: 220px; }
.academic-box h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.academic-rank { font-family: var(--font-title); font-size: 32px; font-weight: 900; color: var(--orange); margin-bottom: 12px; }
.academic-box p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.academic-box p strong { color: var(--ink); }

/* ===================================================
   CONTACT PAGE
   =================================================== */
.social-section { max-width: 1200px; margin: 0 auto; padding: clamp(56px,8vw,88px) 32px 40px; }
.social-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: var(--line2); border: 1px solid var(--line2);
}
.social-cell {
  background: var(--cream); padding: 32px 24px; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 14px; transition: background 0.2s ease;
}
.social-cell:hover { background: #fff5ec; color: var(--ink); }
.social-badge {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: var(--ink);
}
.social-badge.round { border-radius: 50%; }
.social-badge.rounded { border-radius: 12px; }
.social-badge span { font-family: var(--font-title); font-weight: 700; font-size: 16px; color: #fff; }
.social-platform { font-family: var(--font-title); font-size: 11px; color: var(--muted2); letter-spacing: 0.1em; text-transform: uppercase; }
.social-handle { font-size: 16px; font-weight: 700; }

.sponsor-section { max-width: 1200px; margin: 0 auto; padding: 0 32px clamp(56px,8vw,88px); }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.sponsor-cell {
  border: 1px solid var(--line2); padding: 20px;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.sponsor-logo { width: 100%; height: 64px; display: flex; align-items: center; justify-content: center; }
.sponsor-logo img { max-width: 100%; max-height: 64px; object-fit: contain; }
.sponsor-logo.placeholder span {
  font-family: var(--font-title); font-size: 14px; font-weight: 700;
  color: var(--muted2); letter-spacing: 0.06em;
}
.sponsor-cell p { font-size: 12.5px; color: var(--ink2); text-align: center; line-height: 1.5; }
.sponsor-cell p span { color: var(--muted2); }

.join-cta { background: var(--ink); padding: clamp(56px,8vw,88px) 32px; text-align: center; }
.join-cta h2 { font-family: var(--font-title); font-size: clamp(22px,3.5vw,32px); font-weight: 900; color: #fff; margin-bottom: 16px; }
.join-cta p { color: rgba(255,255,255,0.7); font-size: 15px; margin: 0 auto 28px; max-width: 480px; }

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  padding: 56px 32px 40px; text-align: center;
  border-top: 1px solid var(--ink); background: var(--cream);
}
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.footer-logo { height: 32px; width: 32px; object-fit: contain; }
.footer-name { font-family: var(--font-title); color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; }
.footer-motto { color: var(--muted2); font-size: 12px; font-style: italic; margin-bottom: 20px; }
.footer-social { display: flex; justify-content: center; gap: 18px; margin-bottom: 16px; flex-wrap: wrap; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; background: var(--ink);
  text-decoration: none; transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social a.round { border-radius: 50%; }
.footer-social a.rounded { border-radius: 12px; }
.footer-social a:hover { background: var(--orange); transform: translateY(-3px); }
.footer-social a span { font-family: var(--font-title); font-weight: 700; font-size: 15px; color: #fff; }
.footer-copy { color: rgba(170,163,149,0.56); font-size: 11px; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 900px) {
  .team-story { grid-template-columns: 1fr; }
}
