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

:root {
  --red: #C41230;
  --red2: #a00e26;
  --dark: #0a0a0e;
  --dark2: #111116;
  --dark3: #18181f;
  --surface: #1e1e28;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f0ede8;
  --muted: #8a8790;
  --font-h: 'Rajdhani', sans-serif;
  --font-b: 'Open Sans', sans-serif;
}

html {
  scroll-behavior: smooth
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-b);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden
}

.philo-big-text {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  word-break: break-word;
}

#philo-big1 {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .philo-big-text {
    font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  }
}

@media (max-width: 900px) {
  .philo-big-text {
    font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  }
}

@media (max-width: 760px) {
  .philo-big-text {
    font-size: clamp(1.6rem, 4.8vw, 2.8rem);
    line-height: 1.1;
  }
  #philo-big1 {
    white-space: normal;
  }
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 80px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s
}

@media(max-width:768px) {
  nav {
    padding: 0 1.2rem;
    height: 70px;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none
}

.nav-logo-box {
  width: 34px;
  height: 34px;
  background: var(--red);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  position: relative
}

.nav-logo-box::after {
  content: '🐱';
  font-size: .65rem;
  position: absolute;
  top: -5px;
  right: -5px
}

.nav-logo-text {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .05em;
  color: var(--dark)
}

.nav-logo-text span {
  color: var(--red)
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media(max-width:768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 2rem;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    pointer-events: none;
    z-index: 199;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: all;
  }

  .nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered delays set via JS or CSS */
  .nav-links.active li:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-links.active li:nth-child(2) {
    transition-delay: 0.15s;
  }

  .nav-links.active li:nth-child(3) {
    transition-delay: 0.2s;
  }

  .nav-links.active li:nth-child(4) {
    transition-delay: 0.25s;
  }

  .nav-links.active li:nth-child(5) {
    transition-delay: 0.3s;
  }

  .nav-links.active li:nth-child(6) {
    transition-delay: 0.35s;
  }

  .nav-links.active li:nth-child(7) {
    transition-delay: 0.4s;
  }

  .nav-links.active li:nth-child(8) {
    transition-delay: 0.45s;
  }
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  padding: .5rem 1rem;
  transition: all .2s;
  font-weight: 600;
  font-family: var(--font-h)
}

@media(max-width:768px) {
  .nav-links a {
    font-size: 1.8rem;
    padding: 0.5rem 0;
    width: auto;
    border-bottom: none;
    color: #fff;
    font-weight: 700;
  }

  .nav-cta {
    margin-top: 2rem;
  }

  .nav-cta a {
    font-size: 1rem !important;
    padding: 0.8rem 2rem !important;
  }
}

.nav-links a:hover {
  color: var(--red) !important
}

.nav-cta a {
  background: var(--red) !important;
  color: #fff !important;
  border-radius: 2px;
  padding: .4rem 1.1rem !important;
  font-weight: 600 !important;
  transition: background .2s !important
}

.nav-cta a:hover {
  background: var(--red2) !important
}

/* NAV TOGGLE */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 6px;
  z-index: 201;
}

@media(max-width:768px) {
  .nav-toggle {
    display: flex;
  }
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.nav-toggle.active span {
  background: #fff;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* HERO */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 100px 3rem 5rem
}

@media(max-width:768px) {
  .hero {
    padding: 100px 1.2rem 3rem;
  }
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.25
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 55% 65% at 72% 50%, rgba(196, 18, 48, 0.13) 0%, transparent 70%)
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 50%, black 0%, transparent 75%)
}

.hero-process {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
  max-width: 400px;
  pointer-events: none;
  will-change: transform, opacity, filter;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out, filter 0.1s ease-out
}

@media(max-width:1100px) {
  .hero-process {
    position: relative;
    right: auto;
    top: auto;
    transform: none !important;
    /* Disable JS parallax on small screens */
    margin-top: 4rem;
    max-width: 100%;
    opacity: 1 !important;
    filter: none !important;
  }

  .process-card {
    transform: translateX(0);
    opacity: 1;
    animation: none;
    background: rgba(30, 30, 40, 0.6);
  }
}

@media(max-width:768px) {
  .hero-process {
    display: none !important;
  }
}

.process-header {
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeInHero 1s forwards 0.8s
}

.process-icon-box {
  width: 42px;
  height: 42px;
  background: rgba(196, 18, 48, 0.08);
  border: 1px solid rgba(196, 18, 48, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 1.2rem;
  font-size: 1.2rem
}

.process-title {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 0.2rem
}

.process-sub {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em
}

.process-card {
  background: rgba(30, 30, 40, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s;
  opacity: 0;
  transform: translateX(30px);
  animation: slideInProcess 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards
}

.process-card:hover {
  border-color: rgba(196, 18, 48, 0.3);
  background: rgba(30, 30, 40, 0.6)
}

@keyframes slideInProcess {
  to {
    opacity: 1;
    transform: translateX(0)
  }
}

.process-card:nth-child(2) {
  animation-delay: 1.2s
}

.process-card:nth-child(3) {
  animation-delay: 1.4s
}

.process-card:nth-child(5) {
  animation-delay: 1.6s
}

/* nth-child 4 is the separator */
.process-card:nth-child(6) {
  animation-delay: 1.8s
}

.pc-left {
  display: flex;
  align-items: center;
  gap: 1rem
}

.pc-flag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  width: 24px
}

.pc-text {
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text)
}

.pc-text span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: 0.3rem
}

.proc-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin-top: 1.5rem;
  overflow: hidden;
  position: relative;
  width: 100%
}

.proc-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--red2) 0%, var(--red) 100%);
  width: 0%;
  transition: width 0.3s ease-out;
  box-shadow: 0 0 12px rgba(196, 18, 48, 0.6)
}

.pc-status {
  transition: all 0.4s ease;
  min-width: 65px;
  text-align: right
}

.process-card.active {
  border-color: rgba(196, 18, 48, 0.4);
  background: rgba(196, 18, 48, 0.05)
}

.process-sep {
  height: 1px;
  background: linear-gradient(90deg, var(--red) 0%, transparent 100%);
  margin: 0.5rem 0;
  opacity: 0.4;
  animation: fadeInHero 1.5s forwards 1.5s
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px
}


@keyframes fadeInWord {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.anim-word {
  display: inline-block;
  opacity: 0;
  animation: fadeInWord 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeInHero {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.anim-hero {
  opacity: 0;
  animation: fadeInHero 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-title {
  font-family: var(--font-h);
  font-size: clamp(2.2rem, 9vw, 5.8rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -.02em;
  margin-bottom: 2rem
}

.hero-title .acc {
  color: var(--red)
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 3.5rem;
  line-height: 1.7
}

@media(max-width:768px) {
  .hero-sub {
    font-size: 1.05rem;
  }
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap
}

.btn-red {
  background: var(--red);
  color: #fff;
  padding: .75rem 1.8rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
  font-size: .83rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .2s;
  font-family: var(--font-h);
  display: inline-block
}

.btn-red:hover {
  background: var(--red2)
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--muted);
  padding: .75rem 1.8rem;
  border-radius: 2px;
  text-decoration: none;
  font-size: .83rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all .2s;
  font-family: var(--font-h);
  display: inline-block
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, .45);
  color: var(--text)
}

/* TRUSTED BAR */
.trusted {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.6rem 3rem
}

@media(max-width:768px) {
  .trusted {
    padding: 1.6rem 1.2rem;
  }
}

.trusted-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap
}

@media(max-width:768px) {
  .trusted-inner {
    gap: 1.2rem;
  }

  .t-label {
    padding-right: 1.2rem !important;
  }
}

.t-label {
  font-size: .63rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 600;
  padding-right: 2rem;
  border-right: 1px solid var(--border)
}

.t-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  flex: 1
}

.tlog {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, 0.22);
  text-transform: uppercase;
  transition: color .2s;
  cursor: default
}

.tlog:hover {
  color: rgba(255, 255, 255, .55)
}

/* SECTION COMMONS */
section {
  padding: 5rem 3rem
}

@media(max-width:768px) {
  section {
    padding: 4rem 1.2rem;
  }
}

.mx {
  max-width: 1200px;
  margin: 0 auto
}

.s-lbl {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .55rem
}

.s-lbl::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--red);
  display: block
}

.s-title {
  font-family: var(--font-h);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.1
}

.s-desc {
  color: var(--muted);
  max-width: 500px;
  margin-top: .7rem;
  font-size: .9rem
}

.center .s-lbl {
  justify-content: center
}

.center .s-lbl::before {
  display: none
}

.center {
  text-align: center
}

.center .s-desc {
  margin: 0.7rem auto 0
}

/* SERVICES */
.svc-bg {
  background: var(--dark2)
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem
}

@media(max-width:900px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:500px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
}

.svc-card {
  background: var(--dark3);
  padding: 2rem 1.5rem;
  transition: background .2s;
  display: flex;
  flex-direction: column;
  gap: .7rem
}

.svc-card:hover {
  background: var(--surface)
}

.svc-ico {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: rgba(196, 18, 48, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: .4rem
}

.svc-name {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: .02em
}

.svc-txt {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.75;
  flex: 1
}

.svc-lnk {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-h);
  margin-top: .4rem;
  transition: gap .2s
}

.svc-lnk:hover {
  gap: .6rem
}

.svc-lnk::after {
  content: '→'
}

/* PROJECTS CAROUSEL */
.proj-carousel {
  width: 100%;
  overflow: hidden;
  margin-top: 3.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.proj-carousel::before,
.proj-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15rem;
  z-index: 10;
  pointer-events: none;
}

.proj-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--dark) 0%, transparent 100%);
}

.proj-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--dark) 0%, transparent 100%);
}

.proj-row {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 0.5rem 0;
  will-change: transform;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.proj-row.is-dragging {
  cursor: grabbing;
}

.proj-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  width: 280px;
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
  border: 1px solid var(--border);
  cursor: pointer;
  background: var(--dark3);
  padding: 0.8rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
  pointer-events: auto;
}

.proj-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--red);
  box-shadow: 0 15px 45px rgba(0,0,0,0.4);
  z-index: 100;
}

.proj-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}

.proj-card:hover img {
  transform: scale(1.08);
}

.p-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 14, .95) 0%, rgba(10, 10, 14, .3) 60%, transparent 100%);
  opacity: .5;
  transition: opacity .3s
}

.proj-card:hover .p-overlay {
  opacity: 0.8;
}

@media(max-width:768px) {
  .proj-carousel {
    gap: 1rem;
  }

  .p-overlay {
    opacity: 0.75;
  }

  .p-info {
    padding: 1rem;
  }

  .p-name {
    font-size: 1rem;
  }

  .proj-card {
    width: 200px;
  }
  
  .proj-carousel::before,
  .proj-carousel::after {
    width: 5rem;
  }
}

.p-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 5;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.proj-card:hover .p-info {
  opacity: 1;
  transform: translateY(0);
}

.p-studio {
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: .3rem;
}

.p-name {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

/* REDUNDANT ELEMENTS REMOVED */
.p-type, .p-badge {
  display: none !important;
}

/* ABOUT */
.ab-bg {
  background: var(--dark2)
}

.ab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start
}

@media(max-width:800px) {
  .ab-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }
}

.ab-pts {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  margin-top: 2rem
}

.ab-pt {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--border)
}

.ab-pt:last-child {
  border-bottom: none;
  padding-bottom: 0
}

.ab-num {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
  opacity: .45;
  min-width: 1.8rem;
  line-height: 1;
  padding-top: .1rem
}

.ab-t {
  font-family: var(--font-h);
  font-size: .98rem;
  font-weight: 600;
  margin-bottom: .25rem
}

.ab-d {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.75
}

.ab-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border)
}

@media(max-width:400px) {
  .ab-stats {
    grid-template-columns: 1fr;
  }
}

.ast {
  background: var(--dark3);
  padding: 1.8rem 1.4rem;
  text-align: center
}

.ast-n {
  font-family: var(--font-h);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em
}

.ast-n span {
  color: var(--red)
}

.ast-l {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .35rem
}

.tags-wrap {
  margin-top: 1px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-top: none;
  padding: 1.5rem 1.4rem
}

.tags-lbl {
  font-size: .64rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .8rem;
  font-weight: 600
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem
}

.tag {
  font-size: .7rem;
  padding: .18rem .55rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--muted)
}

/* MARQUEE */
.mq-bg {
  background: var(--dark2);
  overflow: hidden;
  padding: 2.8rem 0
}

.mq-lbl {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600
}

.mq-lbl::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--red);
  display: block
}

.mq-wrap {
  overflow: hidden;
  position: relative
}

.mq-wrap::before,
.mq-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2
}

.mq-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--dark2), transparent)
}

.mq-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--dark2), transparent)
}

.mq-track {
  display: flex;
  gap: 2.5rem;
  animation: mq 28s linear infinite;
  width: max-content
}

.mq-track:hover {
  animation-play-state: paused
}

@keyframes mq {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

.mq-item {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  padding: .4rem 0;
  cursor: default;
  transition: color .2s
}

.mq-item:hover {
  color: rgba(255, 255, 255, .45)
}

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem
}

@media(max-width:750px) {
  .team-grid {
    grid-template-columns: 1fr
  }
}

.team-card {
  background: var(--dark3);
  padding: 2.4rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: background .2s
}

.team-card:hover {
  background: var(--surface)
}

.team-photo {
  width: min(50%, 240px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1rem;
  margin: 0 auto 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media(max-width:768px) {
  .team-card {
    padding: 1.8rem 1.4rem;
  }
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s
}

.team-card:hover::before {
  transform: scaleX(1)
}

.team-ini {
  width: 50px;
  height: 50px;
  border-radius: 3px;
  background: rgba(196, 18, 48, 0.18);
  border: 1px solid rgba(196, 18, 48, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--red);
  margin-bottom: 1.1rem;
  letter-spacing: .05em
}

.team-name {
  font-family: var(--font-h);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: .15rem
}

.team-role {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: .9rem
}

.team-bio {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.8
}

/* WORK FORMATS */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem
}

@media(max-width:800px) {
  .work-grid {
    grid-template-columns: 1fr
  }
}

.work-card {
  background: var(--dark3);
  padding: 2.5rem 2.2rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: background .2s;
  position: relative
}

.work-card:hover {
  background: var(--surface)
}

.work-card.w-highlight {
  border-color: var(--red)
}

.w-title {
  font-family: var(--font-h);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .2rem;
  letter-spacing: .02em
}

.w-desc {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.6;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.2rem
}

.w-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-bottom: 1rem;
  flex: 1
}

.w-features li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--text)
}

.w-check {
  color: var(--red);
  font-weight: 700
}

.w-badge {
  position: absolute;
  top: -.7rem;
  right: 2rem;
  background: var(--red);
  color: #fff;
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: 2px;
  font-weight: 700
}

/* CTA */
.cta {
  background: var(--red);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, .25) 0%, transparent 60%)
}

.cta-in {
  position: relative;
  z-index: 1
}

.cta-title {
  font-family: var(--font-h);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: .7rem
}

.cta-sub {
  font-size: .93rem;
  opacity: .82;
  margin-bottom: 2rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto
}

.btn-white {
  background: #fff;
  color: var(--red);
  padding: .8rem 2.1rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--font-h);
  transition: opacity .2s;
  display: inline-block
}

.btn-white:hover {
  opacity: .9
}

/* FOOTER */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 3rem 3rem 2rem
}

.ft-in {
  max-width: 1200px;
  margin: 0 auto
}

.ft-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border)
}

@media(max-width:800px) {
  .ft-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem
  }
}

@media(max-width:500px) {
  .ft-top {
    grid-template-columns: 1fr;
  }
}

.ft-brand {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: .05em;
  margin-bottom: .7rem
}

.ft-brand span {
  color: var(--red)
}

.ft-desc {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 270px;
  margin-bottom: 1rem
}

.ft-email a {
  font-size: .82rem;
  color: var(--red);
  text-decoration: none;
  font-weight: 500
}

.ft-col-t {
  font-size: .63rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: .9rem
}

.ft-col ul {
  list-style: none
}

.ft-col ul li {
  margin-bottom: .45rem
}

.ft-col ul li a {
  font-size: .8rem;
  color: rgba(255, 255, 255, .35);
  text-decoration: none;
  transition: color .2s
}

.ft-col ul li a:hover {
  color: var(--text)
}

.ft-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem
}

.ft-copy {
  font-size: .7rem;
  color: rgba(255, 255, 255, .18);
  letter-spacing: .05em
}

.ft-mini {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: .95rem;
  color: rgba(255, 255, 255, .12)
}

.ft-mini span {
  color: rgba(196, 18, 48, .3)
}

#work-desc {
  max-width: none;
  width: 100%;
}
@media(min-width: 768px) {
  #work-desc {
    font-size: 0.8rem;
    white-space: nowrap;
  }
}
@media(max-width: 767px) {
  #work-desc {
    font-size: 0.75rem;
  }
}