/* --- Reset / base --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  overflow-x: hidden;
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: #1c1b18;
  background: #f6f4ef;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
figcaption {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: .02em;
  color: #6b6960;
  font-style: italic;
}

/* --- Ambient background — slow drifting organic shapes --- */
.ambient {
  position: fixed; inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  will-change: transform;
}
.blob-1 {
  width: 46vw; height: 46vw;
  left: -10vw; top: -8vw;
  background: radial-gradient(circle at 30% 30%, #f0e5d6 0%, rgba(240,229,214,0) 70%);
  animation: drift1 38s ease-in-out infinite alternate;
}
.blob-2 {
  width: 52vw; height: 52vw;
  right: -14vw; top: 18vh;
  background: radial-gradient(circle at 60% 40%, #e8e3d7 0%, rgba(232,227,215,0) 70%);
  animation: drift2 46s ease-in-out infinite alternate;
}
.blob-3 {
  width: 38vw; height: 38vw;
  left: 22vw; top: 70vh;
  background: radial-gradient(circle at 50% 50%, #ece1d0 0%, rgba(236,225,208,0) 70%);
  animation: drift3 52s ease-in-out infinite alternate;
}
.blob-4 {
  width: 44vw; height: 44vw;
  right: 8vw; bottom: -12vw;
  background: radial-gradient(circle at 40% 60%, #ddd6c5 0%, rgba(221,214,197,0) 70%);
  animation: drift4 60s ease-in-out infinite alternate;
}
@keyframes drift1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8vw, 6vh) scale(1.12); }
}
@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-6vw, 4vh) scale(1.08); }
}
@keyframes drift3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5vw, -8vh) scale(.92); }
}
@keyframes drift4 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-7vw, -5vh) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none !important; }
}

/* keep content above ambient layer */
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: rgba(246, 244, 239, .82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  letter-spacing: .04em;
  font-weight: 500;
}
.brand-mark {
  width: 36px; height: 36px;
  display: block;
  object-fit: contain;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #4a4842;
  transition: color .2s ease;
}
.nav a:hover { color: #1c1b18; }

/* --- Hero (scroll-shrink logo) --- */
.hero {
  position: relative;
  height: 105vh;    /* spacer — adds breathing room before collections */
}
.hero-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  width: var(--logo-size, 68vmin);
  max-width: none;
  height: auto;
  display: block;
  transform: translate(-50%, calc(-50% + var(--logo-y, 0vh)));
  transform-origin: center;
  opacity: var(--logo-opacity, 1);
  z-index: 5;
  pointer-events: none;
  will-change: width, opacity, transform;
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo { transition: none; }
}

/* --- Collections (homepage) — magazine-style spreads --- */
.collections {
  max-width: 1500px;
  margin: 0 auto;
  padding: 40px 40px 100px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}
.collection {
  display: block;
  text-decoration: none;
  color: inherit;
}
.collection-img {
  margin: 0;
  overflow: hidden;
}
.collection-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1s cubic-bezier(.2,.7,.2,1), filter .6s ease;
  will-change: transform;
}
.collection:hover .collection-img img {
  transform: scale(1.015);
  filter: brightness(1.02);
}
.collection-cap {
  display: flex;
  align-items: baseline;
  gap: 28px;
  padding: 28px 4px 0;
  flex-wrap: wrap;
}
.collection-no {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8a877d;
  flex-shrink: 0;
}
.collection-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -.005em;
  margin: 0;
  color: #1c1b18;
  transition: color .3s ease;
}
.collection-title .dot { display: inline-block; margin: 0 .2em; color: #b8b3a4; font-style: italic; }
.collection:hover .collection-title { color: #000; }

@media (max-width: 800px) {
  .collections { padding: 24px 22px 60px; gap: 70px; }
  .collection-cap { gap: 14px; padding: 18px 0 0; }
}

/* --- Work-page header (no shrinking-logo hero on detail pages) --- */
.work-page .work-head { padding-top: 40px; }
.work-page .work-no .back {
  border-bottom: 1px solid rgba(0,0,0,.2);
  padding-bottom: 1px;
  transition: border-color .2s, color .2s;
}
.work-page .work-no .back:hover { border-color: #1c1b18; }
.work-page.dark .work-no .back { border-bottom-color: rgba(236,232,223,.3); }
.work-page.dark .work-no .back:hover { border-bottom-color: #ece8df; }

/* --- Next works (footer of detail pages) --- */
.next-works {
  max-width: 1300px;
  margin: 60px auto 100px;
  padding: 60px 40px 0;
  border-top: 1px solid rgba(0,0,0,.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.next-card {
  display: block;
  padding: 36px 32px;
  border-radius: 3px;
  background: rgba(255,255,255,.35);
  transition: background .3s ease, transform .3s ease;
  text-decoration: none;
  color: inherit;
}
.next-card:hover {
  background: rgba(255,255,255,.75);
  transform: translateY(-2px);
}
.next-label {
  display: block;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8a877d;
  margin-bottom: 14px;
}
.next-title {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.1;
  color: #1c1b18;
}
@media (max-width: 700px) {
  .next-works { grid-template-columns: 1fr; padding: 40px 22px 0; margin-bottom: 80px; }
  .next-card { padding: 24px 20px; }
}

/* --- Dark page (Hey Stalker detail) — invert the surrounding chrome --- */
.page-dark { background: #0e0e0d; color: #ece8df; }
.page-dark .site-header {
  background: rgba(14,14,13,.85);
  border-bottom-color: rgba(255,255,255,.08);
}
.page-dark .nav a { color: #b8b3a4; }
.page-dark .nav a:hover,
.page-dark .nav a.is-active { color: #ece8df; }
.page-dark .blob { opacity: .15; mix-blend-mode: screen; }
.page-dark .next-works { border-top-color: rgba(255,255,255,.08); }
.page-dark .next-card { background: rgba(255,255,255,.04); }
.page-dark .next-card:hover { background: rgba(255,255,255,.08); }
.page-dark .next-label { color: #8a877d; }
.page-dark .next-title { color: #ece8df; }
.page-dark .site-footer {
  border-top-color: rgba(255,255,255,.08);
  color: #6f6c61;
}

/* --- Active nav state --- */
.nav a.is-active { color: #1c1b18; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* --- Work article --- */
.work {
  padding: 120px 0 140px;
  border-top: 1px solid rgba(0,0,0,.07);
}
.work-head {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 40px;
}
.work-no {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8a877d;
  margin: 0 0 24px;
}
.work-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  margin: 0 0 28px;
  letter-spacing: -.01em;
}
.work-head h2 .dot {
  display: inline-block;
  margin: 0 .25em;
  color: #b8b3a4;
  font-style: italic;
}
.work-meta {
  font-size: 14px;
  letter-spacing: .04em;
  color: #6b6960;
  margin: 0;
  font-style: italic;
}

/* --- Layout pieces --- */
.full {
  margin: 0 auto;
  max-width: 1500px;
  padding: 0 40px;
  overflow: hidden;
}
.full img {
  width: 100%;
  border-radius: 2px;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.full:hover img { transform: scale(1.015); }
.full[data-parallax] img {
  transform: translateY(var(--py, 0));
  transition: none;
}
.full.pale { background: transparent; }
.full figcaption { text-align: center; margin-top: 16px; }

.work-body {
  max-width: 720px;
  margin: 90px auto;
  padding: 0 40px;
}
.work-body p { margin: 0 0 22px; }
.work-body p:last-child { margin-bottom: 0; }
.work-body.two-col {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.work-body.two-col p { margin: 0; }

.pull {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  color: #2d2c27;
}

.duo {
  max-width: 1500px;
  margin: 90px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.duo.offset { align-items: end; }
.duo figure { display: flex; flex-direction: column; }
.duo img { width: 100%; border-radius: 2px; }

.trio {
  max-width: 1500px;
  margin: 32px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.trio-tall { display: flex; }
.trio-tall img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.trio-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 32px; }
.trio-stack img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }

.grid-5 {
  max-width: 1500px;
  margin: 90px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.grid-5 img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; }

/* --- Hey Stalker dark section --- */
.work.dark {
  position: relative;
  background: #0e0e0d;
  color: #ece8df;
  isolation: isolate;
}
.work.dark::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 40% at 70% 20%, rgba(170,150,110,.08) 0%, rgba(0,0,0,0) 70%),
              radial-gradient(40% 30% at 20% 80%, rgba(180,160,120,.07) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: 0;
}
.work.dark > * { position: relative; z-index: 1; }
.work.dark .work-no { color: #6f6c61; }
.work.dark .work-head h2 { color: #ece8df; }
.work.dark .work-meta { color: #a39f93; }
.work.dark .pull { color: #d8d3c5; }
.work.dark figcaption { color: #8a877d; }
.work.dark .set-label { color: #c5c0b1; }

.set {
  max-width: 1300px;
  margin: 90px auto 0;
  padding: 0 40px;
  display: grid;
  gap: 60px;
}
.set-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
}
.set-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  margin: 0;
  letter-spacing: .02em;
}
.set-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.set-pair img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 2px;
}

.lookbook {
  max-width: 1500px;
  margin: 120px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.lookbook figure {
  position: relative;
  transition: z-index 0s linear .35s;
  z-index: 1;
}
.lookbook figure:hover {
  z-index: 10;
  transition: z-index 0s linear 0s;
}
.lookbook img {
  width: 100%;
  aspect-ratio: 569/805;
  object-fit: cover;
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
  transform-origin: center center;
  will-change: transform;
}
.lookbook figure:hover img {
  transform: scale(1.5);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.5);
}

/* --- About / Contact --- */
.about, .contact {
  max-width: 720px;
  margin: 0 auto;
  padding: 140px 40px;
}
.about h2, .contact h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  margin: 0 0 36px;
  letter-spacing: -.005em;
}
.about p { margin: 0 0 18px; color: #2d2c27; }
.contact p { margin: 0 0 12px; color: #2d2c27; }
.contact-line {
  margin-top: 28px !important;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 28px;
}
.contact-line a { border-bottom: 1px solid rgba(0,0,0,.25); padding-bottom: 2px; transition: border-color .2s; }
.contact-line a:hover { border-color: #1c1b18; }

/* --- Footer --- */
.site-footer {
  border-top: 1px solid rgba(0,0,0,.07);
  padding: 40px;
  text-align: center;
  font-size: 12px;
  letter-spacing: .04em;
  color: #8a877d;
}

/* --- Reveal on scroll --- */
.work, .intro, .about, .contact { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .site-header { padding: 16px 22px; }
  .nav { gap: 16px; }
  .nav a { font-size: 11px; letter-spacing: .06em; }
  .intro { padding: 90px 22px 80px; }
  .work { padding: 80px 0 90px; }
  .work-head, .work-body, .full, .duo, .trio, .grid-5, .set, .lookbook,
  .about, .contact { padding-left: 22px; padding-right: 22px; }
  .work-body { margin: 60px auto; }
  .work-body.two-col { grid-template-columns: 1fr; gap: 22px; }
  .duo, .trio { grid-template-columns: 1fr; gap: 16px; }
  .trio-stack { grid-template-rows: auto auto; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .set-row { grid-template-columns: 1fr; gap: 14px; }
  .lookbook { grid-template-columns: repeat(3, 1fr); }
  .about, .contact { padding-top: 90px; padding-bottom: 90px; }
}
@media (max-width: 560px) {
  .nav { display: none; }
  .lookbook { grid-template-columns: repeat(2, 1fr); }
}
