/* ============ SMM Capital — obsidian & gold ============ */

:root {
  --ink: #06070b;
  --ink-2: #0b0d13;
  --ink-3: #11141c;
  --line: rgba(242, 240, 235, 0.09);
  --gold: #c9a24b;
  --gold-hi: #e8c97a;
  --text: #f2f0eb;
  --muted: #a7abb4;
  --pad: clamp(20px, 5vw, 72px);
  --font-display: "Raleway", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

section {
  scroll-margin-top: 84px;
}

/* ---------- type ---------- */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 5.2vw, 4rem);
  letter-spacing: 0.01em;
}
h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
}
h3 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.72rem, 1.4vw, 0.85rem);
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--gold-hi);
  margin-bottom: 26px;
}

/* ---------- skip link ---------- */

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition:
    background 0.35s,
    border-color 0.35s,
    backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 7, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
}
.nav-logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
}
.nav-links > a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 2px;
  transition: color 0.25s;
}
.nav-links > a:hover,
.nav-links > a:focus-visible {
  color: var(--gold-hi);
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-socials a {
  color: var(--muted);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition:
    color 0.25s,
    background 0.25s;
}
.nav-socials a:hover,
.nav-socials a:focus-visible {
  color: var(--gold-hi);
  background: rgba(201, 162, 75, 0.08);
}
.nav-socials svg {
  width: 19px;
  height: 19px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 46px;
  height: 46px;
  padding: 0 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-burger.open span:first-child {
  transform: translateY(4.2px) rotate(45deg);
}
.nav-burger.open span:last-child {
  transform: translateY(-4.2px) rotate(-45deg);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 32px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
  cursor: pointer;
}
.btn:active {
  transform: scale(0.97);
}

.btn-gold {
  background: linear-gradient(
    120deg,
    var(--gold) 0%,
    var(--gold-hi) 55%,
    var(--gold) 100%
  );
  background-size: 200% 100%;
  color: #14100a;
}
.btn-gold:hover,
.btn-gold:focus-visible {
  background-position: 100% 0;
  box-shadow: 0 6px 32px rgba(201, 162, 75, 0.35);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(242, 240, 235, 0.28);
  text-transform: none;
  letter-spacing: 0.08em;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold-hi);
  transform: translateY(-2px);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: -6% 0;
  z-index: 0;
  will-change: transform;
}
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(6, 7, 11, 0.88) 0%,
      rgba(6, 7, 11, 0.55) 42%,
      rgba(6, 7, 11, 0.1) 75%
    ),
    linear-gradient(0deg, var(--ink) 0%, transparent 22%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 120px var(--pad) 90px;
}
.hero-content h1 {
  max-width: 15ch;
}
.hero-sub {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  margin-top: 24px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 56px;
  background: rgba(242, 240, 235, 0.18);
  overflow: hidden;
}
.hero-scroll span {
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--gold);
  animation: scrollhint 2.4s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}
@keyframes scrollhint {
  0% {
    top: -40%;
  }
  70%,
  100% {
    top: 110%;
  }
}

/* ---------- stats ---------- */

.stats {
  border-block: 1px solid var(--line);
  background: var(--ink-2);
}
.stats-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: clamp(30px, 4vw, 52px) 20px;
  text-align: center;
}
.stat + .stat {
  border-left: 1px solid var(--line);
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  color: var(--gold-hi);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}

/* ---------- sections ---------- */

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(76px, 10vw, 140px) var(--pad);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-sub {
  color: var(--muted);
  margin-top: 18px;
}

/* ---------- mission ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.split-text p {
  color: var(--muted);
  margin-top: 20px;
  max-width: 56ch;
}
.split-text h2 {
  margin-top: 4px;
}

.checks {
  list-style: none;
  margin: 26px 0 34px;
  display: grid;
  gap: 12px;
}
.checks li {
  position: relative;
  padding-left: 30px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 14px;
  height: 1.5px;
  background: var(--gold);
}

.split-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  pointer-events: none;
}
.split-media img {
  width: 100%;
  height: auto;
}

/* ---------- portfolio ---------- */

.logo-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.logo-grid li {
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 26px 30px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition:
    transform 0.3s,
    border-color 0.3s,
    background 0.3s;
}
.logo-grid li:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 75, 0.35);
  background: var(--ink-3);
}
.logo-grid img {
  max-height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.logo-grid li:hover img {
  opacity: 1;
}

/* ---------- services ---------- */

.services-banner {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.services-banner img {
  width: 100%;
  height: auto;
}
.services-banner figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(24px, 5vw, 56px);
  background: linear-gradient(0deg, rgba(6, 7, 11, 0.92) 0%, transparent 100%);
}
.services-banner .label {
  margin-bottom: 10px;
}

.services-intro {
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.card {
  padding: 34px 28px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 75, 0.35);
}
.card svg {
  width: 30px;
  height: 30px;
  color: var(--gold);
  margin-bottom: 20px;
}
.card h3 {
  margin-bottom: 12px;
}
.card p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  /* max-width: 620px; */
}
.member {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 28px;
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.member:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 75, 0.35);
}
.member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  max-height: 420px;
}
.member h3 {
  margin-top: 22px;
  text-transform: capitalize;
  letter-spacing: 0.08em;
}
.member > p {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 500;
}
.member-socials {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.member-socials a {
  color: var(--muted);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition:
    color 0.25s,
    background 0.25s;
}
.member-socials a:hover,
.member-socials a:focus-visible {
  color: var(--gold-hi);
  background: rgba(201, 162, 75, 0.08);
}
.member-socials svg {
  width: 19px;
  height: 19px;
}

/* ---------- cta ---------- */

.cta {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(6, 7, 11, 0.45) 0%,
    rgba(6, 7, 11, 0.28) 55%,
    rgba(6, 7, 11, 0.72) 100%
  );
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(100px, 14vw, 190px) var(--pad);
  text-align: center;
}
.cta-content p:not(.label) {
  color: var(--text);
  opacity: 0.85;
  margin-top: 20px;
  max-width: 52ch;
  margin-inline: auto;
}
.cta-content .hero-actions {
  justify-content: center;
}

/* ---------- footer ---------- */

.footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 70px) var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}
.footer-inner > img {
  height: 44px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
}
.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 4px;
  transition: color 0.25s;
}
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--gold-hi);
}
.footer-copy {
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- reveal animations ---------- */

.reveal,
.reveal-img {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.6, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal-img {
  transform: translateY(0) scale(0.975);
}
.reveal.in,
.reveal-img.in {
  opacity: 1;
  transform: none;
}
.d1 {
  transition-delay: 0.12s;
}
.d2 {
  transition-delay: 0.24s;
}
.d3 {
  transition-delay: 0.36s;
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    background: rgba(6, 7, 11, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.35s,
      visibility 0.35s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    height: 100vh;
    background: rgba(6, 7, 11, 1);
  }
  .nav-links > a {
    font-size: 1.15rem;
    padding: 12px;
  }
  .nav-links .nav-socials {
    margin-top: 18px;
  }
  .nav-burger {
    display: flex;
  }

  .split {
    grid-template-columns: 1fr;
  }
  .split-media {
    order: -1;
    max-width: 440px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    /* max-width: 210px; */
    margin-inline: auto;
  }
  .stats-inner {
    grid-template-columns: 1fr;
  }
  .stat + .stat {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .hero-media video {
    object-position: 74% center;
  }
  .hero-shade {
    background: linear-gradient(
      0deg,
      var(--ink) 0%,
      rgba(6, 7, 11, 0.55) 30%,
      rgba(6, 7, 11, 0.45) 100%
    );
  }
}

@media (max-width: 560px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .services-banner figcaption h2 {
    font-size: 1.3rem;
  }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .reveal-img {
    opacity: 1;
    transform: none;
  }
  .hero-scroll {
    display: none;
  }
}
