:root{
  --black:#000;
  --white:#fff;
  --red:#ff2a2a;
  --gray:#8a8a8a;
  --line:#1e1e1e;
}

::selection{
    background-color: var(--red);
    color: var(--white);
}

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

body{
  font-family:'Space Grotesk',sans-serif;
  background:var(--black);
  color:var(--white);
  overflow-x:hidden;
}

/* ===== ANIMATION ===== */
.reveal{
  opacity:0;
  transform:translateY(50px);
  transition:all .9s ease;
}
.reveal.active{
  opacity:1;
  transform:none;
}

/* ===== NAVBAR ===== */
header{
  position:fixed;
  top:0;
  width:100%;
  padding:20px 48px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:100;
  background:rgba(0,0,0,0.95);
  backdrop-filter: blur(6px);
  border-bottom:1px solid var(--line);
}

.logo{
  font-size:22px;
  font-weight:700;
}
.logo span{color:var(--red)}

nav{
  display:flex;
  align-items:center;
  gap:32px;
}

nav a{
  color:var(--white);
  text-decoration:none;
  font-size:14px;
  opacity:.7;
}
nav a:hover{opacity:1}

.login-btn{
  padding:10px 22px;
  border:1px solid var(--red);
  border-radius:40px;
  font-size:13px;
  text-decoration:none;
  color:var(--white);
}
.login-btn:hover{background:var(--red)}

.menu-toggle{
  display:none;
  font-size:22px;
  cursor:pointer;
}

/* ===== MOBILE NAV ===== */
.mobile-nav{
  display:none;
  position:fixed;
  inset:0;
  background:var(--black);
  padding:120px 48px;
  flex-direction:column;
  gap:28px;
  z-index:99;
}
.mobile-nav a{
  font-size:22px;
  color:var(--white);
  text-decoration:none;
}

/* ===== HERO ===== */
.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:0 48px;
}
.hero h1{
  font-size:clamp(52px,8vw,120px);
  line-height:1;
}
.hero span{color:var(--red)}

/* ===== SECTIONS ===== */
section{padding:160px 48px}

.statement p{
  font-size:28px;
  max-width:960px;
  color:var(--gray);
}
.statement strong{color:var(--white)}

/* MANIFESTO */
.manifesto h2{
  font-size:14px;
  letter-spacing:2px;
  color:var(--red);
  margin-bottom:32px;
}
.manifesto p{
  font-size:22px;
  max-width:900px;
  margin-bottom:20px;
}

/* SERVICES */
.services .service{
  border-top:1px solid var(--line);
  padding:56px 0;
  display:flex;
  justify-content:space-between;
  gap:40px;
}
.service h3{font-size:34px}
.service p{
  color:var(--gray);
  max-width:520px;
}
.service span{color:var(--gray)}

/* PROCESS */
.process .step{
  border-top:1px solid var(--line);
  padding:48px 0;
  display:grid;
  grid-template-columns:80px 1fr;
  gap:40px;
}
.step span{
  color:var(--red);
  font-size:18px;
}
.step h4{
  font-size:26px;
  margin-bottom:12px;
}
.step p{
  color:var(--gray);
  max-width:600px;
}

/* PROJECTS */
.projects .project{
  border-top:1px solid var(--line);
  padding:48px 0;
}
.project h3{
  font-size:30px;
  margin-bottom:8px;
}
.project p{color:var(--gray)}

/* TRUST */
.trust p{
  font-size:26px;
  max-width:900px;
  color:var(--gray);
}

/* REFERENCES */
.references h3{
  font-size:32px;
  margin-bottom:20px;
}
.references p{
  color:var(--gray);
  font-size:18px;
  max-width:800px;
}

/* FOOTER */
footer{
  border-top:1px solid var(--line);
  padding:80px 48px;
}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  font-size:14px;
  color:var(--gray);
}

/* ===== RESPONSIVE ===== */
@media(max-width:900px){
  nav{display:none}
  .menu-toggle{display:block}
  .services .service,
  .process .step{grid-template-columns:1fr;flex-direction:column}
}
/* ===============================
   WORK PAGE – PAGE HEADER
================================ */

.page-header{
  padding:180px 48px 120px;
  max-width:1100px;
}

.page-header h1{
  font-size:clamp(48px,7vw,96px);
  line-height:1.05;
}

.page-header p{
  color:var(--gray);
  font-size:22px;
  max-width:720px;
  margin-top:24px;
}


/* ===============================
   SECTION TITLE (WORK)
================================ */

.section-title{
  color:var(--red);
  font-size:14px;
  letter-spacing:2px;
  margin-bottom:40px;
}


/* ===============================
   SERVICES – WORK PAGE
================================ */

.service{
  border-top:1px solid var(--line);
  padding:56px 0;
  display:flex;
  justify-content:space-between;
  gap:40px;
}

.service h3{
  font-size:32px;
  font-weight:500;
}

.service p{
  color:var(--gray);
  max-width:520px;
  line-height:1.6;
}

.service span{
  color:var(--gray);
}


/* ===============================
   PROCESS – WORK PAGE
================================ */

.step{
  border-top:1px solid var(--line);
  padding:48px 0;
  display:grid;
  grid-template-columns:80px 1fr;
  gap:40px;
}

.step span{
  color:var(--red);
  font-size:18px;
}

.step h4{
  font-size:26px;
  margin-bottom:10px;
}

.step p{
  color:var(--gray);
  max-width:600px;
}


/* ===============================
   TECH STACK
================================ */

.stack{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
}

.stack div{
  border:1px solid var(--line);
  padding:14px 20px;
  font-size:14px;
  color:var(--gray);
}


/* ===============================
   CTA – WORK PAGE
================================ */

.cta{
  border-top:1px solid var(--line);
  padding-top:80px;
}

.cta h3{
  font-size:36px;
  margin-bottom:20px;
}

.cta a{
  color:var(--white);
  border:1px solid var(--red);
  padding:14px 36px;
  border-radius:40px;
  text-decoration:none;
}

.cta a:hover{
  background:var(--red);
}


/* ===============================
   WORK PAGE RESPONSIVE FIXES
================================ */

@media (max-width:900px){

  .page-header{
    padding:160px 32px 100px;
  }

  .service{
    flex-direction:column;
  }

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

  .cta h3{
    font-size:28px;
  }

}
/* ===============================
   CONTACT PAGE
================================ */

.contact{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  max-width:1100px;
}

.contact-text p{
  font-size:22px;
  color:var(--gray);
  margin-bottom:24px;
}

.contact-note{
  font-size:16px;
  color:var(--gray);
}

/* FORM */
.contact-form{
  display:flex;
  flex-direction:column;
  gap:24px;
}

.contact-form label{
  display:flex;
  flex-direction:column;
  font-size:14px;
  color:var(--gray);
}

.contact-form input,
.contact-form textarea{
  margin-top:8px;
  background:transparent;
  border:none;
  border-bottom:1px solid var(--line);
  padding:10px 4px;
  color:var(--white);
  font-size:16px;
}

.contact-form input:focus,
.contact-form textarea:focus{
  outline:none;
  border-color:var(--red);
}

.contact-form button{
  margin-top:24px;
  align-self:flex-start;
  background:transparent;
  border:1px solid var(--red);
  color:var(--white);
  padding:14px 36px;
  border-radius:40px;
  font-size:14px;
  cursor:pointer;
}

.contact-form button:hover{
  background:var(--red);
}

/* RESPONSIVE */
@media (max-width:900px){
  .contact{
    grid-template-columns:1fr;
    gap:60px;
  }
}
/* ===============================
   REFERENCES PAGE
================================ */

.references-list{
  max-width:1100px;
  display:flex;
  flex-direction:column;
  gap:80px;
}

.reference{
  border-top:1px solid var(--line);
  padding-top:48px;
}

.reference-meta{
  display:flex;
  gap:20px;
  margin-bottom:16px;
}

.reference-meta span{
  font-size:12px;
  color:var(--gray);
  border:1px solid var(--line);
  padding:6px 12px;
}

.reference h3{
  font-size:32px;
  margin-bottom:14px;
}

.reference p{
  color:var(--gray);
  max-width:640px;
  line-height:1.6;
  margin-bottom:18px;
}

.reference a{
  color:var(--white);
  text-decoration:none;
  font-size:14px;
  border-bottom:1px solid var(--red);
  padding-bottom:4px;
}

.references-note{
  max-width:900px;
}

.references-note p{
  font-size:22px;
  color:var(--gray);
}

/* RESPONSIVE */
@media (max-width:900px){
  .reference h3{
    font-size:26px;
  }
}
/* ===============================
   REFERENCES – CARD GRID
================================ */

.reference-cards{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:40px;
  padding:120px 48px;
}

.ref-card{
  border:1px solid var(--line);
  padding:40px 32px;
  display:flex;
  flex-direction:column;
  gap:24px;
  transition:.3s ease;
}

.ref-card:hover{
  border-color:var(--red);
}

.ref-logo{
  height:120px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.ref-logo img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  filter:grayscale(100%);
  opacity:.8;
  transition:.3s ease;
}

.ref-card:hover .ref-logo img{
  filter:none;
  opacity:1;
}


.ref-card h3{
  font-size:18px;
  font-weight:500;
}

.ref-card a{
  margin-top:auto;
  font-size:14px;
  color:var(--white);
  text-decoration:none;
  border-bottom:1px solid var(--red);
  width:max-content;
  padding-bottom:4px;
}

/* RESPONSIVE */
@media (max-width:1100px){
  .reference-cards{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width:520px){
  .reference-cards{
    grid-template-columns:1fr;
    padding:80px 24px;
  }
}
