/* ============================================================
   TOOL DECKS — cover / what / how / access
   ============================================================ */

/* -------------------------------- COVER ---------------------------------- */
.scene--cover { justify-content: center; }
.cover__num {
  position: absolute; right: -0.05em; top: 50%; transform: translateY(-50%);
  font-family: var(--font-financier); font-weight: 500; line-height: 0.8;
  font-size: clamp(13rem, 40vw, 38rem);
  opacity: 0.12; pointer-events: none; user-select: none; z-index: 0;
}
.cover__inner { position: relative; z-index: 1; max-width: min(900px, 100%); }
.cover__icon { width: clamp(38px, 4vw, 54px); height: auto; margin-bottom: clamp(0.9rem, 2vh, 1.4rem); }
.cover__eyebrow { opacity: 0.8; margin-bottom: clamp(1rem, 2.5vh, 1.8rem); }
.cover__name {
  font-size: var(--fs-display); font-weight: 500;
  line-height: 1.0; letter-spacing: -0.018em; max-width: 14ch;
}
.cover__lead { margin-top: clamp(1rem, 2.4vh, 1.7rem); font-size: var(--fs-lead); max-width: 42ch; opacity: 0.92; }
.cover__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: clamp(1.2rem, 2.6vh, 1.9rem); }
.chip { padding: 0.42rem 0.72rem; box-shadow: inset 0 0 0 1px currentColor; opacity: 0.78; }

/* --------------------------------- WHAT ---------------------------------- */
.scene--what {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  align-content: center; gap: clamp(2rem, 5vw, 5rem);
}
.what__eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: clamp(1rem, 2.4vh, 1.7rem); opacity: 0.7; }
.what__chip { width: 0.85rem; height: 0.85rem; display: inline-block; }
.what__problem { font-size: var(--fs-h1); line-height: 1.06; max-width: 17ch; }
.what__col--body { align-self: center; padding-left: clamp(1.4rem, 3vw, 3rem); border-left: 2px solid var(--accent-green); }
.what__label { opacity: 0.55; margin-bottom: 0.8rem; }
.what__desc { font-size: var(--fs-lead); line-height: 1.4; max-width: 42ch; }
.what__list { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.85rem; }
.what__item { position: relative; padding-left: 1.4rem; max-width: 48ch; }
.what__item::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.75rem; height: 2px; background: var(--accent-green); }

/* ---------------------------------- HOW ---------------------------------- */
.scene--how {
  display: grid; grid-template-columns: 1fr 1fr;
  align-content: center; gap: clamp(2rem, 4vw, 4.5rem);
}
.how__col--flow { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.how__eyebrow { opacity: 0.7; margin-bottom: clamp(1.2rem, 3vh, 2rem); }
.flow { display: flex; flex-direction: column; gap: clamp(2.25rem, 5vh, 3.75rem); }
.flow__step { display: flex; flex-direction: column; gap: 0.3rem; }
.flow__step-label { color: var(--accent-green); }
.flow__step-text { font-family: var(--font-financier); font-weight: 500; font-size: var(--fs-h3); line-height: 1.12; max-width: 26ch; }

.standout {
  margin-top: clamp(2rem, 4.5vh, 3.25rem);
  padding: clamp(1.1rem, 2vw, 1.6rem);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--white) 22%, transparent);
}
.standout__kicker { color: var(--accent-green); margin-bottom: 0.55rem; }
.standout__text { font-size: var(--fs-body); line-height: 1.5; max-width: 46ch; opacity: 0.92; }

.shot { display: flex; flex-direction: column; gap: 0.75rem; align-self: center; min-width: 0; }
.shot__frame {
  position: relative; width: 100%; aspect-ratio: var(--shot-aspect, 16 / 10);
  background: color-mix(in srgb, var(--white) 6%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--white) 22%, transparent);
  overflow: hidden; display: grid; place-items: center;
}
.shot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity var(--dur) var(--ease-cbre); }
.shot__frame.is-loaded .shot__img { opacity: 1; }
.shot__empty { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; opacity: 0.5; padding: 1rem; }
.shot__frame.is-loaded .shot__empty { display: none; }
.shot__empty-tag { letter-spacing: 0.22em; }
.shot__empty-hint { opacity: 0.8; text-transform: none; } /* references a real lowercase filename */
.shot__tick { position: absolute; top: 10px; right: 10px; width: 14px; height: 14px; border-top: 2px solid var(--accent-green); border-right: 2px solid var(--accent-green); }
.shot__caption { opacity: 0.55; }
.shot__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; background: color-mix(in srgb, var(--white) 6%, transparent); }
.shot__frame--media { cursor: zoom-in; }
.shot__frame--media:focus-visible { outline: 2px solid var(--accent-green); outline-offset: 3px; }
.shot__zoom { position: absolute; top: 10px; left: 10px; width: 30px; height: 30px; display: grid; place-items: center; color: #fff; background: color-mix(in srgb, var(--dark-green) 65%, transparent); opacity: 0; transition: opacity var(--dur-fast) var(--ease-cbre); z-index: 3; pointer-events: none; }
.shot__zoom svg { width: 15px; height: 15px; }
.shot__frame--media:hover .shot__zoom, .shot__frame--media:focus-visible .shot__zoom { opacity: 1; }

/* ---- second-builder demo (How screen right column) ---- */
.how__demo { display: flex; flex-direction: column; justify-content: center; align-self: center; min-width: 0; width: 100%; gap: clamp(0.7rem, 1.4vh, 1.1rem); }
.how__demo-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.how__demo-label { opacity: 0.55; }
.how__demo-fig { min-width: 0; }

/* Segmented [ A | B ] toggle — active tab carries the Line-of-Sight bar */
.seg { display: inline-flex; gap: 0.15rem; flex: 0 0 auto; }
.seg__btn {
  position: relative; display: inline-flex; align-items: center;
  padding: 0.45rem 0.9rem 0.6rem;
  font-family: var(--font-calibre); font-weight: 600; font-size: var(--fs-label);
  letter-spacing: var(--tracking-label); color: currentColor; opacity: 0.5;
  transition: opacity var(--dur-fast) var(--ease-cbre);
}
.seg__btn:hover, .seg__btn:focus-visible { opacity: 0.8; }
.seg__btn.is-active { opacity: 1; }
.seg__bar {
  position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0; height: 2px;
  background: var(--accent-green);
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--dur) var(--ease-cbre);
}
.seg__btn.is-active .seg__bar { transform: scaleX(1); }

@keyframes variantFadeIn { from { opacity: 0; } to { opacity: 1; } }
.variant-swap-in { animation: variantFadeIn 0.4s var(--ease-cbre); }

/* -------------------------------- ACCESS --------------------------------- */
.scene--access { justify-content: center; }
.access__inner { max-width: min(820px, 100%); }
.access__eyebrow { opacity: 0.55; margin-bottom: 1rem; }
.access__title { font-size: var(--fs-display); font-weight: 500; line-height: 1.0; }
.access__title em { font-style: italic; }
.access__toggle { margin: clamp(1.1rem, 2.6vh, 1.9rem) 0 clamp(0.9rem, 1.8vh, 1.3rem); display: flex; align-items: center; gap: 0.4rem 0.6rem; flex-wrap: wrap; }
.access__toggle-label { opacity: 0.5; }
.access__fits { margin-top: 1.1rem; font-size: var(--fs-lead); line-height: 1.4; max-width: 46ch; opacity: 0.85; }
.access__panel {
  margin-top: clamp(1.5rem, 3.5vh, 2.4rem);
  display: flex; flex-direction: column; gap: 1.4rem;
  padding: clamp(1.3rem, 2.5vw, 2rem);
  background: var(--white);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dark-green) 16%, transparent);
}
.access__rows { display: flex; flex-direction: column; gap: 0.9rem; }
.access__row { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: baseline; }
.access__row-label { opacity: 0.5; text-transform: uppercase; }
.access__url { word-break: break-all; text-transform: none; } /* keep URL in its real case */
.access__warn { display: inline-block; margin-left: 0.6rem; padding: 0.1rem 0.45rem; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dark-green) 30%, transparent); opacity: 0.7; }
.access__pw { display: inline-flex; align-items: center; gap: 0.6rem; }
.access__pw-val { font-weight: 700; font-size: 0.85rem; background: var(--wheat-tint); padding: 0.25rem 0.55rem; text-transform: none; } /* passwords are case-sensitive — never uppercase */
.access__copy { display: inline-grid; place-items: center; width: 32px; height: 32px; box-shadow: inset 0 0 0 1px currentColor; opacity: 0.55; transition: opacity var(--dur-fast), background var(--dur-fast); }
.access__copy svg { width: 15px; height: 15px; }
.access__copy:hover, .access__copy:focus-visible { opacity: 1; }
.access__copy.is-done { background: var(--accent-green); opacity: 1; }
.access__copy.is-done svg { color: var(--dark-green); }
.access__note { opacity: 0.75; }
.access__contact { display: inline-flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; }
.access__contact-link { text-transform: none; text-decoration: none; box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--dark-green) 30%, transparent); transition: box-shadow var(--dur-fast); }
.access__contact-link:hover, .access__contact-link:focus-visible { box-shadow: inset 0 -1px 0 var(--dark-green); }
.access__open { align-self: flex-start; margin-top: 0.4rem; }
.access__examples { border-top: 1px solid color-mix(in srgb, var(--dark-green) 14%, transparent); padding-top: 1.1rem; }
.access__examples-label { opacity: 0.5; text-transform: uppercase; margin-bottom: 0.6rem; }
.access__examples-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.access__example { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--dark-green); text-decoration: none; }
.access__example svg { width: 14px; height: 14px; opacity: 0.7; }
.access__example:hover, .access__example:focus-visible { color: var(--cbre-green); }

/* ============================================================
   DECK RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .scene--what { grid-template-columns: 1fr; gap: clamp(1.4rem, 4vh, 2.4rem); }
  .what__col--body { border-left: 0; padding-left: 0; border-top: 2px solid var(--accent-green); padding-top: 1.4rem; }
  .scene--how { grid-template-columns: 1fr; gap: clamp(1.4rem, 4vh, 2.4rem); }
  .scene--how { align-content: start; overflow-y: auto; }
  .shot, .how__demo { order: -1; }
  .cover__num { font-size: clamp(10rem, 52vw, 22rem); opacity: 0.1; }
}
@media (max-width: 620px) {
  .access__row { grid-template-columns: 1fr; gap: 0.2rem; }
  .scene--what, .scene--access { overflow-y: auto; align-content: start; }
}
