/* ============================================================
   Sus Creative Studio — Landing Page Styles
   Theme: Black background · White typography · Simple 2D
   ============================================================ */

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

:root {
  --black:      #000000;
  --near-black: #0a0a0a;
  --dark:       #111111;
  --mid:        #1a1a1a;
  --border:     #222222;
  --white:      #ffffff;
  --off-white:  #e8e8e8;
  --muted:      #888888;
  --accent:     #ffffff;

  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --container: 1160px;
  --section-gap: 120px;
  --radius: 2px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Layout Helpers ---------- */
.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-gap);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}

.nav.scrolled {
  background-color: rgba(0, 0, 0, 0.92);
  border-color: var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav__logo-text {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}

.nav__logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.nav__links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav__links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--white);
}

.nav__cta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--white);
  color: var(--white);
  transition: background-color 0.2s, color 0.2s;
}

.nav__cta:hover {
  background-color: var(--white);
  color: var(--black);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding-block: 120px 80px;
  position: relative;
  overflow: hidden;
}

/* Subtle grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 40%, var(--black) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.hero__logo-mark {
  width: 88px;
  height: 88px;
}

.hero__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__headline {
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 14ch;
}

.hero__headline em {
  font-style: normal;
  color: var(--muted);
}

.hero__sub {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 36px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary {
  background-color: var(--white);
  color: var(--black);
}

.btn--primary:hover {
  background-color: var(--off-white);
}

.btn--ghost {
  border-color: var(--border);
  color: var(--muted);
}

.btn--ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--muted), transparent);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  padding-block: 20px;
  background-color: var(--near-black);
}

.marquee__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-inline: 40px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee__item::after {
  content: '·';
  color: var(--border);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Services ---------- */
.services__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--muted);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}

.service-card {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  transition: background-color 0.2s;
}

.service-card:nth-child(3n) {
  border-right: none;
}

.service-card:hover {
  background-color: var(--mid);
}

.service-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 32px;
  color: var(--white);
}

.service-card__num {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 12px;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--white);
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Featured Work ---------- */
.work__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 2px;
}

.work-item {
  position: relative;
  aspect-ratio: 16/10;
  background-color: var(--mid);
  overflow: hidden;
  border: 1px solid var(--border);
}

.work-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

.work-item__bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
  display: grid;
  place-items: center;
}

.work-item:hover .work-item__bg {
  transform: scale(1.03);
}

.work-item__pattern {
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.work-item__info {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.work-item__cat {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.work-item__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

/* ---------- About / Stats ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__visual {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  background-color: var(--near-black);
}

.about__visual svg {
  width: 60%;
  height: 60%;
  opacity: 0.9;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about__text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  padding-top: 32px;
  gap: 16px;
}

.stat__num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat__label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Process ---------- */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 64px;
}

.process-step {
  padding: 48px 36px;
  border-right: 1px solid var(--border);
  position: relative;
}

.process-step:last-child {
  border-right: none;
}

.process-step__num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

.process-step__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.process-step__desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Testimonials ---------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
}

.testimonial {
  background-color: var(--near-black);
  border: 1px solid var(--border);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial__stars {
  display: flex;
  gap: 4px;
}

.testimonial__star {
  width: 12px;
  height: 12px;
  background-color: var(--white);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.testimonial__quote {
  font-size: 0.95rem;
  color: var(--off-white);
  line-height: 1.75;
  flex: 1;
}

.testimonial__author {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.testimonial__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}

.testimonial__role {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  border: 1px solid var(--border);
  padding: 80px;
  text-align: center;
  background-color: var(--near-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.cta-banner__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 18ch;
}

.cta-banner__sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 44ch;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 64px 40px;
  background-color: var(--near-black);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__brand-logo svg {
  width: 32px;
  height: 32px;
}

.footer__brand-name {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 30ch;
  line-height: 1.7;
}

.footer__col-title {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--muted);
}

.footer__social {
  display: flex;
  gap: 20px;
}

.footer__social a {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.footer__social a:hover {
  color: var(--white);
}

/* ---------- Mobile Nav Toggle ---------- */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background-color: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card:nth-child(2n) { border-right: none; }
  .service-card:nth-child(n+3) { border-top: 1px solid var(--border); }

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(3) {
    border-top: 1px solid var(--border);
  }
  .process-step:nth-child(4) {
    border-top: 1px solid var(--border);
    border-right: none;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about__visual {
    max-width: 360px;
    margin-inline: auto;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 80px;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }
  .service-card { border-right: none; }
  .service-card + .service-card { border-top: 1px solid var(--border); }

  .work__grid {
    grid-template-columns: 1fr;
  }
  .work-item:first-child {
    grid-column: span 1;
    aspect-ratio: 16/9;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .process__steps {
    grid-template-columns: 1fr;
  }
  .process-step {
    border-right: none;
  }
  .process-step + .process-step {
    border-top: 1px solid var(--border);
  }

  .cta-banner {
    padding: 48px 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__brand {
    grid-column: span 1;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .services__header,
  .work__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
