:root{
  --bg: #ffffff;
  --bg-soft: #f2f2f4;
  --fg: #1a1818;
  --fg-muted: #5a5560;
  --accent-red: #e2233c;
  --accent-purple: #5b2a86;
  --accent-blue: #6fa3d8;
  --accent-grad: linear-gradient(120deg, var(--accent-red), var(--accent-purple));
  --serif: "Cormorant Garamond", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html{scroll-behavior:smooth; scroll-padding-top: 84px; overflow-x: clip;}

body{
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

/* NAV */
.nav{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 100;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding: 16px 6vw;
  background: transparent;
}
.nav-logo img{
  height: 34px;
  width: 34px;
  object-fit: contain;
  display:block;
}
.nav-links{
  display:flex;
  gap: 2.4rem;
}
.nav-links a{
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--fg);
  transition: opacity 0.25s ease;
}
.nav-links a:hover{ opacity: 0.5; }

/* HERO */
.hero{
  min-height: 55vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding: 50px 6vw 0;
}
.hero-inner{
  flex: 1;
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-name{
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(2.7rem, 11.25vw, 7.875rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.hero-name-accent{
  font-style: inherit;
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}
.hero-logo-large{
  display: block;
  width: 102px;
  height: 102px;
  object-fit: contain;
  margin: 2rem auto 0;
}
.hero-tagline{
  margin-top: 0.6rem;
  font-size: clamp(1rem, 2vw, 1.3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 300;
}
.scroll-cue{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 8px;
  padding: 28px 0 36px;
  color: var(--fg-muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bob 2.4s ease-in-out infinite;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.scroll-cue:hover{ color: var(--fg); }
.scroll-cue.is-hidden{
  opacity: 0;
  pointer-events: none;
}
@keyframes bob{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(8px); }
}

/* PORTFOLIO */
.portfolio{
  padding-top: 68px;
}
.portfolio-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0;
}
.portfolio-item{
  position:relative;
  overflow:hidden;
  border:none;
  padding:0;
  cursor:pointer;
  background: var(--bg-soft);
  border-radius: 0;
  grid-column: span 1;
  aspect-ratio: 1/1;
  display:block;
}
.portfolio-item.wide{
  grid-column: span 2;
  aspect-ratio: 2/1;
}
.portfolio-item img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transition: filter 0.4s ease, transform 0.6s ease;
}
.portfolio-item .overlay{
  position:absolute;
  inset:0;
  opacity:0;
  transition: opacity 0.4s ease;
  pointer-events:none;
}
.portfolio-item:nth-child(odd) .overlay{
  background: rgba(226, 35, 60, 0.75);
}
.portfolio-item:nth-child(even) .overlay{
  background: rgba(91, 42, 134, 0.75);
}
.portfolio-item .caption{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 8%;
  opacity:0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events:none;
}
.caption-title{
  font-family: "Playfair Display", serif;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 0.4em;
}
.caption-desc{
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  color: #ffffff;
  white-space: pre-line;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.caption-desc a{
  color: #ffffff;
  text-decoration: underline;
}
.portfolio-item.active .caption-desc a{
  pointer-events: auto;
}

.portfolio-item.active img{ filter: grayscale(1) contrast(1.05); }
.portfolio-item.active .overlay,
.portfolio-item.active .caption{ opacity: 1; transform: translateY(0); }

.end-mark{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 20px;
  margin: 0;
  padding: 60px 6vw;
  color: var(--fg-muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.end-mark span{
  height:1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--fg-muted), transparent);
}

/* ABOUT */
.about{
  padding: 100px 6vw 60px;
}
.about-page{
  padding-top: 148px;
  min-height: 100vh;
}
.about-inner{
  max-width: 1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items:start;
}
.about-photo{
  width:100%;
  aspect-ratio: 1/1;
  border-radius: 6px;
  overflow:hidden;
  background: var(--bg-soft);
  position:sticky;
  top: 110px;
}
.about-photo img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.section-title{
  font-family: "Fraunces", var(--serif);
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  padding-bottom: 0.08em;
  margin-bottom: 2rem;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display:inline-block;
}
.about-facts{
  display:flex;
  flex-direction:column;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}
.about-facts > div{
  display:grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
}
.about-facts dt{
  color: var(--fg-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 2px;
}
.about-facts dd{
  font-weight: 400;
  line-height: 1.5;
}
.about-link{ margin-bottom: 2rem; }
.about-link a{
  border-bottom: 1px solid rgba(244,240,238,0.3);
  padding-bottom: 2px;
  transition: border-color 0.25s ease, opacity 0.25s ease;
}
.about-link a:hover{ border-color: var(--fg); }

.strengths{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 2rem 0;
}
.strengths > div{
  padding: 18px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  text-align:center;
}
.strengths h3{
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--fg);
}


.contact{
  flex: 0 0 200px;
  padding-top: 0;
}
.contact h3{
  font-family: "Playfair Display", serif;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 0.8rem;
}
.contact p{
  margin-bottom: 0.5rem;
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  line-height: 1.75;
  color: var(--fg-muted);
}
.contact strong{
  font-weight: 800;
  color: var(--fg);
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.1em;
}
.contact a{
  color: var(--fg);
  border-bottom: 1px solid rgba(26,24,24,0.2);
}
.contact a:hover{ border-color: var(--fg); }

/* ABOUT SECTION */
.about-section{
  padding: 100px 6vw 100px;
  max-width: 1200px;
  margin: 0 auto;
}
.about-photo-full{
  position: relative;
  width: 100%;
  margin-bottom: 3rem;
}
.about-photo-full img{
  width: 100%;
  height: auto;
  display: block;
}
.about-heading{
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.about-content{
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}
.about-bio{
  flex: 1;
  min-width: 0;
}
.about-bio > p{
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}

/* MOBILE */
@media (max-width: 700px){
  .portfolio-grid{
    grid-template-columns: 1fr;
  }
  .portfolio-item.wide{
    grid-column: span 1;
    aspect-ratio: 2/1;
  }
  .about-inner{
    grid-template-columns: 1fr;
  }
  .about-content{
    flex-direction: column;
    gap: 2rem;
  }
  .contact{
    flex: none;
  }
  .about-photo{
    max-width: 260px;
    margin: 0 auto;
    position:static;
  }
  .strengths{
    grid-template-columns: 1fr;
  }
  .about-facts > div{
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .end-mark{
    gap: 10px;
    padding: 40px 6vw;
    flex-wrap: wrap;
    width: 100%;
  }
  .end-mark span{
    width: 32px;
  }
}
