@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0a0a0f;
  --bg-light: #1a1a24;
  --surface: #16161f;
  --text: #f8f8f2;
  --text-muted: #a8a8b0;
  --accent-pink: #ff6b9d;
  --accent-purple: #c77dff;
  --accent-teal: #06ffa5;
  --accent-orange: #ff8c42;
  --accent-yellow: #ffd60a;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --glow: 0 0 40px rgba(199, 125, 255, 0.4);
  --radius-lg: 20px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: 
    radial-gradient(circle at 20% 30%, rgba(199, 125, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 107, 157, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(6, 255, 165, 0.08) 0%, transparent 60%),
    var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-pink);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-purple);
  text-decoration: underline;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
}

.site-header {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.25rem 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-title {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(255, 107, 157, 0.5);
  transition: all 0.3s ease;
}

.site-title:hover {
  filter: brightness(1.2);
}

.main-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  font-weight: 500;
  font-size: 0.9rem;
}

.main-nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--text);
  text-decoration: none;
  transform: translateY(-2px);
}

.main-nav a.active::before,
.main-nav a:hover::before {
  opacity: 1;
}

/* Hamburger Menu - Beautiful & Functional */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(199, 125, 255, 0.1));
  border: 1px solid rgba(255, 107, 157, 0.2);
  cursor: pointer;
  padding: 6px;
  z-index: 1002;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.2);
  position: relative;
}

.hamburger:hover {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.2), rgba(199, 125, 255, 0.2));
  border-color: var(--accent-pink);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  box-shadow: 0 0 10px rgba(255, 107, 157, 0.5);
}

.hamburger.active {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  border-color: var(--accent-purple);
}

.hamburger.active span {
  background: var(--text);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.page-header {
  margin-top: 3rem;
  margin-bottom: 2.5rem;
}

.page-header h1 {
  margin-bottom: 0.75rem;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--text), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header .lead {
  max-width: 700px;
}

.hero {
  margin-top: 3rem;
  margin-bottom: 4rem;
  padding: 3rem;
  border-radius: var(--radius-lg);
  background: 
    linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(199, 125, 255, 0.08)),
    var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(6, 255, 165, 0.15), transparent 70%);
  pointer-events: none;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: flex-start;
}

.hero-text h1 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, var(--text), var(--accent-teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  position: relative;
}

.hero-text h1::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
  border-radius: 2px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin: 0 0 0.75rem;
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: rgba(6, 255, 165, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(6, 255, 165, 0.3);
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  border-color: transparent;
  color: var(--text);
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  border-color: var(--accent-pink);
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.4);
  text-decoration: none;
}

.btn:not(.primary):hover::before {
  opacity: 1;
}

.hero-media {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(255, 107, 157, 0.3);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.contact-card h2 {
  margin-top: 0;
}

.placeholder-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.content-section {
  margin-top: 2.5rem;
}

.content-section h2 {
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', 'Georgia', serif;
  letter-spacing: 0.02em;
  color: var(--text);
}

h2 {
  font-size: 1.8rem;
  margin-top: 0;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3 {
  font-size: 1.3rem;
  color: var(--text);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.two-up {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.three-up {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Masonry Grid for Artwork */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 20px;
  gap: 1.5rem;
}

.masonry-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.masonry-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(255, 107, 157, 0.35);
  z-index: 10;
}

/* Varied heights for visual interest */
.masonry-item:nth-child(3n+1) {
  grid-row-end: span 18;
}

.masonry-item:nth-child(3n+2) {
  grid-row-end: span 22;
}

.masonry-item:nth-child(3n+3) {
  grid-row-end: span 20;
}

.link-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(199, 125, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(255, 107, 157, 0.3);
  border-color: var(--accent-pink);
}

.link-card:hover::before {
  opacity: 1;
}

.image-placeholder,
.video-placeholder {
  position: relative;
  border-radius: var(--radius-md);
  padding: 2rem;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-teal);
  background: 
    linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(199, 125, 255, 0.15)),
    var(--bg-light);
  border: 2px dashed rgba(6, 255, 165, 0.3);
  box-shadow: inset 0 0 60px rgba(6, 255, 165, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.image-placeholder:hover,
.video-placeholder:hover {
  border-color: var(--accent-teal);
  box-shadow: 
    inset 0 0 60px rgba(6, 255, 165, 0.1),
    0 15px 40px rgba(6, 255, 165, 0.2);
}

.image-placeholder::before,
.video-placeholder::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, var(--accent-teal), transparent);
  opacity: 0.1;
  border-radius: 50%;
  pointer-events: none;
}

.image-placeholder span,
.video-placeholder span {
  position: relative;
  z-index: 1;
}

.image-placeholder.portrait {
  min-height: 340px;
}

/* Professional Photo Styling */
.professional-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 
    0 30px 60px rgba(255, 107, 157, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
}

.professional-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 157, 0.15),
    transparent 40%,
    rgba(199, 125, 255, 0.15)
  );
  pointer-events: none;
  z-index: 1;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.professional-photo:hover .profile-img {
  transform: scale(1.05);
}

.image-grid {
  margin-top: 0.75rem;
}

.lesson-card {
  margin-top: 2rem;
  padding: 2rem 2.2rem;
  border-radius: var(--radius-lg);
  background: 
    linear-gradient(135deg, rgba(255, 107, 157, 0.05), rgba(199, 125, 255, 0.05)),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
}

.lesson-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-pink), var(--accent-purple));
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.lesson-card h3 {
  margin-top: 0;
}

.lesson-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.lesson-card h4 {
  margin-top: 1.25rem;
  margin-bottom: 0.3rem;
}

.lesson-card h5 {
  margin-top: 0.9rem;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.media-placeholders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.placeholder-lesson {
  border: 2px dashed var(--border);
  background: transparent;
}

.placeholder-lesson::after {
  display: none;
}

.standard-card {
  margin-top: 1.5rem;
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-teal);
  transition: all 0.3s ease;
}

.standard-card:hover {
  border-left-color: var(--accent-pink);
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
}

.standard-card h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.standard-title {
  font-weight: 500;
  margin-top: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-light);
  margin-top: 4rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  padding-top: 1rem;
  padding-bottom: 1.25rem;
}

.footer-inner a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-inner a:hover {
  color: var(--accent-pink);
}

/* Skill Badges & Tags */
.skill-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(199, 125, 255, 0.15));
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin: 0.25rem;
  transition: all 0.3s ease;
}

.skill-badge:hover {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.25), rgba(199, 125, 255, 0.25));
  border-color: var(--accent-pink);
  transform: translateY(-2px);
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Quote Callout */
.quote-callout {
  position: relative;
  padding: 2rem 2.5rem;
  margin: 3rem 0;
  background: linear-gradient(135deg, rgba(6, 255, 165, 0.05), rgba(199, 125, 255, 0.05));
  border-left: 4px solid var(--accent-teal);
  border-radius: var(--radius-md);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-muted);
}

.quote-callout::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 1rem;
  font-size: 5rem;
  line-height: 1;
  color: var(--accent-teal);
  opacity: 0.3;
  font-family: 'Playfair Display', serif;
}

/* Section Divider */
.section-divider {
  position: relative;
  height: 2px;
  margin: 4rem 0;
  background: linear-gradient(90deg, transparent, var(--accent-pink), var(--accent-purple), transparent);
  opacity: 0.3;
}

.section-divider::after {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  padding: 0 1rem;
  color: var(--accent-purple);
  font-size: 1.2rem;
}

/* Decorative Floating Blob */
.floating-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--accent-pink);
  top: 10%;
  right: 5%;
}

.blob-2 {
  width: 250px;
  height: 250px;
  background: var(--accent-purple);
  bottom: 20%;
  left: 10%;
  animation-delay: -7s;
}

.blob-3 {
  width: 200px;
  height: 200px;
  background: var(--accent-teal);
  top: 50%;
  right: 15%;
  animation-delay: -14s;
}

/* Gallery Tab Navigation */
.gallery-tabs {
  display: flex;
  gap: 1rem;
  margin: 2.5rem 0;
  padding: 0.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow-x: auto;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  white-space: nowrap;
}

.tab-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.tab-btn:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.tab-btn.active {
  color: var(--text);
}

.tab-btn.active::before {
  opacity: 1;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.gallery-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.gallery-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Artwork Frame */
.artwork-frame {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.artwork-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.artwork-frame:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 70px rgba(255, 107, 157, 0.4);
  border-color: var(--accent-pink);
}

/* Artwork Overlay */
.artwork-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 10, 15, 0.7) 60%,
    rgba(10, 10, 15, 0.95) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.artwork-frame:hover .artwork-overlay {
  opacity: 1;
}

.artwork-info h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 600;
}

.artwork-info .medium {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  color: var(--accent-teal);
  font-weight: 500;
}

.artwork-info .year {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 1200px;
  width: 90%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
}

.lightbox-image-container {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-container img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-image {
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-info {
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.lightbox-info h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.lightbox-medium {
  color: var(--accent-teal);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.lightbox-year {
  color: var(--text-muted);
  font-size: 1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  transform: scale(1.1);
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
}

.lightbox-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Lesson Plans Advanced Styling */
.lesson-filter-tabs {
  display: flex;
  gap: 1rem;
  margin: 2.5rem 0;
  padding: 0.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.filter-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-purple));
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.filter-tab.active::before {
  opacity: 1;
}

.filter-tab.active {
  color: var(--text);
}

.lessons-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

/* Lesson Preview Card */
.lesson-preview-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.lesson-preview-card:not(.placeholder-card) {
  box-shadow: var(--shadow);
}

.lesson-preview-card:hover:not(.placeholder-card) {
  box-shadow: 0 40px 80px rgba(255, 107, 157, 0.25);
  border-color: var(--accent-pink);
}

.lesson-preview-header {
  padding: 2rem 2.5rem;
}

/* Lesson Badges */
.lesson-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.grade-badge {
  background: linear-gradient(135deg, rgba(6, 255, 165, 0.2), rgba(6, 255, 165, 0.1));
  color: var(--accent-teal);
  border: 1px solid rgba(6, 255, 165, 0.3);
}

.time-badge {
  background: linear-gradient(135deg, rgba(255, 140, 66, 0.2), rgba(255, 140, 66, 0.1));
  color: var(--accent-orange);
  border: 1px solid rgba(255, 140, 66, 0.3);
}

.subject-badge {
  background: linear-gradient(135deg, rgba(199, 125, 255, 0.2), rgba(199, 125, 255, 0.1));
  color: var(--accent-purple);
  border: 1px solid rgba(199, 125, 255, 0.3);
}

.coming-soon-badge {
  background: linear-gradient(135deg, rgba(255, 214, 10, 0.2), rgba(255, 214, 10, 0.1));
  color: var(--accent-yellow);
  border: 1px solid rgba(255, 214, 10, 0.3);
}

.lesson-preview-header h3 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.lesson-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-weight: 400;
}

/* Quick Stats */
.lesson-quick-stats {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: rgba(6, 255, 165, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(6, 255, 165, 0.15);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-icon {
  font-size: 1.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.lesson-summary {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 1.5rem 0;
}

/* Expand Button */
.expand-lesson-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  border: none;
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.expand-lesson-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

.expand-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.expand-lesson-btn.expanded .expand-icon {
  transform: rotate(180deg);
}

/* Lesson Full Content */
.lesson-full-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: rgba(10, 10, 15, 0.5);
  border-top: 0px solid var(--border);
}

.lesson-full-content.expanded {
  max-height: 10000px;
  padding: 2.5rem;
  border-top: 1px solid var(--border);
}

.lesson-section {
  margin-bottom: 2.5rem;
}

.lesson-section:last-child {
  margin-bottom: 0;
}

.lesson-section h4 {
  font-size: 1.3rem;
  margin: 0 0 1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.objectives-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.objectives-list li {
  padding: 1rem 1rem 1rem 2.5rem;
  margin-bottom: 0.75rem;
  background: rgba(6, 255, 165, 0.05);
  border-left: 3px solid var(--accent-teal);
  border-radius: var(--radius-sm);
  position: relative;
}

.objectives-list li::before {
  content: '✓';
  position: absolute;
  left: 1rem;
  color: var(--accent-teal);
  font-weight: bold;
}

/* Materials Grid */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.material-item {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Vocab Tags */
.vocab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.vocab-tag {
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(199, 125, 255, 0.15));
  border: 1px solid rgba(255, 107, 157, 0.3);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--accent-pink);
  font-weight: 500;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-teal), var(--accent-purple));
}

.timeline-step {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0.25rem;
  width: 16px;
  height: 16px;
  background: var(--accent-pink);
  border: 3px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-pink);
}

.timeline-marker {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-purple));
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.timeline-content h5 {
  margin: 0.5rem 0 0.5rem;
  color: var(--text);
  font-size: 1.05rem;
}

.timeline-content p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline.multi-day .timeline-step.day-marker::before {
  width: 24px;
  height: 24px;
  left: -2rem;
}

/* Assessment Grid */
.assessment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.assessment-box {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.08), rgba(199, 125, 255, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.assessment-box h5 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--accent-pink);
}

.assessment-box p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Objectives Grid */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.objective-card {
  padding: 1.5rem;
  background: rgba(6, 255, 165, 0.05);
  border-left: 3px solid var(--accent-teal);
  border-radius: var(--radius-sm);
}

.objective-card h5 {
  margin: 0 0 0.75rem;
  color: var(--accent-teal);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.objective-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* References Grid */
.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.reference-item {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Resources Section */
.resources-section {
  padding: 2rem;
  background: rgba(199, 125, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(199, 125, 255, 0.2);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.resource-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.resource-card:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 10px 30px rgba(199, 125, 255, 0.3);
  transform: translateY(-3px);
}

.resource-card.placeholder {
  opacity: 0.6;
  cursor: default;
}

.resource-card.placeholder:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}

.resource-icon {
  font-size: 2rem;
}

.resource-info {
  flex: 1;
}

.resource-name {
  margin: 0 0 0.25rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.resource-type {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Placeholder Cards */
.placeholder-card {
  border-style: dashed;
  opacity: 0.6;
}

.placeholder-card .lesson-preview-header {
  padding: 2rem 2.5rem;
}

/* Student Work Page Styles */
.student-work-filters {
  display: flex;
  gap: 1rem;
  margin: 2.5rem 0;
  padding: 0.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  flex-wrap: wrap;
}

.student-filter-btn {
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.student-filter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.student-filter-btn.active::before {
  opacity: 1;
}

.student-filter-btn.active {
  color: var(--text);
}

.student-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.student-work-item {
  transition: all 0.4s ease;
}

.student-work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.student-work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(255, 107, 157, 0.4);
}

.student-work-image {
  min-height: 300px;
}

.student-work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 10, 15, 0.8) 50%,
    rgba(10, 10, 15, 0.98) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.8rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.student-work-card:hover .student-work-overlay {
  opacity: 1;
}

.student-work-info h3 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
  color: var(--text);
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.meta-tag {
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.lesson-tag {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.2), rgba(255, 107, 157, 0.1));
  color: var(--accent-pink);
  border: 1px solid rgba(255, 107, 157, 0.3);
}

.grade-tag {
  background: linear-gradient(135deg, rgba(6, 255, 165, 0.2), rgba(6, 255, 165, 0.1));
  color: var(--accent-teal);
  border: 1px solid rgba(6, 255, 165, 0.3);
}

.year-tag {
  background: linear-gradient(135deg, rgba(255, 214, 10, 0.2), rgba(255, 214, 10, 0.1));
  color: var(--accent-yellow);
  border: 1px solid rgba(255, 214, 10, 0.3);
}

.coming-soon-tag {
  background: linear-gradient(135deg, rgba(255, 214, 10, 0.2), rgba(255, 214, 10, 0.1));
  color: var(--accent-yellow);
  border: 1px solid rgba(255, 214, 10, 0.3);
}

.work-description {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.placeholder-work {
  opacity: 0.6;
}

/* Lesson Connection Cards */
.lesson-connections {
  margin-top: 5rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.lesson-connections h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.connection-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.connection-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.connection-card:hover {
  border-color: var(--accent-pink);
  box-shadow: 0 20px 50px rgba(255, 107, 157, 0.3);
  transform: translateY(-5px);
}

.connection-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.connection-card h3 {
  margin: 0 0 0.75rem;
  color: var(--text);
}

.connection-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.view-lesson-link {
  color: var(--accent-pink);
  font-weight: 600;
  font-size: 0.9rem;
}

.placeholder-connection {
  border-style: dashed;
  opacity: 0.6;
  cursor: default;
}

.placeholder-connection:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}

/* Iowa Standards Page Styles */
.resource-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(199, 125, 255, 0.15), rgba(255, 107, 157, 0.15));
  border: 1px solid rgba(199, 125, 255, 0.3);
  border-radius: 20px;
  color: var(--accent-purple);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.resource-link:hover {
  background: linear-gradient(135deg, rgba(199, 125, 255, 0.25), rgba(255, 107, 157, 0.25));
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(199, 125, 255, 0.3);
}

.standards-progress-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.progress-label {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.progress-track {
  flex: 1;
  height: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-purple), var(--accent-pink));
  border-radius: 15px;
  transition: width 1s ease;
}

.progress-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text);
  font-size: 0.9rem;
  z-index: 1;
}

.standards-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

/* Standard Interactive Card */
.standard-card-interactive {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.standard-card-interactive:hover {
  box-shadow: 0 20px 50px rgba(255, 107, 157, 0.2);
  border-color: var(--accent-teal);
}

.standard-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.8rem 2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.standard-header:hover {
  background: rgba(6, 255, 165, 0.03);
}

.standard-number {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  min-width: 80px;
}

.standard-title-section {
  flex: 1;
}

.standard-title-section h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--text);
}

.standard-description {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.expand-standard-btn {
  padding: 0.75rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.expand-standard-btn:hover {
  background: var(--accent-teal);
  border-color: var(--accent-teal);
}

.expand-standard-btn .expand-icon {
  font-size: 1.2rem;
  color: var(--text);
  transition: transform 0.3s ease;
}

.expand-standard-btn.expanded .expand-icon {
  transform: rotate(180deg);
}

/* Standard Content */
.standard-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: rgba(6, 255, 165, 0.02);
  border-top: 0px solid var(--border);
}

.standard-content.expanded {
  max-height: 5000px;
  padding: 2rem;
  border-top: 1px solid var(--border);
}

.evidence-section h4 {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 1.2rem;
}

.evidence-summary {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.evidence-cards {
  display: grid;
  gap: 1.5rem;
}

.evidence-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-pink);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.evidence-card:hover {
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
  border-left-color: var(--accent-teal);
}

.evidence-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.evidence-number {
  padding: 0.4rem 0.8rem;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
}

.evidence-type {
  font-size: 0.85rem;
  color: var(--accent-teal);
  font-weight: 600;
}

.evidence-card h5 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--text);
}

.evidence-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.evidence-link {
  display: inline-block;
  color: var(--accent-pink);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.evidence-link:hover {
  color: var(--accent-purple);
  text-decoration: underline;
}

/* Standards Summary */
.standards-summary {
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(6, 255, 165, 0.05), rgba(199, 125, 255, 0.05));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
}

.standards-summary h2 {
  margin-top: 0;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.stat-box {
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 768px) {
  /* Base Container */
  .container {
    padding: 0 1rem;
  }

  /* Typography */
  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header .lead {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  /* Layout */
  .two-column {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .hero {
    margin-top: 1.5rem;
    padding: 1.5rem;
  }

  .content-section {
    padding: 2rem 0;
  }

  /* Cards */
  .card {
    padding: 1.25rem;
  }

  .three-up {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  /* Modern Mobile Navigation - Clean & Simple */
  .site-header {
    padding: 1rem 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .site-title {
    font-size: 1.2rem;
  }

  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0f, #16161f);
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border-left: 1px solid rgba(255, 107, 157, 0.4);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.9), -5px 0 30px rgba(255, 107, 157, 0.2);
    overflow-y: auto;
    pointer-events: auto;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav a {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    width: 100%;
    text-align: left;
    position: relative;
    overflow: hidden;
  }

  .main-nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
  }

  .main-nav a:hover::before {
    opacity: 0.15;
  }

  .main-nav a.active {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2), rgba(199, 125, 255, 0.2));
    color: var(--text);
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
  }

  .main-nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, var(--accent-pink), var(--accent-purple));
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px var(--accent-pink);
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100;
    animation: fadeIn 0.3s ease;
    pointer-events: none;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Mobile Hero - Properly Centered */
  .hero {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  .hero-media.mobile-first {
    order: -1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-media.desktop-contact {
    order: 2;
    width: 100%;
  }

  .hero-content {
    order: 1;
    width: 100%;
    text-align: center;
  }

  .hero-content * {
    text-align: center;
  }

  .professional-photo {
    margin: 0 auto;
    max-width: 280px;
    width: 100%;
    display: block;
  }

  .eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .button-row {
    justify-content: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Buttons */
  .btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
  }

  .button-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .button-row .btn {
    width: 100%;
  }

  /* Gallery Tabs */
  .gallery-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem;
    gap: 0.5rem;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }

  .gallery-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Gallery Grid - Uniform Squares */
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .artwork-frame {
    aspect-ratio: 1/1;
  }

  .artwork-frame img {
    object-fit: cover;
  }

  /* Lightbox Mobile */
  .lightbox-content {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    max-width: 100%;
    width: 95%;
  }

  .lightbox-image-container {
    aspect-ratio: 1/1;
  }

  .lightbox-image-container img {
    max-height: 50vh;
  }

  .lightbox-info {
    padding: 1.25rem;
  }

  .lightbox-info h2 {
    font-size: 1.5rem;
  }

  .lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .lightbox-prev,
  .lightbox-next {
    bottom: 0.5rem;
    top: auto;
    transform: none;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }

  /* Lesson Plans Mobile */
  .lesson-filter-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem;
  }

  .lesson-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .lesson-preview-header {
    padding: 1.5rem;
  }

  .lesson-badges {
    gap: 0.5rem;
  }

  .badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }

  .lesson-quick-stats {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .lesson-full-content.expanded {
    padding: 1.5rem;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-step {
    padding-left: 1.5rem;
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .assessment-grid {
    grid-template-columns: 1fr;
  }

  .objectives-grid {
    grid-template-columns: 1fr;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  /* Student Work Mobile */
  .student-work-filters {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem;
  }

  .student-work-filters::-webkit-scrollbar {
    display: none;
  }

  .student-filter-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .student-work-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .student-work-image {
    min-height: 250px;
  }

  .connection-cards-grid {
    grid-template-columns: 1fr;
  }

  /* Iowa Standards Mobile */
  .standards-progress-bar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .progress-label {
    width: 100%;
  }

  .standard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
  }

  .standard-number {
    font-size: 2rem;
    min-width: auto;
  }

  .expand-standard-btn {
    align-self: flex-end;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }

  .standard-title-section h3 {
    font-size: 1.2rem;
  }

  .standard-content.expanded {
    padding: 1.5rem;
  }

  .evidence-cards {
    gap: 1rem;
  }

  .summary-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  /* Skill Badges Mobile */
  .skills-container {
    gap: 0.5rem;
  }

  .skill-badge {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }

  /* Quote Callout Mobile */
  .quote-callout {
    padding: 1.25rem;
    font-size: 1rem;
  }

  .quote-callout::before {
    font-size: 3rem;
    top: 1rem;
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }

  /* Section Divider Mobile */
  .section-divider {
    margin: 2.5rem 0;
  }

  /* Floating Blobs - Smaller on Mobile */
  .floating-blob {
    width: 200px;
    height: 200px;
    opacity: 0.15;
  }

  /* Footer Mobile */
  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .site-footer {
    padding: 2rem 0;
    font-size: 0.85rem;
  }

  /* Touch Targets - Ensure 44px minimum */
  button,
  .btn,
  a.btn,
  .tab-btn,
  .filter-tab,
  .student-filter-btn,
  .expand-lesson-btn,
  .expand-standard-btn {
    min-height: 44px;
    min-width: 44px;
  }

  /* Reduce margins on mobile */
  .page-header {
    margin-bottom: 2rem;
  }

  /* Work Meta Tags Mobile */
  .work-meta {
    gap: 0.4rem;
  }

  .meta-tag {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }

  /* Professional Photo on Mobile */
  .professional-photo {
    aspect-ratio: 3/4;
    max-height: 400px;
  }

  /* References Grid Mobile */
  .references-grid {
    grid-template-columns: 1fr;
  }
}

/* Extra Small Mobile (< 480px) */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .gallery-grid,
  .student-work-grid {
    gap: 1rem;
  }

  .lightbox-info h2 {
    font-size: 1.3rem;
  }

  .standard-number {
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .container {
    padding: 0 0.75rem;
  }

  .card {
    padding: 1rem;
  }

  .lesson-preview-header,
  .standard-header {
    padding: 1rem;
  }

  .tab-btn,
  .filter-tab,
  .student-filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
}
