/* ============================================================
   NEHORA — Jewelry & Wearable Sculpture
   Palette drawn from the work: bone, stone, copper, charcoal
   ============================================================ */

:root {
  --bone: #f3efe7;
  --bone-deep: #e9e2d4;
  --ink: #221d17;
  --ink-soft: #4c443a;
  --copper: #96593a;
  --stone: #b9ad99;
  --white: #fdfcf9;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", sans-serif;

  --pad: clamp(1.25rem, 4vw, 4rem);
}

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

html { scroll-behavior: smooth; }

section[id], footer[id] { scroll-margin-top: 64px; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bone);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  color: var(--white);
}

.site-header.scrolled {
  background: rgba(243, 239, 231, 0.92);
  backdrop-filter: blur(10px);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(34, 29, 23, 0.08);
  padding: 0.8rem var(--pad);
}

.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.42em;
  text-decoration: none;
  color: inherit;
}

.site-nav {
  display: flex;
  gap: 2.2rem;
}

.site-nav a {
  color: inherit;
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.site-nav a:hover { opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 1px;
  background: currentColor;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fullscreen cover; crop anchored to the top of the frame so her head stays in shot */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(20, 16, 12, 0.3) 0%,
      rgba(20, 16, 12, 0.12) 40%,
      rgba(20, 16, 12, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 var(--pad);
}

.hero-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 1.2s 0.3s ease forwards;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  letter-spacing: 0.32em;
  text-indent: 0.32em; /* optically recenter letterspaced text */
  line-height: 1.1;
  margin: 0.6rem 0 0.8rem;
  opacity: 0;
  animation: rise 1.4s 0.55s ease forwards;
}

.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  letter-spacing: 0.12em;
  opacity: 0;
  animation: rise 1.4s 0.9s ease forwards;
}

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

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: rgba(253, 252, 249, 0.7);
  overflow: hidden;
  position: relative;
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateY(-100%);
  animation: drip 2.2s ease-in-out infinite;
}

@keyframes drip {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ---------- Statement ---------- */

.statement {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(6rem, 12vw, 10rem) var(--pad);
  text-align: center;
}

.statement-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- Section headings ---------- */

.section-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: 0.06em;
  line-height: 1.15;
}

/* ---------- Angel Collection ---------- */

.angel-banner {
  position: relative;
  height: min(88vh, 900px);
  overflow: hidden;
}

.angel-banner img { object-position: center; }

.angel-banner-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(2rem, 5vw, 4rem) var(--pad);
  color: var(--white);
  background: linear-gradient(to top, rgba(20, 16, 12, 0.55), transparent);
}

.angel-banner-caption .section-kicker { color: var(--bone-deep); }

.angel-text {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6.5rem) var(--pad) clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.angel-text p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.75;
  color: var(--ink-soft);
}

.angel-text p + p { margin-top: 1.4rem; font-style: italic; }

.angel-grid {
  columns: 3;
  column-gap: 14px;
  padding: 0 var(--pad) clamp(4rem, 8vw, 6rem);
}

.angel-grid figure {
  break-inside: avoid;
  margin-bottom: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bone-deep);
}

.angel-grid img,
.works-grid img {
  transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.angel-grid figure:hover img,
.works-grid figure:hover img {
  transform: scale(1.035);
}

/* ---------- Quote break ---------- */

.quote-break {
  background: var(--ink);
  color: var(--bone);
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) var(--pad);
}

.quote-break p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto;
}

/* ---------- Selected Works ---------- */

.works {
  padding: clamp(5rem, 10vw, 8rem) var(--pad);
}

.works-head {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 14px;
  max-width: 1500px;
  margin: 0 auto;
}

.works-grid figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: zoom-in;
  background: var(--bone-deep);
}

.works-grid figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1.2rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(to top, rgba(20, 16, 12, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.works-grid figure:hover figcaption { opacity: 1; }

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--pad) clamp(6rem, 10vw, 9rem);
}

.about-portrait {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.about-text .section-title { margin-bottom: 1.4rem; }

.about-text p {
  font-size: 1.02rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.text-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--copper);
  padding-bottom: 0.45rem;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.text-link:hover { color: var(--copper); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--bone);
  text-align: center;
  padding: clamp(5rem, 9vw, 7rem) var(--pad) 3rem;
}

.footer-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.2rem;
}

.footer-mail {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 239, 231, 0.3);
  transition: border-color 0.3s ease;
}

.footer-mail:hover { border-color: var(--bone); }

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  margin: 3rem 0 2.5rem;
}

.footer-nav a {
  color: var(--stone);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer-nav a:hover { color: var(--bone); }

.footer-copy {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(243, 239, 231, 0.4);
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 16, 12, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.6rem;
  background: none;
  border: none;
  color: var(--bone);
  font-size: 2.4rem;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .angel-grid { columns: 2; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--bone);
    color: var(--ink);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  }

  .site-nav.open { transform: translateY(0); }

  .site-nav a { font-size: 0.95rem; color: var(--ink); }

  .nav-toggle { display: flex; position: relative; z-index: 110; }

  .angel-grid { columns: 1; }
  .works-grid { grid-template-columns: 1fr; }

  .about { grid-template-columns: 1fr; }
  .about-text { text-align: center; }
  .about-text p { margin: 0 auto; }
}
