@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mona+Sans:ital,wght@0,200..900;1,200..900&display=swap');

:root {
  --white: #FFFFFF;
  --black: #000000;
  --grey--grey-50: #F0F0F0;
  --grey--grey-100: #D1D1D1;
  --grey--grey-200: #BBBBBB;
  --grey--grey-300: #9C9C9C;
  --grey--grey-400: #898989;
  --grey--grey-500: #6B6B6B;
  --grey--grey-600: #616161;
  --grey--grey-700: #4C4C4C;
  --grey--grey-800: #3B3B3B;
  --grey--grey-900: #2D2D2D;
}

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

html {
  margin: 64px 48px;
}

body {
  background-color: var(--grey--grey-50);
  font-family: Mona Sans, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 96px;
  height: auto;
  width: auto;
  justify-content: center;
  align-items: center;
  margin: 0;
}


.header {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  font-size: 20px;
  font-weight: bold;
  color: var(--grey--grey-800);
  letter-spacing: -0.02em;
  align-items: center;
  max-width: 1920px;
}

.header a {
  font-size: 20px;
  text-decoration: none;
  color: inherit;
  padding: 6px;
}

.header p {
  font-size: 20px;
  text-decoration: none;
}


.header-start,
a {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
  /* on items that shouldn't shrink */
}

.header-start p {
  margin: 0;
  font-weight: bold;
  font-size: 32px;
  letter-spacing: -0.05em;
  color: var(--grey--grey-300);
  text-decoration: none;
}

h1 {
  font-size: 80px;
  font-weight: 800;
  color: var(--grey--grey-300);
  letter-spacing: -0.04em;
  line-height: 1.2em;
  margin: 0;
}

h1 span {
  color: var(--grey--grey-800);
}

p {
  font-size: 16px;
  color: var(--grey--grey-300);
}

.hero {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 16px;
  max-width: 1920px;
}

.hero p {
  font-size: 20px;
  font-weight: 500;
}

.hero .rotate-word {
  color: var(--grey--grey-600);
  font-weight: 600;
}

.recent-work {
  flex-direction: column;
  display: flex;
  width: 100%;
  gap: 8px;
  color: var(--grey--grey-300);
  max-width: 1920px;
}

.recent-work p {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.project-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}


.project-images a img {
  flex: 1;
  width: 100%;
  height: 100%;
  min-width: 300px;
  border-radius: 16px;
  object-fit: cover;
}

.img-wrapper {
  position: relative;
  flex: 1 1 300px;
  /* grow + shrink + base width */
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 16px;
  max-width: 100%;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 20px 20px;
  justify-content: start;
  font-size: 24px;
  opacity: 0;
  pointer-events: auto;
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}


.marquee {
  font-size: 128px;
  font-weight: 800;
  color: var(--grey--grey-300);
  letter-spacing: -0.04em;
  line-height: 1.2em;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  max-width: 1920px;
}


.marquee-track {
  display: inline-block;
}

.services {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  gap: 24px;
  height: 250px;
  max-width: 1920px;
}

.service-item {
  display: flex;
  flex: 1;
  width: 100%;
  height: auto;
  background-color: var(--white);
  border-radius: 16px;
  padding: 16px;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: flex-end;
}

.text-frame {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.text-frame p {
  font-weight: 500;
  color: var(--grey--grey-300);
}

.service-item h3 {
  font-size: 32px;
  font-style: Mona Sans, sans-serif;
  letter-spacing: -0.04em;
  color: var(--grey--grey-800);
}

.calltoaction {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 48px 0px;
  align-items: center;
  gap: 32px;
  max-width: 1920px;
}

.calltoaction-title {
  font-size: 56px;
  font-weight: 500;
  text-align: center;
  line-height: 120%;
}

.calltoaction-title span {
  font-weight: 900;
  font-size: 64px;
  font-style: italic;
  text-transform: uppercase;
}

.cta-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Mona Sans, sans-serif;
  font-weight: 600;
  font-size: 20px;
  background-color: var(--grey--grey-900);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 32px;
  border: none;
  text-decoration: none;
  width: fit-content;
  cursor: pointer;
  isolation: isolate;
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-circle {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: scale(0);
}


/* ===== Responsive CSS ===== */

@media (max-width: 1024px) {
  html {
    margin: 48px 32px;
  }

  h1 {
    font-size: 56px;
  }

  .calltoaction-title {
    font-size: 40px;
  }

  .calltoaction-title span {
    font-size: 48px;
  }

  .services {
    flex-direction: column;
    height: auto;
  }

  .service-item {
    width: 100%;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 768px) {

  .hide-on-mobile {
    display: none !important;
  }

  html {
    margin: 32px 20px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.1em;
  }

  .hero p {
    font-size: 18px;
  }

  .marquee {
    font-size: 40px;
  }

  .services {
    gap: 16px;
  }

  .project-images {
    flex-direction: column;
    gap: 16px;
  }

  .img-wrapper {
    aspect-ratio: 4/3;
    width: 100%;
  }

  .cta-btn {
    font-size: 18px;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 32px;
  }

  .hero p,
  .recent-work p,
  .service-item h3,
  .service-item .text-frame p {
    font-size: 16px;
  }

  .calltoaction-title {
    font-size: 32px;
  }

  .calltoaction-title span {
    font-size: 40px;
  }

  .cta-btn {
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 24px;
  }

  .overlay-text {
    font-size: 18px;
    padding: 16px;
  }

  .header-start p {
    font-size: 24px;
  }

  .header a {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .hide-on-mobile {
    display: none !important;
  }
}
