@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300&display=swap');

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

html {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* Navigation — sticky, consistent across all pages */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 28px 0;
  font-size: 16px;
  letter-spacing: -0.14px;
}

.nav-link {
  color: #000;
}

.nav-link:hover {
  opacity: 0.6;
}

/* Blur gradient behind sticky nav — blurs content scrolling underneath */
.nav-blur {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 99;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.hero-cloud {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  width: 100%;
  min-width: 100%;
  height: auto;
  pointer-events: none;
  object-fit: cover;
}

.hero-logo {
  position: relative;
  z-index: 1;
}

.logo-img {
  width: 293px;
  height: 129px;
}

/* About */
.about {
  text-align: center;
  padding: 80px 20px 40px;
  max-width: 760px;
  margin: 0 auto;
}

.about-light {
  font-size: 26px;
  letter-spacing: -0.27px;
  color: #959595;
  line-height: 1.55;
  margin-bottom: 12px;
}

.about-bold {
  font-size: 26px;
  letter-spacing: -0.27px;
  color: #000;
  font-weight: 400;
  line-height: 1.55;
}

/* Clients */
.clients {
  padding: 20px 0 50px;
  max-width: 620px;
  margin: 0 auto;
}

.clients-line {
  width: 100%;
  height: 1px;
  background: #e0e0e0;
  margin-bottom: 24px;
}

.clients-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}

.client-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 14px;
  color: #CACACA;
  letter-spacing: 0.5px;
}

/* Dream Text */
.dream-text {
  position: relative;
  padding: 120px 100px 140px;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.dream-cloud {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.dream-line-1 {
  position: relative;
  z-index: 1;
  font-size: 22px;
  letter-spacing: -0.14px;
  color: #353535;
  margin-bottom: 50px;
  text-align: left;
  padding-left: 20px;
  mix-blend-mode: multiply;
}

.dream-line-2 {
  position: relative;
  z-index: 1;
  font-size: 22px;
  letter-spacing: -0.14px;
  color: #8a9a9a;
  text-align: right;
  padding-right: 20px;
  mix-blend-mode: multiply;
}

/* Projects on home page */
.projects {
  text-align: center;
  padding: 40px 20px 100px;
}

.projects-heading {
  font-size: 26px;
  letter-spacing: -0.14px;
  font-weight: 400;
  margin-bottom: 50px;
}

.projects-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.project-card {
  width: 190px;
  height: 190px;
  position: relative;
}

.project-img {
  width: 100%;
  height: 100%;
  border-radius: 42% 58% 45% 55% / 50% 45% 55% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,0.3) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,0.3) 100%);
}

.project-card:nth-child(2) .project-img {
  border-radius: 50% 50% 45% 55% / 55% 48% 52% 45%;
}

.project-card:nth-child(3) .project-img {
  border-radius: 45% 55% 50% 50% / 48% 52% 48% 52%;
}

.project-label {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 60px 50px 40px;
  border-top: 1px solid #eee;
}

.footer-left {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.footer-logo {
  width: auto;
  height: 32px;
}

.footer-info {
  font-family: 'Instrument Serif', serif;
  font-size: 12px;
  color: #888;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-right {
  display: flex;
  gap: 20px;
  align-items: flex-end;
}

.footer-link {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 11px;
  color: #828282;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.footer-link:hover {
  color: #000;
}

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

.contact-page {
  position: relative;
  width: 100%;
  height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contact-cloud {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 700px;
  height: auto;
  pointer-events: none;
}

.contact-email {
  position: relative;
  z-index: 1;
  font-size: 32px;
  letter-spacing: -0.27px;
  color: #000;
}

.contact-email:hover {
  opacity: 0.6;
}

/* ========================
   PROJECTS PAGE
   ======================== */

.nav-projects {
  align-items: center;
  gap: 50px;
}

.nav-logo-link {
  display: flex;
  align-items: center;
}

.nav-logo {
  width: 120px;
  height: auto;
}

.projects-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 60px 20px 100px;
}

.project-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 280px;
  height: 280px;
}

.project-cover-img {
  width: 100%;
  height: 100%;
  border-radius: 42% 58% 45% 55% / 50% 45% 55% 50%;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 25%, rgba(0,0,0,0.2) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 25%, rgba(0,0,0,0.2) 100%);
}

.project-cover:nth-child(2) .project-cover-img {
  border-radius: 50% 50% 45% 55% / 55% 48% 52% 45%;
}

.project-cover:nth-child(3) .project-cover-img {
  border-radius: 45% 55% 50% 50% / 48% 52% 48% 52%;
}

.project-cover-label {
  position: absolute;
  z-index: 1;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.3px;
  pointer-events: none;
}

.project-cover:hover .project-cover-img {
  filter: blur(4px);
  transition: filter 0.3s ease;
}

/* ========================
   PROJECT DETAIL PAGE
   ======================== */

.project-detail {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.project-detail-title {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.27px;
  text-align: center;
  margin-bottom: 36px;
}

.project-detail-hero {
  width: 100%;
  margin-bottom: 44px;
}

.project-detail-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
}

.project-detail-description {
  max-width: 380px;
  margin-bottom: 44px;
}

.project-detail-description p {
  font-size: 13px;
  line-height: 1.55;
  color: #333;
  letter-spacing: -0.1px;
  font-family: 'Instrument Serif', serif;
}

.project-detail-images {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}

.project-detail-img .project-detail-placeholder {
  border-radius: 16px;
}

.project-nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 40px;
}

.project-nav-link {
  font-size: 16px;
  color: #000;
  letter-spacing: -0.14px;
}

.project-nav-link:hover {
  opacity: 0.6;
}
