/* Compact, illustrated reading pages. All motion stays with native scrolling. */
.qdd-concise .qdd-hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 4vw, 56px);
  padding-block: 48px 56px;
}
.qdd-concise .qdd-hero h1 {
  font-size: clamp(40px, 3.75vw, 60px);
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: initial;
  margin-bottom: 24px;
}
.qdd-concise .qdd-back { margin-bottom: 20px; }
.qdd-hero-action {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  margin-top: 24px;
  border-bottom: 1px solid #795039;
  color: #f0ad85;
  font-size: 14px;
}
.qdd-hero-action:hover { color: #ffc79c; border-color: #ffc79c; }
.qdd-concise .qdd-hero-meta { margin-top: 24px; gap: 10px 20px; }
.qdd-section-nav { border-bottom: 1px solid var(--qdd-line); }
.qdd-section-nav > .qdd-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.qdd-section-nav a {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 16px 24px;
  color: #d6d1c9;
  font-size: 14px;
}
.qdd-section-nav a:first-child { padding-left: 0; }
.qdd-section-nav a + a { border-left: 1px solid var(--qdd-line); }
.qdd-section-nav a > span:last-child { margin-left: auto; color: #a59e94; }
.qdd-section-nav-number { color: #f0ad85; font-size: 12px; }
.qdd-section-nav a:hover { color: #ffc79c; }
.qdd-concise .qdd-layout { max-width: 1184px; padding-block: 56px 64px; }
.qdd-concise .qdd-section {
  padding-bottom: 48px;
  margin-bottom: 48px;
  scroll-margin-top: 0;
}
.qdd-section-lead {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.qdd-section-intro, .qdd-section-body { min-width: 0; }
.qdd-concise .qdd-section-intro .qdd-eyebrow { margin-bottom: 16px; }
.qdd-concise .qdd-section-intro h2 {
  margin: 0;
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.16;
  text-wrap: initial;
}
.qdd-section-body p { max-width: 68ch; }
.qdd-section-body .qdd-statement {
  margin: 28px 0 0;
  padding: 8px 0 8px 24px;
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.4;
}
.qdd-concise .qdd-section.qdd-last-section {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 40px;
}
.qdd-product-list { margin: 0 0 28px; }
.qdd-product-row { display: block; padding: 18px 0; border-bottom: 1px solid var(--qdd-line); }
.qdd-product-row:first-child { padding-top: 0; }
.qdd-product-name { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--qdd-ink); font-size: 20px; line-height: 1.4; }
.qdd-product-name > span { color: #f0ad85; font-size: 16px; }
.qdd-product-description { display: block; margin-top: 6px; color: var(--qdd-muted); font-size: 16px; line-height: 1.65; }
.qdd-product-row:hover .qdd-product-name { color: #ffc79c; }
.qdd-section .qdd-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  border: 0;
  padding: 0;
  margin: 32px 0 0;
}
.qdd-flow::before { content: ''; position: absolute; inset: 20px calc(20% - 39.2px) auto 20px; height: 1px; background: #6b4934; }
.qdd-section .qdd-flow-step { display: block; padding: 0; border: 0; margin: 0; }
.qdd-flow-step:not(:last-child)::after { content: none; }
.qdd-flow-step .qdd-number {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #8e593c;
  border-radius: 50%;
  background: var(--qdd-base);
  color: #f0ad85;
  letter-spacing: 0;
}
.qdd-section .qdd-flow-step h3 { margin: 16px 0 10px; font-size: 19px; }
.qdd-section .qdd-flow-step p { margin: 0; font-size: 16px; line-height: 1.6; }
.qdd-compute-grid { margin-top: 32px; gap: 32px; }
.qdd-compute { padding-top: 18px; }
.qdd-compute .qdd-number { margin-bottom: 12px; color: #f0ad85; letter-spacing: .06em; }
.qdd-compute h3 { margin-bottom: 10px; }
.qdd-compute p { font-size: 16px; line-height: 1.65; }
#partitioning .qdd-selection-thesis {
  max-width: 38ch;
  margin: 0 0 16px;
  color: var(--qdd-ink);
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.02em;
}
#partitioning .qdd-compute-quantum { border-top-color: var(--qdd-accent); }
#partitioning .qdd-compute-quantum .qdd-number { color: #f99a62; }
.qdd-concise .qdd-related { margin: 0; padding: 32px; }
.qdd-related > p { max-width: 65ch; margin-bottom: 0; }
.qdd-related .qdd-eyebrow { margin-bottom: 16px; }
.qdd-related h2 { font-size: clamp(28px, 2.5vw, 36px); }
.qdd-related .qdd-actions { gap: 16px; }
.qdd-related .qdd-button { margin: 0; }

/* The carved inscription belongs to the artwork; HTML preserves its meaning. */
.qdd-concise .qdd-vision-hero .qdd-hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 490px);
  gap: clamp(36px, 5vw, 72px);
}
.qdd-vision-hero .qdd-manifesto-figure { width: 100%; max-width: 490px; justify-self: end; }
.qdd-manifesto-board {
  position: relative;
}
.qdd-manifesto-stone {
  display: block;
  width: 100%;
  height: auto;
}
.qdd-manifesto-inscription {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1000px) {
  .qdd-concise .qdd-hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .qdd-concise .qdd-vision-hero .qdd-hero-layout { grid-template-columns: 1fr; }
  .qdd-vision-hero .qdd-manifesto-figure { justify-self: center; }
  .qdd-concise .qdd-hero h1 { font-size: clamp(42px, 6vw, 60px); }
  .qdd-hero-figure { max-width: 760px; }
  .qdd-section-lead { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 32px; }
}
@media (max-width: 760px) {
  .qdd-section-lead { grid-template-columns: 1fr; gap: 22px; }
  .qdd-concise .qdd-section-intro h2 { max-width: 560px; font-size: 30px; }
  .qdd-section .qdd-flow { display: block; }
  .qdd-flow::before { display: none; }
  .qdd-section .qdd-flow-step { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 0 18px; padding: 0 0 24px; }
  .qdd-flow-step:not(:last-child)::before { content: ''; position: absolute; left: 18px; top: 20px; bottom: -20px; width: 1px; background: #6b4934; }
  .qdd-section .qdd-flow-step:last-child { padding-bottom: 0; }
  .qdd-flow-step .qdd-number { grid-column: 1; grid-row: 1 / 3; width: 38px; height: 38px; }
  .qdd-section .qdd-flow-step h3 { grid-column: 2; margin: 2px 0 6px; }
  .qdd-section .qdd-flow-step p { grid-column: 2; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 100px; }
  .qdd-concise .qdd-hero-layout { padding-block: 28px 32px; }
  .qdd-concise .qdd-vision-hero .qdd-hero-layout { display: grid; }
  .qdd-concise .qdd-hero h1 { font-size: clamp(34px, 9.5vw, 48px); line-height: 1.1; }
  .qdd-concise .qdd-back { margin-bottom: 16px; }
  .qdd-manifesto-figure { margin-top: 0; }
  .qdd-hero-action { margin-top: 18px; }
  .qdd-section-nav a { flex-wrap: wrap; gap: 8px; min-height: 78px; padding: 14px 12px; font-size: 13px; }
  .qdd-section-nav a:first-child { padding-left: 0; }
  .qdd-section-nav a:last-child { padding-right: 0; }
  .qdd-section-nav-number { flex-basis: calc(100% - 24px); }
  .qdd-section-nav a > span:last-child { display: none; }
  .qdd-concise .qdd-layout { padding-block: 36px 48px; }
  .qdd-concise .qdd-section { padding-bottom: 36px; margin-bottom: 36px; }
  .qdd-concise .qdd-section-intro .qdd-eyebrow { margin-bottom: 12px; }
  .qdd-concise .qdd-section-intro h2 { font-size: 28px; }
  .qdd-section-body .qdd-statement { margin-top: 24px; padding-left: 18px; font-size: 23px; }
  .qdd-concise .qdd-section.qdd-last-section { padding-bottom: 32px; }
  .qdd-product-name { font-size: 18px; }
  .qdd-product-list { margin-bottom: 24px; }
  .qdd-compute-grid { gap: 24px; }
  .qdd-concise .qdd-related { padding: 24px 20px; }
  .qdd-related .qdd-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .qdd-related .qdd-button { width: 100%; }
}
