:root {
  --bg: #07141f;
  --bg-deep: #031018;
  --panel: rgba(6, 20, 31, 0.78);
  --panel-strong: rgba(7, 24, 37, 0.94);
  --panel-soft: rgba(255, 255, 255, 0.08);
  --line: rgba(203, 235, 255, 0.16);
  --line-strong: rgba(255, 189, 89, 0.3);
  --text: #f4f7fb;
  --muted: #9ab4c7;
  --gold: #ffb14d;
  --gold-strong: #ff8c1f;
  --sky: #62d8ff;
  --mint: #7dffc7;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(98, 216, 255, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 177, 77, 0.18), transparent 22%),
    linear-gradient(180deg, #08131d 0%, #07141f 30%, #031018 100%);
  line-height: 1.6;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.45;
}

body::before {
  top: -12rem;
  left: -12rem;
  background: rgba(98, 216, 255, 0.18);
}

body::after {
  right: -12rem;
  bottom: -14rem;
  background: rgba(255, 177, 77, 0.14);
}

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

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

.topbar {
  padding: 12px 16px;
  text-align: center;
  color: var(--sky);
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(3, 16, 24, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner,
.content,
.footer-inner {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-title {
  font-family: "Syne", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.brand-tagline {
  color: var(--muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.nav a {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  transition: 180ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 177, 77, 0.08);
}

.content {
  padding: 34px 0 90px;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(5, 18, 28, 0.96) 0%, rgba(8, 28, 43, 0.88) 54%, rgba(35, 18, 2, 0.82) 100%);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 10, 16, 0.28), rgba(2, 10, 16, 0.72)),
    url("assets/1 (11).jpg") center/cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.5;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 42px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--sky);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.82rem;
}

.hero h1,
.section-head h2,
.card-title,
.section h2,
.timeline-title {
  font-family: "Syne", Arial, sans-serif;
  letter-spacing: -0.04em;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
}

.hero p {
  max-width: 680px;
  margin: 0 0 16px;
  color: #d3e3ed;
  font-size: 1.05rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #07141f;
  background: linear-gradient(135deg, var(--gold) 0%, #ffd47d 100%);
  box-shadow: 0 16px 40px rgba(255, 177, 77, 0.28);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stack {
  display: grid;
  gap: 18px;
}

.logo-panel,
.flash-card,
.section,
.gallery-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.logo-panel {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(255, 177, 77, 0.12), rgba(98, 216, 255, 0.08)),
    rgba(7, 20, 31, 0.78);
}

.logo-panel::after,
.flash-card::after,
.section::after,
.gallery-card::after,
.contact-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -65% auto;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 177, 77, 0.2), transparent 70%);
  pointer-events: none;
}

.logo-panel img {
  width: min(420px, 100%);
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.34));
}

.flash-card {
  padding: 20px 22px;
}

.flash-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.flash-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.section {
  padding: 28px;
  margin-bottom: 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.section-head h2,
.section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.section-head p,
.section-intro {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
}

.feature-grid,
.resume-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.latest-video-head {
  margin-top: 4px;
}

.latest-video-card {
  margin-bottom: 44px;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-caption {
  padding: 14px 16px 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.card-title {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.lead-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(98, 216, 255, 0.08), transparent),
    rgba(4, 18, 28, 0.88);
}

.detail-card {
  padding: 24px;
}

.detail-card ul {
  margin: 0;
  padding-left: 20px;
}

.lead-card p,
.detail-card p,
.detail-card li,
.timeline-meta,
.timeline-text,
.gallery-card figcaption,
.contact-note,
.form-help {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  position: relative;
  padding: 20px 20px 20px 26px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--sky));
}

.timeline-title {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.timeline-meta {
  margin: 0 0 6px;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.timeline-text {
  margin: 0;
}

.gallery-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-bottom: 24px;
}

.gallery-spotlight {
  min-height: 100%;
  padding: 0;
}

.gallery-spotlight img,
.gallery-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.12);
}

.gallery-spotlight img {
  max-height: 42rem;
}

.gallery-spotlight-copy {
  padding: 24px 26px 28px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card figcaption {
  padding: 14px 16px 18px;
}

.contact-card {
  padding: 30px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #88a0b2;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form button {
  border: 0;
  cursor: not-allowed;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(2, 10, 16, 0.48);
}

.footer-inner {
  padding: 34px 0 48px;
  text-align: center;
  color: var(--muted);
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 1024px) {
  .hero,
  .gallery-hero,
  .feature-grid,
  .resume-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .flash-list,
  .gallery-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }

  .hero {
    padding: 28px 22px;
  }

  .section,
  .contact-card {
    padding: 22px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .flash-list,
  .gallery-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .brand-title {
    font-size: 2.35rem;
  }

  .topbar,
  .brand-tagline,
  .eyebrow,
  .timeline-meta {
    letter-spacing: 0.12em;
  }
}
