/* ============================================================
   welcomeeditions.art — Welcome Edition #10 · Shahzia Sikander
   ============================================================ */

/* --- Reset & Base --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=DM+Serif+Display:ital@0;1&display=swap');

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

:root {
  --bg: #FFFFFF;
  --bg-tinted: #F8F6F2;
  --near-black: #1A1A1A;
  --mid: #6B6660;
  --muted: #B0AAA4;
  --accent: #5C4422;
  --accent-light: #C8A97E;
  --light-border: #E2DDD8;
  --overlay: rgba(50, 47, 44, 0.55);
  --nav-height: 60px;
  --max-width: 1200px;
  --text-width: 750px;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding-top: var(--nav-height);
}

/* Scroll-snap: major sections pause as you scroll */
.hero { scroll-snap-align: start; scroll-snap-stop: always; }
.edition-grid { scroll-snap-align: start; }
.interior-gallery { scroll-snap-align: start; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; padding-top: 60px; }
.about-edition { scroll-snap-align: start; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; padding-top: 60px; }
.artist-section { scroll-snap-align: start; min-height: 100vh; align-content: center; position: relative; padding-top: 60px; }
.press-section { scroll-snap-align: start; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; padding-top: 60px; }
.gallery-section { scroll-snap-align: start; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; padding-top: 60px; }
.artisans-section { scroll-snap-align: start; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; padding-top: 60px; }
.prev-editions { scroll-snap-align: start; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; padding-top: 60px; }
.footer { scroll-snap-align: end; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--near-black);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: opacity 0.2s, font-weight 0.2s; }
a:hover { opacity: 0.85; font-weight: 500; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.text-container {
  max-width: var(--text-width);
  margin: 0 auto;
  padding: 0 40px;
}


/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav--transparent { background: transparent; }
.nav--solid {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 var(--light-border);
}

.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav__link {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}

.nav--transparent .nav__link { color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.nav--transparent .nav__link:hover { color: #fff; opacity: 1; }
.nav--solid .nav__link { color: var(--mid); text-shadow: none; }
.nav--solid .nav__link:hover { color: var(--near-black); opacity: 1; }

.nav__btn {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 9px 22px;
  border-radius: 2px;
  border: 1px solid;
  transition: all 0.2s;
}

.nav--transparent .nav__btn { border-color: var(--accent); color: var(--accent-light); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.nav--transparent .nav__btn:hover { background: var(--accent); color: #fff; opacity: 1; text-shadow: none; }
.nav--solid .nav__btn { border-color: var(--near-black); color: var(--near-black); }
.nav--solid .nav__btn:hover { background: var(--near-black); color: #fff; opacity: 1; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 12px;
  -webkit-tap-highlight-color: transparent;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  transition: background 0.2s;
}
.nav--transparent .nav__hamburger span { background: rgba(255,255,255,0.8); }
.nav--solid .nav__hamburger span { background: var(--near-black); }

.nav__mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: #fff;
  padding: 24px 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  flex-direction: column;
  gap: 20px;
  z-index: 99;
}
.nav__mobile-menu.open { display: flex; }
.nav__mobile-menu a {
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--near-black);
}


/* --- S1: Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2A2520 0%, #3D3530 50%, #4A4038 100%);
}

.hero__bg img,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 6, 0.85) 0%, rgba(15, 13, 11, 0.35) 30%, transparent 50%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 60px 80px;
}

.hero__artist {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  font-size: 48px;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero__edition {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.hero__specs {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero__price {
  font-size: 20px;
  color: var(--accent-light);
  letter-spacing: 0.04em;
  font-weight: 300;
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 2;
}


/* --- S2: Dual Statement --- */
.dual-statement {
  padding: 100px 40px;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.dual-statement__col {
  font-size: 17px;
  line-height: 1.8;
  color: var(--mid);
}


/* --- Section Separators --- */
.section-separator {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.section-separator::before,
.section-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--light-border);
}

.section-separator__diamond {
  width: 6px;
  height: 6px;
  background: var(--muted);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.5;
}

/* --- S3: Edition Grid --- */
.edition-grid {
  padding: 60px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.edition-grid__header {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--light-border);
  max-width: var(--text-width);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.tile-thumb {
  aspect-ratio: 17 / 20;
  background: var(--bg-tinted);
  border: 1px solid var(--light-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  overflow: hidden;
  text-decoration: none;
}

.tile-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  background: var(--bg-tinted);
}

.tile-thumb__num {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 4;
  font-size: 12px;
  color: var(--mid);
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.8);
  padding: 4px 0;
}

.tile-thumb__view {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2;
}

.tile-thumb__view span {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.tile-thumb:hover .tile-thumb__view { opacity: 1; }
.tile-thumb:hover { border-color: var(--muted); }

.tile-thumb--acquired img {
  opacity: 0.15;
  filter: grayscale(1);
}
.tile-thumb--acquired::after {
  content: 'ACQUIRED';
  position: absolute;
  inset: 0 0 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mid);
  font-weight: 500;
  z-index: 3;
}
.tile-thumb--acquired .tile-thumb__view { display: none; }
.tile-thumb--acquired:hover { border-color: var(--muted); }

.tile-thumb--placeholder img {
  opacity: 0.12;
  filter: grayscale(1);
}


/* --- S4: Video --- */
.video-section {
  padding: 80px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.video-section__caption {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
}

.video-section__embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--near-black);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-section__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.play-btn {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn::after {
  content: '';
  border: 8px solid transparent;
  border-left: 14px solid rgba(255, 255, 255, 0.5);
  margin-left: 4px;
}


/* --- S5: Mid CTA --- */
.mid-cta {
  padding: 70px 40px;
  text-align: center;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}

.mid-cta a {
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--accent);
}


/* --- S6 & S10: Long Text --- */
.text-section {
  padding: 80px 40px;
  max-width: var(--text-width);
  margin: 0 auto;
}

.text-section__heading {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--near-black);
}

.text-section__body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--mid);
}

.text-section__body p + p { margin-top: 1.4em; }


/* --- Interior Gallery (carousel) --- */
.interior-gallery {
  padding: 50px 40px 60px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.interior-gallery__heading {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 8px;
}

.interior-gallery__caption {
  text-align: center;
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 32px;
}

.interior-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.interior-carousel__track {
  overflow: hidden;
  position: relative;
}

.interior-slide {
  display: none;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 2px;
}

.interior-slide.active {
  display: block;
  animation: interiorSlideIn 0.4s ease;
}

.interior-slide.slide-out-left {
  display: block;
  animation: interiorSlideOutLeft 0.4s ease forwards;
  position: absolute;
  top: 0; left: 0; right: 0;
}

.interior-slide.slide-out-right {
  display: block;
  animation: interiorSlideOutRight 0.4s ease forwards;
  position: absolute;
  top: 0; left: 0; right: 0;
}

@keyframes interiorSlideIn {
  from { opacity: 0; transform: translateX(var(--slide-dir, 60px)); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes interiorSlideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-60px); }
}

@keyframes interiorSlideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(60px); }
}

.interior-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interior-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--muted);
  border-radius: 50%;
  color: var(--mid);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: border-color 0.2s, color 0.2s;
}

.interior-carousel__arrow:hover {
  border-color: var(--near-black);
  color: var(--near-black);
}

.interior-carousel__arrow--prev { left: -52px; }
.interior-carousel__arrow--next { right: -52px; }

.interior-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.interior-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  background: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.interior-carousel__dot.active {
  background: var(--near-black);
  border-color: var(--near-black);
}

/* --- About Edition (below tile grid) --- */
.about-edition {
  padding: 50px 40px 60px;
  max-width: var(--text-width);
  margin: 0 auto;
}

.about-edition__heading {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--near-black);
}

.about-edition__body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--mid);
}

.about-edition__body p + p { margin-top: 1.4em; }

/* --- S7: Process Gallery (carousel) --- */
.gallery-section {
  padding: 60px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-section__heading {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 6px;
}

.gallery-section__caption {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
}

.process-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-carousel__track {
  overflow: hidden;
  position: relative;
}

.process-slide {
  display: none;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
}

.process-slide.active {
  display: block;
  animation: processSlideIn 0.4s ease;
}

.process-slide.slide-out-left {
  display: block;
  animation: processSlideOutLeft 0.4s ease forwards;
  position: absolute;
  top: 0; left: 0; right: 0;
}

.process-slide.slide-out-right {
  display: block;
  animation: processSlideOutRight 0.4s ease forwards;
  position: absolute;
  top: 0; left: 0; right: 0;
}

@keyframes processSlideIn {
  from { opacity: 0; transform: translateX(var(--slide-dir, 60px)); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes processSlideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-60px); }
}

@keyframes processSlideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(60px); }
}

.process-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--muted);
  border-radius: 50%;
  color: var(--mid);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: border-color 0.2s, color 0.2s;
}

.process-carousel__arrow:hover {
  border-color: var(--near-black);
  color: var(--near-black);
}

.process-carousel__arrow--prev { left: -52px; }
.process-carousel__arrow--next { right: -52px; }

.process-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.process-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  background: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.process-carousel__dot.active {
  background: var(--near-black);
  border-color: var(--near-black);
}


/* --- S8: Artist Bio --- */
.artist-section {
  padding: 60px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.artist-section__photo {
  aspect-ratio: 3 / 4;
  background: #DDD9D4;
  overflow: hidden;
}

.artist-section__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-section__name {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 16px;
}

.artist-section__bio {
  font-size: 17px;
  line-height: 1.8;
  color: var(--mid);
}

.artist-section__bio p + p { margin-top: 1.4em; }

.artist-section__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 15px;
  color: var(--accent);
}


/* --- S9: Press --- */
.press-section {
  padding: 60px 40px;
  max-width: var(--text-width);
  margin: 0 auto;
}

.press-section__heading {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 24px;
}

.press-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--light-border);
  font-size: 16px;
  line-height: 1.5;
  color: var(--mid);
}

.press-item:first-of-type { border-top: 1px solid var(--light-border); }

.press-item__pub { font-weight: 500; color: var(--near-black); }
.press-item__link { color: var(--accent); }


/* --- S10: Welcome Project (tinted bg) --- */
.welcome-section {
  background: var(--bg-tinted);
  padding: 100px 40px;
}

.welcome-section .text-section {
  padding: 0;
}


/* --- S11: Artisans Carousel --- */
.artisans-section {
  padding: 60px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.artisans-section__heading {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 24px;
}

.artisan-carousel {
  position: relative;
}

.artisan-carousel__track {
  overflow: hidden;
  position: relative;
}

.artisan-slide {
  display: none;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.artisan-slide.active {
  display: grid;
  animation: artisanSlideIn 0.4s ease;
}

.artisan-slide.slide-out-left {
  display: grid;
  animation: artisanSlideOutLeft 0.4s ease forwards;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.artisan-slide.slide-out-right {
  display: grid;
  animation: artisanSlideOutRight 0.4s ease forwards;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

@keyframes artisanSlideIn {
  from { opacity: 0; transform: translateX(var(--slide-dir, 60px)); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes artisanSlideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-60px); }
}

@keyframes artisanSlideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(60px); }
}

.artisan-slide__photo {
  aspect-ratio: 1;
  background: #E2DDD8;
  overflow: hidden;
}

.artisan-slide__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artisan-slide__text {
  padding-top: 4px;
}

.artisan-slide__name {
  font-size: 18px;
  font-weight: 500;
  color: var(--near-black);
}

.artisan-slide__name a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--light-border);
}

.artisan-slide__name a:hover {
  border-color: var(--near-black);
}

.artisan-slide__sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}

.artisan-slide__bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mid);
  margin-top: 12px;
}

.artisan-carousel__arrow {
  position: absolute;
  top: 130px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--light-border);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: var(--mid);
  cursor: pointer;
  z-index: 2;
  transition: border-color 0.2s, color 0.2s;
}

.artisan-carousel__arrow:hover {
  border-color: var(--near-black);
  color: var(--near-black);
}

.artisan-carousel__arrow--prev { left: -52px; }
.artisan-carousel__arrow--next { right: -52px; }

.artisan-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.artisan-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  background: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.artisan-carousel__dot.active {
  background: var(--near-black);
  border-color: var(--near-black);
}


/* --- S12: Previous Editions --- */
.prev-editions {
  padding: 60px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.prev-editions__heading {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 24px;
}

.prev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

a.prev-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.prev-card:hover {
  opacity: 1;
  font-weight: inherit;
}

a.prev-card:hover .prev-card__artist {
  color: var(--accent);
}

.prev-card__thumb {
  aspect-ratio: 1;
  background: #EAE7E2;
  border: 1px solid var(--light-border);
  position: relative;
  overflow: hidden;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.prev-card__thumb--sold::after {
  content: 'SOLD OUT';
  position: absolute;
  inset: 0;
  background: rgba(50, 47, 44, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #fff;
  font-weight: 500;
}

.prev-card__artist {
  font-size: 14px;
  color: var(--near-black);
  font-weight: 500;
}

.prev-card__edition {
  font-size: 13px;
  color: var(--muted);
}

.prev-editions__contact {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.6;
  margin-top: 24px;
  max-width: var(--text-width);
}


/* --- S13: Footer --- */
.footer {
  background: var(--near-black);
  padding: 40px;
  margin-top: 0;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer__text {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.8;
}

.footer__text a { color: var(--accent); }

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer__share {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__share-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
}

.footer__share-link {
  color: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.footer__share-link:hover { color: var(--accent-light); opacity: 1; }

.footer__copy-link.copied { color: #8fbc8f; }



/* ============================================================
   Tile Detail Page
   ============================================================ */
.tile-detail {
  padding-top: var(--nav-height);
}

.tile-detail__layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: start;
}

.tile-detail__image-col {
  display: flex;
  flex-direction: column;
}

/* Flip card container */
.tile-detail__image-wrap {
  perspective: 1200px;
  aspect-ratio: 17 / 20;
  position: relative;
  scroll-margin-top: calc(var(--nav-height) + 16px);
  max-height: calc(100vh - var(--nav-height) - 120px);
}

.tile-detail__image {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.tile-detail__image.flipped {
  transform: rotateY(180deg);
}

.tile-detail__image-front,
.tile-detail__image-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  background: #fff;
  overflow: hidden;
}

.tile-detail__image-back {
  transform: rotateY(180deg);
}

.tile-detail__image-front img,
.tile-detail__image-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-detail__image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 14px;
  color: var(--muted);
}

.tile-detail__image-wrap--acquired {
  cursor: default;
  overflow: hidden;
}

.tile-detail__acquired-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: grayscale(1);
}

.tile-detail__acquired-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-detail__acquired-label {
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.tile-detail__acquired-note {
  font-size: 14px;
  color: var(--mid);
  margin-top: 8px;
}

.tile-detail__flip-hint {
  display: none;
}

.tile-detail__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.tile-detail__toolbar-btn {
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mid);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.2s;
}

.tile-detail__toolbar-btn:hover {
  color: var(--near-black);
}

.tile-detail__toolbar-center {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tile-detail__toolbar-sep {
  color: var(--muted);
  font-size: 12px;
}

.tile-detail__toolbar-btn--zoom,
.tile-detail__toolbar-btn--flip {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tile-detail__info {
  padding-top: 4px;
}

.tile-detail__label {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.tile-detail__artist {
  font-size: 18px;
  color: var(--near-black);
  font-weight: 500;
  margin-bottom: 16px;
}

.tile-detail__specs {
  font-size: 15px;
  color: var(--mid);
  line-height: 2;
  margin-bottom: 20px;
}

.tile-detail__price {
  font-size: 28px;
  color: var(--near-black);
  font-weight: 300;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.tile-detail__shipping {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.5;
  margin-bottom: 28px;
}

.tile-detail__acquired {
  font-size: 16px;
  color: var(--mid);
  padding: 20px 0;
  border-top: 1px solid var(--light-border);
  font-style: italic;
}

.tile-detail__back {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  color: var(--accent);
}


/* --- Inquiry Form --- */
.inquiry-form {
  border-top: 1px solid var(--light-border);
  padding-top: 24px;
  margin-top: 8px;
}

.inquiry-form__heading {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}

.inquiry-form__note {
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 20px;
  line-height: 1.6;
}

.form-field { margin-bottom: 14px; }

.form-field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--light-border);
  background: var(--bg-tinted);
  border-radius: 2px;
  font-family: inherit;
  font-size: 15px;
  color: var(--near-black);
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-field input[readonly] {
  background: #EDEAE5;
  color: var(--mid);
  cursor: default;
}

.form-field textarea { min-height: 80px; resize: vertical; }

.form-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--near-black);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 20px;
}

.form-submit:hover { background: #333; }

.form-payment-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.6;
}

.form-success {
  display: none;
  padding: 20px;
  background: var(--bg-tinted);
  border: 1px solid var(--light-border);
  border-radius: 2px;
  font-size: 15px;
  color: var(--mid);
  line-height: 1.6;
  margin-top: 16px;
}


/* ============================================================
   About Page
   ============================================================ */
.about-page {
  padding-top: var(--nav-height);
}

.about-page__content {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

.about-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--light-border);
}

.about-section:first-child { padding-top: 0; }
.about-section:last-child { border-bottom: none; }

.about-section__heading {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
}

.about-section__heading--sm {
  font-size: 20px;
}

.about-section__body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--mid);
}

.about-section__body p + p { margin-top: 1.4em; }

.about-section__image {
  width: 100%;
  display: block;
}

.about-section__credit {
  font-size: 13px;
  color: var(--muted);
  font-style: normal;
}

/* --- Edition Detail Pages --- */
/* Disable scroll-snap on subpages (snap is on html, so override via body class) */
html:has(.edition-detail) { scroll-snap-type: none; }
html:has(.tile-detail) { scroll-snap-type: none; }
html:has(.about-page) { scroll-snap-type: none; }

.edition-detail__image-wrap {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edition-detail__image-wrap img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - var(--nav-height) - 120px);
  display: block;
  object-fit: contain;
}

.edition-detail__image-wrap--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}

.edition-detail__project-title {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  color: var(--mid);
  margin-bottom: 16px;
}

.edition-detail__status {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.edition-detail__status--available {
  color: var(--accent);
  font-weight: 500;
}

.edition-detail__status--sold {
  color: var(--muted);
}

.edition-detail__description {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--light-border);
}

.edition-detail__description p + p {
  margin-top: 1.2em;
}

.edition-detail__contact {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 8px;
}

.edition-detail__bio {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 24px;
}

.edition-detail__press {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--light-border);
}

.edition-detail__press-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid);
  margin-bottom: 10px;
}

.edition-detail__press-list {
  list-style: none;
  padding: 0;
}

.edition-detail__press-list li {
  margin-bottom: 6px;
}

.edition-detail__press-list a {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  line-height: 1.5;
}

.edition-detail__press-list a:hover {
  text-decoration: underline;
}


/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000;
  overflow: hidden;
}

.lightbox.open { display: block; }

.lightbox img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  background: #000;
  transform-origin: 0 0;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
  transition: transform 0.2s ease-out;
}

.lightbox img.dragging { cursor: grabbing; transition: none; }
.lightbox img.pinching { transition: none; }

.lightbox__hint {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 28px;
  color: #fff;
  padding: 8px 12px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  background: none;
  border: none;
  font-family: inherit;
}

.lightbox__close:hover { opacity: 1; }

.lightbox__slider-wrap {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 210;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 12px;
  touch-action: none;
}
.lightbox__slider-wrap:hover { opacity: 1; }
.lightbox__slider-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  user-select: none;
  line-height: 1;
}
.lightbox__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 160px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  touch-action: none;
}
.lightbox__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.lightbox__slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
}

@media (max-width: 640px) {
  .lightbox__slider {
    width: 200px;
    height: 4px;
  }
  .lightbox__slider::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
  }
  .lightbox__slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
  }
  .lightbox__slider-wrap {
    bottom: 32px;
    opacity: 1;
  }
}


/* ============================================================
   Responsive
   ============================================================ */

/* Tablet — keep scroll snap but drop min-height (sections stack taller) */
@media (max-width: 960px) {
  .interior-gallery, .about-edition, .press-section,
  .gallery-section, .artisans-section, .prev-editions { min-height: unset; }
  .artist-section { min-height: unset; }

  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .artist-section { grid-template-columns: 1fr; gap: 30px; }
  .artist-section__photo { max-width: 300px; }
  .tile-detail__layout { grid-template-columns: 1fr; }
  .tile-detail__image { max-width: 600px; }
  .prev-grid { grid-template-columns: repeat(3, 1fr); }
  .artisan-carousel__arrow--prev { left: -44px; }
  .artisan-carousel__arrow--next { right: -44px; }
  .interior-carousel__arrow--prev { left: -44px; }
  .interior-carousel__arrow--next { right: -44px; }
  .process-carousel__arrow--prev { left: -44px; }
  .process-carousel__arrow--next { right: -44px; }
  .footer__inner { flex-direction: column; gap: 16px; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --nav-height: 56px; }

  .nav { padding: 0 20px; }
  .nav__links { display: none; }
  .nav__btn--desktop { display: none; }
  .nav__hamburger { display: flex; }

  .hero__content { padding: 0 24px 60px; }
  .hero__artist { font-size: 32px; }
  .hero__edition { font-size: 17px; }
  .hero__specs { font-size: 14px; }
  .hero__price { font-size: 17px; }

  .dual-statement {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 30px;
  }

  .edition-grid { padding: 48px 24px; }
  .about-edition { padding: 40px 24px 48px; }
  .section-separator { padding: 0 24px; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }

  .video-section { padding: 60px 24px; }
  .mid-cta { padding: 50px 24px; }

  .text-section { padding: 60px 24px; }
  .text-section__heading { font-size: 24px; }

  .gallery-section { padding: 48px 24px; }
  .process-carousel__arrow--prev { left: 8px; background: rgba(255,255,255,0.7); }
  .process-carousel__arrow--next { right: 8px; background: rgba(255,255,255,0.7); }

  .interior-gallery { padding: 40px 24px 48px; }
  .interior-carousel__arrow--prev { left: 8px; background: rgba(255,255,255,0.7); }
  .interior-carousel__arrow--next { right: 8px; background: rgba(255,255,255,0.7); }

  .artist-section { padding: 48px 24px; grid-template-columns: 1fr; }

  .press-section { padding: 48px 24px; }

  .welcome-section { padding: 48px 24px; }

  .artisans-section { padding: 48px 24px; }
  .artisan-slide.active { grid-template-columns: 1fr; gap: 20px; }
  .artisan-slide__photo { max-width: 240px; }
  .artisan-carousel__arrow { top: 120px; }
  .artisan-carousel__arrow--prev { left: 0; }
  .artisan-carousel__arrow--next { right: 0; }

  .prev-editions { padding: 48px 24px; }
  .prev-grid { grid-template-columns: repeat(2, 1fr); }

  .footer { padding: 30px 24px; }

  .tile-detail__layout { padding: 30px 24px; }
  .tile-detail__toolbar-btn { font-size: 12px; }
  .tile-detail__toolbar-btn--zoom,
  .tile-detail__toolbar-btn--flip { font-size: 11px; }
  .tile-detail__toolbar { padding: 8px 0; }

  .about-page__content { padding: 40px 24px 60px; }

  .container, .text-container { padding: 0 24px; }
}
