html { scroll-behavior: smooth; }

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #FDF6F3;
  color: #343432;
  font-family: 'Jost', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: #343432; text-decoration: none; }
a:hover { color: #A96A5B; }

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; }

img { max-width: 100%; display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes logoReveal {
  from { opacity: 0; transform: translateY(24px) scale(0.96); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes navIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Nav */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(253, 246, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(52, 52, 50, 0.08);
  animation: navIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-name { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 22px; letter-spacing: 3px; }
.brand-sub { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: #8a8a86; }
.nav-links { display: flex; gap: 36px; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; }
.nav-contact { border-bottom: 1px solid #343432; padding-bottom: 2px; }

/* Hero */
#top {
  background: #F8E4DD;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 78vh;
  padding: 0 48px;
  gap: 48px;
}
.hero-copy { max-width: 560px; justify-self: end; }
.eyebrow { font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: #8a7a72; margin-bottom: 24px; }
#top h1 { font-weight: 500; font-size: 58px; line-height: 1.1; margin: 0 0 28px; }
.hero-copy p { font-size: 17px; font-weight: 300; line-height: 1.7; margin: 0 0 40px; color: #5c5c58; }
.hero-actions { display: flex; gap: 16px; align-items: center; }
.btn { padding: 14px 32px; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; transition: background 0.3s ease; }
.btn-dark { background: #343432; color: #FDF6F3; }
.btn-dark:hover { background: #4a4a47; color: #FDF6F3; }
.btn-outline { border: 1px solid #343432; padding: 13px 32px; }
.btn-outline:hover { background: rgba(52, 52, 50, 0.06); }
.hero-logo-wrap { justify-self: start; animation: logoReveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both; }
#hero-logo { width: min(560px, 44vw); mix-blend-mode: multiply; will-change: transform, opacity; }

/* About */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 120px 48px;
}
#about h2 { font-weight: 500; font-size: 40px; line-height: 1.2; margin: 0 0 24px; color: #a9968d; }
#about h2 { color: #343432; }
#about .eyebrow { color: #a9968d; }
#about p { font-size: 16px; font-weight: 300; line-height: 1.8; color: #5c5c58; margin: 0 0 18px; }
#about p:last-child { margin: 0; }
.about-portrait { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }

/* Services */
#services { background: #F8E4DD; padding: 110px 48px; }
#services .section-inner { max-width: 1080px; margin: 0 auto; }
#services .eyebrow { color: #8a7a72; }
#services h2 { font-weight: 500; font-size: 40px; margin: 0 0 56px; }
#services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(52, 52, 50, 0.15);
}
.service { background: #F8E4DD; padding: 32px 28px 36px; transition: background 0.5s ease; }
.service:hover { background: #FBEEE9; }
.service-num { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: #a9968d; margin-bottom: 16px; }
.service h3 { font-weight: 600; font-size: 22px; margin: 0 0 12px; }
.service p { font-size: 14px; font-weight: 300; line-height: 1.7; color: #5c5c58; margin: 0; }

/* Portfolio */
#portfolio { max-width: 1180px; margin: 0 auto; padding: 120px 48px; }
#portfolio .eyebrow { color: #a9968d; }
#portfolio h2 { font-weight: 500; font-size: 40px; margin: 0 0 12px; }
#portfolio .lede { font-size: 16px; font-weight: 300; color: #5c5c58; margin: 0 0 44px; max-width: 560px; }
#portfolio-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
#portfolio-tabs button {
  background: transparent;
  color: #343432;
  border: 1px solid rgba(52, 52, 50, 0.35);
  padding: 10px 22px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
}
#portfolio-tabs button.active { background: #343432; color: #FDF6F3; border-color: #343432; }
#portfolio-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px; margin-bottom: 28px; }
#portfolio-title h3 { font-weight: 600; font-size: 30px; margin: 0; }
#portfolio-title span { font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: #a9968d; }
#portfolio-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 14px; }
.photo-slot {
  width: 100%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(135deg, #F8E4DD, #EFD9D0);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  color: #a9968d;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.photo-slot.featured { grid-column: span 2; grid-row: span 2; }

/* Contact */
#contact { background: #343432; color: #FDF6F3; padding: 110px 48px; }
#contact-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
#contact .eyebrow { color: #c9b6ad; }
#contact h2 { font-weight: 500; font-size: 42px; line-height: 1.2; margin: 0 0 24px; }
#contact p { font-size: 16px; font-weight: 300; line-height: 1.8; color: #cfcfcb; margin: 0; }
.contact-links { display: flex; flex-direction: column; gap: 22px; font-size: 16px; font-weight: 300; }
.contact-links a {
  color: #FDF6F3;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(253, 246, 243, 0.25);
  padding-bottom: 12px;
}
.contact-links a:hover { color: #F8E4DD; }
.contact-links .label { letter-spacing: 2px; text-transform: uppercase; font-size: 12px; color: #c9b6ad; }

footer {
  background: #343432;
  color: #8a8a86;
  text-align: center;
  padding: 28px 48px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-top: 1px solid rgba(253, 246, 243, 0.12);
}

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 760px) {
  nav { padding: 14px 20px; }
  .brand-name { font-size: 17px; letter-spacing: 2px; white-space: nowrap; }
  .nav-links { gap: 12px; font-size: 10px; letter-spacing: 1px; }
  .brand-sub { display: none; }
  #top { grid-template-columns: 1fr; min-height: auto; padding: 56px 24px 64px; gap: 40px; }
  .hero-copy { justify-self: start; }
  #top h1 { font-size: 40px; }
  .hero-logo-wrap { justify-self: center; }
  #hero-logo { width: 70vw; }
  #about { grid-template-columns: 1fr; gap: 40px; padding: 72px 24px; }
  #services { padding: 72px 24px; }
  #services-grid { grid-template-columns: 1fr; }
  #portfolio { padding: 72px 24px; }
  #portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
  #contact { padding: 72px 24px; }
  #contact-grid { grid-template-columns: 1fr; gap: 48px; }
  h2 { font-size: 32px; }
}
