
:root {
  --bg: #000000;
  --bg-soft: linear-gradient(180deg, #060606 0%, #0a0a0a 100%);
  --bg-section: #0c0c0d;
  --bg-section-2: #1d2023;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --muted-2: rgba(255, 255, 255, 0.58);
  --line: rgba(255, 255, 255, 0.08);
  --panel: rgba(255, 255, 255, 0.04);
  --accent: #ff5a1f;
  --accent-2: #ff7b45;
  --header-height: 84px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --logo-desktop: 100px;
  --logo-mobile: 70px;
  --logo-scrolled: 70px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.28);
  --container-max: 1240px;
  --orbit-1: 0deg;
  --orbit-2: 0deg;
  --orbit-3: 0deg;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; }
img { max-width: 100%; }

.container-wide {
  width: min(var(--container-max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1050;
  background: rgba(0, 0, 0, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.58);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.navbar {
  min-height: var(--header-height);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar > .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  margin-right: 0;
}

.navbar-brand:hover { transform: translateY(-1px); }

.brand-logo {
  width: var(--logo-desktop);
  height: auto;
  transition: width 0.35s ease, transform 0.35s ease;
}

.site-header.is-scrolled .brand-logo {
  width: var(--logo-scrolled);
}

.navbar-brand:hover .brand-logo { transform: scale(1.015); }

.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
  margin-left: auto;
}

.navbar-toggler:focus {
  box-shadow: none;
  border-color: rgba(255,255,255,0.24);
}

.navbar-toggler-icon { filter: invert(1); }

.navbar-collapse { flex-grow: 0; }

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  padding-inline: 1rem;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: #fff;
}

.brand-text {
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-left: 5px;
  border: 1px solid var(--line);
  border-radius: 0px 999px 999px 0px;
  background: var(--panel);
  color: rgba(255, 255, 255, 1);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: color 0.3s ease;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ff6e36, #ff4d12);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(255, 90, 31, 0.24);
  transition: transform 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  color: #fff;
  transform: translateY(-1px);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.content-section {
  position: relative;
  padding: 110px 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0)),
    var(--bg-soft);
  border-top: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
  isolation: isolate;
}

.content-section.alt {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.02) 0%, transparent 24%),
    linear-gradient(225deg, rgba(255,255,255,0.016) 0%, transparent 30%),
    linear-gradient(180deg, var(--bg-section) 0%, var(--bg-section-2) 100%);
}

.section-tag {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #fff;
}

.section-copy {
  max-width: 860px;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  font-size: 1.04rem;
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(255, 90, 31, 0.85);
}

.glass-card {
  height: 100%;
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.glass-card h3,
.glass-card h4,
.glass-card h5 { color: #fff; }

.glass-card p,
.glass-card li {
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
}

.glass-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.site-footer {
  position: relative;
  padding: 42px 0 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0)),
    #050505;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.62);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 50%, rgba(255, 90, 31, 0.08), transparent 20%),
    radial-gradient(circle at 85% 50%, rgba(255,255,255,0.03), transparent 24%);
}

.footer-inner {
  position: relative;
  z-index: 1;
}

.footer-brand { max-width: 420px; }

.footer-brand img {
  width: 90px;
  height: auto;
  display: block;
  margin-bottom: 14px;
}

.footer-brand p {
  margin: 0;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
}

.footer-heading {
  margin: 0 0 14px;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  display: inline-block;
  padding: 2px 0;
  color: rgba(255,255,255,0.72);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 90, 31, 0.35);
  background: rgba(255,255,255,0.07);
  color: var(--accent);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.68);
}

.footer-bottom a:hover {
  color: #fff;
}

.modal-backdrop.show {
  opacity: 1;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.work-modal .modal-dialog {
  max-width: min(1100px, calc(100vw - 32px));
}

.work-modal .modal-content {
  background: rgba(8, 8, 8, 0.72);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.work-modal .modal-header {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 18px 22px;
  background: rgba(255,255,255,0.02);
}

.work-modal .modal-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.work-modal .btn-close {
  filter: invert(1);
  opacity: 0.9;
  box-shadow: none;
}

.work-modal .modal-body {
  padding: 0;
  background: #050505;
}

.work-media-frame {
  position: relative;
  width: 100%;
  min-height: 300px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-media-frame img,
.work-media-frame video {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #000;
}

.work-meta {
  padding: 20px 22px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.work-meta p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}

@media (max-width: 991.98px) {
  .footer-brand {
    max-width: 100%;
  }

  .navbar > .container-wide { flex-wrap: wrap; }

  .navbar-collapse {
    width: 100%;
    margin-top: 0.85rem;
    padding: 1rem 1rem 1.2rem;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.94);
    border: 1px solid rgba(255,255,255,0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    z-index: 1051;
  }

  .navbar-nav { gap: 0.35rem; }

  .navbar-nav .nav-link {
    padding-left: 0;
    padding-right: 0;
  }

  .nav-cta {
    margin-top: 0.75rem;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .site-footer {
    padding: 36px 0 24px;
  }

  .footer-brand img {
    width: 76px;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
  }

  .footer-bottom {
    margin-top: 22px;
    padding-top: 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .brand-logo { width: var(--logo-mobile); }

  .work-modal .modal-dialog {
    max-width: calc(100vw - 18px);
    margin: 0.5rem auto;
  }

  .work-media-frame img,
  .work-media-frame video {
    max-height: 60vh;
  }
}
