:root {
  --bg-deep: #0d2246;
  --bg-mid: #0c1f38;
  --bg-soft: #1b4472;
  --blue-strong: #0f5fbf;
  --blue-light: #8ed7ff;
  --brown-strong: #442508;
  --brown-soft: #d4a06c;
  --ivory: #f8f3ee;
  --white: #ffffff;
  --muted: #dfe7f6;
  --shadow: rgba(7, 15, 30, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at 15% 15%, rgba(142, 215, 255, 0.18), transparent 22%),
    radial-gradient(circle at 75% 30%, rgba(221, 150, 90, 0.12), transparent 28%),
    radial-gradient(circle at 60% 80%, rgba(94, 160, 255, 0.12), transparent 30%),
    linear-gradient(120deg, #010812 0%, #061827 22%, #0b1b2d 45%, #142e48 68%, #2b1d13 100%);
  color: var(--white);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(2.2px 2.2px at 8% 18%, rgba(255,255,255,0.9), transparent 100%),
    radial-gradient(1.8px 1.8px at 14% 38%, rgba(255,255,255,0.7), transparent 100%),
    radial-gradient(2px 2px at 23% 72%, rgba(255,255,255,0.9), transparent 100%),
    radial-gradient(1.8px 1.8px at 31% 26%, rgba(255,255,255,0.85), transparent 100%),
    radial-gradient(2.2px 2.2px at 39% 56%, rgba(255,255,255,0.9), transparent 100%),
    radial-gradient(1.7px 1.7px at 48% 18%, rgba(255,255,255,0.75), transparent 100%),
    radial-gradient(2px 2px at 56% 66%, rgba(255,255,255,0.8), transparent 100%),
    radial-gradient(2.4px 2.4px at 64% 26%, rgba(255,255,255,0.9), transparent 100%),
    radial-gradient(1.7px 1.7px at 72% 78%, rgba(255,255,255,0.8), transparent 100%),
    radial-gradient(2.2px 2.2px at 81% 30%, rgba(255,255,255,0.9), transparent 100%),
    radial-gradient(1.8px 1.8px at 88% 58%, rgba(255,255,255,0.8), transparent 100%),
    radial-gradient(2px 2px at 94% 22%, rgba(255,255,255,0.9), transparent 100%),
    radial-gradient(2.5px 2.5px at 52% 48%, rgba(255,255,255,0.78), transparent 100%);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(154, 197, 255, 0.14), transparent 48%);
  pointer-events: none;
  z-index: 0;
}

.page-shell,
.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

 a {
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 13, 25, 0.38);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  width: 68px;
  height: 68px;
  filter: drop-shadow(0 0 12px rgba(142, 215, 255, 0.5));
}

.main-nav {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.main-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brown-soft), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  padding: 88px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(142, 215, 255, 0.12);
  border: 1px solid rgba(142, 215, 255, 0.24);
  color: var(--blue-light);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-alt {
  color: var(--brown-soft);
  background: rgba(212, 160, 108, 0.12);
  border-color: rgba(212, 160, 108, 0.28);
}

.hero-copy h1 {
  margin: 20px 0 18px;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-transform: none;
}

.gradient-text {
  background: linear-gradient(120deg, var(--blue-light), var(--white), var(--brown-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--blue-strong), var(--blue-light));
  color: var(--white);
  box-shadow: 0 18px 32px rgba(44, 111, 196, 0.4);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.primary-btn:hover,
.secondary-btn:hover,
.primary-btn:focus-visible,
.secondary-btn:focus-visible {
  transform: translateY(-2px);
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 42px;
}

.stat-row div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-row strong {
  font-size: clamp(1.4rem, 2vw, 2rem);
  color: var(--white);
}

.stat-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.9;
}

.halo-one {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(142, 215, 255, 0.42), rgba(142, 215, 255, 0.03) 62%, transparent 72%);
  top: 60px;
}

.halo-two {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(212, 160, 108, 0.28), rgba(212, 160, 108, 0.02) 65%, transparent 72%);
  bottom: 30px;
  right: 20px;
}

.logo-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: rgba(4, 12, 22, 0.36);
  box-shadow: 0 30px 60px rgba(8, 18, 32, 0.55);
}

.logo-panel img {
  width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.2));
}

.featured,
.workshop,
.events,
.gallery,
.blog,
.about {
  padding: 40px 0 80px;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2,
.about-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.card-grid {
  display: grid;
  gap: 26px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.blog-card {
  background: rgba(12, 22, 39, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 28px rgba(3, 10, 20, 0.3);
}

.info-card {
  padding: 30px 26px 28px;
}

.card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(142, 215, 255, 0.18), rgba(212, 160, 108, 0.2));
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.info-card h3,
.blog-copy h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.3;
}

.info-card p,
.about-copy p,
.blog-copy span {
  color: var(--muted);
}

.info-card a,
.blog-copy a {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue-light);
  font-weight: 700;
}

.accent-card {
  background: linear-gradient(160deg, rgba(14, 57, 92, 0.9), rgba(45, 19, 8, 0.72));
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.about-visual {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(15, 95, 191, 0.35), rgba(141, 87, 37, 0.2)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 50%),
    rgba(10, 18, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 40px rgba(142, 215, 255, 0.08), 0 16px 28px rgba(0, 0, 0, 0.18);
  position: relative;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 18% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04) 32%, transparent 70%);
  filter: blur(6px);
}

.mini-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(7, 13, 26, 0.42);
  box-shadow: 0 18px 32px rgba(7, 17, 31, 0.32);
  text-align: center;
}

.mini-panel span {
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.mini-panel strong {
  font-size: 1.8rem;
  line-height: 1.2;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ivory);
  font-size: 1.02rem;
}

.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--brown-soft);
}

.event-list {
  display: grid;
  gap: 18px;
}

.event-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border-radius: 22px;
  background: rgba(10, 18, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.event-date {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 96px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(142, 215, 255, 0.18), rgba(212, 160, 108, 0.14));
  color: var(--white);
}

.event-date strong {
  font-size: 2.1rem;
  line-height: 1;
}

.event-date span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--blue-light);
}

.event-details h3 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.event-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.event-item a {
  color: var(--brown-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 200px;
  gap: 20px;
}

.gallery-page {
  padding: 64px 0 80px;
}

.gallery-heading {
  margin-bottom: 36px;
}

.gallery-heading h1 {
  margin: 20px 0 10px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.05em;
}

.gallery-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.gallery-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.gallery-search {
  display: grid;
  gap: 8px;
  width: min(100%, 360px);
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  outline: none;
  background: rgba(5, 13, 25, 0.68);
  color: var(--white);
  font: inherit;
}

.gallery-search input:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(142, 215, 255, 0.16);
}

.gallery-search input::placeholder {
  color: rgba(223, 231, 246, 0.62);
}

.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-tag {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gallery-tag:hover,
.gallery-tag:focus-visible,
.gallery-tag.is-active {
  border-color: rgba(142, 215, 255, 0.6);
  background: rgba(142, 215, 255, 0.16);
  color: var(--white);
}

.gallery-count {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-photos {
  column-count: 6;
  column-gap: 12px;
}

.gallery-photo {
  position: relative;
  z-index: 0;
  display: inline-block;
  width: 100%;
  margin: 0 0 12px;
  break-inside: avoid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(5, 13, 25, 0.68);
  box-shadow: 0 14px 28px rgba(3, 10, 20, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-photo:hover,
.gallery-photo:focus-within {
  z-index: 2;
  transform: scale(1.1);
  box-shadow: 0 22px 40px rgba(3, 10, 20, 0.55);
}

.gallery-photo[hidden] {
  display: none;
}

.gallery-photo img {
  width: auto;
  height: auto;
  max-width: 100%;
}

.gallery-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px 14px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-photo:hover figcaption,
.gallery-photo:focus-within figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-empty {
  margin: 28px 0 0;
  color: var(--muted);
}

.gallery-item {
  border-radius: 22px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 28px rgba(8, 16, 28, 0.36);
}

.tall {
  grid-row: span 2;
}

.wide {
  grid-column: span 2;
}

.image-g1 {
  background-image: linear-gradient(135deg, rgba(17, 90, 184, 0.15), rgba(0, 0, 0, 0.12)), url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=80");
}

.image-g2 {
  background-image: linear-gradient(135deg, rgba(29, 74, 116, 0.3), rgba(0, 0, 0, 0.08)), url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=900&q=80");
}

.image-g3 {
  background-image: linear-gradient(135deg, rgba(141, 87, 37, 0.25), rgba(0, 0, 0, 0.14)), url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=80");
}

.image-g4 {
  background-image: linear-gradient(135deg, rgba(114, 175, 227, 0.2), rgba(0, 0, 0, 0.12)), url("https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&w=1200&q=80");
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-image {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.image-one {
  background: linear-gradient(135deg, rgba(17, 90, 184, 0.3), rgba(0, 0, 0, 0.05)), url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=80") center/cover no-repeat;
}

.image-two {
  background: linear-gradient(135deg, rgba(141, 87, 37, 0.3), rgba(0, 0, 0, 0.06)), url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=80") center/cover no-repeat;
}

.image-three {
  background: linear-gradient(135deg, rgba(99, 164, 224, 0.35), rgba(0, 0, 0, 0.08)), url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=900&q=80") center/cover no-repeat;
}

.blog-copy {
  padding: 22px 22px 24px;
}

.blog-copy span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-footer {
  padding: 30px 0 44px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
}

.footer-brand p {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a,
.copyright {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .three-up,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-photos {
    column-count: 4;
  }

  .gallery-item,
  .wide,
  .tall {
    grid-column: auto;
    grid-row: auto;
  }

  .site-header {
    position: static;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    justify-content: flex-start;
    margin-left: 0;
  }

  .event-item {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-visual {
    min-height: 400px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    font-size: 0.9rem;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .main-nav {
    gap: 0.8rem 1.1rem;
  }

  .main-nav a {
    font-size: 0.75rem;
  }

  .hero-copy h1 {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .stat-row {
    gap: 18px;
  }

  .gallery-page {
    padding-top: 40px;
  }

  .gallery-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .gallery-search {
    width: 100%;
  }

  .gallery-photos {
    column-count: 2;
  }

  .gallery-photo:hover,
  .gallery-photo:focus-within {
    transform: scale(1.04);
  }
}
