*, *::before, *::after {box-sizing: border-box;margin: 0;padding: 0;}
:root {
  /* --accent: #ffffff; */
  /* --accent-bright: #c2c2c2; */
  /* --accent-glow: #ffffff; */
  --bg-deep:       #0f0d20;
  --bg-navy:       #0f0d20;
  --text:          #e8e8f0;
  --text-muted: #ebe8e8;
  --nav-border: rgb(63 58 88 / 55%);
  --nav-bg:        rgba(5, 15, 50, 0.60);
  --bg-1: #2d2419;
  --bg-2: #3b2e20;
  --bg-3: #68543b;
  --bg-4: #9e8763;
  --bg-5: #b0a389;
  --bg-6: #c6c1b6;
  --wave-time: 42s;
}
html, body {
  width: 100%;
  height: 100%;
  background: #000000;
  color: #ffffff;
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
  scrollbar-width: thin;
  scrollbar-color: #5e686c rgb(138 138 140);
}
body { position: relative; }

.bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(
      90deg,
      var(--bg-1) 0%,
      var(--bg-2) 16%,
      var(--bg-3) 38%,
      var(--bg-4) 62%,
      var(--bg-5) 82%,
      var(--bg-6) 100%
    );
}

.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0) 55%,
      rgba(0,10,35,0.08) 72%,
      rgba(0,12,40,0.16) 86%,
      rgba(0,14,44,0.30) 100%
    );
  z-index: 3;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.02) 0%,
      rgba(255,255,255,0.008) 30%,
      rgba(255,255,255,0) 70%
    );
  z-index: 2;
}

.wave-track {
  position: absolute;
  inset: -18% 0 -18% 0;
  width: 240vw;
  display: flex;
  animation: moveWaveTrack var(--wave-time) linear infinite;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.wave {
  position: relative;
  width: 120vw;
  height: 140vh;
  flex: 0 0 120vw;
  filter: blur(30px);
  opacity: 0.78;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,0,0,0.22) 8%,
    rgba(0,0,0,0.7) 18%,
    rgba(0,0,0,1) 34%,
    rgba(0,0,0,1) 72%,
    rgba(0,0,0,0.58) 86%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,0,0,0.22) 8%,
    rgba(0,0,0,0.7) 18%,
    rgba(0,0,0,1) 34%,
    rgba(0,0,0,1) 72%,
    rgba(0,0,0,0.58) 86%,
    transparent 100%
  );
}

.wave::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: rotate(-9deg) scale(1.08);
  background:
    radial-gradient(ellipse 48% 26% at 96% 10%,
      rgba(255,255,255,0.05) 0%,
      rgba(185,242,255,0.07) 14%,
      rgba(105,220,255,0.08) 32%,
      rgba(48,165,255,0.06) 50%,
      rgba(0,0,0,0) 74%),
    radial-gradient(ellipse 38% 20% at 86% 22%,
      rgba(180,238,255,0.06) 0%,
      rgba(92,214,255,0.08) 35%,
      rgba(34,145,255,0.05) 56%,
      rgba(0,0,0,0) 82%),
    radial-gradient(ellipse 34% 18% at 75% 34%,
      rgba(150,232,255,0.05) 0%,
      rgba(76,200,255,0.06) 32%,
      rgba(0,0,0,0) 78%),
    radial-gradient(ellipse 42% 22% at 92% 44%,
      rgba(120,220,255,0.04) 0%,
      rgba(55,168,255,0.045) 38%,
      rgba(0,0,0,0) 80%),
    linear-gradient(
      135deg,
      rgba(255,255,255,0.00) 0%,
      rgba(170,235,255,0.015) 18%,
      rgba(92,208,255,0.03) 42%,
      rgba(30,130,255,0.025) 58%,
      rgba(0,0,0,0) 78%
    );
}

.wave::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: rotate(-11deg) scale(1.12);
  background:
    radial-gradient(ellipse 58% 28% at 100% 4%,
      rgba(255,255,255,0.03) 0%,
      rgba(150,232,255,0.035) 20%,
      rgba(50,160,255,0.025) 46%,
      rgba(0,0,0,0) 74%);
  filter: blur(34px);
  opacity: 0.85;
}

nav {
  position: relative;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1100px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 52px;
  background: #52525278;
  border: 1px solid #5b50508c;
  border-radius: 14px;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 0 30px rgb(78 68 122 / 18%), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {font-family: "IBM Plex Sans", sans-serif;,monospace;font-size: 0.78rem;font-weight: 400;color: #ffffff;text-decoration: none;letter-spacing: 0.06em;text-transform: uppercase;transition: color 0.2s;position: relative;}
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--accent-bright); transition: width 0.25s ease; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active {color: #ffffff;}
.nav-links a.active::after { width: 100%; }
.nav-lang {display: flex;align-items: center;gap: 8px;font-family: 'DM Mono', monospace;font-size: 0.78rem;color: #ffffff;text-decoration: none;letter-spacing: 0.06em;text-transform: uppercase;transition: color 0.2s;}
.nav-lang:hover { color: #fff; }
.nav-lang svg { opacity: 0.6; transition: opacity 0.2s; }
.nav-lang:hover svg { opacity: 1; }

.hero { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
.hero-tag { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 24px; }
.hero-tag span { display: inline-block; border: 1px solid rgba(91,63,224,0.4); padding: 4px 14px; border-radius: 100px; background: rgba(67,44,174,0.1); }
h1 { font-family: 'Syne', sans-serif; font-size: clamp(2.8rem,8vw,6.5rem); font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; color: #fff; }
h1 .accent-word {background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #ffffff 100%);-webkit-background-clip: text;-webkit-text-fill-color: transparent;background-clip: text;}
.hero-sub {margin-top: 20px;font-size: clamp(0.85rem,2vw,1rem);color: #c7e3ff;max-width: 480px;line-height: 1.7; }
.hero-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-primary {font-family: 'DM Mono', monospace;font-size: 0.8rem;letter-spacing: 0.08em;text-transform: uppercase;text-decoration: none;color: #fff;background: rgb(84 114 204 / 52%);border: 1px solid transparent;padding: 13px 28px;border-radius: 10px;transition: background 0.2s, box-shadow 0.2s, transform 0.15s;box-shadow: 0 0 20px rgba(67,44,174,0.4);}
.btn-primary:hover { background: var(--accent-bright); box-shadow: 0 0 32px rgba(91,63,224,0.6); transform: translateY(-2px); }
.btn-ghost {font-family: 'DM Mono', monospace;font-size: 0.8rem;letter-spacing: 0.08em;text-transform: uppercase;text-decoration: none;color: #fefefe;background: transparent;border: 1px solid rgb(255 255 255 / 62%);padding: 13px 28px;border-radius: 10px;transition: color 0.2s, border-color 0.2s, transform 0.15s;}
.btn-ghost:hover { color: #fff; border-color: var(--accent-bright); transform: translateY(-2px); }

.section { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 100px 24px; }
.projects-row { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 20px; }
.project-card {background: rgb(48 70 135 / 47%);border: 1px solid rgba(67,44,174,0.2);border-radius: 14px;padding: 28px 24px;text-decoration: none;color: #ffffff;display: block;transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;position: relative;overflow: hidden;}
.project-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg,transparent,var(--accent-bright),transparent); opacity: 0; transition: opacity 0.3s; }
.project-card:hover { border-color: rgba(91,63,224,0.5); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(67,44,174,0.15); }
.project-card:hover::before { opacity: 1; }
.project-tag { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 12px; }
.project-title { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.project-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.project-arrow { margin-top: 20px; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--accent-bright); text-transform: uppercase; }

.no-posts {text-align: center;padding: 48px 24px;color: #c7e3ff;border: 1px dashed rgba(67,44,174,0.25);border-radius: 14px;font-size: 0.85rem;}

footer {position: relative;z-index: 1;padding: 32px 24px;text-align: center;}
footer p {font-size: 0.72rem;color: #c7e3ff;letter-spacing: 0.06em;}
footer a {color: #ffffff;text-decoration: none;}

@keyframes moveWaveTrack {
  from { transform: translateX(0); }
  to { transform: translateX(-120vw); }
}

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

@keyframes scrollPulse {
  0%,100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@media (max-width: 768px) {
  .bg {
    background:
      linear-gradient(
        90deg,
        var(--bg-1) 0%,
        var(--bg-2) 24%,
        var(--bg-3) 48%,
        var(--bg-4) 70%,
        var(--bg-5) 90%,
        var(--bg-6) 100%
      );
  }

  .wave {
    filter: blur(22px);
    opacity: 0.72;
  }

  nav {
    width: calc(100% - 24px);
    padding: 0 16px;
    gap: 16px;
  }

  .nav-links {
    gap: 16px;
  }
}


.page-wrap {position: relative;z-index: 1;max-width: 1100px;margin: 0 auto;padding: 50px 24px 80px;}
.page-header { margin-bottom: 52px; }
.page-title { font-family: "Sitka Text", "Sitka Small", Sitka, Georgia, serif;font-size: clamp(2rem,5vw,3.5rem);font-weight: 800;line-height: 1.05;background: linear-gradient(135deg, #ffffff 0%, #ffffff 25%, #ffffff 100%);-webkit-background-clip: text;-webkit-text-fill-color: transparent;background-clip: text;}


.posts-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 20px; }
.post-card-m { background: rgb(48 70 135 / 47%); border: 1px solid rgba(67,44,174,0.2); border-radius: 14px; padding: 28px 24px; text-decoration: none; color: inherit; display: block; transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s; position: relative; overflow: hidden; }
.post-card-m::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg,transparent,var(--accent-bright),transparent); opacity: 0; transition: opacity 0.3s; }
.post-card-m:hover { border-color: rgba(91,63,224,0.5); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(67,44,174,0.15); }
.post-card-m:hover::before { opacity: 1; }
.post-tag-m { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 12px; }
.post-title-m { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.post-excerpt-m { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.post-arrow-m { margin-top: 20px; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--accent-bright); text-transform: uppercase; }


.post-wrap { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; padding: 130px 24px 80px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 32px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent-bright); }
.breadcrumb span { opacity: 0.4; }
.breadcrumb .current {color: #ffffff;}
.page-eyebrow {font-family: "Sitka Text", "Sitka Small", Sitka, Georgia, serif; font-size: 0.79rem;;text-transform: uppercase;color: #ffffff;margin-bottom: 14px;}
.meta-row {display: flex;flex-wrap: wrap;gap: 16px;margin-bottom: 28px;font-size: 0.72rem;color: var(--text-muted);}
.post-meta-row {font-family: "Sitka Text", "Sitka Small", Sitka, Georgia, serif; margin-top: 16px; }

.content-block { opacity: 1; }
.layout-right, .layout-left { display: grid; gap: 56px; align-items: start; }
.layout-right { grid-template-columns: 1fr 300px; }
.layout-left  { grid-template-columns: 1fr 300px; }
@media (max-width: 768px) { .layout-right, .layout-left { grid-template-columns: 1fr; } }
.layout-bottom { display: flex; flex-direction: column; gap: 36px; }
.content-image img {width: 100%;border-radius: 12px;}
.layout-right .content-image, .layout-left .content-image { position: sticky; top: 100px; }

.prose {font-family: "Sitka Text", "Sitka Small", Sitka, Georgia, serif;/* font-size: 0.88rem; *//* color: #c7e3ff; */line-height: 1.85;}
.prose h1, .prose h2, .prose h3 { font-family: 'Syne', sans-serif; color: #fff; margin: 28px 0 12px; line-height: 1.2; }
.prose h1 { font-size: 1.5rem; }
.prose h2 { font-size: 1.2rem; }
.prose h3 { font-size: 1rem; color: var(--accent-bright); }
.prose p { margin-bottom: 16px; }
.prose a { color: var(--accent-bright); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 20px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: #fff; font-weight: 600; }
.prose em {color: #e4e4e4;}
.prose img { max-width: 100%; border-radius: 10px; margin: 12px 0; }
.prose blockquote { border-left: 2px solid var(--accent-bright); padding-left: 16px; color: var(--text-muted); margin: 16px 0; }
.prose code { background: rgba(67,44,174,0.15); padding: 2px 6px; border-radius: 4px; font-size: 0.85em; }
.prose pre { background: rgba(67,44,174,0.1); border: 1px solid rgba(67,44,174,0.2); border-radius: 10px; padding: 16px; overflow-x: auto; margin-bottom: 16px; }

.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.back-link:hover { color: var(--accent-bright); }

.no-posts { text-align: center; padding: 48px 24px; color: #c7e3ff; border: 1px dashed rgba(67,44,174,0.25); border-radius: 14px; font-size: 0.85rem; }


.about-layout { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
@media (max-width: 768px) { .about-layout { grid-template-columns: 1fr; gap: 36px; } }

.about-image img { width: 100%; border-radius: 16px; box-shadow: 0 0 40px rgb(116 88 255 / 85%); position: sticky; top: 100px; }

.about-block { margin-bottom: 40px; }
.about-block:last-child { margin-bottom: 0; }
.about-question { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 12px; padding-left: 14px; border-left: 2px solid var(--accent-bright); }
.about-content p { font-size: 0.88rem; color: #c7e3ff; line-height: 1.85; }



.nav-hamburger {
  position: fixed;
  top: 18px;
  display: none;
  background: #52525278;
  border: 1px solid #5b50508c;
  border-radius: 10px;
  cursor: pointer;
  padding: 10px 12px;
  flex-direction: column;
  gap: 5px;
  z-index: 200;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: #40404078; }
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


nav.drawer-open .nav-links,
nav.drawer-open .nav-lang { visibility: hidden; }


.nav-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 150;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.35s;
}
.nav-drawer-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-drawer-panel {
  position: absolute;
  top: 0; left: 0;
  width: 200px;
  height: 100%;
  background: #525252f0;
  border-right: 1px solid #5b505082;
  padding: 80px 0 32px;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}


.nav-drawer.open {
  pointer-events: all;
  visibility: visible;
  transition: visibility 0s linear 0s;
}
.nav-drawer.open .nav-drawer-bg { opacity: 1; }
.nav-drawer.open .nav-drawer-panel { transform: translateX(0); }

.nav-drawer-links {
  list-style: none;
  padding: 0 24px;
  flex: 1;
}
.nav-drawer-links li { border-bottom: 1px solid rgba(67,44,174,0.15); }
.nav-drawer-links a {
  display: block;
  padding: 16px 8px;
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bdbdbd;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-drawer-links a:hover,
.nav-drawer-links a.active { color: #fff; }

.nav-drawer-lang {
  margin: 16px 24px 0;
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bdbdbd;
  text-decoration: none;
  transition: color 0.2s;
  border-top: 1px solid rgba(67,44,174,0.15);
}
.nav-drawer-lang:hover { color: #fff; }

@media (max-width: 540px) {
  .nav-links, .nav-lang { display: none; }
  .nav-hamburger {display: flex;}
}


@media (max-width: 540px) {
  nav {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    width: auto;
    height: auto;
    top: 16px;
    left: 16px;
    transform: none;
    padding: 0;
    justify-content: flex-start;
  }
}


.projects-section { margin-bottom: 64px; }
.projects-section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  padding-left: 14px;
  border-left: 2px solid var(--accent-bright);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.proj-card {
  background: rgb(48 70 135 / 47%);
  border: 1px solid rgba(67,44,174,0.2);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  position: relative;
}
.proj-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.proj-card:hover { border-color: rgba(91,63,224,0.5); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(67,44,174,0.15); }
.proj-card:hover::before { opacity: 1; }

.proj-img-wrap {
  position: relative;   
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(5,3,28,0.8);
}
.proj-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.proj-img-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.proj-img-wrap1 {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(5,3,28,0.8);
}

.proj-img-wrap1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proj-card:hover .proj-img-wrap img   { transform: scale(1.05); opacity: 0; }
.proj-card:hover .proj-img-wrap video { opacity: 1; }

.proj-info { padding: 20px; }
.proj-tag { font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 8px; }
.proj-name { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.proj-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }


.projects-year {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  padding-left: 14px;
}


.about-image img {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 50px rgb(116 88 255 / 100%);
}

.shots {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 56px auto 0;
  opacity: 1;
}
.shots-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 2px solid var(--accent-bright);
}

.shots-viewport { position: relative; }

.shots-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  scrollbar-width: none;         
  -ms-overflow-style: none;     
}
.shots-track::-webkit-scrollbar { display: none; }

.shot {
  flex: 0 0 clamp(200px, 30%, 300px);
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(67, 44, 174, 0.25);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(5, 3, 28, 0.6);
  cursor: zoom-in;
  scroll-snap-align: start;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.shot:hover {
  border-color: rgba(91, 63, 224, 0.6);
  box-shadow: 0 10px 30px rgba(67, 44, 174, 0.25);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.shot:hover img { transform: scale(1.06); }

.shots-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(67, 44, 174, 0.5);
  background: rgb(48 70 135 / 80%);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
}
.shots-nav:hover { background: var(--accent-bright); }
.shots-nav[disabled] { opacity: 0; pointer-events: none; }
.shots-prev { left: -14px; }
.shots-next { right: -14px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(3, 2, 15, 0.93);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}
.lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  border-radius: 10px;
  border: 1px solid rgba(67, 44, 174, 0.4);
  box-shadow: 0 0 60px rgba(67, 44, 174, 0.35);
}
.lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.lb-btn {
  position: absolute;
  background: rgb(48 70 135 / 70%);
  border: 1px solid rgba(67, 44, 174, 0.5);
  color: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lb-btn:hover { background: var(--accent-bright); }
.lb-close { top: 24px; right: 24px; }
.lb-prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-prev[hidden], .lb-next[hidden] { display: none; }

@media (max-width: 768px) {
  .shot { flex: 0 0 78%; }
  .shots-prev { left: 4px; }
  .shots-next { right: 4px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { top: 12px; right: 12px; }
}



.hero-split {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 150px 24px 60px;
  display: grid;
  grid-template-columns: 665px 1fr;
  gap: 44px;
  align-items: center;
}
.hero-panel {
  background: #1e34701a;   
  border: 1px solid rgba(67, 44, 174, 0.22);
  border-radius: 18px;
  padding: 38px 34px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 1;
}
.hero-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.8vw, 3rem);   
  font-weight: 650;
  line-height: 0.98;                        
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
  opacity: 1;
}
.hero-text {
  font-size: clamp(0.82rem, 1.4vw, 0.95rem);
  color: #c7e3ff;
  line-height: 1.85;
  margin-bottom: 0;
  text-align: justify;
}
.hero-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}
.hero-figure img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 42px rgba(116, 88, 255, 0.5));
}

@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 120px 4px 40px;
    gap: 34px;
  }
  .hero-panel { padding: 34px 26px; }
  .hero-figure img { max-width: 300px; }
}

/*MOTD*/
.top-wrap { position: relative; z-index: 1; padding-top: 108px; }   

.motd {
  max-width: 1100px;
  margin: 0 auto 6px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.motd-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
}
.motd-viewport { flex: 1; overflow: hidden; }
.motd-track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;               
  color: #c7e3ff;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  animation: motd-scroll 20s linear infinite;
}
@keyframes motd-scroll { to { transform: translateX(-100%); } }
.motd:hover .motd-track { animation-play-state: paused; }   
.motd-label, .motd-track, .nowplaying { -webkit-text-fill-color: currentColor; }

.nowplaying {
  max-width: 1100px;
  margin: 18px auto 0;
  padding: 0 24px;
  font-size: clamp(0.78rem, 1.4vw, 0.9rem);
  color: #9fb8d8;
}

.np-eq {
  vertical-align: -0.18em;
  margin-right: 8px;
}

.np-live .np-w1,
.np-live .np-w2,
.np-live .np-w3 {
  animation: np-wave 1.2s steps(1) infinite;
}
.np-live .np-w2 { animation-delay: 0.4s; }
.np-live .np-w3 { animation-delay: 0.8s; }

@keyframes np-wave {
  0%, 66%   { opacity: 0; }
  67%, 100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .np-live .np-w1,
  .np-live .np-w2,
  .np-live .np-w3 { animation: none; opacity: 1; }
}

.hero-split { padding-top: 30px; }

.legacy-link {
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgb(255 255 255 / 25%);
  padding: 7px 16px;
  border-radius: 8px;
  transition: color 0.2s, border-color 0.2s;
}

.legacy-link:hover {
  color: #fff;
  border-color: rgb(32 32 32 / 50%);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 36px;
}

.section-actions {
  text-align: center;
  margin-top: 40px;
}

.footer-legacy {
  margin-top: 12px;
}
