/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: #0f0e0d;
  color: #f2ede4;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── Nav ─── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  transition: background 0.6s ease, padding 0.4s ease;
}

#nav.scrolled {
  background: rgba(15,14,13,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 3rem;
}

.nav-name {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 300;
  color: #f2ede4;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 300;
  color: rgba(242,237,228,0.8);
  transition: color 0.2s;
}

.nav-links a:hover { color: #f2ede4; }

/* ─── Hero ─── */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #0f0e0d;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-portrait {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.hero-text {
  position: relative;
  z-index: 10;
  width: 100%;
  text-align: center;
  padding: 0 2rem 5.5rem;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3.8rem, 7.8vw, 8rem);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #f2ede4;
  line-height: 1;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.7), 0 1px 6px rgba(0,0,0,0.5);
  animation: fadeUp 1.1s ease both;
  animation-delay: 0.1s;
}

.hero-tagline {
  font-size: clamp(0.65rem, 1.1vw, 0.82rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 300;
  color: rgba(242,237,228,0.82);
  line-height: 2.4;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
  animation: fadeUp 1s ease both;
  animation-delay: 0.4s;
}

.hero-rule {
  width: 3rem;
  height: 1px;
  background: rgba(242,237,228,0.25);
  margin: 1.4rem auto;
  animation: fadeUp 1s ease both;
  animation-delay: 0.65s;
}

.hero-sub {
  font-size: clamp(0.65rem, 1.1vw, 0.78rem);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-weight: 300;
  color: rgba(242,237,228,0.58);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  animation: fadeUp 1s ease both;
  animation-delay: 0.8s;
}

.hero-slate {
  position: absolute;
  right: 2.5rem;
  bottom: 4.5rem;
  z-index: 10;
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(242,237,228,0.18);
  writing-mode: vertical-rl;
  animation: fadeUp 1s ease both;
  animation-delay: 1.2s;
}

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: fadeUp 1s ease both;
  animation-delay: 1.4s;
}

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

/* ─── Identity / About ─── */
.section-identity {
  padding: 9rem 3rem;
  max-width: 72rem;
  margin: 0 auto;
}

.identity-inner {
  border-left: 1px solid rgba(242,237,228,0.15);
  padding-left: 4rem;
  max-width: 52rem;
}

.identity-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.25;
  color: #f2ede4;
}

.identity-headline em {
  color: rgba(242,237,228,0.45);
  font-style: italic;
  font-weight: 300;
}

.identity-body {
  margin-top: 2.5rem;
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(242,237,228,0.55);
}

/* ─── Works ─── */
.section-work {
  padding: 4rem 3rem 8rem;
  max-width: 72rem;
  margin: 0 auto;
}

.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(242,237,228,0.35);
  border-bottom: 1px solid rgba(242,237,228,0.08);
  padding-bottom: 1rem;
  margin-bottom: 5rem;
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
}

.work-card { cursor: pointer; }
.work-card--offset { margin-top: 5rem; }
.work-card--wide {
  grid-column: 1 / -1;
  max-width: 75%;
  margin: 2rem auto 0;
}

.work-image-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #1a1918;
  margin-bottom: 1.75rem;
}

.work-image-wrap--wide {
  aspect-ratio: 21/9;
  border: 1px solid rgba(242,237,228,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
  opacity: 0.88;
  transition: transform 0.9s ease, filter 0.6s ease, opacity 0.4s ease;
}

.work-card:hover .work-image {
  transform: scale(1.04);
  filter: saturate(1);
  opacity: 1;
}

.work-placeholder {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  color: rgba(242,237,228,0.2);
}

.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.work-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.75rem;
  color: #f2ede4;
}

.work-tag {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242,237,228,0.35);
  border: 1px solid rgba(242,237,228,0.15);
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
}

.work-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(242,237,228,0.55);
}

/* ─── Contact ─── */
.section-contact {
  background: #0a0a09;
  border-top: 1px solid rgba(242,237,228,0.05);
  padding: 9rem 3rem;
}

.contact-inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.contact-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #f2ede4;
  line-height: 1.35;
  margin-bottom: 2.5rem;
}

.contact-email {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242,237,228,0.65);
  border-bottom: 1px solid rgba(242,237,228,0.25);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.contact-email:hover { color: #f2ede4; }

.contact-form-wrap { margin-top: 5rem; }

.form-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242,237,228,0.3);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  border-bottom: 1px solid rgba(242,237,228,0.18);
  padding-bottom: 0.5rem;
  transition: border-color 0.2s;
}

.contact-form:focus-within { border-color: rgba(242,237,228,0.5); }

.form-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #f2ede4;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
}

.form-input::placeholder { color: rgba(242,237,228,0.2); }

.form-btn {
  background: none;
  border: none;
  color: rgba(242,237,228,0.45);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  margin-left: 1.5rem;
  transition: color 0.2s;
}

.form-btn:hover { color: #f2ede4; }

/* ─── Footer ─── */
.footer {
  background: #0a0a09;
  border-top: 1px solid rgba(242,237,228,0.07);
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242,237,228,0.28);
}

.footer a { color: rgba(242,237,228,0.28); transition: color 0.2s; }
.footer a:hover { color: rgba(242,237,228,0.7); }
.footer-links { display: flex; gap: 1.5rem; }

/* ─── Mobile ─── */
@media (max-width: 768px) {
  #nav { padding: 1.2rem 1.5rem; }
  #nav.scrolled { padding: 0.8rem 1.5rem; }

  .section-identity { padding: 5rem 1.5rem; }
  .identity-inner { padding-left: 1.5rem; }

  .section-work { padding: 3rem 1.5rem 5rem; }
  .works-grid { grid-template-columns: 1fr; gap: 3rem; }
  .work-card--offset { margin-top: 0; }
  .work-card--wide { max-width: 100%; margin: 0; }

  .section-contact { padding: 5rem 1.5rem; }

  .footer {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }
}
