:root {
  --bg: #0d0d0d;
  --surface: #141414;
  --surface2: #1c1c1c;
  --accent: #e8a020;
  --accent2: #c47a10;
  --text: #f0ece4;
  --muted: #7a7570;
  --border: #2a2824;
  --heading: 'Bebas Neue', sans-serif;
  --body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #000;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s;
}

nav.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--heading);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--accent);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  flex-shrink: 0;
}

/* .logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  /* keeps image proportions intact */
  /* flex-shrink: 0;
}  */

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--accent);
  color: #000;
  padding: 0.55rem 1.4rem;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--accent2);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 5% 8%;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(13, 13, 13, 0.3) 0%, rgba(13, 13, 13, 0.7) 60%, var(--bg) 100%),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80') center/cover no-repeat;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(232, 160, 32, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 160, 32, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232, 160, 32, 0.12);
  border: 1px solid rgba(232, 160, 32, 0.3);
  padding: 0.4rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  width: fit-content;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

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

  50% {
    opacity: 0.4;
    transform: scale(1.5);
  }
}

.hero h1 {
  position: relative;
  font-family: var(--heading);
  font-size: clamp(4rem, 11vw, 11rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--text);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s 0.5s forwards;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  position: relative;
  max-width: 480px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero-actions {
  position: relative;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 1s forwards;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 0.85rem 2.2rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 160, 32, 0.3);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 2.2rem;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-stats {
  position: absolute;
  right: 5%;
  bottom: 8%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: right;
  opacity: 0;
  transform: translateX(30px);
  animation: fadeLeft 0.8s 1.2s forwards;
}

.stat-num {
  font-family: var(--heading);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--accent);
}

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

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* TICKER */
.ticker {
  background: var(--accent);
  overflow: hidden;
  padding: 0.75rem 0;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem;
  font-family: var(--heading);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: #000;
  text-transform: uppercase;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* SECTION BASE */
section {
  padding: 7rem 5%;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--heading);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
}

.section-title em {
  font-style: normal;
  color: var(--accent);
}

/* ABOUT */
.about {
  background: var(--surface);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(20%);
  display: block;
}

.about-img-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 60%;
  aspect-ratio: 1;
  background: var(--accent);
  z-index: -1;
}

.about-img-label {
  position: absolute;
  top: 1.5rem;
  left: -1.5rem;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
}

.about-img-label .num {
  font-family: var(--heading);
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
}

.about-img-label .txt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-text .section-title {
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.feature-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(232, 160, 32, 0.1);
  border: 1px solid rgba(232, 160, 32, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
}

.feature-text h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.feature-text p {
  font-size: 0.78rem;
  color: var(--muted);
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  margin-top: 4rem;
}

.service-card {
  background: var(--surface);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

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

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

.service-num {
  font-family: var(--heading);
  font-size: 3.5rem;
  color: rgba(232, 160, 32, 0.12);
  line-height: 1;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  transition: color 0.3s;
}

.service-card:hover .service-num {
  color: rgba(232, 160, 32, 0.2);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  font-family: var(--heading);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.service-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 1.5rem;
  font-weight: 600;
  transition: gap 0.2s;
}

.service-link:hover {
  gap: 0.8rem;
}

/* PROJECTS */
.projects {
  background: var(--surface);
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.projects-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.45rem 1.1rem;
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 700;
}

.projects-masonry {
  columns: 3;
  column-gap: 1rem;
}

.project-card {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
  filter: brightness(0.85);
}

.project-card:hover .project-img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-tag {
  background: var(--accent);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  width: fit-content;
  margin-bottom: 0.5rem;
}

.project-card h3 {
  font-family: var(--heading);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.project-card p {
  font-size: 0.8rem;
  color: rgba(240, 236, 228, 0.7);
}

/* PROCESS */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 4rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.process-step {
  padding: 0 2rem 2rem;
  position: relative;
  text-align: center;
}

.step-circle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--heading);
  font-size: 1.2rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.process-step:hover .step-circle {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.process-step h4 {
  font-family: var(--heading);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.82rem;
  color: var(--muted);
}

/* TESTIMONIALS */
.testimonials {
  background: var(--surface);
  overflow: hidden;
}

.testimonials-track-wrap {
  overflow: hidden;
  margin-top: 3.5rem;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  animation: slideTrack 30s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes slideTrack {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  flex-shrink: 0;
  width: 420px;
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 2rem;
}

.stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

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

/* CONTACT */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.detail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  background: var(--surface);
}

.detail-text a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}

.detail-text span {
  font-size: 0.75rem;
  color: var(--muted);
  display: block;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.8rem 1rem;
  font-family: var(--body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group select {
  appearance: none;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

/* FOOTER */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4rem 5% 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.8rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* CURSOR */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, opacity 0.2s;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(232, 160, 32, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, width 0.3s, height 0.3s, opacity 0.2s;
}

.cursor.hidden,
.cursor-ring.hidden {
  opacity: 0;
}

/* MOBILE NAV */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.98);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: var(--heading);
  font-size: 3rem;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--accent);
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-img-wrap {
    max-width: 500px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .projects-masonry {
    columns: 2;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-stats {
    display: none;
  }

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

  .projects-masonry {
    columns: 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .cursor,
  .cursor-ring {
    display: none;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .about-features {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}