/* ===========================================================
   GABRIELLE PHOTOS — warm, cozy editorial photography portfolio
   =========================================================== */

:root {
  /* Warm neutral palette */
  --cream:      #f6efe6;
  --paper:      #fbf7f1;
  --sand:       #ece2d4;
  --taupe:      #c9b8a3;
  --clay:       #b08d6e;
  --mocha:      #6f5742;
  --cocoa:      #4a3a2d;
  --ink:        #2a221c;
  --gold:       #b8975c;
  --blush:      #e7cdbf;

  --fg:         #2a221c;
  --muted:      #8a7868;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;
  --script:"Pinyon Script", cursive;

  --maxw: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--clay); color: var(--paper); }

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: 0.72rem;
  color: var(--clay);
}
.script {
  font-family: var(--script);
  color: var(--clay);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  font-weight: 400;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0;
}
.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 6vw; }
.section { padding: clamp(80px, 12vh, 160px) 0; position: relative; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 6vw;
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), box-shadow .5s;
  mix-blend-mode: difference;
  color: #fff;
}
.nav.solid {
  mix-blend-mode: normal;
  background: rgba(251, 247, 241, 0.86);
  backdrop-filter: blur(14px);
  color: var(--ink);
  padding: 14px 6vw;
  box-shadow: 0 1px 0 rgba(74,58,45,0.08);
}
.nav__brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  padding-left: 0.34em;
}
.nav__links { display: flex; gap: 34px; align-items: center; }
.nav__links a {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.22em;
  font-weight: 400; position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: currentColor; transition: width 0.4s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  border: 1px solid currentColor; padding: 9px 20px !important; border-radius: 100px;
}
.nav__cta::after { display: none; }
.nav__burger { display: none; background: none; border: 0; color: inherit; cursor: pointer; }
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__burger { display: block; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; }
}

/* ============================================================
   HERO — rolling coverflow carousel
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  background: radial-gradient(120% 80% at 50% 0%, #2c2017 0%, #18120d 60%, #100b07 100%);
  color: var(--paper);
  overflow: hidden;
  text-align: center;
  padding: 120px 4vw 64px;
}
.hero__grain { position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 3px 3px; mix-blend-mode: screen; }

.hero__head { position: relative; z-index: 5; }
.hero__eyebrow { color: var(--taupe); letter-spacing: 0.5em; }
.hero__title {
  font-size: clamp(3.2rem, 11vw, 9.5rem);
  margin: 0.18em 0 0.1em;
  color: var(--paper);
  text-shadow: 0 2px 40px rgba(0,0,0,0.4);
}
.hero__title em { font-style: italic; color: var(--blush); }
.hero__tag {
  font-family: var(--sans); font-weight: 300; letter-spacing: 0.3em;
  text-transform: uppercase; font-size: clamp(0.6rem, 1.2vw, 0.82rem);
  color: var(--taupe);
}

/* coverflow stage */
.coverflow {
  position: relative; z-index: 4;
  width: 100%; height: clamp(300px, 46vh, 480px);
  margin-top: clamp(28px, 5vh, 60px);
  perspective: 1600px;
  display: flex; align-items: center; justify-content: center;
}
.cf-track { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.cf-card {
  position: absolute; top: 50%; left: 50%;
  width: clamp(190px, 20vw, 290px); height: clamp(280px, 40vh, 430px);
  margin: 0; border-radius: 6px; overflow: hidden;
  transition: transform 0.8s var(--ease), opacity 0.8s var(--ease), filter 0.8s var(--ease);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8);
  will-change: transform;
  border: 1px solid rgba(255,255,255,0.08);
}
.cf-card img { width: 100%; height: 100%; object-fit: cover; }
.hero__controls {
  position: relative; z-index: 6; display: flex; gap: 18px; align-items: center;
  margin-top: clamp(20px, 4vh, 44px);
}
.cf-btn {
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1px solid rgba(255,255,255,0.4); color: var(--paper);
  display: grid; place-items: center; transition: all 0.4s var(--ease);
}
.cf-btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cf-btn svg { width: 18px; height: 18px; }
.hero__scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 6;
  font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--taupe);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll span { width: 1px; height: 38px; background: linear-gradient(var(--taupe), transparent); animation: scrollpulse 2.4s var(--ease) infinite; }
@keyframes scrollpulse { 0%,100%{ transform: scaleY(0.4); opacity: .3 } 50%{ transform: scaleY(1); opacity: 1 } }

/* ============================================================
   INTRO / STORY
   ============================================================ */
.intro { background: var(--paper); }
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro__lead {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.22; color: var(--cocoa);
  text-wrap: balance;
}
.intro__lead em { font-style: italic; color: var(--clay); }
.intro__body p { color: var(--muted); margin: 0 0 1.3em; max-width: 46ch; }
.intro__sign { font-family: var(--script); font-size: 2.6rem; color: var(--clay); margin-top: 0.2em; }

/* ============================================================
   ZOOM PARALLAX — scroll-driven signature reveal
   ============================================================ */
.zoom { height: 320vh; position: relative; background: var(--ink); }
.zoom__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.zoom__caption {
  position: absolute; z-index: 20; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; color: var(--paper);
  pointer-events: none; transition: opacity 0.5s var(--ease);
}
.zoom__caption h2 { font-size: clamp(2.4rem, 6vw, 5.4rem); color: var(--paper); }
.zoom__caption .script { color: var(--blush); }
.zoom__el {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; will-change: transform;
}
.zoom__el > div { position: relative; width: 25vw; height: 25vh; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.zoom__el img { width: 100%; height: 100%; object-fit: cover; }
/* positions for the 7 frames (centre + 6 around) */
.zoom__el.z1 > div { top: -30vh; left: 5vw;  height: 30vh; width: 35vw; }
.zoom__el.z2 > div { top: -10vh; left: -25vw; height: 45vh; width: 20vw; }
.zoom__el.z3 > div { left: 27.5vw; height: 25vh; width: 25vw; }
.zoom__el.z4 > div { top: 27.5vh; left: 5vw;  height: 25vh; width: 20vw; }
.zoom__el.z5 > div { top: 27.5vh; left: -22.5vw; height: 25vh; width: 30vw; }
.zoom__el.z6 > div { top: 22.5vh; left: 25vw; height: 18vh; width: 18vw; }

/* ============================================================
   COLLECTION INDEX
   ============================================================ */
.index { background: var(--cream); }
.index__head { text-align: center; max-width: 720px; margin: 0 auto clamp(48px,7vh,90px); }
.index__head h2 { font-size: clamp(2.4rem, 5vw, 4rem); color: var(--cocoa); margin: 0.16em 0; }
.index__head p { color: var(--muted); }
.idx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.idx-card {
  position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; cursor: pointer;
  background: var(--sand);
}
.idx-card:nth-child(1), .idx-card:nth-child(6) { aspect-ratio: 3/4; }
.idx-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 1.2s var(--ease); filter: saturate(0.92); }
.idx-card:hover img { transform: scale(1.06); filter: saturate(1.05); }
.idx-card::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(20,14,9,0.7) 0%, rgba(20,14,9,0.05) 50%); }
.idx-card__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px; color: var(--paper); }
.idx-card__cap .n { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.28em; opacity: 0.7; }
.idx-card__cap h3 { font-size: 1.7rem; color: var(--paper); }
.idx-card__cap .count { font-size: 0.7rem; letter-spacing: 0.2em; opacity: 0.8; text-transform: uppercase; }
@media (max-width: 820px) { .idx-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .idx-grid { grid-template-columns: 1fr; } }

/* ============================================================
   COLLECTION SECTIONS (each category)
   ============================================================ */
.collection { position: relative; padding: clamp(80px,11vh,150px) 0; }
.collection.alt { background: var(--cream); }
.collection__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
  padding: 0 6vw; max-width: var(--maxw); margin: 0 auto clamp(34px,5vh,56px);
}
.collection__head-l { max-width: 640px; }
.collection__num {
  font-family: var(--serif); font-size: 0.9rem; color: var(--clay); letter-spacing: 0.2em;
}
.collection__title { font-size: clamp(2.6rem, 6vw, 5.2rem); color: var(--cocoa); margin: 0.04em 0 0.18em; line-height: 0.96; }
.collection__title .script { display:block; margin-bottom: -0.18em; }
.collection__blurb { color: var(--muted); max-width: 50ch; }
.collection__meta { text-align: right; flex-shrink: 0; }
.collection__meta .big { font-family: var(--serif); font-size: 2.6rem; color: var(--clay); line-height: 1; }
.collection__meta .lbl { font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }

/* marquee row of rolling images */
.marquee { position: relative; overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; will-change: transform; animation: roll var(--dur, 60s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee.rev .marquee__track { animation-direction: reverse; }
@keyframes roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.m-item { position: relative; height: clamp(280px, 42vh, 460px); flex-shrink: 0; border-radius: 4px; overflow: hidden; background: var(--sand); }
.m-item img { height: 100%; width: auto; object-fit: cover; transition: filter .6s var(--ease); }
.m-item:hover img { filter: brightness(1.04) saturate(1.06); }

/* editorial 2-up / stacked layout used by some collections */
.editorial { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; padding: 0 6vw; max-width: var(--maxw); margin: 0 auto; }
.ed { overflow: hidden; border-radius: 4px; background: var(--sand); position: relative; }
.ed img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ed:hover img { transform: scale(1.05); }

/* ============================================================
   PHOTO STACK — playful draggable "stories"
   ============================================================ */
.stack-sec { background: var(--ink); color: var(--paper); text-align: center; overflow: hidden; }
.stack-sec .eyebrow { color: var(--taupe); }
.stack-sec h2 { font-size: clamp(2.6rem,6vw,5rem); color: var(--paper); margin: 0.1em 0 0.5em; }
.stack-sec h2 em { font-style: italic; color: var(--blush); }
.stack { position: relative; height: 360px; margin: 40px auto 0; max-width: 900px; }
.stack-photo {
  position: absolute; top: 50%; left: 50%; width: 230px; height: 300px; margin: -150px 0 0 -115px;
  border-radius: 6px; overflow: hidden; cursor: grab; box-shadow: 0 30px 60px -24px rgba(0,0,0,.7);
  border: 6px solid #fff; transition: transform 0.9s var(--ease), box-shadow .4s;
  touch-action: none; background: #fff;
}
.stack-photo:active { cursor: grabbing; }
.stack-photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(40px,6vw,90px); align-items: center; }
.about__img { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; background: var(--sand); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img .tag { position:absolute; bottom:18px; left:18px; background: var(--paper); color: var(--cocoa); padding: 10px 18px; font-size:0.66rem; letter-spacing:0.24em; text-transform:uppercase; border-radius: 2px; }
.about h2 { font-size: clamp(2.4rem,5vw,4.2rem); color: var(--cocoa); margin: 0.1em 0 0.4em; line-height:1; }
.about h2 em { font-style: italic; color: var(--clay); }
.about__body p { color: var(--muted); margin: 0 0 1.2em; max-width: 52ch; }
.about__stats { display:flex; gap: 40px; margin-top: 28px; flex-wrap: wrap; }
.about__stats .s .num { font-family: var(--serif); font-size: 2.4rem; color: var(--clay); line-height:1; }
.about__stats .s .lbl { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta { background: var(--cocoa); color: var(--paper); text-align: center; }
.cta .script { color: var(--blush); }
.cta h2 { font-size: clamp(2.6rem, 7vw, 6rem); color: var(--paper); margin: 0.1em 0 0.5em; line-height: 0.98; }
.cta p { color: var(--taupe); max-width: 50ch; margin: 0 auto 2.4em; }
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 400; cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.74rem;
  padding: 18px 40px; border-radius: 100px; border: 1px solid var(--paper);
  background: var(--paper); color: var(--cocoa); transition: all 0.4s var(--ease);
}
.btn:hover { background: transparent; color: var(--paper); }
.btn.ghost { background: transparent; color: var(--paper); }
.btn.ghost:hover { background: var(--paper); color: var(--cocoa); }

.footer { background: var(--ink); color: var(--taupe); padding: 70px 6vw 40px; }
.footer__top { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer__brand { font-family: var(--serif); font-size: 2rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--paper); padding-left: 0.3em; }
.footer__brand + p { margin-top: 12px; max-width: 34ch; font-size: 0.92rem; }
.footer__cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer__col h4 { font-family: var(--sans); font-weight: 400; font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--clay); margin: 0 0 14px; }
.footer__col a { display: block; font-size: 0.92rem; margin-bottom: 8px; color: var(--taupe); transition: color .3s; }
.footer__col a:hover { color: var(--paper); }
.footer__base { max-width: var(--maxw); margin: 50px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08); display:flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.74rem; letter-spacing: 0.08em; }

@media (max-width: 880px) {
  .intro__grid, .about__grid { grid-template-columns: 1fr; }
  .collection__head { flex-direction: column; align-items: flex-start; }
  .collection__meta { text-align: left; }
  .zoom { height: 280vh; }
}
