/* Oneddy — quiet type, photographs, and visible implementation evidence. */
:root {
  --brand: #0097b2;
  --action: #006f84;
  --ink: #3c383c;
  --muted: #696569;
  --paper: #ffffff;
  --surface: #f5f5f2;
  --blue-tint: #e5f2f3;
  --line: #e0e3df;
  --body:
    "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif;
  --display: var(--body);
  --space: clamp(72px, 7vw, 104px);
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.95 var(--body);
  -webkit-text-size-adjust: 100%;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.875rem, 2.65vw, 2.375rem);
}
h3 {
  font-size: 1.125rem;
  line-height: 1.65;
  letter-spacing: -0.015em;
}
p {
  line-break: strict;
  overflow-wrap: anywhere;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a:focus-visible,
button:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 5px;
}
::selection {
  background: #c4ecf0;
  color: var(--ink);
}
.mobile {
  display: none;
}
.keep {
  display: inline-block;
}
.wrap {
  width: min(1296px, calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding-block: var(--space);
}
.eyebrow {
  margin-bottom: 20px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.055em;
  line-height: 1.7;
}
.micro {
  font-size: 0.75rem;
  line-height: 1.95;
  color: var(--muted);
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  min-height: 54px;
  padding: 13px 23px;
  border: 1px solid var(--action);
  border-radius: 0;
  background: var(--action);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.7;
  transition:
    background-color 0.15s,
    border-color 0.15s;
}
.button:hover {
  border-color: #005b6c;
  background: #005b6c;
}
.button > span {
  flex-shrink: 0;
  font-size: 1.125rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  border-bottom: 1px solid currentColor;
  font-size: 0.875rem;
  line-height: 1.8;
}
.text-link:hover {
  color: var(--action);
}
.step-label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.75rem;
}
.paragraph-gap {
  margin-top: 18px;
}

/* Shared navigation. */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus {
  top: 12px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #edf0eb;
  background: var(--paper);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.logo img {
  width: 151px;
  height: auto;
}
.logo small {
  border-left: 1px solid #c9cdca;
  padding-left: 14px;
  color: var(--muted);
  font: 400 0.6875rem/1.4 var(--body);
  letter-spacing: 0.035em;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.8125rem;
  font-weight: 400;
  white-space: nowrap;
}
.header nav a:hover {
  color: var(--action);
}
.header nav .nav-cta {
  gap: 14px;
  border: 1px solid var(--action);
  padding: 8px 18px;
  background: var(--action);
  color: #fff;
}
.header nav .nav-cta:hover {
  border-color: #005b6c;
  background: #005b6c;
  color: #fff;
}

/* A short introduction gives the image story the first screen. */
.front-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.85fr);
  align-items: center;
  gap: 7%;
  min-height: 284px;
  padding-block: 45px 48px;
}
.front-intro .eyebrow {
  margin-bottom: 17px;
  color: var(--muted);
}
.front-intro h1 {
  font-size: clamp(2.25rem, 3.55vw, 3.375rem);
  font-weight: 400;
  line-height: 1.47;
  letter-spacing: -0.04em;
}
.front-intro h1 > span {
  display: block;
}
.front-action {
  padding-top: 16px;
}
.front-action > p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.9;
}
.front-action .button {
  margin-top: 22px;
}
.visual-story {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 1px;
  height: clamp(440px, 33.35vw, 500px);
  background: var(--line);
}
.visual-story figure {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #173b3f;
}
.visual-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-manual img {
  object-position: center 58%;
}
.story-organize img {
  object-position: center;
}
.story-system img {
  object-position: center 54%;
}
.visual-story figcaption {
  position: absolute;
  top: 22px;
  left: 25px;
  right: 20px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.7;
  text-shadow: 0 1px 4px #0009;
}
.visual-story figcaption span {
  margin-right: 10px;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
}

/* Three brief rows describe what can change. */
.capabilities,
.assurance {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.35fr);
  gap: 9%;
}
.capabilities .eyebrow,
.assurance .eyebrow,
.section-heading .eyebrow,
.showcase-copy .eyebrow,
.consultation-copy .eyebrow {
  color: var(--muted);
}
.short-note {
  margin-top: 25px;
  color: var(--muted);
  font-size: 0.875rem;
}
.capability {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 25px;
  padding-block: 27px;
  border-top: 1px solid var(--line);
}
.capability h3 {
  font-size: 0.9375rem;
}
.capability p {
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.8;
}
.capability p span {
  margin-inline: 7px;
  color: var(--action);
}
.capability-list > .micro {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* The two captures stay at their natural aspect ratios. */
.demo-showcase {
  padding-block: clamp(60px, 6vw, 88px);
  background: var(--surface);
}
.showcase-inner {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 2.05fr);
  align-items: center;
  gap: 6%;
}
.showcase-copy h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.125rem);
  line-height: 1.65;
}
.showcase-copy > p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.875rem;
}
.showcase-copy > .text-link {
  margin-top: 28px;
  color: var(--action);
}
.showcase-copy > p.micro {
  margin-top: 22px;
  font-size: 0.6875rem;
}
.demo-sequence {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px 24px;
  min-width: 0;
}
.demo-sequence figure {
  min-width: 0;
}
.demo-sequence .sample-output {
  margin-top: 25px;
}
.demo-sequence figcaption {
  margin-bottom: 13px;
  font-size: 0.8125rem;
  line-height: 1.7;
}
.demo-sequence figcaption > span {
  margin-right: 10px;
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
}
.demo-sequence img {
  width: 100%;
  height: auto;
  border: 1px solid #d6dcd6;
  background: #fff;
}
a.demo-sequence:hover img {
  border-color: #9caeae;
}
.capture-note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.6875rem;
  text-align: right;
}

/* A short process remains readable without opening the detail. */
.section-heading {
  margin-bottom: 38px;
}
.section-heading .eyebrow {
  margin-bottom: 17px;
}
.project-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  padding: 0;
}
.project-steps li {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.project-steps li > span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.035em;
}
.project-steps h3 {
  margin-top: 19px;
  font-size: 1.0625rem;
}
.project-steps p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.8;
}
.project-steps img {
  width: 100%;
  aspect-ratio: 1;
  margin-top: 20px;
  object-fit: cover;
}
.expandable {
  border-top: 1px solid var(--line);
}
.expandable summary {
  min-height: 64px;
  padding: 21px 8px 21px 2px;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.7;
}
.expandable summary::marker {
  color: var(--action);
  font-size: 0.75em;
}
.expandable summary:hover {
  color: var(--action);
}
.expandable > div {
  padding: 0 20px 26px;
}
.expandable p {
  max-width: 880px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 2;
}
.expandable p + p {
  margin-top: 17px;
}
.expandable .check-list {
  margin-top: 15px;
}
.process-detail {
  margin-top: 38px;
  border-bottom: 1px solid var(--line);
}
.assurance {
  padding-bottom: var(--space);
}
.questions {
  border-bottom: 1px solid var(--line);
}
.questions .expandable:first-child {
  border-top: 1px solid var(--line);
}

/* A recognisable person and one route to a conversation. */
.consultation {
  padding-block: 65px;
  background: var(--surface);
}
.consultation-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  align-items: center;
  gap: 7%;
}
.consultation-copy h2 {
  font-size: clamp(1.875rem, 2.7vw, 2.5rem);
  line-height: 1.6;
}
.consultation-copy > p:not(.eyebrow) {
  margin-top: 17px;
  color: var(--muted);
  font-size: 0.875rem;
}
.consultation-copy > .button {
  margin-top: 28px;
}
.consultation-copy > p.micro {
  margin-top: 15px;
  font-size: 0.6875rem;
}
.person {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 25px;
  border-left: 1px solid #d8dcd5;
  padding-left: 45px;
}
.person > img {
  width: 132px;
  height: 165px;
  object-fit: cover;
}
.person p {
  font-size: 0.875rem;
  line-height: 1.9;
}
.person > div > span {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.75rem;
}
.person > div > .person-link {
  margin-top: 19px;
  color: var(--action);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.person-link span {
  margin-left: 12px;
}
.person:hover .person-link {
  color: #005b6c;
}

/* Demo Hub: the same photographs and actual screen captures. */
.hub-cover {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 6%;
  padding-block: 52px 70px;
}
.hub-cover h1 {
  font-size: clamp(2rem, 3.15vw, 3rem);
  font-weight: 400;
  line-height: 1.5;
}
.hub-cover-copy {
  max-width: 490px;
}
.hub-cover-copy .eyebrow {
  color: var(--muted);
}
.hub-cover p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.875rem;
}
.hub-cover .button {
  margin-top: 26px;
}
.hub-cover .micro,
.hub-cover p.micro {
  margin-top: 17px;
  font-size: 0.6875rem;
}
.hub-cover > figure,
.hub-cover > img {
  min-width: 0;
}
.hub-cover img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center;
}
.hub-cover figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.6875rem;
}
.hub-proof {
  border-block: 1px solid var(--line);
  padding-block: 62px;
}
.hub-proof h2,
.hub-guide h2 {
  font-size: clamp(1.75rem, 2.4vw, 2rem);
}
.hub-proof .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
}
.hub-proof .demo-sequence {
  max-width: 1050px;
  margin: 34px auto 0;
  gap: 20px 34px;
}
.hub-proof > p,
.hub-proof .section-heading > p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.875rem;
}
.hub-proof-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1050px;
  margin: 30px auto 0;
}
.hub-proof-action .micro {
  max-width: 600px;
}
.hub-proof + .notice {
  margin-top: 30px;
}
.hub-guide {
  padding-block: 70px 62px;
}
.hub-guide .project-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hub-guide > .expandable {
  margin-top: 35px;
}
.hub-guide > .expandable:last-child {
  border-bottom: 1px solid var(--line);
}
.demo-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 65px;
  padding-block: 65px;
}
.demo-details h2 {
  margin-bottom: 20px;
  font-size: 1.375rem;
}
.demo-details p {
  color: var(--muted);
  font-size: 0.9375rem;
}
.demo-details .micro {
  margin-top: 20px;
  font-size: 0.75rem;
}
.demo-details .text-link {
  margin-top: 20px;
}
.check-list {
  padding-left: 20px;
}
.check-list li {
  padding: 5px 0 5px 6px;
  font-size: 0.9375rem;
}
.check-list li::marker {
  color: var(--action);
}
.notice {
  border-left: 2px solid var(--action);
  padding: 23px 28px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.8125rem;
}
.notice strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
}
.notice a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.demo-bottom {
  margin-top: 65px;
  border-top: 1px solid var(--line);
  padding-block: 60px 85px;
}
.demo-bottom h2 {
  font-size: 1.875rem;
}
.demo-bottom > .button {
  margin-top: 27px;
}
.demo-bottom p {
  max-width: 700px;
  margin-block: 20px 25px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.demo-bottom .eyebrow {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 0.75rem;
}

/* Existing local demo controls and rendered results. */
.demo-intro {
  padding-block: 40px 30px;
}
.breadcrumb {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.75rem;
}
.breadcrumb .text-link {
  font-size: 0.75rem;
}
.demo-intro h1 {
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
}
.demo-intro p {
  max-width: 850px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  margin-block: 35px 60px;
  border: 1px solid var(--line);
  scroll-margin-top: 5px;
}
.workbench > div {
  min-width: 0;
  padding: 32px;
}
.workbench-input {
  background: var(--surface);
}
.workbench-result {
  border-left: 1px solid var(--line);
}
.workbench label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.workbench select,
.workbench textarea {
  width: 100%;
  margin-bottom: 18px;
  border: 1px solid #8f9b9e;
  border-radius: 0;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}
.workbench textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.9;
}
.workbench .step-label {
  margin-top: 24px;
}
.samples {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 23px;
}
.samples button {
  min-height: 44px;
  border: 1px solid #8d9a9c;
  border-radius: 0;
  padding: 9px 12px;
  background: transparent;
  color: var(--ink);
  font-size: 0.75rem;
}
.samples button:hover {
  background: #e0edef;
}
.result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.result-heading h2 {
  font-family: var(--body);
  font-size: 1.125rem;
}
.status {
  display: inline-block;
  flex-shrink: 0;
  padding: 4px 10px;
  background: #e6f0f1;
  color: #006579;
  font-size: 0.6875rem;
}
.result-fields {
  margin-top: 24px;
}
.result-fields > div {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.result-fields dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.75rem;
}
.result-fields dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.9375rem;
}
.human-result {
  border-color: #b5cfd4 !important;
  padding: 17px !important;
  background: var(--blue-tint);
}
.error-text {
  margin: 15px 0;
  color: #9b3226;
  font-size: 0.875rem;
}
.status-line {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.75rem;
}

/* Published case pages and the generated 404 use these shared primitives. */
.case-content {
  max-width: 850px;
}
.case-content h1 {
  margin-bottom: 20px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}
.case-content section {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.case-content h2 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.case-content p {
  white-space: pre-line;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 45px 0 24px;
  background: var(--paper);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 45px;
}
.footer p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.75rem;
}
.footer small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.6875rem;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 16px 28px;
  font-size: 0.75rem;
}
.footer nav a {
  display: flex;
  align-items: center;
  min-height: 36px;
}
.footer a:hover {
  color: var(--action);
}
.photo-credits {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--muted);
  font-size: 0.6875rem;
}
.photo-credits a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .header nav {
    gap: 24px;
  }
  .front-intro {
    grid-template-columns: minmax(0, 1.6fr) minmax(225px, 0.8fr);
    gap: 5%;
    min-height: 262px;
    padding-block: 40px;
  }
  .front-intro h1 {
    font-size: clamp(2rem, 3.6vw, 2.625rem);
  }
  .front-action > p {
    font-size: 0.875rem;
  }
  .front-action .button {
    gap: 20px;
    padding-inline: 18px;
    font-size: 0.8125rem;
  }
  .visual-story {
    height: 440px;
  }
  .capabilities,
  .assurance {
    gap: 7%;
  }
  .capability {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 22px;
  }
  .showcase-inner {
    grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
    gap: 5%;
  }
  .demo-sequence {
    gap: 15px;
  }
  .project-steps {
    gap: 20px;
  }
  .project-steps h3 {
    font-size: 1rem;
  }
  .project-steps p {
    font-size: 0.75rem;
  }
  .person {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 20px;
    padding-left: 25px;
  }
  .person > img {
    width: 110px;
    height: 140px;
  }
  .hub-cover {
    gap: 5%;
  }
  .hub-cover h1 {
    font-size: clamp(1.875rem, 3.25vw, 2.5rem);
  }
  .workbench > div {
    padding: 26px;
  }
  .result-heading {
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) and (min-width: 761px) {
  .showcase-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .showcase-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 30px;
    align-items: start;
  }
  .showcase-copy > .eyebrow,
  .showcase-copy h2 {
    grid-column: 1;
  }
  .showcase-copy > .text-link {
    justify-self: start;
  }
  .showcase-copy > p.micro {
    margin-top: 15px;
  }
  .consultation-inner {
    gap: 5%;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
  .consultation-copy h2 {
    font-size: 1.75rem;
  }
  .person {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    padding-left: 22px;
  }
  .person > img {
    width: 88px;
    height: 112px;
  }
  .person p {
    font-size: 0.8125rem;
  }
}
@media (max-width: 760px) {
  :root {
    --space: 62px;
  }
  html {
    scroll-padding-top: 92px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .desktop {
    display: none;
  }
  .mobile {
    display: initial;
  }
  .header-inner {
    min-height: 76px;
    gap: 12px;
  }
  .logo img {
    width: 123px;
  }
  .header .logo small {
    display: none;
  }
  .header nav {
    gap: 16px;
  }
  .header nav .nav-desktop {
    display: none;
  }
  .header nav a {
    font-size: 0.75rem;
  }
  .header nav .nav-cta {
    gap: 8px;
    padding: 6px 12px;
  }
  .eyebrow {
    margin-bottom: 17px;
    font-size: 0.6875rem;
  }
  h2 {
    font-size: 1.75rem;
    line-height: 1.6;
  }
  .button {
    gap: 25px;
    min-height: 50px;
    padding: 12px 20px;
    font-size: 0.8125rem;
  }
  .text-link {
    gap: 16px;
    font-size: 0.8125rem;
  }
  .front-intro {
    display: block;
    min-height: 0;
    padding-block: 24px 25px;
  }
  .front-intro .eyebrow {
    margin-bottom: 12px;
  }
  .front-intro h1 {
    max-width: 620px;
    font-size: clamp(1.875rem, 8.35vw, 2.125rem);
    line-height: 1.48;
    letter-spacing: -0.035em;
    line-break: strict;
    text-wrap: balance;
  }
  .front-intro h1 > span {
    display: block;
  }
  .front-intro h1 > span:first-child > .keep:first-child {
    display: block;
  }
  .front-action {
    padding-top: 14px;
  }
  .front-action > p {
    font-size: 0.8125rem;
    line-height: 1.8;
  }
  .front-action .button {
    margin-top: 14px;
    min-height: 48px;
  }
  .visual-story {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 160px 160px;
    height: 321px;
  }
  .story-manual {
    grid-column: 1 / -1;
  }
  .story-manual img {
    object-position: center 65%;
  }
  .story-organize img {
    object-position: center 54%;
  }
  .story-system img {
    object-position: center 57%;
  }
  .visual-story figcaption {
    top: 12px;
    left: 12px;
    right: auto;
    max-width: calc(100% - 24px);
    padding: 3px 7px;
    background: #14383edb;
    font-size: 0.6875rem;
    text-shadow: none;
  }
  .visual-story figcaption span {
    margin-right: 7px;
    font-size: 0.625rem;
  }
  .capabilities,
  .assurance {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .capabilities h2 br {
    display: none;
  }
  .short-note {
    margin-top: 16px;
    font-size: 0.8125rem;
  }
  .capability {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    padding-block: 23px;
  }
  .capability h3 {
    font-size: 0.8125rem;
  }
  .capability p {
    font-size: 1rem;
  }
  .capability p span {
    margin-inline: 3px;
  }
  .capability-list > .micro {
    margin-top: 0;
    padding-top: 16px;
    font-size: 0.6875rem;
  }
  .demo-showcase {
    padding-block: 48px;
  }
  .showcase-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .showcase-copy h2 {
    font-size: 1.625rem;
    line-height: 1.6;
  }
  .showcase-copy > p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 0.8125rem;
  }
  .showcase-copy > .text-link {
    margin-top: 20px;
  }
  .showcase-copy > p.micro {
    margin-top: 17px;
    font-size: 0.6875rem;
  }
  .demo-sequence {
    grid-template-columns: minmax(0, 1fr);
    gap: 27px;
  }
  .demo-sequence .sample-output {
    margin-top: 0;
  }
  .demo-sequence figcaption {
    margin-bottom: 10px;
    font-size: 0.75rem;
  }
  .demo-sequence img {
    max-width: 560px;
    margin-inline: auto;
  }
  .capture-note {
    margin-top: -12px;
    font-size: 0.625rem;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .section-heading h2 {
    font-size: 1.625rem;
  }
  .project-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .project-steps li {
    display: grid;
    grid-template-columns: 30px minmax(0, 0.85fr) minmax(0, 1.3fr);
    align-items: baseline;
    gap: 12px;
    padding-block: 18px;
  }
  .project-steps li > span {
    font-size: 0.6875rem;
  }
  .project-steps h3 {
    margin-top: 0;
    font-size: 0.875rem;
  }
  .project-steps p {
    margin-top: 0;
    font-size: 0.75rem;
  }
  .project-steps img {
    grid-column: 2 / -1;
    max-width: 180px;
    margin-top: 5px;
  }
  .process-detail {
    margin-top: 18px;
  }
  .expandable summary {
    min-height: 62px;
    padding-block: 20px;
    font-size: 0.8125rem;
  }
  .expandable > div {
    padding: 0 12px 22px;
  }
  .expandable p {
    font-size: 0.8125rem;
  }
  .assurance {
    gap: 26px;
  }
  .assurance h2 br {
    display: initial;
  }
  .consultation {
    padding-block: 45px;
  }
  .consultation-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .consultation-copy h2 {
    font-size: clamp(1.5rem, 6.55vw, 1.875rem);
  }
  .consultation-copy > p:not(.eyebrow) {
    margin-top: 15px;
    font-size: 0.8125rem;
  }
  .consultation-copy > .button {
    margin-top: 23px;
  }
  .consultation-copy > p.micro {
    font-size: 0.6875rem;
  }
  .person {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 22px;
    border-top: 1px solid #d8dcd5;
    border-left: 0;
    padding-top: 28px;
    padding-left: 0;
  }
  .person > img {
    width: 90px;
    height: 112px;
  }
  .person p {
    font-size: 0.8125rem;
  }
  .person > div > span {
    margin-top: 9px;
    font-size: 0.6875rem;
  }
  .person > div > .person-link {
    margin-top: 13px;
  }
  .hub-cover {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 32px 42px;
  }
  .hub-cover h1 {
    font-size: clamp(1.875rem, 7.9vw, 2.5rem);
    line-height: 1.55;
  }
  .hub-cover p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 0.8125rem;
  }
  .hub-cover .button {
    margin-top: 21px;
  }
  .hub-cover p.micro,
  .hub-cover .micro {
    font-size: 0.6875rem;
  }
  .hub-cover img {
    aspect-ratio: 2 / 1;
  }
  .hub-proof {
    padding-block: 42px;
  }
  .hub-proof h2,
  .hub-guide h2 {
    font-size: 1.5rem;
  }
  .hub-proof .section-heading {
    display: block;
  }
  .hub-proof .demo-sequence {
    margin-top: 27px;
    gap: 27px;
  }
  .hub-proof-action {
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
    margin-top: 24px;
  }
  .hub-proof-action .micro {
    font-size: 0.6875rem;
  }
  .hub-proof + .notice {
    margin-top: 24px;
  }
  .hub-guide {
    padding-block: 47px;
  }
  .hub-guide .project-steps {
    grid-template-columns: 1fr;
  }
  .hub-guide .project-steps li {
    grid-template-columns: 28px minmax(0, 0.7fr) minmax(0, 1.3fr);
  }
  .hub-guide > .expandable {
    margin-top: 25px;
  }
  .demo-details {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 42px;
  }
  .demo-details h2 {
    font-size: 1.25rem;
  }
  .notice {
    padding: 20px;
    font-size: 0.75rem;
  }
  .notice strong {
    font-size: 0.8125rem;
  }
  .demo-bottom {
    margin-top: 45px;
    padding-block: 42px 60px;
  }
  .demo-bottom h2 {
    font-size: 1.5rem;
  }
  .demo-bottom p {
    font-size: 0.8125rem;
  }
  .demo-intro {
    padding-block: 28px;
  }
  .demo-intro h1 {
    font-size: 1.625rem;
  }
  .demo-intro p {
    font-size: 0.8125rem;
  }
  .workbench {
    grid-template-columns: minmax(0, 1fr);
    margin-block: 25px 45px;
  }
  .workbench > div {
    padding: 23px 20px;
  }
  .workbench-result {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .samples {
    gap: 8px;
  }
  .samples button {
    padding-inline: 9px;
  }
  .result-fields dd {
    font-size: 0.875rem;
  }
  .footer {
    padding-top: 35px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 25px;
  }
  .footer nav {
    gap: 8px 23px;
  }
  .photo-credits {
    margin-top: 25px;
  }
}
@media (max-width: 359px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .logo img {
    width: 106px;
  }
  .header nav {
    gap: 12px;
  }
  .header nav .nav-cta {
    padding-inline: 9px;
  }
  .front-intro {
    padding-block: 23px 25px;
  }
  .front-intro h1 {
    font-size: 1.875rem;
  }
  .front-intro .eyebrow {
    font-size: 0.625rem;
  }
  .visual-story figcaption {
    left: 12px;
    font-size: 0.625rem;
  }
  .visual-story figcaption span {
    margin-right: 4px;
    font-size: 0.5625rem;
  }
  .capability {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-block: 20px;
  }
  .project-steps li {
    grid-template-columns: 24px minmax(0, 0.85fr) minmax(0, 1.3fr);
    gap: 9px;
  }
  .project-steps h3 {
    font-size: 0.8125rem;
  }
  .project-steps p {
    font-size: 0.6875rem;
  }
  .consultation-copy h2 {
    font-size: 1.4375rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* v4 — an editorial introduction and a diagram grounded in the real demo. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.studio-hero { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 7%; align-items: center; padding-block: 64px 80px; }
.studio-copy .eyebrow { font-size: .875rem; margin-bottom: 28px; }
.studio-copy h1 { font-size: clamp(2.3rem, 3.45vw, 3.15rem); font-weight: 400; line-height: 1.5; letter-spacing: -.045em; }
.studio-copy h1 > span { display: block; }
.studio-copy h1 > span:last-child { font-weight: 500; }
.studio-lead { margin-top: 28px; font-size: 1rem; line-height: 1.9; }
.studio-copy > .button { margin-top: 32px; }
.consultation-note { margin-top: 12px; font-size: .875rem; line-height: 1.7; color: var(--muted); }
.business-diagram { min-width: 0; background: #f2f3ed; border-top: 3px solid var(--brand); padding: 25px 28px 20px; }
.diagram-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; font-size: .875rem; }
.flow-play { border: 0; border-bottom: 1px solid var(--action); background: transparent; padding: 5px 0; font-size: .875rem; color: var(--action); font-weight: 500; white-space: nowrap; transition: color 180ms ease; }
.flow-play[hidden] { display: none; }
.flow-play:disabled { cursor: default; color: var(--muted); border-color: var(--line); }
.flow-play span { margin-left: 9px; }
.flow-label { font-size: .875rem; line-height: 1.7; color: var(--muted); }
.flow-input { padding: 0 12px 10px; border-left: 2px solid transparent; }
.flow-input blockquote { margin: 9px 0 0; font-size: clamp(1rem, 1.32vw, 1.2rem); line-height: 1.8; font-weight: 400; letter-spacing: -.015em; }
.flow-connection { display: block; width: 100%; height: 30px; }
.flow-connection path, .flow-branch path { fill: none; stroke: var(--action); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.flow-branch circle { fill: var(--action); }
.flow-sort { margin: 0; border-block: 1px solid #ced3c8; padding: 10px 12px; }
.flow-sort dl > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 8px; padding-block: 5px; font-size: .9375rem; }
.flow-sort dt { color: var(--muted); }
.flow-sort dd { margin: 0; font-weight: 500; }
.flow-branch { display: block; width: 100%; height: 43px; }
.flow-outcomes { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 22px; align-items: start; }
.flow-ticket { background: #fff; border-left: 2px solid var(--action); padding: 17px 18px 19px; }
.flow-ticket .ticket-destination { margin-block: 10px; font-size: 1.5rem; font-weight: 500; line-height: 1.5; }
.flow-ticket > p:last-child { font-size: .875rem; line-height: 1.7; }
.flow-human { padding: 17px 0 0 10px; border-left: 2px solid transparent; }
.flow-human .flow-label { color: var(--action); font-weight: 500; }
.flow-human > p:not(.flow-label) { margin-top: 10px; font-size: .9375rem; line-height: 1.85; }
.human-boundary { display: block; margin-top: 10px; color: var(--muted); font-size: .875rem; }
.diagram-caption { margin-top: 20px; font-size: .8125rem; line-height: 1.7; color: var(--muted); }
[data-flow-step] { transition: background-color 180ms ease, border-color 180ms ease; }
[data-flow-step].is-current { background-color: #dceced; border-color: var(--action); }
.implementation { padding-block: 70px 58px; border-top: 1px solid var(--line); background: #f8f8f5; }
.implementation-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 9%; align-items: center; }
.implementation-copy .eyebrow { font-size: .875rem; }
.implementation h2 { font-size: clamp(1.875rem, 2.7vw, 2.5rem); line-height: 1.65; }
.implementation-note { margin-top: 20px; font-size: .9375rem; line-height: 1.8; }
.evidence-input { max-width: 380px; margin-top: 30px; }
.evidence-input img { width: 100%; }
.evidence-input figcaption, .evidence-output figcaption { margin-bottom: 12px; font-size: .875rem; }
.evidence-output { min-width: 0; width: 100%; max-width: 600px; justify-self: end; }
.evidence-output img { width: 100%; height: auto; border: 1px solid var(--line); }
.implementation .text-link { margin-top: 27px; font-size: 1rem; }
.demo-boundary { grid-column: 1 / -1; margin-top: 30px; border-top: 1px solid var(--line); padding-top: 20px; font-size: .875rem; line-height: 1.8; color: var(--muted); }
@media (max-width:1100px) {
  .studio-hero { gap: 5%; padding-block: 48px 64px; }
  .studio-copy h1 { font-size: clamp(1.875rem, 3.4vw, 2.625rem); }
  .studio-copy .eyebrow { font-size: .8125rem; margin-bottom: 22px; }
  .studio-lead { font-size: .9375rem; }
  .business-diagram { padding-inline: 20px; }
  .flow-outcomes { gap: 16px; }
  .flow-ticket { padding-inline: 12px; }
  .flow-sort dl > div { grid-template-columns: 85px minmax(0, 1fr); font-size: .875rem; }
  .flow-ticket .ticket-destination { font-size: 1.375rem; }
  .flow-human { padding-left: 0; }
  .implementation-grid { column-gap: 6%; }
}
@media (max-width:900px) {
  .studio-hero { grid-template-columns: 1fr; gap: 40px; }
  .studio-copy { max-width: 690px; }
  .studio-copy h1 { font-size: 2.5rem; }
  .studio-copy h1 > span:first-child { display: inline; }
  .studio-copy h1 > span:nth-child(2) { display: inline; }
  .business-diagram { max-width: 660px; width: 100%; justify-self: end; padding-inline: 30px; }
  .flow-input blockquote { font-size: 1.125rem; }
  .implementation-grid { grid-template-columns: 1fr; gap: 30px; }
  .implementation-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 30px; }
  .implementation-copy > .eyebrow, .implementation-copy > h2 { grid-column: 1; }
  .evidence-input { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin: 0; }
  .evidence-output { max-width: 600px; justify-self: center; }
  .demo-boundary { margin-top: 0; }
}
@media (max-width:760px) {
  .studio-hero { gap: 29px; padding-block: 30px 44px; }
  .studio-copy .eyebrow { margin-bottom: 18px; }
  .studio-copy h1 { font-size: clamp(1.875rem, 8.2vw, 2.25rem); line-height: 1.5; }
  .studio-copy h1 > span:first-child, .studio-copy h1 > span:nth-child(2) { display: block; }
  .studio-lead { margin-top: 20px; font-size: .9375rem; }
  .studio-copy > .button { margin-top: 22px; font-size: .9375rem; }
  .consultation-note { font-size: .8125rem; }
  .business-diagram { padding: 18px 16px; }
  .diagram-heading { margin-bottom: 18px; gap: 10px; font-size: .8125rem; flex-wrap: wrap; }
  .flow-play { font-size: .8125rem; }
  .flow-input { padding-inline: 7px; }
  .flow-input blockquote { font-size: 1rem; line-height: 1.8; }
  .flow-label { font-size: .8125rem; }
  .flow-connection { height: 24px; }
  .flow-sort { padding-inline: 8px; }
  .flow-sort dl > div { grid-template-columns: 76px minmax(0, 1fr); font-size: .875rem; }
  .flow-branch { height: 30px; }
  .flow-outcomes { grid-template-columns: 1fr; gap: 16px; }
  .flow-ticket { padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; align-items: baseline; }
  .flow-ticket .ticket-destination { margin: 0; font-size: 1.25rem; }
  .flow-ticket > p:last-child { grid-column: 1 / -1; }
  .flow-human { border-left: 2px solid var(--action); padding: 0 0 0 16px; }
  .flow-human > p:not(.flow-label) { margin-top: 5px; font-size: .875rem; }
  .human-boundary { margin-top: 2px; font-size: .8125rem; }
  .diagram-caption { margin-top: 15px; font-size: .8125rem; }
  .implementation { padding-block: 42px; }
  .implementation-grid { gap: 28px; }
  .implementation-copy { display: block; }
  .implementation-copy .eyebrow { font-size: .8125rem; margin-bottom: 17px; }
  .implementation h2 { font-size: 1.75rem; line-height: 1.6; }
  .implementation-note { margin-top: 14px; font-size: .875rem; }
  .implementation-note br { display: none; }
  .evidence-input { margin-top: 24px; }
  .evidence-input figcaption, .evidence-output figcaption { font-size: .875rem; }
  .implementation .text-link { margin-top: 20px; }
  .demo-boundary { font-size: .875rem; padding-top: 17px; }
}
@media (prefers-reduced-motion:reduce) {
  [data-flow-step] { transition: none; }
}

/* Mobile reads the same branch vertically; it is not a shrunken desktop diagram. */
.studio-lead > span { display: block; }
.flow-branch-mobile { display: none; }
@media (max-width:760px) {
  .studio-copy h1 { font-size: 1.875rem; }
  .studio-copy h1 > span:first-child, .studio-copy h1 > span:nth-child(2) { display: inline; }
  .flow-branch { display: none; }
  .flow-branch-mobile { display: block; width: 100%; height: 28px; }
  .flow-branch-mobile path { fill: none; stroke: var(--action); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
  .flow-sort dl > div { line-height: 1.6; }
  .flow-human { position: relative; }
  .flow-human::before { content: ""; position: absolute; top: -16px; left: -2px; height: 16px; border-left: 2px solid var(--action); }
}
@media (max-width:359px) {
  .studio-copy h1 > span:first-child, .studio-copy h1 > span:nth-child(2) { display: block; }
}

/* v4 — shorten the entry path and keep operational boundaries readable. */
.micro, .capability-list > .micro, .consultation-copy > p.micro,
.project-steps p, .photo-credits, .status-line, .result-fields dt,
.workbench .step-label, .samples button, .status { font-size: .875rem; line-height: 1.75; }
.evidence-limit { margin-top: 20px; font-size: .875rem; line-height: 1.8; color: var(--muted); }
.practice-promises { list-style: none; margin: 0 0 20px; padding: 0; }
.practice-promises li { padding: 17px 0; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.85; }
.practice-promises li:first-child { border-top: 2px solid var(--action); }
.person { grid-template-columns: 175px minmax(0, 1fr); padding-left: 30px; gap: 22px; }
.person > img { width: 175px; height: auto; }
.person > div > span { font-size: .875rem; }
.hub-entry { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 7%; align-items: start; padding-block: 54px 42px; }
.hub-entry h1 { font-size: clamp(2rem, 2.8vw, 2.6rem); line-height: 1.6; font-weight: 400; letter-spacing: -.045em; }
.hub-lead { margin-block: 25px; font-size: 1rem; line-height: 1.9; }
.hub-limit { margin-top: 12px; color: var(--muted); font-size: .875rem; line-height: 1.85; max-width: 450px; }
.hub-entry .button { margin-top: 25px; }
.hub-scenes { margin-top: 15px; color: var(--muted); font-size: .875rem; }
.hub-capture { width: 100%; max-width: 600px; justify-self: end; }
.hub-capture figcaption { margin-bottom: 12px; font-size: .875rem; color: var(--muted); }
.hub-capture img { width: 100%; height: auto; border: 1px solid var(--line); }
.hub-scope { padding-bottom: 20px; }
.operation-intro { padding-block: 22px 16px; }
.operation-intro .breadcrumb { margin-bottom: 14px; }
.operation-intro .eyebrow { margin: 0 0 10px; font-size: .875rem; }
.operation-intro h1 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.operation-intro p { margin-top: 10px; font-size: .875rem; }
.operation-notice { padding: 14px 18px; font-size: .875rem; line-height: 1.8; }
.operation-notice strong { font-size: .875rem; }
.workbench { margin-top: 22px; }
.workbench > div { padding: 24px; }
.result-heading { margin-bottom: 14px; flex-wrap: wrap; gap: 8px; }
#result-summary { font-size: .9375rem; line-height: 1.8; }
.result-fields { margin-top: 16px; }
.result-fields > div { padding: 10px 0; }
.result-fields dt { margin-bottom: 3px; }
.result-fields dd { font-size: 1rem; line-height: 1.75; }
.result-fields details summary { color: var(--action); cursor: pointer; padding-block: 5px; }
.result-fields details p { margin-top: 12px; }
#result-live:empty { display: none; }
@media(max-width:1000px) {
 .person { grid-template-columns: 140px minmax(0, 1fr); padding-left: 20px; }
 .person > img { width: 140px; }
 .hub-entry { grid-template-columns: 1fr; gap: 32px; }
 .hub-capture { justify-self: center; }
}
@media(max-width:760px) {
 .hub-entry { padding-block: 30px; gap: 30px; }
 .hub-entry h1 { font-size: 1.875rem; }
 .hub-lead { margin-block: 18px; font-size: .9375rem; }
 .hub-lead br { display: none; }
 .hub-limit, .hub-scenes { font-size: .875rem; }
 .person { grid-template-columns: 145px minmax(0, 1fr); border-left: 0; padding-left: 0; gap: 20px; }
 .person > img { width: 145px; height: auto; }
 .person p, .person > div > span { font-size: .875rem; }
 .project-steps { grid-template-columns: 1fr; }
 .project-steps li { display: grid; grid-template-columns: 30px 100px 1fr; align-items: baseline; gap: 10px; }
 .project-steps li > span, .project-steps h3, .project-steps p { margin: 0; }
 .project-steps h3, .project-steps p { font-size: .875rem; }
 .operation-intro { padding-block: 20px 14px; }
 .operation-intro h1 { font-size: 1.5rem; line-height: 1.6; }
 .operation-notice { padding: 14px; }
 .workbench > div { padding: 20px 16px; }
 .practice-promises li { font-size: .9375rem; }
}
@media(max-width:359px) {
 .person { grid-template-columns: 115px minmax(0, 1fr); gap: 15px; }
 .person > img { width: 115px; }
 .project-steps li { grid-template-columns: 24px 95px 1fr; gap: 8px; }
 .header nav .nav-cta { padding-inline: 9px; }
}
@media(max-width:760px) {
 .evidence-output, .hub-capture { max-width: 348px; }
 .evidence-input { max-width: 348px; }
}
@media(max-width:359px) {
 .evidence-output, .hub-capture { max-width: 286px; }
}

.small-break { display: none; }
@media(max-width:359px) { .small-break { display: inline; } }

@media(max-width:900px) { .assurance { grid-template-columns: 1fr; gap: 26px; } }

/* v5: a lighter first impression, original illustrations, and an operational workspace. */
.simple-story { border: 0; border-radius: 18px; background: #eff4ef; padding: 28px 30px 24px; }
.simple-story .diagram-heading { margin-bottom: 6px; align-items: center; }
.simple-story .diagram-heading > p { font-size: 1.25rem; font-weight: 500; letter-spacing: -.03em; }
.story-art svg { display: block; width: 100%; height: auto; }
.story-labels { display: flex; justify-content: space-around; list-style: none; padding: 0; gap: 10px; font-size: .9375rem; font-weight: 500; }
.simple-story .diagram-caption { border-top: 1px solid #d5e0d9; padding-top: 15px; margin-top: 20px; font-size: .8125rem; }
.story-art .flow-surface { transition: fill 180ms; }
.story-art .is-current .flow-surface { fill: #b9dfe2; }
.studio-hero { padding-block: 64px; }
.capabilities { display: block; }
.capabilities > div:first-child { margin-bottom: 38px; }
.capabilities h2 br { display: none; }
.capability-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.capability { display: block; border: 0; padding: 0; }
.capability-art { width: 100%; margin-bottom: 25px; }
.capability h3 { font-size: 1.125rem; margin-bottom: 10px; }
.capability p { font-size: .9375rem; }
.illustrated-process { display: grid; grid-template-columns: 1fr 1.2fr; column-gap: 7%; align-items: center; border-top: 1px solid var(--line); }
.illustrated-process .section-heading { margin-bottom: 0; }
.illustrated-process h2 .keep { display: block; }
.process-art { width: 100%; max-width: 600px; justify-self: end; }
.illustrated-process .project-steps { grid-column: 1/-1; margin-top: 38px; }
.illustrated-process .process-detail { grid-column: 1/-1; }
.assurance-art { width: 100%; max-width: 340px; margin-top: 25px; }
.assurance { align-items: center; }
.demo-workspace { background: #f4f7f8; }
.demo-workspace .operation-intro { padding-block: 24px 18px; }
.demo-workspace .operation-intro h1 { font-size: 1.875rem; }
.demo-workspace .operation-intro .breadcrumb { margin-bottom: 16px; }
.demo-workspace .operation-intro .eyebrow { font-size: .8125rem; }
.demo-workspace .operation-notice { background: transparent; border: 0; padding: 0; max-width: 1050px; font-size: .8125rem; color: #657077; }
.demo-workspace .operation-notice strong { display: inline; margin-right: 8px; font-size: .8125rem; }
.demo-workspace .workbench { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); border: 1px solid #e0e7ea; border-radius: 16px; background: white; box-shadow: 0 12px 36px #26465008; overflow: hidden; margin-block: 26px 52px; }
.demo-workspace .workbench-input { background: #fff; padding: 30px; }
.demo-workspace .workbench-result { background: #fcfdfd; border-left: 1px solid #e6ecef; padding: 30px; }
.panel-title { display: flex; align-items: center; gap: 10px; }
.panel-title > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e9f3f3; color: #006f84; font-size: .8125rem; font-weight: 500; }
.panel-title h2 { font-size: 1.0625rem; letter-spacing: -.025em; }
.workbench-input > .panel-title { margin-bottom: 28px; }
.control-label { margin-bottom: 10px; font-size: .875rem; font-weight: 500; }
.scenario-tabs { display: flex; padding: 4px; background: #f0f4f5; border-radius: 8px; gap: 3px; margin-bottom: 25px; }
.scenario-tabs button { flex: 1; min-height: 40px; padding: 7px 4px; border: 0; border-radius: 5px; background: transparent; color: #67747a; font-size: .875rem; }
.scenario-tabs button[aria-pressed=true] { background: white; box-shadow: 0 1px 5px #223b3f15; color: #006f84; font-weight: 500; }
.demo-workspace #scenario[hidden] { display: none; }
.demo-workspace .workbench label { font-size: .875rem; }
.demo-workspace .workbench textarea { min-height: 155px; border: 1px solid #cad6dc; border-radius: 8px; padding: 15px; margin-bottom: 9px; line-height: 1.8; }
.demo-workspace #query-hint { font-size: .8125rem; color: #68777e; }
.demo-workspace .step-label { font-size: .8125rem; margin-top: 25px; }
.demo-workspace .samples { gap: 7px; margin-top: 10px; margin-bottom: 24px; }
.demo-workspace .samples button { border: 1px solid #e2e9ec; border-radius: 6px; background: #f7f9fa; padding: 7px 10px; font-size: .8125rem; }
.demo-workspace #run-demo { width: 100%; border-radius: 7px; justify-content: center; gap: 22px; }
.demo-workspace .status { padding: 5px 10px; border-radius: 20px; font-size: .8125rem; background: #e5f2ef; color: #276658; }
.demo-workspace #result-summary { font-size: .8125rem; color: #647078; line-height: 1.8; margin-top: 14px; }
.demo-workspace .result-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 22px; }
.demo-workspace .result-fields > div { border: 0; padding: 14px; min-width: 0; border-radius: 8px; background: #f0f5f6; }
.demo-workspace .result-fields dt { font-size: .8125rem; color: #65737b; margin-bottom: 8px; }
.demo-workspace .result-fields dd { font-size: .9375rem; line-height: 1.75; }
.demo-workspace .result-fields .destination-result dd { color: #006f84; font-size: 1.0625rem; font-weight: 500; }
.demo-workspace .result-fields .missing-result, .demo-workspace .result-fields .human-result, .demo-workspace .result-fields .reply-result, .demo-workspace .result-fields .handoff-result { grid-column: 1/-1; }
.demo-workspace .result-fields .missing-result { background: white; border: 1px solid #e4ebee; }
.missing-result ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 7px 20px; }
.missing-result li { padding-left: 14px; position: relative; font-size: .875rem; }
.missing-result li::before { content: ''; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border: 1px solid #91a9b0; border-radius: 50%; }
.demo-workspace .result-fields .human-result { background: #fbf4e6; padding: 14px 17px !important; border-left: 3px solid #d9ae57; order: 5; }
.demo-workspace .human-result dt { color: #755b29; font-weight: 500; }
.demo-workspace .result-fields .reply-result { background: transparent; border-top: 1px solid #e4ebee; border-radius: 0; padding: 12px 0 0; order: 6; }
.demo-workspace .reply-result dt { display: none; }
.demo-workspace .result-fields details summary { font-size: .875rem; }
.demo-workspace #result-notice { font-size: .8125rem; margin-top: 17px; color: #6b7b83; }
.demo-workspace .is-blocked .status { background: #f9e9e5; color: #984c3a; }
.demo-workspace .is-blocked .handoff-result { background: #fbf1ee; }
@media(max-width:1000px) {
 .demo-workspace .workbench-input, .demo-workspace .workbench-result { padding: 22px; }
 .demo-workspace .result-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .demo-workspace .timing-result { grid-column: 1/-1; }
 .capability-list { gap: 22px; }
}
@media(max-width:760px) {
 .studio-hero { padding-block: 30px 44px; }
 .simple-story { padding: 22px 18px; }
 .simple-story .diagram-heading > p { font-size: 1.0625rem; }
 .story-labels { font-size: .8125rem; gap: 5px; }
 .simple-story .diagram-caption { font-size: .8125rem; }
 .capability-list { grid-template-columns: 1fr; gap: 32px; }
 .capability { display: grid; grid-template-columns: 115px minmax(0,1fr); gap: 0 20px; align-items: center; }
 .capability-art { grid-row: 1/3; margin: 0; }
 .capability h3 { align-self: end; font-size: 1rem; margin-bottom: 7px; }
 .capability p { align-self: start; font-size: .875rem; }
 .illustrated-process { display: block; }
 .process-art { margin-top: 28px; }
 .illustrated-process .project-steps { margin-top: 25px; }
 .assurance-art { max-width: 260px; margin-inline: auto; }
 .demo-workspace .workbench { grid-template-columns: 1fr; }
 .demo-workspace .workbench-result { border-left: 0; border-top: 1px solid #e4ebee; }
 .demo-workspace .operation-intro h1 { font-size: 1.5rem; }
 .demo-workspace .result-fields { gap: 10px; }
 .demo-workspace .workbench-input, .demo-workspace .workbench-result { padding: 22px 18px; }
}
@media(prefers-reduced-motion:reduce) { .story-art .flow-surface { transition: none; } }

/* Show the live workspace at a readable size, with a mobile-native result capture. */
.demo-showcase { background: #f4f7f8; padding-block: 70px; }
.showcase-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 7%; margin-bottom: 38px; }
.showcase-action { max-width: 530px; }
.showcase-action > p:first-child { font-size: 1.0625rem; }
.showcase-action .evidence-limit { margin-top: 14px; }
.showcase-action .button { margin-top: 22px; border-radius: 6px; }
.workspace-preview { width: 100%; background: white; border: 1px solid #dfe7e9; border-radius: 16px; overflow: hidden; box-shadow: 0 15px 45px #294b570a; }
.workspace-preview figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 16px 25px; border-bottom: 1px solid #e0e8eb; color: #65767b; font-size: .8125rem; }
.workspace-preview figcaption span:first-child { color: #006f84; font-weight: 500; }
.workspace-preview img { display: block; width: 100%; height: auto; }
.hub-capture { border-radius: 12px; }
.hub-capture img { border-radius: 12px; }
@media(max-width:760px) {
 .demo-showcase { padding-block: 44px; }
 .showcase-heading { display: block; margin-bottom: 28px; }
 .showcase-action { margin-top: 22px; }
 .showcase-action > p:first-child { font-size: .9375rem; }
 .workspace-preview { max-width: 350px; margin-inline: auto; border-radius: 12px; }
 .workspace-preview figcaption { display: block; padding: 12px 18px; }
 .workspace-preview figcaption span { display: block; }
 .workspace-preview figcaption span + span { margin-top: 3px; }
}

#result-title { scroll-margin-top: 100px; }
@media(min-width:761px) and (max-width:1200px) { .workspace-preview { max-width: 622px; margin-inline: auto; } }
