/* =========================================================
   NOVbit Studio — traditional hand-written CSS
   ========================================================= */

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: #15151f;
  color: #f1f0f7;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea { font-family: inherit; }

::selection { background: #e8d24c; color: #15151f; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #e8d24c;
  outline-offset: 3px;
  border-radius: 4px;
}

.hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- layout helpers ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { position: relative; padding: 100px 0; }
.section-border { border-top: 1px solid #2c2c44; }

.accent { color: #e8d24c; }

.eyebrow {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  color: #e8d24c;
  font-size: 12px;
  margin-bottom: 12px;
}
.eyebrow--card { letter-spacing: 0.3em; margin-bottom: 16px; }

.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 56px;
}
.section-head--single { margin-bottom: 56px; }

.section-note {
  color: #9a9ac0;
  max-width: 360px;
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- background layers ---------- */
.bg-stars {
  position: fixed;
  inset: 0;
  z-index: -2;
}
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: linear-gradient(to bottom, #15151f, #1d1d2c, #15151f);
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: #e8d24c;
  z-index: 50;
}

/* ---------- header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  height: 50px; width: 50px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px #454567;
  transition: box-shadow .25s ease;
}
/* .brand:hover .brand-logo { box-shadow: 0 0 0 1px #e8d24cb3; } */

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 15px;
}
.brand-studio {
  display: none;
  color: #9a9ac0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 500;
  letter-spacing: 0.2em;
  font-size: 11px;
  text-transform: uppercase;
  margin-left: 4px;
}

.nav-toggle {
  display: block;
  color: #f1f0f7;
}
.nav-toggle:hover { color: #e8d24c; }

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 16px;
  color: #9a9ac0;
}

.nav-link { transition: color .25s ease; }
.nav-link:hover { color: #e8d24c; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(232, 210, 76, 0.5);
  color: #e8d24c;
  transition: background .25s ease, color .25s ease;
}
.nav-cta:hover { background: #e8d24c; color: #15151f; }

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 20px 20px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 15px;
  color: #9a9ac0;
  background: rgba(21, 21, 31, 0.92);
  backdrop-filter: blur(8px);
}
.mobile-menu .nav-link {
  padding: 14px 0;
  border-bottom: 1px solid rgba(69, 69, 103, 0.4);
}
.mobile-cta { color: #e8d24c; border-bottom: none !important; }

@media (min-width: 640px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
  .brand-studio { display: inline; }
  .mobile-menu { display: none !important; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 14px;
  font-weight: 600;
  transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn-primary {
  background: #e8d24c;
  color: #15151f;
}
.btn-primary:hover {
  background: #c2c2d6;
  box-shadow: 0 0 30px 4px rgba(232, 210, 76, 0.25);
}
.btn-outline {
  border: 1px solid #454567;
  color: #f1f0f7;
}
.btn-outline:hover { border-color: #e8d24c; color: #e8d24c; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 96px 20px 0;
  text-align: center;
}

.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  pointer-events: none;
}
.orbit-ring--a {
  width: 140vw;
  max-width: 1600px;
  aspect-ratio: 3 / 1;
  border: 1px solid rgba(194, 194, 214, 0.25);
  transform: translate(-50%, -50%) rotate(-18deg);
  animation: orbit-spin 60s linear infinite;
}
.orbit-ring--b {
  width: 100vw;
  max-width: 1100px;
  aspect-ratio: 2.4 / 1;
  border: 1px solid rgba(232, 210, 76, 0.15);
  transform: translate(-50%, -50%) rotate(14deg);
  animation: orbit-spin-rev 90s linear infinite;
}
@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(-18deg); }
  to   { transform: translate(-50%, -50%) rotate(342deg); }
}
@keyframes orbit-spin-rev {
  from { transform: translate(-50%, -50%) rotate(14deg); }
  to   { transform: translate(-50%, -50%) rotate(-346deg); }
}

.hero-content { position: relative; z-index: 1; max-width: 880px; }

.hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.01em;
  font-size: clamp(2.6rem, 10vw, 5.5rem);
}
.hero-title-sub {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: #9a9ac0;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  margin-top: 18px;
}

.hero-sub {
  color: #9a9ac0;
  max-width: 560px;
  margin: 28px auto 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(154, 154, 192, 0.6);
}
.scroll-cue-label {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 10px;
}
.scroll-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #e8d24c;
  animation: scroll-bob 1.6s ease-in-out infinite;
}
@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(10px); opacity: 1; }
}

/* ---------- scroll reveal: bubble pop-out ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.7s cubic-bezier(.2,.9,.25,1.3), transform 0.7s cubic-bezier(.2,.9,.25,1.3);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.pop-card {
  opacity: 0;
  transform: translateY(22px) scale(0.85);
  transition: opacity 0.55s cubic-bezier(.34,1.56,.64,1), transform 0.55s cubic-bezier(.34,1.56,.64,1);
}
.pop-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---------- pod card ---------- */
.pod-card {
  background: linear-gradient(165deg, #262638 0%, #1d1d2c 100%);
  border: 1px solid #383852;
  border-radius: 1.75rem;
  transition: border-color .35s ease, box-shadow .35s ease;
}
.pod-card:hover {
  border-color: rgba(232, 210, 76, 0.33);
  box-shadow: 0 18px 40px -20px rgba(232, 210, 76, 0.18);
}
.pod-card--list { padding: 40px; }

.check-list { display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: rgba(241, 240, 247, 0.9); }

.dot {
  margin-top: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #e8d24c;
  flex-shrink: 0;
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
.about-text {
  color: #9a9ac0;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(69, 69, 103, 0.4);
}
.stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: #e8d24c;
}
.stat-label {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: #9a9ac0;
  margin-top: 4px;
}

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

/* ---------- work grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
}

.work-card {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  background: #1d1d2c;
  border: 1px solid #383852;
  transition: transform .4s cubic-bezier(.2,.9,.25,1.1), border-color .35s ease, box-shadow .35s ease;
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 210, 76, 0.4);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.6);
}
.work-card .media-wrap {
  aspect-ratio: 4 / 3;
  background: #15151f;
  overflow: hidden;
}
.work-card img, .work-card video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.work-card:hover img, .work-card:hover video { transform: scale(1.06); }

.work-card-body { padding: 20px; }
.work-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.work-card-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
.work-card-client { color: #9a9ac0; font-size: 14px; }

.tag-chip {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(232, 210, 76, 0.33);
  color: #e8d24c;
  background: rgba(232,210,76,0.08);
  white-space: nowrap;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 9999;
  padding: 24px;

  opacity: 0;
  animation: fadeIn 0.25s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.lightbox-inner {
  max-width: 92vw;
  max-height: 90vh;

  animation: contentFade 0.25s ease;
}

@keyframes contentFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox img,
.lightbox video {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 14px;
}
.empty-state { color: #9a9ac0; font-size: 14px; grid-column: 1 / -1; }

/* ---------- members ---------- */
.members-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .members-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .members-grid { grid-template-columns: repeat(4, 1fr); }
}

.member-card {
  border-radius: 1.75rem;
  background: linear-gradient(165deg, #262638 0%, #1d1d2c 100%);
  border: 1px solid #383852;
  padding: 28px 24px;
  text-align: center;
  transition: transform .4s ease, border-color .35s ease;
}
.member-card:hover { transform: translateY(-5px); border-color: rgba(232, 210, 76, 0.33); }
.member-patch {
  width: 84px; height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: #e8d24c;
  background: #15151f;
  border: 2px dashed rgba(232, 210, 76, 0.33);
  overflow: hidden;
}

.member-patch.member-patch-image-true {
  border: none;
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.member-initials { line-height: 1; }
.member-name { font-family: "Space Grotesk", sans-serif; font-weight: 600; }
.member-role {
  color: #9a9ac0;
  font-size: 12px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}

.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card { padding: 26px; }
.contact-card--lead {
  display: flex;
  align-items: center;
  gap: 20px;
}

.avatar {
  height: 56px; width: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #34344c;
  box-shadow: 0 0 0 1px #454567;
  display: flex; align-items: center; justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  color: #e8d24c;
  font-size: 1.1rem;
  overflow: hidden;
}
.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.avatar-initials { line-height: 1; }

.contact-card-body { min-width: 0; }
.contact-name { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.1rem; }
.contact-role {
  color: #9a9ac0;
  font-size: 11px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 4px 0 10px;
}
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e8d24c;
  font-size: 14px;
  transition: color .25s ease;
}
.whatsapp-link:hover { color: #c2c2d6; }

.contact-label {
  color: #9a9ac0;
  font-size: 11px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.contact-value-link {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  word-break: break-all;
  transition: color .25s ease;
}
.contact-value-link:hover { color: #e8d24c; }
.contact-value { font-family: "Space Grotesk", sans-serif; font-size: 1.1rem; }
.contact-sub { color: #9a9ac0; font-size: 14px; margin-top: 4px; }

.form-card { padding: 28px; }
@media (min-width: 640px) { .form-card { padding: 36px; } }

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.field-label {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  color: #9a9ac0;
  margin-bottom: 8px;
}
.field-label-note { color: rgba(154, 154, 192, 0.7); text-transform: none; font-family: "Inter", sans-serif; letter-spacing: normal; }

.field-input {
  width: 100%;
  background: #15151f;
  border: 1px solid #454567;
  border-radius: 0.9rem;
  padding: 12px 16px;
  color: #f1f0f7;
  font-size: 15px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field-textarea { resize: none; }
.field-input::placeholder { color: #6c6c92; }
.field-input:focus {
  outline: none;
  border-color: #e8d24c;
  box-shadow: 0 0 0 3px rgba(232,210,76,0.15);
}
.field.has-error .field-input { border-color: #e0716c; }
.field-error {
  min-height: 1.1em;
  font-size: 12.5px;
  color: #e0716c;
  margin-top: 6px;
}

.form-submit { align-self: flex-start; }
.form-status { font-size: 14px; min-height: 1.2em; }
.status-error { color: #e0716c; }
.status-ok { color: #e8d24c; }

/* ---------- footer ---------- */
.footer { padding: 40px 0; border-top: 1px solid #2c2c44; }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: #9a9ac0;
}
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; }
}

/* ---------- skeleton shimmer for lazy media ---------- */
.skeleton {
  background: linear-gradient(100deg, #1d1d2c 30%, #2a2a40 50%, #1d1d2c 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.credit-link {
  color: #e8d24c;
  transition: color .25s ease;
}
.credit-link:hover { color: #c2c2d6; }