/* ================================================================
   ROOT / RESET
=============================================================== */
:root{
  --white:#ffffff;
  --ink:#1a1a1a;
  --ink-soft:#6b6b6b;
  --hair:rgba(26,26,26,0.12);
  --serif:'Cormorant Garamond', serif;
  --sans:'Lato', sans-serif;
  --pad-x: 8vw;
  --gap: 3vw;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html,body{ height:100%; }
body{
  background:var(--white);
  color:var(--ink);
  font-family:var(--sans);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

/* ================================================================
   PHOTO PLACEHOLDERS
   Replace with <img src="..."> — keep the same class names so
   sizing rules below continue to apply.
=============================================================== */
.photo-placeholder{
  position:relative;
  background:#fafafa;
  border:1px solid var(--hair);
  overflow:hidden;
}
.photo-placeholder::before{
  content:'';
  position:absolute; inset:0;
  background-image:
    linear-gradient(45deg, var(--hair) 1px, transparent 1px),
    linear-gradient(-45deg, var(--hair) 1px, transparent 1px);
  background-size:100% 100%;
  background-position:0 0, 100% 0;
  background-repeat:no-repeat;
  opacity:.5;
}
.photo-placeholder::after{
  content:attr(data-label);
  position:absolute; bottom:14px; left:14px;
  font-family:var(--sans); font-size:10px; letter-spacing:.18em;
  text-transform:uppercase; color:var(--ink-soft);
}
.photo-placeholder:has(img)::before,
.photo-placeholder:has(img)::after{ display:none; }
.photo-placeholder img{
  position:relative; z-index:1;
  width:100%; height:100%;
  object-fit:cover;
}
.photo-02::after{ content:'Image 02'; }
.photo-03::after{ content:'Image 03'; }
.photo-04::after{ content:'Image 04'; }
.photo-05::after{ content:'Image 05'; }
.photo-06::after{ content:'Image 06'; }
.photo-07::after{ content:'Image 07'; }

/* ================================================================
   MINIMAL NAVIGATION
=============================================================== */
.site-nav{
  position:fixed; top:0; left:0; right:0; z-index:60;
  display:flex; justify-content:space-between; align-items:center;
  padding:28px var(--pad-x);
  mix-blend-mode:difference;
  color:#fff;
  pointer-events:none;
}
.site-nav__mark{
  font-family:var(--sans); font-weight:700; font-size:11px;
  letter-spacing:.22em;
}
.site-nav__index{
  font-family:var(--sans); font-weight:400; font-size:11px;
  letter-spacing:.18em;
}

.scroll-cue{
  position:fixed; bottom:28px; left:50%; transform:translateX(-50%);
  z-index:60; display:flex; align-items:center; gap:8px;
  font-family:var(--sans); font-size:10px; letter-spacing:.24em;
  text-transform:uppercase; color:var(--ink-soft);
  transition:opacity .6s ease;
}
.scroll-cue svg{ width:20px; height:9px; animation:cueNudge 1.7s ease-in-out infinite; }
@keyframes cueNudge{ 0%,100%{ transform:translateX(0);} 50%{ transform:translateX(5px);} }
.scroll-cue.is-hidden{ opacity:0; }

/* ================================================================
   HORIZONTAL SCROLL CANVAS
   A flex row of full-screen panels translated horizontally as the
   user scrolls vertically. Each panel is its own positioning
   context for the absolutely positioned elements inside it.
=============================================================== */
.horizontal-scroll{ position:relative; height:100vh; overflow:hidden; }
.horizontal-track{
  height:100%;
  display:flex; will-change:transform;
}
.story-panel{
  position:relative;
  width:100vw; height:100vh;
  flex-shrink:0;
  padding:0 var(--pad-x);
}

/* ================================================================
   SECTION 01 — OPENING EDITORIAL COMPOSITION
   Image 01 → New Image → Editorial Text on one line,
   Image 02 below the text area, toward the right.
=============================================================== */
.panel-01{ width:122vw; }

.p1-image-01{
  position:absolute;
  left:var(--pad-x); top:6vh;
  width:30vw; height:72vh;
}

.p1-image-03{
  position:absolute;
  left:calc(var(--pad-x) + 35vw + var(--gap));
  top:6vh;
  width:30vw; height:72vh;
}

.p1-text{
  position:absolute;
  left:calc(var(--pad-x) + 35vw + var(--gap) + 35vw + var(--gap));
  top:9vh;
  width:min(30vw, 400px);
}
.editorial-copy{
  font-family:var(--serif); font-style:italic; font-weight:400;
  font-size:clamp(16px,1.35vw,20px); line-height:1.7;
  color:var(--ink);
  margin-bottom:26px;
}

.p1-image-02{
  position:absolute;
  left:calc(var(--pad-x) + 35vw + var(--gap) + 35vw + var(--gap));
  top:40vh;
  width:30vw; height:58vh;
}

/* ---- THE HOUSE OF KATHA — continuous editorial marquee ----
   Six identical copies sit inside an overflow-hidden track.
   The track translates exactly -50% per loop (one full half),
   so the repeat point lands perfectly on a copy boundary and
   the movement never visibly jumps. Linear timing, no easing,
   independent of scroll — runs on its own from page load. */
.katha-marquee{
  position:absolute;
  left:0;
  /* track is clipped exactly at the right edge of .p1-image-02,
     so the moving text always ends with the photo column */
  width:calc(var(--pad-x) + 35vw + var(--gap) + 35vw + var(--gap) + 30vw);
  max-width:1200px;
  bottom:4vh;
  overflow:hidden;
  pointer-events:none;
}
.katha-marquee__track{
  display:flex;
  width:max-content;
  will-change:transform;
  animation:kathaMarquee 26s linear infinite;
}
.katha-marquee__item{
font-family: 'Cormorant Garamond';
    font-weight: 500;
    /* font-style: italic; */
    font-size: 7rem;
    line-height: .85;
    white-space: nowrap;
    letter-spacing: -0.03em;
    color: #9d9d9d69;

}
/* trailing gap keeps the spacing between repeats identical to the
   spacing at the loop seam (nbsp never collapses under nowrap) */
.katha-marquee__item::after{ content:'\00a0\00a0\00a0'; }
@keyframes kathaMarquee{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .katha-marquee__track{ animation:none; }
}

/* ================================================================
   SECTION 02 — COUPLE / STORY EDITORIAL COMPOSITION
   Large main image + names + story + secondary offset image.
=============================================================== */
.p2-main-image{
  position:absolute;
  left:10vw; top:6vh;
  width:48vw; height:52vh;
}

.p2-copy{
  position:absolute;
  left:10vw; top:62vh;
  width:min(30vw, 420px);
}
.p2-names{
  font-family:var(--serif); font-weight:500; font-size:clamp(26px,2.4vw,36px);
  color:var(--ink); margin-bottom:18px;
  display:flex; align-items:baseline; gap:16px;
}
.p2-names__sep{ font-style:italic; color:var(--ink-soft); font-size:0.6em; }
.p2-paragraph{
  font-family:var(--sans); font-weight:300; font-size:15px; line-height:1.85;
  color:var(--ink-soft);
}

.p2-second-image{
  position:absolute;
  right:8vw; top:30vh;
  width:28vw; height:46vh;
}

/* ================================================================
   SECTION 03 — STORY OF THE WEEK
   Two stacked images + dominant center portrait + editorial text column.
=============================================================== */
.panel-03{ width:calc(35rem + 38vw + min(19vw, 260px) + 8vw); }

.p3-left{
  position:absolute;
  left:6vw; top:6vh;
  width:35rem; height:88vh;
  display:flex; flex-direction:column; gap:2vh;
}
.p3-image-a, .p3-image-b{ width:35rem; flex:1 1 0; }

.p3-center-image{
    position: absolute;
    left: calc(6vw + 35rem + 14px);
    top: 5.8vh;
    width: 32vw;
    height: 88.5vh;
}

.p3-text{
  position:absolute;
  left:calc(6vw + 39rem + 14px + 29vw + 14px);
  top:12vh;
  width:min(19vw, 260px);
}
.p3-label{
  display:block; font-family:var(--sans); font-size:11px;
  letter-spacing:.26em; text-transform:uppercase; color:var(--ink-soft);
}
.p3-rule{
  display:block; width:34px; height:1px; background:var(--ink);
  margin:16px 0 22px;
}
.p3-names{
  font-family:var(--serif); font-weight:500; font-size:clamp(32px,3vw,46px);
  line-height:1.08; margin-bottom:22px;
}
.p3-intro{
  font-family:var(--serif); font-style:italic; font-size:17px;
  color:var(--ink); margin-bottom:14px;
}
.p3-body{
  font-family:var(--sans); font-weight:300; font-size:13.5px; line-height:1.8;
  color:var(--ink-soft); margin-bottom:22px;
}
.p3-spark{ display:block; color:var(--ink-soft); font-size:15px; margin-bottom:22px; }
.p3-quote{
  font-family:var(--serif); font-style:italic; font-size:15.5px; line-height:1.85;
  color:var(--ink-soft);
}

/* ================================================================
   SECTION 04 — JOURNEY OF TWO HEARTS
   Three-column editorial spread: left image, centered editorial
   panel, right image. Images flush to edges (panel padding 0).
=============================================================== */
.panel-04{
  display:flex;
  width:100vw; height:100vh;
  padding:0;
}
.p4-left-image, .p4-right-image{
  width:32vw; height:100vh;
  overflow:hidden;
}
.p4-left-image img, .p4-right-image img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 30%;
}

.p4-center{
  width:36vw; height:100vh;
  background:var(--white);
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  text-align:center;
  padding:0 2.5vw;
}
.p4-eyebrow{
  font-family:var(--sans); font-size:11px;
  letter-spacing:.28em; text-transform:uppercase;
  color:var(--ink-soft); margin-bottom:14px;
}
.p4-title{
  font-family:var(--serif); font-weight:500;
  font-size:clamp(44px,4vw,64px); line-height:1;
  text-transform:uppercase;
  color:var(--ink); margin-bottom:38px;
}
.p4-quote{
  font-family:var(--serif); font-size:12.5px;
  text-transform:uppercase; letter-spacing:.12em;
  line-height:1.9; color:var(--ink-soft);
  max-width:24vw;
}
.p4-flower{
  margin-top:38px;
  font-size:15px; line-height:1;
  color:var(--ink-soft);
}

/* ================================================================
   SECTION 05 — THREE VERTICAL EDITORIAL PORTRAITS
   A 1990s Indian wedding album page: three tall monochrome
   portraits on a warm ivory ground, captioned beneath each image.
   No cards, no boxes — the photographs carry the composition.
=============================================================== */
.panel-05{
  width:100vw;
  background:linear-gradient(45deg, black, transparent),url("../assets/witnssess/bg.png");
}
.panel-05::before{
  content:'';
  position:absolute; inset:0;
  z-index:3; pointer-events:none;
  opacity:.04;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.p5-head{
  position:absolute;
  left:var(--pad-x); top:5vh;
}
.p5-label{
  display:block;
  font-family:var(--sans); font-size:10px; letter-spacing:.3em;
  text-transform:uppercase; color:var(--ink-soft);
}
.p5-title{
  font-family:var(--serif); font-style:italic; font-weight:400;
  font-size:14px; letter-spacing:.08em;
  color:var(--ink-soft);
  margin-top:10px;
}

.p5-col{
  position:absolute;
  top:54%;
  transform:translateY(-50%);
  width:27vw;
}
.p5-col-01{ left:9vw; }
.p5-col-02{ left:38vw; }
.p5-col-03{ left:67vw; }

.p5-image{
  position:relative;
  width:100%;
  aspect-ratio:3/4;
  overflow:hidden;
}
.p5-image img{
  width:100%; height:100%;
  object-fit:cover;
}

.p5-caption{
  margin-top:18px;
  text-align:left;
}
.p5-caption__label{
  display:block;
  font-family:var(--sans); font-size:9px; letter-spacing:.28em;
  text-transform:uppercase; color:var(--ink-soft);
  margin-bottom:8px;
}
.p5-caption__text{
  display:block;
  font-family:var(--serif); font-style:italic; font-size:14px; line-height:1.55;
  color:var(--ink);
}

/* ================================================================
   SECTION 06 — THREE VERTICAL EDITORIAL PORTRAITS (variant)
   Same layout as Section 05 with its own class namespace.
=============================================================== */
.panel-06{
  width:100vw;
  background:#f7f3ea;
}
.panel-06::before{
  content:'';
  position:absolute; inset:0;
  z-index:3; pointer-events:none;
  opacity:.04;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.p6-col{
  position:absolute;
  top:54%;
  transform:translateY(-50%);
  width:27vw;
}
.p6-col-01{ left:9vw; }
.p6-col-02{ left:38vw; }
.p6-col-03{ left:67vw; }

.p6-image{
  position:relative;
  width:100%;
  aspect-ratio:3/4;
  overflow:hidden;
}
.p6-image img{
  width:100%; height:100%;
  object-fit:cover;
}

.p6-caption{
  margin-top:18px;
  text-align:left;
}
.p6-caption__label{
  display:block;
  font-family:var(--sans); font-size:9px; letter-spacing:.28em;
  text-transform:uppercase; color:var(--ink-soft);
  margin-bottom:8px;
}
.p6-caption__text{
  display:block;
  font-family:var(--serif); font-style:italic; font-size:14px; line-height:1.55;
  color:var(--ink);
}

/* ================================================================
   SECTION 08 — FINAL EDITORIAL DESIGN
   Single hero image with asymmetric typography layout.
   Premium minimalist wedding-photography editorial spread.
============================================================== */
.panel-08{
  position:relative;
  width:100vw; height:100vh;
  flex-shrink:0;
  overflow:hidden;
  background:#F8F7F3;
}

.panel-08__label{
  position:absolute;
  left:4.5vw; top:50%;
  transform:translateY(-50%) rotate(-90deg);
  transform-origin:left center;
  font-family:var(--sans); font-weight:400;
  font-size:10px; letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--ink-soft);
  white-space:nowrap;
}

.panel-08__primary{
  position:absolute;
  left: 11vw;
    top: 16vh;
  max-width:300px;
}
.panel-08__primary p{
  font-family:var(--serif); font-style:italic; font-weight:400;
  font-size:clamp(26px,2.6vw,36px);
  line-height:1.5;
  color:var(--ink);
  margin:0;
}

.panel-08__hero{
  position:absolute;
  left: 34%;
  top: 17%;
  transform:translate(-50%, -50%);
  width:38vw; height:70vh;
  overflow:hidden;
  margin:0;
}
.panel-08__hero img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 20%;
}

.panel-08__secondary{
  position: absolute;
    right: 6vw;
    bottom: 12vh;
    max-width: 290px;
     /* text-align: right; */
}
.panel-08__secondary p{
  font-family:var(--serif); font-style:italic; font-weight:500;
  /* font-size:clamp(13px,1.15vw,16px); */
  font-size:1.3rem;
  line-height:1.65;
  /* color:var(--ink-soft); */
  margin:0;
}

/* ================================================================
   SECTION 09 — TWO LARGE IMAGE EDITORIAL SPREAD
   Two equal-width portrait photographs side by side,
   centered in a clean white viewport.
============================================================== */
.panel-09{
  position:relative;
  width:100vw; height:100vh;
  flex-shrink:0;
  overflow:hidden;
}

.p9-gallery{
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%, -50%);
  display:flex;
  gap:5vw;
  align-items:flex-start;
}

.p9-item{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.p9-image{
  width:37vw;
  aspect-ratio:4/5;
  overflow:hidden;
  margin:0;
}
.p9-image img{
  width:100%; height:100%;
  object-fit:cover;
}
.p9-image-01 img{ object-position:center 30%; }
.p9-image-02 img{ object-position:center 25%; }

.p9-caption{
  width:34vw;
  font-family:var(--serif); font-style:italic;
  font-size:clamp(12px,1vw,15px);
  color:var(--ink-soft);
  text-align:center;
  padding-top:14px;
  letter-spacing:.02em;
}

/* ================================================================
   SECTION 10 — FULL-BLEED CINEMATIC PHOTOGRAPH
   Edge-to-edge immersive wedding photograph with
   minimal editorial caption.
============================================================== */
.panel-10{
  position:relative;
  width:100vw; height:100vh;
  flex-shrink:0;
  overflow:hidden;
}

.panel-10__image{
  position:absolute;
  inset:0;
  margin:0;
}
.panel-10__image img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 30%;
}

.panel-10__caption{
  position:absolute;
  left:6vw; bottom:6vh;
  z-index:2;
}
.panel-10__number{
  display:block;
  font-family:var(--sans); font-weight:300;
  font-size:11px; letter-spacing:.22em;
  color:rgba(255,255,255,.7);
  margin-bottom:6px;
}
.panel-10__title{
  display:block;
  font-family:var(--serif); font-weight:400; font-style:italic;
  font-size:clamp(14px,1.2vw,18px);
  letter-spacing:.12em;
  color:#fff;
  margin-bottom:10px;
}
.panel-10__body{
  font-family:var(--sans); font-weight:300;
  font-size:12px; line-height:1.65;
  color:rgba(255,255,255,.65);
  margin:0;
  max-width:260px;
}

/* ================================================================
   SECTION 11 — ASYMMETRIC TWO-PORTRAIT EDITORIAL SPREAD
   Small portrait left + large dominant portrait right.
   Warm ivory background with intentional negative space.
============================================================== */
.panel-11{
  position:relative;
  width:100vw; height:100vh;
  flex-shrink:0;
  overflow:hidden;
  background:#F8F7F3;
}

.panel-11__left{
  position:absolute;
  left: 9vw;
  top: 15vh;
}

.panel-11__image-small{
  width:30vw;
  aspect-ratio:3/4;
  overflow:hidden;
  margin:0;
}
.panel-11__image-small img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 25%;
}

.panel-11__caption{
  margin-top:16px;
}
.panel-11__number{
  display:block;
  font-family:var(--sans); font-weight:300;
  font-size:10px; letter-spacing:.22em;
  color:var(--ink-soft);
  margin-bottom:5px;
}
.panel-11__title{
  display:block;
  font-family:var(--serif); font-weight:400; font-style:italic;
  font-size:clamp(13px,1.1vw,16px);
  letter-spacing:.1em;
  color:var(--ink);
  margin-bottom:8px;
}
.panel-11__body{
  font-family:var(--sans); font-weight:300;
  font-size:11px; line-height:1.6;
  color:var(--ink-soft);
  margin:0;
}

.panel-11__image-large{
  position:absolute;
  right:13vw; top: 8vh;
  width:38vw; height:84vh;
  overflow:hidden;
  margin:0;
}
.panel-11__image-large img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 20%;
}

/* ================================================================
   SECTION 12 — THE PROCESSION
   Full-screen asymmetric editorial spread.
   Hero image right of center, title upper-left,
   caption lower-right, vertical label far-left.
============================================================== */
.panel-12{
  position:relative;
  width:100vw; height:100vh;
  flex-shrink:0;
  overflow:hidden;
  background:#F8F7F3;
}

.p12-label{
  position:absolute;
  left:4.5vw; top:50%;
  transform:translateY(-50%) rotate(-90deg);
  transform-origin:left center;
  font-family:var(--sans); font-weight:400;
  font-size:10px; letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--ink-soft);
  white-space:nowrap;
}

.p12-copy{
  position:absolute;
  left:12vw; top:22vh;
  max-width:340px;
}
.p12-title{
  font-family:var(--serif); font-weight:500; font-style:italic;
  font-size:clamp(36px,3.8vw,56px);
  line-height:1.05;
  color:var(--ink);
  margin-bottom:20px;
}
.p12-description{
  font-family:var(--serif); font-style:italic; font-weight:400;
  font-size:clamp(15px,1.3vw,19px);
  line-height:1.6;
  color:var(--ink-soft);
  margin:0;
}

.p12-hero{
  position:absolute;
  left:45vw; top:11vh;
  width:42vw; height:76vh;
  overflow:hidden;
  margin:0;
}
.p12-hero img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 25%;
}

.p12-caption{
  position:absolute;
  left:68vw; top:76vh;
  max-width:280px;
}
.p12-number{
  display:block;
  font-family:var(--sans); font-weight:300;
  font-size:10px; letter-spacing:.22em;
  color:var(--ink-soft);
  margin-bottom:8px;
}
.p12-caption-text{
  font-family:var(--serif); font-style:italic; font-weight:400;
  font-size:clamp(13px,1.1vw,16px);
  line-height:1.65;
  color:var(--ink-soft);
  margin:0;
}

/* ================================================================
   SECTION 13 — FULL-BLEED CINEMATIC PHOTOGRAPH
   Edge-to-edge immersive wedding photograph with
   minimal editorial caption.
============================================================== */
.panel-13{
  position:relative;
  width:100vw; height:100vh;
  flex-shrink:0;
  overflow:hidden;
}

.panel-13__image{
  position:absolute;
  inset:0;
  margin:0;
}
.panel-13__image img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 30%;
}

.panel-13__caption{
  position:absolute;
  left:6vw; bottom:6vh;
  z-index:2;
}
.panel-13__number{
  display:block;
  font-family:var(--sans); font-weight:300;
  font-size:11px; letter-spacing:.22em;
  color:rgba(255,255,255,.7);
  margin-bottom:6px;
}
.panel-13__title{
  display:block;
  font-family:var(--serif); font-weight:400; font-style:italic;
  font-size:clamp(14px,1.2vw,18px);
  letter-spacing:.12em;
  color:#fff;
  margin-bottom:10px;
}
.panel-13__body{
  font-family:var(--sans); font-weight:300;
  font-size:12px; line-height:1.65;
  color:rgba(255,255,255,.65);
  margin:0;
  max-width:260px;
}

/* ================================================================
   SECTION 17 — FULL-BLEED CINEMATIC PHOTOGRAPH
============================================================== */
.panel-17{
  position:relative;
  width:100vw; height:100vh;
  flex-shrink:0;
  overflow:hidden;
}
.panel-17__image{
  position:absolute; inset:0; margin:0;
}
.panel-17__image img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 30%;
}
.panel-17__caption{
  position:absolute;
  left:6vw; bottom:6vh;
  z-index:2;
}
.panel-17__number{
  display:block;
  font-family:var(--sans); font-weight:300;
  font-size:11px; letter-spacing:.22em;
  color:rgba(255,255,255,.7);
  margin-bottom:6px;
}
.panel-17__title{
  display:block;
  font-family:var(--serif); font-weight:400; font-style:italic;
  font-size:clamp(14px,1.2vw,18px);
  letter-spacing:.12em;
  color:#fff;
  margin-bottom:10px;
}
.panel-17__body{
  font-family:var(--sans); font-weight:300;
  font-size:12px; line-height:1.65;
  color:rgba(255,255,255,.65);
  margin:0;
  max-width:260px;
}

/* ================================================================
   SECTION 16 — FULL-BLEED CINEMATIC PHOTOGRAPH
   Edge-to-edge immersive wedding photograph with
   minimal editorial caption.
============================================================== */
.panel-16{
  position:relative;
  width:100vw; height:100vh;
  flex-shrink:0;
  overflow:hidden;
}

.panel-16__image{
  position:absolute;
  inset:0;
  margin:0;
}
.panel-16__image img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 30%;
}

.panel-16__caption{
  position:absolute;
  left:6vw; bottom:6vh;
  z-index:2;
}
.panel-16__number{
  display:block;
  font-family:var(--sans); font-weight:300;
  font-size:11px; letter-spacing:.22em;
  color:rgba(255,255,255,.7);
  margin-bottom:6px;
}
.panel-16__title{
  display:block;
  font-family:var(--serif); font-weight:400; font-style:italic;
  font-size:clamp(14px,1.2vw,18px);
  letter-spacing:.12em;
  color:#fff;
  margin-bottom:10px;
}
.panel-16__body{
  font-family:var(--sans); font-weight:300;
  font-size:12px; line-height:1.65;
  color:rgba(255,255,255,.65);
  margin:0;
  max-width:260px;
}

/* ================================================================
   SECTION 14 — DIAGONAL SQUARE COMPOSITION
   Two square images on a diagonal with asymmetric text blocks.
============================================================== */
.panel-14{
  position:relative;
  width:100vw; height:100vh;
  flex-shrink:0;
  overflow:hidden;
  background:var(--white);
}

.p14-image{
  overflow:hidden;
  margin:0;
}
.p14-image img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .6s ease;
}
.p14-image:hover img{ transform:scale(1.02); }

.p14-image--one{
  position:absolute;
  left:9vw; top:12vh;
  width:32vw; height:32vw;
  max-width:480px; max-height:480px;
}
.p14-image--one img{ object-position:center 30%; }

.p14-image--two{
  position:absolute;
  right:9vw; bottom:10vh;
  width:32vw; height:32vw;
  max-width:480px; max-height:480px;
}
.p14-image--two img{ object-position:center 25%; }

.p14-copy--one{
  position:absolute;
  left:57vw; top:18vh;
  max-width:320px;
}

.p14-copy--two{
  position:absolute;
  left:18vw; top:67vh;
  max-width:320px;
}

.p14-label{
  display:block;
  font-family:var(--sans); font-weight:300;
  font-size:10px; letter-spacing:.22em;
  color:var(--ink-soft);
  margin-bottom:10px;
}
.p14-heading{
  font-family:var(--serif); font-weight:500; font-style:italic;
  font-size:clamp(24px,2.4vw,34px);
  line-height:1.15;
  color:var(--ink);
  margin-bottom:14px;
}
.p14-support{
  font-family:var(--serif); font-style:italic; font-weight:400;
  font-size:clamp(13px,1.1vw,16px);
  line-height:1.65;
  color:var(--ink-soft);
  margin:0;
}

/* ================================================================
   SECTION 15 — THREE VERTICAL EDITORIAL PORTRAITS
   Three tall portrait photographs with captions,
   on a minimal white ground.
============================================================== */
.panel-15{
  position:relative;
  width:100vw; height:100vh;
  flex-shrink:0;
  overflow:hidden;
  background:linear-gradient(45deg, black, #00000091),url(../assets/Procession/bg.png);
}

.p15-col{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:27vw;
}
.p15-col-01{ left:9vw; }
.p15-col-02{ left:38vw; }
.p15-col-03{ left:67vw; }

.p15-image{
  position:relative;
  width:100%;
  aspect-ratio:3/4;
  overflow:hidden;
}
.p15-image img{
  width:100%; height:100%;
  object-fit:cover;
}
.p15-col-01 .p15-image img{ object-position:center 35%; }
.p15-col-02 .p15-image img{ object-position:center 40%; }
.p15-col-03 .p15-image img{ object-position:center center; }

.p15-caption{
  margin-top:16px;
}
.p15-caption__label{
  display:block;
  font-family:var(--sans); font-weight:400;
  font-size:10px; letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--ink-soft);
  margin-bottom:6px;
}
.p15-caption__text{
  display:block;
  font-family:var(--serif); font-style:italic; font-size:14px; line-height:1.55;
  color:white;
}

/* ================================================================
   MICRO-ANIMATION BASE STATES
   (animated via GSAP in js/script.js — these are fallback/initial states)
=============================================================== */
[data-anim="img"]{ opacity:0; transform:scale(1.04); }
[data-anim="img-slow"]{ opacity:0; transform:scale(1.05); }
[data-anim="text"]{ opacity:0; transform:translateX(18px); }
[data-anim="text-delay"]{ opacity:0; transform:translateX(18px); }
[data-anim="fade-up"]{ opacity:0; transform:translateY(28px); }
[data-anim="img-rise"]{ opacity:0; transform:translateY(30px) scale(1.03); }

@media (prefers-reduced-motion: reduce){
  [data-anim]{ opacity:1 !important; transform:none !important; }
}

/* ================================================================
   RESPONSIVE — TABLET (horizontal storytelling retained, resized)
=============================================================== */
@media (max-width:1180px) and (min-width:769px){
  :root{ --pad-x:6vw; }
  .p1-text{ width:min(34vw, 340px); }
  .p2-copy{ width:min(38vw, 360px); }
  .p3-text{ width:min(24vw, 230px); }
  .panel-03{ width:calc(35rem + 48vw + min(24vw, 230px) + 8vw); }
}

/* ================================================================
   RESPONSIVE — MOBILE
   Horizontal storytelling is abandoned in favour of a clean
   vertical editorial layout. All absolute positioning is reset.
=============================================================== */
@media (max-width:768px){
  .site-nav{ padding:20px 22px; mix-blend-mode:normal; color:var(--ink); }
  .site-nav__index{ display:none; }
  .scroll-cue{ display:none; }

  .horizontal-scroll{ height:auto; }
  .horizontal-track{ position:static; height:auto; flex-direction:column; transform:none !important; }

  .story-panel{
    position:static;
    width:100%; height:auto;
    padding:100px 22px 70px;
    display:flex; flex-direction:column; gap:34px;
  }

  /* ---- Section 01 mobile ---- */
  .panel-01{ width:100%; }
  .p1-image-01, .p1-image-03, .p1-image-02, .p1-text{
    position:static; width:100% !important; height:62vh !important;
  }
  .p1-image-01{ order:1; }
  .p1-image-03{ order:2; }
  .p1-text{ height:auto !important; order:3; }
  .p1-image-02{ order:4; height:56vh !important; }
  .katha-marquee{
    position:static;
    width:100%;
    height:auto;
    order:5;
    margin-top:-6px;
  }
  .katha-marquee__item{ font-size:clamp(56px,15vw,120px); }

  /* ---- Section 02 mobile ---- */
  .p2-main-image, .p2-copy, .p2-second-image{
    position:static; width:100% !important; height:52vh !important;
  }
  .p2-copy{ height:auto !important; }
  .p2-second-image{ height:46vh !important; }

  /* ---- Section 03 mobile ---- */
  .panel-03{ width:100%; }
  .p3-left{ position:static; width:100%; height:auto; flex-direction:row; gap:14px; }
  .p3-image-a, .p3-image-b{ width:auto; height:42vh; }
  .p3-center-image{ position:static; width:100% !important; height:60vh !important; }
  .p3-text{ position:static; width:100% !important; text-align:left; }

  /* ---- Section 04 mobile ----
     Stacked: left image → center editorial → right image */
  .panel-04{ padding:0; width:100%; }
  .p4-left-image, .p4-right-image{ width:100%; height:64vh; }
  .p4-center{
    width:100%; height:auto;
    padding:80px 26px 90px;
  }
  .p4-quote{ max-width:100%; }

  /* ---- Section 05 mobile ----
     Stacked: image → caption → image → caption → image → caption.
     Portrait columns become full-width album pages. */
  .panel-05{ padding:100px 22px 90px; gap:64px; }
  .p5-head{ position:static; }
  .p5-label{ margin-bottom:6px; }
  .p5-title{ margin-top:0; }
  .p5-col{
    position:static;
    width:86vw;
    transform:none;
    margin:0 auto;
    align-self:center;
  }
  .p5-caption{ margin-top:16px; }

  /* ---- Section 06 mobile ---- */
  .panel-06{ padding:100px 22px 90px; gap:64px; }
  .p6-col{
    position:static;
    width:86vw;
    transform:none;
    margin:0 auto;
    align-self:center;
  }
  .p6-caption{ margin-top:16px; }

  /* ---- Section 08 mobile ---- */
  .panel-08{ padding:100px 22px 90px; background:#F8F7F3; }
  .panel-08__label{ display:none; }
  .panel-08__primary{
    position:static;
    max-width:100%;
    margin-bottom:34px;
  }
  .panel-08__primary p{ font-size:clamp(22px,6vw,30px); }
  .panel-08__hero{
    position:static;
    width:100%;
    height:auto;
    aspect-ratio:4/5;
    margin-bottom:34px;
  }
  .panel-08__secondary{
    position:static;
    max-width:100%;
  }
  .panel-08__secondary p{ font-size:15px; }

  /* ---- Section 09 mobile ---- */
  .panel-09{ padding:100px 6vw 80px; }
  .p9-gallery{
    position:static;
    transform:none;
    flex-direction:column;
    gap:34px;
    width:100%;
  }
  .p9-item{
    width:100%;
  }
  .p9-image{
    width:100%;
    aspect-ratio:4/5;
  }
  .p9-caption{
    width:100%;
    padding-top:10px;
  }

  /* ---- Section 10 mobile ---- */
  .panel-10__caption{
    left:6vw; bottom:8vh;
  }
  .panel-10__title{ font-size:15px; }
  .panel-10__body{ font-size:11px; }

  /* ---- Section 11 mobile ---- */
  .panel-11{ padding:100px 6vw 80px; }
  .panel-11__left{
    position:static;
    margin-bottom:34px;
  }
  .panel-11__image-small{
    width:100%;
    aspect-ratio:3/4;
  }
  .panel-11__caption{ margin-top:12px; }
  .panel-11__image-large{
    position:static;
    width:100%;
    height:auto;
    aspect-ratio:3/4;
  }

  /* ---- Section 12 mobile ---- */
  .panel-12{ padding:100px 22px 90px; background:#F8F7F3; }
  .p12-label{ display:none; }
  .p12-copy{
    position:static;
    max-width:100%;
    margin-bottom:34px;
  }
  .p12-title{ font-size:clamp(30px,8vw,44px); }
  .p12-description{ font-size:16px; }
  .p12-hero{
    position:static;
    width:100%;
    height:auto;
    aspect-ratio:4/5;
    margin-bottom:34px;
  }
  .p12-caption{
    position:static;
    max-width:100%;
  }
  .p12-caption-text{ font-size:15px; }

  /* ---- Section 13 mobile ---- */
  .panel-13__caption{
    left:6vw; bottom:8vh;
  }
  .panel-13__title{ font-size:15px; }
  .panel-13__body{ font-size:11px; }

  /* ---- Section 14 mobile ---- */
  .panel-14{ padding:100px 8vw 80px; }
  .p14-image--one,
  .p14-image--two{
    position:static;
    width:84vw;
    height:84vw;
    max-width:none;
    max-height:none;
    margin:0 auto 34px;
  }
  .p14-copy--one,
  .p14-copy--two{
    position:static;
    max-width:100%;
    margin-bottom:34px;
  }
  .p14-heading{ font-size:clamp(22px,6vw,30px); }

  /* ---- Section 15 mobile ---- */
  .panel-15{ padding:100px 22px 90px; gap:64px; }
  .p15-col{
    position:static;
    width:86vw;
    transform:none;
    margin:0 auto;
    align-self:center;
  }
  .p15-caption{ margin-top:16px; }

  /* ---- Section 16 mobile ---- */
  .panel-16__caption{
    left:6vw; bottom:8vh;
  }
  .panel-16__title{ font-size:15px; }
  .panel-16__body{ font-size:11px; }

  /* ---- Section 17 mobile ---- */
  .panel-17__caption{ left:6vw; bottom:8vh; }
  .panel-17__title{ font-size:15px; }
  .panel-17__body{ font-size:11px; }

  [data-anim]{ opacity:1; transform:none; }
}
