/*
 * VeredaoSol · V8 visual pass
 * Additive visual direction below the protected hero, plus the explicitly
 * requested V8-only consolidation of the hero controls. Every rule is scoped
 * to a V8 marker so it cannot affect V7 or the other pages.
 */

/* The V8 hero remains the same visual system; only its now-default control state
   is consolidated into one shared pill. */
.moment-image[data-hero-ui="v8"] .hero-interactions { gap: 0; }

.moment-image[data-hero-ui="v8"] .mobile-view-label { display: none; }

.moment-image[data-hero-ui="v8"] .view-actions {
  display: block;
  justify-items: initial;
}

.moment-image[data-hero-ui="v8"] .view-switcher {
  display: inline-flex;
  overflow: visible;
  padding: 4px;
  align-items: center;
  gap: 0;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(16, 43, 36, 0.5);
  box-shadow: 0 12px 34px rgba(16, 43, 36, 0.2);
  animation: v8-control-breathe 3.8s ease-in-out infinite !important;
}

.moment-image[data-hero-ui="v8"] .view-switcher .lens-launcher {
  display: grid !important;
  width: 42px;
  height: 38px;
  min-height: 38px;
  flex: 0 0 42px;
  padding: 0;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.moment-image[data-hero-ui="v8"] .view-switcher .lens-launcher svg {
  width: 19px;
  height: 19px;
}

.moment-image[data-hero-ui="v8"] .view-switcher .lens-launcher::after {
  inset: 5px;
  border-width: 1px;
  border-color: rgba(232, 182, 79, 0.78);
  animation: v8-lens-in-pill 2.1s ease-out infinite;
}

.moment-image[data-hero-ui="v8"] .view-switcher .lens-launcher:hover,
.moment-image[data-hero-ui="v8"] .view-switcher .lens-launcher:focus-visible {
  color: #102b24;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: none;
  transform: none;
}

.moment-image[data-hero-ui="v8"] .view-switcher .lens-launcher[aria-pressed="true"] {
  color: #102b24;
  background: #e8b64f;
}

@keyframes v8-control-breathe {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 34px rgba(16, 43, 36, 0.18), 0 0 0 0 rgba(232, 182, 79, 0.08);
  }
  50% {
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 38px rgba(16, 43, 36, 0.23), 0 0 0 5px rgba(232, 182, 79, 0.035);
  }
}

@keyframes v8-lens-in-pill {
  0%, 42% { opacity: 0.72; transform: scale(0.72); }
  100% { opacity: 0; transform: scale(1.18); }
}

@media (max-width: 760px) and (orientation: portrait) {
  .moment-image[data-hero-ui="v8"] {
    --mobile-price-bridge: clamp(88px, 10.5svh, 98px);
    height: 100svh;
    min-height: 100svh;
    background: var(--presence-paper, #f2ede3);
    isolation: isolate;
  }

  .moment-image[data-hero-ui="v8"] > picture {
    inset: 0 0 auto;
    height: calc(100svh - var(--mobile-price-bridge));
  }

  .moment-image[data-hero-ui="v8"] > picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .moment-image[data-hero-ui="v8"] .image-note {
    right: 14px;
    bottom: calc(var(--mobile-price-bridge) + 14px + env(safe-area-inset-bottom));
    left: 14px;
    display: block !important;
  }

  .moment-image[data-hero-ui="v8"]::after {
    bottom: var(--mobile-price-bridge);
    background:
      linear-gradient(180deg, rgba(8, 20, 15, 0.2) 0%, transparent 22%),
      linear-gradient(180deg, transparent 52%, rgba(8, 20, 15, 0.12) 64%, rgba(8, 20, 15, 0.78) 100%);
  }

  .moment-image[data-hero-ui="v8"]::before {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    height: var(--mobile-price-bridge);
    background: var(--presence-paper, #f2ede3);
    content: "";
    pointer-events: none;
  }

  .moment-image[data-hero-ui="v8"] .view-note {
    display: none;
  }

  .moment-image[data-hero-ui="v8"] .image-caption {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .moment-image[data-hero-ui="v8"] .hero-control-stack {
    width: 100%;
    overflow: hidden;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 25px;
    gap: 0;
    background: rgba(11, 30, 24, 0.7);
    box-shadow: 0 16px 42px rgba(8, 20, 15, 0.24);
    backdrop-filter: blur(16px) saturate(112%);
  }

  .moment-image[data-hero-ui="v8"] .xray-toggle[hidden] {
    display: none !important;
  }

  .moment-image[data-hero-ui="v8"] .tone-controls {
    width: 100%;
    min-height: 46px;
    padding: 0 5px 4px 11px;
    border: 0;
    border-radius: 0;
    justify-content: space-between;
    gap: 6px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .moment-image[data-hero-ui="v8"] .tone-label {
    font-size: 0.6rem;
    letter-spacing: 0.075em;
  }

  .moment-image[data-hero-ui="v8"] .tone-picker {
    gap: 1px;
  }

  .moment-image[data-hero-ui="v8"] .tone-option {
    width: 43px;
    height: 43px;
    min-width: 43px;
    min-height: 43px;
  }

  .moment-image[data-hero-ui="v8"] .tone-option::before {
    width: 20px;
    height: 20px;
  }

  .moment-image[data-hero-ui="v8"] .hero-interactions {
    width: 100%;
    height: auto;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .moment-image[data-hero-ui="v8"] .view-switcher {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    animation: none !important;
  }

  .moment-image[data-hero-ui="v8"] .view-actions {
    display: grid;
    height: auto;
  }

  .moment-image[data-hero-ui="v8"] .view-switcher .lens-launcher {
    width: 48px;
    height: 44px;
    min-height: 44px;
    flex-basis: 48px;
  }

  .moment-image[data-hero-ui="v8"] .view-switcher .lens-launcher::after {
    animation-iteration-count: 3;
  }

  .moment-image[data-hero-ui="v8"] .view-switcher .lens-launcher[aria-pressed="true"]::after {
    animation: none;
    opacity: 0;
  }

  .moment-image[data-hero-ui="v8"] .view-switcher .lens-launcher[aria-pressed="true"]::before {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--presence-sans, Inter, sans-serif);
    font-size: 1.08rem;
    font-weight: 500;
    content: "×";
  }

  .moment-image[data-hero-ui="v8"] .view-switcher .lens-launcher[aria-pressed="true"] svg {
    opacity: 0;
  }

  .moment-image[data-hero-ui="v8"] .view-option {
    min-width: 0;
    min-height: 44px;
    padding-inline: 4px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.57rem, 2.25vw, 0.62rem);
    letter-spacing: 0.025em;
    white-space: nowrap;
  }

  .moment-image[data-hero-ui="v8"] .view-option[aria-pressed="true"] {
    color: var(--forest-deep, #102b24);
  }

  .moment-image[data-hero-ui="v8"] .desktop-view-label { display: none; }
  .moment-image[data-hero-ui="v8"] .mobile-view-label { display: inline; }

  .moment-image[data-hero-ui="v8"] .view-option[data-house-view="timber"] {
    flex-grow: 1.2;
    letter-spacing: 0.025em;
  }

  .moment-image[data-hero-ui="v8"] .hero-price-badge {
    right: auto;
    bottom: calc(23px + env(safe-area-inset-bottom));
    left: 20px;
    padding: 0;
    border-radius: 0;
    color: var(--presence-ink, #221f1a);
    background: transparent;
    font-size: clamp(1.95rem, 8.6vw, 2.2rem);
    filter: none;
    transform: none;
  }

  body.home-page .menu-button {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
  }

  body.home-page .masthead,
  body.home-page .masthead.past-hero {
    height: calc(72px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    transition: color 0s, background 160ms ease, backdrop-filter 160ms ease, opacity 160ms ease;
  }

  body.home-page .masthead .wordmark,
  body.home-page .masthead .header-price {
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  html.intro-ready body.home-page.price-in-header .hero-price-badge {
    visibility: hidden;
    opacity: 0;
    filter: none;
    transform: none;
    transition: none;
  }

  .masthead.past-hero ~ main .moment-image[data-hero-ui="v8"] .image-note {
    visibility: hidden;
    opacity: 0 !important;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 0s 160ms;
  }

  .presence-flow[data-visual-story="v8"] .presence-opening {
    min-height: max(720px, 104svh);
    padding-top: clamp(52px, 7svh, 64px);
  }
}

@media (max-width: 340px) and (orientation: portrait) {
  .moment-image[data-hero-ui="v8"] .view-switcher .lens-launcher {
    width: 44px;
    flex-basis: 44px;
  }

  .moment-image[data-hero-ui="v8"] .view-option {
    padding-inline: 2px;
    font-size: 0.54rem;
    letter-spacing: 0.015em;
  }

  .moment-image[data-hero-ui="v8"] .view-option[data-house-view="timber"] {
    flex-grow: 1.25;
    letter-spacing: 0.01em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .moment-image[data-hero-ui="v8"] .view-switcher,
  .moment-image[data-hero-ui="v8"] .view-switcher .lens-launcher::after {
    animation: none !important;
  }
}

/* Intent discovery: four real catalog models, staged as four lived possibilities. */
.presence-flow[data-visual-story="v8"] .presence-intent-grid {
  display: grid;
  margin-top: clamp(64px, 9vh, 108px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 18px);
}

.presence-flow[data-visual-story="v8"] .presence-intent-intro {
  max-width: 24em;
  margin: clamp(20px, 3vh, 30px) auto 0;
  color: var(--presence-muted);
  font-size: clamp(1.18rem, 1.9vw, 1.55rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.45;
}

.presence-flow[data-visual-story="v8"] .presence-intent-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border: 1px solid rgba(69, 57, 43, 0.12);
  border-radius: clamp(22px, 2.2vw, 30px);
  color: #fffaf1;
  background: #51493e;
  box-shadow: 0 24px 58px rgba(38, 31, 23, 0.11);
  isolation: isolate;
}

.presence-flow[data-visual-story="v8"] .presence-intent-card picture,
.presence-flow[data-visual-story="v8"] .presence-intent-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.presence-flow[data-visual-story="v8"] .presence-intent-card img {
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), filter 500ms ease;
}

.presence-flow[data-visual-story="v8"] .presence-intent-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 17, 14, 0.015) 30%, rgba(10, 17, 14, 0.82) 100%),
    linear-gradient(90deg, rgba(10, 17, 14, 0.15), transparent 54%);
  content: "";
  pointer-events: none;
}

.presence-flow[data-visual-story="v8"] .presence-intent-card:hover img,
.presence-flow[data-visual-story="v8"] .presence-intent-card:focus-visible img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.025);
}

.presence-flow[data-visual-story="v8"] .presence-intent-card:focus-visible {
  outline: 3px solid var(--presence-clay);
  outline-offset: 4px;
}

.presence-flow[data-visual-story="v8"] .presence-intent-copy {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 3vw, 38px);
  bottom: clamp(24px, 3vw, 38px);
  left: clamp(24px, 3vw, 38px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 24px;
  text-shadow: 0 2px 18px rgba(10, 12, 10, 0.42);
}

.presence-flow[data-visual-story="v8"] .presence-intent-copy small {
  grid-column: 1 / -1;
  margin-bottom: 10px;
  font-family: var(--presence-sans);
  font-size: 0.63rem;
  font-weight: 720;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.presence-flow[data-visual-story="v8"] .presence-intent-copy strong {
  max-width: 10.5em;
  font-family: var(--presence-serif);
  font-size: clamp(1.7rem, 2.3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.presence-flow[data-visual-story="v8"] .presence-intent-copy em {
  grid-column: 1;
  margin-top: 15px;
  color: rgba(255, 250, 241, 0.8);
  font-family: var(--presence-sans);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 520;
  letter-spacing: 0.025em;
}

.presence-flow[data-visual-story="v8"] .presence-intent-copy i {
  grid-row: 2 / 4;
  grid-column: 2;
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 250, 241, 0.42);
  border-radius: 50%;
  place-items: center;
  font-family: var(--presence-sans);
  font-size: 1rem;
  font-style: normal;
  transition: color 240ms ease, background 240ms ease, transform 240ms ease;
}

.presence-flow[data-visual-story="v8"] .presence-intent-card:hover .presence-intent-copy i,
.presence-flow[data-visual-story="v8"] .presence-intent-card:focus-visible .presence-intent-copy i {
  color: var(--presence-ink);
  background: #fffaf1;
  transform: translateX(3px);
}

.presence-flow[data-visual-story="v8"] .presence-all-intents {
  display: flex;
  width: fit-content;
  margin: clamp(48px, 7vh, 76px) auto 0;
  padding-bottom: 9px;
  border-bottom: 1px solid currentColor;
  align-items: center;
  gap: 18px;
  color: var(--presence-clay-dark);
  font-family: var(--presence-sans);
  font-size: 0.78rem;
  font-weight: 670;
}

/* Scope is a readable visual, not a legal-looking specification table. */
.presence-sheet[data-visual-story="v8"] .v8-scope-matrix {
  overflow: visible;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  gap: 12px;
}

.presence-sheet[data-visual-story="v8"] .v8-scope-group {
  overflow: hidden;
  border: 1px solid rgba(34, 31, 26, 0.1);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.68);
}

.presence-sheet[data-visual-story="v8"] .v8-scope-group header {
  display: flex;
  padding: 17px 18px 15px;
  border-bottom: 1px solid rgba(34, 31, 26, 0.08);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.presence-sheet[data-visual-story="v8"] .v8-scope-group header small {
  padding: 7px 9px 6px;
  border-radius: 999px;
  color: #fffdf8;
  background: #21493c;
  font-family: var(--presence-sans);
  font-size: 0.54rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.presence-sheet[data-visual-story="v8"] .v8-scope-group[data-scope-state="optional"] header small { background: #aa523d; }
.presence-sheet[data-visual-story="v8"] .v8-scope-group[data-scope-state="project"] header small { color: #1d3934; background: #c5dcd7; }

.presence-sheet[data-visual-story="v8"] .v8-scope-group header strong {
  color: rgba(34, 31, 26, 0.68);
  font-family: var(--presence-sans);
  font-size: 0.65rem;
  font-weight: 650;
}

.presence-sheet[data-visual-story="v8"] .v8-scope-group ul {
  margin: 0;
  padding: 0 18px;
  list-style: none;
}

.presence-sheet[data-visual-story="v8"] .v8-scope-group li {
  display: grid;
  padding: 14px 0 15px;
  grid-template-columns: minmax(116px, 0.78fr) minmax(0, 1.45fr);
  align-items: baseline;
  gap: 14px;
}

.presence-sheet[data-visual-story="v8"] .v8-scope-group li + li { border-top: 1px solid rgba(34, 31, 26, 0.075); }

.presence-sheet[data-visual-story="v8"] .v8-scope-group li b {
  font-family: var(--presence-sans);
  font-size: 0.67rem;
  font-weight: 700;
  line-height: 1.35;
}

.presence-sheet[data-visual-story="v8"] .v8-scope-group li span {
  color: #625e58;
  font-family: var(--presence-sans);
  font-size: 0.68rem;
  line-height: 1.48;
}

.presence-sheet-boundary:empty { display: none; }

@media (max-width: 760px) {
  .presence-flow[data-visual-story="v8"] .presence-intent-grid {
    margin-top: clamp(54px, 8vh, 82px);
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 16px;
  }

  .presence-flow[data-visual-story="v8"] .presence-intent-card,
  .presence-flow[data-visual-story="v8"] .presence-intent-card:nth-child(n) {
    aspect-ratio: 4 / 5;
    grid-column: 1;
    border-radius: 24px;
  }

  .presence-flow[data-visual-story="v8"] .presence-intent-card img { object-position: center; }

  .presence-flow[data-visual-story="v8"] .presence-intent-copy {
    right: 22px;
    bottom: 24px;
    left: 22px;
    column-gap: 14px;
  }

  .presence-flow[data-visual-story="v8"] .presence-intent-copy strong {
    max-width: 10em;
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  .presence-flow[data-visual-story="v8"] .presence-intent-intro {
    max-width: 18em;
    font-size: 1.2rem;
  }

  .presence-flow[data-visual-story="v8"] .presence-intent-copy i {
    width: 40px;
    height: 40px;
  }

  .presence-flow[data-visual-story="v8"] .presence-all-intents {
    max-width: 280px;
    font-size: 0.73rem;
    line-height: 1.45;
    text-align: center;
  }

  .presence-sheet[data-visual-story="v8"] .v8-scope-group li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .presence-sheet[data-visual-story="v8"] .v8-scope-group li b { font-size: 0.7rem; }
  .presence-sheet[data-visual-story="v8"] .v8-scope-group li span { font-size: 0.72rem; }
}

.presence-flow[data-visual-story="v8"] .v8-reveal-shell {
  width: 100%;
}

.presence-flow[data-visual-story="v8"] .v8-visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #d9cfbf;
}

.presence-flow[data-visual-story="v8"] .v8-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.presence-flow[data-visual-story="v8"] .v8-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.presence-flow[data-visual-story="v8"] .v8-price-recall {
  --v8-window-start: -4.5%;
  --v8-window-end: 4.5%;
  width: min(1600px, calc(100vw - 32px));
  height: clamp(480px, 68svh, 760px);
  aspect-ratio: auto;
  margin-top: clamp(92px, 14svh, 168px);
  margin-right: 0;
  margin-left: 50%;
  border-radius: clamp(2px, 0.7vw, 12px);
  background: #cec4b4;
  box-shadow: none;
  isolation: isolate;
  transform: translateX(-50%);
  view-timeline-axis: block;
  view-timeline-name: --v8-price-window;
}

.presence-flow[data-visual-story="v8"] .v8-price-recall picture {
  position: absolute;
  z-index: 0;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  transform: translate3d(0, 0, 0);
}

.presence-flow[data-visual-story="v8"] .v8-price-recall img {
  object-position: center 51%;
}

.presence-flow[data-visual-story="v8"] .v8-price-recall::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 0;
  background:
    linear-gradient(180deg, rgba(18, 15, 11, 0.07) 0%, transparent 16%, transparent 80%, rgba(18, 15, 11, 0.09) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.26),
    inset 0 14px 24px rgba(22, 17, 11, 0.045);
  content: "";
  pointer-events: none;
}

@keyframes v8-price-window-drift {
  from { transform: translate3d(0, var(--v8-window-start), 0); }
  to { transform: translate3d(0, var(--v8-window-end), 0); }
}

@supports (animation-timeline: view()) {
  .presence-flow[data-visual-story="v8"] .v8-price-recall picture {
    animation-name: v8-price-window-drift;
    animation-duration: 1ms;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-timeline: --v8-price-window;
    animation-range: entry 0% exit 100%;
    will-change: transform;
  }
}

.presence-flow[data-visual-story="v8"] .v8-price-recall + * {
  margin-top: 0;
}

.presence-flow[data-visual-story="v8"] .v8-reveal-shell + .presence-stay-with {
  margin-top: clamp(92px, 14svh, 168px);
}

/* These three fragments are one sentence. Their visual pauses are therefore
   equal, instead of leaving a large jump after the first line. */
.presence-flow[data-visual-story="v8"] .presence-stay-with > .presence-aside,
.presence-flow[data-visual-story="v8"] .presence-stay-with > .presence-material-pause {
  color: var(--presence-muted);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.45;
}

.presence-flow[data-visual-story="v8"] .presence-stay-with > .presence-aside {
  margin-bottom: 0;
}

.presence-flow[data-visual-story="v8"] .presence-stay-with > .presence-material-pause {
  display: grid;
  margin-top: clamp(24px, 3.2svh, 34px) !important;
  gap: clamp(24px, 3.2svh, 34px);
}

.presence-flow[data-visual-story="v8"] .presence-stay-with > .presence-material-pause span {
  display: block;
}

.presence-flow[data-visual-story="v8"] .presence-branch-lead {
  margin: 0 0 clamp(22px, 2.8svh, 30px);
  line-height: 1.35;
}

.presence-flow[data-visual-story="v8"] .presence-branch-links {
  row-gap: 12px;
}

.presence-flow[data-visual-story="v8"] .presence-scope {
  width: min(1120px, calc(100vw - 48px));
  gap: 2px;
  background: rgba(34, 31, 26, 0.08);
}

.presence-flow[data-visual-story="v8"] .presence-scope .v8-scope-frame {
  display: grid;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: var(--presence-ink);
  background: var(--presence-paper-deep);
  grid-template-rows: 1fr auto;
  text-align: left;
}

.presence-flow[data-visual-story="v8"] .presence-scope .v8-scope-frame::before {
  display: none;
}

.presence-flow[data-visual-story="v8"] .v8-scope-frame picture {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.presence-flow[data-visual-story="v8"] .v8-scope-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.presence-flow[data-visual-story="v8"] .v8-scope-frame:nth-child(1) img,
.presence-flow[data-visual-story="v8"] .v8-scope-frame:nth-child(3) img {
  object-position: 50% center;
}

.presence-flow[data-visual-story="v8"] .v8-scope-frame:nth-child(4) img {
  object-position: 64% center;
}

.presence-flow[data-visual-story="v8"] .v8-scope-frame strong {
  display: flex;
  min-height: 72px;
  padding: 18px 16px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--presence-sans);
  font-size: clamp(0.68rem, 1vw, 0.8rem);
  font-weight: 680;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.presence-flow[data-visual-story="v8"] .v8-scope-frame strong::before {
  color: var(--presence-clay-dark);
  content: "0" counter(v8-scope);
  counter-increment: v8-scope;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.presence-flow[data-visual-story="v8"] .presence-scope {
  counter-reset: v8-scope;
}

@media (hover: hover) and (pointer: fine) {
  .presence-flow[data-visual-story="v8"] .v8-scope-frame:hover img {
    transform: scale(1.025);
  }
}

.presence-flow[data-visual-story="v8"] .presence-plot {
  overflow: hidden;
  width: min(1240px, calc(100vw - 48px));
  aspect-ratio: 16 / 9;
  margin-right: 0;
  margin-left: calc((100% - min(1240px, calc(100vw - 48px))) / 2);
  border: 0;
  border-radius: clamp(2px, 0.7vw, 10px);
  color: var(--presence-ink);
  background: #19372f;
  box-shadow: none;
}

.presence-flow[data-visual-story="v8"] .v8-plot-media,
.presence-flow[data-visual-story="v8"] .v8-plot-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.presence-flow[data-visual-story="v8"] .v8-plot-media img {
  object-fit: cover;
  filter: saturate(0.92) contrast(0.98);
}

.presence-flow[data-visual-story="v8"] .v8-plot-key {
  display: grid;
  width: min(720px, calc(100vw - 48px));
  margin: clamp(20px, 3vw, 30px) auto 0;
  grid-template-columns: repeat(3, 1fr);
  color: var(--presence-muted);
  font-family: var(--presence-sans);
  font-size: clamp(0.61rem, 0.9vw, 0.72rem);
  font-weight: 680;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.presence-flow[data-visual-story="v8"] .v8-plot-key span + span {
  border-left: 1px solid var(--presence-faint);
}

/* Build time: two real processes, prepared in parallel. */
.presence-flow[data-visual-story="v8"] .v8-time-parallel {
  display: grid;
  width: min(100%, 960px);
  aspect-ratio: 2 / 1;
  margin: clamp(42px, 7vw, 84px) auto clamp(36px, 6vw, 72px);
  border-radius: clamp(24px, 3vw, 38px);
  box-shadow: 0 34px 90px rgba(38, 31, 23, 0.12);
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.presence-flow[data-visual-story="v8"] .v8-time-panel {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
}

.presence-flow[data-visual-story="v8"] .v8-time-panel img { object-position: center; }

.presence-flow[data-visual-story="v8"] .v8-time-panel::after {
  position: absolute;
  z-index: 1;
  inset: 50% 0 0;
  background: linear-gradient(180deg, transparent, rgba(18, 15, 11, 0.42));
  content: "";
  pointer-events: none;
}

.presence-flow[data-visual-story="v8"] .v8-time-panel strong {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: #fffaf1;
  font-family: var(--presence-sans);
  font-size: clamp(0.62rem, 0.9vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-align: left;
  text-transform: uppercase;
}

/* Familiarity: the conventional material world, shown honestly rather than diagrammed. */
.presence-flow[data-visual-story="v8"] .presence-material-wall {
  width: min(100%, 960px);
  min-height: 0;
  aspect-ratio: 2 / 1;
  border: 0;
  border-radius: clamp(24px, 3vw, 38px);
  background: #d8c8b5;
  box-shadow: 0 34px 90px rgba(38, 31, 23, 0.12);
}

.presence-flow[data-visual-story="v8"] .presence-material-wall::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(28, 23, 18, 0.34));
  content: "";
  pointer-events: none;
}

.presence-flow[data-visual-story="v8"] .v8-material-media,
.presence-flow[data-visual-story="v8"] .v8-material-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.presence-flow[data-visual-story="v8"] .v8-material-media img {
  object-fit: cover;
}

.presence-flow[data-visual-story="v8"] .presence-material-wall span {
  z-index: 2;
  top: auto;
  right: auto;
  bottom: 7%;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(24, 22, 19, 0.46);
  box-shadow: 0 8px 24px rgba(24, 18, 12, 0.12);
  backdrop-filter: blur(8px);
}

.presence-flow[data-visual-story="v8"] .presence-material-wall span:nth-of-type(1) { left: 4%; }
.presence-flow[data-visual-story="v8"] .presence-material-wall span:nth-of-type(2) { left: 37.3%; }
.presence-flow[data-visual-story="v8"] .presence-material-wall span:nth-of-type(3) { left: 70.6%; }
.presence-flow[data-visual-story="v8"] .presence-material-wall i { display: none; }

/* Different lives: one shared home, not four generic lifestyle cards. */
.presence-flow[data-visual-story="v8"] .presence-life-field {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  border: 0;
  border-radius: clamp(24px, 3vw, 38px);
  background: #6f604d;
  box-shadow: 0 34px 90px rgba(38, 31, 23, 0.13);
}

.presence-flow[data-visual-story="v8"] .presence-life-field::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 20, 0.12), rgba(16, 24, 20, 0.42)),
    linear-gradient(90deg, rgba(24, 20, 15, 0.28), transparent 46%, rgba(24, 20, 15, 0.18));
  content: "";
  pointer-events: none;
}

.presence-flow[data-visual-story="v8"] .v8-life-media,
.presence-flow[data-visual-story="v8"] .v8-life-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.presence-flow[data-visual-story="v8"] .v8-life-media img {
  object-fit: cover;
  object-position: center;
}

.presence-flow[data-visual-story="v8"] .presence-life-field a {
  position: relative;
  z-index: 2;
  min-height: 300px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom-color: rgba(255, 255, 255, 0.2);
  color: #fffaf1;
  background: rgba(20, 28, 24, 0.12);
  text-shadow: 0 2px 20px rgba(16, 13, 10, 0.24);
}

.presence-flow[data-visual-story="v8"] .presence-life-field a:nth-of-type(even) { border-right: 0; }
.presence-flow[data-visual-story="v8"] .presence-life-field a:hover,
.presence-flow[data-visual-story="v8"] .presence-life-field a:focus-visible { background: rgba(20, 28, 24, 0.3); }
.presence-flow[data-visual-story="v8"] .presence-life-field span {
  font-size: clamp(2.25rem, 3.2vw, 3.2rem);
  line-height: 0.98;
}
.presence-flow[data-visual-story="v8"] .presence-life-field small { color: rgba(255, 250, 241, 0.78); }

/* One project: replace the abstract network with a real connected project table. */
.presence-flow[data-visual-story="v8"] .presence-network-map {
  overflow: hidden;
  width: min(88vw, 760px);
  border: 1px solid rgba(248, 242, 232, 0.14);
  border-radius: clamp(24px, 3vw, 38px);
  box-shadow: 0 34px 94px rgba(5, 17, 14, 0.28);
}

.presence-flow[data-visual-story="v8"] .presence-network-map::before,
.presence-flow[data-visual-story="v8"] .presence-network-map::after { display: none; }

.presence-flow[data-visual-story="v8"] .v8-network-media,
.presence-flow[data-visual-story="v8"] .v8-network-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.presence-flow[data-visual-story="v8"] .v8-network-media img {
  object-fit: cover;
}

.presence-flow[data-visual-story="v8"] .presence-network-map a,
.presence-flow[data-visual-story="v8"] .presence-network-center {
  z-index: 2;
  border-color: rgba(248, 242, 232, 0.32);
  background: rgba(12, 35, 29, 0.78);
  box-shadow: 0 8px 26px rgba(4, 15, 12, 0.2);
  backdrop-filter: blur(10px);
}

.presence-flow[data-visual-story="v8"] .presence-network-map a:nth-of-type(1) { top: 3.5%; left: 50%; right: auto; bottom: auto; transform: translateX(-50%); }
.presence-flow[data-visual-story="v8"] .presence-network-map a:nth-of-type(2) { top: 45%; right: 2%; bottom: auto; left: auto; transform: none; }
.presence-flow[data-visual-story="v8"] .presence-network-map a:nth-of-type(3) { top: auto; right: auto; bottom: 3.5%; left: 50%; transform: translateX(-50%); }
.presence-flow[data-visual-story="v8"] .presence-network-map a:nth-of-type(4) { top: 45%; right: auto; bottom: auto; left: 2%; transform: none; }

@media (max-width: 760px) {
  .presence-sheet[data-visual-story="v8"] .presence-sheet-eyebrow {
    max-width: calc(100% - 58px);
    padding-right: 8px;
    line-height: 1.35;
  }

  .presence-flow[data-visual-story="v8"] .v8-price-recall {
    --v8-window-start: -2.25%;
    --v8-window-end: 2.25%;
    width: calc(100vw - 20px);
    height: clamp(540px, 78svh, 720px);
    aspect-ratio: auto;
    margin-top: clamp(78px, 12svh, 118px);
    border-radius: 14px;
  }

  .presence-flow[data-visual-story="v8"] .v8-price-recall picture {
    top: -5%;
    height: 110%;
  }

  .presence-flow[data-visual-story="v8"] .v8-price-recall img {
    object-position: center 50%;
  }

  .presence-flow[data-visual-story="v8"] .v8-reveal-shell + .presence-stay-with {
    margin-top: clamp(80px, 12svh, 122px);
  }

  .presence-flow[data-visual-story="v8"] .presence-scope {
    width: calc(100vw - 28px);
    grid-template-columns: 1fr;
    gap: 14px;
    background: transparent;
  }

  .presence-flow[data-visual-story="v8"] .presence-scope .v8-scope-frame {
    overflow: hidden;
    border-radius: 20px;
    background: #f2e9dc;
    box-shadow: 0 18px 44px rgba(38, 31, 23, 0.1);
  }

  .presence-flow[data-visual-story="v8"] .v8-scope-frame picture {
    aspect-ratio: 16 / 10;
  }

  .presence-flow[data-visual-story="v8"] .v8-scope-frame strong {
    display: grid;
    min-height: 62px;
    padding: 15px 16px 16px;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
  }

  .presence-flow[data-visual-story="v8"] .presence-plot {
    width: calc(100% + 16px);
    aspect-ratio: 4 / 5;
    margin-inline: -8px;
    border-radius: 24px;
  }

  .presence-flow[data-visual-story="v8"] .v8-plot-key {
    width: calc(100% + 4px);
    margin-top: 18px;
    margin-inline: -2px;
    grid-template-columns: 1fr;
    text-align: left;
  }

  .presence-flow[data-visual-story="v8"] .v8-plot-key span {
    padding: 14px 4px;
    border-bottom: 1px solid var(--presence-faint);
  }

  .presence-flow[data-visual-story="v8"] .v8-plot-key span + span {
    border-left: 0;
  }

  .presence-flow[data-visual-story="v8"] .v8-time-parallel {
    width: calc(100% + 16px);
    aspect-ratio: 4 / 5;
    margin: 46px -8px 40px;
    border-radius: 24px;
    box-shadow: 0 24px 62px rgba(38, 31, 23, 0.13);
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
  }

  .presence-flow[data-visual-story="v8"] .v8-time-panel strong {
    right: 16px;
    bottom: 14px;
    left: 16px;
  }

  .presence-flow[data-visual-story="v8"] .presence-material-wall {
    width: calc(100% + 16px);
    height: clamp(660px, 92svh, 800px);
    aspect-ratio: auto;
    margin-inline: -8px;
    border-radius: 24px;
    box-shadow: 0 24px 62px rgba(38, 31, 23, 0.13);
  }

  .presence-flow[data-visual-story="v8"] .presence-material-wall::after {
    background:
      linear-gradient(180deg, transparent 14%, rgba(27, 22, 18, 0.3) 33%, transparent 36%, transparent 48%, rgba(27, 22, 18, 0.32) 66%, transparent 69%, transparent 82%, rgba(27, 22, 18, 0.36));
  }

  .presence-flow[data-visual-story="v8"] .presence-material-wall span {
    right: auto;
    bottom: auto;
    left: 5%;
  }

  .presence-flow[data-visual-story="v8"] .presence-material-wall span:nth-of-type(1) { top: 26%; left: 5%; }
  .presence-flow[data-visual-story="v8"] .presence-material-wall span:nth-of-type(2) { top: 59%; left: 5%; }
  .presence-flow[data-visual-story="v8"] .presence-material-wall span:nth-of-type(3) { top: auto; bottom: 5%; left: 5%; }

  .presence-flow[data-visual-story="v8"] .presence-life-field {
    display: block;
    width: calc(100% + 16px);
    min-height: 0;
    margin-inline: -8px;
    padding-top: min(62svh, 540px);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    counter-reset: v8-life;
  }

  .presence-flow[data-visual-story="v8"] .presence-life-field::after {
    display: none;
  }

  .presence-flow[data-visual-story="v8"] .v8-life-media,
  .presence-flow[data-visual-story="v8"] .v8-life-media img {
    bottom: auto;
    height: min(62svh, 540px);
    overflow: hidden;
    border-radius: 24px;
  }

  .presence-flow[data-visual-story="v8"] .v8-life-media img {
    object-position: center 25%;
  }

  .presence-flow[data-visual-story="v8"] .presence-life-field a {
    display: grid;
    position: relative;
    min-height: 0;
    padding: 25px 8px 26px;
    border: 0;
    border-bottom: 1px solid var(--presence-faint);
    grid-template-columns: 32px 1fr 24px;
    column-gap: 10px;
    align-items: start;
    color: var(--presence-ink);
    background: transparent;
    text-shadow: none;
  }

  .presence-flow[data-visual-story="v8"] .presence-life-field a:first-of-type {
    margin-top: 28px;
    border-top: 1px solid var(--presence-faint);
  }

  .presence-flow[data-visual-story="v8"] .presence-life-field a::before {
    padding-top: 5px;
    color: var(--presence-clay-dark);
    content: "0" counter(v8-life);
    counter-increment: v8-life;
    font: 680 0.58rem/1 var(--presence-sans);
    letter-spacing: 0.12em;
  }

  .presence-flow[data-visual-story="v8"] .presence-life-field a::after {
    padding-top: 4px;
    color: var(--presence-clay-dark);
    content: "\2192";
    font: 500 1rem/1 var(--presence-sans);
    justify-self: end;
  }

  .presence-flow[data-visual-story="v8"] .presence-life-field a:hover,
  .presence-flow[data-visual-story="v8"] .presence-life-field a:focus-visible { background: rgba(255, 255, 255, 0.44); }

  .presence-flow[data-visual-story="v8"] .presence-life-field span {
    grid-column: 2;
    font-size: clamp(1.55rem, 7.2vw, 2rem);
    line-height: 1.02;
  }

  .presence-flow[data-visual-story="v8"] .presence-life-field small {
    grid-column: 2 / 4;
    margin-top: 10px;
    color: var(--presence-muted);
    font-size: 0.79rem;
    line-height: 1.5;
  }

  .presence-flow[data-visual-story="v8"] .presence-network-map {
    width: calc(100% + 8px);
    height: clamp(660px, 86svh, 760px);
    aspect-ratio: auto;
    margin-inline: -4px;
    border-radius: 24px;
  }

  .presence-flow[data-visual-story="v8"] .presence-network-map a,
  .presence-flow[data-visual-story="v8"] .presence-network-center {
    padding: 10px 12px;
    font-size: 0.67rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  .presence-flow[data-visual-story="v8"] .presence-network-map a:nth-of-type(1) { top: 3%; }
  .presence-flow[data-visual-story="v8"] .presence-network-map a:nth-of-type(2) { top: 28%; right: 3%; }
  .presence-flow[data-visual-story="v8"] .presence-network-map a:nth-of-type(3) { bottom: 3%; }
  .presence-flow[data-visual-story="v8"] .presence-network-map a:nth-of-type(4) { top: 68%; left: 3%; max-width: 126px; }
}

@media (prefers-reduced-motion: reduce) {
  .presence-flow[data-visual-story="v8"] .v8-price-recall picture {
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }

  .presence-flow[data-visual-story="v8"] .v8-visual,
  .presence-flow[data-visual-story="v8"] .v8-visual * {
    animation: none !important;
    transition: none !important;
  }
}

/* Sheet visuals continue the same conversation; they are evidence-shaped, not modal decoration. */
.presence-sheet[data-visual-story="v8"] .v8-sheet-figure {
  display: none;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: clamp(32px, 5vh, 48px) 0;
  border: 1px solid rgba(34, 31, 26, 0.09);
  border-radius: 22px;
  background: #ddd2c2;
  box-shadow: 0 22px 56px rgba(35, 27, 20, 0.11);
}

.presence-sheet[data-visual-story="v8"] .v8-sheet-figure picture,
.presence-sheet[data-visual-story="v8"] .v8-sheet-figure img {
  display: block;
  width: 100%;
  height: 100%;
}

.presence-sheet[data-visual-story="v8"] .v8-sheet-figure img { object-fit: cover; }

.presence-sheet[data-visual-story="v8"] .v8-fire-figure {
  overflow: visible;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.presence-sheet[data-visual-story="v8"] .v8-fire-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(34, 31, 26, 0.09);
  border-radius: 22px;
  background: #171510;
  box-shadow: 0 22px 56px rgba(35, 27, 20, 0.11);
}

.presence-sheet[data-visual-story="v8"] .v8-fire-frame picture,
.presence-sheet[data-visual-story="v8"] .v8-fire-frame img {
  display: block;
  width: 100%;
  height: 100%;
}

.presence-sheet[data-visual-story="v8"] .v8-fire-frame img { object-fit: cover; }

.presence-sheet[data-visual-story="v8"] .v8-fire-note {
  position: absolute;
  z-index: 3;
  display: grid;
  max-width: 150px;
  gap: 5px;
  color: #fffaf1;
  text-shadow: 0 2px 14px rgba(12, 9, 6, 0.5);
}

.presence-sheet[data-visual-story="v8"] .v8-fire-note b {
  font-family: var(--presence-sans);
  font-size: 0.61rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.presence-sheet[data-visual-story="v8"] .v8-fire-note small {
  font-family: var(--presence-sans);
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  font-weight: 480;
  line-height: 1.35;
}

.presence-sheet[data-visual-story="v8"] .v8-fire-note-char { top: 17%; left: 3.5%; }
.presence-sheet[data-visual-story="v8"] .v8-fire-note-core { top: 64%; left: 3.5%; }

.presence-sheet[data-visual-story="v8"] .v8-fire-leaders {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: rgba(255, 250, 241, 0.92);
  pointer-events: none;
  stroke: rgba(255, 250, 241, 0.76);
  stroke-width: 0.18;
  vector-effect: non-scaling-stroke;
}

.presence-sheet[data-visual-story="v8"] .v8-fire-leaders-mobile { display: none; }

.presence-sheet[data-visual-story="v8"] .v8-fire-figure figcaption {
  margin: 15px 4px 0;
  color: var(--presence-muted);
  font-family: var(--presence-sans);
  font-size: clamp(0.71rem, 1vw, 0.79rem);
  line-height: 1.55;
}

.presence-sheet[data-visual-story="v8"] .v8-sheet-diagram {
  color: #263f3d;
  background:
    radial-gradient(circle at 68% 26%, rgba(255, 255, 255, 0.66), transparent 32%),
    #dbe7e3;
  box-shadow: 0 22px 56px rgba(28, 61, 57, 0.12);
}
.presence-sheet[data-visual-story="v8"] .v8-sheet-diagram svg { display: block; width: 100%; height: 100%; }
.presence-sheet[data-visual-story="v8"] .v8-wind-lines { color: #537d8b; }
.presence-sheet[data-visual-story="v8"] .v8-house-lines { color: #455b57; }
.presence-sheet[data-visual-story="v8"] .v8-load-paths,
.presence-sheet[data-visual-story="v8"] .v8-load-nodes { color: #a9573f; }
.presence-sheet[data-visual-story="v8"][data-topic="fire"] .presence-sheet-visual { display: none; }
.presence-sheet[data-visual-story="v8"][data-topic="wind"] .presence-sheet-visual { display: none; }
.presence-sheet[data-visual-story="v8"][data-topic="rain"] .presence-sheet-visual { display: none; }
.presence-sheet[data-visual-story="v8"][data-topic="durability"] .presence-sheet-visual { display: none; }
.presence-sheet[data-visual-story="v8"][data-topic="maintenance"] .presence-sheet-visual { display: none; }
.presence-sheet[data-visual-story="v8"][data-topic="comfort"] .presence-sheet-visual { display: none; }
.presence-sheet[data-visual-story="v8"][data-topic="build-yourself"] .presence-sheet-visual { display: none; }
.presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .presence-sheet-visual { display: none; }
.presence-sheet[data-visual-story="v8"][data-topic="site-dependencies"] .presence-sheet-visual { display: none; }
.presence-sheet[data-visual-story="v8"][data-topic="delivery-assembly"] .presence-sheet-visual { display: none; }
.presence-sheet[data-visual-story="v8"][data-topic="home-choices"] .presence-sheet-visual { display: none; }
.presence-sheet[data-visual-story="v8"][data-topic="fire"] [data-v8-sheet-visual="fire"] { display: block; }
.presence-sheet[data-visual-story="v8"][data-topic="wind"] [data-v8-sheet-visual="wind"] { display: block; }
.presence-sheet[data-visual-story="v8"][data-topic="rain"] [data-v8-sheet-visual="rain"] { display: block; }
.presence-sheet[data-visual-story="v8"][data-topic="durability"] [data-v8-sheet-visual="durability"] { display: block; }
.presence-sheet[data-visual-story="v8"][data-topic="maintenance"] [data-v8-sheet-visual="maintenance"] { display: block; }
.presence-sheet[data-visual-story="v8"][data-topic="comfort"] [data-v8-sheet-visual="comfort"] { display: block; }
.presence-sheet[data-visual-story="v8"][data-topic="build-yourself"] [data-v8-sheet-visual="build-yourself"] { display: block; }
.presence-sheet[data-visual-story="v8"][data-topic="scope-included"] [data-v8-sheet-visual="scope-included"] { display: grid; }
.presence-sheet[data-visual-story="v8"][data-topic="site-dependencies"] [data-v8-sheet-visual="site-dependencies"] { display: block; }
.presence-sheet[data-visual-story="v8"][data-topic="delivery-assembly"] [data-v8-sheet-visual="delivery-assembly"] { display: grid; }
.presence-sheet[data-visual-story="v8"][data-topic="home-choices"] [data-v8-sheet-visual="home-choices"] { display: block; }

.presence-sheet[data-visual-story="v8"] .v8-sheet-scope-grid {
  aspect-ratio: 2 / 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
}

.presence-sheet[data-visual-story="v8"] .v8-sheet-scope-grid > span,
.presence-sheet[data-visual-story="v8"] .v8-delivery-assembly-figure > span {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
}

.presence-sheet[data-visual-story="v8"] .v8-sheet-scope-grid picture,
.presence-sheet[data-visual-story="v8"] .v8-delivery-assembly-figure picture {
  width: 100%;
  height: 100%;
}

.presence-sheet[data-visual-story="v8"] .v8-sheet-scope-grid > span::after,
.presence-sheet[data-visual-story="v8"] .v8-delivery-assembly-figure > span::after {
  position: absolute;
  z-index: 1;
  inset: 48% 0 0;
  background: linear-gradient(180deg, transparent, rgba(17, 14, 10, 0.5));
  content: "";
  pointer-events: none;
}

.presence-sheet[data-visual-story="v8"] .v8-sheet-scope-grid b,
.presence-sheet[data-visual-story="v8"] .v8-delivery-assembly-figure b {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 12px;
  left: 10px;
  color: #fffaf1;
  font-family: var(--presence-sans);
  font-size: 0.52rem;
  font-weight: 720;
  letter-spacing: 0.09em;
  line-height: 1.25;
  text-align: left;
  text-transform: uppercase;
}

.presence-sheet[data-visual-story="v8"] .v8-delivery-assembly-figure {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}

.presence-sheet[data-visual-story="v8"] .v8-home-choices-figure { aspect-ratio: 1 / 1; }

.presence-sheet[data-visual-story="v8"] .v8-maintenance-label {
  position: absolute;
  z-index: 2;
  bottom: 7%;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #fffaf1;
  background: rgba(22, 20, 17, 0.5);
  box-shadow: 0 8px 22px rgba(18, 14, 10, 0.12);
  font-family: var(--presence-sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.presence-sheet[data-visual-story="v8"] .v8-maintenance-figure { position: relative; }

.presence-sheet[data-visual-story="v8"] .v8-maintenance-timber { left: 4%; }
.presence-sheet[data-visual-story="v8"] .v8-maintenance-render { right: 4%; }

/* The build-time answer keeps its copy, but the mechanism now reads visually:
   two real processes first, then a quiet comparison of sequence versus overlap. */
.presence-sheet[data-visual-story="v8"] .presence-sheet-compare {
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.presence-sheet[data-visual-story="v8"] .v8-parallel-evidence {
  display: grid;
  overflow: hidden;
  margin-bottom: 12px;
  border-radius: 22px;
  box-shadow: 0 22px 56px rgba(35, 27, 20, 0.11);
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.presence-sheet[data-visual-story="v8"] .v8-parallel-evidence > span {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 8 / 5;
}

.presence-sheet[data-visual-story="v8"] .v8-parallel-evidence picture,
.presence-sheet[data-visual-story="v8"] .v8-parallel-evidence img {
  display: block;
  width: 100%;
  height: 100%;
}

.presence-sheet[data-visual-story="v8"] .v8-parallel-evidence img { object-fit: cover; }

.presence-sheet[data-visual-story="v8"] .v8-parallel-evidence > span::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(17, 14, 10, 0.46));
  content: "";
  pointer-events: none;
}

.presence-sheet[data-visual-story="v8"] .v8-parallel-evidence b {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 16px;
  color: #fffaf1;
  font-family: var(--presence-sans);
  font-size: 0.58rem;
  font-weight: 720;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.presence-sheet[data-visual-story="v8"] .compare-track {
  position: relative;
  padding: 21px 22px 18px 25px;
  border: 1px solid rgba(34, 31, 26, 0.1);
  border-radius: 18px;
  background: #efe7d9;
}

.presence-sheet[data-visual-story="v8"] .compare-track + .compare-track {
  background: #e6ede6;
}

.presence-sheet[data-visual-story="v8"] .compare-steps li {
  padding: 10px 0 10px 25px;
}

.presence-sheet[data-visual-story="v8"] .compare-steps li + li { border-top: 0; }

.presence-sheet[data-visual-story="v8"] .compare-steps li::before {
  top: 16px;
  left: 2px;
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: #a9573f;
  box-shadow: 0 0 0 5px rgba(169, 87, 63, 0.1);
  transform: none;
}

.presence-sheet[data-visual-story="v8"] .compare-steps li:not(:last-child)::after {
  position: absolute;
  top: 25px;
  bottom: -11px;
  left: 5px;
  width: 1px;
  background: rgba(169, 87, 63, 0.28);
  content: "";
}

.presence-sheet[data-visual-story="v8"] .compare-parallel {
  display: grid;
  padding-top: 4px;
  padding-bottom: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.presence-sheet[data-visual-story="v8"] .compare-parallel span {
  display: grid;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(53, 83, 67, 0.15);
  border-radius: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  text-align: center;
}

.presence-sheet[data-visual-story="v8"] .compare-parallel span + span::before {
  top: 50%;
  left: -8px;
  display: grid;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  place-items: center;
  background: #e6ede6;
  font-size: 0.78rem;
  transform: translateY(-50%);
}

@media (max-width: 760px) {
  .presence-sheet[data-visual-story="v8"] .v8-sheet-figure {
    aspect-ratio: 4 / 5;
    border-radius: 18px;
  }

  .presence-sheet[data-visual-story="v8"] .v8-sheet-diagram { aspect-ratio: 3 / 2; }

  .presence-sheet[data-visual-story="v8"] .v8-fire-figure { aspect-ratio: auto; }

  .presence-sheet[data-visual-story="v8"] .v8-fire-frame {
    aspect-ratio: 4 / 5;
    border-radius: 18px;
  }

  .presence-sheet[data-visual-story="v8"] .v8-fire-note { max-width: 132px; }
  .presence-sheet[data-visual-story="v8"] .v8-fire-note-char { top: 8%; left: 7%; }
  .presence-sheet[data-visual-story="v8"] .v8-fire-note-core { top: 22%; right: 7%; left: auto; text-align: right; }
  .presence-sheet[data-visual-story="v8"] .v8-fire-leaders-desktop { display: none; }
  .presence-sheet[data-visual-story="v8"] .v8-fire-leaders-mobile { display: block; }

  .presence-sheet[data-visual-story="v8"] .v8-maintenance-label {
    bottom: 4.5%;
    max-width: 42%;
    padding: 7px 9px;
    font-size: 0.52rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  .presence-sheet[data-visual-story="v8"] .v8-parallel-evidence {
    grid-template-columns: 1fr;
  }

  .presence-sheet[data-visual-story="v8"] .v8-parallel-evidence > span { aspect-ratio: 16 / 9; }

  .presence-sheet[data-visual-story="v8"] .compare-track { padding: 19px 18px 16px 21px; }
  .presence-sheet[data-visual-story="v8"] .compare-parallel span { padding-inline: 8px; font-size: 0.82rem; }

  .presence-sheet[data-visual-story="v8"] .v8-sheet-scope-grid {
    aspect-ratio: 4 / 5;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .presence-sheet[data-visual-story="v8"] .v8-delivery-assembly-figure {
    aspect-ratio: 4 / 5;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .presence-sheet[data-visual-story="v8"] .v8-home-choices-figure { aspect-ratio: 4 / 5; }
}

@media (prefers-reduced-motion: reduce) {
  .presence-sheet[data-visual-story="v8"] .v8-sheet-figure,
  .presence-sheet[data-visual-story="v8"] .v8-sheet-figure * {
    animation: none !important;
    transition: none !important;
  }
}

/* The scope story is a decision matrix, not an image frame. Keep this override
   after the shared sheet-figure rules so it can grow naturally with its copy. */
.presence-sheet[data-visual-story="v8"] .v8-sheet-figure.v8-scope-matrix {
  overflow: visible;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* The price-scope answer carries more information than the other sheets.
   Give it enough room to remain a calm conversation instead of a tiny table. */
.presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .presence-sheet-surface {
  overflow-x: hidden;
  overflow-y: auto;
  width: min(100%, 760px);
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
}

.presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .presence-sheet-content {
  width: min(100%, 620px);
}

.presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .presence-sheet-eyebrow {
  max-width: calc(100% - 72px);
  line-height: 1.35;
  text-wrap: pretty;
}

.presence-sheet[data-visual-story="v8"][data-topic="scope-included"] h2 {
  max-width: 11em;
  padding-right: 64px;
  font-size: clamp(2.65rem, 3vw, 3.1rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .presence-sheet-lead {
  max-width: 30em;
  margin-top: clamp(20px, 3vh, 28px);
  color: rgba(34, 31, 26, 0.72);
  font-size: clamp(1.08rem, 1.35vw, 1.2rem);
  line-height: 1.5;
}

.presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .v8-scope-matrix {
  margin-block: clamp(30px, 4vh, 40px);
  gap: 14px;
}

.presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .v8-scope-group {
  border-color: rgba(34, 31, 26, 0.12);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.78);
}

.presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .v8-scope-group header {
  min-height: 60px;
  padding: 16px 18px;
}

.presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .v8-scope-group header small {
  font-size: 0.59rem;
}

.presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .v8-scope-group header strong {
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: right;
}

.presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .v8-scope-group ul {
  padding-inline: 18px;
}

.presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .v8-scope-group li {
  padding-block: 15px 16px;
  grid-template-columns: minmax(132px, 0.72fr) minmax(0, 1.45fr);
  gap: 18px;
}

.presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .v8-scope-group li b,
.presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .v8-scope-group li span {
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .presence-sheet-body {
  max-width: 30em;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .presence-sheet-surface {
    padding: 27px 22px max(48px, env(safe-area-inset-bottom));
    scrollbar-gutter: auto;
  }

  .presence-sheet[data-visual-story="v8"][data-topic="scope-included"] h2 {
    max-width: 9.5em;
    padding-right: 52px;
    font-size: clamp(2.15rem, 9.2vw, 2.55rem);
    line-height: 1.04;
  }

  .presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .presence-sheet-lead {
    margin-top: 22px;
    font-size: 1.05rem;
  }

  .presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .v8-scope-matrix {
    margin-block: 30px 34px;
    gap: 13px;
  }

  .presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .v8-scope-group header {
    min-height: 0;
    padding: 15px 17px;
    flex-wrap: wrap;
  }

  .presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .v8-scope-group header strong {
    font-size: 0.7rem;
  }

  .presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .v8-scope-group ul {
    padding-inline: 17px;
  }

  .presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .v8-scope-group li {
    padding-block: 14px 15px;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .v8-scope-group li b,
  .presence-sheet[data-visual-story="v8"][data-topic="scope-included"] .v8-scope-group li span {
    font-size: 0.86rem;
  }
}

/* Conversation refinement: meaning comes from typography, never duplicate markers. */
.presence-flow[data-visual-story="v8"] .presence-moment + .presence-moment::before {
  position: absolute;
  top: clamp(24px, 4vh, 42px);
  left: 50%;
  width: clamp(42px, 5vw, 68px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 31, 26, 0.16), transparent);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.presence-flow[data-visual-story="v8"] .presence-unknowns::before,
.presence-flow[data-visual-story="v8"] .presence-network::before {
  background: linear-gradient(90deg, transparent, rgba(248, 242, 232, 0.32), transparent) !important;
}

/* Price: one number, one answer, then the visual meaning. */
.presence-flow[data-visual-story="v8"] .presence-price-answer {
  padding-block: clamp(96px, 15svh, 178px);
}

.presence-flow[data-visual-story="v8"] .presence-price-answer > .presence-reading > .presence-answer {
  margin-top: clamp(30px, 4.5svh, 48px) !important;
  margin-bottom: 0 !important;
}

.presence-flow[data-visual-story="v8"] .presence-price-next {
  max-width: 19em;
  margin-top: clamp(34px, 5svh, 54px) !important;
  color: var(--presence-ink);
}

.presence-flow[data-visual-story="v8"] .presence-price-answer .v8-price-recall {
  margin-top: clamp(72px, 10svh, 116px);
}

.presence-flow[data-visual-story="v8"] .presence-includes {
  padding-block: clamp(88px, 14svh, 168px);
}

.presence-flow[data-visual-story="v8"] .presence-includes .presence-scope {
  margin-top: 0;
  margin-bottom: 0;
}

.presence-flow[data-visual-story="v8"] .presence-includes .presence-branch {
  margin-top: clamp(72px, 10svh, 112px);
}

/* The open project variables need full contrast against the forest field. */
.presence-flow[data-visual-story="v8"] .presence-unknowns .presence-reading {
  text-align: center;
}

.presence-flow[data-visual-story="v8"] .presence-unknowns .presence-aside {
  margin-bottom: clamp(22px, 3.5vh, 34px);
  color: rgba(255, 250, 241, 0.88);
}

.presence-flow[data-visual-story="v8"] .presence-unknowns .presence-thought {
  color: #fffaf1;
}

.presence-flow[data-visual-story="v8"] .presence-unknowns .presence-plot {
  margin-top: clamp(48px, 7vh, 76px);
}

.presence-flow[data-visual-story="v8"] .presence-unknowns .v8-plot-key {
  margin-top: clamp(22px, 3vh, 30px);
  padding-top: clamp(18px, 2.5vh, 24px);
  border-top: 1px solid rgba(248, 242, 232, 0.22);
  color: rgba(255, 250, 241, 0.92);
  font-size: clamp(0.68rem, 0.95vw, 0.78rem);
}

.presence-flow[data-visual-story="v8"] .presence-unknowns .v8-plot-key span {
  padding-inline: 12px;
}

.presence-flow[data-visual-story="v8"] .presence-unknowns .v8-plot-key span + span {
  border-left-color: rgba(248, 242, 232, 0.24);
}

.presence-flow[data-visual-story="v8"] .presence-unknowns .presence-honesty {
  margin-top: clamp(42px, 6vh, 64px) !important;
  color: #f6cbb5;
}

.presence-flow[data-visual-story="v8"] .presence-network-center {
  max-width: 148px;
  line-height: 1.25;
  text-align: center;
}

.presence-flow[data-visual-story="v8"] .presence-talk {
  padding-block: clamp(118px, 18svh, 194px);
}

.presence-flow[data-visual-story="v8"] .presence-talk .presence-aside + .presence-thought {
  margin-top: clamp(38px, 5svh, 54px);
}

.presence-flow[data-visual-story="v8"] .presence-talk .presence-chat-slot {
  margin-block: clamp(88px, 12svh, 122px) clamp(72px, 10svh, 104px);
}

.presence-flow[data-visual-story="v8"] .presence-talk .presence-answer {
  margin-bottom: 0 !important;
}

@media (max-width: 760px) {
  .presence-flow[data-visual-story="v8"] .presence-moment + .presence-moment::before {
    top: 24px;
    width: 44px;
  }

  .presence-flow[data-visual-story="v8"] .presence-unknowns .v8-plot-key {
    width: calc(100vw - 36px);
    padding-top: 16px;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }

  .presence-flow[data-visual-story="v8"] .presence-unknowns .v8-plot-key span {
    padding-inline: 6px;
  }

  .presence-flow[data-visual-story="v8"] .presence-price-answer .v8-price-recall {
    margin-top: clamp(64px, 9svh, 88px);
  }
}
