/* Shared illustrative agent workspace. All labels are HTML, with inline vector previews. */
.simon-visual { position: relative; display: grid; align-items: center; min-width: 0; min-height: 430px; padding: 28px 20px; overflow: hidden; color: #edf1f5; background: radial-gradient(ellipse at 50% 45%, #26313a, #11171d 85%); }
.simon-visual::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#ffffff05 1px, transparent 1px), linear-gradient(90deg, #ffffff05 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.simon-workflow { position: relative; width: 100%; min-width: 0; font: 12px/1.5 var(--body-font-family, sans-serif); }
.simon-workflow__header, .simon-workflow__footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font: 9px/1.5 ui-monospace, monospace; letter-spacing: .06em; color: #a5b3c0; }
.simon-workflow__live { color: #b7dec9; }
.simon-workflow__live::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 6px 1px 0; border-radius: 50%; background: #a8dfbd; }
.simon-workflow__brief { display: grid; gap: 6px; margin: 26px 0 22px; color: #acbac6; }
.simon-workflow__brief strong { font-size: clamp(19px, 2vw, 26px); line-height: 1.2; font-weight: 500; letter-spacing: -.03em; color: #f0f5fa; }
.simon-workflow__eyebrow { font: 9px ui-monospace, monospace; letter-spacing: .1em; color: #90b6d3; }
.simon-agent { border: 1px solid #3a4955; border-radius: 6px; background: #1b242d; min-width: 0; }
.simon-agent--lead { display: flex; align-items: center; gap: 10px; padding: 12px; }
.simon-agent__avatar { flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; background: #2d4357; color: #c9e6ff; border: 1px solid #526a80; border-radius: 5px; font: 11px ui-monospace, monospace; }
.simon-agent__copy { display: grid; gap: 2px; flex: 1; min-width: 0; }
.simon-agent__copy strong, .simon-agent__heading strong { font-size: 11px; font-weight: 500; }
.simon-agent__copy > span { font-size: 10px; color: #aab9c7; }
.simon-agent__state { font: 8px ui-monospace, monospace; color: #b7dec9; }
.simon-workflow__connector { display: grid; justify-items: center; height: 43px; color: #96a8b9; font: 8px ui-monospace, monospace; }
.simon-workflow__connector::before, .simon-workflow__connector::after { content: ''; width: 1px; height: 10px; background: #566776; }
.simon-workflow__agents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.simon-agent--task { padding: 10px 8px; display: flex; flex-direction: column; }
.simon-agent__heading { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.simon-agent__heading strong { flex-basis: 100%; }
.simon-agent__step { margin-left: auto; font: 9px ui-monospace, monospace; color: #8e9dac; }
.simon-agent__description { margin-top: 5px; font-size: 10px; min-height: 30px; color: #acbac6; }
.simon-agent__preview { height: 116px; display: grid; align-content: center; margin: 8px 0; background: #141d25; border-radius: 3px; }
.simon-agent__preview svg { display: block; width: 100%; height: 110px; }
.simon-agent__checks { gap: 12px; padding: 5px; font-size: 9px; color: #c0ccd5; }
.simon-agent__checks i { color: #a8dfbd; font-style: normal; }
.simon-agent__file { font: 9px/1.5 ui-monospace, monospace; color: #d0dce6; overflow-wrap: anywhere; }
.simon-agent__result { margin-top: 8px; color: #9ebcae; font: 8px/1.5 ui-monospace, monospace; }
.simon-agent--active { border-color: #84b9a2; }
.simon-agent--active .simon-agent__avatar { background: #294a40; color: #cef0df; border-color: #507865; }
.simon-workflow__footer { margin-top: 20px; padding-top: 12px; border-top: 1px solid #35414b; font-size: 8px; }
.simon-workflow__footer span span { padding-inline: 4px; color: #657787; }
.simon-workflow__print { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding: 12px; border: 1px solid #507865; border-radius: 5px; background: #20382f; color: #cef0df; }
.simon-workflow__print div { display: grid; gap: 3px; }
.simon-workflow__print strong { font-size: 11px; font-weight: 500; }
.simon-workflow__print div > span { font-size: 10px; color: #b9cebf; }
.simon-vase-photo { max-width: 760px; margin: 28px 0 0; }
.simon-vase-photo img { display: block; width: 100%; height: auto; }
.simon-vase-photo figcaption { margin-top: 12px; color: var(--muted); font-size: .9rem; line-height: 1.6; }
@media (max-width: 420px) {
  .simon-visual { padding: 22px 12px; }
  .simon-workflow__agents { gap: 5px; }
  .simon-agent--task { padding: 8px 5px; }
  .simon-agent__state { display: none; }
  .simon-agent__heading strong { font-size: 10px; }
}
.simon-feature { margin-bottom: 36px; }
.simon-hero { padding-block: 64px; }
.simon-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; margin-top: 32px; }
.simon-hero h1 { font-size: clamp(4rem, 8vw, 7rem); margin: 12px 0 20px; font-weight: 500; }
.simon-lead { font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.45; max-width: 40ch; }
.simon-summary { color: var(--muted); max-width: 60ch; }
.simon-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0 0; padding-block: 24px; border-block: 1px solid var(--line); }
.simon-facts dt { color: var(--muted); font-size: .8rem; }
.simon-facts dd { margin: 6px 0 0; font-weight: 500; }
.simon-section { padding-block: 48px; border-bottom: 1px solid var(--line); }
.simon-section h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 12px 0 24px; font-weight: 500; }
.simon-section > p { max-width: 75ch; color: var(--muted); }
.simon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-block: 28px; }
.simon-panel { padding: 28px; background: var(--card); border: 1px solid var(--line); }
.simon-panel h3 { font-size: 1.3rem; margin: 12px 0; }
.simon-panel p { color: var(--muted); margin-bottom: 0; }
.simon-flow { list-style: none; padding: 0; margin-block: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: flow; }
.simon-flow li { counter-increment: flow; padding: 24px; border-top: 2px solid var(--acc); background: var(--bg2); }
.simon-flow li::before { content: '0' counter(flow); font: .75rem ui-monospace, monospace; color: var(--acc); }
.simon-flow h3 { margin-block: 16px; font-size: 1.2rem; }
.simon-flow p { color: var(--muted); font-size: .9rem; }
@media (max-width: 800px) {
  .simon-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .simon-flow { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .simon-hero { padding-block: 36px; }
  .simon-grid, .simon-facts { grid-template-columns: minmax(0, 1fr); }
  .simon-visual { min-height: 350px; }
  .simon-panel { padding: 22px; }
}
/* Project specification list: labels beside values on desktop, stacked on phones.
   Content lives in templates/projects/simon/_specs.html. */
.simon-specs {
  margin-block: 28px;
  border-top: 1px solid var(--line);
}
.simon-specs > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.simon-specs dt {
  font-weight: 600;
}
.simon-specs dd {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 600px) {
  .simon-specs > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}
