/* ════════════════════════════════════════
   DWELLTRY, The Process subpage (HORIZONTAL scroll version)
   Structure:
     • Hero (vertical .muni-snap-panel)
     • .proc-h-wrap, tall vertical wrapper (~700vh)
         • .proc-h-pin, sticky, 100vh, overflow:hidden (visible)
             • .proc-h-head, title + scroll cue
             • .proc-h-track, horizontal flex of 7 .proc-h-panel
             • .proc-h-dots, 7 clickable step dots overlay
         • 7× .muni-snap-panel.proc-h-marker (invisible scroll markers)
     • CTA + footer (vertical .muni-snap-panel)
   The shared muni-snap.js treats markers like any other panel, so the
   right-side dot rail gets 9 entries (Intro + 7 + Begin) and the wheel-
   jack snaps one horizontal step per wheel.
═══════════════════════════════════════════════════════════ */

body { background: #000; color: #FFF; scrollbar-width: none; }
body::-webkit-scrollbar { display: none; }

/* ════════════════════════════════════════
   TOP PROGRESS BAR, fills as horizontal track advances
══════════════════════════════════════ */
.proc-progress {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.06);
  z-index: 92;
  pointer-events: none;
}
.proc-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(240,168,0,0.6), var(--gold));
  box-shadow: 0 0 12px rgba(240,168,0,0.7);
  transition: width 0.18s cubic-bezier(0.2,0.7,0.2,1);
}

/* ════════════════════════════════════════
   HERO
══════════════════════════════════════ */
.proc-hero-panel {
  background: #000;
  overflow: hidden;
  isolation: isolate;
}
.proc-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.proc-topo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.5;
  animation: procTopoDrift 26s ease-in-out infinite alternate;
}
@keyframes procTopoDrift {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-3%, 1%, 0); }
}
.proc-hero-radial {
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 8% 12%, rgba(240,168,0,0.18), transparent 70%), radial-gradient(50% 60% at 92% 88%, rgba(240,168,0,0.10), transparent 75%);
}
.proc-hero-hatch {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.020) 0 1px, transparent 1px 14px);
}
.proc-hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.proc-hero-left { max-width: 620px; }

.proc-hero-glance {
  border: 1px solid rgba(240,168,0,0.35);
  background: rgba(240,168,0,0.04);
  padding: 1.3rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.proc-glance-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.proc-glance-time {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1;
  color: #FFF;
  margin-bottom: 0.3rem;
}
.proc-glance-sub {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.6rem;
}
.proc-glance-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 0.35rem;
  border-top: 1px dashed rgba(240,168,0,0.25);
  padding-top: 0.7rem;
}
.proc-glance-list li {
  display: flex;
  justify-content: space-between;
  font-family: 'Jost', sans-serif;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.85);
}
.proc-glance-list span {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
  opacity: 0.6;
}
.proc-glance-list strong { color: var(--gold); font-weight: 400; }

/* ════════════════════════════════════════
   HORIZONTAL WRAP + PIN
══════════════════════════════════════ */
.proc-h-wrap {
  position: relative;
  /* 7 panels × 100vh = 700vh of vertical scroll mapped to horizontal slide */
  height: 700vh;
}
.proc-h-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #060606;
  isolation: isolate;
}
.proc-h-pin::before {
  /* Faint gold radial + hatch background that lives across all 7 panels */
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 55% at 12% 18%, rgba(240,168,0,0.12), transparent 70%), radial-gradient(45% 60% at 88% 85%, rgba(240,168,0,0.08), transparent 72%), repeating-linear-gradient(45deg, rgba(255,255,255,0.020) 0 1px, transparent 1px 14px);
  z-index: 0;
}

/* Floating header inside the pin */
.proc-h-head {
  position: absolute;
  top: calc(var(--nav-h) + 0.8rem);
  left: clamp(1.5rem, 4vw, 4rem);
  right: clamp(1.5rem, 4vw, 4rem);
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.proc-h-head-title {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.proc-h-head-cue {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
}

/* The horizontal track */
.proc-h-track {
  display: flex;
  height: 100%;
  width: max-content;
  will-change: transform;
}

/* Each step panel */
.proc-h-panel {
  position: relative;
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  padding: calc(var(--nav-h) + 3rem) clamp(1.5rem, 5vw, 5rem) 4rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  z-index: 1;
}
/* (Vertical gold divider removed per user feedback, was reading as one
   continuous line through every panel because each panel inherited it.) */

/* Bottom step-number pill removed per user feedback, the right-side
   dot rail already shows step progress. Kept in DOM so the page JS
   still updates .is-active (harmless) but hidden visually. */
.proc-h-dots { display: none !important; }

.proc-h-panel-inner {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.proc-h-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding-bottom: 0.55rem;
}
.proc-h-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.proc-h-counter {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.55);
}

.proc-h-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.proc-h-text { max-width: 700px; }
.proc-h-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  margin: 0 0 1rem;
  color: #FFF;
}
.proc-h-h2 em { font-style: italic; color: var(--gold); }
.proc-h-tag {
  display: inline-block;
  margin-left: 0.6rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(240,168,0,0.55);
  padding: 0.22rem 0.55rem;
  vertical-align: middle;
}
.proc-h-lede {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin: 0 0 1.2rem;
}
.proc-h-lede strong { color: #FFF; font-weight: 500; }
.proc-h-lede em { color: var(--gold); font-style: italic; }

.proc-h-deliv {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 0.45rem;
}
.proc-h-deliv li {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  padding-left: 1.3rem;
  position: relative;
}
.proc-h-deliv li::before {
  content: '/';
  position: absolute; left: 0;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}
.proc-h-deliv strong { color: #FFF; font-weight: 500; }

.proc-h-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.proc-h-chip {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.85rem 1rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: border-color 0.25s, background 0.25s;
}
.proc-h-chip:hover {
  border-color: var(--gold);
  background: rgba(240,168,0,0.06);
}
.proc-h-chip-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.proc-h-chip-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.22rem;
  line-height: 1.15;
  color: var(--gold);
}

/* STEP 5, LIGHT VARIANT */
.proc-h-panel--light {
  background: #FFFFFF;
  color: #111;
}
/* (light variant of removed divider, no styles needed) */
.proc-h-eyebrow--light  { color: var(--gold); }
.proc-h-counter--light  { color: rgba(0,0,0,0.5); }
.proc-h-h2--light       { color: #111; }
.proc-h-h2--light em    { color: var(--gold); }
.proc-h-lede--light     { color: #333; }
.proc-h-deliv--light li { color: #333; }
.proc-h-deliv--light strong { color: #111; }
.proc-h-panel--light .proc-h-meta { border-bottom-color: rgba(0,0,0,0.12); }
.proc-h-chip--light {
  background: #FFF;
  border: 1px solid rgba(0,0,0,0.12);
}
.proc-h-chip--light:hover {
  border-color: var(--gold);
  background: rgba(240,168,0,0.06);
}
.proc-h-chip--light .proc-h-chip-label { color: rgba(0,0,0,0.55); }
.proc-h-chip--light .proc-h-chip-value { color: var(--gold); }

/* The bottom step-dots pill was removed, the right-side dot rail
   already shows step position, so a second indicator was redundant. */

/* Invisible scroll markers, positioned absolutely at specific Y offsets
   inside the 700vh wrap. The pin takes the first 100vh sticky slot of
   document flow; markers live alongside it at exact Y positions so the
   snap engine's getBoundingClientRect math lands on the right horizontal
   step. Each marker is 1px tall + invisible, only its TOP matters. */
.proc-h-marker {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  min-height: 0;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  visibility: hidden;
  pointer-events: none;
}
/* 7 markers spaced evenly across the 600vh of horizontal scroll travel
   (wrap height 700vh - pin height 100vh = 600vh of "translate range"). */
#procStep1 { top:   0vh; }
#procStep2 { top: 100vh; }
#procStep3 { top: 200vh; }
#procStep4 { top: 300vh; }
#procStep5 { top: 400vh; }
#procStep6 { top: 500vh; }
#procStep7 { top: 600vh; }

/* ════════════════════════════════════════
   CTA PANEL
══════════════════════════════════════ */
.proc-cta-panel {
  background: #000;
  overflow: hidden;
  isolation: isolate;
}
.proc-cta-bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 80% at 25% 80%, rgba(240,168,0,0.20), transparent 75%), radial-gradient(50% 70% at 88% 12%, rgba(240,168,0,0.10), transparent 70%), repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 14px), linear-gradient(150deg, #0a0a0a, #050505);
}
.proc-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.proc-cta-h2 {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 1.1rem;
}
.proc-cta-lede {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin: 0 0 1.5rem;
}
.proc-cta-actions {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  flex-wrap: wrap;
}
.proc-cta-btn { padding: 0.95rem 1.4rem 0.9rem 1.45rem; }
.proc-cta-link {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.25s;
}
.proc-cta-link:hover { color: var(--gold); }
.proc-cta-link .slash-motif { color: var(--gold); padding-left: 0.4rem; }

.proc-cta-card {
  border: 1px solid rgba(240,168,0,0.35);
  background: rgba(240,168,0,0.04);
  padding: 1.3rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.proc-cta-card-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.proc-cta-card-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 0.7rem;
}
.proc-cta-card-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  border-left: 1px solid rgba(240,168,0,0.35);
  padding: 0.15rem 0 0.15rem 0.8rem;
}
.proc-cta-card-rank {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.12em;
}
.proc-cta-card-text {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.96rem;
  color: rgba(255,255,255,0.85);
}
.proc-cta-card-text em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 0.96rem;
}
.proc-cta-card-foot {
  font-family: 'Jost', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border-top: 1px dashed rgba(240,168,0,0.35);
  padding-top: 0.7rem;
  text-align: center;
}

/* ════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1180px) {
  .proc-h-panel       { padding: calc(var(--nav-h) + 2.5rem) clamp(1.5rem, 5vw, 4rem) 4rem; }
  .proc-h-h2          { font-size: clamp(2rem, 4.2vw, 3.4rem); }
  .proc-h-lede        { font-size: 1.05rem; line-height: 1.6; margin-bottom: 1rem; }
  .proc-h-deliv li    { font-size: 0.94rem; }
  .proc-h-chip        { padding: 0.65rem 0.8rem 0.75rem; }
  .proc-h-chip-value  { font-size: 1.1rem; }
  .proc-h-chip-label  { font-size: 0.62rem; }
  .proc-h-body        { gap: 2rem; }
  .proc-hero-glance   { padding: 1rem 1.2rem 1.2rem; }
  .proc-glance-sub    { font-size: 0.82rem; }
  .proc-glance-list li { font-size: 0.78rem; }
}

@media (max-width: 980px) {
  /* Below this width we drop the horizontal pin and stack panels normally
     (snap dots still work) so the page stays usable on tablets. */
  .proc-h-wrap        { height: auto; }
  .proc-h-pin         { position: static; height: auto; overflow: visible; }
  .proc-h-track       { flex-direction: column; width: 100%; transform: none !important; }
  .proc-h-panel       { width: 100%; height: auto; padding: calc(var(--nav-h) + 2rem) 1.5rem 3rem; }
  .proc-h-panel::after { display: none; }
  .proc-h-body        { grid-template-columns: 1fr; gap: 1.4rem; }
  .proc-h-head.proc-h-dots { display: none; }
  .proc-h-marker      { display: none; }
  .proc-cta-inner     { grid-template-columns: 1fr; }
  .proc-hero-inner    { grid-template-columns: 1fr; gap: 1.4rem; }
}

@media (max-width: 720px) {
  .proc-h-side        { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   TEXT BUMP — bigger for readability without leaving sections
══════════════════════════════════════ */
.proc-h-lede { font-size: 1.36rem !important; line-height: 1.7 !important; }
.proc-h-deliv li { font-size: 1.18rem !important; line-height: 1.6 !important; }
.proc-h-chip { padding: 1.05rem 1.2rem 1.15rem !important; }
.proc-h-chip-value { font-size: 1.42rem !important; }
.proc-h-chip-label { font-size: 0.8rem !important; }
.proc-glance-time { font-size: clamp(2.6rem, 4.3vw, 3.5rem) !important; }
.proc-glance-sub { font-size: 1.08rem !important; line-height: 1.65 !important; }
.proc-glance-list li { font-size: 1.02rem !important; }
.proc-glance-list span { font-size: 0.86rem !important; }
.proc-glance-eyebrow { font-size: 0.84rem !important; }
.proc-h-eyebrow { font-size: 0.96rem !important; letter-spacing: 0.3em !important; }
.proc-h-counter { font-size: 1.28rem !important; }
.proc-h-tag { font-size: 0.74rem !important; }
.proc-h-head-title { font-size: 0.9rem !important; }
.proc-h-head-cue { font-size: 1.05rem !important; }

/* CTA panel bigger */
.proc-cta-h2 { font-size: clamp(2.6rem, 4.8vw, 4.2rem) !important; }
.proc-cta-lede { font-size: 1.26rem !important; line-height: 1.7 !important; }
.proc-cta-card-eyebrow { font-size: 0.86rem !important; }
.proc-cta-card-text { font-size: 1.12rem !important; line-height: 1.55 !important; }
.proc-cta-card-text em { font-size: 1.18rem !important; }
.proc-cta-card-rank { font-size: 1.18rem !important; }
.proc-cta-card-foot { font-size: 0.86rem !important; }
.proc-cta-link { font-size: 0.92rem !important; }

@media (max-width: 1180px) {
  .proc-h-lede { font-size: 1.18rem !important; }
  .proc-h-deliv li { font-size: 1rem !important; }
  .proc-h-chip-value { font-size: 1.22rem !important; }
  .proc-h-chip-label { font-size: 0.72rem !important; }
  .proc-glance-sub { font-size: 0.94rem !important; }
  .proc-glance-list li { font-size: 0.9rem !important; }
  .proc-cta-lede { font-size: 1.1rem !important; }
  .proc-cta-card-text { font-size: 0.98rem !important; }
}
