/* ===== BASE RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
  width: 44px; height: 44px; background: var(--primary);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 18px;
  font-family: var(--font-secondary);
}
.logo-img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-cn { font-family: var(--font-secondary); font-weight: 700; font-size: 16px; color: var(--text-dark); line-height: 1.2; }
.logo-en { font-size: 11px; color: var(--text-light); letter-spacing: 0.5px; text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 16px; border-radius: 8px; text-decoration: none;
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--primary); color: var(--white);
}
.nav-more { position: relative; cursor: pointer; }
.nav-more:hover .dropdown { display: block; }
.dropdown {
  display: none; position: absolute; top: 100%; right: 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; min-width: 200px;
  border: 1px solid var(--border);
}
.dropdown a { display: block; padding: 10px 16px; border-radius: 8px; white-space: nowrap; }
.cta-btn {
  background: var(--primary); color: var(--white) !important;
  padding: 10px 24px !important; border-radius: 25px !important;
  font-weight: 600 !important;
}
.cta-btn:hover { background: var(--primary-dark) !important; }

/* ===== PAGE SECTIONS ===== */
.page-section {
  border-bottom: 3px solid var(--primary);
  padding-bottom: 60px; margin-bottom: 60px;
}

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  background: var(--primary-dark);
  min-height: 347px; display: flex; align-items: center;
  padding: 50px 60px;
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.08;
  background-image: radial-gradient(circle at 20% 50%, var(--accent) 1px, transparent 1px),
                     radial-gradient(circle at 80% 20%, var(--accent) 1px, transparent 1px),
                     radial-gradient(circle at 60% 80%, var(--accent) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px, 40px 40px;
}
.hero-content { position: relative; z-index: 2; max-width: 600px; }
.hero-badge {
  display: inline-block; background: rgba(212,168,83,0.2);
  border: 1px solid rgba(212,168,83,0.4);
  color: var(--accent-light); padding: 6px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 500; margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 52px; font-weight: 700; color: var(--white);
  line-height: 1.15; margin-bottom: 12px;
}
.hero-cn {
  font-family: var(--font-secondary); font-size: 28px; color: var(--accent-light);
  margin-bottom: 24px; font-weight: 300;
}
.hero p { font-size: 17px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 30px; font-size: 15px;
  font-weight: 600; text-decoration: none; transition: all 0.3s;
  cursor: pointer; border: none;
}
.btn-gold { background: var(--accent); color: var(--text-dark); }
.btn-gold:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(212,168,83,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.hero-image {
  position: absolute; right: 40px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 352px; height: 272px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); font-size: 14px;
  overflow: hidden;
}
.hero-image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.1));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.hero-image-placeholder .icon { font-size: 48px; opacity: 0.5; }

/* ===== HERO SLIDESHOW ===== */
.hero-slideshow { width: 100%; height: 100%; position: relative; cursor: pointer; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff; padding: 24px 16px 12px; font-size: 13px; font-weight: 500;
}
.slide-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.slide-dot {
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.8);
  background: transparent; cursor: pointer; transition: background 0.3s; padding: 0;
}
.slide-dot.active { background: rgba(255,255,255,0.9); }
.slide-dot:hover { background: rgba(255,255,255,0.5); }

/* ===== NEWS MODAL ===== */
.news-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 24px;
}
.news-modal-overlay.open { display: flex; }
.news-modal {
  background: var(--white); border-radius: var(--radius-lg); max-width: 640px; width: 100%;
  max-height: 85vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.news-modal-img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.news-modal-body { padding: 28px 32px; }
.news-modal-body .news-date { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.news-modal-body h2 { font-family: var(--font-heading); font-size: 24px; color: var(--primary); margin-bottom: 16px; }
.news-modal-body p { color: var(--text-mid); line-height: 1.7; margin-bottom: 12px; }
.news-modal-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
  border-radius: 50%; border: none; background: rgba(0,0,0,0.5); color: #fff;
  font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.news-modal-close:hover { background: rgba(0,0,0,0.7); }

/* ===== FEATURES STRIP ===== */
.features-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-bottom: 1px solid var(--border);
}
.feature-item {
  padding: 32px 24px; text-align: center;
  border-right: 1px solid var(--border);
}
.feature-item:last-child { border-right: none; }
.feature-icon {
  width: 48px; height: 48px; margin: 0 auto 16px;
  background: var(--bg-warm); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.feature-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.feature-item p { font-size: 12px; color: var(--text-light); }

/* ===== ABOUT ===== */
.about { padding: 80px 60px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-image {
  aspect-ratio: 4/3; background: var(--bg-warm); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 14px; border: 1px solid var(--border);
  overflow: hidden;
}
.section-label {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
}
.about h2 { font-family: var(--font-heading); font-size: 36px; font-weight: 700; margin-bottom: 8px; }
.about .cn-subtitle { font-family: var(--font-secondary); font-size: 20px; color: var(--text-light); margin-bottom: 24px; }
.about p { font-size: 15px; color: var(--text-mid); margin-bottom: 16px; }

/* ===== WIREFRAME PAGES ===== */
.wireframe-container { max-width: 1200px; margin: 0 auto; padding: 40px 60px; }
.wireframe-container h2 { font-family: var(--font-heading); font-size: 32px; margin-bottom: 8px; }
.wireframe-container .cn-title { font-family: var(--font-secondary); font-size: 18px; color: var(--text-light); margin-bottom: 32px; }

/* Page Hero Banner */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 60px 60px; position: relative; overflow: hidden;
}
.page-hero .hero-pattern { opacity: 0.06; }
.page-hero h1 { font-family: var(--font-heading); font-size: 42px; color: var(--white); position: relative; z-index: 1; }
.page-hero .cn-subtitle { font-family: var(--font-secondary); font-size: 18px; color: var(--accent-light); position: relative; z-index: 1; margin-top: 8px; }
.breadcrumb { position: relative; z-index: 1; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

/* Calendar / Schedule Tables */
.schedule-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 32px; }
.schedule-card-header { background: var(--primary); color: var(--white); padding: 20px 28px; font-size: 18px; font-weight: 600; font-family: var(--font-heading); }
table { width: 100%; border-collapse: collapse; }
th { background: var(--bg-warm); padding: 14px 20px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-mid); text-align: left; border-bottom: 2px solid var(--border); }
td { padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--border); color: var(--text-mid); }
tr:last-child td { border-bottom: none; }
tr.highlight-green { background: #F0FFF0; }
tr.highlight-green td { color: #2E7D32; font-weight: 600; }
tr.highlight-red { background: #FFF5F5; }
tr.highlight-red td { color: var(--primary); font-weight: 600; }

/* Course Grid */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.course-card { background: var(--white); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); transition: all 0.2s; }
.course-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.course-card .time { font-size: 12px; font-weight: 600; color: var(--primary); background: rgba(139,26,43,0.08); padding: 4px 10px; border-radius: 6px; display: inline-block; margin-bottom: 8px; }
.course-card .room { font-size: 11px; color: var(--text-light); margin-bottom: 4px; }
.course-card h4 { font-size: 15px; font-weight: 600; }
.course-card.adult { border-left: 3px solid var(--accent); }
.course-card.adult .tag { font-size: 10px; background: var(--accent); color: var(--text-dark); padding: 2px 8px; border-radius: 4px; font-weight: 600; display: inline-block; margin-top: 6px; }

/* Registration Steps */
.steps { display: flex; gap: 24px; margin: 32px 0; }
.step { flex: 1; background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.step-number { width: 36px; height: 36px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; margin-bottom: 16px; }
.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text-mid); }

/* Registration content (ported from huagen.org into site style) */
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(139,26,43,0.35); }
.reg-cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 32px; }
.reg-cta-row-compact { margin: 16px 0 24px; }
.reg-panel {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border); margin-bottom: 24px;
}
.reg-panel h3 { font-family: var(--font-heading); font-size: 18px; margin-bottom: 12px; }
.reg-panel p { font-size: 15px; color: var(--text-mid); margin-bottom: 12px; line-height: 1.7; }
.reg-panel p:last-child { margin-bottom: 0; }
.reg-panel a { color: var(--primary); font-weight: 600; }
.reg-lead { font-size: 17px !important; font-weight: 600; color: var(--text-dark) !important; }
.reg-bilingual { font-family: var(--font-secondary); color: var(--text-dark) !important; }
.reg-subhead { font-size: 15px; font-weight: 700; margin: 20px 0 8px; color: var(--text-dark); }
.reg-instructions h3 { margin-bottom: 20px; }
.reg-instruction-list { margin: 0; padding-left: 22px; }
.reg-instruction-list > li { margin-bottom: 18px; color: var(--text-mid); font-size: 14px; line-height: 1.7; }
.reg-instruction-list > li > strong { display: block; color: var(--text-dark); font-size: 15px; margin-bottom: 4px; }
.reg-instruction-list > li > span { display: block; margin-bottom: 4px; }
.reg-instruction-list ul { margin: 8px 0 0; padding-left: 20px; }
.reg-instruction-list ul li { margin-bottom: 4px; }
.reg-thanks { border-left: 4px solid var(--accent); }
.reg-contact { margin-top: 12px !important; font-weight: 600; color: var(--text-dark) !important; }

/* Materials Grid */
.materials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.material-card { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); display: flex; align-items: flex-start; gap: 16px; transition: all 0.2s; cursor: pointer; }
.material-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.material-icon { width: 48px; height: 48px; min-width: 48px; background: rgba(139,26,43,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.material-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.material-card p { font-size: 13px; color: var(--text-light); }

/* Donations */
.donate-hero { text-align: center; padding: 60px 40px; background: linear-gradient(135deg, var(--bg-warm), var(--bg-cream)); border-radius: var(--radius-lg); margin: 32px 0; }
.donate-hero h3 { font-family: var(--font-heading); font-size: 28px; margin-bottom: 16px; }
.donate-hero p { font-size: 15px; color: var(--text-mid); max-width: 600px; margin: 0 auto 24px; }
.donate-method { display: inline-flex; align-items: center; gap: 12px; background: var(--white); padding: 16px 28px; border-radius: var(--radius); box-shadow: var(--shadow); font-weight: 600; }

/* Gallery Grid */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
/* The tile is a figure: framed image on top, artist credit underneath. The
   square framing lives on .gallery-thumb so the caption can sit outside it
   without distorting the picture. */
.gallery-item { margin: 0; display: flex; flex-direction: column; cursor: pointer; }
.gallery-thumb { aspect-ratio: 1; background: var(--bg-warm); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 13px; border: 1px solid var(--border); overflow: hidden; transition: all 0.3s; }
.gallery-item:hover .gallery-thumb { box-shadow: var(--shadow); transform: scale(1.02); }
.gallery-credit { margin-top: 8px; font-size: 13px; color: var(--text-mid); text-align: center; line-height: 1.4; }
.gallery-item.featured { grid-column: span 2; grid-row: span 2; }
/* Featured tiles span two rows, so the image stretches to fill whatever height
   is left once the credit line is placed. */
.gallery-item.featured .gallery-thumb { aspect-ratio: auto; flex: 1; }

/* Gallery paging — buttons are injected by public.js, hidden when a gallery fits on one page */
.gallery-pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.gallery-pager button {
  min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid var(--border); background: var(--white); color: var(--text-mid);
  border-radius: 8px; font-size: 14px; font-family: inherit; cursor: pointer; transition: all 0.2s;
}
.gallery-pager button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.gallery-pager button[aria-current="true"] { background: var(--primary); border-color: var(--primary); color: var(--white); font-weight: 600; }
.gallery-pager button:disabled { opacity: 0.4; cursor: default; }

/* Lightbox — full-size photo on demand, so browsing the grid only costs thumbnails */
.gallery-lightbox {
  /* Above the chat widget, which sets z-index 999999 on its floating button. */
  position: fixed; inset: 0; z-index: 1000000;
  background: rgba(0,0,0,0.92);
  display: none; align-items: center; justify-content: center;
  padding: 32px;
}
.gallery-lightbox.open { display: flex; }
/* A floating chat bubble on top of a full-screen photo reads as a misplaced
   overlay, so take it out of the way while the lightbox is open. */
body.glb-open #psybr-widget-btn { display: none !important; }
.gallery-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.gallery-lightbox img { max-width: 92vw; max-height: 78vh; object-fit: contain; border-radius: 6px; background: #111; }
.gallery-lightbox figcaption { color: rgba(255,255,255,0.9); font-size: 15px; text-align: center; }
.gallery-lightbox .glb-count { color: rgba(255,255,255,0.5); font-size: 13px; }
.gallery-lightbox button {
  position: absolute; background: rgba(255,255,255,0.12); border: none; color: #fff;
  width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.gallery-lightbox button:hover { background: rgba(255,255,255,0.28); }
.gallery-lightbox .glb-close { top: 20px; right: 20px; }
.gallery-lightbox .glb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.gallery-lightbox .glb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 768px) {
  .gallery-lightbox { padding: 12px; }
  .gallery-lightbox img { max-width: 96vw; max-height: 70vh; }
  .gallery-lightbox .glb-prev { left: 8px; }
  .gallery-lightbox .glb-next { right: 8px; }
}

/* Video Embed */
.video-placeholder { aspect-ratio: 16/9; background: var(--text-dark); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 48px; margin: 24px 0; position: relative; cursor: pointer; }
.video-placeholder::after { content: 'Student Demonstration Video'; position: absolute; bottom: 20px; font-size: 14px; color: rgba(255,255,255,0.4); }

/* Footer */
.footer { background: var(--text-dark); color: rgba(255,255,255,0.7); padding: 60px 60px 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer h4 { color: var(--white); font-size: 14px; margin-bottom: 16px; font-weight: 600; }
.footer p, .footer a { font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; line-height: 2; }
.footer a:hover { color: var(--accent-light); }
.footer-brand .logo-cn { color: var(--white); font-size: 20px; margin-bottom: 8px; }
.footer-brand p { max-width: 280px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; margin-top: 40px; text-align: center; font-size: 12px; color: rgba(255,255,255,0.4); max-width: 1200px; margin-left: auto; margin-right: auto; }

.divider { height: 1px; background: var(--border); margin: 40px 0; }

/* ===== HAMBURGER ===== */
.hamburger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; padding: 8px; color: var(--text-dark); }

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 1024px) {
  .navbar { padding: 0 20px; }
  .nav-links a { padding: 8px 10px; font-size: 13px; }
  .cta-btn { padding: 8px 16px !important; font-size: 13px !important; }
  .hero { padding: 40px 30px; min-height: 280px; }
  .hero h1 { font-size: 38px; }
  .hero-cn { font-size: 22px; }
  .hero-image { width: 272px; height: 208px; }
  .features-strip { grid-template-columns: repeat(2, 1fr); }
  .about { padding: 60px 30px; }
  .about-grid { gap: 30px; }
  .wireframe-container { padding: 30px; }
  .steps { flex-wrap: wrap; }
  .step { flex: 1 1 45%; }
  .page-hero { padding: 40px 30px; }
  .page-hero h1 { font-size: 32px; }
  .footer { padding: 40px 30px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.featured { grid-column: span 1; grid-row: span 1; }
  /* Collapsed to a single cell, the featured tile is no taller than its
     neighbours, so restore the square framing instead of stretching. */
  .gallery-item.featured .gallery-thumb { aspect-ratio: 1; flex: none; }
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: var(--white);
    padding: 16px; box-shadow: var(--shadow-lg); z-index: 200;
    border-top: 1px solid var(--border); gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; text-align: left; padding: 12px 16px; border-radius: 8px; }
  .cta-btn { text-align: center !important; }
  .nav-more { width: 100%; }
  .dropdown { position: static; box-shadow: none; border: none; background: var(--bg-cream); border-radius: 8px; margin-top: 4px; }

  .hero { padding: 40px 20px; min-height: auto; flex-direction: column; }
  .hero h1 { font-size: 32px; }
  .hero-cn { font-size: 20px; }
  .hero p { font-size: 15px; }
  .hero-image { position: static; transform: none; width: 100%; height: 220px; margin-top: 32px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

  .features-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-item { padding: 20px 16px; }

  .about { padding: 40px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about h2 { font-size: 28px; }

  .wireframe-container { padding: 20px; }
  .wireframe-container h2 { font-size: 24px; }

  .page-hero { padding: 32px 20px; }
  .page-hero h1 { font-size: 28px; }

  .schedule-card-header { padding: 16px 20px; font-size: 16px; }
  table { display: block; overflow-x: auto; }
  th, td { padding: 10px 14px; font-size: 13px; white-space: nowrap; }

  .course-grid { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: 1fr; }

  .steps { flex-direction: column; }
  .step { flex: 1 1 100%; }
  .reg-cta-row { flex-direction: column; }
  .reg-panel { padding: 20px; }

  .donate-hero { padding: 40px 20px; }
  .donate-hero h3 { font-size: 22px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-item.featured { grid-column: span 2; }

  .footer { padding: 30px 20px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .page-section { padding-bottom: 40px; margin-bottom: 40px; }
}

/* ===== RESPONSIVE: SMALL MOBILE ===== */
@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .features-strip { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.featured { grid-column: span 1; }
  .about h2 { font-size: 24px; }
  .page-hero h1 { font-size: 24px; }
}
