
:root {
  --bg: #090909;
  --surface: #111111;
  --white: #f5f5f2;
  --muted: #858585;
  --line: #292929;
  --accent: #d8ff35;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

button, input, textarea, select {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

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

.dot {
  color: var(--accent);
}

/* LOADER */

.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  font: 700 45px 'Space Grotesk';
  transition: opacity .6s, visibility .6s;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

.load-line {
  width: 90px;
  height: 2px;
  background: var(--accent);
  animation: loading 1s infinite alternate;
}

@keyframes loading {
  to { transform: scaleX(.15); }
}

/* NAVIGATION */

.navbar {
  height: 85px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,9,9,.94);
  backdrop-filter: blur(18px);
}

.logo {
  font: 700 29px 'Space Grotesk';
  letter-spacing: -2px;
}

.logo span {
  color: var(--accent);
  font-size: 12px;
  vertical-align: top;
}

.navbar nav {
  display: flex;
  gap: 25px;
}

.navbar nav a {
  color: #aaa;
  font-size: 12px;
  transition: .3s;
}

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

.nav-btn {
  padding: 12px 21px;
  border: 1px solid #555;
  border-radius: 30px;
  font-size: 12px;
  transition: .3s;
}

.nav-btn:hover {
  background: var(--accent);
  color: #090909;
  border-color: var(--accent);
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 25px;
  cursor: pointer;
}

/* HERO */

.hero {
  min-height: 690px;
  padding: 75px 10% 65px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2px;
}

.hero h1 {
  font: 700 clamp(65px, 13vw, 155px)/.86 'Space Grotesk';
  letter-spacing: -9px;
  margin-top: 90px;
  animation: heroEnter 1s both;
}

.outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--white);
  transition: .4s;
}

.hero h1:hover .outline {
  color: var(--accent);
  -webkit-text-stroke-color: var(--accent);
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(45px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 65px;
}

.hero-bottom p {
  max-width: 350px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
}

.circle-btn {
  width: 110px;
  height: 110px;
  border: 1px solid #555;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 10px;
  line-height: 1.7;
  transition: .4s;
}

.circle-btn:hover {
  background: var(--accent);
  color: #090909;
  transform: rotate(-15deg);
}

.hero-index {
  position: absolute;
  right: 7%;
  top: 48%;
  color: var(--muted);
  font-size: 11px;
}

/* COMMON */

.intro,
.services,
.work,
.process,
.global {
  padding: 120px 10%;
  border-top: 1px solid var(--line);
}

.eyebrow {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 2px;
}

.intro h2,
.services h2,
.work h2,
.process h2,
.global h2,
.contact h2 {
  font: 600 clamp(42px, 7vw, 85px)/1.05 'Space Grotesk';
  letter-spacing: -4px;
  margin: 55px 0 30px;
}

.intro h2 span,
.process h2 span,
.global h2 span,
.contact h2 span {
  color: var(--muted);
}

.intro p,
.global > p {
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity .8s, transform .8s;
}

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

/* SERVICES */

.services h2,
.work h2 {
  margin-bottom: 65px;
}

.service {
  width: 100%;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 30px 0;
  display: grid;
  grid-template-columns: 60px 1fr 30px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  transition: padding .3s;
}

.service:last-of-type {
  border-bottom: 1px solid var(--line);
}

.service > span:first-child {
  color: var(--muted);
  font-size: 12px;
}

.service strong {
  font: 500 clamp(22px, 4vw, 42px) 'Space Grotesk';
  transition: color .3s;
}

.service:hover strong,
.service.active strong {
  color: var(--accent);
}

.service:hover {
  padding-left: 12px;
}

.service-icon {
  font-size: 25px;
  text-align: right;
  color: var(--muted);
}

.service.active .service-icon {
  color: var(--accent);
  transform: rotate(45deg);
}

.service-detail {
  max-height: 0;
  overflow: hidden;
  padding: 0 60px;
  background: var(--surface);
  transition: max-height .4s, padding .4s;
}

.service-detail.open {
  max-height: 220px;
  padding: 22px 60px 26px;
}

.service-detail p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.8;
}

.service-detail span {
  display: block;
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 1.5px;
  margin-top: 15px;
}

/* PROJECTS */

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 25px;
}

.project:nth-child(3) {
  grid-column: 1 / -1;
}

.project-art {
  width: 100%;
  min-height: 310px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .35s;
}

.project-art:hover {
  transform: translateY(-7px);
}

.art-one {
  background: #c5c1b7;
  color: #171717;
}

.art-two {
  background: #b8b8b8;
  color: #171717;
}

.art-three {
  background: #393c39;
  color: #eee;
  min-height: 360px;
}

.art-label {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 10px;
  letter-spacing: 1px;
}

.art-center {
  text-align: center;
  font: 700 clamp(30px, 6vw, 65px)/.95 'Space Grotesk';
  letter-spacing: -3px;
  transition: transform .4s;
}

.art-center i {
  font-style: italic;
}

.project-art:hover .art-center {
  transform: scale(1.08);
}

.view-project {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 10px;
  opacity: 0;
  transition: .3s;
}

.project-art:hover .view-project {
  opacity: 1;
}

.project-info {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
}

.project-info h3 {
  font: 600 17px 'Space Grotesk';
}

.project-info span,
.demo-note {
  color: var(--muted);
  font-size: 11px;
}

.demo-note {
  margin-top: 35px;
}

/* PROCESS */

.process h2 {
  margin-bottom: 65px;
}

.process-list {
  border-top: 1px solid var(--line);
}

.process-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .3s;
}

.process-item:hover {
  padding-left: 12px;
}

.process-item > span {
  color: var(--accent);
  font-size: 12px;
}

.process-item h3 {
  font: 500 27px 'Space Grotesk';
  margin-bottom: 12px;
}

.process-item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  max-width: 500px;
}

/* GLOBAL REACH */

.global {
  background: #101010;
}

.global h2 {
  margin-bottom: 25px;
}

.global-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 55px;
}

.global-card {
  padding: 35px;
  border: 1px solid #333;
  transition: border-color .3s, transform .3s;
}

.global-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.global-card > span:first-child {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 1.5px;
}

.global-card h3 {
  font: 600 32px 'Space Grotesk';
  margin: 35px 0 15px;
}

.global-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  min-height: 70px;
}

.global-card > span:last-child {
  display: block;
  margin-top: 25px;
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 1px;
}

/* CONTACT */

.contact {
  padding: 120px 10%;
  border-top: 1px solid var(--line);
  background: #0b0b0b;
}

.contact h2 {
  font-size: clamp(55px, 10vw, 120px);
  margin: 50px 0 25px;
}

.contact-intro {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  max-width: 430px;
  margin-bottom: 35px;
}

#contactForm {
  max-width: 550px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

#contactForm label {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-top: 15px;
}

#contactForm input,
#contactForm textarea,
#contactForm select {
  width: 100%;
  padding: 17px;
  background: #181818;
  color: white;
  border: 1px solid #333;
  outline: none;
  border-radius: 3px;
}

#contactForm select {
  color-scheme: dark;
}

#contactForm input:focus,
#contactForm textarea:focus,
#contactForm select:focus {
  border-color: var(--accent);
}

#contactForm textarea {
  resize: vertical;
}

.contact-btn {
  align-self: flex-start;
  display: inline-block;
  padding: 17px 27px;
  margin-top: 15px;
  border: 1px solid #555;
  border-radius: 30px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  transition: .3s;
}

.contact-btn:hover {
  background: var(--accent);
  color: #090909;
  border-color: var(--accent);
}

.form-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

/* FOOTER */

footer {
  padding: 40px 7%;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

footer p,
footer > span {
  color: var(--muted);
  font-size: 11px;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 11px;
  color: var(--muted);
}

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

/* PROJECT MODAL */

.modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  padding: 50px 35px;
  background: #111;
  border: 1px solid #333;
  transform: translateY(25px);
  transition: .3s;
}

.modal.open .modal-panel {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  border: 1px solid #444;
  background: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
}

.modal-panel h2 {
  font: 700 clamp(38px, 8vw, 65px) 'Space Grotesk';
  margin: 35px 0 20px;
}

.modal-panel > p {
  color: #aaa;
  line-height: 1.9;
  font-size: 14px;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.modal-tags span {
  padding: 9px 13px;
  border: 1px solid #444;
  border-radius: 30px;
  color: var(--accent);
  font-size: 10px;
}

/* SCROLL PROGRESS */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  z-index: 9999;
}

/* CUSTOM CURSOR */

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width .2s, height .2s, opacity .2s;
}

.custom-cursor.active {
  width: 45px;
  height: 45px;
  background: rgba(216,255,53,.12);
}

/* MOBILE */

@media(max-width:850px) {
  .navbar {
    height: 75px;
    padding: 0 6%;
  }

  .navbar nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    padding: 30px 7%;
    background: #111;
    flex-direction: column;
    gap: 24px;
    border-bottom: 1px solid #333;
  }

  .navbar nav.open {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    padding: 65px 6%;
    min-height: 600px;
  }

  .hero h1 {
    margin-top: 100px;
    font-size: clamp(58px, 14vw, 100px);
    letter-spacing: -5px;
  }

  .hero-index {
    display: none;
  }

  .intro,
  .services,
  .work,
  .process,
  .global,
  .contact {
    padding: 85px 6%;
  }

  .projects {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .project:nth-child(3) {
    grid-column: auto;
  }

  .project-art,
  .art-three {
    min-height: 270px;
  }

  .service-detail {
    padding-left: 15px;
    padding-right: 15px;
  }

  .service-detail.open {
    padding: 20px 15px;
  }

  .global-cards {
    grid-template-columns: 1fr;
  }

  .global-card {
    padding: 25px;
  }

  footer {
    padding: 35px 6%;
  }
}

@media(max-width:480px) {
  .hero-top {
    font-size: 8px;
    gap: 10px;
  }

  .hero-top span:last-child {
    text-align: right;
  }

  .hero-bottom {
    margin-top: 50px;
    gap: 12px;
  }

  .hero-bottom p {
    font-size: 12px;
  }

  .circle-btn {
    width: 85px;
    height: 85px;
    flex-shrink: 0;
    font-size: 9px;
  }

  .intro h2,
  .services h2,
  .work h2,
  .process h2,
  .global h2,
  .contact h2 {
    letter-spacing: -2px;
  }

  .service {
    grid-template-columns: 40px 1fr 25px;
  }

  .service strong {
    font-size: 22px;
  }

  .process-item {
    grid-template-columns: 40px 1fr;
  }

  .process-item h3 {
    font-size: 23px;
  }

  .modal-panel {
    padding: 45px 22px 30px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* TOUCH DEVICES */

@media(hover: none) {
  .custom-cursor {
    display: none;
  }

  .view-project {
    opacity: 1;
  }
}

/* REDUCED MOTION */

@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
