/* ════════════════════════════════════════
   DWELLTRY, Feasibility Study page
   Loaded after style.css + footer.css + rail.css + municipality.css
   + the-process.css (for shared .proc-h-* horizontal-scroll classes).
   Adds Feasibility-specific blocks: hero glass card, why-grid, includes-grid (light), ROI charts, optional do/skip grid, CTA.
═══════════════════════════════════════════════════════════ */

body { background: #000; color: #FFF; scrollbar-width: none; }
body::-webkit-scrollbar { display: none; }

.muni-section-eyebrow--light { color: var(--gold); }
.muni-section-h2--light       { color: #111; }
.muni-section-h2--light em    { color: var(--gold); font-style: italic; }

/* HEAD */
.feas-head { max-width: 900px; margin: 0 auto 1.4rem; text-align: center; }
.feas-head--light { color: #111; }
.feas-lede {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1.06rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
  max-width: 760px;
  margin: 0.55rem auto 0;
}
.feas-lede--light { color: #333; }
.feas-lede em { color: var(--gold); font-style: italic; }

/* ════════════════════════════════════════
   HERO
══════════════════════════════════════ */
.feas-hero-panel { background: #000; overflow: hidden; isolation: isolate; }
.feas-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.feas-topo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.5;
  animation: feasTopoDrift 26s ease-in-out infinite alternate;
}
@keyframes feasTopoDrift {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-3%, 1%, 0); }
}
.feas-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%);
}
.feas-hero-hatch {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.020) 0 1px, transparent 1px 14px);
}
.feas-hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.feas-hero-left { max-width: 640px; }

.feas-hero-card {
  border: 1px solid rgba(240,168,0,0.4);
  background: rgba(240,168,0,0.04);
  padding: 1.4rem 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.feas-card-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.feas-card-h {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.8rem, 4.5vw, 3.8rem);
  line-height: 1;
  color: #FFF;
  margin-bottom: 0.3rem;
}
.feas-card-sub {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin-bottom: 0.5rem;
}
.feas-card-sub strong { color: var(--gold); font-weight: 500; }
.feas-card-list {
  list-style: none; margin: 0; padding: 0.7rem 0 0;
  display: grid; gap: 0.35rem;
  border-top: 1px dashed rgba(240,168,0,0.25);
}
.feas-card-list li {
  display: flex; justify-content: space-between;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}
.feas-card-list span {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  opacity: 0.6;
}
.feas-card-list strong { color: var(--gold); font-weight: 400; }
.feas-card-buffer {
  display: block;
  margin-top: 0.7rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(240,168,0,0.4);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
}
.feas-card-buffer strong { color: var(--gold); font-weight: 500; }

/* ════════════════════════════════════════
   WHY IT MATTERS
══════════════════════════════════════ */
.feas-why-panel { background: #060606; }
.feas-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 0.5rem 0 1rem;
}
.feas-why-cell {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.025);
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.feas-why-cell:hover {
  border-color: var(--gold);
  background: rgba(240,168,0,0.05);
  transform: translateY(-2px);
}
.feas-why-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.feas-why-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.1;
  color: #FFF;
  margin: 0;
}
.feas-why-text {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0;
}

.feas-callout {
  border: 1px solid rgba(240,168,0,0.35);
  background: rgba(240,168,0,0.05);
  padding: 1rem 1.3rem 1.1rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.feas-callout-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.feas-callout-text {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.96rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin: 0;
}
.feas-callout-text strong { color: var(--gold); font-weight: 500; }
.feas-callout--gold { background: rgba(240,168,0,0.10); border-color: var(--gold); }

/* ════════════════════════════════════════
   WHAT'S INCLUDED (light)
══════════════════════════════════════ */
.feas-includes-panel { background: #FFFFFF; color: #111; }
.feas-includes-panel::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.025) 0 1px, transparent 1px 16px), radial-gradient(40% 50% at 92% 8%, rgba(240,168,0,0.10), transparent 70%);
  z-index: 0;
}
.feas-includes-panel .muni-snap-inner { position: relative; z-index: 1; }
.feas-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 0.5rem;
}
.feas-include {
  background: #FFF;
  border: 1px solid rgba(0,0,0,0.10);
  padding: 0.95rem 1.1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.feas-include:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 18px -10px rgba(240,168,0,0.55);
  transform: translateY(-2px);
}
.feas-include-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.15em;
}
.feas-include-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.1;
  color: #111;
  margin: 0;
}
.feas-include-text {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(0,0,0,0.72);
  margin: 0;
}

/* ════════════════════════════════════════
   HORIZONTAL, extends .proc-h-* with feas-specific tweaks
══════════════════════════════════════ */
.feas-h-wrap { height: 400vh; /* 4 stages × 100vh */ }
.feas-h-marker { position: absolute; left: 0; right: 0; height: 1px; min-height: 0; visibility: hidden; pointer-events: none; }
#feasStage1 { top:   0vh; }
#feasStage2 { top: 100vh; }
#feasStage3 { top: 200vh; }
#feasStage4 { top: 300vh; }
.feas-h-stage--light { background: #FFFFFF; color: #111; }
.feas-h-stage--light::after { display: none; }

/* ════════════════════════════════════════
   ROI / GRAPHS
══════════════════════════════════════ */
.feas-roi-panel {
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(240,168,0,0.08), transparent 70%), #060606;
}
.feas-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 0.8rem;
}
.feas-chart {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  padding: 1.1rem 1.2rem 1.2rem;
}
.feas-chart-cap { display: flex; flex-direction: column; gap: 0.2rem; }
.feas-chart-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.feas-chart-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.3rem;
  line-height: 1.15;
  color: #FFF;
}
.feas-chart-svg { width: 100%; height: auto; display: block; }
.feas-chart-note {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  margin: 0;
}
.feas-chart-note em { color: var(--gold); }

/* ════════════════════════════════════════
   OPTIONAL POSTURE
══════════════════════════════════════ */
.feas-optional-panel { background: #060606; }
.feas-optional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.8rem;
}
.feas-opt {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.025);
  padding: 1.2rem 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.feas-opt--do {
  border-color: rgba(120,200,140,0.4);
  background: rgba(120,200,140,0.05);
}
.feas-opt--skip {
  border-color: rgba(240,168,0,0.4);
  background: rgba(240,168,0,0.05);
}
.feas-opt-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1;
  color: #FFF;
}
.feas-opt--do .feas-opt-eyebrow { color: rgba(160,220,170,1); }
.feas-opt--skip .feas-opt-eyebrow { color: var(--gold); }
.feas-opt-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.45rem;
}
.feas-opt-list li {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  padding-left: 1.2rem;
  position: relative;
}
.feas-opt--do .feas-opt-list li::before {
  content: '+';
  position: absolute; left: 0;
  color: rgba(160,220,170,1);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
}
.feas-opt--skip .feas-opt-list li::before {
  content: '/';
  position: absolute; left: 0;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

/* ════════════════════════════════════════
   CTA
══════════════════════════════════════ */
.feas-cta-panel { background: #000; overflow: hidden; isolation: isolate; }
.feas-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);
}
.feas-cta-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.feas-cta-h2 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: 1.05; margin-bottom: 1.1rem; }
.feas-cta-lede {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin: 0 0 1.5rem;
}
.feas-cta-actions { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.feas-cta-btn { padding: 0.95rem 1.4rem 0.9rem 1.45rem; }
.feas-cta-link {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.feas-cta-link:hover { color: var(--gold); }
.feas-cta-link .slash-motif { color: var(--gold); padding-left: 0.4rem; }

.feas-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;
}
.feas-cta-card-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.feas-cta-card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.feas-cta-card-list li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  border-left: 1px solid rgba(240,168,0,0.35);
  padding: 0.1rem 0 0.1rem 0.7rem;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.feas-cta-card-rank {
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
}
.feas-cta-card-foot {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  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.65rem;
  text-align: center;
}

/* ════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1180px) {
  .feas-why-grid          { grid-template-columns: repeat(2, 1fr); }
  .feas-includes-grid     { grid-template-columns: repeat(3, 1fr); gap: 0.55rem; }
  .feas-include           { padding: 0.7rem 0.85rem 0.85rem; }
  .feas-include-name      { font-size: 1.1rem; }
  .feas-include-text      { font-size: 0.78rem; line-height: 1.45; }
  .feas-charts            { gap: 1rem; }
  .feas-chart             { padding: 0.85rem 1rem 1rem; }
  .feas-chart-title       { font-size: 1.1rem; }
}
@media (max-width: 980px) {
  .feas-hero-inner        { grid-template-columns: 1fr; gap: 1.4rem; }
  .feas-includes-grid     { grid-template-columns: repeat(2, 1fr); }
  .feas-charts            { grid-template-columns: 1fr; }
  .feas-optional-grid     { grid-template-columns: 1fr; }
  .feas-cta-inner         { grid-template-columns: 1fr; }
  .feas-h-wrap            { height: auto; }
  .feas-h-marker          { display: none; }
}
@media (max-width: 720px) {
  .feas-why-grid          { grid-template-columns: 1fr; }
  .feas-includes-grid     { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   TEXT BUMP — bigger for readability, kept within sections
══════════════════════════════════════ */
.feas-hero-sub, .muni-page-subhead { font-size: clamp(1.18rem, 1.4vw, 1.36rem); line-height: 1.7; }
.feas-lede, .feas-section-lede { font-size: 1.22rem; line-height: 1.7; }
.feas-h-lede, .feas-step-lede { font-size: 1.28rem !important; line-height: 1.7 !important; }
.feas-h-deliv li, .feas-step-deliv li { font-size: 1.14rem !important; line-height: 1.6 !important; }
.feas-h-chip { padding: 1rem 1.15rem 1.1rem !important; }
.feas-h-chip-value, .feas-step-chip-value { font-size: 1.36rem !important; }
.feas-h-chip-label, .feas-step-chip-label { font-size: 0.78rem !important; }

/* Hero card */
.feas-card-eyebrow { font-size: 0.82rem !important; }
.feas-card-sub { font-size: 1.04rem !important; line-height: 1.65 !important; }
.feas-card-list li { font-size: 0.98rem !important; }
.feas-card-list span { font-size: 0.84rem !important; }

/* Why-it-matters cells */
.feas-why-name { font-size: 1.4rem !important; }
.feas-why-text { font-size: 1rem !important; line-height: 1.6 !important; }
.feas-why-num { font-size: 0.96rem !important; }

/* Includes (light) cards */
.feas-include-name { font-size: 1.42rem !important; }
.feas-include-text { font-size: 1rem !important; line-height: 1.6 !important; }
.feas-include-num { font-size: 1.04rem !important; }

/* ROI charts */
.feas-chart-title { font-size: 1.5rem !important; }
.feas-chart-eyebrow { font-size: 0.78rem !important; }
.feas-chart-note { font-size: 0.92rem !important; line-height: 1.6 !important; }
.feas-chart { padding: 1.35rem 1.4rem 1.4rem !important; gap: 0.85rem !important; }
/* Keep charts and their captions clipped inside their card so SVGs cannot
   overlap into the neighboring chart card or out of the section. */
.feas-chart-svg { max-width: 100%; max-height: 320px; }

/* Optional posture */
.feas-opt-eyebrow { font-size: 1.7rem !important; }
.feas-opt-list li { font-size: 1.04rem !important; line-height: 1.6 !important; }

/* CTA */
.feas-cta-h2 { font-size: clamp(2.6rem, 4.8vw, 4.1rem) !important; }
.feas-cta-lede { font-size: 1.24rem !important; line-height: 1.7 !important; }
.feas-cta-card-eyebrow { font-size: 0.84rem !important; }
.feas-cta-card-list li { font-size: 1.06rem !important; }
.feas-cta-card-rank { font-size: 1.28rem !important; }
.feas-cta-card-foot { font-size: 0.84rem !important; }
.feas-cta-link { font-size: 0.9rem !important; }

.feas-h2, .feas-section-h2 { font-size: clamp(2.5rem, 4.4vw, 3.8rem) !important; }
.feas-h-eyebrow { font-size: 0.96rem !important; letter-spacing: 0.3em !important; }
.feas-h-counter { font-size: 1.25rem !important; }
.feas-callout-text { font-size: 1.18rem !important; line-height: 1.7 !important; }
.feas-callout-eyebrow { font-size: 0.78rem !important; }

/* Section-bounds guard — no content escapes the snap panel */
.muni-snap-panel, .feas-hero-panel, .feas-why-panel, .feas-includes-panel,
.feas-roi-panel, .feas-optional-panel, .feas-cta-panel {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .feas-lede, .feas-section-lede { font-size: 1.04rem; }
  .feas-h-lede, .feas-step-lede { font-size: 1.1rem !important; }
  .feas-h-deliv li, .feas-step-deliv li { font-size: 0.98rem !important; }
  .feas-h-chip-value { font-size: 1.18rem !important; }
  .feas-h-chip-label { font-size: 0.7rem !important; }
  .feas-why-name { font-size: 1.2rem !important; }
  .feas-why-text { font-size: 0.9rem !important; }
  .feas-include-name { font-size: 1.2rem !important; }
  .feas-include-text { font-size: 0.88rem !important; }
  .feas-chart-title { font-size: 1.25rem !important; }
  .feas-chart-note { font-size: 0.82rem !important; }
  .feas-cta-lede { font-size: 1.08rem !important; }
  .feas-cta-card-list li { font-size: 0.94rem !important; }
}
