/* ============================================================
   CURATED DREAMS — Main Stylesheet
   styles.css · Version 1.1
   ============================================================

   TABLE OF CONTENTS
   -----------------
   1.  Tokens & Reset
   2.  Nav
   3.  Hero — Text
   4.  Hero — Image Strip
   5.  Hero — Film (Wistia)
   6.  About
   7.  Gallery
   8.  Process
   9.  Promises
   10. Section Intro (shared)
   11. Artists
   12. Prints
   13. Footer
   14. Scroll Reveal
   15. Responsive

   ============================================================ */


/* ============================================================
   1. TOKENS & RESET
   ============================================================ */

:root {
  --white:      #ffffff;
  --off-white:  #f8f7f5;
  --rule:       #e4e2de;
  --ink:        #1a1a18;
  --ink-mid:    #555550;
  --ink-light:  #999990;
  --ink-ghost:  #ccccc4;
  --accent:     #3B6D11;
  --pad-x:      3rem;

  /* Film / video section */
  --film-bg:    #0a0a08;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a   { color: inherit; text-decoration: none; }


/* ============================================================
   2. NAV
   ============================================================ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--pad-x);
  background: rgba(255,255,255,0.96);
  border-bottom: 0.5px solid var(--rule);
  backdrop-filter: blur(10px);
}

.nav-logo {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 400;
}

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

.nav-links li a {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light);
  transition: color 0.2s;
}
.nav-links li a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 0.5px;
  background: var(--ink);
}


/* ============================================================
   3. HERO — TEXT
   ============================================================ */

.hero {
  padding: 12rem var(--pad-x) 5rem;
  max-width: 860px;
}

.hero-kicker {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
}

.hero-body {
  font-size: 12px;
  line-height: 2.0;
  color: var(--ink-mid);
  max-width: 380px;
  margin-bottom: 3rem;
}

.link-underline {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border-bottom: 0.5px solid var(--ink);
  padding-bottom: 4px;
  transition: opacity 0.2s;
}
.link-underline:hover { opacity: 0.4; }


/* ============================================================
   4. HERO — IMAGE STRIP
   ============================================================ */

.hero-strip {
  padding: 0 var(--pad-x) 8rem;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.hero-strip-item {
  overflow: hidden;
  background: var(--off-white);
}

.hero-strip-item:nth-child(1) { aspect-ratio: 2/3; margin-top: 0; }
.hero-strip-item:nth-child(2) { aspect-ratio: 2/3; margin-top: 4rem; }
.hero-strip-item:nth-child(3) { aspect-ratio: 2/3; margin-top: 1.5rem; }
.hero-strip-item:nth-child(4) { aspect-ratio: 2/3; margin-top: 5.5rem; }

.hero-strip-item img { transition: transform 1s ease; }
.hero-strip-item:hover img { transform: scale(1.04); }


/* ============================================================
   5. HERO — FILM (WISTIA)
   ============================================================ */

/* Wistia swatch placeholder — prevents layout shift while loading */
wistia-player[media-id='kgytzbphk6']:not(:defined) {
  background: center / cover no-repeat url('https://fast.wistia.com/embed/medias/kgytzbphk6/swatch');
  display: block;
  filter: blur(5px);
  padding-top: 56.25%;
}

.hero-film {
  width: 100%;
  background: var(--white);
  margin-top: 0;
  margin-bottom: 0;
  padding: 3rem var(--pad-x); /* equal white border on all four sides */
}

.hero-film__inner {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Responsive 16:9 ratio wrapper */
.hero-film__ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.hero-film__ratio wistia-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Caption below the player, within the white-bordered section */
.hero-film__caption {
  text-align: center;
  padding: 1.2rem 0 0;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-light);
  font-family: 'Montserrat', sans-serif;
}

/*
  TO ADD FUTURE FILMS:
  Duplicate .hero-film in the HTML with a new Wistia media-id.
  Add the corresponding wistia-player:not(:defined) swatch rule here,
  replacing kgytzbphk6 with the new video ID.
*/


/* ============================================================
   6. ABOUT
   ============================================================ */

.about-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 5rem;
  padding: 6rem var(--pad-x) 7rem;
  border-top: 0.5px solid var(--rule);
}

.about-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  padding-top: 6px;
}

.about-right h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2rem;
  max-width: 540px;
}

.about-right p {
  font-size: 12px;
  line-height: 2.0;
  color: var(--ink-mid);
  max-width: 520px;
  margin-bottom: 1.2rem;
}
.about-right p:last-child { margin-bottom: 0; }


/* ============================================================
   7. GALLERY
   ============================================================ */

.gallery-outer {
  padding: 0 var(--pad-x) 8rem;
  border-top: 0.5px solid var(--rule);
}

.gallery-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2.5rem 0;
  border-bottom: 0.5px solid var(--rule);
  margin-bottom: 3.5rem;
}

.gallery-header-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-ghost);
}

.gallery-header-count {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink-ghost);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--off-white);
}

.gallery-item:nth-child(1) { aspect-ratio: 3/4; margin-top: 0; }
.gallery-item:nth-child(2) { aspect-ratio: 3/4; margin-top: 3rem; }
.gallery-item:nth-child(3) { aspect-ratio: 3/4; margin-top: 1rem; }
.gallery-item:nth-child(4) { aspect-ratio: 3/4; margin-top: 4rem; }

.gallery-item img { transition: transform 0.9s ease; }
.gallery-item:hover img { transform: scale(1.04); }

.gallery-caption {
  position: absolute;
  bottom: 0.9rem;
  left: 0.9rem;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}


/* ============================================================
   8. PROCESS
   ============================================================ */

.process-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 5rem;
  padding: 6rem var(--pad-x) 7rem;
  border-top: 0.5px solid var(--rule);
}

.process-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  padding-top: 6px;
}

.steps { display: flex; flex-direction: column; }

.step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-bottom: 0.5px solid var(--rule);
}
.step:first-child { border-top: 0.5px solid var(--rule); }

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--ink-ghost);
  line-height: 1;
  padding-top: 2px;
}

.step-title {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.step-body {
  font-size: 11px;
  line-height: 1.9;
  color: var(--ink-mid);
}


/* ============================================================
   9. PROMISES
   ============================================================ */

.promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
}

.promise {
  padding: 3rem var(--pad-x);
  border-right: 0.5px solid var(--rule);
}
.promise:last-child { border-right: none; }

.promise-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.promise-copy {
  font-size: 11px;
  line-height: 1.9;
  color: var(--ink-mid);
}


/* ============================================================
   10. SECTION INTRO — shared for artists + prints
   ============================================================ */

.section-intro {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 5rem;
  padding: 6rem var(--pad-x) 5rem;
  border-top: 0.5px solid var(--rule);
}

.section-intro-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  padding-top: 6px;
}

.section-intro-right h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.4rem;
}

.section-intro-right p {
  font-size: 12px;
  line-height: 2.0;
  color: var(--ink-mid);
  max-width: 480px;
}


/* ============================================================
   12. ARTISTS
   ============================================================ */

.artists-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
}

.artist-card {
  padding: 5rem var(--pad-x);
  border-right: 0.5px solid var(--rule);
}
.artist-card:last-child { border-right: none; }

.artist-role {
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  margin-bottom: 1.4rem;
}

.artist-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 2.5rem;
}

.artist-bio {
  font-size: 12px;
  line-height: 2.0;
  color: var(--ink-mid);
  margin-bottom: 1rem;
  max-width: 420px;
}

.client-list {
  margin-top: 2.5rem;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-ghost);
  line-height: 2.2;
}

.client-list strong {
  display: block;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  margin-bottom: 0.7rem;
}

.artist-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2.5rem;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mid);
  border-bottom: 0.5px solid var(--rule);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.artist-link:hover { color: var(--ink); border-color: var(--ink); }

.artist-link--instagram {
  margin-top: 0.6rem;
  color: var(--ink-ghost);
  border-bottom-color: transparent;
}
.artist-link--instagram:hover { color: var(--ink); border-color: var(--ink); }


/* ============================================================
   13. PRINTS
   ============================================================ */

.prints-outer {
  border-top: 0.5px solid var(--rule);
}

.prints-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  padding: 5rem var(--pad-x) 4rem;
  border-bottom: 0.5px solid var(--rule);
}

.prints-header-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.prints-header-left p {
  font-size: 11px;
  color: var(--ink-mid);
  line-height: 1.8;
}

.prints-header-right {
  font-size: 10px;
  color: var(--ink-light);
  line-height: 2.0;
  max-width: 280px;
  text-align: right;
  flex-shrink: 0;
}

.print-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem 3rem;
  padding: 5rem var(--pad-x) 6rem;
}

.print-cell { display: flex; flex-direction: column; }

.print-img-wrap {
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--off-white);
  margin-bottom: 1.4rem;
}

.print-img-wrap img { transition: transform 0.8s ease; }
.print-cell:hover .print-img-wrap img { transform: scale(1.03); }

.print-series {
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  margin-bottom: 4px;
}

.print-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

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

.print-edition {
  font-size: 9px;
  color: var(--ink-ghost);
}

.print-price {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

.print-status {
  display: inline-block;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px 7px;
  border: 0.5px solid var(--rule);
  color: var(--ink-light);
  margin-top: 4px;
}
.print-status.available {
  border-color: var(--accent);
  color: var(--accent);
}

.prints-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 3rem var(--pad-x) 5rem;
  border-top: 0.5px solid var(--rule);
}

.prints-cta p {
  font-size: 11px;
  color: var(--ink-mid);
  line-height: 1.9;
  max-width: 500px;
}

.enquire-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: 0.5px solid var(--ink-light);
  padding: 13px 28px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.enquire-btn:hover { background: var(--off-white); }


/* ============================================================
   14. FOOTER
   ============================================================ */

footer {
  padding: 2.5rem var(--pad-x);
  border-top: 0.5px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.footer-copy {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ink-ghost);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-social-link {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  transition: color 0.2s;
}
.footer-social-link:hover { color: var(--ink); }

.footer-social-divider {
  color: var(--ink-ghost);
  font-size: 9px;
}


/* ============================================================
   15. SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: none; }


/* ============================================================
   16. RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  :root { --pad-x: 2rem; }
  .hero-strip { gap: 1rem; }
  .gallery-grid { gap: 1rem; }
  .print-grid { gap: 3.5rem 2rem; }
}

@media (max-width: 900px) {
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-strip-item:nth-child(n) { margin-top: 0; }
  .hero-strip-item:nth-child(2) { margin-top: 3rem; }
  .hero-strip-item:nth-child(4) { margin-top: 3rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(n) { margin-top: 0; }
  .gallery-item:nth-child(even) { margin-top: 2rem; }
  .print-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrap,
  .process-wrap,
  .section-intro { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --pad-x: 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1.5rem var(--pad-x);
    gap: 1.2rem;
    border-bottom: 0.5px solid var(--rule);
  }
  .nav-links.open { display: flex; }
  .artists-grid { grid-template-columns: 1fr; }
  .artist-card { border-right: none; border-bottom: 0.5px solid var(--rule); }
  .artist-card:last-child { border-bottom: none; }
  .promises { grid-template-columns: 1fr; }
  .promise { border-right: none; border-bottom: 0.5px solid var(--rule); }
  .promise:last-child { border-bottom: none; }
  .prints-header { flex-direction: column; align-items: flex-start; }
  .prints-header-right { text-align: left; }
  .prints-cta { flex-direction: column; align-items: flex-start; }

  /* Film section — full bleed on mobile */
  .hero-film { margin-top: 3rem; margin-bottom: 5rem; }

  /* Strip — tighter columns on mobile, still scrollable */
  .hero-strip-item--still { flex: 0 0 160px; }
  .hero-strip-item--film  { flex: 0 0 280px; }
  /* Remove stagger offsets on small screens */
  .hero-strip-item--still:nth-of-type(n) { margin-top: 0; }
}

@media (max-width: 500px) {
  .hero-strip,
  .gallery-grid,
  .print-grid { grid-template-columns: 1fr; }
  .hero-strip-item:nth-child(n),
  .gallery-item:nth-child(n) { margin-top: 0; }
}
