/* ════════════════════════════════════════════════════════════
   JESSY ABI NADER — Phase 2: dropdown nav, sub-pages, forms, lookbook
   (loaded after styles.css on every page)
   ════════════════════════════════════════════════════════════ */

/* ---------- dropdown navigation ---------- */
.nav-links .nav-item { position: relative; display: flex; align-items: center; }
.nav-menu {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 210px; padding: 14px 0; margin-top: 0;
  background: var(--ink); border: 1px solid var(--hairline);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.28s, transform 0.28s, visibility 0.28s; z-index: 130;
  box-shadow: 0 24px 60px rgba(0,0,0,0.14);
}
/* invisible hover bridge so the menu stays open while the cursor crosses the gap */
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item:hover .nav-menu, .nav-item:focus-within .nav-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav-menu a {
  padding: 10px 22px; font-family: var(--mono); font-weight: 400;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--chalk-80); white-space: nowrap; transition: color 0.25s, background 0.25s;
}
.nav-menu a::after { display: none; }
.nav-menu a:hover { color: var(--chalk); background: var(--ink-2); }
/* over the hero, the trigger stays light but the panel is always a solid card */
.nav.over-hero .nav-menu a { color: var(--chalk-80); }

/* ---------- sub-page chrome (solid nav, no hero) ---------- */
.nav--solid {
  position: sticky; top: 0; background: var(--ink);
  border-bottom: 1px solid var(--hairline); mix-blend-mode: normal;
}
body.subpage { padding-top: 0; }

/* ---------- generic page shell ---------- */
.page { padding: clamp(48px, 8vh, 96px) 0 clamp(80px, 12vh, 140px); }
.page-head {
  padding: 0 var(--gutter); max-width: 1180px; margin: 0 auto clamp(36px, 6vh, 72px);
  text-align: left;
}
.page-head .kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--chalk-60); display: block; margin-bottom: 20px;
}
.page-title {
  font-family: var(--display); text-transform: uppercase; font-weight: 500;
  font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: 1.0; letter-spacing: 0.01em;
}
.page-lead {
  margin: 22px 0 0; max-width: 62ch; font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.5; color: var(--chalk-80); font-style: italic;
  text-wrap: pretty;
}

/* ---------- prose (policies, articles) ---------- */
.prose { padding: 0 var(--gutter); max-width: 1180px; margin: 0 auto; }
.prose > * { max-width: 760px; }
.prose > .table-wrap { max-width: 980px; }
.prose h2 {
  font-family: var(--display); text-transform: uppercase; font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: 0.02em;
  margin: clamp(40px, 6vh, 64px) 0 16px; line-height: 1.1;
}
.prose h3 {
  font-family: var(--mono); font-weight: 400; text-transform: uppercase;
  font-size: 12px; letter-spacing: 0.2em; color: var(--chalk-60);
  margin: 32px 0 10px;
}
.prose p { font-size: 1.05rem; line-height: 1.75; color: var(--chalk-80); margin-bottom: 16px; text-align: left; text-justify: auto; hyphens: manual; }
.prose p.updated { text-align: left; hyphens: manual; }
.prose strong { color: var(--chalk); font-weight: 600; }
.prose ul { list-style: none; margin: 0 0 18px; padding: 0; }
.prose ul li {
  position: relative; padding-left: 20px; margin-bottom: 9px;
  font-size: 1.05rem; line-height: 1.7; color: var(--chalk-80);
}
.prose ul li::before { content: "—"; position: absolute; left: 0; color: var(--chalk-35); }
.prose a { border-bottom: 1px solid var(--chalk-35); }
.prose a:hover { border-color: var(--chalk); }
.prose .updated { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--chalk-60); text-transform: uppercase; margin-bottom: 28px; }

/* FAQ / accordion via <details> */
.faq { padding: 0 var(--gutter); max-width: 1180px; margin: 0 auto; }
.faq-group { margin-bottom: clamp(30px, 5vh, 54px); }
.faq-group, .faq > details.qa { max-width: 820px; }
.faq-group > h2 {
  font-family: var(--mono); font-weight: 400; text-transform: uppercase;
  font-size: 12px; letter-spacing: 0.24em; color: var(--chalk-60);
  padding-bottom: 12px; border-bottom: 1px solid var(--hairline); margin-bottom: 6px;
}
details.qa { border-bottom: 1px solid var(--hairline); }
details.qa summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--chalk);
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--mono);
  font-size: 1.3rem; color: var(--chalk-60); transition: transform 0.3s;
}
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa p { padding: 0 0 22px; max-width: 68ch; font-size: 1.02rem; line-height: 1.7; color: var(--chalk-80); }
details.qa .qa-body { padding-top: 4px; }
details.qa .qa-body p:last-child { padding-bottom: 26px; }
details.qa .qa-body ul { margin: 0 0 22px; padding-left: 20px; max-width: 68ch; }
details.qa .qa-body li { font-size: 1.02rem; line-height: 1.7; color: var(--chalk-80); margin-bottom: 4px; }
details.qa .qa-signature { font-style: italic; color: var(--chalk); }

/* ---------- tables (size guide) ---------- */
.table-wrap { overflow-x: auto; margin: 18px 0 28px; }
table.jan {
  width: 100%; border-collapse: collapse; font-size: 0.98rem;
}
table.jan th, table.jan td {
  text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--hairline);
  color: var(--chalk-80);
}
table.jan th {
  font-family: var(--mono); font-weight: 400; text-transform: uppercase;
  font-size: 11px; letter-spacing: 0.14em; color: var(--chalk); white-space: nowrap;
}

/* ---------- forms ---------- */
.form { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.form > * { max-width: 760px; }
.form-section-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--chalk-60); margin: 30px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--hairline);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.wide { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--chalk-60);
}
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--chalk);
  background: transparent; border: 0; border-bottom: 1px solid var(--chalk-35);
  padding: 10px 2px; transition: border-color 0.3s;
}
.field textarea { resize: vertical; min-height: 120px; border: 1px solid var(--chalk-35); padding: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--chalk); }
.field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--chalk-60) 50%), linear-gradient(135deg, var(--chalk-60) 50%, transparent 50%); background-position: right 6px center, right 1px center; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 22px; }
.field select option { color: #111; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.choice {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--chalk-80); border: 1px solid var(--chalk-35); padding: 9px 16px; cursor: pointer;
  transition: all 0.25s; user-select: none;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
.form-submit {
  margin-top: 34px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.34em;
  text-transform: uppercase; padding: 18px 46px; border: 1px solid var(--chalk);
  background: var(--chalk); color: var(--ink); cursor: pointer; transition: opacity 0.3s;
}
.form-submit:hover { opacity: 0.82; }
.form-note { margin-top: 18px; font-size: 0.92rem; color: var(--chalk-60); font-style: italic; }
.form-status { margin-top: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }

/* collection pages — align header + intro text to the lookbook's left edge
   (the images run full-bleed, so the text is pulled flush left to match the
   left edge of the first image = the .look card padding, no centered gutter). */
.collection-page .page-head,
.collection-page .prose {
  max-width: none;
  margin-left: 0; margin-right: 0;
  padding-left: clamp(14px, 1.5vw, 24px);
  padding-right: clamp(14px, 1.5vw, 24px);
}
.collection-page .page-lead { max-width: none; }
/* intro copy runs the full width of the page (edge to edge with the images),
   set as a justified body block so both margins stay clean. */
.collection-page .prose > * { max-width: none; }
.collection-page .prose p { text-align: justify; text-justify: inter-word; hyphens: auto; }

/* ---------- lookbook (Eveningwear / Her Many Lives) ---------- */
.lookbook {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--hairline); border-block: 1px solid var(--hairline);
}
.look { background: var(--ink); padding: clamp(14px, 1.5vw, 24px); display: flex; flex-direction: column; gap: 16px; }
.look figure { overflow: hidden; aspect-ratio: 3 / 4.2; }
.look img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1.1s cubic-bezier(0.22,1,0.36,1); }
.look:hover img { transform: scale(1.05); }
.look-meta h3 { font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: clamp(1.3rem, 1.9vw, 1.7rem); letter-spacing: 0.02em; line-height: 1; margin-bottom: 8px; }
.look-meta .look-no { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--chalk-60); text-transform: uppercase; }
.look-meta p { font-size: 0.98rem; line-height: 1.55; color: var(--chalk-80); margin: 8px 0 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.swatch { width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--hairline); }
.swatch-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--chalk-60); text-transform: uppercase; }
@media (max-width: 900px) { .lookbook { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lookbook { grid-template-columns: 1fr; } }

/* ---------- article list (Notebook) ---------- */
.articles { padding: 0 var(--gutter); max-width: 1180px; margin: 0 auto; display: grid; gap: 1px; background: var(--hairline); border-block: 1px solid var(--hairline); }
.article-row { background: var(--ink); padding: clamp(24px, 4vw, 44px) clamp(20px, 3vw, 36px); display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: baseline; transition: background 0.3s; }
.article-row:hover { background: var(--ink-2); }
.article-row .cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--chalk-60); }
.article-row h3 { font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.02; }
.article-row p { grid-column: 2; font-size: 1rem; color: var(--chalk-80); line-height: 1.6; margin-top: 8px; max-width: 60ch; }
.article-row .arrow { font-family: var(--mono); color: var(--chalk-60); }
@media (max-width: 760px) { .article-row { grid-template-columns: 1fr; gap: 8px; } .article-row p, .article-row h3 { grid-column: 1; } .article-row .arrow { display: none; } }

/* ---------- dress / product detail ---------- */
.dress-top {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 80px); align-items: start;
  padding: 0 var(--gutter); max-width: 1280px; margin: 0 auto;
}
.dress-gallery { display: flex; flex-direction: column; gap: 14px; }
.dress-main { overflow: hidden; background: var(--ink-2); aspect-ratio: 3 / 4; }
.dress-main img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.dress-main img.is-contain { object-fit: cover; object-position: center 18%; }
.dress-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.dress-thumbs button { width: 74px; height: 98px; padding: 0; border: 1px solid var(--hairline); background: none; cursor: pointer; overflow: hidden; opacity: 0.6; transition: opacity 0.3s, border-color 0.3s; }
.dress-thumbs button.active, .dress-thumbs button:hover { opacity: 1; border-color: var(--chalk-60); }
.dress-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.dress-info { position: sticky; top: 96px; }
.dress-info .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--chalk-60); display: block; margin-bottom: 16px; }
.dress-name { font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.0; letter-spacing: 0.01em; }
.dress-color { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--chalk-60); margin: 14px 0 10px; }
.dress-price { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: 0.01em; color: var(--chalk); margin: 0 0 24px; }
.dress-price:empty { display: none; }
.dress-desc { font-size: 1.08rem; line-height: 1.7; color: var(--chalk-80); max-width: 52ch; }
.dress-block { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.dress-block h3 { font-family: var(--mono); font-weight: 400; text-transform: uppercase; font-size: 11px; letter-spacing: 0.2em; color: var(--chalk-60); margin-bottom: 12px; }
/* "Size guide →" link below the available sizes */
.dress-sizeguide .sg-link {
  display: inline-block; margin-top: 14px; text-decoration: none; cursor: pointer;
  background: none; border: 0; padding: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--chalk-60); transition: color 0.25s;
}
.dress-sizeguide .sg-link:hover, .dress-sizeguide .sg-link:focus-visible { color: var(--chalk); }
.dress-sizeguide .sg-arrow { font-size: 12px; opacity: 0.6; display: inline-block; transition: transform 0.25s, opacity 0.25s; }
.dress-sizeguide .sg-link:hover .sg-arrow, .dress-sizeguide .sg-link:focus-visible .sg-arrow { opacity: 1; transform: translate(2px, -2px); }
.dress-sizes { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- size-guide modal (dress page) ---------- */
.sg-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: clamp(14px,4vw,44px); }
.sg-modal[hidden] { display: none; }
.sg-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(2px); }
.sg-modal-card {
  position: relative; z-index: 1; width: min(760px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--ink); color: var(--chalk); border: 1px solid var(--hairline);
  padding: clamp(26px,4vw,46px); box-shadow: 0 30px 90px rgba(0,0,0,0.4);
}
.sg-modal-card .kicker { display:block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--chalk-60); margin-bottom: 10px; }
.sg-modal-card h2 { font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: clamp(1.6rem,3.4vw,2.4rem); line-height: 1; margin-bottom: 16px; }
.sg-modal-card h3 { font-family: var(--mono); font-weight: 400; text-transform: uppercase; font-size: 11px; letter-spacing: 0.2em; color: var(--chalk-60); margin: 28px 0 2px; }
.sg-modal-note { font-size: 0.98rem; line-height: 1.6; color: var(--chalk-80); max-width: 62ch; }
.sg-modal-card .table-wrap { margin: 12px 0 4px; }
.sg-modal-foot { font-size: 0.92rem; color: var(--chalk-60); margin-top: 10px; }
.sg-modal-foot a { color: var(--chalk); }
.sg-modal-close {
  position: absolute; top: 10px; right: 14px; z-index: 2; background: none; border: 0; cursor: pointer;
  font-size: 28px; line-height: 1; color: var(--chalk-60); transition: color 0.2s;
}
.sg-modal-close:hover, .sg-modal-close:focus-visible { color: var(--chalk); }
.dress-sizes span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--chalk); border: 1px solid var(--hairline); padding: 8px 12px; }
.dress-swatches { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.dress-swatch {
  appearance: none; border: 0; background: none; padding: 0;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--chalk-80); cursor: pointer; transition: color 0.25s, opacity 0.25s;
}
.dress-swatch .dot { width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--hairline); flex: 0 0 auto; }
.dress-swatch.active { color: var(--chalk); }
.dress-swatch.active .dot { outline: 1px solid var(--chalk); outline-offset: 3px; }
.dress-swatch:disabled { cursor: not-allowed; opacity: 0.38; }
.dress-swatch:focus-visible { outline: 1px solid var(--chalk); outline-offset: 5px; }
.dress-mto p { font-size: 0.98rem; line-height: 1.6; color: var(--chalk-80); }
.dress-mto .lead { color: var(--chalk); font-style: italic; margin-bottom: 8px; }
.dress-details-list { display: grid; gap: 0; }
.dress-details-list .dd-row {
  display: grid; grid-template-columns: 130px 1fr; gap: 8px 18px;
  padding: 9px 0; border-bottom: 1px solid var(--hairline);
}
.dress-details-list .dd-row:last-child { border-bottom: 0; }
.dress-details-list dt {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--chalk-60); padding-top: 2px;
}
.dress-details-list dd { margin: 0; font-size: 0.96rem; line-height: 1.55; color: var(--chalk); }
@media (max-width: 520px) {
  .dress-details-list .dd-row { grid-template-columns: 1fr; gap: 2px; }
}
.dress-custom-note { margin-top: 12px; font-size: 0.9rem; font-style: italic; color: var(--chalk-60); }
/* the [hidden] attribute must win over .field { display:flex } */
.field[hidden] { display: none; }

/* custom-measurements radios */
.radio-row { display: flex; gap: 26px; padding-top: 8px; }
.radio-opt { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 1rem; color: var(--chalk); }
.radio-opt input { accent-color: var(--chalk); width: 15px; height: 15px; flex: 0 0 auto; }

/* order review step — grouped summary */
.order-review { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.os-title { font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: 0.02em; margin-bottom: 6px; }
.os-group { padding: 18px 0; border-top: 1px solid var(--hairline); }
.os-group .form-section-label { margin: 0 0 10px; border: 0; padding: 0; }
.os-lines { display: grid; gap: 3px; }
.os-lines > div { font-size: 1.05rem; line-height: 1.5; color: var(--chalk); }
.os-dress { display: flex; gap: 18px; align-items: flex-start; }
.os-dress-img { width: 92px; height: 122px; object-fit: cover; object-position: center 15%; background: var(--ink-2); flex: 0 0 auto; }
.os-dress-name { font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: 1.2rem; letter-spacing: 0.02em; margin-bottom: 4px; }
.os-totals { padding: 18px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); margin-bottom: 24px; display: grid; gap: 10px; }
.os-totals p { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.05rem; color: var(--chalk); margin: 0; }
.os-totals .os-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--chalk-60); }
.os-totals .os-v { text-align: right; }
.order-review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.link-back {
  background: none; border: 0; cursor: pointer; padding: 6px 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--chalk-60); transition: color 0.3s;
}
.link-back:hover { color: var(--chalk); }
/* couture — hug the left edge, aligning text with the nav wordmark */
.couture-page .page-head,
.couture-page .couture-intro { margin-left: 0; margin-right: 0; }

/* ---------- couture · brief text intro ---------- */
.couture-intro { max-width: 1180px; margin: clamp(20px, 4vh, 44px) auto 0; padding: 0 var(--gutter); text-align: left; }
.couture-opening { max-width: 1180px; margin-top: clamp(18px, 3vh, 34px); }
.couture-intro > * { max-width: 680px; }
.couture-opening > * { max-width: 720px; }
.couture-intro h2 {
  font-family: var(--display); text-transform: uppercase; font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.05; letter-spacing: 0.01em; margin-bottom: 18px;
}
.couture-intro p { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.7; color: var(--chalk-80); text-wrap: pretty; }
.couture-intro p + p { margin-top: 1em; }
.couture-after-film { margin-top: clamp(34px, 7vh, 86px); }

/* ---------- couture · scroll-scrubbed embroidered gravity-well film ---------- */
.scrub-film {
  position: relative;
  width: 100%;
  height: 210vh;
  background: #000;
  margin-top: clamp(30px, 6vh, 82px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 clamp(120px, 18vh, 240px), #000 calc(100% - clamp(120px, 18vh, 240px)), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 clamp(120px, 18vh, 240px), #000 calc(100% - clamp(120px, 18vh, 240px)), transparent 100%);
}
/* soft blend into the page above and below — no hard black edges */
.scrub-film::before, .scrub-film::after {
  content: ""; position: absolute; left: 0; right: 0; height: clamp(140px, 24vh, 320px);
  pointer-events: none; z-index: 3;
}
.scrub-film::before {
  top: 0;
  background: linear-gradient(to bottom, var(--ink) 0%, rgba(255,249,247,0.72) 30%, rgba(0,0,0,0) 100%);
}
.scrub-film::after {
  bottom: 0;
  background: linear-gradient(to top, var(--ink) 0%, rgba(255,249,247,0.72) 30%, rgba(0,0,0,0) 100%);
}
[data-theme="dark"] .scrub-film::before { background: linear-gradient(to bottom, var(--ink) 0%, rgba(10,10,10,0.72) 30%, rgba(0,0,0,0) 100%); }
[data-theme="dark"] .scrub-film::after { background: linear-gradient(to top, var(--ink) 0%, rgba(10,10,10,0.72) 30%, rgba(0,0,0,0) 100%); }
.scrub-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #000; }
.scrub-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; }
.scrub-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.scrub-end-fade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  opacity: 0;
  will-change: opacity;
}
.scrub-overlay .line {
  position: absolute; left: 50%; top: 50%; width: min(90%, 900px);
  transform: translate(-50%, -50%); text-align: center; opacity: 0;
  z-index: 1;
  will-change: opacity, transform;
}
.scrub-overlay .mono-label { display: block; color: var(--light); margin-bottom: 16px; text-shadow: 0 1px 18px rgba(0,0,0,0.85); }
.scrub-overlay .serif-xl { color: var(--light); text-shadow: 0 2px 34px rgba(0,0,0,0.9); }
.scrub-overlay .serif-xl em { color: var(--light); }
.scrub-logo-line { display: grid; place-items: center; z-index: 2; }
/* the logo, embroidered in emeralds — the mask is the JAN mark, filled with
   Jessy's beadwork, so the scene resolves onto an emerald-embroidered logo */
.scrub-logo {
  height: clamp(210px, 40vh, 380px);
  width: auto;
  background-color: transparent;
  background-image: url("img/editorial/emerald-embroidery.jpg");
  background-size: cover;
  background-position: 50% 46%;
  opacity: 1;
  filter: drop-shadow(0 0 30px rgba(16,185,129,0.4)) drop-shadow(0 0 60px rgba(16,185,129,0.18)) drop-shadow(0 3px 34px rgba(0,0,0,0.7));
  animation: logo-shimmer 9s ease-in-out infinite alternate;
}
@keyframes logo-shimmer {
  from { background-position: 46% 40%; }
  to   { background-position: 54% 60%; }
}
@media (max-width: 860px) { .scrub-film { height: 175vh; } }
@media (prefers-reduced-motion: reduce) {
  .scrub-film { height: 100vh; }
  .scrub-logo { animation: none; }
}

.dress-info .cta { margin-top: 30px; }
.dress-enquire { max-width: 760px; margin: clamp(60px,10vh,120px) auto 0; padding: clamp(40px,6vh,70px) var(--gutter) 0; border-top: 1px solid var(--hairline); }
.dress-enquire > .kicker { display:block; text-align:center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--chalk-60); margin-bottom: 14px; }
.dress-enquire > h2 { font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: clamp(1.8rem,4vw,3rem); line-height: 1; text-align: center; margin-bottom: clamp(30px,5vh,50px); }
.form-confirm { max-width: 620px; margin: 0 auto; text-align: center; }
.form-confirm h2 { font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: clamp(1.6rem,3vw,2.4rem); margin-bottom: 22px; }
.form-confirm p { font-size: 1.08rem; line-height: 1.7; color: var(--chalk-80); margin-bottom: 14px; }
@media (max-width: 860px) {
  .dress-top { grid-template-columns: 1fr; gap: 30px; }
  .dress-info { position: static; }
}

/* ---------- coming soon (Bridal) ---------- */
.coming { min-height: 62vh; display: grid; place-content: center; text-align: center; padding: 0 var(--gutter); gap: 22px; }
.coming .tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--chalk-60); }

/* ---------- back-to-collection link ---------- */
.section-cta { text-align: center; padding: clamp(40px,7vh,80px) var(--gutter); }
.link-cta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--chalk); border-bottom: 1px solid var(--chalk-35); padding-bottom: 6px; }
.link-cta:hover { border-color: var(--chalk); }

/* mobile nav is handled by the overlay menu in styles.css */
