/* ─── 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: flex-start;
  padding: 1.75rem 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-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;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at 30% 68%, transparent 45%, rgba(15,13,11,0.45) 72%, rgba(15,13,11,0.78) 100%);
}

.hero-gradient-bottom {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to top, #0f0d0b 0%, rgba(15,13,11,0.75) 20%, transparent 50%);
}

.hero-gradient-top {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(15,13,11,0.55) 0%, transparent 45%);
}

/* Top-right: name */
.hero-text-top {
  position: absolute;
  top: 0; right: 3.125rem;
  z-index: 10;
  text-align: right;
  padding: calc(1.75rem + 28px) 3rem 0;
}

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

/* Right-side column: taglines + "One Life." share one container */
.hero-right-col {
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(3.125rem + 80px);
  padding-right: 3rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-taglines {
  margin-top: calc(36svh - 20px - 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  align-items: flex-start;
  font-size: clamp(1.12rem, 1.55vw, 1.37rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 300;
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(0,0,0,0.95);
  animation: fadeUp 1s ease both;
  animation-delay: 0.35s;
}

/* One Life. Many Chapters. — pushed to bottom of column */
.hero-text-bottom {
  margin-top: auto;
  padding-bottom: 5rem;
  text-align: left;
}

.hero-text-bottom::before {
  content: '';
  display: block;
  width: 3.5rem;
  height: 1px;
  background: rgba(255,255,255,0.32);
  margin-left: 0;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.38vw, 1.22rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 300;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0,0,0,0.9);
  animation: fadeUp 1s ease both;
  animation-delay: 0.6s;
}

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

/* ─── Identity / About ─── */
.section-identity {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8rem 3rem;
  max-width: 72rem;
  margin: 0 auto;
  scroll-margin-top: 0;
}

.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 {
  min-height: 100svh;
  padding: 3rem 3rem 5rem;
  scroll-margin-top: 0;
}

.works-container {
  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.55);
  border-bottom: 1px solid rgba(242,237,228,0.12);
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 4.5rem;
}

.work-card { cursor: pointer; }

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

.work-image-wrap--placeholder {
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #1a1918;
  border: 1px solid rgba(242,237,228,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.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.45);
}

.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.58);
  border: 1px solid rgba(242,237,228,0.3);
  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 {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: #0a0a09;
  border-top: 1px solid rgba(242,237,228,0.05);
  padding: 6rem 3rem;
  scroll-margin-top: 0;
}

.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; }

/* ─── Tablet ─── */
@media (max-width: 1024px) {
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}

/* ─── 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; }

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

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