/* M&S IT Solutions — static HTML mirror of React site */

:root {
  --radius: 0.75rem;
  --navy: oklch(0.24 0.13 275);
  --navy-foreground: oklch(0.985 0 0);
  --orange: oklch(0.7 0.19 45);
  --orange-foreground: oklch(0.99 0 0);
  --background: oklch(0.99 0.003 260);
  --foreground: oklch(0.2 0.05 275);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.2 0.05 275);
  --secondary: oklch(0.96 0.01 260);
  --muted: oklch(0.96 0.01 260);
  --muted-foreground: oklch(0.45 0.03 265);
  --accent: var(--orange);
  --accent-foreground: oklch(0.99 0 0);
  --border: oklch(0.92 0.01 260);
  --gradient-hero: linear-gradient(135deg, oklch(0.2 0.11 275) 0%, oklch(0.28 0.14 275) 50%, oklch(0.35 0.15 30) 100%);
  --gradient-brand: linear-gradient(90deg, var(--navy), var(--orange));
  --shadow-brand: 0 20px 50px -20px color-mix(in oklab, var(--navy) 45%, transparent);
  --shadow-glow: 0 20px 60px -20px color-mix(in oklab, var(--orange) 55%, transparent);
  --font-display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --max: 80rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

/* Icons */
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.5rem; height: 1.5rem; }
.icon-lg { width: 2rem; height: 2rem; }
.icon-xl { width: 2.5rem; height: 2.5rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  background: color-mix(in oklab, var(--background) 80%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img { height: 3rem; width: auto; }
.logo-sm img { height: 2.5rem; width: auto; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.nav-desktop a:hover,
.nav-desktop a.is-active { color: var(--foreground); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: var(--shadow-glow);
  padding: 0.5rem 1rem;
}

.btn-accent:hover { transform: scale(1.02); }

.btn-accent-lg {
  padding: 0.75rem 1.5rem;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 0.75rem 1.5rem;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.btn-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .btn-menu { display: none; }
  .header-cta { display: inline-flex; }
}

.header-cta { display: none; }

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
  padding: 1rem;
}

.nav-mobile.is-open { display: block; }

.nav-mobile a {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--foreground); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  color: var(--navy-foreground);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-size: cover;
  background-position: center;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, color-mix(in oklab, var(--orange) 40%, transparent), transparent 55%);
  pointer-events: none;
}

.hero-glow-alt {
  background: radial-gradient(circle at 20% 50%, color-mix(in oklab, var(--orange) 35%, transparent), transparent 50%);
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 3rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .hero-inner { padding-top: 7rem; padding-bottom: 7rem; }
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.15fr 1fr;
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--orange);
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }

.text-gradient {
  background: linear-gradient(90deg, #fff, oklch(0.78 0.19 55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-lead strong { color: #fff; font-weight: 600; }

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stats {
  margin-top: 3rem;
  max-width: 32rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--orange);
}

.hero-stats dd {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
}

.hero-media {
  position: relative;
  display: none;
}

@media (min-width: 1024px) {
  .hero-media { display: block; }
}

.hero-media-glow {
  position: absolute;
  inset: -1.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(to bottom right, color-mix(in oklab, var(--orange) 30%, transparent), transparent);
  filter: blur(40px);
  pointer-events: none;
}

.hero-media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-brand);
}

.hero-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Page hero (about) */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  color: var(--navy-foreground);
  padding: 5rem 0;
  text-align: center;
}

@media (min-width: 768px) {
  .page-hero { padding: 7rem 0; }
}

.page-hero-inner {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange);
}

.page-hero h1 {
  margin-top: 1rem;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) { .page-hero h1 { font-size: 3rem; } }
@media (min-width: 768px) { .page-hero h1 { font-size: 3.75rem; } }

.page-hero p {
  margin: 1.5rem auto 0;
  max-width: 42rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Sections */
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-muted { background: color-mix(in oklab, var(--secondary) 50%, transparent); }
.section-muted-40 { background: color-mix(in oklab, var(--secondary) 40%, transparent); }
.section-border { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.section-head h2 {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .section-head h2 { font-size: 2.25rem; }
}

.section-head p {
  margin-top: 1rem;
  color: var(--muted-foreground);
}

/* Cards / grids */
.grid { display: grid; gap: 1rem; }
.grid-gap-6 { gap: 1.5rem; }
.grid-gap-3 { gap: 0.75rem; }

@media (min-width: 640px) {
  .sm-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .md-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .lg-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg-cols-6 { grid-template-columns: repeat(6, 1fr); }
}

.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-20 { margin-top: 5rem; }

.card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card-lg { padding: 1.5rem; border-radius: 1rem; }
.card-xl { padding: 1.75rem; border-radius: 1rem; }
.card-2xl { padding: 2rem; border-radius: 1rem; }

.card:hover,
.card-hover:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--orange) 50%, var(--border));
  box-shadow: var(--shadow-brand);
}

.card-hover-strong:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--orange) 40%, var(--border));
  box-shadow: var(--shadow-brand);
}

.card-center { text-align: center; }

.partner-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.partner-tag {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
}

.icon-box {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: color-mix(in oklab, var(--orange) 10%, transparent);
  color: var(--orange);
}

.icon-box-navy {
  width: 3rem;
  height: 3rem;
  background: var(--navy);
  color: var(--navy-foreground);
}

.card h3 {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.card h3.lg { font-size: 1.125rem; }

.card .desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.capability-card {
  position: relative;
  overflow: hidden;
}

.capability-glow {
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 7rem;
  height: 7rem;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--orange) 10%, transparent);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.capability-card:hover .capability-glow { opacity: 1; }

.product-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.product-row .icon { margin-top: 0.25rem; color: var(--orange); }

.client-chip {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.client-chip:hover {
  border-color: color-mix(in oklab, var(--orange) 40%, var(--border));
  color: var(--orange);
}

/* Testimonials */
.testimonials {
  background: var(--gradient-hero);
  color: var(--navy-foreground);
  padding: 6rem 0;
}

.testimonial {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  margin: 0;
}

.testimonial .icon { color: var(--orange); }

.testimonial blockquote {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.85);
}

.testimonial figcaption {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.testimonial .name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.testimonial .company {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
}

/* About split */
.about-grid {
  display: grid;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-copy h2 {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .about-copy h2 { font-size: 2.25rem; }
}

.about-copy > p {
  margin-top: 1.25rem;
  color: var(--muted-foreground);
}

.check-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.check-list .icon {
  margin-top: 0.125rem;
  color: var(--orange);
}

.diff-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.diff-card h3 {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.diff-card p {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Contact CTA */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  color: var(--navy-foreground);
  padding: 5rem 0;
}

.contact-inner {
  position: relative;
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-inner { grid-template-columns: 1.2fr 1fr; }
}

.contact h2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .contact h2 { font-size: 2.25rem; }
}

.contact-lead {
  margin-top: 1rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.75);
}

.contact-meta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
}

.contact-meta a,
.contact-meta div {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-meta a:hover { color: var(--orange); }
.contact-meta .icon { color: var(--orange); margin-top: 0.125rem; }

.contact-form-wrap {
  position: relative;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
  .contact-form-wrap { padding: 2rem; }
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr 1fr; }
}

.form-field {
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: #fff;
  resize: vertical;
}

.form-field::placeholder { color: rgba(255, 255, 255, 0.5); }
.form-field:focus {
  outline: none;
  border-color: var(--orange);
}

.btn-full { width: 100%; padding: 0.75rem 1rem; }
.btn-full:hover { transform: scale(1.01); }

.form-msg {
  display: none;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: #86efac;
}

.form-msg.is-visible { display: block; }

/* Honeypot — visually hidden, not display:none (bots often skip those) */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Mission / Vision */
.mv-card h2 {
  margin-top: 1.25rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.mv-card p {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
}

/* Leadership */
.leader {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.leader:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--orange) 40%, var(--border));
  box-shadow: var(--shadow-brand);
}

.leader-top {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.leader-photo {
  width: 6rem;
  height: 6rem;
  flex: none;
  border-radius: 9999px;
  object-fit: cover;
  object-position: top;
  ring: 2px;
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--orange) 30%, transparent);
}

.leader h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.leader-role {
  margin-top: 0.125rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
}

.leader-bio {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* Contact strip */
.contact-strip {
  text-align: center;
  padding: 5rem 0;
}

.contact-strip .icon { margin: 0 auto; color: var(--orange); }

.contact-strip h2 {
  margin-top: 1rem;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.contact-strip > p {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
}

.contact-strip-links {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .contact-strip-links {
    flex-direction: row;
    gap: 2rem;
  }
}

.contact-strip-links a,
.contact-strip-links span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-strip-links a:hover { color: var(--orange); }
.contact-strip-links .icon { color: var(--orange); }

.back-link {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
}

.back-link:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--background);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-inner { flex-direction: row; }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand span {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

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

/* Event galleries */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.event-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .event-card { padding: 2rem; }
}

.event-head h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.event-meta {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.event-meta .icon { color: var(--orange); }

.event-desc {
  margin-top: 1rem;
  max-width: 48rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

.gallery {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--muted);
}

.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.events-empty {
  max-width: 32rem;
  margin: 0 auto;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--muted-foreground);
  border: 1px dashed var(--border);
  border-radius: 1rem;
}

.events-empty .icon { margin: 0 auto 1rem; color: var(--orange); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 4rem;
  background: rgba(8, 10, 30, 0.92);
}

.lightbox[hidden] { display: none; }

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.lightbox button {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  border-radius: 9999px;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.75rem;
  line-height: 1;
}

.lightbox button:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 639px) {
  .lightbox { padding: 3.5rem 0.5rem; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 0.75rem; transform: none; }
}
