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

@font-face {
  font-family: 'monument';
  src: url('./fonts/MonumentExtended-Regular.otf') format('opentype');
  font-style: normal;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 999px;
    transition: background 0.2s;
}

:hover::-webkit-scrollbar-thumb {
    background: rgba(96, 96, 96, 0.7);
}

:hover::-webkit-scrollbar-thumb:hover {
    background: rgba(96, 96, 96, 1);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(96,96,96,.7) transparent;
}



.font-plex {
  font-family: "IBM Plex Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  letter-spacing: -2%;
  line-height: 1.22;
}

.font-monument {
  font-family: "monument", sans-serif;
  letter-spacing: 0.03em;
  font-style: normal;
  font-optical-sizing: auto;
  letter-spacing: -2%;
  line-height: 1.22;
}

.font-unbounded {
  font-family: "Unbounded", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  letter-spacing: -2%;
  line-height: 1.22;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #F4F5F8;
  color: #111;
  overflow-x: hidden;
}

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

img,
video {
  width: 100%;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.fade-text {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.fade-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: min(1600px, 100%);
  margin: 0 auto;
  padding: 0 clamp(16px, 2vw, 40px);
}

.page-indent {
  width: 100%;
  height: 72px;
}

/* HEADER */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 1000;
  background: #4a474df2;
  backdrop-filter: blur(10px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}

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

.nav a {
  color: #bdb8c0;
  font-size: 1.1rem;
  transition: 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  position: absolute;
  left: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span:nth-child(1) {
  top: 10px;
}

.nav-toggle span:nth-child(2) {
  top: 18px;
}

.nav-toggle span:nth-child(3) {
  top: 26px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* CONTACT */

.contact {
  padding: 120px 0;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 80px;
  align-items: center;
}

.contact-label {
  font-size: 12px;
  letter-spacing: 3px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.contact-title {
  font-size: 72px;
  line-height: 1.22;
  margin-bottom: 24px;
  color: #24262A;
}

.contact-text {
  max-width: 500px;
  color: #555;
  line-height: 1.22;
  margin-bottom: 42px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 34px;
  border-radius: 999px;
  border: 1px solid #e8b3a2;
  color: #F25E35;
  font-weight: 600;
  transition: .2s;
}

.contact-btn:hover {
  background: #F25E35;
  color: #fff;
}

.contact-card {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 38px;
  padding: 40px;
}

.contact-card-title {
  font-size: 26px;
  margin-bottom: 24px;
}

.contact-links {
  display: grid;
  gap: 16px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(36, 38, 42, 0.1);
  color: #222;
  font-size: 18px;
  transition: 0.2s ease;
  background: #fff;
  text-decoration: none;
}

.contact-links a:hover {
  transform: translateY(-1px);
  color: #F25E35;
}

.contact-links a:hover svg path {
  stroke: #F25E35;
}

.contact-links svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}


/* FOOTER */

footer {
  border-top: 1px solid #ddd;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 70px;
}

.footer-logo {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-text {
  max-width: 320px;
  line-height: 1.22;
  color: #555;
}

.footer-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 26px;
  font-weight: bold;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  color: #222;
  font-size: 18px;
  transition: 0.2s ease;
  text-decoration: none;
}

.contact svg path,
.footer-links a svg path {
  stroke: #24262A;
}

.footer-links a:hover {
  transform: translateY(-1px);
  color: #F25E35;
}

.footer-links a:hover svg path {
  stroke: #F25E35;
}

.footer-contacts .footer-links svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.footer-legal .footer-links svg {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid #ddd;
  color: #777;
  font-size: 14px;
}

.footer-bottom div {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: 0.2s ease;
  text-decoration: none;
}

.footer-bottom div svg path {
  stroke: #777;
}


@media (max-width: 1024px) {

  .header-inner {
    padding: 0 clamp(16px, 2vw, 24px);
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: fixed;
    inset: 72px 0 0;
    z-index: 999;
    flex-direction: column;
    align-items: stretch;
    background: rgba(74, 71, 77, 0.98);
    padding: 24px 18px;
    gap: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    display: block;
    padding: 14px 18px;
  }

  .nav a:hover {
    text-decoration: dashed;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero {
    min-height: calc(100vh - 72px);
  }

  .about {
    padding: 90px 0 80px;
  }

  .about-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .about h1 {
    font-size: 38px;
  }

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

  .project-info {
    padding: 18px 20px 24px;
  }

  .contact-card {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .page-indent {
    height: 64px;
  }

  header {
    height: 64px;
  }

  .header-inner {
    height: 64px;
    justify-content: space-between;
  }

  .logo {
    font-size: clamp(1rem, 4vw, 1.35rem);
  }

  .nav {
    inset: 64px 0 0;
    padding: 20px 16px;
  }

  .nav a {
    font-size: 0.95rem;
  }

  .contact-card {
    padding: 28px;
  }
}

@media (max-width: 640px) {

  .contact-card-title {
    font-size: 24px;
  }

  .contact-links a {
    padding: 14px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 25px;
  }

  header {
    height: 64px;
  }

  .header-inner {
    height: 64px;
    justify-content: space-between;
  }

  .logo {
    font-size: 22px;
  }

  .nav a {
    font-size: 12px;
    opacity: .95;
  }

  .hero {
    min-height: 60vh;
  }

  .about {
    padding: 70px 0 60px;
  }

  .about-label {
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 16px;
  }

  .about h1 {
    font-size: 30px;
    line-height: 1.08;
  }

  .works-link {
    font-size: 16px;
    gap: 10px;
  }

  .projects {
    padding-bottom: 80px;
  }

  .project-card {
    border-radius: 24px;
  }

  .project-title {
    font-size: 24px;
  }

  .project-meta {
    gap: 8px;
    font-size: 13px;
  }

  .contact {
    padding: 50px 0;
  }

  .contact-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-title {
    font-size: 42px;
    margin-bottom: 18px;
  }

  .contact-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .contact-btn {
    width: 100%;
    height: 54px;
    font-size: 14px;
  }

  .contact-card {
    padding: 26px;
    border-radius: 24px;
  }

  .contact-card-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .contact-links {
    gap: 16px;
  }

  .contact-links a {
    font-size: 15px;
    padding: 14px 16px;
  }

  footer {
    padding: 60px 0 30px;
  }

  .footer-grid {
    gap: 36px;
    margin-bottom: 40px;
  }

  .footer-logo {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .footer-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .footer-links a {
    font-size: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
  }
}

/* =========================
   SMALL PHONES
   ========================= */

@media (max-width: 480px) {

  .nav a {
    font-size: 12px;
  }

  .hero {
    min-height: 65vh;
  }

  .about h1 {
    font-size: 26px;
  }

  .contact-title {
    font-size: 36px;
  }

  .footer-logo {
    font-size: 34px;
  }
}

@media (max-width: 375px) {
  .logo {
    font-size: 1.05rem;
  }

  .nav a {
    padding: 12px 14px;
  }

  .footer-text {
    font-size: 13px;
  }
}

@media (max-width: 320px) {
  .header-inner {
    padding: 0 12px;
  }

  .footer-grid {
    gap: 24px;
  }
}