/* Serious S.H.I.T. — WORKSHOP Theme */
/* Dark Industrial Precision */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=Heebo:wght@400;500;600;700;800&display=swap');

/* ========================================
   DESIGN TOKENS
   ======================================== */

:root {
  /* Dark mode is default */
  --bg: #0c0c0c;
  --surface: #161618;
  --surface-alt: #1c1c1e;
  --text: #e8e6e3;
  --text-dim: #888888;
  --text-soft: #aaaaaa;
  --accent: #ff3300;
  --accent-hover: #e62e00;
  --green: #00cc66;
  --border: #222222;
  --border-light: #2a2a2a;

  /* Typography */
  --font-display: 'IBM Plex Mono', 'Menlo', 'Courier New', monospace;
  --font-body: 'IBM Plex Sans', 'Inter', system-ui, sans-serif;
  --font-hebrew: 'Heebo', 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Menlo', 'Courier New', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --header-height: 3.5rem;
}

[data-theme="light"] {
  --bg: #f5f4f0;
  --surface: #eae9e5;
  --surface-alt: #e0dfdb;
  --text: #111111;
  --text-dim: #666666;
  --text-soft: #555555;
  --accent: #ff3300;
  --accent-hover: #cc2900;
  --green: #00994d;
  --border: #d0d0d0;
  --border-light: #e0e0e0;
}

/* ========================================
   RESET & BASE
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hebrew / RTL */
[dir="rtl"] body,
[data-lang="he"] .lang-he {
  font-family: var(--font-hebrew);
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h3 { font-size: clamp(1rem, 2vw, 1.25rem); }

/* ========================================
   UTILITIES
   ======================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.mono { font-family: var(--font-mono); }
.uppercase { text-transform: uppercase; letter-spacing: 0.05em; }

/* Language visibility */
.lang-en, .lang-he { display: none; }
[data-lang="en"] .lang-en { display: block; }
[data-lang="he"] .lang-he { display: block; }

/* Inline lang spans inside flex/inline contexts */
[data-lang="en"] span.lang-en,
[data-lang="he"] span.lang-he {
  display: inline;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   HEADER
   ======================================== */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-bar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  height: 100%;
}

.logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  line-height: 1;
  margin-left: auto;
}

[dir="rtl"] .menu-toggle {
  margin-left: 0;
  margin-right: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

[dir="rtl"] .nav {
  margin-left: 0;
  margin-right: auto;
}

.nav a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--accent);
}

.nav a.active {
  color: var(--accent);
}

.theme-toggle,
.lang-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.theme-toggle:hover,
.lang-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Mobile nav */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: var(--space-md) var(--space-lg);
    gap: var(--space-sm);
    z-index: 999;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: var(--space-sm) 0;
    font-size: 0.9rem;
  }

  .logo-sub {
    display: none;
  }
}

/* ========================================
   HERO (index.html)
   ======================================== */

.hero {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.hero-desc {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 50ch;
  margin: 0 auto var(--space-lg);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--text);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.btn-whatsapp:hover {
  background: #1da851;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

@media (max-width: 480px) {
  .btn-group {
    flex-direction: column;
  }
  .btn-group .btn {
    width: 100%;
  }
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
  padding: var(--space-2xl) 0;
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-border {
  border-top: 1px solid var(--border);
}

/* ========================================
   WORKSHOP CARDS
   ======================================== */

.ws-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-lg);
}

.ws-card {
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s;
}

.ws-card:hover {
  border-color: var(--accent);
}

.ws-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
}

.ws-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ws-card:hover .ws-card-img img {
  transform: scale(1.03);
}

.ws-card-body {
  padding: var(--space-lg);
}

.ws-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ws-card-title {
  font-size: 1.25rem;
  margin: var(--space-sm) 0;
}

.ws-card-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.ws-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-lg);
}

.ws-card .btn {
  width: 100%;
}

/* ========================================
   PRODUCT / GEAR
   ======================================== */

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.product-image {
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
}

.product-image img {
  width: 100%;
  display: block;
}

.product-info h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-xs);
}

.product-subtitle {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: var(--space-lg);
}

.product-price {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.product-limited {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: var(--space-lg);
}

.signal-flow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: var(--space-md);
  margin: var(--space-lg) 0;
  background: var(--surface);
  line-height: 1.8;
}

.product-specs {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: var(--space-lg) 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.product-specs .spec-label {
  display: block;
  color: var(--text-dim);
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border);
  margin: var(--space-lg) 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.philosophy-quote {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  border-left: 2px solid var(--accent);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
  font-style: italic;
  line-height: 1.6;
}

[dir="rtl"] .philosophy-quote {
  border-left: none;
  border-right: 2px solid var(--accent);
  padding-left: 0;
  padding-right: var(--space-md);
}

@media (max-width: 768px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   FEATURE LIST (product features, workshop details)
   ======================================== */

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-dim);
}

.feature-list li strong {
  color: var(--text);
}

.feature-list li:last-child {
  border-bottom: none;
}

/* ========================================
   COMPARISON TABLE
   ======================================== */

.comparison-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  margin: var(--space-lg) 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--surface);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table td {
  color: var(--text-dim);
}

.comparison-table tr:hover td {
  background: var(--surface);
}

.comparison-table a {
  color: var(--accent);
}

[dir="rtl"] .comparison-table th,
[dir="rtl"] .comparison-table td {
  text-align: right;
}

/* ========================================
   CONTACT
   ======================================== */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.contact-card {
  border: 1px solid var(--border);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
  background: var(--surface);
}

.contact-card:hover {
  border-color: var(--accent);
  background: var(--surface-alt);
}

.contact-icon {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-detail {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ========================================
   FORMS
   ======================================== */

.form-section {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

.form-group {
  margin-bottom: var(--space-md);
}

label {
  display: block;
  margin-bottom: var(--space-sm);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

select {
  cursor: pointer;
}

.registration-form {
  max-width: 500px;
}

/* ========================================
   GALLERY
   ======================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  margin: var(--space-lg) 0;
}

.gallery-item {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-caption {
  color: #ffffff;
  padding: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2001;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: var(--accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  padding: 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: var(--accent);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ========================================
   WORKSHOP DETAIL PAGES
   ======================================== */

.course-section {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

.course-header {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.course-tagline {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  padding: var(--space-md);
  background: var(--bg);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin: var(--space-md) 0;
}

.course-meta span {
  color: var(--text-dim);
}

.kit-box {
  background: var(--surface-alt);
  padding: var(--space-md);
  margin-top: var(--space-md);
  font-size: 0.9rem;
  border-left: 3px solid var(--accent);
}

[dir="rtl"] .kit-box {
  border-left: none;
  border-right: 3px solid var(--accent);
}

.meetings-list {
  margin: var(--space-lg) 0;
}

.meeting-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

.meeting-item:last-child {
  border-bottom: none;
}

.meeting-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.meeting-content h4 {
  margin: 0 0 0.5rem 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.meeting-content ul {
  padding-left: 1.25rem;
  list-style: disc;
}

[dir="rtl"] .meeting-content ul {
  padding-left: 0;
  padding-right: 1.25rem;
}

.meeting-content li {
  margin-bottom: 0.25rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.takeaway {
  margin-top: var(--space-md);
  padding: 0.75rem 1rem;
  background: rgba(0, 204, 102, 0.1);
  font-size: 0.8rem;
  color: var(--green);
  font-family: var(--font-mono);
  border: 1px solid rgba(0, 204, 102, 0.2);
}

.highlight-box {
  background: var(--surface-alt);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  border-left: 3px solid var(--accent);
}

[dir="rtl"] .highlight-box {
  border-left: none;
  border-right: 3px solid var(--accent);
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
}

/* Featured banner */
.featured-banner {
  background: var(--accent);
  color: #ffffff;
  padding: var(--space-lg) 0;
  text-align: center;
}

.featured-banner h2 {
  color: #ffffff;
  font-size: 1.5rem;
  margin: 0 0 var(--space-sm) 0;
}

.featured-banner p {
  color: rgba(255,255,255,0.9);
  max-width: 60ch;
  margin: 0 auto;
}

/* Tech tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.bio-section p {
  max-width: 65ch;
  margin-bottom: var(--space-md);
  color: var(--text-dim);
  line-height: 1.7;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.tech-item {
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-align: center;
  color: var(--text-dim);
}

.philosophy-box {
  border-left: 3px solid var(--accent);
  padding-left: var(--space-lg);
  margin: var(--space-xl) 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.6;
}

[dir="rtl"] .philosophy-box {
  border-left: none;
  border-right: 3px solid var(--accent);
  padding-left: 0;
  padding-right: var(--space-lg);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  border-top: 1px solid var(--border);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.footer-geo {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: var(--space-sm);
}

.footer-motto {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  font-style: italic;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-nav a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-social a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  color: var(--text-dim);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  margin-top: var(--space-md);
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-nav,
  .footer-social {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-md);
  }
}

/* ========================================
   PAGE SECTION HELPERS
   ======================================== */

.page-header {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-xl);
}

.page-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: var(--space-sm);
}

.page-desc {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 60ch;
}

.back-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px dotted var(--border);
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Location list */
.location-list {
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 2;
}

/* CTA section */
.cta-section {
  text-align: center;
  padding: var(--space-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  margin: var(--space-xl) 0;
}

.cta-section h3 {
  margin-bottom: var(--space-sm);
}

.cta-section p {
  color: var(--text-dim);
  margin-bottom: var(--space-lg);
}

/* Gear teaser on homepage */
.gear-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  margin: var(--space-lg) 0;
}

.gear-teaser-img {
  background: var(--surface);
  overflow: hidden;
}

.gear-teaser-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gear-teaser-body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .gear-teaser {
    grid-template-columns: 1fr;
  }
  .gear-teaser-img {
    aspect-ratio: 16/10;
  }
  .gear-teaser-body {
    padding: var(--space-lg);
  }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .course-section {
    padding: var(--space-md);
  }

  .course-meta {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .meeting-item {
    flex-direction: column;
    gap: var(--space-sm);
  }

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

  .product-specs {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .hero {
    padding: var(--space-xl) 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .container {
    padding: 0 var(--space-md);
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered reveal */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ========================================
   GOOGLE FORM EMBED
   ======================================== */

.google-form-embed {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
}

.google-form-embed iframe {
  width: 100%;
  min-height: 800px;
  border: none;
}

/* Syllabus inline */
.syllabus-list {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.syllabus-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: 0.85rem;
}

.syllabus-num {
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 700;
  min-width: 2rem;
  flex-shrink: 0;
}

.syllabus-desc {
  color: var(--text-dim);
}

/* Lab info box */
.lab-info-box {
  background: var(--surface);
  border: 1px solid var(--green);
  padding: var(--space-md);
  margin: var(--space-lg) 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Thank you page */
.thankyou-content {
  text-align: center;
  padding: var(--space-2xl) 0;
}

.thankyou-content h1 {
  margin-bottom: var(--space-md);
}

.thankyou-content p {
  color: var(--text-dim);
  margin-bottom: var(--space-lg);
  font-size: 1rem;
}
