/* =========================================================
   Metagyre — Fully Managed PMO Tour
   Editorial, light-first system. Navy is ink. Orange is a
   match struck once per moment, never a wash of color.
   ========================================================= */

:root {
  --navy-deep: #071B29;
  --navy: #0A3D5D;
  --navy-soft: rgba(10, 61, 93, 0.06);
  --navy-line: rgba(10, 61, 93, 0.14);
  --orange: #FF8200;
  --paper: #FAF7F1;
  --paper-deep: #F1ECE1;
  --white: #FFFFFF;
  --ink: #14283A;
  --ink-soft: #566373;
  --ink-faint: #5F6B79;
  --on-dark: rgba(255, 255, 255, 0.94);
  --on-dark-muted: rgba(255, 255, 255, 0.78);
  --on-dark-faint: rgba(255, 255, 255, 0.62);
  --border-dark: rgba(255, 255, 255, 0.16);
  --font-display: "Manrope", "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --section-pad: clamp(3.5rem, 8vw, 6rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.3vw, 2.35rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
table { border-collapse: collapse; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--orange); color: var(--navy-deep);
  padding: 0.75rem 1.25rem; z-index: 999; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.wrap.narrow { max-width: 700px; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 0.9em;
}
.eyebrow-on-dark { color: var(--on-dark-muted); }

.section-sub {
  font-size: 1.06rem;
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 2.25rem;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(250, 247, 241, 0.9);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--navy-line);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 24px; width: auto; display: block; }
@media (min-width: 480px) { .brand-logo { height: 27px; } }
.nav-right { display: flex; align-items: center; gap: 1.4rem; }
.nav-tagline { font-size: 0.76rem; letter-spacing: 0.05em; color: var(--ink-faint); display: none; }
.nav-cta {
  font-size: 0.85rem; font-weight: 700; text-decoration: none;
  color: var(--navy); border: 1px solid var(--navy-line);
  padding: 0.5rem 1.05rem; border-radius: 100px; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.nav-cta:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
@media (min-width: 640px) { .nav-tagline { display: inline; } }

/* ---------- Lens pill ---------- */
.lens-pill {
  position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 190;
  display: flex; align-items: center; gap: 0.55rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.55rem 0.5rem 0.95rem;
  border-radius: 100px;
  font-size: 0.78rem;
  box-shadow: 0 14px 34px rgba(10, 61, 93, 0.28);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.lens-pill.is-shown { opacity: 1; transform: translateY(0); }
.lens-label { color: var(--on-dark-faint); }
.lens-value { font-weight: 700; color: var(--white); }
.lens-switch {
  border: none; background: rgba(255,255,255,0.14); color: var(--white);
  font-size: 0.7rem; font-weight: 600; padding: 0.38rem 0.65rem; border-radius: 100px;
  cursor: pointer; transition: background 0.2s ease;
}
.lens-switch:hover { background: rgba(255,255,255,0.26); }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-pad) 0; }

/* reveal-on-scroll: opacity only, never fights a component's own transform */
.reveal { opacity: 0; transition: opacity 0.6s ease; }
.reveal.is-visible { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: 100px; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--orange); color: var(--navy-deep); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(255,130,0,0.3); }

/* ---------- Hero ---------- */
.hero {
  min-height: 78vh; display: flex; align-items: center;
  padding-top: calc(var(--section-pad) + 1.5rem);
  color: var(--on-dark);
}
/* Mirrored so the figure sits right of the copy; position is set in the
   photo's own (pre-mirror) coordinates, where he stands about 28% across. */
.hero-photo {
  position: absolute; inset: 0; background-size: cover; background-position: 28% 65%;
  transform: scaleX(-1);
  filter: saturate(0.8) brightness(0.9);
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,27,41,0) 55%, var(--paper) 100%),
    linear-gradient(90deg, rgba(7,27,41,0.88) 0%, rgba(7,27,41,0.68) 48%, rgba(7,27,41,0.12) 100%);
}
@media (min-width: 1100px) {
  /* Wide screens: enlarge and shift the crop so the figure clears the copy. */
  .hero-photo { background-size: 125% auto; background-position: 90% 38%; }
}
@media (max-width: 760px) {
  .hero-scrim {
    background: linear-gradient(175deg, rgba(7,27,41,0.82) 0%, rgba(7,27,41,0.66) 55%, var(--paper) 100%);
  }
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero h1 { color: var(--white); }
.lede { font-size: 1.15rem; color: var(--on-dark-muted); max-width: 540px; }
.hero-actions { margin-top: 1.4rem; }

/* ---------- Reflection: one list, one answer, shown side by side ---------- */
.reflect-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start;
}
@media (min-width: 860px) { .reflect-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; } }

.question-list { border-top: 1px solid var(--navy-line); }
.question-row {
  width: 100%; display: block; text-align: left;
  background: none; border: none; border-bottom: 1px solid var(--navy-line);
  padding: 1.25rem 0.1rem; cursor: pointer; font-family: var(--font-serif);
  font-size: 1.1rem; line-height: 1.55; color: var(--ink-soft);
  transition: color 0.25s ease, padding-left 0.25s ease, opacity 0.35s ease;
}
.question-row:hover, .question-row:focus-visible { color: var(--ink); padding-left: 0.5rem; }
.question-row.is-active { color: var(--navy); font-weight: 500; }
/* Once one is picked, the rest recede so focus shifts to the reflection. */
.question-row.is-dimmed { opacity: 0.38; }
.question-row.is-dimmed:hover { opacity: 0.75; }

.reflect-cue {
  display: block; width: 100%; text-align: left; cursor: pointer;
  margin: 1.1rem 0 0; padding: 1rem 0 0; background: none; border: 0;
  border-top: 1px dashed var(--navy-line);
  font-family: var(--font-serif); font-style: italic;
  color: var(--navy); font-size: 0.98rem;
}
.reflect-cue:hover { text-decoration: underline; text-underline-offset: 3px; }
.reflect-cue[hidden] { display: none; }

/* The response panel: visible and adjacent from the start, not something
   you have to scroll past to notice. Placeholder swaps for the real
   answer the moment a question is picked. */
#reflect-response { scroll-margin-top: 5.5rem; }
.reflect-response {
  background: var(--navy-soft); border-left: 3px solid var(--orange);
  padding: 1.6rem 1.75rem; border-radius: 2px; min-height: 180px;
  display: flex; align-items: center;
}
@media (min-width: 860px) { .reflect-response { position: sticky; top: 6rem; } }
.reflect-placeholder { color: var(--ink-faint); font-style: italic; font-family: var(--font-serif); margin: 0; }
.reflect-answer { display: none; }
.reflect-response.is-answered { align-items: flex-start; }
.reflect-response.is-answered .reflect-placeholder { display: none; }
.reflect-response.is-answered .reflect-answer { display: block; }

.confession-echo {
  font-family: var(--font-serif); font-style: italic; font-size: 1.05rem;
  color: var(--ink-faint); margin: 0 0 0.9em; padding-bottom: 0.9em;
  border-bottom: 1px dashed var(--navy-line);
}
.mirror-text {
  font-family: var(--font-serif); font-style: italic; font-size: 1.08rem;
  color: var(--ink); margin: 0; line-height: 1.55;
}

/* ---------- Bridge (photo + copy) ---------- */
.bridge-wrap { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 860px) {
  .bridge-wrap { grid-template-columns: 0.82fr 1.18fr; gap: 3rem; }
  .bridge-wrap.reverse { grid-template-columns: 1.18fr 0.82fr; }
  .bridge-wrap.reverse .bridge-photo { order: 2; }
}
.bridge-photo {
  aspect-ratio: 4/5; border-radius: 6px;
  background-size: cover; background-position: center top;
  min-height: 240px;
  filter: saturate(0.9);
}
.bridge-copy p { color: var(--ink-soft); font-size: 1.02rem; }
.bridge-copy h2 { color: var(--ink); }
#bridge-tail { color: var(--navy); font-style: italic; }
.bridge-copy .story-sentence { font-weight: 600; color: var(--navy); }
.bridge-copy p.story-line { margin-top: -0.2rem; }
.retro-link { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.retro-link:hover { color: var(--navy); }
.story-ref-inline { font-size: 0.8rem; color: var(--ink-faint); white-space: nowrap; }
.story-ref { font-size: 0.8rem; letter-spacing: 0.02em; color: var(--ink-faint); margin: 0 0 1.4rem; }
.beat-lead + .story-ref { margin-top: -1.9rem; margin-bottom: 2.5rem; }
.bridge-copy p.story-ref { font-size: 0.8rem; color: var(--ink-faint); }
.retro-offer { font-size: 0.86rem; color: var(--ink-soft); margin-top: 1.6rem; }
.retro-offer[hidden] { display: none; }
.bridge-copy p.retro-offer { font-size: 0.86rem; color: var(--ink-soft); margin-top: 1.6rem; }
.retro-offer a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.retro-offer a:hover { color: var(--navy); }

/* ---------- Throughline (flowing narrative, varied rhythm) ---------- */
.beat-kicker {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: 0.7em;
}
.beat-lead {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.25rem, 2.6vw, 1.65rem); color: var(--ink); line-height: 1.5;
  margin-bottom: 2.5rem;
}
.insight-callout {
  background: var(--navy-soft); border-left: 3px solid var(--navy);
  padding: 1.4rem 1.6rem; border-radius: 2px; margin-bottom: 2.5rem;
}
.insight-callout p:last-child { margin: 0; color: var(--ink); font-size: 1.02rem; }

/* ---------- Timeline ---------- */

.timeline {
  position: relative;
  display: grid; grid-template-columns: 1fr; gap: 1.8rem;
  margin: 2.25rem 0 2rem;
  padding-top: 0.5rem;
}
@media (min-width: 760px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .timeline::before {
    content: ""; position: absolute; top: 6px; left: 4%; right: 4%;
    height: 1px; background: var(--navy-line);
  }
}
.timeline-step { display: flex; flex-direction: column; gap: 0.3rem; }
.timeline-num {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--navy); margin-bottom: 0.6rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 0; position: relative; z-index: 1;
}
.timeline-label { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink); }
.timeline-desc { color: var(--ink-soft); font-size: 0.88rem; }

.principles-block {
  border-top: 1px solid var(--navy-line); padding-top: 1.6rem; max-width: 680px;
}
.principles-block p { color: var(--ink-soft); font-size: 0.98rem; }
.principles-example strong { color: var(--navy); font-weight: 700; }

/* ---------- Capacity credit ---------- */
.value-row {
  display: grid; grid-template-columns: 1fr; gap: 1.75rem;
  border-top: 1px solid var(--navy-line); padding-top: 2rem; margin-bottom: 2.5rem;
}
@media (min-width: 760px) {
  .value-row { grid-template-columns: repeat(3, 1fr); }
  .value-item { padding-right: 1.5rem; border-right: 1px solid var(--navy-line); }
  .value-item:last-child { border-right: none; }
}
.value-item h3 { color: var(--ink); margin-bottom: 0.4em; }
.value-item p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

.credit-table {
  width: 100%; max-width: 420px; margin-bottom: 2.5rem; font-size: 0.98rem;
}
.credit-table caption { text-align: left; caption-side: bottom; color: var(--ink-faint); font-size: 0.82rem; padding-top: 0.8rem; }
.credit-table + p { margin-top: 1.4rem; }
.credit-table th, .credit-table td { text-align: left; padding: 0.65rem 1rem 0.65rem 0; border-bottom: 1px solid var(--navy-line); }
.credit-table th { color: var(--ink-faint); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.credit-table td:first-child { font-family: var(--font-display); font-weight: 700; color: var(--navy); }

.branch-tie {
  font-size: 1.05rem; font-family: var(--font-serif); font-style: normal;
  line-height: 1.6; color: var(--ink); max-width: 620px; margin-bottom: 1.2rem;
}

/* ---------- Explore Further (optional, collapsed by default) ---------- */
.dig-list { border-top: 1px solid var(--navy-line); }
.dig-item { border-bottom: 1px solid var(--navy-line); }
.dig-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; background: none; border: none; cursor: pointer; text-align: left;
  padding: 1.4rem 0.1rem; font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; color: var(--ink);
}
.dig-toggle:hover { color: var(--navy); }
.dig-caret {
  font-size: 1.3rem; font-weight: 400; color: var(--ink-faint); flex-shrink: 0;
  transition: transform 0.25s ease;
}
.dig-item.is-open .dig-caret { transform: rotate(45deg); }
.dig-panel {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}
.dig-item.is-open .dig-panel { max-height: 900px; opacity: 1; padding-bottom: 1.75rem; }
.dig-panel p { color: var(--ink-soft); font-size: 0.98rem; }
.dig-panel .timeline { margin-top: 0.5rem; }
.dig-panel .credit-table { margin-bottom: 0; }

/* ---------- Compare grid ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 760px) { .compare-grid { grid-template-columns: repeat(2, 1fr); } }
.compare-col { padding-top: 1.2rem; border-top: 2px solid var(--navy-line); }
.compare-col h3 { color: var(--ink-faint); margin-bottom: 0.9em; font-weight: 700; }
.compare-col li { padding: 0.6rem 0; border-bottom: 1px dashed var(--navy-line); color: var(--ink-soft); font-size: 0.98rem; }
.compare-col li:last-child { border-bottom: none; }
.compare-col-accent { border-top-color: var(--orange); }
.compare-col-accent h3 { color: var(--navy); }
.compare-col-accent li { color: var(--ink); padding-left: 1.4rem; position: relative; }
.compare-col-accent li::before {
  content: "\2713"; position: absolute; left: 0; color: var(--orange); font-weight: 700;
}

/* ---------- Write Your Ending ---------- */
.ending-draft {
  width: 100%; min-height: 220px; margin: 0.5rem 0 1.5rem;
  padding: 1.4rem 1.5rem; border: 1px solid var(--navy-line); border-radius: 6px;
  background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  resize: vertical;
}
.ending-draft:focus { outline: none; border-color: var(--navy); }

.ending-resource {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  flex-wrap: wrap; background: var(--navy-soft); border-left: 3px solid var(--orange);
  border-radius: 2px; padding: 1.1rem 1.4rem; margin-bottom: 1.5rem;
}
.ending-resource[hidden] { display: none; }
.ending-resource-text { display: flex; flex-direction: column; gap: 0.25rem; max-width: 420px; }
.ending-resource-text strong { color: var(--ink); font-family: var(--font-display); font-size: 0.98rem; }
.ending-resource-text span { color: var(--ink-soft); font-size: 0.88rem; }
.ending-resource .btn { white-space: nowrap; }

.live-tool {
  background: var(--white); border: 1px solid var(--navy-line); border-left: 3px solid var(--navy);
  border-radius: 4px; padding: 1.6rem 1.7rem; margin-bottom: 1.75rem;
}
.live-tool[hidden] { display: none; }
.live-tool-eyebrow {
  font-family: var(--font-display); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); margin: 0 0 0.4rem;
}
.live-tool-title { margin: 0 0 0.5rem; color: var(--ink); }
.live-tool-sub { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; margin: 0 0 1.3rem; max-width: 560px; }
.live-tool-stage[hidden] { display: none; }

.lens-gated[hidden] { display: none; }
.lens-nudge { padding: 2.2rem 0; }
.lens-nudge[hidden] { display: none; }
.lens-nudge-text { text-align: center; max-width: 480px; margin: 0 auto; color: var(--ink-faint); font-style: italic; }

/* Quiet text-style button used for low-key secondary steps. */
.link-quiet {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px;
}
.link-quiet:hover { color: var(--navy); }

.welcome-back { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 1.6rem; }
.welcome-back[hidden] { display: none; }
.welcome-back strong { color: var(--ink); }

.next-path .section-sub { margin-bottom: 1.6rem; }
.next-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes lensIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  section.lens-gated:not([hidden]) { animation: lensIn 0.55s ease both; }
}

.pw-inputs { display: flex; flex-direction: column; gap: 0.6rem; max-width: 420px; margin-bottom: 1rem; }
.pw-input {
  padding: 0.65rem 0.85rem; border: 1px solid var(--navy-line); border-radius: 4px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink); background: var(--paper);
}
.pw-input:focus { outline: none; border-color: var(--navy); background: var(--white); }
.pw-error { color: var(--orange); font-size: 0.86rem; margin: 0.7rem 0 0; }
.pw-error[hidden] { display: none; }

.pw-progress { color: var(--ink-faint); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 0.6rem; }
.pw-question { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--ink); margin: 0 0 1.1rem; }
.pw-pair { display: flex; align-items: stretch; gap: 1rem; margin-bottom: 1rem; }
.pw-choice {
  flex: 1; min-height: 84px; padding: 1rem 1.2rem; border: 1.5px solid var(--navy-line);
  border-radius: 6px; background: var(--paper); color: var(--ink); font-family: var(--font-display);
  font-weight: 700; font-size: 1.02rem; cursor: pointer; text-align: left; transition: all 0.15s ease;
}
.pw-choice:hover, .pw-choice:focus-visible { border-color: var(--orange); background: var(--white); transform: translateY(-2px); outline: none; }
.pw-vs { align-self: center; color: var(--ink-faint); font-style: italic; font-family: var(--font-serif); }
.pw-reason {
  width: 100%; max-width: 480px; padding: 0.6rem 0.85rem; border: 1px solid var(--navy-line);
  border-radius: 4px; font-family: var(--font-body); font-size: 0.9rem; color: var(--ink); background: var(--paper);
}
.pw-reason:focus { outline: none; border-color: var(--navy); background: var(--white); }

.pw-ranking { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.pw-ranking li { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.02rem; padding: 0.3rem 0; }
.pw-ranking li span { font-weight: 400; color: var(--ink-soft); font-size: 0.88rem; margin-left: 0.5rem; }
.pw-notes { margin-bottom: 1.2rem; }
.pw-notes p { font-size: 0.86rem; color: var(--ink-soft); margin: 0 0 0.4rem; font-style: italic; font-family: var(--font-serif); }

.live-tool-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }

/* Yes/No checklist rows (Execution Checklist widget) */
.yn-list { display: flex; flex-direction: column; gap: 0.1rem; margin-bottom: 1.2rem; }
.yn-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--navy-line);
}
.yn-row-text { color: var(--ink); font-size: 0.92rem; line-height: 1.4; flex: 1; }
.yn-row-num { color: var(--ink-faint); font-weight: 700; margin-right: 0.4rem; }
.yn-btns { display: flex; gap: 0.4rem; flex-shrink: 0; }
.yn-btn {
  min-width: 52px; padding: 0.4rem 0.9rem; border: 1.5px solid var(--navy-line); border-radius: 20px;
  background: var(--paper); color: var(--ink-soft); font-family: var(--font-display); font-weight: 700;
  font-size: 0.84rem; cursor: pointer; transition: all 0.15s ease;
}
.yn-btn:hover { border-color: var(--navy); }
.yn-btn.is-watch { background: var(--paper-deep); }
.yn-btn.is-selected { background: var(--navy); border-color: var(--navy); color: var(--white); }
.yn-btn.is-selected.is-flagged { background: var(--orange); border-color: var(--orange); color: var(--navy-deep); }

/* Scored option cards (Complexity Scorecard widget) */
.opt-list { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1rem; }
.opt-card {
  display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1.1rem; text-align: left;
  border: 1.5px solid var(--navy-line); border-radius: 6px; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 0.92rem; cursor: pointer; transition: all 0.15s ease;
}
.opt-card:hover, .opt-card:focus-visible { border-color: var(--orange); background: var(--white); outline: none; }
.opt-score {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--navy-soft);
  color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  display: flex; align-items: center; justify-content: center;
}

/* Field rows (Guiding Principles / Opportunity Pipeline widgets) */
.field-block { border: 1px solid var(--navy-line); border-radius: 6px; padding: 1rem 1.1rem; margin-bottom: 0.8rem; }
.field-row { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.6rem; }
.field-row:last-child { margin-bottom: 0; }
.field-row label { font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }
.field-row input, .field-row select {
  padding: 0.55rem 0.75rem; border: 1px solid var(--navy-line); border-radius: 4px;
  font-family: var(--font-body); font-size: 0.92rem; color: var(--ink); background: var(--paper);
}
.field-row input:focus, .field-row select:focus { outline: none; border-color: var(--navy); background: var(--white); }
.trigger-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.trigger-btn {
  padding: 0.4rem 0.8rem; border: 1.5px solid var(--navy-line); border-radius: 20px;
  background: var(--paper); color: var(--ink-soft); font-family: var(--font-display); font-weight: 700;
  font-size: 0.8rem; cursor: pointer;
}
.trigger-btn.is-selected { background: var(--navy); border-color: var(--navy); color: var(--white); }
.remove-field { background: none; border: none; color: var(--ink-faint); font-size: 0.8rem; cursor: pointer; text-decoration: underline; align-self: flex-start; }

.result-card { border: 1px solid var(--navy-line); border-radius: 6px; padding: 1rem 1.1rem; margin-bottom: 0.7rem; background: var(--paper); }
.result-card strong { color: var(--ink); font-family: var(--font-display); font-size: 0.94rem; display: block; margin-bottom: 0.25rem; }
.result-card span { color: var(--ink-soft); font-size: 0.86rem; }
.result-size {
  display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  color: var(--navy); margin: 0.2rem 0 0.9rem;
}

.ending-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.ending-download-label { margin-top: 2rem; }
.btn-outline {
  background: none; border: 1px solid var(--navy-line); color: var(--navy);
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--navy); background: var(--navy-soft); }

/* ---------- Close (navy divider band) ---------- */
.close { background: var(--navy); padding: 5rem 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-faint); padding: 1.5rem 0; font-size: 0.83rem; }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-wrap a { text-decoration: none; color: var(--on-dark-muted); }
.footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-icon { height: 15px; width: auto; opacity: 0.75; }
